al-damiri has quit [Quit: Connection closed for inactivity]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emily has quit [Ping timeout: 250 seconds]
zv has quit [Ping timeout: 246 seconds]
jao has joined #ocaml
kvda has joined #ocaml
silver has quit [Read error: Connection reset by peer]
rdivyanshu has joined #ocaml
jao has quit [Ping timeout: 272 seconds]
emily has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neatonk has quit [Ping timeout: 244 seconds]
kvda has joined #ocaml
MadcapJake has quit [Remote host closed the connection]
MadcapJake has joined #ocaml
kvda has quit [Read error: Connection reset by peer]
kvda_ has joined #ocaml
jbrown has quit [Ping timeout: 252 seconds]
tormen_ has joined #ocaml
kvda_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tormen has quit [Ping timeout: 268 seconds]
kvda has joined #ocaml
jbrown has joined #ocaml
rdivyanshu has quit [Ping timeout: 252 seconds]
kvda has quit [Client Quit]
rdivyanshu has joined #ocaml
kvda has joined #ocaml
rdivyanshu has quit [Remote host closed the connection]
JimmyRcom has joined #ocaml
nicoo has quit [Ping timeout: 256 seconds]
nicoo has joined #ocaml
rdivyanshu has joined #ocaml
rdivyanshu has quit [Read error: Connection reset by peer]
rdivyanshu has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
carlosdagos has joined #ocaml
mfp has quit [Ping timeout: 268 seconds]
rdivyanshu has quit [Remote host closed the connection]
env__ has joined #ocaml
<env__>
bit of a noob question, but suppose I was writing an interpreter for C and wanted a convenient way to represent 8/16/32/64 width bitvectors, is there an easy way to do that? I searched around but couldn't really find anything obvious
<companion_cube>
stdint maybe?
<companion_cube>
for 32/64 there's Int32 and Int64
<env__>
stdint seems like a good option, thanks
<env__>
I was pretty close to just loading the cffi and just using it for c integers
<companion_cube>
:D
<companion_cube>
worst case…
<env__>
ah damn, I just realized that I need arbitrary length bitvectors, hmm
<companion_cube>
hmmmmm well there are libs of bitvectors
<companion_cube>
but if you need stuff like addition on them, that's gonna be more work
rdivyanshu has joined #ocaml
<env__>
hmm, this project will be using a bitvector smt solver in the near future, I wonder how bad it would be to just use their concrete bitvector representation :^)
<companion_cube>
could also work indeed!
<companion_cube>
which one? :)
<env__>
Probably Z3, only one I've used with ocaml before
<companion_cube>
well I guess it'd work, if you call simplify often
<env__>
it is what it is I suppose
nicoo has quit [Ping timeout: 256 seconds]
nicoo has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marble_visions has joined #ocaml
tianon has quit [Quit: brb]
rdivyanshu has quit [Ping timeout: 246 seconds]
JimmyRcom has quit [Ping timeout: 252 seconds]
rdivyanshu has joined #ocaml
<xvilka>
Z3 is the best one
<xvilka>
since it can handle most theories from any available SMT solvers
<xvilka>
by the way, I remember there were users of 'amqp-client' AMQP library. How do you handle closed connections, how do you perform autoreconnection (like it can be done with 'pika' from Python)?
JimmyRcom has quit [Ping timeout: 272 seconds]
<marble_visions>
!last
nicoo has quit [Ping timeout: 256 seconds]
emily has quit [Ping timeout: 252 seconds]
nicoo has joined #ocaml
mildtaste has joined #ocaml
kvda has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GreyFaceNoSpace has quit [Quit: Ex-Chat]
orbifx2 has joined #ocaml
loli has joined #ocaml
kvda has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
Haudegen has joined #ocaml
orbifx2 has quit [Ping timeout: 252 seconds]
env__ has joined #ocaml
tianon has joined #ocaml
env__ has quit [Ping timeout: 276 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
kvda has quit [Client Quit]
env__ has joined #ocaml
rand__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
env__ has joined #ocaml
kvda has joined #ocaml
env__ has quit [Ping timeout: 276 seconds]
carlosdagos has quit [Quit: Connection closed for inactivity]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ggole has joined #ocaml
<Leonidas>
xvilka: we don't experience closed connections a lot, in such case we just do the erlang thing and "let it crash" to be revived by the orchestrator.
env__ has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
djellemah has quit [Ping timeout: 246 seconds]
djellemah has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 252 seconds]
mfp has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 272 seconds]
jaar has joined #ocaml
<xvilka>
Leonidas: well, Erlang/Elixir are truly created for such things. Sadly I cannot rewrite this part in it - already too late and it grown big
env__ has joined #ocaml
<Leonidas>
xvilka: We don't plan to rewrite it in an untyped language either, it's just how we handle it atm.
<Leonidas>
If we were losing connections more often it would be worth looking into it, but it hasn't been an issue (maybe amqp-client actually reconnects internally) so far
env__ has quit [Ping timeout: 252 seconds]
rpcope has quit [Ping timeout: 268 seconds]
rpcope has joined #ocaml
env__ has joined #ocaml
neets has joined #ocaml
env__ has quit [Ping timeout: 252 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 246 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 246 seconds]
env__ has joined #ocaml
freyr69 has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
env__ has joined #ocaml
rdivyanshu has quit []
Haudegen has quit [Remote host closed the connection]
env__ has quit [Ping timeout: 244 seconds]
env__ has joined #ocaml
rdivyanshu has joined #ocaml
gareppa has joined #ocaml
env__ has quit [Ping timeout: 272 seconds]
rdivyanshu has quit [Remote host closed the connection]
gareppa has quit [Quit: Leaving]
env__ has joined #ocaml
env__ has quit [Ping timeout: 252 seconds]
jao has joined #ocaml
<ggole>
Hint: Did you mean foo, foo or foo?
<ggole>
The misspelling suggestions feature is nice, but it interacts a bit strangely with opened modules.
<Armael>
yeah
<ggole>
I wonder whether this is worth a bug report. It's more amusing than harmful.
rdivyanshu has joined #ocaml
env__ has joined #ocaml
<Armael>
I think it's worth a bug report and a minimal repro example (if it hasn't been reported already) :)
env__ has quit [Ping timeout: 268 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
env__ has joined #ocaml
neets has quit [Ping timeout: 250 seconds]
env__ has quit [Ping timeout: 276 seconds]
env__ has joined #ocaml
neets has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
env__ has joined #ocaml
neets has left #ocaml [#ocaml]
neets has joined #ocaml
Haudegen has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 252 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
bartholin has joined #ocaml
env__ has joined #ocaml
nullifidian has quit [Ping timeout: 276 seconds]
env__ has quit [Ping timeout: 252 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 246 seconds]
nullifidian has joined #ocaml
spew has joined #ocaml
quipa has joined #ocaml
env__ has joined #ocaml
nullifidian has quit [Ping timeout: 245 seconds]
env__ has quit [Ping timeout: 245 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 245 seconds]
jao has quit [Ping timeout: 260 seconds]
jao has joined #ocaml
nullifidian has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 252 seconds]
neatonk has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 245 seconds]
env__ has joined #ocaml
quipa has quit [Remote host closed the connection]
env__ has quit [Ping timeout: 245 seconds]
env__ has joined #ocaml
quipa has joined #ocaml
quipa has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
quipa has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
FreeBirdLjj has quit [Ping timeout: 276 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 252 seconds]
dtornabene has joined #ocaml
nullifidian has quit [Ping timeout: 252 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 252 seconds]
nullifidian has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
quipa has quit [Read error: Connection reset by peer]
env__ has joined #ocaml
env__ has quit [Ping timeout: 252 seconds]
env__ has joined #ocaml
silver has joined #ocaml
ski has joined #ocaml
FreeBirdLjj has joined #ocaml
rdivyanshu has quit [Remote host closed the connection]
rdivyanshu has joined #ocaml
rdivyanshu has quit [Ping timeout: 244 seconds]
johnelse has quit [Read error: Connection reset by peer]
env__ has quit [Ping timeout: 268 seconds]
kino` has joined #ocaml
freyr69 has quit [Remote host closed the connection]
johnelse has joined #ocaml
<kino`>
Hi, I'm using menhir and I was wondering if it was possible to parse those two statements into to different structures:
<kino`>
`a |> b |> c`
al-damiri has joined #ocaml
<kino`>
`a |> b ~> c.`
rdivyanshu has joined #ocaml
JimmyRcom has joined #ocaml
env__ has joined #ocaml
emily has joined #ocaml
tane has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
neets has quit [Read error: Connection reset by peer]
kino` has quit [Read error: Connection reset by peer]
Haudegen has quit [Remote host closed the connection]
rdivyans_ has joined #ocaml
jbrown has quit [Ping timeout: 252 seconds]
rdivyanshu has quit [Ping timeout: 276 seconds]
rand__ has quit [Ping timeout: 260 seconds]
jbrown has joined #ocaml
kino` has joined #ocaml
erkin has joined #ocaml
crowley95 has quit [Ping timeout: 245 seconds]
crowley95 has joined #ocaml
kino` has quit [Ping timeout: 252 seconds]
dtornabene has quit [Quit: Leaving]
lostman has quit [Quit: Connection closed for inactivity]
rdivyans_ has quit [Read error: Connection reset by peer]
rdivyanshu has joined #ocaml
fraxamo has joined #ocaml
rdivyanshu has quit [Remote host closed the connection]
JimmyRcom has quit [Ping timeout: 252 seconds]
rdivyanshu has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
rdivyanshu has quit [Ping timeout: 268 seconds]
maarhart has joined #ocaml
maarhart has quit [Client Quit]
JimmyRcom has joined #ocaml
rdivyanshu has joined #ocaml
steenuil has joined #ocaml
ggole has quit [Quit: ggole]
<Ulrar>
Is "unit -> (string, chan) option" not valid ? it says option except 1 argument, not two. Shouldn't it be applied here to the tuple ?
<Ulrar>
(It's in a module type .. = sig)
<Ulrar>
Oh right, it's *
<Ulrar>
Never going to remember that
FreeBirdLjj has joined #ocaml
env__ has joined #ocaml
flx_ has quit [Excess Flood]
flux has joined #ocaml
jaar has quit [Ping timeout: 252 seconds]
quipa has joined #ocaml
neatonk has quit [Remote host closed the connection]
fraxamo has quit [Ping timeout: 244 seconds]
rand__ has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
env__ has joined #ocaml
jaar has joined #ocaml
jaar has quit [Client Quit]
rand__ has quit [Ping timeout: 245 seconds]
rdivyanshu has quit [Remote host closed the connection]
neatonk has joined #ocaml
jim7j1ajh has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
fraxamo has joined #ocaml
jimt has quit [Ping timeout: 272 seconds]
rdivyanshu has joined #ocaml
fraxamo has quit [Client Quit]
FreeBirdLjj has quit [Ping timeout: 260 seconds]
rdivyanshu has quit [Ping timeout: 245 seconds]
<companion_cube>
it's a cartesian product type, which explains `*` :)
env__ has quit [Ping timeout: 272 seconds]
rdivyanshu has joined #ocaml
rdivyanshu has quit [Ping timeout: 246 seconds]
jao has quit [Remote host closed the connection]
jao has joined #ocaml
zv has joined #ocaml
zv has quit [Ping timeout: 244 seconds]
tokomak has joined #ocaml
env__ has joined #ocaml
TC01 has quit [Ping timeout: 276 seconds]
groovy2shoes has quit [Ping timeout: 276 seconds]
jnavila has joined #ocaml
Jesin has joined #ocaml
zv has joined #ocaml
kakadu_ has joined #ocaml
haesbaert has quit [Remote host closed the connection]
demonimin has quit [Quit: bye]
erkin has quit [Remote host closed the connection]
nahra has quit [Remote host closed the connection]