Live data from Hacker News

Tvix – A New Implementation of Nix

tvix.dev

61–70 of 107 posts

Re: Tvix – A New Implementation of Nix

#61
post #35

Looks like the dev team mosly speaks Russian? (Russian is native for me, but I've lived most of my life stateside.) In Russian, "tvix" is pronounced, roughly, "tweaks" (but with a German - hard "v" - W sound), which to a Russian probably sounds super clever, given what Tvix is (Nix, tweaked). In English though, how is it pronounced? I'd like to propose "t-f-icks", because it at least sounds like a candy we think the…

I would pronounce it tee-vix, because of the stock ticker symbol TVIX[0] which was a leveraged volatility ETN and very popular in its day. a little too popular - credit suisse delisted it a couple months after the initial market crash brought on by the pandemic caused it to skyrocket

naming is hard :)

0. https://www.thestreet.com/etffocus/market-intelligence/rip-t...

Re: Tvix – A New Implementation of Nix

#62

By the way, is there some way to specify dependencies in C? Like requirements.txt in Python, where you put libraries names and versions and the user has to run a single command to install them (and without requiring root privileges)? Is this nix/tvix/guix an equivalent of pip?

Yes, write either a shell.nix or flake.nix file

https://nixos.wiki/wiki/Development_environment_with_nix-she...

Re: Tvix – A New Implementation of Nix

#64

By the way, is there some way to specify dependencies in C? Like requirements.txt in Python, where you put libraries names and versions and the user has to run a single command to install them (and without requiring root privileges)? Is this nix/tvix/guix an equivalent of pip?

It's possible, just beware that other-distro versions of Nix are pretty aggressive at patching themselves into your shell profiles, which is often undesirable.

Re: Tvix – A New Implementation of Nix

#65

There's no need for more fragmentation in this ecosystem. Already package managers are heavily fragmented in the Linux world. This is making a bad problem worse.

You know what, you are right. Going beyond just the fragmentation, there’s too much (Linux) cruft on top of (Unix) cruft on top of (POSIX) cruft. Complexity leading to diminishing returns in every effort to modernize the system. Unironically, let’s throw away all the historical cruft and build a new OS, with a Nix-like package manager, TheseusOS-like architecture and only 6 processes visible when I run htop after a clean install, all with clear descriptions: Services Manager (systemd), Display Manager, Desktop Environment, Connections (WiFi/Bluetooth) Manager, Audio Manager, Power Manager. A desktop OS that is intelligible by its user.

Re: Tvix – A New Implementation of Nix

#66
post #61
post #35

Looks like the dev team mosly speaks Russian? (Russian is native for me, but I've lived most of my life stateside.) In Russian, "tvix" is pronounced, roughly, "tweaks" (but with a German - hard "v" - W sound), which to a Russian probably sounds super clever, given what Tvix is (Nix, tweaked). In English though, how is it pronounced? I'd like to propose "t-f-icks", because it at least sounds like a candy we think the…

I would pronounce it tee-vix, because of the stock ticker symbol TVIX[0] which was a leveraged volatility ETN and very popular in its day. a little too popular - credit suisse delisted it a couple months after the initial market crash brought on by the pandemic caused it to skyrocket naming is hard :) 0. https://www.thestreet.com/etffocus/market-intelligence/rip-t...

"betwixt" => twix => tvix

(kindof like tuh-veeex run together)

...as the candy bar etymology in their logo implies.

Re: Tvix – A New Implementation of Nix

#67

Do you put the hash at the end of the dirname in the store? IIRC, Nix names things like "$unreadable_hash$pkg_name" which makes tab completion impossible in the case someone wants/needs to go spelunking in that directory.

It's my understanding that the ${hash}-${name} order is actually intended to help with tab completion, but from a different direction; if you already know the first couple chars of the hash, you can quickly tab-complete it, instead of using the less-unique name. I mean, I don't think that's the order I would have picked either, but there is logic behind it.

Re: Tvix – A New Implementation of Nix

#68
post #58

Is the language statically-typed? If not, why not?

Nix the language is untyped; I don't believe Tvix changes this, particularly since it has the goal of supporting all of Nixpkgs.

That’s a pity. IMO the lack of static typing is one of the biggest flaws of the language, and it persistently slows me down.

Re: Tvix – A New Implementation of Nix

#69
post #32

Earlier quoted context omitted.

Imagine if we had said the same about Nginx. Let's evaluate things on technical merits, specially if they are using open source licenses we understand. In this case GPL v3.

Yes, imagine if we had said the same about Nginx. Now let's imagine now that we're saying those things in 2024, during the first major land war in Europe since WWII, in a context where state actors, if they are not already Jianing Tan, have enormous motivation to do so. Now, let's put the risk at the root of the build system, and leave the lead devs in a country known to coerce, threaten, torture, poison and kill its…

I’m afraid these wars are going to kill open source.

Unfortunately… if that’s going to happen, I’d rather have it happen without first having huge security breaches.

Post reply on HN