gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
lopex has quit []
philtor has quit [Ping timeout: 252 seconds]
cthuluh has quit [Ping timeout: 248 seconds]
cthuluh has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
eikke has quit [Ping timeout: 252 seconds]
emmanuelux has joined #ocaml
__marius__ has quit [Remote host closed the connection]
ymasory has quit [Quit: Leaving]
jamii has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
emmanuelux has quit [Remote host closed the connection]
emmanuelux has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
mfp has joined #ocaml
joewilliams is now known as joewilliams_away
ymasory has joined #ocaml
cthuluh has quit [Ping timeout: 264 seconds]
__marius__ has joined #ocaml
__marius__ has quit [Remote host closed the connection]
bzzbzz has quit [Quit: leaving]
cthuluh has joined #ocaml
__marius__ has joined #ocaml
hto_ has joined #ocaml
hto has quit [Ping timeout: 240 seconds]
dnolen has quit [Quit: dnolen]
vivanov has joined #ocaml
ulfdoz has joined #ocaml
tomprince has quit [Ping timeout: 250 seconds]
tomprince has joined #ocaml
tomprince has quit [Ping timeout: 248 seconds]
tomprince has joined #ocaml
jderque has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
hto_ has quit [Ping timeout: 264 seconds]
__marius__ has quit [Remote host closed the connection]
ygrek has joined #ocaml
__marius__ has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
__marius__ has quit [Ping timeout: 276 seconds]
ikaros has joined #ocaml
philtor has joined #ocaml
Cyanure has joined #ocaml
khia0 has joined #ocaml
khia0 has left #ocaml []
ankit9 has quit [Quit: Leaving]
philtor has quit [Remote host closed the connection]
philtor has joined #ocaml
jderque has quit [Quit: leaving]
Associat0r has joined #ocaml
philtor has quit [Ping timeout: 240 seconds]
ftrvxmtrx has quit [Quit: Leaving]
ikaros has quit [Quit: Leave the magic to Houdini]
Associ8or has joined #ocaml
larhat has joined #ocaml
Associat0r has quit [Ping timeout: 240 seconds]
ygrek has quit [Ping timeout: 246 seconds]
boscop has joined #ocaml
ankit9 has joined #ocaml
Cyanure has quit [Read error: Operation timed out]
eikke has joined #ocaml
Rolands has joined #ocaml
Cyanure has joined #ocaml
Associ8or has quit [Quit: Associ8or]
__marius__ has joined #ocaml
__marius__ has quit [Remote host closed the connection]
__marius__ has joined #ocaml
sgnb has joined #ocaml
svenl has quit [Ping timeout: 276 seconds]
avsm has joined #ocaml
Cyanure has quit [Remote host closed the connection]
hto has joined #ocaml
lopex has joined #ocaml
jderque has joined #ocaml
jamii has quit [Read error: Connection reset by peer]
_andre has joined #ocaml
orbitz has quit [Read error: Operation timed out]
orbitz has joined #ocaml
emmanuelux has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
ikaros has joined #ocaml
boscop has quit [Ping timeout: 248 seconds]
boscop has joined #ocaml
oriba has joined #ocaml
ftrvxmtrx has joined #ocaml
jderque has quit [Quit: leaving]
dnolen has joined #ocaml
svenl has joined #ocaml
SoftTimur has joined #ocaml
<SoftTimur> Hello all, does anyone know a IRC channel for C programming?
<tomprince> SoftTimur: Try ##c
<SoftTimur> tomprince: "Cannot joint ##c: Registration is required...
<tomprince> You must need a registered nick to join. '/msg NickServ help' or freenode.net or #freenode
ankit9 has quit [Quit: Leaving]
ankit9 has joined #ocaml
ankit9 has quit [Quit: Leaving]
ankit9 has joined #ocaml
hto has quit [Quit: Lost terminal]
hto has joined #ocaml
edwin has joined #ocaml
ymasory_ has joined #ocaml
ankit9 has quit [Quit: Leaving]
bzzbzz has joined #ocaml
Associat0r has joined #ocaml
Rolands has quit [Ping timeout: 258 seconds]
ymasory_ has quit [Quit: Leaving]
dnolen has quit [Quit: dnolen]
SoftTimur has quit [Ping timeout: 240 seconds]
ymasory has quit [Ping timeout: 240 seconds]
jamii has joined #ocaml
lopex has quit []
__marius__ has quit [Ping timeout: 264 seconds]
avsm has quit [Quit: Leaving.]
eye-scuzzy has quit [Ping timeout: 260 seconds]
jderque has joined #ocaml
rossberg has quit [Remote host closed the connection]
hto has quit [Ping timeout: 260 seconds]
rossberg has joined #ocaml
hto has joined #ocaml
eye-scuzzy has joined #ocaml
joewilliams_away is now known as joewilliams
emmanuelux has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
emmanuelux has joined #ocaml
__marius__ has joined #ocaml
ymasory has joined #ocaml
__marius__ has quit [Remote host closed the connection]
pdhborges has joined #ocaml
ankit9 has joined #ocaml
__marius__ has joined #ocaml
eikke has quit [Ping timeout: 240 seconds]
sepp2k has joined #ocaml
jamii has quit [Ping timeout: 240 seconds]
__marius__ has quit [Remote host closed the connection]
__marius__ has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
pdhborges has quit [Quit: Leaving.]
larhat has quit [Quit: Leaving.]
fraggle_laptop has joined #ocaml
philtor has joined #ocaml
hto has quit [Ping timeout: 240 seconds]
gio has joined #ocaml
<gio> hi
<gio> did you some articles from http://www.ffconsultancy.com/products/ocaml_journal/ ?
<gio> I'm looking for #36: Object-oriented programming in OCaml (23rd November 2008)
<gio> Some of you could help me?
<gio> :) thanks
<gio> *did you had some articles...
lamawithonel has joined #ocaml
<thelema> gio: easiest way to get that is to subscribe
<gio> yeah! I know :)
ftrvxmtrx has joined #ocaml
<gio> thelema: ~45 euros for a single article is too much
<thelema> ask jon nicely, maybe he'll send you just that article.
ygrek has joined #ocaml
__marius__ has quit [Remote host closed the connection]
<gio> who is jon?
<bitbckt> Jon Harrop. The author.
fraggle_laptop has quit [Remote host closed the connection]
<gio> ok, thank you guys
fraggle_laptop has joined #ocaml
hto has joined #ocaml
gio has quit [Remote host closed the connection]
vivanov has quit [Quit: Lost terminal]
pdhborges has joined #ocaml
ulfdoz has joined #ocaml
edwin has quit [Ping timeout: 260 seconds]
edwin has joined #ocaml
pdhborges has quit [Quit: Leaving.]
eikke has joined #ocaml
ankit9 has quit [Quit: Leaving]
emmanuel_ has joined #ocaml
emmanuel_ has quit [Remote host closed the connection]
lamawithonel has quit [Remote host closed the connection]
lamawithonel has joined #ocaml
lopex has joined #ocaml
ankit9 has joined #ocaml
yezariaely has joined #ocaml
ankit9 is now known as ankit9|zzz
pdhborges has joined #ocaml
philed has quit [Ping timeout: 248 seconds]
Rolands has joined #ocaml
oriba_ has joined #ocaml
oriba has quit [Read error: Operation timed out]
ygrek has quit [Ping timeout: 246 seconds]
oriba_ is now known as oriba
yezariaely has quit [Quit: Leaving.]
jderque has quit [Quit: leaving]
ymasory has quit [Quit: Leaving]
fraggle_laptop has quit [Ping timeout: 276 seconds]
_andre has quit [Quit: leaving]
astory has joined #ocaml
<astory> I've got some code that segfaults without doing any marshalling, just with an infinite recursion. Is it worth turning into a bug report?
<thelema> astory: on some platforms, infinite recursion -> segfault is expected
<thelema> Are you sure it's the infinite recursion that causes the segfault?
pdhborges has left #ocaml []
ulfdoz has quit [Ping timeout: 240 seconds]
<astory> thelema: I'm not doing anything weird with data types. It was my understanding that it shouldn't segfault unless you're doing odd things, but I'm no expert
<astory> it's entirely possible that it's something else, I need to finish tracking down the infinite recursion first
<thelema> true, using safe features of ocaml leaves pretty much only stack overflows as the only segfault candidate.
<thelema> I assume you're not compiling with -unsafe or using Obj.*
<astory> I'm on Linux x86-64, and we've replicated it on a mac of modern vintage
<astory> thelema: let me double check my omakefile
<astory> yeah, no -unsafe
pdhborges has joined #ocaml
<astory> the only thing I can think of is that in each recursion I increment a reference and turn that into a string; it gets to 41878 before dieing
<thelema> sounds like infinite recursion.
<astory> yeah, I know that I've got an infinte recursion bug, but I'm surprised it segfaults
<thelema> I thought that x86-64 was able to catch the stack overflow, though. Dunno why not.
<astory> I'm trying to test this out in the interpreter, but I'm having trouble coming up with a function that does a stack overflow (I think tail recursion is killing me). Any suggestions?
Rolands has quit [Read error: Operation timed out]
<thelema> # let rec f x = 1 + f (x+1) in f 3;;
eye-scuzzy has quit [Read error: Operation timed out]
<astory> Stack overflow during evaluation (looping recursion?).
<thelema> yup, that's what I get too
<astory> putting that into my compiled code yields Uncaught exception Stack overflow, so this is definitely bad behavior
<thelema> using any libraries? C bindings?
<astory> or at least, inconsistent
<astory> just yacc and lexx
<astory> but this function doesn't call them, it's just a manipulation of my ast
<thelema> can you pastebin it?
edwin has quit [Remote host closed the connection]
brendan has quit [Read error: Operation timed out]
brendan has joined #ocaml
<astory> thelema: I will in a bit, having connection issues
<thelema> ok
<astory> https://github.com/Meteorswarm/frenetic-compiler/blob/master/conversion.ml, line 211. I'm still in the process of figuring out why it infinite loops, but that's a separate issue, and I don't really need help with that.
<thelema> ah, not necessarily infinite recursion - fold_right isn't tail recursive and will blow your stack if given a big list.
<thelema> List.fold_right, that is.
<thelema> similarly List.(@)
<thelema> Are you working with large (10K+ elements) lists?
pdhborges has quit [Quit: Leaving.]
ymasory has joined #ocaml
<astory> thelema: well, it's recursing over 40k times, which is waaaay more than it should on the dummy input I'm feeding it
<astory> so there's a bug, but I know that
ikaros has quit [Quit: Leave the magic to Houdini]
pdhborges has joined #ocaml
chambart has quit [Ping timeout: 258 seconds]
ftrvxmtrx has quit [Quit: Leaving]
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
gio has joined #ocaml
Associat0r has quit [Quit: Associat0r]
chambart has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
emmanuelux has joined #ocaml
emmanuelux has quit [Read error: Connection reset by peer]
Amorphous has quit [Ping timeout: 260 seconds]
eikke has quit [Read error: Operation timed out]
emmanuelux has joined #ocaml
emmanuelux has quit [Client Quit]
Amorphous has joined #ocaml
oriba has left #ocaml []
joewilliams is now known as joewilliams_away
pdhborges has left #ocaml []
emmanuelux has joined #ocaml
emmanuel_ has joined #ocaml
gio has quit [Quit: gio]
emmanuel_ has quit [Remote host closed the connection]
emmanuelux has quit [Remote host closed the connection]
emmanuelux has joined #ocaml
ftrvxmtrx has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
ftrvxmtrx has quit [Client Quit]
emmanuelux has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
emmanuelux has joined #ocaml
pdhborges has joined #ocaml
pdhborges has left #ocaml []