<mccd>
Heya, I'm a bit of a networking newbie. I'm trying to understand why in Eio net, unless I send a string with a newline at the end, the parser will hang indefinitely.
wickedshell has quit [Ping timeout: 260 seconds]
<discocaml>
<darrenldl> it is probably not flushing until you send newline (have not looked into it closely yet)
olle has joined #ocaml
<mccd>
discocaml so I managed to pin it down, essentially if my parser includes a check for Eio.buf_read.end_of_input it hangs
<mccd>
If I remove that check it doesn't
<mccd>
this seems to happen if it actually is at the end of file, otherwise it doesn't
myrkraverk_ has joined #ocaml
<mccd>
that is for cases where newline is not included
myrkraverk has quit [Ping timeout: 246 seconds]
<discocaml>
<darrenldl> end of input might only trigger when you close the socket
<discocaml>
<darrenldl> (discocaml is the bridge name to discord btw, not sure how discord name is displayed in irc side)
<mccd>
Ah I see
<discocaml>
<contificate> 😳 I trust you mean simping for the notion of performing contification
mccd has quit [Quit: Client closed]
<discocaml>
<darrenldl> for netcode, your bread and butter is wait for bytes up to a fixed limit with timeout
<discocaml>
<darrenldl> so end of input is closer to an exceptional case you handle than something you actively rely on
bcksl has quit [Quit: \]
end has quit [Quit: end]
Haudegen has quit [Quit: Bin weg.]
bcksl has joined #ocaml
end has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Haudegen has joined #ocaml
wickedshell has joined #ocaml
philipwhite_ has joined #ocaml
rustyne_ has joined #ocaml
beo_ has joined #ocaml
seeg_ has joined #ocaml
pluviaq_ has joined #ocaml
ggb_ has joined #ocaml
ymherklotz_ has joined #ocaml
ursa-major_ has joined #ocaml
j0lol_ has joined #ocaml
slothbee has joined #ocaml
mima_ has joined #ocaml
germ_ has quit [*.net *.split]
seeg has quit [*.net *.split]
ursa-major has quit [*.net *.split]
pluviaq has quit [*.net *.split]
exfalsoquodlibet has quit [*.net *.split]
rustyne has quit [*.net *.split]
ymherklotz has quit [*.net *.split]
beo has quit [*.net *.split]
ggb has quit [*.net *.split]
philipwhite has quit [*.net *.split]
j0lol has quit [*.net *.split]
slothby has quit [*.net *.split]
mima has quit [*.net *.split]
seeg_ is now known as seeg
pluviaq_ is now known as pluviaq
ggb_ is now known as ggb
rustyne_ is now known as rustyne
ymherklotz_ is now known as ymherklotz
ursa-major_ is now known as ursa-major
j0lol_ is now known as j0lol
exfalsoquodlibet has joined #ocaml
germ_ has joined #ocaml
<theblatte>
I'm having trouble using the llvm opam package: I installed llvm.17.0.6 from opam and trying to use it from dune results in "Error: File unavailable: <opam switch>/lib/ocaml/llvm/llvm.cmxa"
<theblatte>
there's no llvm.cmxa in my opam but there's llvm_static.cmxa
olle has quit [Ping timeout: 260 seconds]
<theblatte>
and if I install llvm.18.1.8 instead then llvm.cmxa gets installed in lib/llvm/llvm.cmxa instead of the expected lib/ocaml/llvm/llvm.cmxa
Haudegen has quit [Quit: Bin weg.]
beo_ has quit [Remote host closed the connection]
beo has joined #ocaml
Haudegen has joined #ocaml
<discocaml>
<evanpiro> Hello OCaml devs! For anyone in the NYC area who wants to hangout with fellow functional programmers, we're having an Elm meep up at Scratcher Bar at 6:30pm tonight. Conversations are not limited to Elm so feel free to swing by!