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/
agentcasey has quit [Ping timeout: 248 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
erdem has quit [Quit: ZNC 1.9.1 - https://znc.in]
Inline has quit [Ping timeout: 260 seconds]
Mister_Magister has quit [Quit: bye]
pi3ce has quit [Read error: Connection reset by peer]
pi3ce has joined #ocaml
alfiee has joined #ocaml
Mister_Magister has joined #ocaml
alfiee has quit [Ping timeout: 248 seconds]
oriba has joined #ocaml
Inline has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Exa has quit [Quit: see ya!]
Exa has joined #ocaml
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Tuplanolla has quit [Quit: Leaving.]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
agentcasey has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 248 seconds]
m5zs7k has quit [Ping timeout: 245 seconds]
m5zs7k has joined #ocaml
<dh`> grr why can't dune have actual documentation
<dh`> something I'm trying to work with runs dune with --no-buffer sometimes
<dh`> is this option mentioned in the man page? no.
<dh`> is this option mentioned in the section of the manual called "Command-Line Interface"? no
<dh`> it is only mentioned in passing in the FAQ section of the manual
<dh`> and that requires searching
m5zs7k has quit [Ping timeout: 248 seconds]
alfiee has joined #ocaml
<discocaml> <yawaramin> it's documented in `dune build --help`
alfiee has quit [Ping timeout: 260 seconds]
<dh`> that is useful to know, but why isn't in the manual? and maybe the man page should include the options, or if not at least point to the --help
<dh`> s/isn't/isn't it/
<discocaml> <yawaramin> so, in the manual, the CLI section says: 'This is a short overview of the commands available in Dune. Reference documentation for each command is available through dune COMMAND --help.'
<discocaml> <yawaramin> i guess they don't want to repeat the same documentation in multiple places
<discocaml> <yawaramin> but the weird part is, imho, that the common options for all subcommands, like `dune build`, `dune exec`, are all repeated in the man pages of those subcommands, instead of being in the `dune --help` page
<discocaml> <yawaramin> and in the `dune --help` page the 'Common Options' section mentions only `--help` and `--version`, leading one to think that those are the only common options across all commands
Inline has quit [Ping timeout: 252 seconds]
<dh`> the manual I'm looking at (https://dune.readthedocs.io/en/stable/usage.html) contains no such text
<dh`> and there are ways to write the text once and include it in several places
<dh`> . o O ( or maybe there aren't because dune's so inflexible... )
<discocaml> <yawaramin> i'm looking at https://dune.readthedocs.io/en/stable/reference/cli.html
<discocaml> <yawaramin> imho, the 'common options' should be shown in `dune --help`, and the subommand help pages should just refer to that page
<dh`> ah I couldn't even find that page because it's mixed in with a collection of unrelated things with no ordering
m5zs7k has joined #ocaml
<dh`> maybe usage.html should point to that page, too
<discocaml> <yawaramin> yeah the dune docs grew organically and everybody added in bits and pieces in different places at different times
pi3ce has quit [Read error: Connection reset by peer]
pi3ce has joined #ocaml
ygrek has joined #ocaml
m5zs7k has quit [Ping timeout: 252 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 248 seconds]
m5zs7k has joined #ocaml
ygrek has quit [Remote host closed the connection]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 272 seconds]
ygrek has joined #ocaml
cr1901 has quit [Ping timeout: 245 seconds]
cr1901 has joined #ocaml
germ has quit [Ping timeout: 246 seconds]
ygrek has quit [Remote host closed the connection]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 244 seconds]
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
bartholin has quit [Quit: Leaving]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 265 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
pi3ce has quit [Read error: Connection reset by peer]
pi3ce has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 248 seconds]
olle has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 246 seconds]
mange has quit [Remote host closed the connection]
fmira has quit [Remote host closed the connection]
alfiee has joined #ocaml
fmira has joined #ocaml
alfiee has quit [Ping timeout: 246 seconds]
Putonlalla has joined #ocaml
euphores has quit [Ping timeout: 260 seconds]
euphores has joined #ocaml
pi3ce has quit [Read error: Connection reset by peer]
pi3ce_ has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Haudegen has quit [Quit: Bin weg.]
Inline has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 276 seconds]
alfiee has joined #ocaml
Haudegen has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
greaser|q has joined #ocaml
GreaseMonkey has quit [Ping timeout: 276 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 265 seconds]
ygrek has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
olle has quit [Ping timeout: 245 seconds]
Haudegen has quit [Quit: Bin weg.]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bartholin has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
Inline has quit [Ping timeout: 260 seconds]
alfiee has joined #ocaml
Tuplanolla has joined #ocaml
alfiee has quit [Ping timeout: 248 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
fmira has quit [Remote host closed the connection]
fmira has joined #ocaml
Inline has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 265 seconds]
<dh`> documentation needs maintenance, possibly more so than code, and tends not to get it
<dh`> anyway I am trying to update a coq packaging and I'm having problems
<dh`> my understanding is that you're supposed to do dune build coq-core coq-stdlib coqide-server coqide, and after some misadventures I got that to run
<discocaml> <._null._> Do you want to install coq from source ?
<dh`> yes (see: "packaging")
<discocaml> <._null._> What do you want to package it for ?
<dh`> my understanding is that you're then supposed to use opam to install it, and the infrastructure I have does opaline -name $i -prefix $PREFIX _build/default/$i.install (for i in coq-core coq-stdlib coqide-server coqide)
<dh`> (plus some other args for path config and whatnot)
<dh`> (a) is that correct? and (b) actually running it causes it to try to call strip(1) on a python script, which of course fails and kills the whole thing
<discocaml> <._null._> I'm missing context;: I don't know opaline and I don't understand where python scripts come from
<dh`> so I suspect something in here is not actually the right incantation, but it's not clear what to change and documentation is pretty thin
<dh`> the python script is some coq thing
<dh`> "TimeFileMaker.py"
<discocaml> <._null._> You should ask on Coq's zulip for more knowledgeable people
<dh`> I was hoping this was an opam question and not a coq question
<discocaml> <._null._> If you want to do packaging yourself, I don't get why you would use opam
<dh`> because dune doesn't install things
<dh`> from what I can tell, this is the only way to install anything
<dh`> (other than writing it out by hand)
<discocaml> <._null._> Did you look into nix' and guix' scripts for opam packages ?
<discocaml> <._null._> (I presume they have packages for coq, where they replace opam)
<dh`> I am using a set of scripts for opam packages
<dh`> otherwise I'd probably be completely stuck right now, instead of partly
greaser|q has quit [Changing host]
greaser|q has joined #ocaml
greaser|q is now known as GreaseMonkey
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mange has joined #ocaml
alfiee has joined #ocaml
bartholin has quit [Quit: Leaving]
alfiee has quit [Ping timeout: 252 seconds]
<dh`> oh well, I suppose it's time I figured out how to get zulip to work
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Inline has quit [Ping timeout: 265 seconds]
<discocaml> <gooby_diatonic> I've been trying to get memtrace to work on 5.2.0+statmemprof with memtrace pinned to `https://github.com/dra27/memtrace#5_1_statmemprof`. In any case, the issue I had was when viewing the generated file, it says 0 bytes allocated. I was thinking it can either be because, 1, I didn't set it up correctly so the memprof API isn't working (which was initially what I was warned about when trying to install memtrace on 5.3.0), or that my pro
Inline has joined #ocaml
Serpent7776 has quit [Ping timeout: 276 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]