Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,224 karma · joined Jun 14, 2019 (7y ago) · 4,047 submissions

Submissions

comment 2y ago · link · parent

Currently you have to do `sudo systemd-run --shell` if you want a root shell from a regular user's account.

comment 2y ago · link · parent

'systemd-run except with privilege escalation' is a thing I wished for for a long time, needed in production.

Glad they finally made it, too bad it took them so long. (To be honest, it feels like it should have just been part of systemd-run in the first place.)

comment 2y ago · link · parent

Ansible tries to be declarative and idempotent, but fails at being both.

comment 2y ago · link · parent

Realistically, you only need logs to debug crashes. (Segv's and null pointer violations and such.)

Anything else will quickly get turned into a metric stream anyways.

comment 2y ago · link · parent

> ...are going to be interpreted as a bunch of left-wing people taking over the project

Yeah, it's a bunch of left-wing malcontents trying to take over a project.

Anyways, Nix is very much decentralized as far as open-source projects go.

comment 2y ago · link · parent

`make` does dependency resolution. That's its original job, by the way, and calling out the dependency resolution steps to bash was the original intention.

comment 2y ago · link · parent

> C/C++

is not something that exists in the real world.

comment 2y ago · link · parent

OCI is not an attempt for a useful, general-purpose, open containerization standard.

It is an attempt at an open-source "just good enough" Docker clone.

You understand the difference?

comment 2y ago · link · parent

Rust is a language made and used by Dunning-Kruger people who violently react to having to learn the prior art.

What did you really expect?

comment 2y ago · link · parent

Does the US have a legal definition of what exactly constitutes "personal data"?

comment 2y ago · link · parent

I know full well what OCI is. (Hint: it's a transparent attempt to be a NOT-docker and avoid infringing on whatever Docker Inc.'s latest monetization scheme is.)

Using this for what Nix is doing is absolute madness. Docker is madness in general, but dragging it into Nix's core is madness cubed.

comment 2y ago · link · parent

No, I don't want "dollar store Docker" either.

comment 2y ago · link · parent

Cool, now do Israel.

comment 2y ago · link · parent

> A builder implementation using OCI instead of custom sandboxing code.

A complete non-starter, never in a thousand years am I gonna use something that requires a Docker installation for building derivations.

comment 2y ago · link · parent

What a stupid article.

comment 2y ago · link · parent

Sorry, not dedicating a whole CPU core for your shitty React app.

comment 2y ago · link · parent

> is switching address spaces at the same time going to kill you?

The answer is "yes".

I won't stop you, if you want to make React even slower, be my guest. I want off this ride.

comment 2y ago · link · parent

80% of the effort and cost of a GPU is various bullshit related to rendering DirectX games on Windows.

comment 2y ago · link · parent

Using GPUs for neural network inference is inefficient and makes no sense, unless there's some hype bubble propping it all up.

Maybe sometime in the future a commodity manufacturer of massively parallel CPUs for stupidly parallel tasks appears, but Nvidia ain't it.

comment 2y ago · link · parent

> but the infrastructure will survive

What infrastructure? Massively inefficient corporate rent-seeking attempts aren't infrastructure.

There is no AI "Linux" in 2024, all AI tools are closed-source and proprietary.

comment 2y ago · link · parent

Chatbots isn't "robotics".

comment 2y ago · link · parent

> Robotics is going to be big.

You mean "sexbots"? Too niche and expensive. For industrial automation you don't need "AI".

> Companies are firing customer service people.

They don't need "AI" to do this.

comment 2y ago · link · parent

> we're building an enormous parallel computing infrastructure that's going to revolutionize scientific computing

We're doing an absolute shit job of it and basing our foundations on piles of sand. We're gonna have to throw it all away and do it right the second time if we ever decide to do something useful.

comment 2y ago · link · parent

Is he wrong though? (Never read him, but now I suddenly want to.)

comment 2y ago · link · parent

> ...of how long dozens or hundreds of millions of years are.

"Hundreds of millions" is less than 30 bits of information. That's a miniscule, infinitesimal amount compared to what we're typically used to dealing with. (If you choose a random number every year, that's less that 1 gigabyte of numbers, not enough for a 30 minutes of an HD Marvel blockbuster.)

comment 2y ago · link · parent

JSON is not a language, it's a data representation. Nix data is equivalent to JSON, except Nix also has a "path" datatype.

comment 2y ago · link · parent

Nix-the-language is isomorphic to JSON, which makes a lot more sense than clinging to some outdated 1970's legacy.

comment 2y ago · link · parent

It's not really a programming language. It's a lot like JSON except with lambda functions and variables. Compared to the "template yaml" monstrosity gifted to us by the pointy-haired corporations, the Nix language makes a thousand times more sense.

comment 2y ago · link · parent

I mostly agree with this sentiment, but please let's not pretend like we're doing it because we care about "security", and not just because we don't like some of C's 1970's legacy crap.

comment 2y ago · link · parent

> Typically you have at least two build modes, debug and release.

Legacy cargo-cult holdover from the 1980's. No real reason for it today.

> also a program without optimizations behaves the same as with optimizations

Not when you want to debug it.

1
616263
135