<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]