<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
<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>
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.