adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
dhil has quit [Ping timeout: 264 seconds]
<d_bot> <bannerets> companion_cube: telegram's protocol is open (https://core.telegram.org/mtproto), the clients are open source, the server is proprietary. Though, telegram doesn't have slack-like channels, it's just a simple chat
<companion_cube> ah, so you just have a bunch of people in a group?
<d_bot> <bannerets> yes
vicfred_ has quit [Quit: Leaving]
vicfred has joined #ocaml
ollehar has quit [Ping timeout: 258 seconds]
<companion_cube> yeah, probably not the same thing then
ollehar has joined #ocaml
amiloradovsky has quit [Ping timeout: 244 seconds]
<d_bot> <Anurag> Matrix is probably a more apt comparison for discord.
<d_bot> <bannerets> yeah
andreas303 has quit [Ping timeout: 240 seconds]
andreas303 has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
spew has quit [Quit: Connection closed for inactivity]
<d_bot> <Bluddy> fyi for our irc buddies, on discord we have this channel (#general), as well as a channel for beginners, sharing random stuff, and ecosystem-specific channels. Also feeds from discuss, reddit and github. we obviously can't bridge all of that, but the main channel is now connected.
inkbottle has joined #ocaml
zebrag has quit [Ping timeout: 265 seconds]
mangoicedtea has quit [Quit: Leaving]
waleee-cl has quit [Quit: Connection closed for inactivity]
mfp has quit [Ping timeout: 240 seconds]
<cemerick> funny that the sync apparently doesn't pick up emotes
narimiran has joined #ocaml
reynir has joined #ocaml
mbuf has joined #ocaml
malc_ has joined #ocaml
sonologico has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
osa1 has joined #ocaml
osa1 has quit [Remote host closed the connection]
osa1 has joined #ocaml
Haudegen has joined #ocaml
mirrorbird has joined #ocaml
malc_ has quit [Ping timeout: 272 seconds]
ggole has joined #ocaml
decentpenguin has quit [Read error: Connection reset by peer]
decentpenguin has joined #ocaml
<vsiles> Bluddy: what's the discord address ?
decentpenguin has quit [Ping timeout: 256 seconds]
mbuf has quit [Quit: Leaving]
borne has joined #ocaml
<d_bot> <vinz> Thanks 🙂
mbuf has joined #ocaml
<reynir> you're welcome!
malc_ has joined #ocaml
banjiewen has quit [Read error: Connection reset by peer]
SrPx has quit [Ping timeout: 272 seconds]
adrianbrink has quit [Read error: Connection reset by peer]
banjiewen has joined #ocaml
rdivyanshu has quit [Ping timeout: 272 seconds]
SrPx has joined #ocaml
cemerick has quit [Ping timeout: 260 seconds]
adrianbrink has joined #ocaml
rdivyanshu has joined #ocaml
cemerick has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
dborisog has joined #ocaml
oriba has joined #ocaml
dborisog has quit [Ping timeout: 256 seconds]
craigfe has quit [Ping timeout: 258 seconds]
craigfe has joined #ocaml
craigfe has quit [Ping timeout: 246 seconds]
mfp has joined #ocaml
craigfe has joined #ocaml
craigfe has quit [Quit: WeeChat 2.9]
dckc has quit [Ping timeout: 265 seconds]
dckc has joined #ocaml
tane has joined #ocaml
dhil has joined #ocaml
kvik has joined #ocaml
<Putonlalla> Why is there no `Lwt_io.really_input`?
<Putonlalla> Oh, it's been renamed into `Lwt_io.read_into_exactly`.
<Putonlalla> I'm trying to use `thrift` as a component in a parallel message broker, but the problem is that I cannot have multiple threads wait on system calls without using `lwt`, which in turn would require rewriting `thrift`.
<Putonlalla> I'd use `fork` to get around this, but I cannot share a `Hashtbl.t` across several processes.
<Leonidas> I end up writing my own bindings
<Leonidas> if thrift is blocking then I'm not interested anyway ;-)
mirrorbird has quit [Ping timeout: 272 seconds]
reynir has quit [Ping timeout: 240 seconds]
reynir has joined #ocaml
mirrorbird has joined #ocaml
reynir has quit [Ping timeout: 240 seconds]
reynir has joined #ocaml
<adrien> Putonlalla: don't the bindings offer some function that return a file descriptor that you could provide to the event loop of your choice?
malc_ has left #ocaml ["ERC (IRC client for Emacs 28.0.50)"]
<Putonlalla> Nope, adrien.
<Putonlalla> Everything is hidden behind `opn`, `close` and so on.
spew has joined #ocaml
tmhoang has quit [Quit: Ping timeout (120 seconds)]
tmhoang has joined #ocaml
osa1 has quit [Quit: osa1]
osa1 has joined #ocaml
waleee-cl has joined #ocaml
dckc has quit [Ping timeout: 240 seconds]
dckc has joined #ocaml
borne has quit [Ping timeout: 240 seconds]
malc_ has joined #ocaml
jyc has quit [Quit: Connection closed for inactivity]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mbuf has quit [Quit: Leaving]
borne has joined #ocaml
dhil has quit [Ping timeout: 256 seconds]
malc_ has quit [Ping timeout: 244 seconds]
<d_bot> <Et7f3> can we disable the gc
<d_bot> <Et7f3> can we disable the gc
<Putonlalla> Well, I'll figure something out.
narimiran has quit [Ping timeout: 240 seconds]
osa1 has quit [Ping timeout: 258 seconds]
malc_ has joined #ocaml
<flux1> Et7f3: I don't think so, but you could try setting the parameters here to some vary high values: http://caml.inria.fr/pub/docs/manual-ocaml/libref/Gc.html
<flux1> there's no way to otherwise release memory so eventually you would run out of memory..
Tuplanolla has joined #ocaml
<Johann> Hello, in my module I include Base.Monad.Make2(My_monad) - I want to specify the include in my signature but can't find the syntax.. Do you know how to write it? Also, do you know of a comprehensible doc explaining that, I can't find any and I always have a hard time finding the syntax with functors.
<d_bot> <craigfe> `include module type of Base.Monad.Make2(My_monad)` works
<d_bot> <craigfe> re. your second question: the grammar is specified in the OCaml manual (https://caml.inria.fr/pub/docs/manual-ocaml/modtypes.html)
<d_bot> <craigfe> but personally it normally takes me a while to find such specs, since the corner-cases normally require you to follow links to one or more "language extensions" (linked below the grammar spec)
<d_bot> <craigfe> (oops, I meant: https://caml.inria.fr/pub/docs/manual-ocaml/moduletypeof.html#s%3Amodule-type-of)
ggole has quit [Quit: Leaving]
nullcone has joined #ocaml
osa1 has joined #ocaml
reynir has quit [Ping timeout: 240 seconds]
malc_ has left #ocaml ["ERC (IRC client for Emacs 28.0.50)"]
reynir has joined #ocaml
Jesin has quit [Quit: Leaving]
<Johann> alright i see, thanks a lot. I'll spend more time understanding the specified grammar in the docs and looking into language extensions
mirrorbird has quit [Quit: Leaving]
Jesin has joined #ocaml
<d_bot> <Et7f3> thanks @Flux1 I will try to debug my ctype bug (I think the gc move it during compatcion)
<octachron> Another rule that I try maintain is that a language feature is either described in the tutorial part of the manual or in the extension section.
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
<flux1> d_bot: ah, but you can disable compaction
<flux1> I mean Et7f3 :)
<flux1> instead of doing that, though, I've found if effective to springle calls to Gc.full_major around the code; kills performance but more easily triggers such issues
<flux1> actually not full_major, Gc.compact sounds even better
<d_bot> <Et7f3> full_major is enough to produce the crash
mirrorbird has joined #ocaml
borne has quit [Ping timeout: 240 seconds]
osa1 has quit [Ping timeout: 258 seconds]
narimiran has joined #ocaml
borne has joined #ocaml
narimiran has quit [Remote host closed the connection]
sonologico has joined #ocaml
borne has quit [Ping timeout: 240 seconds]
borne has joined #ocaml
amiloradovsky has joined #ocaml
dhil has joined #ocaml
tane has quit [Quit: Leaving]
nullcone has quit [Quit: Connection closed for inactivity]
peterbb has joined #ocaml
borne has quit [Ping timeout: 272 seconds]
Serpent7776 has quit [Quit: leaving]
borne has joined #ocaml
borne has quit [Ping timeout: 240 seconds]
peterbb has quit [Quit: peterbb]
sonologico has quit [Remote host closed the connection]
vicfred has quit [Quit: Leaving]
vicfred has joined #ocaml
vicfred has quit [Max SendQ exceeded]
vicfred has joined #ocaml
jmorris has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
Tuplanolla has quit [Quit: Leaving.]
theblatte has quit [Ping timeout: 264 seconds]
mangoicedtea has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
theblatte has joined #ocaml
Jesin has quit [Quit: Leaving]