Stefan_vK1 has quit [Read error: 110 (Connection timed out)]
love-pingoo has joined #ocaml
Associat0r has joined #ocaml
Kerris7 has joined #ocaml
_zack has joined #ocaml
itewsh has quit ["KTHXBYE"]
johnnowak has joined #ocaml
jeddhaberstro has joined #ocaml
ikaros has joined #ocaml
johnnowak has quit []
_zack has quit ["Leaving."]
johnnowak has joined #ocaml
johnnowak has quit [Remote closed the connection]
Snark has quit ["Ex-Chat"]
ikaros has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
^authentic has joined #ocaml
kig has joined #ocaml
authentic has quit [Read error: 110 (Connection timed out)]
^authentic is now known as authentic
mrpingoo has joined #ocaml
sporkmonger has joined #ocaml
love-pingoo has quit [Read error: 110 (Connection timed out)]
mbishop has quit [Remote closed the connection]
smimou has quit ["bli"]
mbishop has joined #ocaml
alexyk has joined #ocaml
<alexyk>
how can I intercept Failure("int_of_string") raised deep somewhere, from main, and see what the offending string was?
<Smerdyakov>
I don't think you can see what the string was, without changing every piece of code in the chain.
<Smerdyakov>
Well, actually, just changing [int_of_string] would be enough.
<Camarade_Tux>
or tracing it
^authentic has joined #ocaml
<alexyk>
Smerdyakov: cool idea; yet I link many cmo/cma's which call int_of_string. [How] can I link in my own without changing all the modules?
<Smerdyakov>
My conclusion is that you need to instrument your own calls to that function.
authentic has quit [Read error: 110 (Connection timed out)]
^authentic is now known as authentic
<Camarade_Tux>
\o/
funebre has joined #ocaml
smimou has joined #ocaml
<flux>
alexyk, a relatively simple task would be to change the standard library to implement your instrumentation, which has the potential to break other code (which could be considered broken already..)
<alexyk>
flux: I really like pre-linking crufty li'l libs which would change standard functions, the question is whether I can do it with ocaml without actually relinking standard library :)
ikaros has quit [Remote closed the connection]
<flux>
I don't believe you can
jlouis has joined #ocaml
itewsh has joined #ocaml
smimou has quit ["bli"]
Kerris7 has quit []
<Camarade_Tux>
I've nearly finished the webkit-gtk bindings, they only need some polishing and checking but they should become available very soon (tm)
<Camarade_Tux>
olegfink, ^^ (thought you could find that interesting, especially since the api finally lets you handle downloads and new windows correctly)
mrpingoo has quit ["Connection reset by pear"]
<olegfink>
Camarade_Tux: cool!
<olegfink>
Camarade_Tux: do I understand correctly that with natdynlink I can do webkit stuff from a topleve?
<olegfink>
+l
<Camarade_Tux>
I've already used webkit from the toplevel without natdynlink
<olegfink>
oh, didn't know it was possible with bindings
<Camarade_Tux>
actually it's even a bit easier to get the bindings compile and work for bytecode
<olegfink>
nice, I think my dream browser would be a page rendering toplevel
<Camarade_Tux>
it's a bit hard because you'd had to deal with threads and blocking (that's a general annoyance when using lablgtk2 [as in 'toplevel'])
<Camarade_Tux>
but I'll have to think at how to make plugins for my browser :p
<Camarade_Tux>
(I've never been happy with firefox, I find it to be one of the world's worst browser)
<Camarade_Tux>
anyway, I can sleep peacefully now, good night :)
<thelema>
Camarade_Tux: all browsers suck - firefox sucks less