Better HN
topnewbestaskshowjobs
Log inSign up

mxey

429 karma · joined Apr 1, 2012 (14y ago) · 174 submissions

Submissions

comment 2d ago · link · parent

Go has had sub-microsecond pauses for years

It also uses much fewer pointers than Java, so fewer allocations and less pressure on the GC.

comment 4d ago · link · parent

> For performance reasons, sequences have always been non-transactional in Postgres. This implies that they are not in the transaction log which is being replicated to standbys.

This cannot be true because physical replication already supported sequences. Only the support for logical replication is new.

comment 2w ago · link · parent

Imagine every Rust program just calling unwrap on this result, and therefore the Rust library deciding to just never return an error. That’s analogous to what happened here.

comment 2w ago · link · parent

LTS distros can track the LTS kernels and they’ve all been updated

comment 2w ago · link · parent

What about return oriented programming?

comment 3w ago · link · parent

Seems to me that “we ran the Jepsen test” is just something an LLM thought would sound good on a DB’s website.

comment 3w ago · link · parent

It’s wild how bad it is. Not surprising for a vibecoded database, but why did they hire Kyle for a test, instead of first doing ANY testing themselves?

comment 3w ago · link · parent

“isolated environments on shared hardware”

So, not isolated environments? The surprising thing is that they used the CPU cache instead of the just exploiting the hypervisor.

comment 4w ago · link · parent

Looking further into this: The Linearizable mode is newer than the test, so we don’t know if it would have passed.

https://philipotoole.com/faster-reads-same-guarantees-linear...

comment 1mo ago · link · parent

Oh, TIL!

comment 1mo ago · link · parent

You can cut out the middle man and use https://github.com/marxarelli/masse, a CUE frontend for BuildKit.

However I don’t think anything using BuildKit is as fine grained as Bazel.

comment 1mo ago · link · parent

“Their tests showed that rqlite maintains linearizability of record insertion and modification, provided strong read consistency is enabled.”

The rqlite docs however tell you to never use Strong mode and that Linearizable is sufficient. https://rqlite.io/docs/api/read-consistency/#strong

comment 1mo ago · link · parent

How are agents helping you? What was the trouble with Postgres before?

comment 1mo ago · link · parent

Many CVEs have too high severity for what they describe.

comment 1mo ago · link · parent

“They can put SCTs in the cert, and still not publish to the logs, nobody is auditing the logs for every cert every browser sees”

I don’t think you can get the SCT from a log without the log publishing it? That would defeat the purpose.

“Certificates that support certificate transparency must include one or more signed certificate timestamps (SCTs), which is a promise from a log operator to include the certificate in their log within a maximum merge delay (MMD).[4][3] At some point within the maximum merge delay, the log operator adds the certificate to their log.”

comment 1mo ago · link · parent

The majority of existing software runs without a glitch? Are you being serious?

comment 1mo ago · link · parent

Who writes those tests and makes sure they test the right thing and everything?

comment 1mo ago · link · parent

That’s an interesting idea but not all locks are held for the duration of the statement. A lot of them take a less intrusive lock for the whole statement and take an exclusive lock for a very short time when they finish up.

Edit: Looking this up, I’m not sure this is correct.

comment 2mo ago · link · parent

> The WireGuard website claims ChaPoly is at least as fast as hardware-accelerated AES.

I haven’t used WireGuard but I have easily doubled OpenSSH performance by switching back to AES.

comment 3mo ago · link · parent

Since 10.7 it autosaves.

The Delete button is shown, and correct, for new files that have not been saved at all yet.

comment 3mo ago · link · parent

The drain is asynchronous, so it won’t block. The limit is 256 KB and 50 ms.

comment 5mo ago · link · parent

At which point there’s little difference from any other database’s backup commands.

comment 5mo ago · link · parent

I think the SQLite website itself says it best:

> SQLite does not compete with client/server databases. SQLite competes with fopen().

comment 5mo ago · link · parent

The Compose file is written like that so you can quickly try the app without setting up extra dependencies. Usually not for production use.

Especially since in production you might want to scale the parts separately. I like to have a Postgres cluster to connect where backup is already handled, and the app then doesn’t have any persistent data, doesn’t need any network volume mounts.

comment 5mo ago · link · parent

Yes if you run a database server like an embedded application database, then it won’t be very different from an embedded application database.

comment 5mo ago · link · parent

SQLite in WAL mode which you want for server apps is multiple files.

Files which you cannot just copy while your application is running if you want a correct backup.

comment 5mo ago · link · parent

Huge?

comment 6mo ago · link · parent

Yes, initially modules used to modify the file automatically which is why I have -mod=readonly in some old pipelines.

I think the “new” way is much better.

I still run tidy in pipelines to check but that’s only for cleanup.

comment 6mo ago · link · parent

> It only syncs go.mod with what is already being used by the build process

If dependencies are incomplete, Go will fail to compile and tell you to run go mod tidy to fix it.

123456