I agree. Having children does make ones priorities very cut and dry. I found it a lot easier to "adult" once I had children. My Friends, at the time often asked, "Is having children hard?" I often replied, in the beginning at least, "Children are easy, it's everything else that is hard."
Indeed, it is society's expectations that are hard.
I moved to the middle of nowhere after my kids were born. One day I let my child walk home "alone" from school, for the portion that is on our own property, and of course as soon as you do that a fucking Karen will randomly pop out of nowhere, and start interrogating the child. It is like clockwork. You could be 100 miles from civilization and as soon as you do something someone somewhere disagrees with, a fucking Karen (and even in a minivan, down rugged rural dirt roads, how the fuck did she get there?) will magically be there that exact second with a cell phone at the ready to call CPS. Thankfully I was able to stop her before that happened, as I was actually watching from behind the bushes, which in itself is shameful but saved my ass.
I've been using Alpha(as my main driver!) for a year now, there's been a few hiccups here and there but its been very good. I prefer this to Gnome.
It's my main driver for software development, it was initially a dual boot system with windows, but I found that I could use Steam with very little configuration and could do all my gaming in linux(Cosmic DE/PopOS, I have a Nvidia GPU) as well. Works out of the box with Bigwig Studio and my Soundcard (Ultralite mk5)
I use a mix of the Cosmic store and nix for packages and programs.
I don't need to use windows ever again for anything and it makes me very happy.
I live a 20 minute walk away. I never tire of looking at it. When friends come to visit I usually skip the touristy stuff but I will always accompany them to go see the Sagrada Família.
Yup I have no particular interest in the topic but I have always enjoyed history, archaeology and the study of philosophy/religion so a lot of what he talks about intersects with things I enjoy so I watch.
Why C instead of Rust or Zig? Rustler and Zigler exist.
I feel like a Vibecoded NIF in C is the absolute last thing I would want to expose the BEAM to.
Given the amount of issues the code had when I ran splint on the C file, I agree. The question was for me whether I can get something working to get over the "speed bump" of lacking such a function for the API client I'm writing.
I'm now re-vibe-coding it into Rust with the same process, but also using Grok 4 to get better results. It now builds and passes the tests on Elixir 1.14 to 1.18 on macOS and Ubuntu, but I'm still trying to get Grok 3 and 4 to fix the Windows-specific parts of the Rust code.
because the author self admitted they don't know C! One of the reason why people use the Beam VM is because its robust and fault tolerant.
a lot of the choice here are made at the expense of VM's health.
also why wouldn't anyone just use :disksup.get_disk_info/1. (Thats immediate)
calling :disksup.get_disk_info/1 won’t mess with the scheduler in the way a custom NIF or a big blocking port might.
I see the above code/lib and just see reflags all over the place.
The post explains why I don't want to use disksup. You have to start an extra application (os_mon) and configure disksup to update the starts more frequently than the default of every 30 minutes.
Do we really need to do all that instead of the equivalent of a df?
Agree about the C code, which is why the latest version (on GitHub, the HEAD, not yet released in Hex.pm) is now using Rust and Rustler.
:disksup.get_disk_info/1 (from :os_mon) just calls into the underlying OS once, grabs the info, and returns it. It’s not a blocking “long-running monitor” the way a NIF doing I/O in a scheduler thread would be.
https://www.erlang.org/docs/26/man/disksup#get_disk_info-1