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

@heluechtMichael 🇺🇦 @evanEvan Prodromou I'm also glad sharedInbox exists!

The issue I had with sharedInbox was that I was proposing that it should respect the actor model for delivery and we could do this by the posting server adding an HTTP header which listed all the intended recipients. However, Mastodon's devs said "no, we're already tracking the follow lists ourselves so we'd rather use our own information"

And I conceded to that at last minute because we needed to get the spec out. This lead to several issues!

@heluechtMichael 🇺🇦 @evanEvan Prodromou delivering to an "instance" and expecting that the instance can infer who should get the message means that the delivering side isn't as in control of where the messages go, it violates the actor model, and precluded several possible directions for a more capability-oriented model which I think the fediverse should have pursued. I don't think "inferred recipients" is a good design. The poster (or more accurately, the addressed collection) knows best its recipient list.

0

🌘 為什麼有些衣服洗了會縮水?以及如何讓它們「恢復原狀」
➤ 纖維的「記憶」:從分子層次解析衣物縮水的科學真相
swinburne.edu.au/news/2025/08/
許多人在洗滌心愛的衣物後,常會面臨縮水的慘劇,即使嚴格遵守洗滌標示也難以倖免。這背後的關鍵在於紡織纖維的「科學記憶」。棉、麻等天然纖維在製造過程中,必須經過機械強力的拉伸與定型,並透過化學氫鍵將纖維分子固定在平整的狀態。然而,洗滌時的水分、熱能與攪動會釋放這些鎖定的張力,使纖維回歸原始的捲曲型態。本文將深入探討紡織結構的科學原理,幫助讀者從源頭理解縮水現象,並掌握修復衣物的科學邏輯。
+ 這篇文章解釋得很清楚,以前只知道不能用熱水洗,現在終於明白是分子層面的氫鍵在作怪。
+ 原來衣服縮水只是它「想回家」回到原始狀態而已,看來以後洗羊毛和棉麻織品要更溫柔一點了。
紡織技術

0

@heluechtMichael 🇺🇦 @evanEvan Prodromou I'm also glad sharedInbox exists!

The issue I had with sharedInbox was that I was proposing that it should respect the actor model for delivery and we could do this by the posting server adding an HTTP header which listed all the intended recipients. However, Mastodon's devs said "no, we're already tracking the follow lists ourselves so we'd rather use our own information"

And I conceded to that at last minute because we needed to get the spec out. This lead to several issues!

0
0
0
0
0
0
0
0
0
0

Musing this morning...

The "let <refutable_pattern> = <expr> else { <divergence> };" syntax was added to Rust quite recently. In a version of Rust where this syntax was available from the get-go...

...could we have removed unwrap()/expect()?

Could this have also removed a need for #[track_caller]? (There might be others, but I think unwrap/expect were one of the big motivations.)

Because I feel like it's gradually replacing the remaining uses of unwrap in my own code (and there aren't a lot).

0
0
0
0
1

Was für ein Erfolg! Das haben wir mit @pruef.hh gemeinsam erreicht: Nach 3 PRÜF-Demos spricht sich jetzt auch Hamburg für unser Anliegen aus! @pruef.de wirkt!

Jetzt gehts weiter: Wir machen in immer mehr Landeshauptstädten Druck, bis der Bundesratsantrag auf Prüfung der rechtsextremen Partei durch das Bundesverfassungsgericht verabschiedet wurde.

Hier mit Mehrheiten spielen!
pruef-stand.de

Text Kachel mit ähnlichem Inhalt wie der Text. Demo Menge im Hintergrund.
0
0
0
0
0
0
0

⚠️ Update: has now been offline for 120 hours.

Despite some phone calls now connecting, there is no secure way to communicate and the general public remain cut off from the outside world.

What footage makes it through shows extensive use of force against civilians 📵

