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

too many programmers tell other programmers not to roll their own. not me. go ahead and implement that thing! it's fun! you control the stack! you learn a lot! don't tell me not to implement something myself because then I will probably do it out of spite.

0
7
0
0

to follow up on my weekend shenanigans, I wrote a blog post on "Diffing and Comparing Guix Derivations Using Breadth-first Search & Jaccard" and pushed to theesm/diff-drv (on codeberg) in case someone else finds this useful.

me.literatelisp.eu/hacklog-dif

0

did some evening hacking on my derivation diff utility and experimented with the output format a bit more. It now shows whether an input has been added, removed or updated and if updated whether that's because of a version bump (v) or a hash change without a version bump (h). Haven't pushed the current version to codeberg yet, as I'm still trying out new ideas, learning about more and more internals that simplify what I'm trying to do along the way, and the codebase is a mess because of that! (hope to abandon this hacky learning project utility in favor of a prospective guix store diff command in guix proper one day)

a screenshot showing the output of my drv-diff utility diffing two derivations of the IRC client senpai. It shows:

A (senpai-0.4.1.drv): 629 (only A: 19, shared: 610 = 96.98%)
B (senpai-0.4.1.drv): 634 (only B: 24, shared: 610 = 96.21%)
A ∪ B: 653 |  A ∩ B: 610 |  Diff: 43 | IoU: 0.9342 93.42%

and it also shows a diff-tree that tries to give context why exactly the derivation DAG has changed.
0
0
0
0

did some evening hacking on my derivation diff utility and experimented with the output format a bit more. It now shows whether an input has been added, removed or updated and if updated whether that's because of a version bump (v) or a hash change without a version bump (h). Haven't pushed the current version to codeberg yet, as I'm still trying out new ideas, learning about more and more internals that simplify what I'm trying to do along the way, and the codebase is a mess because of that! (hope to abandon this hacky learning project utility in favor of a prospective guix store diff command in guix proper one day)

a screenshot showing the output of my drv-diff utility diffing two derivations of the IRC client senpai. It shows:

A (senpai-0.4.1.drv): 629 (only A: 19, shared: 610 = 96.98%)
B (senpai-0.4.1.drv): 634 (only B: 24, shared: 610 = 96.21%)
A ∪ B: 653 |  A ∩ B: 610 |  Diff: 43 | IoU: 0.9342 93.42%

and it also shows a diff-tree that tries to give context why exactly the derivation DAG has changed.
0
0
1
0

요샌 중국분들이 이걸 또 배워와서 흉내내고 있던데 아 좀 ㅠㅠ 하여간 이게 다 미국이나 중국내에서도 여러 다른 사람들이 있고 지역도 넓고 그러다보니 온갖 것들이 다 나오는것인데 당한 사람들은 끔찍하죠... 하여간 여러모로 휩쓸리지 않으려고 노력하는 수 밖에 없지 않나 싶습니다... 정말 누구 말대로 감옥내 정치 상황과 비슷함...

0

미국인들 보면 매번 그럼다 자기네들이 전쟁 일으켜놓고 사람들 죽이고 가서 그리고 그거 주제로 또 뉴스내고 영화찍고 혼자서 아주 온갖 생쇼를 다 하고 있음;; 베트남전 생각해보시면 베트남 사람들 이야기는 안나오고 거기갔다온 미국 사람들 이야기만 줄창 나오고 등등... 그래서 미국이 끼는 전쟁은 가급적 안하는것이 가장 좋습니다 그냥 여러모로 참 지저분함;;

0

|法官保證案件有趣且重要

經貿辦間諜案今日完成第一日的審訊,法庭仍未完成遴選陪審團,明天繼續。

女法官Cheema-Grubb向候選陪審員提及本案時,保證案件“interesting and important”,但提醒他們不要在網絡上搜尋有關被告的報道或名字,所有資訊應以庭內所聞為依歸。

遴選程序由50人填寫問卷開始,其中有問及各人跟中國、台灣及香港的聯繫等等,再在其中抽選30人,及後再將人數減至21人,明天將再抽出14人組成陪審團。

法官亦透露,案件預計要審理6至7周,請陪審員預留時間至5月初。

◾到《綠豆》網站了解案件自2024年5月起的發展:bit.ly/3Oku4Vx

******************
資訊有價 🌱 請支持《綠豆》營運|bit.ly/SupportGBM

最新❗成為《綠豆》YouTube 會員|bit.ly/YTMemberGB...

instagram.com/p/DVZDs7IjNrY/

0

today my personal challenge is to just sit with my sadness about various things (including "AI") and not project it all into socially-acceptable male-coded feelings like anger and disdain

0

🙄 South Korean Police Lose Seized Crypto By Posting Password Online

「 The operation originally resulted in the confiscation of crypto holdings worth about 8.1 billion won, or roughly $5.6 million. However, officials later issued a press release to showcase these efforts in recovering delinquent taxes, and the release included photographs of Ledger hardware wallets taken into custody along with handwritten notes that displayed the wallet seed phrases 」

0
0
0
0
0
0
3
0

Another Monday, another ! In this week's round-up review of open source Rust PRs for the game engine I help maintain, we have 6 digressions on DAG-style ordering, what a white furnace test is, the value of "fix-it in follow-up" and how much to test!

gist.github.com/alice-i-cecile

0

In space year 2026, it is *still* illegal to rip a CD you bought with your own money to play the resulting MP3s (or whatever) on your computer. That is not considered fair use.

But if the UK government gets its way (and it will – it has a massive majority, despite winning only a third of the popular vote), AI companies eating all of our creative work for free, forever, soon will be.

Fuck off, Labour.

0

あー。弊ぼっちの盲腸idenity proofのテストが落ちています。あー。

1) WellKnown::KeybaseProofConfigController GET renders json
Failure/Error:
raise ViteRuby::MissingEntrypointError.new(
file_name: resolve_entry_name(name, **),
last_build: builder.last_build_metadata,
manifest: '',
config: config
)

ViteRuby::MissingEntrypointError:
Vite Ruby can't find images/logo_transparent_black.svg in the manifests.
:

0
0

I'm using my own NSWindowController with a SwiftUI view as the root view of an NSWindow, and I'm trying to figure out how to use @Environment (or something else) to change a value in the NSWindowController and let the SwiftUI view act accordingly.

The window does work and displays properly, but I can't figure out how to change the state from within my NSWindowController update method.

If anyone has any tips I'd be appreciative.

0
0
0
0
0

Trying to spend more time on Mastadon. Who do I need to follow to better track US politics, Ukraine and The Middle East/Iran?

Repost for better signal boost?

I’m Tim, I run The Counteroffensive, on Ukraine, and Iran War Dispatches, which launched on Saturday!

www.iranwar.news

0
42
0
0
0
0
0
0
0

It's the start of March in Toronto, so of course the stream of cold air flowing past my glasses made my eyes hurt on today's bike commute (and made me definitely go slower than usual).

Then later this week we're scheduled to get rained on and even hit 10C.

0
0
0
0
0
0
0
0
0
0
0
0
7
0

UK age verification public consultation, call to action

The UK Government has launched a public consultation which is seeking views on whether to ban children from using social media. This consultation will run until 26 May 2026.

It is highly likely that later this year, the establishment will attempt to introduce legislation which forces social media platforms (potentially including Mastodon) and VPNs to verify the age of their users. Therefore, this consultation is likely to be the only opportunity we will have to push back against these authoritarian measures.

Please take the time to read the consultation and answer the questions (especially if you are the parent or carer of a young person):
gov.uk/government/consultation

0
9
0
0
0