companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Tuplanolla has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
<discocaml> <darrenldl> what's a good choice for fast and stable (at least more stable than marshal) binary serialisation these days in ocaml land?
<discocaml> <darrenldl> primarily want very fast unpacking
neuroevolutus has joined #ocaml
<discocaml> <yawaramin> anything with a schema should unpack pretty quickly, right? because it won't have to read any field names
neuroevolutus has quit [Ping timeout: 256 seconds]
neuroevolutus has joined #ocaml
<discocaml> <darrenldl> yeah true, but i want to be lazy and pick something well supported/finished
<discocaml> <darrenldl> ugh ocamlwiki dot com is flooding my search results again in duckduckgo. anyway.
euphores has quit [Quit: Leaving.]
euphores has joined #ocaml
bartholin has joined #ocaml
neuroevolutus has quit [Ping timeout: 256 seconds]
<discocaml> <timmcgilchrist> Protobufs has been decent so far. There’s two main libraries for it in OCaml. I’m using it for serializing program backtraces and logging data.
<discocaml> <davesnx> Hi, we are live in Sabine's stream with fun-OCaml: https://www.twitch.tv/sabine_ocaml
<discocaml> <davesnx> https://fun-ocaml.com
<discocaml> <darrenldl> might give protobuf a shot, cheers
toastal has joined #ocaml
YuGiOhJCJ has joined #ocaml
Tuplanolla has joined #ocaml
<discocaml> <0x28west> Hello, Everyone
bartholin has quit [Quit: Leaving]
terrorjack4 has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack4 has joined #ocaml
alexherbo2 has joined #ocaml
YuGiOhJCJ has quit [Ping timeout: 260 seconds]
YuGiOhJCJ has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
pi3ce_ has quit [Ping timeout: 252 seconds]
f[x] has joined #ocaml
pi3ce has joined #ocaml
bartholin has joined #ocaml
<discocaml> <0x28west> Ocaml is very hard to install, lot of things to download 😢 I've been trying for 5 hours now
<discocaml> <._null._> You should only have to download opam manually
vukung has quit [Ping timeout: 244 seconds]
vukung has joined #ocaml
vukung has quit [Quit: Leaving]
<discocaml> <0x28west> ```ocaml
<discocaml> <0x28west> Applying: Diskuv ocaml host patch ocaml-common-4_14-a05-msvccflags.patch
<discocaml> <0x28west> patches(flexdll host) =
<discocaml> <0x28west> warning: database file for 'clangarm64' does not exist (use '-Sy' to download)
<discocaml> <0x28west> warning: Public keyring not found; have you run 'pacman-key --init'?
<discocaml> <0x28west> error: mingw32: key "5F944B027F7FE2091985AA2EFA11531AA0AA7F57" is unknown
<discocaml> <0x28west> error: keyring is not writable
<discocaml> <0x28west> error: mingw64: key "5F944B027F7FE2091985AA2EFA11531AA0AA7F57" is unknown
<discocaml> <0x28west> error: keyring is not writable
<discocaml> <0x28west> error: keyring is not writable
<discocaml> <0x28west> [2024-09-16T16:37:02+00:00] share/dkml/repro/100co/vendor/dkml-compiler/src/r-c-ocaml-2-build_host-noargs.sh
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set VSCMD_DEBUG=[value]' and then re-run
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] Where [value] is:
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] 1 : basic debug logging
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] 2 : detailed debug logging
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] 3 : trace level logging. Redirection of output to a file when using this level is recommended.
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
<discocaml> <0x28west> [ERROR:VsDevCmd.bat] vsdevcmd.bat > vsdevcmd.trace.txt 2>&1
<discocaml> <0x28west> ```
<discocaml> <0x28west> i'm getting this error when i run `opam init -y` on window i have visual studio build tools 2019/2022 installed with all sdk's installed as well
<discocaml> <yawaramin> i recommend asking in #windows-support and giving details of exactly what you did. eg, open PowerShell, run commands A, B, C, following instructions on XYZ page. and so on
torretto_ has joined #ocaml
torretto has quit [Ping timeout: 260 seconds]
euphores has quit [Ping timeout: 252 seconds]
<discocaml> <getzapped.> Do recursive modules mess with type visibility? I have a module Env with a type t, and another functor that takes a module of Env's signature, and so a function in that functor takes an Env.t. Env is recursive, so I pass itself to the functor to create a module visible within Env. When I pass a value of type t from Env to the function taking Env.t, the compiler complains about the value being of `type t = <actual type>, but a value was expe
<discocaml> <getzapped.> Do recursive modules mess with type visibility? I have a module Env with a type t, and another functor that takes a module of Env's signature, and so a function in that functor takes an Env.t. Env is recursive, so I pass itself to the functor to create a module visible within Env. When I pass a value of type t from Env to the function taking Env.t, the compiler complains about the value being of `type t = <actual type of Env.t>, but a value
<discocaml> <getzapped.> fixed it by the functor taking the actual type instead of the abstract Env.t, and having identity converting functions in Env, but it doesnt make sense to me
Anarchos has joined #ocaml
Absalom1 has joined #ocaml
kurfen_ has joined #ocaml
gentauro_ has joined #ocaml
adrien_ has joined #ocaml
neuroevolutus has joined #ocaml
bartholin has quit [*.net *.split]
toastal has quit [*.net *.split]
adrien has quit [*.net *.split]
kurfen has quit [*.net *.split]
gentauro has quit [*.net *.split]
Absalom has quit [*.net *.split]
Absalom1 is now known as Absalom
neuroevolutus has quit [Ping timeout: 256 seconds]
<discocaml> <sim642> I can't exactly imagine what you have and where the problem appears, but I think recursive module definitions do have some limitations. Like type equalities not being available in the middle of recursive module definition, but only after it or something. This might've come up recently on Discuss as well
<discocaml> <sim642> Maybe this is relevant to you: https://discuss.ocaml.org/t/what-is-an-unsafe-functor/14204/8
bartholin has joined #ocaml
toastal has joined #ocaml
<discocaml> <getzapped.> Thanks for the info. I ended up ditching the functor because I remembered the and keyword existed. The functor became useless when I made them properly recursive, then the compiler led me to the manual page for safe modules
toastal has left #ocaml [Disconnected: Hibernating too long]
myrkraverk_ has quit [Read error: Connection reset by peer]
myrkraverk_ has joined #ocaml
spew has joined #ocaml
spew has quit [Remote host closed the connection]
spew has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
spew has quit [Quit: spew]
spew has joined #ocaml
bartholin has quit [Quit: Leaving]
szkl has joined #ocaml
m5zs7k has quit [Quit: m5zs7k]
m5zs7k has joined #ocaml