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.

1
0

My trip to Japan is almost here - commence Camera selection paralysis.

I want to bring them all, but I don't want to carry them all, but, I don't want to miss a moment, but I also want to experience everything and also capture everything all at the same time...

*sigh*.

0
0

Precedented, but not the same:

If ICE and CBP are basically the reincarnation of the KKK, it’s the KKK with a budget the size of Russia’s entire military.

Literally. In the literal sense of “literally.” The incoming ICE + CBP budget is ~$140 billion.[1] Russia’s military budget is ~$145 billion.[2]

(If I’m misreading these numbers, please correct me.)

[1] appropriations.senate.gov/imo/

[2] reuters.com/world/europe/russi

12/

0
0
0
0

> In most cases, there’s a three-to-five-year window after a ruling party or leader or revolutionary brigade comes to power and asserts the right to arbitrarily detain and punish civilians. At some point toward the end of that window, a struggle typically begins over whether to massively expand the quasi-legal sites of detention into a more permanent system.

@inthehandsPaul Cantrell hachyderm.io/@inthehands/11599

0
我們生產力最低的時候,就是在寫程式(coding) https://codemanship.wordpress.com/2026/01/30/coding-is-when-were-least-productive/

文章主張,在「AI 時代」又浮現一個老迷思:把生產力等同於程式碼產量。作者以自己早年接案經驗說明「程式碼的價值不等於數量」:他在協助大型零售商升級 POS(Point Of Sale,銷售點系統)時卡在某個需求情境,原因是從未看過既有系統實際怎麼被店員使用。於是他直接走到分店出示識別證,請求旁聽流程;對方甚至帶他到樓上用於教育訓練與測試更新的「模型辦公室(model office)」實機演練。理解一打通,他回到辦公室只改了約三行程式碼,卻避免促銷折扣被套用錯誤,進一步可能替全國 250 家分店省下金錢與形象成本;若用「改了多少行」衡量,那天反而會被當成不夠努力。

這段經驗讓作者早早體會:有些程式碼值上百萬英鎊,有些一大坨卻一文不值;因此「寫程式」與「創造淨價值」不是同一件事。他甚至把 coding 視為一種「中斷」:你埋頭在 IntelliJ(JetBrains 的 IDE,整合式開發環境)敲鍵盤時,看不到現場、問不到人、也學不到問題本質,而且 IDE 並沒有任何快捷鍵能告訴你「正在寫錯的程式碼」。真正的生產力,發生在學習與回饋迴圈:走出座位去觀察、對話、釐清目標,或用快速釋出把使用者回饋拉回來驗證;若寫程式速度快過驗證速度,就會把一層層假設疊上去,越寫越偏。

在 Hacker News 的討論裡,不少人呼應「成果輸出」常只是思考後的落筆:有人形容 coding 是「一小時思考換來五分鐘輸入」,也有人追問「思考算不算 coding 的一部分」,指出很多工程師其實會透過寫出多個版本來探索解法。高票留言用一個腦洞實驗強化作者觀點:如果週末硬碟壞掉、最近寫的程式碼全被擦掉,你需要多久能重寫回來?那才是你一週真正花在「純輸入程式碼」的時間,其餘多半是在把自己「轉換成能寫出那段程式碼的人」;並拿做椅子的工匠對比,實體製造被毀後仍得投入不可避免的工時重做,凸顯軟體工作中「理解與學習」的比重。

同時也有質疑與延伸:有人表示從未見過主管以程式碼量逼產能,認為這是稻草人;也有人引用「用程式碼行數衡量進度,就像用重量衡量造飛機進度」的名言,但被糾正常見誤傳(留言認為較接近 Bill Gates,而非 Dijkstra)。工具派則補充,輸入文字確實只占很小一部分,但像 vim(文字編輯器)的模式設計與快速跳轉能幫你更快「逛」程式碼、維持專注,並不只是炫技。談到 AI 與 LLM(大型語言模型,Large Language Model)時,有人認為大眾把 LLM 的輸出稱作「思考/推理」助長了「AI 會完全取代工程師」的誤解;也有人樂觀覺得 AI 輔助寫程式會讓人更看清多層企業架構的冗贅,甚至可能動搖部分框架(如 Spring、Angular)的必要性,因為像「加上記錄(logging)」這類橫向需求成本被壓到很低,但也有人提醒:人類仍可能繼續發明更複雜、更玄學的架構。另有討論提到 Claude Code(Anthropic 的 AI 程式助理)若加上護欄與回饋,或許能像資深工程師一樣快速定位問題,但也可能在複雜舊系統語意混亂時陷入鬼打牆;而手寫與長期維護所累積的「對系統的直覺」仍是難以被輕易替代的價值。

