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/
Tuplanolla has quit [Quit: Leaving.]
spip has quit [Quit: Konversation terminated!]
master_ has joined #ocaml
azimut has joined #ocaml
hackinghorn has joined #ocaml
hackinghorn has quit [Changing host]
quernd8 has joined #ocaml
quernd has quit [Ping timeout: 248 seconds]
quernd8 is now known as quernd
SquidDev6 has joined #ocaml
SquidDev has quit [Ping timeout: 248 seconds]
SquidDev6 is now known as SquidDev
master_ is now known as themasterbuilder
themasterbuilder is now known as masterbuilder
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
chrisz has quit [Ping timeout: 248 seconds]
chrisz has joined #ocaml
gentauro has quit [Read error: Connection reset by peer]
waleee has quit [Ping timeout: 248 seconds]
gentauro has joined #ocaml
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
mbuf has joined #ocaml
trev has joined #ocaml
bgs has joined #ocaml
Haudegen has joined #ocaml
mro has joined #ocaml
bartholin has joined #ocaml
mro has quit [Ping timeout: 248 seconds]
mro has joined #ocaml
Tuplanolla has joined #ocaml
Serpent7776 has joined #ocaml
szkl has joined #ocaml
olle has joined #ocaml
olle has quit [Remote host closed the connection]
reynir has joined #ocaml
bartholin has quit [Quit: Leaving]
reynir has quit [Ping timeout: 248 seconds]
reynir has joined #ocaml
klu has left #ocaml [ERC 5.4 (IRC client for GNU Emacs 28.2)]
klu has joined #ocaml
klu has left #ocaml [Igloo IRC: https://iglooirc.com]
olle has joined #ocaml
<olle> Eyy there's a compiler channel on ocaml discord
<olle> Didn't know
bastienleonard has quit [Ping timeout: 256 seconds]
spip has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
<Leonidas> There is no Format-equivalent of Printf.bprintf, is there?
<Armael> I think you can create a formatter that outputs to a buffer
<Armael> Format.formatter_of_buffer
<Leonidas> Yeah, that's an option :-)
<Armael> TIL Format.str_formatter
<Armael> which outputs to Format.stdbuf
bgs has quit [Remote host closed the connection]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
emp has quit [Ping timeout: 248 seconds]
emp has joined #ocaml
bastienleonard has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
dnh has joined #ocaml
<companion_cube> Don't use it
<companion_cube> Globals are bad, mkay?
olle has quit [Ping timeout: 246 seconds]
olle has joined #ocaml
bastienleonard has quit [Ping timeout: 252 seconds]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
zbroyar has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
<discocaml_> <Kakadu> I recently got into a situation, when I have 'dune build -w' in one tab, and running 'dune exec asdf.exe' in another tab complain about being locked. Is it a recent ~~feature ~~ bug?
zbroyar has joined #ocaml
zbroyar has quit [Ping timeout: 252 seconds]
zbroyar has joined #ocaml
waleee has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
zbroyar has joined #ocaml
zbroyar has quit [Remote host closed the connection]
<discocaml_> <emillon> yes, there's now a lock that ensures that no concurrent processes are using `_build` at the same time. In that case you can pass `--no-build` to `dune exec` so that it does not try to acquire the lock (`dune build -w` is running so the executable will be up to date already)
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
Haudegen has joined #ocaml
zbroyar has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
<discocaml_> <mbacarella> if a bunch of different opam packages share the same github repo, is opam sophisticated enough to only download that repo once?
<discocaml_> <Kakadu> @emillon thanks!
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
<discocaml_> <emillon> @pilothole yes, and you'll see (cached) in the install log
bastienleonard has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
zbroyar has quit [Remote host closed the connection]
zbroyar has joined #ocaml
olle has quit [Remote host closed the connection]
mro has quit [Quit: Leaving...]
<discocaml_> <$Gray> what is the best way to learn OCaml?
mbuf has quit [Quit: Leaving]
zbroyar has quit [Remote host closed the connection]
zbroyar has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
zbroyar has joined #ocaml
zbroyar has quit [Remote host closed the connection]
Haudegen has quit [Quit: Bin weg.]
bastienleonard has quit [Ping timeout: 246 seconds]
zbroyar has joined #ocaml
zbroyar has quit [Remote host closed the connection]
zbroyar has joined #ocaml
zbroyar has quit [Remote host closed the connection]
szkl has quit [Quit: Connection closed for inactivity]
zbroyar has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
olle has joined #ocaml
zbroyar has joined #ocaml
zbroyar has quit [Remote host closed the connection]
zbroyar has joined #ocaml
zbroyar has quit [Ping timeout: 246 seconds]
bartholin has joined #ocaml
zbroyar has joined #ocaml
zbroyar has quit [Ping timeout: 246 seconds]
zbroyar has joined #ocaml
zbroyar has quit [Read error: Connection reset by peer]
zbroyar has joined #ocaml
<discocaml_> <RegularSpatula> What was the rational behind changing dune’s locking behavior? I see it come up as an issue for many people
zbroyar has quit [Ping timeout: 246 seconds]
bgs has joined #ocaml
zbroyar has joined #ocaml
<discocaml_> <emillon> It has always been broken basically. If processes access the files concurrently they can observe inconsistent behavior. It's unfortunate that all accesses are fully broken but we're making the checks more precise. In the future it will also be possible for concurrent commands to request a temporary lock or ask the watch mode process to make a build on behalf of a command for example, so things should get better.
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
<discocaml_> <emillon> It has always been broken basically. If processes access the files concurrently they can observe inconsistent behavior. It's unfortunate that all accesses are fully locked but we're making the checks more precise. In the future it will also be possible for concurrent commands to request a temporary lock or ask the watch mode process to make a build on behalf of a command for example, so things should get better.
zbroyar has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
Haudegen has joined #ocaml
wingsorc has quit [Remote host closed the connection]
zbroyar has joined #ocaml
zbroyar has quit [Ping timeout: 246 seconds]
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
zbroyar has joined #ocaml
waleee has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
zbroyar has joined #ocaml
wingsorc has joined #ocaml
zbroyar has quit [Ping timeout: 255 seconds]
zbroyar has joined #ocaml
zbroyar has quit [Remote host closed the connection]
zbroyar has joined #ocaml
<discocaml_> <RegularSpatula> Interesting, thanks for the info
dnh has quit [Ping timeout: 248 seconds]
Stumpfenstiel has joined #ocaml
trev has quit [Remote host closed the connection]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
chrisz has quit [Ping timeout: 252 seconds]
alexherbo2 has joined #ocaml
chrisz has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
brettgilio has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
brettgilio has quit [Quit: The Lounge - https://thelounge.chat]
brettgilio has joined #ocaml
bgs has quit [Remote host closed the connection]
<discocaml_> <Alistair> How does one minify the output of the js_of_ocaml?
<discocaml_> <Alistair> Generated js file is like 4 MiB
olle has quit [Ping timeout: 255 seconds]
bartholin has quit [Quit: Leaving]
Stumpfenstiel has quit [Ping timeout: 246 seconds]
wingsorc has quit [Quit: Leaving]
wingsorc has joined #ocaml