companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.12 released: https://ocaml.org/releases/4.12.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.]
waleee has quit [Ping timeout: 272 seconds]
vicfred_ has joined #ocaml
vicfred has quit [Ping timeout: 252 seconds]
zebrag has quit [Ping timeout: 264 seconds]
vicfred_ has quit [Quit: Leaving]
eight has quit [Remote host closed the connection]
eight has joined #ocaml
dh` has quit [Read error: Connection reset by peer]
mbuf has joined #ocaml
fluxm has quit [Ping timeout: 264 seconds]
radiopotin[m] has quit [Ping timeout: 244 seconds]
krnkktz has quit [Ping timeout: 244 seconds]
Sumera[m] has quit [Ping timeout: 264 seconds]
smondet[m] has quit [Ping timeout: 264 seconds]
labor[m] has quit [Ping timeout: 264 seconds]
<d_bot> <darrenldl> is there an efficient way to bitwise xor two strings?
<d_bot> <darrenldl> (in pure ocaml)
dh` has joined #ocaml
mro has joined #ocaml
reynir has quit [Quit: WeeChat 2.3]
reynir has joined #ocaml
labor[m] has joined #ocaml
Haudegen has joined #ocaml
krnkktz has joined #ocaml
fluxm has joined #ocaml
radiopotin[m] has joined #ocaml
smondet[m] has joined #ocaml
Sumera[m] has joined #ocaml
cedric has joined #ocaml
<sim642> What are the conditions for exception re-raising to work, i.e. not lose the inner backtrace?
<sim642> Some function calls and printing between catching and raising again seems to be fine, but not others. So I'm confused about what exactly is determining this.
<sim642> I suppose the workaround is to immediately Printexc.get_raw_backtrace when caught and raise using Printexc.raise_with_backtrace?
<d_bot> <undu> xapi uses a custom table for that with a backrace module, , calling `Bactrace.isimportant ()` keeps the inner backtrace. I'm not aware of the specifics, though: https://github.com/xapi-project/backtrace/blob/master/lib/backtrace.ml#L111
<theblatte> if the inner functions use exceptions without specifying raise_notrace then the unique exception backtrace that the runtime keeps track of gets overwritten
<theblatte> you can use Printexc.get_raw_backtrace at the start of the catch then Printexc.raise_with_backtrace to reraise
mro_ has joined #ocaml
mro has quit [Ping timeout: 244 seconds]
yoctocell has joined #ocaml
<sim642> Yeah, thanks, that makes sense. Just surprised that I couldn't find any mention about this anywhere
dhil has joined #ocaml
mro_ has quit [Remote host closed the connection]
mro has joined #ocaml
bartholin has joined #ocaml
waleee has joined #ocaml
mro has quit [Ping timeout: 268 seconds]
cedric has quit [Quit: Konversation terminated!]
mro has joined #ocaml
hackinghorn has joined #ocaml
zebrag has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mro has quit [Ping timeout: 264 seconds]
Serpent7776 has quit [Quit: leaving]
mro has joined #ocaml
mro has quit [Ping timeout: 272 seconds]
Serpent7776 has joined #ocaml
ansiwen has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 244 seconds]
mbuf has quit [Quit: Leaving]
olle has quit [Remote host closed the connection]
Haudegen has joined #ocaml
noisy-bot has joined #ocaml
noisy-bot has quit [Read error: Connection reset by peer]
noisy-bot has joined #ocaml
<dinosaure> I would like to test my noisy-bot just, sorry for the noise
mro has joined #ocaml
<companion_cube> can you test on another channel? :p
<dinosaure> yes, it's not my best idea :/ I will try to #mirage then
olle has joined #ocaml
<companion_cube> test on ##test1234
<companion_cube> my favorite test chan
<companion_cube> :p
dhil has quit [Ping timeout: 252 seconds]
noisy-bot has quit [Remote host closed the connection]
noisy-bot has joined #ocaml
noisy-bot has quit [Remote host closed the connection]
dhil has joined #ocaml
dhil has quit [Ping timeout: 264 seconds]
berberman has quit [Ping timeout: 244 seconds]
berberman has joined #ocaml
hackinghorn has quit [Remote host closed the connection]
dhil has joined #ocaml
rak has quit [Quit: Segmentation fault (core dumped)]
rak has joined #ocaml
hackinghorn has joined #ocaml
hackinghorn has quit [Remote host closed the connection]
hackinghorn has joined #ocaml
Tuplanolla has joined #ocaml
olle has quit [Ping timeout: 272 seconds]
Haudegen has quit [Quit: Bin weg.]
<d_bot> <EduardoRFS> \
oisota has joined #ocaml
aubian2 has quit [Quit: WeeChat 3.0]
zebragg has joined #ocaml
zebrag has quit [*.net *.split]
fluxm has quit [*.net *.split]
labor[m] has quit [*.net *.split]
dh` has quit [*.net *.split]
welterde has quit [*.net *.split]
dh` has joined #ocaml
TheLemonMan has joined #ocaml
mro has quit [Quit: Leaving...]
welterde has joined #ocaml
bartholin has quit [Quit: Leaving]
labor[m] has joined #ocaml
Haudegen has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
fluxm has joined #ocaml
mro has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mikess has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
wonko has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
dhil has quit [Ping timeout: 264 seconds]
dhil has joined #ocaml
mro_ has joined #ocaml
mro has quit [Ping timeout: 272 seconds]
<d_bot> <undu> what happened to the discuss-feed channel? I don't see https://discuss.ocaml.org/t/multicore-ocaml-may-2021/7990 😉
zebragg is now known as zebrag
mro_ has quit [Quit: Leaving...]
<d_bot> <anmonteiro> @Bluddy
<d_bot> <undu> I think discord has been acting out today in some regions, might be nothing
<d_bot> <Bluddy> The feeds are kinda broken since IFTTT changed their terms and limit your feeds.
<d_bot> <undu> oh, I see
<companion_cube> time to ask dinosaure to write a microkernel that receives emails and forwards them to discord
<v0idpwn> Hey, does ocaml support something as constexpr?
<companion_cube> nope
Serpent7776 has quit [Quit: leaving]
yoctocell has quit [Ping timeout: 252 seconds]
yoctocell has joined #ocaml
yoctocell has quit [Client Quit]
dhil has quit [Ping timeout: 252 seconds]
wonko has quit [Ping timeout: 252 seconds]
dhil has joined #ocaml
wagle has quit [Ping timeout: 252 seconds]
wagle has joined #ocaml
dhil has quit [Ping timeout: 268 seconds]
wagle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wagle has joined #ocaml
wagle has quit [Ping timeout: 244 seconds]
wagle has joined #ocaml