Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.1.1 released: https://ocaml.org/releases/5.1.1 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
alexherbo2 has quit [Remote host closed the connection]
Tuplanolla has quit [Quit: Leaving.]
tri has quit [Remote host closed the connection]
tri has joined #ocaml
tri has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 245 seconds]
tremon has quit [Quit: getting boxed in]
tri has joined #ocaml
pi3ce has quit [Quit: No Ping reply in 180 seconds.]
pi3ce has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
rgrinberg has joined #ocaml
terrorjack has joined #ocaml
pi3ce has quit [Quit: No Ping reply in 180 seconds.]
pi3ce has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tri has quit [Remote host closed the connection]
tri has joined #ocaml
tri has quit [Ping timeout: 260 seconds]
mbuf has joined #ocaml
torretto_ has joined #ocaml
torretto has quit [Ping timeout: 260 seconds]
bartholin has joined #ocaml
bibi_ has quit [Quit: Konversation terminated!]
mima has joined #ocaml
dnh has joined #ocaml
Tuplanolla has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has joined #ocaml
dnh has joined #ocaml
<discocaml> <contextfreebeer> I think making it clear in a sticky that questions must meet a minimum standard of quality and will otherwise be closed or heavily frowned upon might offer a partial solution, the problem is that it can easily make the community too hostile, case in point Stack Overflow. A lot of people don't know how that site works but a lot of people probably get it. Most questions I want to post on there I end up answering while writing by using my
rgrinberg has joined #ocaml
<discocaml> <limp.biskit> the funny thing though is that question wasn’t bad
<discocaml> <limp.biskit> the one i linked
<discocaml> <limp.biskit> badly worded, but it actually produced a good answer in the end
<discocaml> <limp.biskit> a lot of stack overflow questions are like that, where what they’re literally asking can be solved in two seconds, but it’s utility is in somebody showing their working
<discocaml> <limp.biskit> unfortunately google nowadays also seems to put forum posts above manuals
<discocaml> <fabric.input_output> what is the type expression for an `Eio` tcp socket connection? I look at the signature of `Eio.Net.connect` but the type expression is a bit too complicated for me
<discocaml> <limp.biskit> Eio.Net.stream_socket_ty
<discocaml> <fabric.input_output> but what should the type parameter be?
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<discocaml> <limp.biskit> the net parameter from stdenv
<discocaml> <limp.biskit> so Unix | Generic, but any function that produces a socket should also take an env#net afaik
<discocaml> <fabric.input_output> so, is it `Eio_unix_Stdenv.base Eio.Net.stream_socket_ty`?
<discocaml> <limp.biskit> ```ocaml
<discocaml> <limp.biskit> [ `Unix | `Generic ] Eio.Net.stream_socket_ty
<discocaml> <limp.biskit> ```
<discocaml> <fabric.input_output> oh
<discocaml> <fabric.input_output> I see there's also `Eio_unix.Net.stream_socket_ty` that is exactly that type
<discocaml> <fabric.input_output> thanks
waleee has quit [Ping timeout: 252 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ocra8 has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
dnh has quit [Client Quit]
dnh has joined #ocaml
rgrinberg has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
<discocaml> <regularspatula> This has been an interesting thread in general I think. The minimum quality idea is interesting, but I can also see the value in, if the forum provides a `beginner` tag, then it should also be okay with questions that aren’t very high quality
<discocaml> <regularspatula> I think the forum is good for beginners normally, but there are a few times when some moderation should have happened
Serpent7776 has joined #ocaml
bibi_ has joined #ocaml
dnh has quit [Ping timeout: 255 seconds]
dnh has joined #ocaml
emilknievel has quit [Remote host closed the connection]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has joined #ocaml
mbuf has quit [Quit: Leaving]
dnh has joined #ocaml
Serpent7776 has quit [Ping timeout: 256 seconds]
bartholin has quit [Quit: Leaving]
ocra8 has quit [Quit: WeeChat 4.2.2]
ocra8 has joined #ocaml
jabuxas has joined #ocaml
<discocaml> <Et7f3 (@me on reply)> I wouldn't recommend pulling another stdlib just for one function: either I buy the full stdlib or just copy function of alt stdlib (if I copy more and more utility I might change to full use of alt stdlib)
foo303 has quit [Quit: Leaving]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
dnh has quit [Ping timeout: 268 seconds]
<discocaml> <yawaramin> i took all those considerations into account before recommending `String.mapi`
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]