Better HN
topnewbestaskshowjobs
Log inSign up

orf

18,324 karma · joined Oct 14, 2012 (14y ago) · 4,844 submissions

Submissions

comment 2d ago · link · parent

I don’t think that’s a good comparison. It’s to do with variable scoping, which is really quite core to reading and comprehending code.

-> just… isn’t. Acknowledging it’s a pointer with a different accessor is just not really that important. I mean, in some specific cases it might be, but in general it’s not.

Point in case: go?

comment 6d ago · link · parent

I bet they release some new models on the day of the IPO

comment 1w ago · link · parent

> no reason why there shouldn't be facilities for the ? operator to turn a None into an appropriate error type

There are facilities for this.

   option.ok_or(MyError::new())?

comment 1w ago · link · parent

> Please support FreeBSD, oh and btw I immediately ran headfirst into a kernel bug related to listing directories that I had to fix

This wouldn’t fill me with confidence if I was Zed.

comment 1w ago · link · parent

how does that work with >1 machine?

comment 2w ago · link · parent

> but it does not change the amount of bugs per line of code

> we only have evidence for memory bugs

which one is it? Or are you saying there is an increase in non-memory bugs in rust to compensate

comment 2w ago · link · parent

Why did “techsoft.ye” feel the need to reply with a lengthy LLM comment that contained nothing useful at all?

comment 2w ago · link · parent

> but it does not change the amount of bugs per line of code

You are really uninformed: different programming languages have very different volumes of bugs per line of code

comment 2w ago · link · parent

It’s pretty stupid to say that you publicly share a document, accessible to anyone, but that you hope that a single person will be able to access it.

If you sent that link through WhatsApp, they access it to generate a preview (and who knows what else?). Same for any number of other services.

iCloud, like all other file distribution services, make absolutely no distinction between publicly accessible and publicly distributed. Not should they. They are distributing it… publicly.

… because you made the file public.

comment 2w ago · link · parent

Sudoers glob expressions are a horrible footgun and I have little empathy for anyone complaining about their removal, especially when it’s trivial to fix with 3 extra (explicit) lines.

comment 3w ago · link · parent

That’s ridiculous.

comment 3w ago · link · parent

Someone made a good point on a previous comment like this: the main selling point is the public can’t destroy them

comment 3w ago · link · parent

> Instead, labor and computing power are being diverted toward a singular “frontier-model effort” led by Pieter Abbeel

Strange headline given that it seems they are actually just refocusing resources to train a frontier model?

comment 4w ago · link · parent

The language forum is the place to start- you should already have a thread there gathering feedback before writing a pep?

comment 4w ago · link · parent

anyone who has ever worked at a large non-technical company can tell you exactly where these requests came from

comment 1mo ago · link · parent

It wouldn’t be the most secure consumer phone then, would it?

comment 1mo ago · link · parent

It’s crap, sorry. It’s an inconsistent mess. Having come from iOS it’s as clear as night and day.

It doesn’t really matter to me if there’s some other specific version of Android that fixes some issues if I install it. As a user that’s not something I care about.

comment 1mo ago · link · parent

Having been given an android work phone, I can’t understand why anyone would use this willingly.

The desirable outcome for most people doesn’t seem to be the ability to run android on an iPhone, let’s put it that way.

comment 1mo ago · link · parent

So it indeed wasn’t the point then?

comment 1mo ago · link · parent

Could you point to the part where I said revocation as a principle is a bad idea? Rather than what I actually said, which was that untraceable random third parties revoking your keys without any involvement likely isn’t a good idea.

Also GitHub doesn’t revoke the keys. The providers of the key take provider-specific actions, which may or may not be revocation.

So… yeah.

comment 1mo ago · link · parent

I agree, but that wasn’t the point at all was it

comment 1mo ago · link · parent

Can you point me to where I said I had an alternative? Or any rules that say you can’t discuss an ideas flaws if you don’t immediately have an alternative?

The status quo is clearly the local minima, given the myriad of trade offs and different parties involved.

comment 1mo ago · link · parent

This is so stupid. It’s pretty simple: malicious actors will use it to do all of those, plus now they can unilaterally bring down a system via revocation.

Non-malicious actors using it to bring down a system via revocation are therefore indistinguishable from malicious actors. It’s by definition a malicious act.

That’s why it’s a stupid idea. Non-malicious actors should just contact the company and let them take action. It’s not for an outsider to decide the impact of a leak.

comment 1mo ago · link · parent

Credentials published on GitHub are not automatically revoked - what happens is at the discretion of the provider, for precisely this reason.

For example AWS applies a “quarantine” policy that prevents some specific actions[1].

Allowing anyone to report a potentially compromised key is one thing, but allowing anyone to unilaterally revoke a token is another.

1. https://docs.aws.amazon.com/aws-managed-policy/latest/refere...

comment 1mo ago · link · parent

Read the thread?

> I think every API key system should have endpoint "invalidate_api_key"

Not this.

comment 1mo ago · link · parent

Are you really unable to imagine a situation where financial or physical harm is caused by a system abruptly being shut down by a credential revocation, triggered by a random person on the internet?

Be serious.

comment 1mo ago · link · parent

And the whitehack hackers finding keys should do what, exactly?

Unilaterally decide they should be revoked, without contacting the owner?

And that’s not malicious?

comment 1mo ago · link · parent

Think that through - the person who stole the key has the decision to use it or revoke it through this hypothetical system.

If they are acting maliciously, they will take the choice that most hurts you and/or benefits them.

If the key is useless to them and revoking it hurts you, then they would do that.

If the key wasn’t useless to them, then… they would just use it and not revoke it?

comment 1mo ago · link · parent

How does that make any sense?

comment 1mo ago · link · parent

Of course it is? A key for some weather API getting leaked isn’t the end of the world, but having it revoked and breaking your weather app is.
12345
162