Readit News logoReadit News
vilunov commented on Bazzite: Operating System for Linux gaming   bazzite.gg/... · Posted by u/doener
Aardwolf · 3 months ago
It says on the main page: "The operating system for the next generation of gamers"

The one fault perhaps is saying "operating system" when it's a distro. Linux is the operating system

vilunov · 3 months ago
Linux is a kernel, it doesn't have a stable and rich enough set of userspace services to be considered an operating system on its own.
vilunov commented on We chose OCaml to write Stategraph   stategraph.dev/blog/why-w... · Posted by u/lawnchair
pshirshov · 4 months ago
All the points in the post are equally applicable to Scala too, so yes, why OCaml?
vilunov · 4 months ago
Scala 2 is a dying language, and Scala 3 is an immature one. The ecosystem and community are also very messy, with fragmentation and witch hunts running rampant. OCaml provides same advantages, but without all the drama.
vilunov commented on Effect Systems vs. Print Debugging: A Pragmatic Solution   blog.flix.dev/blog/effect... · Posted by u/degurechaff
svieira · 6 months ago
I wonder if this will wind up being a category of problems and the solution is a separate "system" set of effects (effectively `({user}, {system})`) or if this one-off extension is all that will be needed.

Either way, extremely well explained both in motivate and implementation!

vilunov · 6 months ago
> I wonder if this will wind up being a category of problems and the solution is a separate "system" set of effects (effectively `({user}, {system})`) or if this one-off extension is all that will be needed.

It already is, kinda. In my practice very often you have global singleton values that are either defined as static variables, or passed as arguments to nearly all functions in a module. Since implicit presence of `Debug` effect is already a compilation parameter, it could be generalized to support any sets of implicit effects. Thus you might design a module that has implicit Logger and Database effects in all its functions.

vilunov commented on Closing the Nix gap: From environments to packaged applications for rust   devenv.sh/blog/2025/08/22... · Posted by u/domenkozar
chpatrick · 7 months ago
Does Steam let you control the whole dependency tree of your software, including modifying any part of it and rebuilding from source as necessary, or pushing it to a whole other machine?

Real life software is much more than just downloading a game and running it.

vilunov · 7 months ago
> Real life software is much more than just downloading a game and running it.

Real life software outside of Linux is pretty much just downloading and running it. Only in Linux we don't have a single stable OS ABI, forcing us to find the correct package for our specific distro, or to package the software ourselves.

vilunov commented on The issue of anti-cheat on Linux (2024)   tulach.cc/the-issue-of-an... · Posted by u/todsacerdoti
throwaway01934 · 7 months ago
> User mode software can spy on your clipboard, surreptitiously take screenshots, and take data out of your system

Not on any properly secured Linux machine. But yes, it's generally a bad idea to install software you don't trust, a category that anticheats slot nicely into, given their resistantance to auditing and analysis.

vilunov · 7 months ago
A properly secured Linux machine is a unicorn. The Linux desktop ecosystem is struggling a lot with putting software in namespaces. People still install software with their package managers outside Flatpak, there is no isolation of data, not to say many workflows depend on the whole user directory being available to access.
vilunov commented on Using Rust Back End to Serve an SPA   nguyenhuythanh.com/posts/... · Posted by u/thanhnguyen2187
thanhnguyen2187 · 9 months ago
I think there is Dioxus and Leptos if you want full-Rust solutions for SPAs. You're right that CDN is another thing that I forgot considering, too. Can you elaborate more on "coupling deployment of both BE and FE with no resource optimization"
vilunov · 9 months ago
Usually FE and BE are developed by different people or even teams. It's helpful to decouple release cycles of both components, or else a bug on one component could block deployment of a different component. It's important not to decouple deployments of two components when doing so would save up significant resources, but here decoupling could be achieved by deploying a separate nginx server with static files – this is incredibly cheap, as there is very little static overhead, and performance is comparable.
vilunov commented on Using Rust Back End to Serve an SPA   nguyenhuythanh.com/posts/... · Posted by u/thanhnguyen2187
vilunov · 9 months ago
Are there any approaches which implement server-side rendered SPAs with Rust? In that case Rust would render the HTML for the first load and server JSON APIs for changes in the SPA. Rendering the HTML is performance-intensive in my experience, using Rust could save up quite some computational resources.

