<jason__>
Yeah, what's with this python stuff? We don't take kindly to python stuff here.
<Hadaka>
I have to code python at work :(
<jason__>
Now skeeter.
<jason__>
Hehe.
<jason__>
Ever tried Ruby?
<vincenz>
yah
<jason__>
Much better than Python, in my opinion.
<jason__>
Although Python has its strong points.
<avlondono>
\w is any word character in UTF-8 (just in case). It's more than [a-zA-Z0-9]
<Hadaka>
well, I'm going to convert it all to ocaml, bit by bit ;)
<jason__>
Man, have fun :P Heh.
<Smerdyakov>
avlondono, I can picture a voice over saying that in a television ad for \w: "It's more than just [a-zA-Z0-9].
<avlondono>
hehehe
<jason__>
I'm really not good enough with Ocaml to use it practicaly.
<avlondono>
it's important though, so it can continue like:
<jason__>
Well, not without effort.
<avlondono>
in the internationalization days .... you need \w for international regexes
<jason__>
There are a lot of instruments I need to make certain have good strongly defined software; and it seems like a reasonable solution to at least that niche of problem.
<jason__>
Those days are over?
<jason__>
Heh.
<Smerdyakov>
jason__, you're talking about Ruby?
<jason__>
Smerdyakov: Hell no :P Ocaml.
<jason__>
Smerdyakov: Ruby is far from well defined.
<Smerdyakov>
jason__, are you TheDracle?
<jason__>
Yes.
<jason__>
Why?
<Smerdyakov>
Just making sure I have my records properly cross-referenced.
<jason__>
Lol.
<Smerdyakov>
Dude, I totally converted you.
<jason__>
To Ocaml? Lol, no, I was using it before I met you :)
<jason__>
I really like it, a lot though.
<jason__>
I like smalltalk and Ruby a lot too.
<Smerdyakov>
I'm eating maggots and horseflies.
<jason__>
Ashanks has gone off into C++ land.
<jason__>
It's sad :p
<jason__>
That kid has some mental stability issues.
* vincenz
continues porting Pcre.regexps to Str.regexsps
* vincenz
mutters
<vincenz>
Hey Smerdyakov Str.regexp doesn't use libpcre does it?
<vincenz>
it's got it's own ocaml code?
<jason__>
vincenz: The libraries are different, I'd test each regexp one at a time :p
<Smerdyakov>
vincenz, dunno
<vincenz>
jason__: it looks simple enough :)
<jason__>
No, it's an Ocaml library. It's part of Str.
<pango>
the use of float for time values is debatable...
<jason__>
How so?
<pango>
will time get more coarse in the future ?
<jason__>
Well, you can store a time value with precision better than a second.
<pango>
sure, but why not use some larger integer value in microsec., or something like that ?
<Riastradh>
It will get more coarse in the future, yes, but it takes a long time to get coarse, and by the time it's too coarse to be useful, you won't care any more.
<jason__>
pango: What's the difference?
<jason__>
Besides, you don't have to do a transition back to seconds.
<jason__>
It could be more efficient, or less.
<jason__>
Depending on what you're doing.
<pango>
it looks harder to prove that an algorithm is correct when you work with a variable precision... But I suppose it's true of all numerical algos...
<Smerdyakov>
I hear that numerical methods are a morass of horrendous pitfalls.
<pango>
I can believe that
<Smerdyakov>
You know, something doesn't get to be a whole subfield of CS if it's easy. :P
<pango>
or the other way, things becoming more and more complex as you look deeper into it ;)
<Smerdyakov>
Just today I remarked on the resume-building power of presenting a paper at the 15th Annual Brainfuck Conference! There is an example of something without much depth for lookin'.
<pango>
is it possible to use vmthreads in native-compiled programs ? (to compete with erlang's lightweight threads)
<dan2>
what does this mean
<dan2>
Reference to undefined global `Num'
<pango>
dan2: you haven't loaded or linked the module
<dan2>
pango: hmm
<vincenz>
GREAT!
<vincenz>
f*CK
<vincenz>
mod_caml is an apache 1.3 module
<dan2>
pango: but I am using ocaml interpreter
<vincenz>
apache 2 expects different things
<vincenz>
so I get to port it
<pango>
dan2: try #load "nums.cma" ;; open Num ;; or something like that
* vincenz
sighs
<dan2>
k
vezenchio has quit ["I thought what I'd do was, I'd pretend to be one of those deaf-mutes"]
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
<dan2>
pango: how do I create a specific type signature in ocaml
gim has quit ["dodo"]
kinners has joined #ocaml
avlondono has quit [""Reboot!!!""]
avlondono has joined #ocaml
<kinners>
dan2: do you mean a module type signature?
<dan2>
sure
<kinners>
module type Foo = sig type t val frobnicate : t -> int end ?
cjohnson has quit [Connection timed out]
<kinners>
and a .mli file is just what's between the sig and end
cjohnson has joined #ocaml
cjohnson has quit [Read error: 104 (Connection reset by peer)]
mrsolo has joined #ocaml
clog has joined #ocaml
slashvar[lri] has joined #ocaml
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
mlh has quit ["must sleep"]
shawn_ has joined #ocaml
shawn has quit [Read error: 104 (Connection reset by peer)]
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
Iter has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
Zaius has joined #ocaml
tea has quit [Read error: 60 (Operation timed out)]
tea has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
pango has quit ["Leaving"]
pango has joined #ocaml
vezenchio has quit ["I thought what I'd do was, I'd pretend to be one of those deaf-mutes"]
vezenchio has joined #ocaml
cjohnson has quit [Success]
cjohnson has joined #ocaml
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
Anvil_Vapre has joined #ocaml
mrsolo has quit [Read error: 110 (Connection timed out)]
Anvil_Vapre has quit [Client Quit]
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
zigong__ has quit ["Leaving"]
zigong has joined #ocaml
cjohnson has quit [Connection timed out]
cjohnson has joined #ocaml
monochrom has joined #ocaml
reltuk has joined #ocaml
Nutssh has joined #ocaml
reltuk has quit [Connection reset by peer]
mlh has joined #ocaml
cjohnson has quit [Connection timed out]
_shawn has joined #ocaml
shawn_ has quit [Read error: 110 (Connection timed out)]
GreyLensman has joined #ocaml
cjohnson has joined #ocaml
Iter has joined #ocaml
<Hadaka>
question: ocaml doesn't seem to be able to inline sqrt, since it is implemented as a C external function which calls the C sqrt function - is there any way around this?
<Hadaka>
ahha! found the reason
<Hadaka>
ocamlopt -ffast-math
<vidvandre>
newbie question: does ocaml support unciode ?
alex-i has joined #ocaml
monochrom has quit ["Don't talk to those who talk to themselves."]