Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SuperSandro2000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
SuperSandro2000
3y ago
It is not incredible fast and while it is running you can do something else like reading hackernews but there is definitely room for improvement and smart people are already thinking about that right now.
92.
▲
by
SuperSandro2000
3y ago
> Extremely complicated and hard to understand That is absolutely not true. If you start to get the hang of it and follow the way things are supposed to be done then things get easier over time. You need to invest upfront more time into
93.
▲
by
SuperSandro2000
3y ago
> The biggest barrier to adoption unfortunately is not people's inability to explain what the tool is in my opinion. That's simple: nix is a package manager and the language used by the package manager, NixOS is a Linux distro.
94.
▲
by
SuperSandro2000
3y ago
Let me interrupt that in the middle and undo some steps by hand and it will probably fall on its nose. Nix can handle interruption in the middle of all build steps and can cleanly recover from them.
95.
▲
by
SuperSandro2000
3y ago
well, yes true, but ansible sucks and especially for small and chaotic projects where people just change things on the machines without reflecting it in ansible it is a nightmare
96.
▲
by
SuperSandro2000
3y ago
I don't know of anything before nix comparable to it but I happily learn something new.
97.
▲
by
SuperSandro2000
3y ago
You can just copy a build nixos system to a server and activate it there.
98.
▲
by
SuperSandro2000
3y ago
> Which file? And where in the file do I add those lines? /etc/nixos/configuration.nix if you haven't structured your config differently. > And where in the file do I add those lines? Consult `man configuration.nix
99.
▲
by
SuperSandro2000
3y ago
> Nixpkg is a package manager *Nix
100.
▲
by
SuperSandro2000
3y ago
> Is it a package manager? Yes > A build system? No > An operating system? Thats NixOS > A container platform? nixpkgs has functions to build them > A sandbox? No > An automation tool? Yes and no > Which widely used, ex
101.
▲
by
SuperSandro2000
3y ago
> Is it fair to summize that python applications with python dependencies do not really work well as nix packages and shouldn't be used? No, applications that are properly maintained work as they should and this can be ensured with
102.
▲
by
SuperSandro2000
3y ago
> Elsewhere in this thread someone mentioned that there isn't a strict single version policy in nixpkgs, so this can probably be easily fixed. I'd suggest filing a bug in Nixpkgs. There isn't one but we are not collecting
103.
▲
by
SuperSandro2000
3y ago
> I just use imperative python-venv + pip install on those. The whole point of NixOS is to manage this and to get rid of those manual steps that are error prone.
104.
▲
by
SuperSandro2000
3y ago
> That's why some people say that managing dependencies in Python is difficult and move to statically compiled languages. Yes, completely agreeing with that.
105.
▲
by
SuperSandro2000
3y ago
> packaging for Debian. Not really, nix is way more flexible and more up to date and nix also often runs tests and different pythons cannot interfere with each other that easily. On a high level things are similar but the details are was
106.
▲
by
SuperSandro2000
3y ago
They don't need to use the same version of the Django package but Python dependency pins are often either way to tight and can easily be expanded or outright missing, so they often get ignored.
107.
▲
by
SuperSandro2000
3y ago
German is just saving some whitespace
108.
▲
by
SuperSandro2000
3y ago
So real wage decrease, CEO probably gets a few Million increase anyway
109.
▲
by
SuperSandro2000
3y ago
There will be ways to circumvent this and if I need to write one myself.
110.
▲
by
SuperSandro2000
4y ago
Part of the problem is also that ssh has host key rotation support but openssh client has it turned off by default
111.
▲
by
SuperSandro2000
4y ago
Not that I know of
112.
▲
by
SuperSandro2000
4y ago
And even if you don't use that, the build just fails early without consequences.
113.
▲
by
SuperSandro2000
4y ago
This can't happen with NixOS.
114.
▲
by
SuperSandro2000
4y ago
If you are for the people, you are always against the publishers.
115.
▲
by
SuperSandro2000
4y ago
NixOS maintainer here and I hate bazel through and through. I don't know any other build system that is more anti distro them bazel.
116.
▲
by
SuperSandro2000
4y ago
Only a 404, but still living fzf since forever.
117.
▲
by
SuperSandro2000
4y ago
See https://github.com/charliermarsh/ruff/issues/970 for a comparison between pylint and ruff
118.
▲
by
SuperSandro2000
4y ago
Blame apple for most of this.:) On Linux there are far few steps: - delete /nix - delete build users (could be removed in the future) - delete she'll script files in /etc/profile - delete systemd nix-daemon service - del
119.
▲
by
SuperSandro2000
4y ago
One if the bigger issues right now are mass rebuilds and content agreed derivations hopefully address that at least partly. Sadly there is not much work happening on them lately.
120.
▲
by
SuperSandro2000
4y ago
Nix should use similar values already by default but if you are regularly build heavy builds those settings are not good enough and need tweaking.
More ›