Readit News logoReadit News
throw_away_623 commented on Using PostgreSQL as a Dead Letter Queue for Event-Driven Systems   diljitpr.net/blog-post-po... · Posted by u/tanelpoder
branko_d · 17 days ago
> Boolean is rarely enough for real production workloads. You need a 'processing' ... 'retrying'... 'failed' ...

If you have more than 2 states, then just use integer instead or boolean.

> Saving a few bytes on the index isn't worth losing that observability.

Not sure why having a few well-known string values is more "observable" than having a few well-known integer values.

Also, it might be worth having better write performance. When PostgreSQL updates a row, it actually creates a new physical row version (for MVCC), so the less it has to copy the better.

throw_away_623 · 17 days ago
Postgres supports enum that would fit this use case well. You get the readability of text and the storage efficiency of an integer. Adding new values used to require a bit of work, but version 9.1 introduced support for it.
throw_away_623 commented on MapLibre Tile: a modern and efficient vector tile format   maplibre.org/news/2026-01... · Posted by u/todsacerdoti
homebrewer · 17 days ago
No, the names are there in the file, streets included. Their default styles did not support the languages we needed out of the box (everything was shown in the local language or English IIRC), but it was easy to fix by patching the style. I don't remember the exact fix, but it was about as simple as replacing something like `["get", "name_en"]` with `["get", ["coalesce", "name_xx", "name_en"]]`.
throw_away_623 · 17 days ago
Is there enough information to show exact addresses? For example "221B Baker Street"
throw_away_623 commented on MapLibre Tile: a modern and efficient vector tile format   maplibre.org/news/2026-01... · Posted by u/todsacerdoti
homebrewer · 17 days ago
We've been self-hosting protomaps (aka pmtiles) for several years. The only thing you need server-side is a web server that can serve static files and supports range requests (so anything works; I've tried caddy and nginx). The map is one large file, it's easy to share it between however many servers you need.

https://docs.protomaps.com/guide/getting-started

Downsides? Nothing major that I can think of. You have to add another client-side dependency (support for their custom protocol); the library is pretty small and easy to audit.

Editing map styles is slightly more difficult because generic maplibre styles won't work with it: they add a bit of custom sauce on top. IIRC this editor worked fine, you can import one of protomaps styles and base your work off it:

https://maputnik.github.io/editor

That's probably it.

throw_away_623 · 17 days ago
Are the names of cities/streets included in the tiles, or do they have to be placed from a different data source?

Deleted Comment

throw_away_623 commented on Emissary, a fast open-source Java messaging library   github.com/joel-jeremy/em... · Posted by u/jeyjeyemem
jeyjeyemem · 21 days ago
Emissary is a simple-to-use, no dependency, yet BLAZING FAST messaging library for decoupling messages (requests and events) and message handlers.

Emissary aims to take advantage of the simplicity of using the annotations for handlers (e.g. @RequestHandler/@EventHandler) without the drawbacks of reflection (slow).

What differentiates Emissary from other messaging/dispatch libraries? It takes advantage of java.lang.invoke.LambdaMetafactory to avoid the cost of invoking methods reflectively. This results in performance close to directly invoking the request handler and event handler methods.

~ 1000% more throughput compared to other similar libraries (Spring's ApplicationEventPublisher, Pipelinr, EventBus) ~ 90% faster compared to other similar libraries (Spring's ApplicationEventPublisher, Pipelinr, EventBus)

Benchmarks found on the GitHub repository: https://github.com/joel-jeremy/emissary?tab=readme-ov-file#p...

throw_away_623 · 17 days ago
Are you planning to add persistent events as well, so that events are not lost due to crashes
throw_away_623 commented on Using PostgreSQL as a Dead Letter Queue for Event-Driven Systems   diljitpr.net/blog-post-po... · Posted by u/tanelpoder
whateveracct · 18 days ago
and another CTO will use this meme as a reason to "just use Postgres" for far longer than they should lmao
throw_away_623 · 18 days ago
I’ll take “just use Postgres” over “prematurely add three new systems” any day. Complexity has a cost too.

Using Postgres too long is probably less harmful than adding unnecessary complexity too early

throw_away_623 commented on Children and Helical Time   moultano.wordpress.com/20... · Posted by u/moultano
barishnamazov · a month ago
I'm 22 and since late college things don't excite me the way they used to, even when I enjoy them. I sometimes wonder if this is what happens when people get older and happened to me early, or if it's just a personality trait.

The 'vicarious firsts' framing doesn't quite land for me because of that, but the 'urgency that won't let you drift' observation resonates. Maybe what matters isn't renewed wonder but having something -- family, friends, caring about the world -- that demands presence. The forcing function matters more than the feelings themselves.

My dad always says something related in nature: caring about and loving your family makes you a better person more than it helps your family.

throw_away_623 · a month ago
> I sometimes wonder if this is what happens when people get older and happened to me early, or if it's just a personality trait.

It's a cliché but I (almost 50 years old) have found that when you get older, you notice patterns, Something "new" is often just an incremental improvement or two existing things combined.

Rust doesn't excite me much, and Go seems too boring to use for my side projects. Elixir + Phoenix LiveView is the only "new" thing that has excited me in the past decade, but I can't stand the Elixir syntax. Maybe it's because I have seen so much change during the years? If someone started out with React, a new version seems like a big deal, but to me it is just an incremental improvement.

When I was a kid, a new CPU or GPU had an extreme impact compared to the previous generations. We went from crappy Wolfenstein graphics to Quake in a few years. I have stopped following new releases now, because they don't really do much.

The same applies to mobile phones. The next iphone / samsung model doesn't really motivate me to replace my existing phone.

throw_away_623 commented on Children and Helical Time   moultano.wordpress.com/20... · Posted by u/moultano
rwnspace · a month ago
I think time perception is contingent on cultural and lifestyle factors, I don't recognise it in my own life. My twenties (chaotic) lasted forever, now in my 30s, this last year in particular felt incredibly long (it was eventful and full of change).

I rarely find myself on "autopilot". Is that why?

throw_away_623 · a month ago
I think you are on to something.

My theory is that the brain is good at compressing memories, so if you do mostly the same things every day it's not stored as a separate memory.

I actually felt my 30s as one of the longest periods in my life, because of things that happened in my life

u/throw_away_623

KarmaCake day20January 1, 2026View Original