smkl has quit [Read error: 110 (Connection timed out)]
TachYon25 has joined #ocaml
smklsmkl is now known as smkl
xtrm_ has joined #ocaml
tmcm has quit [Read error: 60 (Operation timed out)]
xtrm has quit [Read error: 110 (Connection timed out)]
karryall has joined #ocaml
xtrm_ has quit [Read error: 110 (Connection timed out)]
DemiUni has quit [Remote closed the connection]
xtrm_ has joined #ocaml
DemiUni has joined #ocaml
DemiUni has quit [Remote closed the connection]
yangsx has joined #ocaml
malc has joined #ocaml
<yangsx>
hi, my ocaml program gives me "Fatal error: exception Stack overflow
<yangsx>
" what can I do to correct it?
<karryall>
it could be a bug
<karryall>
(in your program)
<karryall>
too deep recursion
<malc>
you are sucky programmer, give it up
<yangsx>
indeed, my program process a file line by line
<yangsx>
recursively
<karryall>
if the file is long
<karryall>
make sure your function is tail-recursive
<yangsx>
ok
<yangsx>
the function body is like "try something; recursive_call with End_of_file -> ()"
<karryall>
classic
<malc>
yep
<malc>
FAQ entry
<karryall>
yep
<yangsx>
do you mean I should move the with ... before recursive call?
<karryall>
let v = try something ; true with End_of_file -> false in if v then recursive_call
<karryall>
yes
<yangsx>
thanks
DemiUni has joined #ocaml
yangsx has quit [Read error: 104 (Connection reset by peer)]
xtrm_ has quit [Read error: 110 (Connection timed out)]
malc has quit [Read error: 110 (Connection timed out)]
xtrm_ has joined #ocaml
tmcm has joined #ocaml
eivuokko has joined #ocaml
pnou_icfp has quit [Read error: 110 (Connection timed out)]
TimFreeman has joined #ocaml
TachYon25 has quit [Remote closed the connection]
xtrm_ has quit [Read error: 60 (Operation timed out)]
xtrm_ has joined #ocaml
pnou_icfp has joined #ocaml
DemiUni has quit [Remote closed the connection]
xtrm_ has quit [Read error: 110 (Connection timed out)]
two-face has joined #ocaml
<two-face>
yo
<karryall>
'alut
<two-face>
c'est pas fini icfp?
<karryall>
dans 20 minutes :)
<two-face>
ah oui, c'est pas UC
<two-face>
UTC
<karryall>
he non
<two-face>
il leur faut combien de temps pour donner les résultats?
<karryall>
sais plus
pnou_icfp is now known as pnou
<two-face>
yo pnou
<pnou>
au liiiiiiit :)
<two-face>
tu vas gagner ?
<karryall>
j'allais le demander
<pnou>
nan :/
<two-face>
ah?
<pnou>
mais je ferai pas dernier :)
<two-face>
tu connais les participants?
<pnou>
y avait des serveurs multijoueurs
<pnou>
donc on pouvait affronter les autres et se situer un peu
<pnou>
mais j'ai fini trop tard
<pnou>
ce qui fait que j'ai vu pas mal de problème de stratégie trop tard
<karryall>
aie
<karryall>
decourageant tout ca
<pnou>
boh, je le faisais pas pour gagner :)
<two-face>
qui a des chances ?
<karryall>
la cmaml team ?
<karryall>
caml
<karryall>
il participent cette annee ?
<pnou>
j'en sais rien, les serveurs étaient anonymes
<pnou>
oué ils participent
<karryall>
maxence aussi ?
<pnou>
mais vu que les problèmes n'est pas tres formelle, y sont pas si avantagé que ça
<pnou>
oui maxence
<pnou>
xavier, luc, fabrice (c'est pas sûr), damien et maxence
<two-face>
le rouleau compresseur
<karryall>
:)
<two-face>
déjà tu mets xavier
<pnou>
oué enfin c'est pas déterministe comme problème, tu joues contre des joueurs
<pnou>
y a une grande part de chance
<karryall>
oui et dans ce genre de truc, c'est parfois les strategies les connes qui marchent le mieux parfois
<pnou>
oui :)
<two-face>
cf robots m6
<pnou>
bon je suis vraiment crevé, je vais me coucher
<pnou>
bonne nuit :)
<two-face>
a+ pnou
<karryall>
ciao
pnou has quit ["Pas de bras, pas de quit."]
karryall has quit [Remote closed the connection]
xtrm_ has joined #ocaml
scott has joined #ocaml
eivuokko has quit ["oh, well."]
two-face has quit ["Client Exiting"]
<TimFreeman>
I think the OCAML from CVS hangs when it tries to compile itself. Has anyone else observed this? I suspect the bug was introduced 3:43 am this morning GMT, if I'm doing the time zone arithmetic right.
xtrm_ has quit [Read error: 110 (Connection timed out)]
xtrm_ has joined #ocaml
<smkl>
TimFreeman: nope. why do you use the CVS version?
<TimFreeman>
Because I submitted a bug and just got a report that it was fixed in the CVS version.
<TimFreeman>
When you say you didn't observe it, do you mean that you did a "cvs update" since this morning and could recompile the world, or do you mean that you don't know of anyone who has tried it?
<smkl>
the second
<TimFreeman>
Okay, thanks. So everything so far is consistent with the hypothesis that they broke it somehow. Not too surprising; the bug that I reported involved an infinite loop in the compiler, and the fix apparently introduced an ...
<TimFreeman>
infinite loop in the compiler somewhere elese.
<smkl>
which file?
<TimFreeman>
Sorry, I got distracted testing the garbage disposal. :-).
<TimFreeman>
The file that was patched was typing/ctype.ml.
<TimFreeman>
The file that loops forever during the compile is labltk/browser/searchid.ml.
<TimFreeman>
The garbage disposal works now; there were a bunch of seeds and bone chunks bouncing around inside just waiting to jam it up. :-).
<smkl>
ok labltk/browser/searchid.ml and searchloc.ml loop here
<TimFreeman>
Thanks much.
__mattam__ has joined #ocaml
_mattam_ has quit [Read error: 60 (Operation timed out)]
skylan has quit ["Reconnecting"]
skylan has joined #ocaml
xtrm_ has quit [Read error: 60 (Operation timed out)]