<discocaml>
<qexat> it's rather painful that OCaml's pre-commit hooks use `language: system` (which is bad practice), someone or myself need to add first-class support to the framework 😭
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
<discocaml>
<._null._> What are you talking about ?
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
<discocaml>
<qexat> do you know pre-commit
<discocaml>
<._null._> Git hooks, yes, but nothing specific to OCaml
<discocaml>
<JM> If you are talking about the python tool, there is no official ocaml config.
<discocaml>
<contificate> be the change you want to see and all that
<discocaml>
<._null._> Thank you, I didn't know about that
<discocaml>
<qexat> yeah
<discocaml>
<qexat> that's precisely my point
<discocaml>
<yawaramin> i didn't even know there was a pre-commit config for OCaml. thtere's no exhaustive centralized listing–anyone can make their own–so i doubt it's even possible to know all of them
<discocaml>
<contificate> need to start my own high frequency trading firm using OCaml
<discocaml>
<yawaramin> it's not in the 'Supported Hooks' page
<discocaml>
<contificate> so I can come in here like "oh, just like X?" where X is our proprietary in-house secretive version of pre-commit
<discocaml>
<contificate> never released
<discocaml>
<yawaramin> as an aside, pre-commit imho shouldn't have anything other than scanning for accidentally-committed secrets
<discocaml>
<qexat> yes, that's why the most popular hook for ocamlformat uses `language: system` (in place of the nonexistent `language: ocaml`)
<discocaml>
<yawaramin> pre-commit supports a small selection of languages, so it's not super surprising they don't support OCaml. i don't even see JavaScript in the 'Supported Languages' list
<discocaml>
<qexat> it's under `node` I believe
<discocaml>
<qexat> one could argue that "language" is a misnomer (there is both conda and python)
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
<discocaml>
<JM> But that's a random person on the internet sharing their config.
<discocaml>
<JM> If you don't like it why not make your own ?
Frostillicus has joined #ocaml
<discocaml>
<qexat> literally why I said "someone ***or myself***"
<discocaml>
<yawaramin> i know this is a bit nit-picky, but it was confusing to read 'OCaml's pre-commit hooks do XYZ', it would have been clearer if it was 'the pre-commit tool's OCaml config' does XYZ'
<discocaml>
<qexat> well the former is more accurate 🤷
<discocaml>
<myrlhex> What does `default` mean in `_build/default`?
<discocaml>
<yawaramin> the latter is actually more accurate. the former implies that this is something made by the OCaml project
<discocaml>
<shalokshalom> I was specifically interested in providing a C API compatible library, and that's not very doable without compiling to C 🤷🏻♂️
Frostillicus has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
Frostillicus has quit [Remote host closed the connection]
Frostillicus has joined #ocaml
Serpent7776 has joined #ocaml
Frostillicus has quit [Ping timeout: 245 seconds]
<discocaml>
<coolccat> Anyone worked with oxcaml? Does it allow for allocating tuples/records in a bump allocator/ memory arena? I've only read into stack allocation and unboxed types so far.
Frostillicus has joined #ocaml
myrkraverk has quit [Ping timeout: 244 seconds]
<discocaml>
<yawaramin> see also #oxcaml
phaebz has quit [Server closed connection]
phaebz has joined #ocaml
Frostillicus has quit [Ping timeout: 258 seconds]
Frostillicus has joined #ocaml
humasect has joined #ocaml
chrisz has quit [Server closed connection]
chrisz has joined #ocaml
nemin has quit [Quit: nemin]
Frostillicus has quit [Remote host closed the connection]