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

If choosing between bsd.ad or unix.ad - which one would you prefer?

0
0

RE: mastodon.social/@mgifford/1161

(I asked Mike on LinkedIn.)

Has anyone tried this, measured outcomes?

Asking because:
arxiv.org/abs/2602.11988

It found AGENTS‌.md “files tend to reduce task success rates compared to providing no repository context, while also increasing inference cost by over 20%.”

0
0
0

Mastodon includes an optional feature which lets you automatically delete your posts after a certain amount of time. There's a guide to using this feature including lots of questions answered at:

➡️ fedi.tips/deleting-posts-autom

It's off by default, it only deletes stuff if you switch it on. You can also set it to keep certain posts, more info in the guide.

I've tried to answer questions about this feature in the guide, but let me know if I've missed anything.

0
2
0

Mastodon includes an optional feature which lets you automatically delete your posts after a certain amount of time. There's a guide to using this feature including lots of questions answered at:

➡️ fedi.tips/deleting-posts-autom

It's off by default, it only deletes stuff if you switch it on. You can also set it to keep certain posts, more info in the guide.

I've tried to answer questions about this feature in the guide, but let me know if I've missed anything.

0
2
0

I've loved this musical since the first time I watched it.
I almost know it by heart.
Despite the religious background, I simply love it.

Today, after more than 20 years, I was driving while listening to this piece and sang it at the top of my voice, just like I used to do on certain days 20 years ago.

Well… I felt better.

Too bad I missed the performance in Ferrara about ten years ago with Ted Neeley.

song.link/y/ndZ6B1EaJEs

0

Did the JS spec seriously special-case variable scoping in `for(;;)` loops, just because of the common loop closure bug? Because its behavior now is way less intuitive, IMO. I had no idea that this:

```
for(let i = 0; i < 3; i++) {
setTimeout(() => console.log(i), 1000)
}
```

Would log out 0 1 2. If you understand the rules around closure scope this seems way more bizarre than the 3 3 3 behavior that `var i` will give you.

0
0
0
1
0

じゃがすくりぷとはまず%-デコードするのかしら

$ node
Welcome to Node.js v20.20.1.
> URL.parse("http://%3192.168.0.1/")
URL {
href: 'http://192.168.0.1/',
origin: 'http://192.168.0.1',
protocol: 'http:',
username: '',
password: '',
host: '192.168.0.1',
hostname: '192.168.0.1',
port: '',
pathname: '/',
search: '',
searchParams: URLSearchParams {},
hash: ''
}

0
0

Oil going thru the roof.

The higher the price of oil, the higher the cost to the average American. But the higher the price of oil, the more renewable energy looks both attractive and necessary. Too bad Donald Trump is trying to kill the US electric-vehicle and renewable energy markets.

Oil going thru the roof.

Graph of crude oil prices dollars per barrel over the last month. Rising from around $65 to over $90 because of the Iran War.
0
0
0
0

Question for people who choose not to use generative AI for ethical reasons: Do you make that choice despite accepting the growing evidence that it works (at least for some tasks, e.g. coding agents working on some kinds of software)? Or do you reject it because of the ethical problems *and* a belief that it doesn't actually work?

I'm thinking that principled rejection of generative AI might have to be the former kind, *despite* evidence that it works.

0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
5
0
0

If BBC’s reporting is correct, what we are seeing in Iran right now is the same playbook Israel used in Gaza. They aren’t sticking to military targets. They are targeting society, and the country’s culture and heritage. To what extent US targeting is following their lead is unclear, but hospitals, schools, historic landmarks, and civil infrastructure are being destroyed with the clear intent of collective punishment. It is abhorrent, heinous, and criminal.

0
2
0
0

“The sinking of the Dena seems to be part of Hegseth’s new policy of ignoring ‘stupid rules of engagement’ and ‘punching them while they’re down,’ and it raises questions of what the Trump administration would say if a country like Iran attacked an American ship it knew was unarmed.”

newrepublic.com/post/207429/us

0
0
0
4
0
0
0
0

Wondering what to do rather than buy a missile or bomb today?

You could feed all the region's hungry children for the cost of this war

Or cure a disease

Or buy this €30,000 🪗 instead of a drone

Cavagnolo Digit AiR Série LB12+ Carbon Fibre Digital/Analog Optical Switch Bluetooth OLED Screen, weighs 1.5 kilos (3.3 lbs!)
cavagnolo.com/en/accordeon/dig

Cavagnolo Digit AiR Série LB12-noir-pailleté. Black and silver French musette style full-size accordion with many buttons on both sides. "Cavagnolo" in script on the front.Carbon fibre shell of the right side of the Digital Cavagnolo accordion. With no keys or internals, just the shell, showing the accordion shape, the fibre design, and the shiny polish.
0
1
0
0