Graph from NetBlocks showing network connectivity in Iran from January 5, 2025, to January 13, 2025. The y-axis represents normalized connectivity, ranging from 0% to 100%, and the x-axis represents the dates. The green line representing Iran's connectivity remains lower than normal most of the time period due to protests, with a sharp drop on the evening of January 8. The drop in connectivity aligns with protests across the nation. The minimum and current connectivity levels are indicated as 1% and 1%, respectively. The chart has a dark background with a red horizontal arrow labeled 'SHUTDOWN', indicates the period of disruption.

⚠️ Update: Metrics show remains offline as the country wakes to another day of digital darkness.

With the internet blackout now past its 132nd hour, early reports indicate thousands of casualties. The true extent of the killings is masked by the absence of connectivity.

Graph from NetBlocks showing network connectivity in Iran from January 5, 2025, to January 14, 2025. The y-axis represents normalized connectivity, ranging from 0% to 100%, and the x-axis represents the dates. The green line representing Iran's connectivity remains lower than normal most of the time period due to protests, with a sharp drop on the evening of January 8. The drop in connectivity aligns with protests across the nation. The minimum and current connectivity levels are indicated as 1% and 1%, respectively. The chart has a dark background with a red horizontal arrow labeled 'SHUTDOWN', indicates the period of disruption.
0
0
0
0

The rise and fall of Stack Overflow is a case in point of the parasitic nature of LLMs. LLMs feed their models on places like Stack Overflow to be useful to users, so users flock to them to avoid the eternal snarky comments and just get an answer to their problem right away. But this is a dead end. No new answers will be generated if no one uses Stack Overflow or similar places.

What goes for Stack Overflow goes essentially for the whole internet. Like a mold growing on food, consuming it, and dying once the food is gone - LLMs will kill large parts of the 'old' internet before long.

Graph showing rise and fall of Stack Overflow usage between 2008 and 2026 in numbers of questions asked per month. There's a clear bell curve visible coming from 0 and going to 0.
0
0
0
0
0
0
0
0

> looking for a new schema language > ask the compiler if their schema language is language agnostic or accidentally encodes the language semantics of the language used to first implement the compiler > she laughs and says "it's a good schema language sir" > use the schema language

0
0
0
0
0

It is our moral imperative to consider the "real world" and actual users when assessing the possible security impact of a reported issue. If we deem that there is likely to be zero affected users, then we do more damage than good by insisting on doing the security dance for the issue.

Then we end up with a severity level that is below LOW, and then we treat it as a bug instead. For the good of mankind.

0
1

지금 왜 이 이야기를 왜하냐면 닷컴버블때의 전조현상들과 지금이 너무나 판박이여서 입니다.. 인플레이션(금,은,구리,램등의 가격상승으로 물가상승)을 버티지 못한 연준이 금리를 올려요. AI버블은 거짓말처럼 붕괴하고 주식들은 바닥을 내려찍고 불황이 찾아옵니다. 반대로 트럼프가 연준을 장악하고 금리를 내려요. 달러를 풀어요. 물가는 올라가는데 돈이 풀립니다. 하이퍼 인플레이션이 오고 돈의 가치는 개쓰레기가 되어버립니다. 전자는 진짜를 가려내는 솎아내기의 고통이면 후자는 복구에 수십년이 걸리는 지옥입니다.

0

晚上在聽悲慘世界的音樂,突然想到以前跟人聊過的一個很無聊細節,關於主角Jean Valjean到底是怎樣變有錢的,音樂劇跟電影版都沒有提到這件事情,小說版有,他賣的是Jet beads,出獄之後他到了蒙特勒伊,原本這裡的特產Jet beads黑玉,Jean Valjean改用蟲膠為基材製作,這便宜貨反而在市場上大賣所以才賺大錢。小說裡到死前都還在想要怎麼改良產品的Jean Valjean最後跟Cosette講的是手鍊的鍊子不用焊的,改用鍊環相扣比較省錢。
大概是因為小說裡這段太現實了,所以音樂劇跟電影都把到死都是生意人的Jean Valjean給封印,變成是一個女兒最優先的好爸爸Jean Valjean。

我是覺得那個到死都在想怎樣賺錢,把秘訣寫起來留給女兒的Jean Valjean比音樂劇、電影裡的那個版本真實又實在啦😆

0
0
0
2
0
0
1