Readit News logoReadit News
glenjamin commented on Distributed ID formats are architectural commitments, not just data types   piljoong.dev/posts/distri... · Posted by u/mnahkies
glenjamin · 17 days ago
A failure mode of ULIDs and similar is that they're too random to be easily compared or recognized by eye.

This is especially useful when you're using them for customer or user IDs - being able to easily spot your important or troublesome customers in logs is very helpful

Personally I'd go with a ULID-like scheme similar to the one in the OP - but I'd aim to use the smallest number of bits I could get away with, and pick a compact encoding scheme

glenjamin commented on Stacked Diffs with git rebase —onto   dineshpandiyan.com/blog/s... · Posted by u/flexdinesh
happytoexplain · 21 days ago
This seems idealistic. It's very normal to be working on a feature that depends on a not-yet-merged feature.
glenjamin · 21 days ago
I invite you to look into feature flagging.

It is entirely viable to never have more than 1 or 2 open pull requests on any particular code repository, and to use continuous delivery practices to keep deploying small changes to production 1 at a time.

That's exactly how I've worked for the past decade or so.

glenjamin commented on Stacked Diffs with git rebase —onto   dineshpandiyan.com/blog/s... · Posted by u/flexdinesh
mytailorisrich · 21 days ago
Instead of "stacked diffs", isn't the more "continuous integration" solution to split a big feature into small chunks that actually get merged?

Having to rebase again and again is a symptom that a dev branch is living for too long.

glenjamin · 21 days ago
I’m amazed that this comment is so low down

Stacked diffs seems like a solution to managing high WIP - but the best solution to high WIP is always to lower WIP

Absolutely everything gets easier when you lower your work in progress.

glenjamin commented on PGlite – Embeddable Postgres   pglite.dev/... · Posted by u/dsego
samwillis · 23 days ago
Hey everyone, I work on PGlite. Excited to see this on HN again.

If you have any questions I'll be sure to answer them.

We recently crossed a massive usage milestone with over 3M weekly downloads (we're nearly at 4M!) - see https://www.npmjs.com/package/@electric-sql/pglite

While we originally built this for embedding into web apps, we have seen enormous growth in devtools and developer environments - both Google Firebase and Prisma have embedded PGlite into their CLIs to emulate their server products.

glenjamin · 22 days ago
Does pglite in memory outperform “normal” postgres?

If so then supporting the network protocol so it could be run in CI for non-JS languages could be really cool

glenjamin commented on WordPress plugin quirk resulted in UK Gov OBR Budget leak [pdf]   obr.uk/docs/dlm_uploads/0... · Posted by u/robtaylor
glenjamin · 25 days ago
There's a couple of passing mentions of Download Monitor, but also the timeline strongly implies that a specific source was simply guessing the URL of the PDF long before it was uploaded

I'm not clear from the doc which of these scenarios is what they're calling the "leak"

glenjamin commented on Data-at-Rest Encryption in DuckDB   duckdb.org/2025/11/19/enc... · Posted by u/chmaynard
mritchie712 · a month ago
For pure duckdb, you can put an Arrow Flight server in front of duckdb[0] or use the httpserver extension[1].

Where you store the .duckdb file will make a big difference in performance (e.g. S3 vs. Elastic File System).

But I'd take a good look at ducklake as a better multiplayer option. If you store `.parquet` files in blob storage, it will be slower than `.duckdb` on EFS, but if you have largish data, EFS gets expensive.

We[2] use DuckLake in our product and we've found a few ways to mitigate the performance hit. For example, we write all data into ducklake in blog storage, then create analytics tables and store them on faster storage (e.g. GCP Filestore). You can have multiple storage methods in the same DuckLake catalog, so this works nicely.

0 - https://www.definite.app/blog/duck-takes-flight

1 - https://github.com/Query-farm/httpserver

2 - https://www.definite.app/

glenjamin · a month ago
that looks neat - how but do you handle failover/restarts?
glenjamin commented on Data-at-Rest Encryption in DuckDB   duckdb.org/2025/11/19/enc... · Posted by u/chmaynard
glenjamin · a month ago
Other than motherduck, is anyone aware of any good models for running multi-user cloud-based duckdb?

ie. Running it like a normal database, and getting to take advantage of all of its goodies

glenjamin commented on Code like a surgeon   geoffreylitt.com/2025/10/... · Posted by u/simonw
glenjamin · 2 months ago
This reminded me of a slide from a Dan North talk - perhaps this one https://dannorth.net/talks/#software-faster? One of those anyway.

The key quote was something like "You want your software to be like surgery - as little of it as possible to fix your problem".

Anyway, it doesn't seem like this blog post is following that vibe.

glenjamin commented on Online Safety Act – shutdowns and site blocks   blocked.org.uk/osa-blocks... · Posted by u/azalemeth
GJim · 4 months ago
> What's frustrating me....

... is that gambling sites are except.

I may need to prove my age to visit Reddit (and soon Wikipedia) but not to visit Bet365, Ladbrook's, Paddy Power etc etc.

Need I tell you who some of the biggest lobbyists and political donors have been?

glenjamin · 4 months ago
This doesn't seem accurate to me - Gambling sites legally operating in the UK already have strict KYC requirements applied to them via the Gamling regulator.

Visiting a gambling site isn't restricted, but signing up and gambling is.

glenjamin commented on From XML to JSON to CBOR   cborbook.com/introduction... · Posted by u/GarethX
glenjamin · 5 months ago
The only mention I can see in this document of compression is

> Significantly smaller than JSON without complex compression

Although compression of JSON could be considered complex, it's also extremely simple in that it's widely used and usually performed in a distinct step - often transparently to a user. Gzip, and increasingly zstd are widely used.

I'd be interested to see a comparison between compressed JSON and CBOR, I'm quite surprised that this hasn't been included.

u/glenjamin

KarmaCake day1492February 4, 2011View Original