Readit News logoReadit News
nesarkvechnep commented on Linux From Scratch ends SysVinit support   lists.linuxfromscratch.or... · Posted by u/cf100clunk
ptx · 7 days ago
> the thing you were running was generally expected to do the double-fork hack itself and otherwise do 'well behaved daemon' things

FreeBSD has a general utility that does this for you, daemon(8): https://man.freebsd.org/cgi/man.cgi?query=daemon&sektion=8

nesarkvechnep · 7 days ago
I also use it every time I need a service which should be restarted on crash. It's a very handy utility.
nesarkvechnep commented on Zig Libc   ziglang.org/devlog/2026/#... · Posted by u/ingve
nesarkvechnep · 8 days ago
"Furthermore, when this work is combined with the recent std.Io changes, there is potential for users to seamlessly control how libc performs I/O - for example forcing all calls to read and write to participate in an io_uring event loop"

This is exciting! I particularly care more about kqueue but I guess the quote applies to it too.

nesarkvechnep commented on My fast zero-allocation webserver using OxCaml   anil.recoil.org/notes/oxc... · Posted by u/noelwelsh
pkal · 8 days ago
I recently realized that "pure functional" has two meanings, one is no side-effects (functional programmers, especially of languages like Haskell use it this way) and the other is that it doesn't have imperative fragments (the jump ISWIM to SASL dropped the non-functional parts inherited from ALGOL 60). A question seems to be whether you want to view sequencing as syntax sugar for lambda expressions or not?
nesarkvechnep · 8 days ago
Pure functional doesn't mean no side effects but controlled side effects.
nesarkvechnep commented on FOSDEM 2026 – Open-Source Conference in Brussels – Day#1 Recap   gyptazy.com/blog/fosdem-2... · Posted by u/yannick2k
throw567643u8 · 9 days ago
I watched at home and drank Belgian beer in the afternoon.
nesarkvechnep · 9 days ago
I hope you didn't get a hangover. They have great tasting beers but put too much sugar in them.
nesarkvechnep commented on The browser is the sandbox   aifoc.us/the-browser-is-t... · Posted by u/enos_feedler
nextaccountic · 15 days ago
Unix permissions were written at a time where the (multi user) system was protecting itself from the user. Every program ran at the same privileges of the user, because it wasn't a security consideration that maybe the program doesn't do what the user thinks it does. That's why in the list of classic Unix tools there is nothing to sandbox programs or anything like that, it was a non issue

And today this is.. not sufficient. What we require today is to run software protected from each other. For quite some time I tried to use Unix permissions for this (one user per application I run), but it's totally unworkable. You need a capabilities model, not an user permission model

Anyway I already linked this elsewhere in this thread but in this comment it's a better fit https://xkcd.com/1200/

nesarkvechnep · 15 days ago
There's FreeBSD's Capsicum. It's a full-blown sandboxing mode and capability framework. Unfortunately, Linux didn't adopt it and chose chaos.
nesarkvechnep commented on Booting from a vinyl record (2020)   boginjr.com/it/sw/dev/vin... · Posted by u/yesturi
lucideer · 18 days ago
One of the most "real" features of vinyl records that I never really internalised until I started buying a few is that you can take a record out of its sleeve & look at the grooves to see how many tracks is on each side & how long each of the tracks is. You can also "skip" to tracks when playing (much better than tapes ever could) using this same method.
nesarkvechnep · 18 days ago
Early Hip Hop DJs used this exact property to go straight to the drum break and not waste time waiting for it.
nesarkvechnep commented on The Gleam Programming Language   gleam.run/... · Posted by u/Alupis
krainboltgreene · a month ago
IMHO this is an education problem.
nesarkvechnep · a month ago
Problem which plagues 90% of the people? How to overcome it?
nesarkvechnep commented on The Gleam Programming Language   gleam.run/... · Posted by u/Alupis
pkos98 · a month ago
Well, for the specific example I gave (JSON serialization), you certainly do care whether Jason.Encoder is implemented for a struct.
nesarkvechnep · a month ago
Yes, I just ranted, sorry. I share your view about Gleam.
nesarkvechnep commented on The Gleam Programming Language   gleam.run/... · Posted by u/Alupis
pkos98 · a month ago
Coming from Elixir, I gave Gleam a try for a couple of days over the holidays. Reasons I decided not to pursue:

- No ad-hoc polymorphism (apart from function overloading IIRC) means no standard way of defining how things work. There are not many conventions yet in place so you won’t know if your library supports eg JSON deserialization for its types

- Coupled with a lack of macros, this means you have to implement even most basic functionality like JSON (de)serialization yourself - even for stdlib and most popular libs’ structs

- When looking on how to access the file system, I learned the stdlib does not provide fs access as the API couldn’t be shared between the JS and Erlang targets. The most popular fs package for erlang target didn’t look of high quality at all. Something so basic and important.

- This made me realise that in contrast to elixir which not only runs on the BEAM („Erlang“) but also runs with seamless Erlang interop, Gleam doesn’t have access to most of the Erlang / Elixir ecosystem out of the box.

There are many things I liked, like the algebraic data types, the Result and Option types, pattern matching with destructuring. Which made me realize what I really want is Rust. My ways lead to Rust, I guess.

nesarkvechnep · a month ago
I’ve been doing Elixir for 9 years, 5 professionally. Nobody cares about ad-hoc polymorphism. The community doesn’t use protocols except “for data”. Whatever that means. Global singleton processes everywhere. I’m really discouraged by the practices I observe but it’s the most enjoyable language for me still.
nesarkvechnep commented on The Emacs Widget Library: A Critique and Case Study   d12frosted.io/posts/2025-... · Posted by u/whacked_new
nesarkvechnep · a month ago
Argh, a few screenshots would’ve been nice. There’s none to be found in vui.el’s repository.

u/nesarkvechnep

KarmaCake day783December 24, 2019View Original