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

Imagine this: you’re at , and suddenly the Rust ecosystem is under attack. What do you do? 🔥

On Sept 4, Christopher “CRob” Robinson hosts “Rusty and the Crate Escape”—an interactive tabletop adventure where you and fellow must navigate a mock cybersecurity disaster.

It’s a playful mix of chaos, collaboration, and lessons on open source risk.

Learn more: rustconf.com/schedule/#1769

Register: ti.to/rustconf/2025?source=mas

0
0
0
0
0
0
0

2회차 모임은 "연구하는 사람 여기 다 모여" 특집이 될까 "프론트엔드 하면서 툴링시스템에 고통받는 사람들 모임" 특집이 될까.. 다음 연사자로 모시고 싶은 분들 최소 5명...

1
0

React is Simple!

Think React state is easy? One wrong move and your counter breaks.

Why It Happens

React batches state updates.
Using setState(state + 1) can overwrite updates with stale values.
The functional form setState(prev => prev + 1) ensures correctness.

Don't

const [count, setCount] = useState(0);

setCount(count + 1);
setCount(count + 1); 
// ❌ Result: count = 1

Do

const [count, setCount] = useState(0);

setCount(prev => prev + 1);
setCount(prev => prev + 1);
// ✅ Result: count = 2

Explanation

  • setCount(count + 1) → uses an old snapshot of state.
  • setCount(prev => prev + 1) → React passes the freshest value.

Updating state without prev is like asking for “one more slice” 🍕…
but the box already got emptied. Always ask from the current box.

3

@thisismissemEmelia 👸🏻 I'd need to think more on what an ideal model would look like - some sort of internationally governed model or a regulated set of mutual-governed public interest institutions might work better than a conventional/old-school nationalisation... but I think it's clear enough that payment processing is infrastructural and needs to be treated as that, not as a business one can just opt out of using. Ensuring businesses can't just arbitrarily choke off service would be a good first step.

0

What is your favorite page turning animation? I think this is an important skeuomorphic interface element and I think most software does a bad job at it. Issuu's is pretty nice but I would love to see a modern example in free code that does it.

example issuu.com/christenjanine/docs/

0
0
0
0
0
0
0
0
0
0

Misskey 2025.8.0より、連合先の古い投稿が揮発するようになります。ローカルの投稿は消えません。
削除条件は、3ヶ月以上前のクリップまたはお気に入りまたはリアクションがされていない投稿になります。(...のはずです)
ただし、2023年10月以前にクリップされた投稿も削除されます。

以上、よろしくお願いいたします。

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

招募導盲犬寄養家庭
歡迎大台北、大高雄地區,有興趣的朋友提出申請。

申請資格:

 贊同本會宗旨且能夠配合協會要求培訓導盲幼犬。
 以家庭為單位,至少兩位成人。
 家裡成員至少有一位一日外出不超過四小時,有足夠的間陪伴。

 五歲以下的孩童不超過一名。
 如有飼養寵物犬,需評估是否適合。

台灣導盲犬協會 相關申請-寄養家庭 guidedog.org.tw/apply/apply-1.

0
0
0

以現在地震的頻度,我覺得我下月可以來體驗地震XD

在香港的唯一體驗是最多人有感那次,半夜在床上都快睡了,突然有貨櫃車撞到床的感覺,整個清醒起來

第一下不知道什麼回事,1秒左右就馬上知道這就是地震

0
1
0