Just serving static files from Rust is not that interesting. It definitely does not sound easier to me, since you are coupling deployment of both BE and FE with no resource optimization to get. Also, since built SPAs are essentially static files, their deployment could be just uploading these files to your CDN.

vilunov commented on Buildroot   buildroot.org/... · Posted by u/jakogut
lrvick · a year ago
For those that want to see full source bootstrapped, deterministic, and container native alternative to buildroot check out https://codeberg.org/stagex

Can make a bootable OS with just a containerfile, for example:

https://git.distrust.co/public/airgap/src/branch/main/Contai...

https://git.distrust.co/public/enclaveos/src/branch/master/C...

vilunov · a year ago
This is beautiful. Deterministic, bootstrapped, and doesn't break the established Linux conventions! Shame it's musl-only, I would love to use something like that to build glibc-based apps for future redistribution as proper Linux binaries.
vilunov commented on Ask HN: What's the "best" book you've ever read?    · Posted by u/simonebrunozzi
tmtvl · a year ago
'Bashō, dichter zonder dak' with the subtitle 'Haiku en poëtische reisverhalen' by professor Willy Vande Walle, a Belgian Japanologist. It's a translation of Basho's travel diaries with a lot of contextual information, kind of like Martin Gardner's 'The Annotated Alice', if you've read that one. It's an amazing intellectual tour de force by one of the foremost experts in his field, and it helps that the original works are of very high quality of well.

Unfortunately I don't know if there's an English equivalent, and considering how awful of a language Dutch is to learn it may be easier to learn Japanese, read the originals, and look up all the references yourself.

vilunov · a year ago
> how awful of a language Dutch is to learn

Curious, why do you think so? As a Russian I found Dutch to be much easier to learn than Japanese, and English knowledge helps. The largest problem by far is Dutch speakers falling back to English almost always.

vilunov commented on Why and how we’re migrating many of our servers from Linux to the BSDs   it-notes.dragas.net/2024/... · Posted by u/msangi
kev009 · a year ago
I've helped build two top 10 service provider networks (10s of Tbps). One on FreeBSD, and one on Linux with Kubernetes.

I don't really see Kubernetes as being a game changer. The biggest pro, it makes it easier to onboard both development and operations personnel having a quasi-standard for how a lot of things like scheduling and application networking work.

But it also seems to come with a magnitude of accidental and ornamental complexity. I would imply the same about microservices versus, say, figuring out your repository, language, and deployment pipelines to provide a smooth developer and operator experience. Too much of this industry is fashion and navel gazing instead of thinking about the core problems and standing behind a methodology that works for the business. Unless google moves its own infrastructure to Kubernetes, then maybe there's something to be had that couldn't reasonably be done otherwise :)

vilunov · a year ago
Kubernetes is absolutely not an accidental complexity. Microservices are not an accidental complexity, and they are not a replacement for a proper repository.

Kubernetes solves administration of a cluster of Linux machines, as opposed to administering a single Linux machine. It abstracts away the concept of a machine, because it automates application scheduling, scaling across different machines, rolling updates of applications, adding/removing machines to the cluster all at the same time. There are no instruments like that for applications, the closest to them are something like Spark and Hadoop for data engineering tasks (not general applications).

Microservices are also used to solve a very specific problem – independent deployments of parts of the system. You can dance with your repository and your code directories as much as you want, if you're not in a very specific runtime (e.g. BEAM VM), you will not achieve independent deployments of parts of your service. The ability to "scale independently" (which tbh is mostly bullshit) is an accidental consequence of using HTTP RPC for microservice communication, which is also not the only way, but it allows reuse of the HTTP ecosystem.

u/vilunov

KarmaCake day310August 1, 2019View Original