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

When writing a derive proc_macro and need to use it inside the crate that implements the type to be derived. Consider this abomination: `extern crate self as my_crate_name;` inside the crate defining the type. This way you can have an absolute reference to the type in the generated code and it will work inside and outside of your crate in question. I am sure there is a good reason rust does not provide the alias by default, but still i find it a bit funny I have to add this. 🤷

0

Re “apply the pressure anyway:” that’s advice I got from…Keith Ellison.

I was part of a citizen group pressuring him to vote for the ACA when he was in the House. He met with us, and gave us an impassioned speech about universal care and how the ACA was a good first step but insufficient, relating it to the less-remembered civil rights acts of the 1950s that laid the groundwork for the big one in 1964.

Somebody from the group finally asked him, “Why are we meeting with you? You’re already convinced!”

He replied (paraphrasing here): “I •need• your pressure. I need it even if I already agree. If you’re pressuring me, then I can get on the floor of the House and say ‘My constituents are beating down the doors of my office! This has tremendous support!’ I can tell my colleagues in private about how agitated voters are. If you apply pressure, I can pass that pressure forward. I need you to do it! •That• is why you’re meeting with me.”

And now Keith Ellison is MN Attorney General. He’s already started doing the right thing. Follow his advice, and apply that pressure!

0
0
1

NetBlocks, an organization that monitors internet status in various parts of the world, wrote in a recent update about the internet situation in Iran:
"It has now been 24 hours since the nationwide internet shutdown in Iran, and connectivity has dropped to about 1% of normal levels. This ongoing digital blackout violates the fundamental rights and freedoms of Iranian citizens and causes the government's violence to remain hidden."

0
0
0
0
0
0
0
0

我初讀《1973年的彈珠玩具》是在當兵的時候,那是配著陽光的下午、停機坪和一望無際的中央山脈,雙胞胎姐妹、翻譯社、老鼠、傑氏酒吧在我腦海中上演,成為我青春的一部分

最有畫面感的就是雙胞胎了,雖然譯本裡寫的是海軍藍運動襯衫,反白的數字,但印上數字的襯衫實在有點奇怪,我就擅自解讀成自己喜歡的款式吧,反正翻譯不也是這樣嗎

這就是我想像的、慵懶的、無邪氣的、天然萌的 208、209姐妹

208、209 姐妹
0
0
0
0
0
0
0
0
0
0

RE: hachyderm.io/@inthehands/11586

This goes for all politicians. If you are US, call your congresspeople, call your senators. If you are MN, call the governor and the AG. Remember that the "political capital" that politicians have is the support they have from their constituents. They use these calls as evidence in the arguments of what actions their colleagues should take.

0
0
0
0
1

RE: hachyderm.io/@inthehands/11586

This goes for all politicians. If you are US, call your congresspeople, call your senators. If you are MN, call the governor and the AG. Remember that the "political capital" that politicians have is the support they have from their constituents. They use these calls as evidence in the arguments of what actions their colleagues should take.

0
0
0
0

如果把回忆装在相册里,那么一大本也装不下多少,如果装在u盘,小小一个倒是能装很多。但是,如果是我,相册可能还会偶尔翻两下,u盘恐怕这辈子都不会打开几次了。这么看来,相册还好些。
我家人逢年过节就要录像,拿着录像机在家里到处走,跟来聚餐的亲戚朋友一一打招呼。我以前觉得对着镜头很不自在,现在觉得肯定是家里人记性都不好,跟我一样,毕竟有遗传,记性不好的人就爱记东西,所以想出了录像这么一招。
如果以后家人去世了,这些录像,除了我看,也没别人会感兴趣。其实大部分录像都是很无聊的,过了缅怀故人的那一阵子之后,可能也很少有机会再想看录像了吧。
我希望ai进化一下,能让人走进录像里去,这样每个节假日我都不用邀请任何人,只要买两个菜,挑一盘最好玩的节日录像,可能我会想挑个家人一起打扑克或者打麻将的录像,只需要ai模拟一下牌局,能玩一晚上。

1

Deense en Groenland­se politici maken ruzie via Microsoft Teams. Niet handig, want volgens (niet de Cloud Act) hebben de Amerikaanse inlichtingendiensten de mogelijkheid om die gegevens bij Microsoft op te eisen.

ad.nl/buitenland/deense-en-gro

0
0

Deense en Groenland­se politici maken ruzie via Microsoft Teams. Niet handig, want volgens (niet de Cloud Act) hebben de Amerikaanse inlichtingendiensten de mogelijkheid om die gegevens bij Microsoft op te eisen.

ad.nl/buitenland/deense-en-gro

0
0
0
0

Happy 17th birthday to the very best cat in the entire world! We adopted him a little over 10 years ago and he was my first cat. He was reported to be anxious with IBS but once in our house, he turned out to be the friendliest, most sociable cat ever. He’s also introduced so many people to the joys of and caused them to get cats of their own.

First photo of our cat Max in our house. He sits in a hallway looking at a brand new home just for him.
0
0
0

@ploum Hello, I recently came across this, it’s a year old so maybe you have written a follow-up, an apology or something ploum.net/2025-12-04-pixelfed-
You made it like Pixelfed is offending the protocol but Mastodon does many of the claims you make in your blogpost. The protocol supports many types but Mastodon supports note. The reason the issue isn’t as terrible is because everyone conformed to Mastodon

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0