<Kakadu>
And by some reason I can't see printfs from Math in console. Only printfs from debug ...
<kaustuv>
use the fully qualified Printf.printf? Or use Printf.eprintf?
<kaustuv>
And use %! in the format string instead of calling flush
<Kakadu>
kaustuv: Printf.printf
<kaustuv>
if you don't see printf's output, then very likely the "printf" in line 9 is not actually Printf.printf but something else
<kaustuv>
(unless pa_debug does horrible things with stdin)
edwin has left #ocaml []
<kaustuv>
(err stdout)
<Kakadu>
Aaaargh! I'm stupid
<Kakadu>
facepalm
<Kakadu>
I'll never said where the problem was
Yoric has joined #ocaml
BiDOrD has quit [Ping timeout: 246 seconds]
BiDOrD has joined #ocaml
ankit9 has quit [Remote host closed the connection]
ankit9 has joined #ocaml
avsm has quit [Quit: Leaving.]
emmanuelux has joined #ocaml
ftrvxmtrx has joined #ocaml
emmanuelux has quit [Quit: @+]
beckerb has joined #ocaml
avsm has joined #ocaml
silver has quit [Read error: Connection reset by peer]
silver has joined #ocaml
thomasga has joined #ocaml
ivan\ has quit [Ping timeout: 245 seconds]
ivan\ has joined #ocaml
everyonemines has quit [Quit: Leaving.]
tac-tics[home] has quit [Ping timeout: 246 seconds]
Snark has joined #ocaml
Hussaind has joined #ocaml
emmanuelux has joined #ocaml
Hussaind has left #ocaml []
munga has joined #ocaml
Yoric has quit [Remote host closed the connection]
Framedragger has joined #ocaml
emmanuel__ has joined #ocaml
emmanuel__ has quit [Read error: Connection reset by peer]
emmanuel__ has joined #ocaml
emmanuel__ has quit [Read error: Connection reset by peer]
osa1 has joined #ocaml
tac-tics[home] has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
Framedragger has quit [Ping timeout: 248 seconds]
_andre has joined #ocaml
oriba has joined #ocaml
avsm has quit [Quit: Leaving.]
Cyanure has quit [Remote host closed the connection]
Cyanure has joined #ocaml
Progster has joined #ocaml
ankit9 has quit [Ping timeout: 246 seconds]
ankit9 has joined #ocaml
gnuvince has quit [Ping timeout: 250 seconds]
Yoric has joined #ocaml
avsm has joined #ocaml
gnuvince has joined #ocaml
mattrepl has joined #ocaml
mattrepl has quit [Client Quit]
lin has joined #ocaml
eni has quit [Ping timeout: 246 seconds]
Submarine has quit [Ping timeout: 265 seconds]
kaustuv has left #ocaml []
Cyanure has quit [Remote host closed the connection]
Cyanure has joined #ocaml
Progster has quit [Read error: Operation timed out]
smondet has joined #ocaml
smondet2 has joined #ocaml
diego_diego has joined #ocaml
munga has quit [Ping timeout: 252 seconds]
Yoric has quit [Ping timeout: 245 seconds]
fayden has joined #ocaml
ankit9 has quit [Quit: Leaving]
<fayden>
Hi, I know this is a really poor question, but I've been trying to find an introduction to OCaml tutorial or book (for free), but I couldn't find an up-to-date resource. Does anyone have a suggestion for someone who wants to jump into the functional programming world?
<flux>
fayden, did you try Jason Hickey's Introduction to Objective Caml? (pdf available free)
fayden has quit [Read error: No route to host]
fayden has joined #ocaml
<fayden>
flux: sorry, my client crashed. No, I didn't try it, I'll give it a look. Thank you
<flux>
it's a shame ocaml-tutorial.org is gone, it was a simple single place to point people to
jknick has joined #ocaml
<orbitz>
Yeah, it wasn't that bad either
smondet has quit [Remote host closed the connection]
smondet2 has quit [Remote host closed the connection]
smondet has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
cago has quit [Quit: Leaving.]
mika1 has quit [Quit: Leaving.]
Kakadu has quit [Quit: Page closed]
Kakadu_ has quit [Quit: Page closed]
tac-tics has joined #ocaml
Sablier has quit [Read error: Connection reset by peer]
gnuvince has quit [Ping timeout: 246 seconds]
rwmjones_afk is now known as rwmjones
gnuvince has joined #ocaml
oriba has quit [Remote host closed the connection]
silver has quit [Remote host closed the connection]
Sablier has joined #ocaml
djcoin has quit [Quit: WeeChat 0.3.2]
ankit9 has joined #ocaml
lin has quit [Quit: Leaving]
sepp2k has joined #ocaml
ankit9 has quit [Read error: Connection reset by peer]
avsm has quit [Quit: Leaving.]
ankit9 has joined #ocaml
fayden has quit [Read error: Operation timed out]
Yoric has joined #ocaml
fayden has joined #ocaml
osa1 has quit [Quit: Konversation terminated!]
thomasga has quit [Ping timeout: 260 seconds]
jknick has quit [Ping timeout: 248 seconds]
jknick has joined #ocaml
Yoric has quit [Ping timeout: 264 seconds]
Yoric has joined #ocaml
jknick has quit [Ping timeout: 264 seconds]
jknick has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
jknick has quit [Ping timeout: 252 seconds]
pangoafk is now known as pango
jknick has joined #ocaml
carm has joined #ocaml
struktured has quit [Ping timeout: 245 seconds]
jknick has quit [Ping timeout: 244 seconds]
jknick has joined #ocaml
tac-tics[home] has quit [Ping timeout: 246 seconds]
avsm has joined #ocaml
jknick has quit [Ping timeout: 244 seconds]
Xizor has joined #ocaml
jknick has joined #ocaml
Anarchos has joined #ocaml
jknick has quit [Ping timeout: 264 seconds]
jknick has joined #ocaml
ankit9 has quit [Quit: Leaving]
pango is now known as pangoafk
icke has left #ocaml []
eni has joined #ocaml
<orbitz>
Should oen switch to ocaml4?
<flux>
maybe one can wait till it's released?
osa1 has joined #ocaml
<orbitz>
Oh it isn't yet? I was jsut reading a thread in core mailing list about ocmpiling cor eon it
<bitbckt>
it's at beta2, right now.
<orbitz>
Is ocaml4 going to fracture the Ocaml community liek Python2.x vs 3?
<orbitz>
Or is it close enouhg
<bitbckt>
it shouldn't.
<orbitz>
sweet
<orbitz>
bitbckt: ever get a chance to read the VCGC paper?
<bitbckt>
orbitz: I did. I remarked at how similar it is to Detlefs and Printezis "mostly-concurrent" collector.
<orbitz>
I don't know enough about ht eliterateu to know what hat means quite yet :)
<bitbckt>
it's described in the book you're reading, iirc.
<orbitz>
jdh talks about it a lo tbeause he says it's pretty simple to implement and gives you good results
<bitbckt>
that style of collector is currently the most popular on the JVM.
<orbitz>
Ok
<orbitz>
is G1 production ready yet?
<bitbckt>
for what that's worth.
<bitbckt>
... ish.
<bitbckt>
:)
<orbitz>
Btw, do you know how Zing gets pausless GC on commoidty hardware? I know how it does it on the appliances (bsically)
<bitbckt>
they've implemented the write barriers they need in software and built out their own memory allocation APIs in a kernel module.
<bitbckt>
they have a code dump you can study at managedruntime.org
<bitbckt>
that code dump, however, is definitely not for prod.
<orbitz>
Hah
<orbitz>
I heard they open source it but it's like this borken ass veriosn of the code
<bitbckt>
yeah.
<bitbckt>
"open source"
<bitbckt>
to paraphrase Limbaugh (ew), it's "open source in name only"
ivan\ has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<orbitz>
is this idea picking up thouhg? The kernel giving rutimes more control?
<bitbckt>
not really.
<orbitz>
Why?
<bitbckt>
it's effective, but takes a lot of work and isn't popular with the kernel guys.
<orbitz>
too niche?
<orbitz>
ok
<bitbckt>
yeah, basically.
ftrvxmtrx has joined #ocaml
<orbitz>
Is Azul doing well these days/ Their products have been awesome when I worked iwht them but selling appliances doesn't seem tobe ag ood wya to make money (only so many peopel want a big ass 1TB machine)
<bitbckt>
I can't say.
<orbitz>
Their real time jvm stats was awesome
<bitbckt>
they're getting down into the 10usec pause range, now.
<avsm>
their kernel APIs are problematic for a general purpose OS, but fit right into a library OS
<orbitz>
bitbckt: I don't really know how to think about that number
<bitbckt>
"good" would be a start.
<bitbckt>
Hotspot is in the 10msec range at best.
<orbitz>
ok
<orbitz>
Woudl be kind of interesting ot have an OS that was basically a giant JITing VM
<orbitz>
I'm sure someone has done it
<orbitz>
I'm guessign Inferno?
<bitbckt>
avsm is the guy to ask about that.
* orbitz
looks t avsm
<avsm>
actually meeting the director of oracle labs tomorrow to chat about that...
<orbitz>
interesting...
<avsm>
we've pretty much done this for ocaml on xen, but not delved into the jvm yet.
<orbitz>
I was thinking about it just now in terms of binary portabilty (you could ship functions off to another machine and itwould just jit it for you and blah)
<orbitz>
avsm: what was that called? Mirage?
<avsm>
yeah, working on the beta release this week