Readit News logoReadit News
sepositus commented on Why We're Moving on from Nix   blog.railway.com/p/introd... · Posted by u/mooreds
eddythompson80 · 6 months ago
> The industry is full of ineptitude though.

While I disagree with the person you're replying to, I find your reply dismissive.

I don't know the behind-the-scnene reasons for this, but I can very very easily apply a very similar situation to this from my experience.

Nix is a full blown functional programming language along with a very rich (and poorly documented, niche, only second to C++ template in error comprehensibility[1]) ecosystem in itself. It's not like "docker" or "kubernetes" where you're mostly dealing with "data" files like yaml, json or Dockerfile. You're dealing with a complex programming project.

With that in mind:

- You have a core team with 1 or 2 people with Nix passion/expertise.

- Those people do most of the heavy lifting in implementation.

- They onboarding the team on to Nix

- They evangelize Nix through the org/company

- They mod and answer all the "#nix-discussions" channel questions

Initially the system is fairly successful and everything is good. over the next 5-6 years it would accumulate a lot of feature asks. The original "Nix person" has long left. Most of the original people have moved either to other projects or not particularly that passionate about Nix. In fact, the "best" developer you have who has inherited the whole Nix thing has only really had to deal with all the shit parts of Nix and the system. They are they ones fixing issues, dealing with bugs, etc. All while maintaining 3 stacks, a Nix stack, a Go stack, and a Rust stack.

Eventually that person/team that's annoyed by maintaining the Nix project wins. They want to own that code. They don't want to use Nix any more. They know what's needed, they want to implement it as part of their main Go stack that they are actively working on. They can optimize things for their special case without having to worry about "implementing it the Nix way" or "doing it upstream".

They promise you (the management who is open to the idea, but trying to understand the ROI) feature parity + top 5 feature asks for the initial release. You trust the team enough to let them do what they think is best.

[1]: LLMs are really good at suggesting a solution given an error message. Nix errors bring them to their knees. It's always "Hmmm.... it appears that there is an error in your configuration... have you tried a `git revert`?"

sepositus · 6 months ago
Wow, this is literally the story of my team. Luckily there’s enough autonomy for us the escape the gravitational pull of the few remaining evangelists, but this is essentially what led us to this point.
sepositus commented on I think it's time to give Nix a chance   maych.in/blog/its-time-to... · Posted by u/pacmansyyu
exe34 · 7 months ago
> Welcome to the honeymoon phase. Mine lasted about a year

Mine has been going on since 2016, what am I doing wrong?

sepositus · 7 months ago
> they just don't try hard enough

The answer was in my post. Nix isn't for everyone, and that's OK.

sepositus commented on I think it's time to give Nix a chance   maych.in/blog/its-time-to... · Posted by u/pacmansyyu
atrus · 7 months ago
Why is it inevitable that you have to leave the comfortable area of "those who have done it before" though?

Most of the benefit of nix for me is maintaining a configuration for a couple computers in a way that's easy to backup, upgrade, and recover with.

