ttamttam has quit [Remote host closed the connection]
tane has joined #ocaml
tcsc has quit [Quit: computer sleeping]
Anarchos has joined #ocaml
ontologiae has joined #ocaml
anderse has joined #ocaml
anderse has quit [Quit: anderse]
cfy` has joined #ocaml
cfy has quit [Ping timeout: 264 seconds]
mye has quit [Quit: mye]
nimred has joined #ocaml
Icarot has joined #ocaml
Kakadu has quit []
Icarot has quit [Client Quit]
Icarot has joined #ocaml
ahokaomaeha has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
cfy` is now known as cfy
cfy has quit [Changing host]
cfy has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
Icarot has quit [Remote host closed the connection]
Yoric has quit [Ping timeout: 246 seconds]
axiles has quit [Ping timeout: 248 seconds]
gour has left #ocaml []
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
axiles has joined #ocaml
<orbitz>
how come opam needs its own special ocamlfind?
<avsm>
a long and painful story. there's no reliable way to override the env variables
<avsm>
consider a port which overrides one param, but doesnt pass through the OPAM overrides either
mattrepl has joined #ocaml
<orbitz>
ah
* orbitz
just trying to figure out how to get nix and opam to play nice
<orbitz>
i've sorted out most things, only thing left is i'm getting annoying warnings:
<orbitz>
findlib: [WARNING] Package dynlink has multiple definitions in /home/mmatalka/.nix-profile/lib/ocaml/3.12.1/site-lib/dynlink/META, /home/mmatalka/.opam/system/lib/dynlink/META
<orbitz>
not a show stopper , just annoying
<orbitz>
holy moly that was an annoying bug to find
<orbitz>
reefininig (+) while using bitstring!
<adrien>
:D
<orbitz>
what are ones option when dealing with unsigned 32bit and 64bit integers in Ocaml/Core?
<adrien>
how many of them?
<adrien>
actually I thought bigarray did unsigned for 32bit and 64bit too
<orbitz>
single ones, I'm writing some code to handle protobufs wire protocol and it supports unsigned 32bit and 64bit values
<adrien>
I think there's a library on the ocaml forge that should help you
<orbitz>
ok
emmanuelux has joined #ocaml
darkf has quit [Quit: Leaving]
<mfp>
hmm, if you have several threads, the finalizer attached to a value with Gc.finalise can be run in any of them (since it's invoked when a major GC run is performed), right?
<mfp>
if that holds, isn't Lwt_gc.finalise quite dangerous? you could end up running code in the Lwt monad outside the main thread
travisbrady has joined #ocaml
<mfp>
seems to me it's pretty easy to run into deadlocks when you have any non-trivial finalizer that acquires a lock, since the caml runtime lock should be held while the GC run is being performed (no preemption in the middle of a finalizer, I assume)
Yoric has joined #ocaml
Cyanure has joined #ocaml
Kakadu has joined #ocaml
<avsm>
orbitz: you might find cstruct useful. github.com/mirage/ocaml-cstruct
andreypopp has joined #ocaml
andreypopp has quit [Excess Flood]
andreypopp has joined #ocaml
andreypopp has quit [Excess Flood]
andreypopp has joined #ocaml
andreypopp has quit [Excess Flood]
andreypopp has joined #ocaml
ollehar has quit [Ping timeout: 255 seconds]
andreypopp has quit [Excess Flood]
<adrien>
I wonder if his internet connection ever worked
ollehar has joined #ocaml
<adrien>
actually it's definitely working but he floods freenode and gets kicked
<mfp>
after a look at the sources, I'm fairly sure some of the above was wrong: finalisers can be preempted
<mfp>
the issue wrt lwt threads remains, though
<pippijn>
adrien: popp*
<pippijn>
ah
<pippijn>
you fixed it
ttamttam has joined #ocaml
Anarchos has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 264 seconds]
gnuvince has joined #ocaml
ftrvxmtrx has joined #ocaml
Yoric has quit [Ping timeout: 276 seconds]
Yoric has joined #ocaml
cfy has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Yoric has quit [Ping timeout: 246 seconds]
ftrvxmtrx has quit [Ping timeout: 264 seconds]
<Reventlov>
Hello
<Reventlov>
One of my function output a big num: <num 1234823696260717036961083297157374589511909122373996737448195351996056752390891239022838543147/7625888691733961111322034614285898328196636383584381506752606466887629787704926403090445101059>
<Reventlov>
but when I try to pass this big num to another function, I get:
<Reventlov>
Error: Integer literal exceeds the range of representable integers of type int
<adrien>
that's a compile-time error iirc; how's the code?