https://news.ycombinator.com/item?id=46832625
0
0
0
0
1
0
0
0

My neighbors definitely do not think this is more of the same. You don’t have to take my word for it. Look at how many Somali and Latin-American restaurants were thriving in November and now are closed, or getting almost no business if they are taking the risk of staying open. Look at how many kids are staying home from school — regardless of legal status, just because of the color of their family’s skin. Look at how many families are living in houses filled with dirty laundry because they won’t even take the risk of leaving the house to go to the laundromat.

My neighbors are living in •terror•.

If it’s more of the same, why did all of this suddenly change in the last two months?

14/

0
0
0
0
我們生產力最低的時候,就是在寫程式(coding) https://codemanship.wordpress.com/2026/01/30/coding-is-when-were-least-productive/

文章主張,在「AI 時代」又浮現一個老迷思:把生產力等同於程式碼產量。作者以自己早年接案經驗說明「程式碼的價值不等於數量」:他在協助大型零售商升級 POS(Point Of Sale,銷售點系統)時卡在某個需求情境,原因是從未看過既有系統實際怎麼被店員使用。於是他直接走到分店出示識別證,請求旁聽流程;對方甚至帶他到樓上用於教育訓練與測試更新的「模型辦公室(model office)」實機演練。理解一打通,他回到辦公室只改了約三行程式碼,卻避免促銷折扣被套用錯誤,進一步可能替全國 250 家分店省下金錢與形象成本;若用「改了多少行」衡量,那天反而會被當成不夠努力。

這段經驗讓作者早早體會:有些程式碼值上百萬英鎊,有些一大坨卻一文不值;因此「寫程式」與「創造淨價值」不是同一件事。他甚至把 coding 視為一種「中斷」:你埋頭在 IntelliJ(JetBrains 的 IDE,整合式開發環境)敲鍵盤時,看不到現場、問不到人、也學不到問題本質,而且 IDE 並沒有任何快捷鍵能告訴你「正在寫錯的程式碼」。真正的生產力,發生在學習與回饋迴圈:走出座位去觀察、對話、釐清目標,或用快速釋出把使用者回饋拉回來驗證;若寫程式速度快過驗證速度,就會把一層層假設疊上去,越寫越偏。

在 Hacker News 的討論裡,不少人呼應「成果輸出」常只是思考後的落筆:有人形容 coding 是「一小時思考換來五分鐘輸入」,也有人追問「思考算不算 coding 的一部分」,指出很多工程師其實會透過寫出多個版本來探索解法。高票留言用一個腦洞實驗強化作者觀點:如果週末硬碟壞掉、最近寫的程式碼全被擦掉,你需要多久能重寫回來?那才是你一週真正花在「純輸入程式碼」的時間,其餘多半是在把自己「轉換成能寫出那段程式碼的人」;並拿做椅子的工匠對比,實體製造被毀後仍得投入不可避免的工時重做,凸顯軟體工作中「理解與學習」的比重。

同時也有質疑與延伸:有人表示從未見過主管以程式碼量逼產能,認為這是稻草人;也有人引用「用程式碼行數衡量進度,就像用重量衡量造飛機進度」的名言,但被糾正常見誤傳(留言認為較接近 Bill Gates,而非 Dijkstra)。工具派則補充,輸入文字確實只占很小一部分,但像 vim(文字編輯器)的模式設計與快速跳轉能幫你更快「逛」程式碼、維持專注,並不只是炫技。談到 AI 與 LLM(大型語言模型,Large Language Model)時,有人認為大眾把 LLM 的輸出稱作「思考/推理」助長了「AI 會完全取代工程師」的誤解;也有人樂觀覺得 AI 輔助寫程式會讓人更看清多層企業架構的冗贅,甚至可能動搖部分框架(如 Spring、Angular)的必要性,因為像「加上記錄(logging)」這類橫向需求成本被壓到很低,但也有人提醒:人類仍可能繼續發明更複雜、更玄學的架構。另有討論提到 Claude Code(Anthropic 的 AI 程式助理)若加上護欄與回饋,或許能像資深工程師一樣快速定位問題,但也可能在複雜舊系統語意混亂時陷入鬼打牆;而手寫與長期維護所累積的「對系統的直覺」仍是難以被輕易替代的價值。