sepositus · 7 months ago
For reference, I use Nix to manage three different machines, always via home-manager and nix-darwin (I left NixOS awhile ago and haven't looked back). I don't think it's "inevitable" that you'll hit the difficulty wall, but certainly likely.

As an example, I was recently playing with Pyinfra which is like a pure Python version of Ansible. It turns out that one of the dependencies uses an archaic version of setuptools and the package owner had inserted some _very_ hacky code that ended up breaking on two of my systems. Now I'm relatively experienced with Nix, so it took me a few hours to track down, but it would have been days if not impossible for a beginner.

Nowadays I package brew along with my machines and as soon as something smells funky in Nix I just manage it with brew. Much more peaceful.

sepositus commented on I think it's time to give Nix a chance   maych.in/blog/its-time-to... · Posted by u/pacmansyyu
krapht · 7 months ago
I tried to give Nix a chance but I never figured out how to package dependencies that didn't already have a derivation written for them.

Particularly since I do a lot of ML work - I never figured out how to handle mixed Python/C++ code with dependencies on CUDA.

It's just way easier, even if not reproducible, to build an environment imperatively in Docker.

sepositus · 7 months ago
The most common answer I've seen is that Python packaging just "doesn't do it right" so it's impossible to get a clean Nix experience with them. Which, to some degree is true, but it also reveals the opinionated nature of Nix and why it often falls flat.
sepositus commented on I think it's time to give Nix a chance   maych.in/blog/its-time-to... · Posted by u/pacmansyyu
urlwolf · 7 months ago
I moved to nix around Nov last year and couldn't be happier, the motto 'nix fixes that' is true. First time I can say linux is trouble free. Upgrades are painless. Dev environments, reproducible. Largest repository of packages in the linux world. Next to zero time wasted configuring things. Foundation LLMs now know enough nix to get you out of trouble most of the time. It's perfect as a linux experience.
sepositus · 7 months ago
Welcome to the honeymoon phase. Mine lasted about a year. Eventually you will have to leave the comfortable area of "those who have done it before" and engage with some long, unwieldy, mostly undecipherable stack trace.

When I asked a long-time Nix vet why he thinks people leave, he provided the most insightful answer I've seen yet: they just don't try hard enough.

sepositus commented on I have tinnitus. I don't recommend it   blog.greg.technology/2025... · Posted by u/gregsadetsky
plaidfuji · 7 months ago
I “got over” mine after many months of “tinnitus meditation” (there’s a short book on this written by a guy who has some crazy disease that causes extra-bad tinnitus). Basically, you meditate by purposefully focusing on your tinnitus. It starts to flip your brain’s response from one of fear to one of relaxation. Even within the first session, you’ll find that when you try to focus on the noise for as long as you can (use a timer and start with 5 mins), you eventually get distracted and think about something else, even if just for a moment. Then you realize that your brain isn’t “forced” to notice it - and the more you practice this, the better you’ll get at noticing it and gently pivoting your attention back to.. the rest of the world. The noise never goes away, your ability to ignore it just improves over time.

The book is a quick read and helpful: https://a.co/d/ckOzbSq

I no longer meditate as often, but when I do, it’s actually still quite effective. I now see it more as a “retreat” of sorts - I can just kind of dissociate and let the ringing take over. Reading this article brought it back, incidentally.. but I’m ok with it. Once you fully surrender to the noise, you can start to let go of it. It’s the mental resistance that makes it hard to deal with.

sepositus · 7 months ago
I've recently developed tinnitus within the last few months, so I'm still early in my researching. However, I've found a lot of people that discount this approach and swear it only makes things worse. That's why I've been hesitant to try it.

Do you think a lot of it has to do with having the right mindset?

sepositus commented on An upgraded dev experience in Google AI Studio   developers.googleblog.com... · Posted by u/meetpateltech
CuriouslyC · 7 months ago
I regularly put 50k LoC codebases in gemini, it has a 1M context window and actually uses it well.
sepositus · 7 months ago
I've had the opposite experience. If I give it that much context it starts to hallucinate parts of the application that it very much has access to look up. This only starts happening at large context windows.
sepositus commented on ChatGPT Helps Students Feign ADHD: An Analogue Study on AI-Assisted Coaching   link.springer.com/article... · Posted by u/paulpauper
sepositus · 7 months ago
I'm constantly having to fight for my child's ADHD meds (as in, they are never available at any pharmacies around me). It's been such a nightmare ever since they were diagnosed. To know people can go around faking it for, presumably, free access to Adderall is even more frustrating.
sepositus commented on Why I'm resigning from the National Science Foundation   time.com/7285045/resignin... · Posted by u/jbegley
vessenes · 7 months ago
Good read; too long to sway public opinion though.

The most convincing and interesting thing I’ve read about the US’s science standing is just a reminder that it wasn’t always considered a global science leader. A few people saw the opportunity created by Nazi ideological purges of scientists and built, among other things, Princeton’s IAS.

Considered most charitably, the current administration sees itself as trying to return to an era of imperialism for the good of the country. In this area I wonder how resilient and immobile the scientific community is to these stresses. If I were in charge of science in a wealthy country right now I would be working overtime to brain drain US researchers.

sepositus · 7 months ago
> If I were in charge of science in a wealthy country right now I would be working overtime to brain drain US researchers.

My perception (probably skewed by overly negative media) is that the US is leading a global trend (emphasis on leading). It feels like the world is too busy preparing for war or economic gloom than trying to poach scientists.

sepositus commented on High-school shop students attract skilled-trades job offers   wsj.com/lifestyle/careers... · Posted by u/lxm
gigatexal · 7 months ago
I love this. This is what we need more of. My only concern is who will challenge their thinking? Who will teach them critical thinking skills? Who will give them a broader more holistic understanding of the world if not at a university?

I fear we will get ( because we need them ) many thousands more skilled workers in the trades to build more again but they’ll also be too easily bamboozled by charlatans like Trump and vote in policies that will screw us all

sepositus · 7 months ago
> Who will give them a broader more holistic understanding of the world if not at a university?

I'm going to guess the kids that are inherently interested in this will research it themselves. The ones who are not, won't. I'm one of the former.

u/sepositus

KarmaCake day523February 4, 2025
About
Often present the minority view on HN (and pay the karma price).
View Original