logs archiveIRC Archive / Freenode / #emacs / 2009 / December / 21 / 1
yonkeltron
i need to rewrite some code with tests now
because i found some old code
and promptly broke it
no idea how
or where
zmyrgel
whats ^L in source code?
kensanata
zmyrgel: Pagebreaks for printability.
zmyrgel
ok
fledermaus
yonkeltron: if you want to let the lambda access _functions_ under different names it's flet you want.
yonkeltron
ah
flet is cl, right?
fledermaus
,df flet
fsbot
flet is a Lisp macro in `cl-macs.el'.
(flet ((FUNC ARGLIST BODY...) ...) FORM...)
Make temporary function definitions.
This is an analogue of `let' that operates on the function cell of FUNC
rather than its value cell. The FORMs are evaluated with the specified ..[Type ,more]
yonkeltron
yes
indeed
         

chrisdone
I'm trying to define a key for css-mode-map, C-c C-c, how do I express it in elisP?
oh, nevermind. I guess I had to "reload" the buffer
Guthur
is there some way to stop the emacs splash screen
GNU Emacs buffer
bob2
(setq inhibit-startup-screen t)
(setq inhibit-splash-screen t)
Guthur
bob2: great cheers
yep worked a treat
teedex
is there a way to run ruby code from an emacs buffer like you can with command-R
somnium
teedex: you probably want inf-ruby
its on ELPA if you dont have it already
teedex
i have inf-ruby but how do i send a block of code in a buffer to be interpreted
somnium
C-h b shows bindings for current buffer, C-c C-r is send region here
among others
bdragon`
\quit
rellwood
testing...
legumbre
success!
rellwood
Thank you. :)
legumbre
,...
rudybot
Woof.
fsbot
[In the distance, you hear a dog bark]
rgr
bah
chrisdone
what's that minor mode to word wrap at spaces instead of cutting words in half?
e1f
,fill
fsbot
I heard fill is [0] To auto-fill, (add-hook 'text-mode-hook 'turn-on-auto-fill) .. do for other modes as well
[1] http://www.emacswiki.org/cgi-bin/wiki.pl?LongLines
rgr
wrapping is a damn complicated thing these days in emacs. line-mode, longline-mode etc.
         

chrisdone
cheers
rellwood
Does anyone ever use w3m on Emacs?
e1f
,anyone
fsbot
Please do not ask if anyone uses, knows, is good with, can help you with or is a guru/expert of <some program>. Instead, ask your real question.
rgr
rellwood: in short yes they do.
hmm I though ecb would ship with emacs 23 by now since cedet is.
rellwood
ok, i've been exploring it today...no particular question
rgr
ok...#
rellwood
quit
davelee
n/join #chef
blearrgh
yonkeltron
anyone here german?
twb
,anyone
fsbot
Please do not ask if anyone uses, knows, is good with, can help you with or is a guru/expert of <some program>. Instead, ask your real question.
yonkeltron
fine.
thanks
i bought a humidifier which proudly claims it is "#1 in Germany" and i want to know if it is true
venta sonic is the brand
jordanb
I like it how all the healthcare protesters are all old and white.
I bet 90% of them are getting medicare.
twb
#1 at what?
Wikipedia hasn't heard of them, so they can't be all that.
yonkeltron
twb: this is logical
jordanb
rudybot: quote
rudybot
We should advertise a mixed drink with Copacabana.
jordanb
The song, I think.
It should be some fruty sugary thing that girls like.. with a yellow flower in it.
brx
yonkeltron: I'm in germany. you bought what?
jordanb
Deutchland
yonkeltron
brx: a venta sonic humdifier
jordanb
It humifies with SOUND!
yonkeltron
well, it does seem to use an oscillator
jordanb
I'd rather my humidifiers not make noise.
When I had boiler heat, I'd put a pan on the radiator full of water. It made zero noise.
rudybot: quote
rudybot
Let's create newcompoundwords onthefly.
jordanb
brx: Is there a german word for "new compound word I just made up."?
yonkeltron

jordanb: that was great.
brx: so have you heard of it ever?
jordanb
Let's come up with somebody like Jerry Lewis and convince the French that he's a Real Arteest.
bremner
(Action) always thought emergent behaviour was when bots starting acting like people
yonkeltron
bremner: that was a clever remark
twb
bremner: you mean, fu*king up?
jordanb
rudybot: quote
rudybot
We should port WoW to the difference engine.
jordanb
That one's just dumb. I doubt it's from me. Probably from someone like twb trying to imitate me.
Who says "WoW" non-ironically.
?
elarson
I have visual line mode on globally, but I need turn it off for shell mode
yonkeltron
jordanb: i have a few students who do. they also say CoD
brx
yonkeltron: up until now I haven't even been aware of the existence of these "humidifiers"
yonkeltron
brx: honestly? wow. well...are you typical german?
jordanb
brx: If you have boiler heat, it dries out the air until your skin starts cracking.
Forced air does it too, but they put humidifiers on the furnace.
yonkeltron
i have 22.8% humidity in the room i'm in now
the only reason it's that high is because i've been hacking in this room for about an hour
supposed to be ~45% i think
jordanb
Where do you live?
yonkeltron
new haven, ct
jordanb
Ahh
brx
jordanb: I am only aware of the word "neologism"
jordanb
Bit a snow you guys are having, eh?
yonkeltron
a bit
brx
jordanb: and that refers to new words in general
jordanb
Yeah we have that word. I supsect you stole it.
yonkeltron
new haven is usually pretty sheltered because the ocean keeps the worst off of us
jordanb
If you have it too.
yonkeltron
jordanb: but this was a coastal storm.
jordanb: heh.
brx
yonkeltron: I don't know. what is a typical german?
jordanb: actually we stole it from the greek
jordanb
We got like an inch yesterday. I tried to shovel my walk but it was already frozen today, so I salted it up.
twb
I dunno about humidifiers; in .au I think the dry heat of kalgoorlie beats the muggy heat of the tropics.
jordanb
But I was disappointed. I love those big foot snows.
brx
yonkeltron: I'd be surprised if many of my peers knew about "humidifiers"
well, in a typical household setting at least.
jordanb
brx: Do you have winter where you are? Some places of Germany get it pretty good, FWIU.
brx
sure do. it started snowing two days ago.
jordanb
When I was in Ireland, a girl told me she'd like to see snow someday.
brx: Anyway, if you have forced air, you probably have a humidifier.
When I had boiler heat, I had a pan sitting on nearly every radiator.
brx
I have boiler heat.
forced air is somewhat rare in germany
except, possibly, hotels
jordanb
Here, big buildings have boilers, small buildings have forced air.
They all run on natural gas though.
This city used to be heated by boilers burning coal.
brx: Where in Germany are you?
Why is your IP address in Willowbrook, Illinois?
That must be some lame suburb
Oh man yeah, sout west, near Burr Ridge.
south west
brx: Your IP address is from like a mile from the biggest sh*thole in the chicago region: Cicero.
brx
jordanb: :)
yonkeltron
i have radiator heaters
yates
in emacs, is there any difference between C-c C-c and C-c-c?
in other words, will releasing the control key after the first C-c and the re-depressing it make a difference?
jordanb
yates: C-c C-c is a valid key sequence. I just tried it.
yates
yeah, it works for me - just wondering if this is consistent
jordanb
You have a special emacs? :P
yates
maybe i do
windows/mac/linux/cobbled from source on a powerpc, etc.etc
cygwin
and across other commands
is this behavior well-defined?
i think that's my question
jordanb
I can't imainge why it wouldn't be.
Registering two key presses as one would be really weird.
yates
wow, NASA uses lisp?
jordanb
They used to.
yates
and they used it to fix a problem a half year into the mission ?
jordanb
They gave up on account of it being a buggy POS.
yates
that's cool
jordanb
Although I saw a former Nasa guy argue that the C<-Lisp binding they were using was the real buggy bit.
yates
you mean that particular implementation?
jordanb
http://www.flownet.com/gat/jpl-lisp.html
yates
it was 11_ years ago - things i think have improved, no?
s/11_/11+/
jordanb
I can't imagine there being more reason to run Lisp than there was 11 years ago..
yates
i can
jordanb
If you're a lispertarian maybe.
yates
like a lot bigger user base and more well-tested implementation
jordanb
But 1) From the dynamic language standpoint there are lots of options nowdays, and Nasa seems to have (like a lot of the scientific community) grown attached to Python
2) From the "AI" standpoint, the Machine Learning world has grown further away from the "AI" techniques for which Lisp was designed.
yates
jordanb: really, that's news to me (re: mach learning)
jordanb
From what I've seen, things like expert systems and nerual nets have been giving way to statistical methods for decades now.
Just look at machine translation. That's 100% statistical now.
And they've made more progress in like ten years of stats than they did in 30 years of trying to build syntax trees.
yates
what do you mean by "statistical"?
methods
jordanb
You'd be better off in Fortran if you're doing stats.
yates
HMMs?
jordanb
yates: What do I mean by stats? Um.
yates
i mean in this application.
jordanb
Sure, hidden markov is a technique.
Not sure if that's what theyre doing for machine translation. Probably not. But that's a good example of something that appears to be all over ML nowdays.
yates
pity
i wouldn't call word recognition artificial intelligence
but i'm a dsp guy, not an AI guy, so i'm speaking out of complete ignorance...
which you've probably already figured out...
pity since it seems the inference engine (is that the right term) stuff they were doing seems more on the path to making machines that really think.
just my 2 microcents...
jordanb
Well, I'm not into MI either. I have an interest in stats and notice that it seems to be all over MI publications nowdays. I also know that a lot of problems they worked forever on have become stats-dominated because the results were just so much better.
Machine Translation is a good example of that. The Military funded AI research for decades in the hopes of decent translation, and the bayesian techniques beat all that work after just a few years of work.
Making machiens *really* think is like making cars fly, IMHO.
yates
guess it depends on how you define "think"
jordanb
But anyway, if you're looking to have a rover drive itself across mars, bayesian methods will likely result in a much more robust decision making system than any sort of hand-built tree-based thing.
yates
but you could still build statistical processing systems using lisp!
leverage its "it makes hard things easy and impossible things possible" sort of claim
jordanb
Does Lisp have a linear algebra package that's not a frontend to some Fortran thing?
yates
why would it matter? can't you just use a library without regard to what language it was developed in?
bremner
Fortran is too fast?
yates
is it really faster than lisp? i'd be interested in that very much
« prev 1 2 3 4 5 6 7 next »