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

관측되지 않는 무리수의 사랑? 복소평면 그래프의 허수해? ㄴㄴㄴ 이 방정식에는 정수해가 있다. 이 그래프는 교점을 지나게 되어있다. 명백하게. 이쯤되면 저 78자리 정수해 문제가 사실 79권째에 사랑이 온다는 복선이 아니었는지 따져묻고 싶어짐

0
0
0
0
1
1
0

【健之堂袪濕茯苓艾草貼特約】抹茶飲品近年在歐美地區迅速走紅,成為不少咖啡店與飲品店的「人氣王」,惟同時亦為年輕族群帶來新煩惱。一項最新調查顯示,較以往常見的紅酒或咖喱污漬,Z世代現時最頭痛的,竟是衣物不慎沾上抹茶。

國際企業 聯合利華 今年調查2,000名英國市民的洗衣習慣,結果發現多達39%的Z世代受訪者表示,抹茶是最難清除的衣物污漬,比例高於氣泡酒(38%)及辣醬(34%)。若以整體受訪者計,紅酒及咖喱仍然是最棘手的兩大污漬來源。

調查同時反映年輕一代家務經驗不足的現象。受訪Z世代之中,高達91%表示,當衣物留下明顯污漬且無法處理時,會選擇直接丟棄,反映不少人對基本清潔及護理衣物缺乏信心。

聯合利華洗衣產品研發總監 Donna Macnab 指出,抹茶顏色鮮明,其所含的葉綠素容易滲入纖維,令污漬更難去除。她建議,正確處理方法應先以清水沖走表面污漬,再將衣物浸於加入沐浴露或肥皂的冷水中,最後再放入洗衣機清洗,以減低色素殘留。

Macnab 亦表示,隨着飲食潮流轉變,產品配方亦會因應新興色素或殘留物作出調整,務求緊貼生活習慣變化,協助消費者更有效處理衣物清潔問題。

May be an image of text that says 'KN eHи 英國洗衣調查發現 發 英 洗 衣 調 合 現 抹茶成最難洗污漬 逾9成Z世代試過倒瀉 因不懂處理索性棄衫 只限12月27日! 只限12月27日!一· 時時時間平買2送1 健之堂 健之堂出位價 出位價 NEDAYSPECIAL 買2送1 $ 平均 45 每件'
0
0
0
1
0
3
0
0
0
0

Greta Thunberg was arrested today at the Prisoners for Palestine protest outside Aspen Insurance, which insures Israeli arms firm Elbit Systems.

Police detained her under the Terrorism Act for holding a sign supporting Palestine Action prisoners and opposing genocide. Hunger strikers demanded Elbit’s shutdown and the lifting of the ban, saying that if the government won’t act, the people will.

0
1
1
0
0
3

Licensing all my code under MIT + Trans Rights is a fun and silly little thing. I don't understand the consequences of

The above copyright notice, this permission notice, and the affirmation that TRANS RIGHTS ARE HUMAN RIGHTS shall be included in all copies or substantial portions of the Software.

Nor do I have the means to even bring consequences. But it's a silly little thing that might be a legal problem for someone else anyways.

0
0
1
0
3
0

Here's a API design challenge I'm working on: adding async support to (CLI argument parser) without breaking the existing sync API.

The tricky part is combinators—when you compose parsers with object() or or(), the combined parser should automatically become async if any child parser is async, but stay sync if all children are sync. This “mode propagation” needs to work at both type level and runtime.

I've prototyped two approaches and documented findings. If you've tackled similar dual-mode API designs, I'd love to hear how you approached it.

https://github.com/dahlia/optique/issues/52

2

Today's entry is my podcatcher, castget(1). I've used several CLI podcatchers over the years, changing mostly because hpodder (my then-favorite) became deprecated and dropped out of repos, so I had to find a replacement.

Configuration is a simple INI-style file, it allows me to post-process files (certain ones I cut off the 7-minutes of advertising at the beginning, customize ID3/ID3v2 tags), and give them a naming-convention that works for how I listen.

It runs nightly from cron(8) downloading to my queue directory-tree, emailing me the resulting output, and saves its state in files that can be fairly easily tracked in version-control (annoyingly it doesn't sort them, so every run mangles them, but a little processing with vim makes quick work of them, meaning the resulting diff output is just the new podcasts and a top-level timestamp change, not a complete remunging of the file). About every 3–4GB of queued-up files, I've usually reached the ones on my player/phone, delete those, and replace them with the fresh queue. It does mean that news podcasts are largely worthless because there could be a 3–4wk lag between when the episode releases and I eventually catch it in my player.

It's simple, it works, and it plays well with the rest of my ecosystem. I like it.

0
0
0
0
0
1
1
0
0
0
1
0
0
0
0
1
0
0
0
0
1