gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
<ssbr> gosh darned old-worlders, think it's sunday... pfff....
BiDOrD has joined #ocaml
BiDOrD_ has quit [Read error: Operation timed out]
emmanuelux has quit [Read error: Connection reset by peer]
tmaedaZ has quit [Ping timeout: 260 seconds]
tmaedaZ has joined #ocaml
cyphase has joined #ocaml
jave has quit [Ping timeout: 265 seconds]
ulfdoz has quit [Ping timeout: 240 seconds]
ssbr has quit [Quit: wrong button]
ulfdoz has joined #ocaml
lamawithonel has joined #ocaml
jamii has joined #ocaml
JoeyA has joined #ocaml
smerz has quit [Remote host closed the connection]
cyphase has quit [Ping timeout: 244 seconds]
JoeyA has quit [Quit: Leaving]
cyphase has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 272 seconds]
ftrvxmtrx has joined #ocaml
oriba has joined #ocaml
nimred has joined #ocaml
roconnor has quit [Ping timeout: 248 seconds]
oriba has quit [Quit: oriba]
milosn has quit [*.net *.split]
fooc has quit [*.net *.split]
bobry has quit [*.net *.split]
Snark has joined #ocaml
<adrien> zeporzejfspo
<Kynes`> indeed
milosn has joined #ocaml
fooc has joined #ocaml
bobry has joined #ocaml
<nosuni> even Kynes` is here
<nosuni> this is one part of a channel.
<nosuni> party
<adrien> f00d
roha has joined #ocaml
roconnor_ has joined #ocaml
jave has joined #ocaml
GPHemsley has quit [Ping timeout: 265 seconds]
roha has quit [Ping timeout: 244 seconds]
err404 has joined #ocaml
eni has joined #ocaml
GPHemsley has joined #ocaml
GPHemsley has quit [Changing host]
GPHemsley has joined #ocaml
Xizor has joined #ocaml
roha has joined #ocaml
roha has quit [Ping timeout: 252 seconds]
err404 has quit [Remote host closed the connection]
roha has joined #ocaml
jave has quit [Ping timeout: 252 seconds]
jamii has quit [Read error: Connection reset by peer]
tmaedaZ has quit [Read error: Connection refused]
jave has joined #ocaml
tmaedaZ has joined #ocaml
snearch has joined #ocaml
eni has quit [Quit: Leaving]
jamii has joined #ocaml
snearch has quit [Quit: Verlassend]
jamii has quit [Ping timeout: 252 seconds]
<wmeyer> If somebody is interested: http://fpday.net/fpday2011/ takes place in Cambridge (UK).
<wmeyer> Wrong link: http://fpdays.net/fpdays2012/ of course
eni has joined #ocaml
emmanuel__ has joined #ocaml
r126f has joined #ocaml
r126f has quit [Quit: leaving]
r126f has joined #ocaml
roha has quit [Ping timeout: 245 seconds]
Kakadu has joined #ocaml
Tobu has quit [Ping timeout: 272 seconds]
sander has joined #ocaml
Tobu has joined #ocaml
roha has joined #ocaml
emmanuel__ has quit [Remote host closed the connection]
TDJACR has quit [Read error: Operation timed out]
err404 has joined #ocaml
TDJACR has joined #ocaml
TDJACR has quit [Ping timeout: 250 seconds]
TDJACR has joined #ocaml
lorilan has quit [Quit: Quitte]
Kakadu has quit [Quit: Konversation terminated!]
roha has quit [Ping timeout: 245 seconds]
Yoric has joined #ocaml
mononofu has joined #ocaml
<adrien> hmmm; yeah, I lost most of my backtrace because of my main exception wrapper =/
<adrien> "try main_wrap b with e -> Printexc.get_backtrace ()", and it tells me the exception has been raised at the line with "main_wrap b"
<adrien> bah
<adrien> and now it's one level *above*
<thelema_> adrien: try bytecode; I've had many problems with native code exceptions having useless backtraces
<adrien> I'm quite surprised because it used to be perfectly fine not long ago
ftrvxmtrx has quit [Ping timeout: 272 seconds]
<adrien> it seems to be related to my "try foo () with E1 e -> print "some diagnosis"; raise e | ..."
<wmeyer> adrien: thelema_ The native backtraces issues are considered to be fixed I think see PR's in Mantis
ftrvxmtrx has joined #ocaml
<adrien> I need to check that; if it requires 4.00, I'm changing the requirements for yypkg
<thelema_> wmeyer: great, I'll find out when 4.00 comes out
<wmeyer> thelema_: adrien : not very sure now though - but http://caml.inria.fr/mantis/view.php?id=5485
<wmeyer> thelema_: adrien I think there was another PR - hold on with good hopes :)
<adrien> what is über-weird is that I was actively relying on {back,stack}traces before in yypkg
<wmeyer> adrien: Maybe filling out the mantis issue would be a good thing to do, as you are experiencing a weird behaviour, from top of the issues there, I can't see anything similar as for today. Trying with trunk might solve the issue, so that would be also worth to try
<adrien> right
<wmeyer> adrien: Nothing specific, but trying trunk might help
<adrien> I know where my bug is (almost) so I can do without a backtrace; I think I can git bisect in yypkg's history and see when I've lost backtrace
<adrien> hah!
<wmeyer> adrien: :)
<adrien> sudo!
<adrien> fileutils has probably not been compiled with -g and the error comes from there
<adrien> it doesn't sound impossible that if an exception goes through or comes from code which hasn't been compiled with debug support, then the whole trace will be lost
<adrien> there's http://caml.inria.fr/mantis/view.php?id=5074 about that; I'll try to make a reproducer
<adrien> (also, sudo was innocent)
ftrvxmtrx has quit [Ping timeout: 272 seconds]
<wmeyer> adrien: It's certainly possible as you need full stack frames sizes during unwinding, from the raised exception up to where you print it
mel0on` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<wmeyer> adrien: Right, I was sure there was a Mantis PR about it, thanks for digging it out.
<adrien> yeah; it's a bit different but definitely not unrelated
lamawithonel has quit []
ftrvxmtrx has joined #ocaml
jknick has joined #ocaml
<thelema_> Error: Files C:\Program Files (x86)\OCaml\lib\threads\threads.cmxa and C:/Program Files (x86)/OCaml/lib/threads\threads.cmxa both define a module named Thread
<thelema_> :(
Cyanure has joined #ocaml
<adrien> :D
cdidd has joined #ocaml
<wmeyer> thelema_: I had similar problem here (but maybe not on Windows)
<wmeyer> thelema_: Don't remember if it was on trunk or not - possibly
jknick has quit [Ping timeout: 245 seconds]
jknick has joined #ocaml
Yoric has quit [Ping timeout: 272 seconds]
jknick has quit [Read error: Operation timed out]
jknick has joined #ocaml
ggherdov has joined #ocaml
jknick has quit [Ping timeout: 252 seconds]
avsm has joined #ocaml
jknick has joined #ocaml
jamii has joined #ocaml
Kakadu has joined #ocaml
<adrien> is it me or is Unix.select actually hard to use with pattern-matching? it seems to fit "let l1, l2, l3 = Unix.select ... in if List.mem some_descr l1 then ..." much better
<_habnabit> yeah I can't imagine pattern matching on it
<_habnabit> I did List.iter over each list when I used it
<adrien> I did but of course, there was a bug :-)
<adrien> or rather a limitation
<adrien> basically, inability to easily handle 2 or more descriptors
<adrien> thanks =)
Snark has quit [Quit: Quitte]
<adrien> beam me up scotty!
<adrien> looks pretty, what are you using it for? oh, reprap?
<flux> yeah
<thelema_> adrien: leveling
<thelema_> flux: nice; what was the final solution?
<flux> I first smooth the image and zero pixels that are below darker than 50% of pixels, clamp pixels that are brighter than 95% of pixels, find the edge hotspots (slightly buggy still), put lines between all pairs of points from different edges, filter out points below certain average, perform gradient descent optimization to all lines, filter out lines with another criteria, .. and have a result :)
<flux> man if only coding was as easy as writing that line was.
Cyanure has quit [Ping timeout: 245 seconds]
<adrien> considering the length of the line...
<thelema_> the descent is on both slope and intercept or one at a time?
<flux> line is defined by angle and distance from the center
<flux> one step of descent consisted of one angle step and one distance step made in sequence
<thelema_> ok, alternating.
<flux> I first did them in one go, but it was more difficult to find a right stopping epsilon.. not a big deal, but I think I'm still happier with this
<flux> the optimization code (without application-specific code) is 24 lines :)
<flux> the code is still buggy, but fortunately the optimization phase is forgiving..
testcocoon has quit [Quit: Coyote finally caught me]
Tobu has quit [Ping timeout: 248 seconds]
avsm has quit [Quit: Leaving.]
Tobu has joined #ocaml
TDJACR has left #ocaml []
smerz has joined #ocaml
testcocoon has joined #ocaml
err404 has quit [Remote host closed the connection]
err404 has joined #ocaml
diego_diego has joined #ocaml
ttamttam has joined #ocaml
ttamttam has left #ocaml []
emmanuel__ has joined #ocaml
TDJACR has joined #ocaml
tautologico has joined #ocaml
roha has joined #ocaml
<adrien> still having the ocaml interpreter is nice when you've rm'ed your /bin :P
<zorun> :)
<zorun> not the most practital shell though :D
<adrien> I only need to chown a few files
<adrien> couldn't find how to set the ssh port in rsync so I need I copied my other machine's /bin as a normal user instead of using sudo
<adrien> (.ssh/config)
jknick has quit [Ping timeout: 248 seconds]
diego_diego has quit [Quit: diego_diego]
jknick has joined #ocaml
diego_diego has joined #ocaml
<adrien> zorun: it's a great shell!
<adrien> Unix.execv "zsh" [| "-l" |];;
diego_diego has quit [Remote host closed the connection]
diego_diego has joined #ocaml
<zorun> ah ah :p
<adrien> it's things like this which make me really love linux ;p
<adrien> computer fixed
<pippijn> :)
<bnwr> flux: you using ocaml?
<pippijn> adrien: it's not as much fun if you accidentally rm'ed your /lib/ld-linux.so
ggherdov has quit [Quit: bye folks]
<adrien> pippijn: it was next on the list
<adrien> but rm'ed failed on /bin since I was using some files in there
<adrien> (they got "deleted" but not the directory)
Smerdyakov has joined #ocaml
<zorun> pippijn: I did that once (actually, renaming it)
<zorun> it's fun :)
<zorun> the ssh immediately died
<zorun> but the website on the host was still available…
<adrien> with bash running, you could fix it
<adrien> also, gitk is up here, so I could maybe have stolen it
roha has quit [Read error: Operation timed out]
Xizor has quit []
Kakadu has quit [Quit: Konversation terminated!]
wmeyer has quit [Remote host closed the connection]
isson has joined #ocaml
eni has quit [Quit: .]
isson has left #ocaml []
BiDOrD_ has joined #ocaml
BiDOrD has quit [Ping timeout: 252 seconds]
roconnor_ has quit [Ping timeout: 245 seconds]
roconnor_ has joined #ocaml
roconnor_ has quit [Remote host closed the connection]
jarray52 has joined #ocaml
jarray52 has quit [Changing host]
jarray52 has joined #ocaml
sander has quit [Read error: Connection reset by peer]
<jarray52> Does Ocaml have a set of libraries that is equivalent to Python's scipy?
Tobu has quit [Ping timeout: 272 seconds]
Tobu has joined #ocaml
Tobu has quit [Changing host]
Tobu has joined #ocaml
<jarray52> Does OCaml have bindings to the fortran LAPACK/BLAS libraries?
<adrien> yes
<adrien> on ocaml.info iirc (for the official homepage)
<adrien> night
sepuku has joined #ocaml
struktured has joined #ocaml
smiler has quit [Ping timeout: 245 seconds]
smiler has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
mononofu has quit [Remote host closed the connection]
jknick has quit [Ping timeout: 252 seconds]
<jarray52> How does one add a search path to OCaml?
<jarray52> I just built lacaml, but I can't use the modules unless I start ocaml from a specific directory.
<jarray52> Does OCaml have bindings for HDF5 or another library that can handle large datasets?
<thelema_> jarray52: yes on hdf5
<thelema_> and search path for what? .cmi? .cmx? .so?
<jarray52> thelema_: I built lacaml in my home directory(on Linux). If I run open 'Lacaml.Impl.S;;' in ~/lacaml-release-5.5.2/lib ; I have no problems.
<jarray52> thelema_: However, I would like to be able to open ocaml from anywhere and still be able to run 'open Lacaml.Impl.S;;'
<jarray52> thelema_: For .cmi, .cmx, and .o files.
<thelema_> ocaml -I ~/lacaml-release-5.5.2/lib