<d_bot>
<Arul (he/him)> I'm trying to setup this example. I'm not able to figure out how to get dygraph installed. It's not available in opam. I added Jane street's bleeding edge repos to opam. Can someone explain how the dygraph library is installed and used in this example? Thanks!
Anarchos has quit [Quit: Vision[]: i've been blurred!]
fastru has quit []
Serpent71 has quit [Read error: Connection reset by peer]
Serpent71 has joined #ocaml
<d_bot>
<Drup> @Bluddy honestly, for your use case, I would definitely write the ppx, it's approximately 10 line to hijack a custom field access operators such as `#XX` (with XX operator chars), jsoo style.
<d_bot>
<Drup> it's going to be trivial to maintain too, more so than metapp
<d_bot>
<Drup> I do wish we had more facilities to manipulate the right part of "string labeled" operators such as record and object fields. It's a recuring limitation compared to the rest of the ocaml syntax which is rather easy to abstract over.
<companion_cube>
so just to be sure: this moves ppx_deriving plugins, to ppxlib, like we were saying? awesome
<companion_cube>
(if I ever meet you in person, beer/coffee's on me)
gwizon has quit [Quit: Lost terminal]
gwizon has joined #ocaml
<d_bot>
<Kakadu> Odoc question: Is it possible to generate docs for my project and Stdlib at the same time? I want links to `Stdlib.Option.t` to work properly?
dextaa has quit [Read error: Connection reset by peer]
gwizon_ has joined #ocaml
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
gwizon has quit [Ping timeout: 272 seconds]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
xd1le has quit [Ping timeout: 268 seconds]
<companion_cube>
not sure you can do that locally, sadly
<companion_cube>
things like ocaml.org's docs will link properly though
<d_bot>
<copy> I've tried metapp, but ended up rewriting the preprocessor in ppxlib since metapp was too slow. ppxlib is quite ergonomic, especially since you can have ppx in the same repo as the main project using dune.
<companion_cube>
I guess ppxlib is ergonomic is you know compiler-libs by heart :p
<companion_cube>
ok, I agree — you mostly need the Parsetree and a few util modules
<d_bot>
<Drup> my point is more that it's rather well documented, and you don't need to know it "by heart" :p
<d_bot>
<Drup> (I agree the initial cost to know where to look is not trivial though)
<companion_cube>
yeah I've always looked at the .mli, didn't even know this page existed
<d_bot>
<octachron> The documentation is only rendered since 4.14, before that the mli contained only pseudo-documentation comments, and thus reading the mli was compulsory.
<sim642>
companion_cube, yes
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
<d_bot>
<geoff> Oh There are actually some comments on the types now, nice
bobo_ has quit [Read error: Connection reset by peer]
bobo_ has joined #ocaml
Serpent71 has quit [Quit: WeeChat 1.9.1]
waleee has quit [Quit: WeeChat 3.6]
waleee has joined #ocaml
trev has quit [Ping timeout: 255 seconds]
Anarchos has joined #ocaml
trev has joined #ocaml
xgqt has quit [Remote host closed the connection]
xgqt has joined #ocaml
mbuf has quit [Quit: Leaving]
bartholin has quit [Quit: Leaving]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Haudegen has quit [Ping timeout: 272 seconds]
companion_cube has quit [Quit: WeeChat 3.4.1]
ocabot_ has quit [Remote host closed the connection]
companion_cube has joined #ocaml
ocabot has joined #ocaml
<d_bot>
<jonpalmisc> does OCaml have good facilities for binary file IO? e.g. seeking to an offset, reading N bytes, seeking again, writing N bytes?
rgrinberg has joined #ocaml
<d_bot>
<octachron> Yes, the standard library or unix library provides all this.
<companion_cube>
just make sure you use the binary flag on opening files, if your OS requires it
<d_bot>
<jonpalmisc> Browsing through stdlib docs currently, looks like `open_in_bin` might be a good place to start?
<d_bot>
<jonpalmisc> (Long time programmer, first time OCaml user—forgive the ignorance here)
<companion_cube>
yeah, it's the one
rgrinberg has quit [Read error: Connection reset by peer]
<companion_cube>
or open_in_gen if you need more control iirc
<d_bot>
<jonpalmisc> nice, will take a further look later. thanks!
<Anarchos>
i have many execve : operation not allowed when using "dune exec" but i don't know if it is dune or my OS which behaves weird
<d_bot>
<jumpnbrownweasel> i don't know, but looking at `dune exec --help` i see a couple things you could add to try to get more info: `--debug-backtraces` and `--verbose`
<Anarchos>
jumpnbrownweasel : i got execve(/Data1/INFORMATIQUE/OCAML/lwt/_build/default/src/unix/config/discover.exe): Operation not allowed
<Anarchos>
execve is a syscall
<Anarchos>
strace says that the OS syscall returns same error
<d_bot>
<jumpnbrownweasel> sorry, i'm not much help
zebrag has joined #ocaml
<d_bot>
<jumpnbrownweasel> i'm sure you already checked that discover.exe has execute permission