C For C's Sake

Results 200 comments of C For C's Sake

Some notes / wished inspired by a conversation with @mato on how Solo5 deals with this problem. I would really love if there could be a general solution for the...

1) FWIW this is what I use: https://github.com/cfcs/ocaml-cs/blob/master/lib/cs.mli I have come to like the `R` and `W` modules more and more, and the pretty-printer for `R` has come in handy...

Not sure if this is a good place to bring this up, but for the non-ocaml-heap-allocated (bigarray-style) allocations it would also be cool to be able to specify that the...

It helped me find, and eventually, after a good long pause, fix this bug: https://github.com/cfcs/ocaml-punycode/issues/1

Load key into ssh-agent from stdin: ``` # -c Indicates that added identities should be subject to confirmation # before being used for authentication. Confirmation is performed # by the...

@MagnusS you're probably better off using `setcap` (to allow binds on low ports) on the binary and dropping the capability than you are running it as root and trying to...

I think this sounds like a hack. Your application will still need to keep a sequence of the `nonce` in order to be able to correctly reassemble. Alternatively you could...

That sounds very sensible! Do you have any suggestions regarding where it might make sense to patch this in? - [mirage_impl_random.ml](https://github.com/mirage/mirage/blob/master/lib/mirage_impl_random.ml#L43) / [mirage_impl_qubesdb](https://github.com/mirage/mirage/blob/master/lib/mirage_impl_qubesdb.ml) - seems to me that we face...

The entry is there to seed the CSPRNG of VMs at early boot before they have been able to collect their own entropy. The equivalent in Linux is `/var/lib/systemd/random-seed` (maintained...

I just ran into this problem. I think doing atomic writes of files (writing, fsyncing, then swapping the files) would make sense and avoid a lot of problems with low...