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
0
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0

I feel like I flubbed an interview because, while I was describing my work with xpaths, the interviewer caught me off guard by asking how I would implement a simple xpath engine. I was caught off guard and answered "I think that's a mistake. I've seen a lot of half-assed xpath implementations. I would rely on the engine optimized by very smart people, as if it were a compiler." Really the interviewer was asking "Do you know about trees and graphs?"

0

I feel like I flubbed an interview because, while I was describing my work with xpaths, the interviewer caught me off guard by asking how I would implement a simple xpath engine. I was caught off guard and answered "I think that's a mistake. I've seen a lot of half-assed xpath implementations. I would rely on the engine optimized by very smart people, as if it were a compiler." Really the interviewer was asking "Do you know about trees and graphs?"

0
0
0
0
0
0
0

I've tried a few times in the past to build Python bindings for a C library and always gave up pretty quickly. This time I was looking to make Python bindings for github.com/fastserial/lite3.

Antigravity + Gemini has gotten everything working over the past hour or so. It's been 20 years since I've done any C, so not sure I'd call any of this production-level code, but it's been fun to play around with it at least.

0
0

If you're on a Mastodon server that needs to have the highest level of user safety, you might want to talk to your admin about whether they should activate "limited federation mode".

This mode prioritises safety over connectivity, and means a server manually chooses which servers it allows federation with, while blocking all the rest by default. More info at:

➡️ fedi.tips/creating-an-isolated

(The main disadvantage of this option is it's a lot harder to find accounts to follow.)

0
0
2
Zrušení zákazu je prohrou evropského autoprůmyslu

Zrušení zákazu prodeje automobilů se spalovacími motory je prohrou paradoxně pro ty, pro které se to dělá. Proč? To se v článku snažím vysvětlit.

https://blog.eischmann.cz/2025/12/20/zruseni-zakazu-je-prohrou-evropskeho-autoprumyslu/ (reakce na tento příspěvek se může zobrazit jako komentář pod článkem)
0
0
1
0
0
0
0
0
0
0

The other day I learnt that enabling syncookies in pf on OpenBSD lights up your server like a Christmas tree. Or in other words, it made the server respond to _every_ incoming tcp syn packet with syn/ack, making the bots scanning the internet think the port was open, even though the final ack would be dropped when rules were then evaluated. This increased scanning by a lot! Or so it seemed to me at least.

The reason for this experimentation was I got to experience what I think was a tiny syn-flood attack, and I was trying things to see what I could do to mitigate on my end.

I'll maybe write more about this after the holidays.

0
0
0
0
0
0
0
0
0

I really do appreciate the people hammering and hammering (and hammering) about how believing women would make everything much better

…and I am dismayed that so many of these guys have no idea how much they deflect from doing that. For their entire fucking lives.

I see women still trying to talk sense into dudes who WILL simply block women when they get too uppity.

I can think of at least a half dozen "liberal" old white guys who've done that to me because I was too pointed in my critiques

0
0
0
0
0