What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

0
0
0
1
0
0
0
0
1
1
0
0
1
0
1
0
0
0
0
0
0
1
0
0
0
2
0
1

The weeks towards the end of the year are always stressful because of the annual audits in the IT security area. But it's good that I have some time to also do more "interesting" stuff (ok, some parts of the audit topics are also interesting)

But now I'm tired. Good night, BSD Cafe.

0
0
0
0
1
0
1
1
0
0
2
0
1
0
0

The discussion about the Key Bridge ship impact is a good demonstration of how “root cause analysis” is reductionist and unhelpful in actually preventing future problems.

But if we truly try to understand what conditions give rise to these accidents, we must inevitably consider the contribution of capitalism in the disaster. Not as a root cause but as a contributor, or even accelerant.

0
0
1
1

If I learned to use Miette would I like it. Sometimes I am writing Rust and I'm like "I want error handling, but for this app I can't justify the friction of writing a whole error hierarchy… I'll use Anyhow" and after a bit I'm like "Anyhow is too vague". Would Miette or something else I don't know baout give me a less frictionful way of representing "well, several different errors could occur here" without turning each of my errors into an opaque blob

0

I think I need new headphones. I have 2 pairs of simple wired ones: an open-back pair for "kid and/or spouse are around and might need me to hear them but I am trying to listen to something to get a *modicum* of executive function" and a closed-back pair for "monitors for streaming & podcasting". Both of these are Sennheisers that are at least 5 years old and both are crumbling into a disgusting, greasy dust because of the faux-leather coating on all parts of them (not just the earcups)

0

Programmers have finally realized that a single function call can bring down an entire process, even in an allegedly “safe” language.

Just wait until they discover their compilers (especially the newfangled “systems languages with value types” that are so hot right now) have been lying to them this whole time by pretending that stack space is an endless resource, without providing any tools whatsoever for reasoning about how much of it they’re actually using

0
0
0
1

Bit of a "subtoot" but:

My biggest single frustration with Rust is that Result<> and Option<> are two things of fundamentally different kind. I wish Option<T> were literally just an alias for Result<T, ()>.

What Hurts about writing error-safe Rust is converting between kinds of errors. Rust needs better ergonomics for that. But the problem goes nuclear when you consider the entire extra layer of complexity needed to intraconvert Options and Results. ? has two different meanings and I hate it!

0
0

Second and even more exciting for me! I am introducing a new app—in beta for now—for creative content gathering and writing called Atlas!

I’ve been musing about TextKit for a while and this is why! It is primarily a Markdown editor and freeform canvas app that supports Mac and iOS. It’s still a bit rough as I tighten up the bolts, but stable enough that I am ready for testers!

Feature Deets: contagious.dev/product/atlas/ and beta link: testflight.apple.com/join/gUA8

Atlas MacAtlas iOSAtlas Conflict Resolution
0
0
0

I feel this needs to be repeated 🍪

The annoyance of cookie banners
doesn't come from the regulations, but from the malicious compliance of the corporations who want to exploit your personal data.

No data-harvesting cookies = No banner.
Simple.

My websites have no cookie banners,
because they don't use any non-essential cookies and don't track visitors.

Yours shouldn't either.

0
0
0
0