polykernel has quit [Remote host closed the connection]
polykernel has joined #ocaml
humasect has joined #ocaml
Frostillicus has joined #ocaml
iNomad has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
hannes_ has joined #ocaml
Frostillicus has joined #ocaml
hannes has quit [Ping timeout: 272 seconds]
polykernel has quit [Remote host closed the connection]
polykernel has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
toastal has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
humasect has quit [Remote host closed the connection]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
_whitelogger has joined #ocaml
Humean has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
toastal has left #ocaml [#ocaml]
bartholin has quit [Quit: Leaving]
hsw has joined #ocaml
dylanj has quit [Remote host closed the connection]
toastal has joined #ocaml
dylanj has joined #ocaml
Serpent7776 has joined #ocaml
semarie has quit [Remote host closed the connection]
semarie has joined #ocaml
Frostillicus has joined #ocaml
toastal has left #ocaml [#ocaml]
toastal has joined #ocaml
Frostillicus has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
itszor has joined #ocaml
_jbrown_ has quit [Ping timeout: 276 seconds]
hannes_ has quit [Remote host closed the connection]
dhil has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
olle has joined #ocaml
ol0ck_ is now known as ol0ck
Frostillicus has quit [Ping timeout: 265 seconds]
Frostillicus has joined #ocaml
dhil has quit [Ping timeout: 272 seconds]
dhil has joined #ocaml
Haudegen has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
jutty has quit [Ping timeout: 276 seconds]
jutty has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Remote host closed the connection]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 248 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 265 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
alexherbo2 has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Remote host closed the connection]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
inline has quit [Quit: Leaving]
johnridesabike has joined #ocaml
Frostillicus has joined #ocaml
Serpent7776 has quit [Ping timeout: 248 seconds]
bartholin has joined #ocaml
humasect has joined #ocaml
humasect has quit [Ping timeout: 244 seconds]
olle has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
Frostillicus has quit [Ping timeout: 252 seconds]
humasect has joined #ocaml
humasect has quit [Client Quit]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
humasect has joined #ocaml
euphores has quit [Ping timeout: 265 seconds]
Frostillicus has joined #ocaml
Anarchos has joined #ocaml
iNomad has quit [Quit: leaving]
euphores has joined #ocaml
humasect has quit [Quit: Leaving...]
humasect has joined #ocaml
Serpent7776 has joined #ocaml
Tuplanolla has joined #ocaml
wbooze has quit [Quit: Leaving]
Frostillicus has quit [Ping timeout: 276 seconds]
Humean has joined #ocaml
Frostillicus has joined #ocaml
humasect has quit [Remote host closed the connection]
bartholin has quit [Remote host closed the connection]
<discocaml>
<dubious245> I wish there was a way to edit the ocaml.org documentation and be like here I fixed this one for you.
<discocaml>
<dubious245> Edit from the website, I know its back by a github or something that has to be run down.
humasect has joined #ocaml
<discocaml>
<dubious245> I also wish it was standard to include the names of parameters in the document rather than just `recv : file_desc -> bytes -> int -> int -> msg_flags list -> int` "receive data from a connected socket."
<discocaml>
<dubious245>
<discocaml>
<dubious245> Whats the ...int -> int ->... referring to? Dont ask the documentation. Go find it somewhere else.
<discocaml>
<yawaramin> there is...the 'Contribute' link goes directly to the GH file
<discocaml>
<dubious245> Thats what I am asking for. Where are you looking? I am looking at https://ocaml.org/manual/5.3/api/Unix.html and there explicitly isnt a contribute link on the page nor the home page for the manual.
<discocaml>
<yawaramin> true. the manual is in the ocaml repo itself and generated in a different way from the rest of the website (because it predates the website)
<discocaml>
<dubious245> This is another good source, thank you. I was just googling the unix module I didn't realize there was a whole other version of the library.
<discocaml>
<dubious245> They unfortunately did not cover recv in that source either, (they did but they didnt use it or cover what the parameters were.) I ended up finding the answer in a stack overflow question.
<discocaml>
<dubious245> I went back to the manual with my answer and didn't see a way to easily add what I had found.
<discocaml>
<yawaramin> for Unix stuff they often have their own man pages. eg `man recv`
<humasect>
~_
inline has joined #ocaml
<discocaml>
<dubious245> Are the man pages online somewhere? I am on my phone plotting what I should work on when I get home.
<discocaml>
<dubious245> Wait do you mean the c man pages?
<humasect>
20 mins ago
hsw has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<companion_cube>
You kind of get used to the pattern of bytes+2 ints, but it must suck in the beginning for sure
<discocaml>
<yawaramin> yeah. the Unix module is kind of a thin wrapper for the C system calls
<companion_cube>
At least it doesn't care about 0 terminated strings
johnridesabike has quit [Quit: johnridesabike]
<discocaml>
<dubious245> So the second int is the length to copy and the first int is where to start copying from... the source buffer or the destination buffer?
humasect has quit [Quit: Leaving...]
dhil has quit [Ping timeout: 244 seconds]
Serpent7776 has quit [Ping timeout: 276 seconds]
Frostillicus has joined #ocaml
infinity0 has quit [Ping timeout: 276 seconds]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
infinity0 has joined #ocaml
Haudegen has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
<discocaml>
<yawaramin> `recv` has only one buffer
<companion_cube>
Yeah blit has 2 buffers with their offsets, then length. Read/write/... have a buffer, offset, and length.
<companion_cube>
Wish we had slices, maybe with oxcaml it can be a reasonable thing to have!!