companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.14.0 released: https://ocaml.org/releases/4.14.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Soni has quit [Ping timeout: 256 seconds]
Tuplanolla has quit [Quit: Leaving.]
azimut has joined #ocaml
bobo has quit [Quit: Konversation terminated!]
rgrinberg has joined #ocaml
spip has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
John_Ivan has quit [Ping timeout: 256 seconds]
spip has quit [Ping timeout: 256 seconds]
bobo has joined #ocaml
Soni has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chrisz has quit [Ping timeout: 264 seconds]
chrisz has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
mbuf has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
xd1le has quit [Quit: xd1le]
jao has quit [Ping timeout: 246 seconds]
trev has joined #ocaml
bgs has joined #ocaml
jlrnick has joined #ocaml
bgs has quit [Remote host closed the connection]
Haudegen has joined #ocaml
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
mro has joined #ocaml
bartholin has quit [Quit: Leaving]
Anarchos has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
olle has joined #ocaml
jlrnick has quit [Ping timeout: 264 seconds]
Haudegen has quit [Quit: Bin weg.]
Anarchos has joined #ocaml
xgqt has joined #ocaml
mro has quit [Remote host closed the connection]
olle has quit [Ping timeout: 265 seconds]
mro has joined #ocaml
jao has joined #ocaml
Haudegen has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tsns has joined #ocaml
jlrnick has joined #ocaml
<Anarchos> do someone tried to 'opam install ocaml-protoc' ?
<vsiles> nope. Dunno what that is, sorry
<vsiles> let me try
<vsiles> any specific ocaml version you want me to try ?
olle has joined #ocaml
<vsiles> Anarchos: no issue with 4.14.0: https://pastebin.com/XSTxcaa4
troydm has quit [Ping timeout: 260 seconds]
<Anarchos> ocaml 4.14.0 , dune 59e1fc9
<vsiles> not sure how to get dune to this rev. opam pin --dev-repo I guess ?
<Anarchos> vsiles as i am on a somewhat exotic OS, i must often pin repos....
<Anarchos> and patch them to work on this os
<Anarchos> vsiles i pinned dune to a 3.6.1 version + patches to compile
<vsiles> Anarchos: I did `opam pin dune --dev-repo` and the very first rebuild showed your error (Module "Ocaml_protoc" is used in several stanzas)
tsns has quit [Remote host closed the connection]
<Anarchos> vsiles \o/
* Anarchos was sure the error was not on his side
<vsiles> you're welcome. Time to learn to unpin :D
<Fardale> vsiles: opam pin remove
<vsiles> thx !
azimut has joined #ocaml
tsns has joined #ocaml
<Leonidas> Anarchos: I wouldn't use ocaml-protoc, at work we found it so bad, we developed not one but two replacements for it
<Leonidas> https://github.com/issuu/ocaml-protoc-plugin this is much better, because it doesn't reinvent the wheel and the generated API is much better
spip has joined #ocaml
bobo has quit [Ping timeout: 252 seconds]
John_Ivan has joined #ocaml
<companion_cube> :D
<companion_cube> why did you find it so bad?
rgrinberg has joined #ocaml
Serpent7776 has quit [Ping timeout: 265 seconds]
John_Ivan_ has joined #ocaml
John_Ivan__ has joined #ocaml
John_Ivan has quit [Ping timeout: 255 seconds]
John_Ivan_ has quit [Ping timeout: 246 seconds]
John_Ivan_ has joined #ocaml
John_Ivan__ has quit [Read error: Connection reset by peer]
jao has quit [Ping timeout: 260 seconds]
John_Ivan__ has joined #ocaml
mro has quit [Remote host closed the connection]
John_Ivan_ has quit [Ping timeout: 260 seconds]
mro has joined #ocaml
John_Ivan_ has joined #ocaml
John_Ivan__ has quit [Ping timeout: 260 seconds]
discocaml has joined #ocaml
tsns has quit [Remote host closed the connection]
<companion_cube> oh well
discocaml has quit [Remote host closed the connection]
discocaml has joined #ocaml
discocaml has quit [Remote host closed the connection]
discocaml has joined #ocaml
<companion_cube> test
<discocaml> [discord] <companion_cube> oh my
<discocaml> [discord] <companion_cube> cc @Bluddy
<discocaml> [discord] <Le condor du plateau> sould like an idea to post in this thread https://discuss.ocaml.org/t/dune-wish-list-for-2023/11083
<discocaml> [discord] <Le condor du plateau> should like an idea to post in this thread <https://discuss.ocaml.org/t/dune-wish-list-for-2023/11083>
<discocaml> [discord] <Bluddy> We can keep it like this, but there's a way to make it so that people actually appear with their identities on the discord side (and pictures based on random selection from a website)
<discocaml> [discord] <Bluddy> That's how we had it, and it looks much cleaner on the discord end
<discocaml> [discord] <companion_cube> ok, so far I just followed the most basic config
<companion_cube> let's see
<discocaml> [discord] <companion_cube> nah :/
<zozozo> the bot output is quite verbose on irc I think, :/
<companion_cube> we can adjust
<companion_cube> what was the old format?
<zozozo> the same, but minus the "[discord]" prefix
<discocaml> [discord] <companion_cube> right, right
discocaml has quit [Remote host closed the connection]
John_Ivan__ has joined #ocaml
discocaml has joined #ocaml
John_Ivan__ has quit [Max SendQ exceeded]
John_Ivan__ has joined #ocaml
<zebrag[m]> does that mean the discord bridge is working again?
<companion_cube> soon
discocaml has quit [Remote host closed the connection]
discocaml has joined #ocaml
John_Ivan_ has quit [Ping timeout: 252 seconds]
jlrnick has quit [Ping timeout: 256 seconds]
<zebrag[m]> And about everybody else moving to matrix.org? (mozilla and kde did move to matrix.org). I allows for nice paste and is way easier to access than discord
John_Ivan_ has joined #ocaml
<companion_cube> … no ? :D
troydm has joined #ocaml
<zebrag[m]> I any case I will have to reask my question about why I must put pattern match branches for cases where the type can't have inhabitants (statically, but I use ocaml 4.08, so that might be the reason)
John_Ivan__ has quit [Ping timeout: 256 seconds]
<companion_cube> if that involves GADTs, it's probably because the type inference isn't able to prove the emptyness in some branches
tsns has joined #ocaml
<zebrag[m]> there were no branch for that case in the haskell version. And I had to put one in the ocaml port. But the typing algorithms are not exactly identical
<zozozo> more precisely, it is known that deciding whether some gadt type is inhabited is a hard problem (equivalent to Horn sat iirc), so the compiler does not try too hard to avoid blowing up, but you can force it to explore some of the search space by adding some pattern branches (and htese branches explicitly stating they are impossible to reach using the `.` body)
<zebrag[m]> . body?
<zozozo> you can write things like "match x with | Valid_pattern -> () | Known_to_be_unreachable -> ."
<zozozo> and the compiler will check that that last pattern is indeed unreachable
<zozozo> see e.g. https://discuss.ocaml.org/t/in-pattern-matching/2676 for some more talk about that
<zebrag[m]> does that dot thing have a name, so I can find it in the documentation?
<zebrag[m]> cool
<zozozo> it's called a refutation case I think
<zebrag[m]> so not like some assert false which I used
<zebrag[m]> okay thanks
<zozozo> the advantage of the refutation case is that the typechecker is able to verify that the case is unreachable, and thus it is deleted, and is not part of the emitted code
<zozozo> whereas with an assert false, the cod eis kept and emitted
<zozozo> so refutation cases are "better" in the sense that the fact they are unreachable is checked by the compiler
John_Ivan__ has joined #ocaml
<zebrag[m]> I've just done the substitution, and it worked. Very nice
<tsns> f...in retarded haskellers
<tsns> i cant stand them fkin little kids
John_Ivan_ has quit [Ping timeout: 246 seconds]
<zozozo> tsns: that's a bit harsh
<tsns> mhm
<companion_cube> tsns: please don't insult people like that
<tsns> I asked them about Mercury programming language and they talk about that like they know what is it and after 5 minutes oh i thought you meant Miranda and they are like can someone ban him and they banned me
<tsns> companion_cube: ok, i cant disagree with you
<companion_cube> mercury is pretty niche… you might have more chance with a prolog community
<zebrag[m]> derogatory comments in 2023 are frowned upon
olle has quit [Ping timeout: 264 seconds]
<tsns> companion_cube: At least i can learn it safely without fear that it will be soon invaded by haskellers thats all i wanted to know
<tsns> And 1 of its developers said that it looks like prolog but feels like ocaml
<tsns> (i dont know because i never really used ocaml)
<zebrag[m]> "invaded by haskellers" that really makes me uncomfortable
mro has quit [Quit: Leaving...]
John_Ivan_ has joined #ocaml
<zebrag[m]> I prefer to kick myself out for a while
John_Ivan_ has quit [Read error: Connection reset by peer]
John_Ivan_ has joined #ocaml
<companion_cube> zebrag[m]: please stay
<companion_cube> tsns: I'm not sure why you come here to complain about people who use Haskell
<companion_cube> but really, let's not insult other people
John_Ivan__ has quit [Ping timeout: 265 seconds]
<tsns> said dumbledore ocalmly
<discocaml> <beajeanm> I was so close to call an admin for the spam 😅
<discocaml> <beajeanm> Nice to see the bridge is back
<companion_cube> tsns: stop or leave, please
John_Ivan__ has joined #ocaml
<tsns> Okay thanks for reading me. Im leaving now. You wont be invaded by haskellers nor mercurians. ;)
<tsns> bye
<companion_cube> bye
tsns has left #ocaml [#ocaml]
John_Ivan has joined #ocaml
John_Ivan_ has quit [Ping timeout: 260 seconds]
John_Ivan__ has quit [Ping timeout: 264 seconds]
Haudegen has quit [Quit: Bin weg.]
John_Ivan_ has joined #ocaml
John_Ivan has quit [Ping timeout: 260 seconds]
<discocaml> <RegularSpatula> Do people using the bridge see the emoji reactions on messages, or replies?
<Fardale> No to both
bgs has joined #ocaml
<zozozo> and iirc, edits to messages appear as if a new message was posted
<discocaml> <RegularSpatula> Thanks
jao has joined #ocaml
<discocaml> <companion_cube> I'll investigate a different bridge tool which should look better on both sides, stay tuned
waleee has joined #ocaml
<zozozo> on the irc side, with my weechat plugin/script I get nice enough integration
olle has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
John_Ivan__ has joined #ocaml
John_Ivan_ has quit [Ping timeout: 248 seconds]
bartholin has joined #ocaml
cedric has joined #ocaml
John_Ivan__ has quit [Read error: Connection reset by peer]
John_Ivan__ has joined #ocaml
John_Ivan__ has quit [Read error: Connection reset by peer]
John_Ivan__ has joined #ocaml
oriba has joined #ocaml
John_Ivan_ has joined #ocaml
<discocaml> <emillon> It's going to happen, there's an open PR that implements this
John_Ivan__ has quit [Ping timeout: 255 seconds]
<discocaml> <geoff> oh nice, I always set up an alias to run executables that I can watch. Will be nice to not have to set that up anymore
<companion_cube> very cool
mbuf has quit [Quit: Leaving]
trev has quit [Remote host closed the connection]
trev has joined #ocaml
<discocaml> <froyo> we should add back to discord #general 's description that people shouldn't post long snippets of code here (and maybe avoid unnecessary edits (and maybe reply by quoting instead of the discord reply feature))
Haudegen has joined #ocaml
ralu1 has quit [Ping timeout: 246 seconds]
Tuplanolla has joined #ocaml
ralu1 has joined #ocaml
tsns has joined #ocaml
tsns has left #ocaml [#ocaml]
John_Ivan__ has joined #ocaml
jlrnick has joined #ocaml
Anarchos has quit [Ping timeout: 268 seconds]
John_Ivan_ has quit [Ping timeout: 252 seconds]
bgs has quit [Remote host closed the connection]
ralu1 has quit [Ping timeout: 256 seconds]
tsns has joined #ocaml
alexherbo2 has joined #ocaml
Stumpfenstiel has joined #ocaml
trev has quit [Remote host closed the connection]
jlrnick has quit [Ping timeout: 246 seconds]
leah2 has quit [*.net *.split]
h11 has quit [*.net *.split]
mclovin has quit [*.net *.split]
berberman has quit [*.net *.split]
xenu has quit [*.net *.split]
Duns_Scrotus has quit [*.net *.split]
xenu_ has joined #ocaml
Duns_Scrotus_ has joined #ocaml
leah2 has joined #ocaml
berberman has joined #ocaml
h11 has joined #ocaml
mclovin has joined #ocaml
xenu_ is now known as xenu
leah2 has quit [Quit: trotz alledem!]
leah2 has joined #ocaml
ralu1 has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
Anarchos has joined #ocaml
<Anarchos> vsiles could you find the bug with dune/ocaml-protoc ?
<companion_cube> might be a bug in dune?
<companion_cube> since it depends on the dune version
ralu1 has quit [Ping timeout: 268 seconds]
<Anarchos> companion_cube maybe !
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ocaml
ralu1 has joined #ocaml
rgrinberg has joined #ocaml
<olle> discocaml? Neat ^^
cedric has quit [Quit: Konversation terminated!]
bartholin has quit [Remote host closed the connection]
<tsns> ubuntu 31.10 calamitous camel
Stumpfenstiel has quit [Ping timeout: 255 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]