Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 1y ago · link · parent

You want to keep both in the same place anyways. (Anybody who compromises authz can now compromise authn, and vice-versa.)

comment 1y ago · link · parent

> As long as they're salted hashes, they could be stored anywhere right?

Unless you're doing something exceedingly simple, you don't just have hashes, you have things like tokens, keys and authorization rules too.

comment 1y ago · link · parent

Correct.

You wouldn't store plaintext passwords in a database, right? For the same reasons you don't want to store keys, tokens or authorization rules either.

Imagine ssh-agent but distributed with eventual consensus. You don't even need transactions, the data model is simple enough that you can get away with eventually consistent CRDT's.

comment 1y ago · link · parent

Storing auth data in MySQL or Postgres is insane and defeats the purpose of trying to be secure.

Note to self: if I ever need a retirement project, open sourcing a properly architected auth solution would be it.

comment 1y ago · link · parent

Nix manages to be immutable without restarting everything from scratch.

The complaint isn't immutability, the complaint is that k8s does immutability is a broken, way too granular fashion.

comment 1y ago · link · parent

Here's how this can make sense:

1. OpenAI goes public. 2. Pay off the USA's debts with OpenAI stock. 3. Crash the bubble with no survivors. 4. Finally blockchain is useful.

comment 1y ago · link · parent

Akshually, watch the hands. He never talks about profits at all, only about "disruptions". No refunds.

comment 1y ago · link · parent

> But it rectified itself.

Or did it?

comment 1y ago · link · parent

> has hundreds of millions in income

By selling a dollar for ninety cents? This metric is meaningless.

comment 1y ago · link · parent

That's because when they say "long context window" they're lying and they actually mean that they support a long input prompt that is still compressed into a small context window. (Typically by throwing out tokens in the middle.)

An actually large context window is impossible due to how LLM attention works under the hood.

comment 1y ago · link · parent

Ah yes, our old friend - the sufficiently smart compiler.

comment 1y ago · link · parent

> have incredible commercial potential

That assertion is unsupported and unproven.

Also, if a commercial use for LLMs is ever found, it will be in the local, personal computing market, not the "cloud".

comment 1y ago · link · parent

It's ""simple"", so low-information, high-blogspam software developers have something to talk about instead of programming.

comment 1y ago · link · parent

Yeah, every single newbie programming language designer starts with a maximalist position of "exceptions are hard, just return an error code", and then end up inventing their own shitty, ad-hoc and malfeatured exception handling system.

I want off this ride.

comment 1y ago · link · parent

> Just to make sure they did it right

Let me guess: they didn't, and now there is a third-party "right" way to do it.

(We've been here before, many times.)

comment 1y ago · link · parent

> C/C++

No such thing. Also C++ has most of those features too.

comment 1y ago · link · parent

No, because alcohol sales are regulated.

iPhones are not, and in fact your child will eventually need a smartphone for legitimate reasons. Currently isn't not possible to buy a smartphone that can be used legitimately but doesn't come bundled with gambling and pornography.

comment 1y ago · link · parent

Haruspicy bros, we are so back.

comment 1y ago · link · parent

That name is only there for debugging purposes. It doesn't actually mean anything and you only ever need to look at it to debug some hoary failing build.

comment 1y ago · link · parent

It's done that way on purpose. Precisely so you don't try to use the paths semantically. The names literally mean nothing in this context.

comment 1y ago · link · parent

It has been rewritten a few times already. The "fixed output hash" is a dirty optimisation hack borne out of real-world needs and not a research idea.

comment 1y ago · link · parent

I'm just saying uv isn't "it", the packaging issue in Python isn't solved yet.

And yes, build dependencies is the big elephant of why Python packaging sucks.

comment 1y ago · link · parent

The grammar still describes JSON though, right?

comment 1y ago · link · parent

It certainly isn't. See here: https://github.com/astral-sh/uv/issues/5190

And here: https://pyproject-nix.github.io/uv2nix/FAQ.html#why-doesnt-u...

comment 1y ago · link · parent

I don't think anybody actually generates host keys by hand. It's always some sort of "automation" script in your OS or SSH implementation.

comment 1y ago · link · parent

Probably not. MITM pretty much never happens in the real world.

comment 1y ago · link · parent

> The progress

Progress towards what, exactly?

comment 1y ago · link · parent

> Why would that affect anything?

The Chinese will eventually find it easier to sell their Chinese ecosystem devices to the world instead of catering to Google and American three-letter agencies.

comment 1y ago · link · parent

Akshually 99% of malware with real world consequences comes preinstalled on your phone.

comment 1y ago · link · parent

> Abandoning Android for Linux is not viable for software developers who need to eat.

We'll finally get our ecosystem diversity back when the next geopolitical happening happens and Google bans Chinese android apps on bullshit pretexts.

Wait a few years more.

1
293031
135