https://news.ycombinator.com/item?id=46832625
0
1
0
0
0

so maybe more complex interactions are also possible, like drag and drop (i have that working), main/detail, lazy stuff, probably forms and stuff. but then mutation/invalidation is pain and serious routing, if needed, may be a pain too. and choosing primitives seems high stakes if people start using

0
0
0

if you can have infinite scrolling, it probably means you can do other stuff. i have <Tabs> taking an array of route matches so it can "catch" at:// <Link> clicks on "posts" and show the nsid associated with the route match. like your own Post component or whatever.

0
0

for example i really like my <List> that just takes an array of at-uris for items, an nsid for the component per row. i'm not sure if i'm keeping that but its loadMore prop is just another <List> with next cursor as a prop. so you can have infinite scrolling while keeping everything declarative

0
0
0

[손솔 수석대변인 서면브리핑] 세종호텔 해고노동자 강제연행 규탄, 즉각 석방하라. jinboparty.com/pages/?p=15&... 이재명 정부는 그간 노동의 가치를 존중하고 대화를 통한 갈등 해결을 강조해 왔습니다. 그렇기에 이번 공권력 투입과 연행 소식은 현장의 평화적 해결을 기다려온 이들에게 큰 충격을 주었습니다. 지금 필요한 것은 갈등을 증폭시키는 물리적 조치가 아니라, 김영훈 노동부 장관이 약속했던 '문제 해결을 위한 적극적인 중재'입니다.

0
0

平井卓也氏が伊藤穰一氏の応援動画を上げているのビビった。本当にビビった。今それできるの凄い。何観情報見ていないのか、見ていてそれなのか、エプスタインファイルが公開されたことを問題視していないのか(それも凄い)。タガが外れすぎている。

0
0
0
0
0

Silverkey | 은열쇠 shared the below article:

Canon’s Camera Business Grew Last Year and Shows No Signs of Slowing

PetaPixel | Photography and Camera News @petapixel.com@web.brid.gy

A modern glass office building with the red Canon logo on the upper facade, set against a blue sky with some clouds.

Canon recently released its fiscal year 2025 financial results, which are primarily positive for the company's substantial imaging division. Total sales for the imaging business unit were up year over year, and Canon expressed optimism about the state of the photography industry.

[Read More]

Read more →
0

Our Zine About Is Here

We are very proud to present 404 Media’s zine on the surveillance technology used by and Enforcement. While we have always covered surveillance and , for the last year, you may have noticed that we have spent an outsized amount of our attention and time reporting on the ways technology companies are powering Donald Trump’s raids.

404media.co/icezine/

0

Our Zine About Is Here

We are very proud to present 404 Media’s zine on the surveillance technology used by and Enforcement. While we have always covered surveillance and , for the last year, you may have noticed that we have spent an outsized amount of our attention and time reporting on the ways technology companies are powering Donald Trump’s raids.

404media.co/icezine/

0
0
1

github.com/philippe44/AirConne really does work extremely well other than that if you run it somewhere with multiple IP addresses it potentially picks the wrong address and then everything is weird because devices see the mDNS broadcasts but can't connect to the device

0
1
0
0

I've been in Europe for almost a week and I keep waking up at 3AM. It's not helped that I have had deadlines to meet every single day, so that I've been doing work or homework during these late night sessions. And I've also been napping during the afternoons. I'm sure I'll get on a timezone-appropriate 16/8 cycle just in time to fly back to Montreal.

0

I've been working (well, whenever I have the time between work and my child) on a Mastodon client called Coho (coho.place)! This is based on an old client I built a few years back, but completely rebuilt with a new name, etc. Coho is still early and you will encounter bugs, but if you're looking for a fast, cross-platform, fully featured Mastodon app that just works anywhere and everywhere, even when offline or on a slow network, Coho is what you're looking for! And, it's open source: github.com/jgw96/Coho

0

for caching a neat thing you can do (as i saw in Next.js) is to always call components with unresolved nested components, sort of opaque slots, which makes the output cacheable independently from the opaque inputs. lets you cache even things that wrap other things

0
1