Better HN
topnewbestaskshowjobs
Log inSign up

zygentoma

282 karma · joined Nov 14, 2023 (3y ago) · 89 submissions

Submissions

comment 1w ago · link · parent

But your browser is running as your own user, which can read everything you can, and if an RCE is found in Ladybird, it IS an arbitrary binary.

comment 1w ago · link · parent

It's not the credentials that's the problem. It's visiting untrusted website that could compromise your browser and / or your whole OS.

And untrusted websites is basically the whole web.

If you're only visiting trusted sites (and that probably means only sites written by yourself), sending credentials should not be the problem here.

comment 2w ago · link · parent

This "article" is just direct LLM output ... Not even from a prompt like "write an article"

4.

Ubuntu: Canonical Extends Long-Term Support for CVE-2026-98432 Through 2036(bloatberg.com ↗)

2 points · by zygentoma · 4w ago · 1 comment

comment 1mo ago · link · parent

Code does not need to be reviewed to be secure. [^]

It needs to be designed to be secure.

[^] of course I'm hyperbolic here, it does still need to be reviewed – I just mean, review doesn't matter as much as choosing a secure design, where certain bugs just can not or will not happen.

comment 1mo ago · link · parent

I think this would be the better link for this

comment 2mo ago · link · parent

> And so if you don't trust the server that is hosted on or the security of the transport mechanism like TLS/SSL, such that the content may be manipulated by adversaries, you think that git hashes are good enough?

How does this matter? When I have a machine that I trust and a git hash that I trust, I don't need to rely on the transport mechanism. As long as the content cannot be forged to match the hash, the transport is completely irrelevant.

comment 2mo ago · link · parent

Git was maybe never intended to be used as an integrity check, but SHA hashes definitely were and are.

And if git provides a cryptographic hash over the content, I don't see why it shouldn't be used to verify the integrity of the checked-out content.

comment 2mo ago · link · parent

And what do these cryptographic signing algorithms do? They sign a cryptographic hash of the data … Which the SHA-family of hashes are.

comment 2mo ago · link · parent

Sorry, no.

When I check out code from a git repository in a pipeline using a git hash, I expect the code to be exactly what has been reviewed by me under that hash.

Everything else would just be a crazy invitation to make supply chain attacks uncircumventable.

comment 2mo ago · link · parent

I believe it's a reference to the hitchhikers guide to the galaxy – where the plans to remove the protagonists building to build a bypass road was hidden in this way.

comment 2mo ago · link · parent

This also seems to happen for 16 and 32 bit numbers, so you should be able to see zeros easily.

They also write:

> Running the same programs on an Intel processor, and the 0's are there with no problem.

comment 2mo ago · link · parent

Radiation pressure! There is so much heat (= photons) radiating outwards, that it counteracts the gravitational pull.

comment 2mo ago · link · parent

It's not really like you're 5, but the third sentence of the introduction makes it really understandable:

> The problem’s definition is simple: There are k servers located at points of a metric space. At each time step, a request arrives at a point of the metric space. An online algorithm must serve the request immediately by moving a server to the requested location, without knowledge of future requests. The goal is to minimize the total distance traveled by servers.

So metric space is anything where you can measure a distance, so you know the distances between all servers and the distance from the request to all servers. Could be direct distance, could be travel time …

Easiest to just imagine just some (eg. n=5) servers on a plane. A request pops up somewhere on the plane. Which server do you move there, such that the total distance moved by servers is as low as possible in the end after a sequence of requests.

comment 3mo ago · link · parent

This is the way!

I have some websites (like https://correcthorse.org) that need the users full trust and thus rely on minimal unobfuscated JS so that you can easily verify all the code that gets run by looking at the source and the approximate 10 or 20 lines of clear JS.

comment 3mo ago · link · parent

Well, any natural number is unimaginably small, compared to ω …

comment 4mo ago · link · parent

Shouldn't a fixed additional amount also care for inflation based price increases indefinitely?

(Maybe not if the inflation greater or equal the interest rate … though I did not do my math here.)

comment 5mo ago · link · parent

"Innocent until proven guilty" concerns whether someone did a crime, not whether something is a crime.

An action can clearly be a crime, but it might be unclear if you did that action.

comment 5mo ago · link · parent

Would be nice if you could get an exact clone of a yubikey, so you always have a spare in case you lose one.

Though I think there is also the option that sites can store some sort of identifier on the key, then this would not work:/

comment 5mo ago · link · parent

> It's like all those campaigns trying to steer behavior, pretty useless. Don't do drugs. Don't speed. Don't drink and drive.

They're not useless. They just don't work on the individual level but on the collective. It's a numbers game …

comment 5mo ago · link · parent

What does that even mean? :D

Wouldn't this be true about any organ?

comment 7mo ago · link · parent

Not parent but:

Prefix delegation is completely broken for example

I had to switch to OpenWRT on my Ubiquity gear to have something that works (which on the other hand is also easier to configure, so I'm probably going to stay there).

comment 7mo ago · link · parent

I'm currently working on a small tool that helps me setup new personal computers in a purely descriptive way.

A little bit like ansible, but then totally not like ansible.

It generates SSH-Keys. It clones repositories, installs uv and rust. It removes Snap from my Ubuntu machines and installs firefox from the mozilla repositories.

comment 8mo ago · link · parent

My favourite quote for that is:

Broken gets fixed, but crappy stays forever

comment 9mo ago · link · parent

I love that the thing of itself is completely unstable once you click somewhere to start the simulation … :)

comment 9mo ago · link · parent

Well, you get the warning, but as long as HSTS is not active, you can still click on "Accept the risk and continue" …

[EDIT:] Just checked a bit closer, they are using an LetsEncrypt cert for "cuii.telefonica.de", which is obviously the wrong domain, but as I said above, as long as HSTS is not active for "annas-archive.li", you can still bypass via the button.

comment 9mo ago · link · parent

Yay, MITM in the wild :)

I got it on my phone, but not with my local ISP.

comment 9mo ago · link · parent

I started using the separator symbols (file, group, record, unit separator, ascii 60-63 ... though mostly the last two) for CSV like data to store in a database. Not looking back!

comment 11mo ago · link · parent

Uh, I like that!

I have some services on IPv6 only, but it rarely convinces anyone that they need IPv6 connectivity …

comment 11mo ago · link · parent

Maybe not for text to be read again, but might be sensible e.g. for slug or file name generation and the like...
123