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

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

Definitely the right size, the 34DD moves around FAR less than my 36D's were, and the girls definitely fit the cups better. This is wild to me. I'm still kinda trying to wrap my head around it. For a couple of reasons:

1. The big piece of advice I saw a lot pre- was to “expect one size less than your closest cis relatives." My mom was a 36C. My bio-sister, I don't know for sure but I'd estimate her at a 32 or 34C. I have aunts, grandparents, etc. as well, in that range. My wife, though not related, is a 34B. I am larger than all of them?

2. I didn't expect this to go this well. I never expected a band size less than 38 just given my body size at the time. Truthfully I never really had a specific size in mind, just “proportional.”

And, if the aching recently is any indication, they're still growing. 😳

I still don't "feel" like they're proportional especially without a bra on. But this is definitely making me consider BA a bit less.


tech.lgbt/@ria/115098598131463

0

話說回來以前馬英九執政時,原能會副主委黃慶東有「核四興建在岩盤上,就像菩薩端坐在蓮花座上安穩」的說法,看今天的震央,蓮花座底下的地牛翻身啦 XDD

很多人記憶短暫,不過我喜歡歷史,他們說過的不會忘。

還好核四沒有真的運作,不用經歷這樣的地震考驗。

0
0
1
0

xMEMS Labs is debuting prototype glasses with onboard AI assistants. The glasses' clear audio comes from slim microspeakers spectrum.ieee.org/xmems-sycamo and they cool quickly using xMEMS's solid-state fan-on-a-chip spectrum.ieee.org/xmems.

0

今日駐車券なくして、人生で初めて「駐車券紛失」ボタン押したら5000円って出てきてたまげました。みんなは……駐車券をなくさないようにしようね……! ​:blob_laghing_crying:

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

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