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

ぼーっと銀行に現金寝かせてる人が知らん間に負けていく世界​:meowflushed:
そのくせ投資した人をずるいとか言って足を引っ張る世界
:meowflushed:

0
1
1
0
1
0
0
0

matoken @matokenmatoken :fox: さんが記事を書いてたsnacだけど告知ボットによさそう。Bridgy Fedで連携できるのかな? BlueSkyは使う気ないけどブリッジできるなら両方に流せていいかもと思った

さくらのVPSで試す、軽量ActivityPub実装「snac」によるセルフホストSNS構築 | さくらのナレッジ: knowledge.sakura.ad.jp/48228/

0
0

🎄 Manyfold v0.130 is out, with a grab bag of small features, bugfixes, design tweaks, and performance improvements.

There's also a lot of groundwork in there for some new features that will launch properly in the new year, so stay tuned!

🗞️ Full release notes: manyfold.app/news/2025/12/19/r

🌍 Join a public server: 3dprint.social

❤️ Support us on OpenCollective: opencollective.com/manyfold

🏷️ @3dprinting

0

The European Commission lost the Chat Control 2.0 battle over access to end-to-end encrypted data. By the summer 2026, they will be back with their next attempt: Going Dark. This time some EU member states want to include VPN services.

The Going Dark initiative, or ProtectEU as the Commission now calls it, wants to “enable law enforcement authorities to access encrypted data in a lawful manner”. This is a Chat Control 3.0 attempt.

The EU Commission and several member states are also looking for new rules on data retention. In a new ”Presidency outcome paper”, the member states discuss metadata retention: which websites you visit, and who is communicating with whom, when and how often. The ambition is “to have the broadest possible scope of application” and this time some member states also want the proposal to include VPN services.

0
0
0
0
1
0

RE: mastodon.social/@Gargron/11573

I'll elaborate. I believe we're in an AI bubble. AI companies are pushing the overton window on AI discourse. They want the most extreme anti-AI sentiment to be "Sure, it's an overhyped technology right now but there will be reasonable applications down the road". I want to see pushback on this. It doesn't matter if I can disable some AI feature in the settings. The fact that Mozilla is jumping on this bandwagon is deeply disappointing to me.

0
38
1
1
0
0
0
1
0
0
1
0

When writing asserts in tests, do you put the actual first or the expected?

The convention seems to be: actual first. But, annoyingly, I need to rearrange them to check if an expected is _in_ an actual which I tend to do a fair amount.

Maybe that's a testing code smell. Or maybe I'm just overthinking this. 😅

# actual first
assert actual == expected

# expected first
assert expected == actualexpected = 2
actual = [1, 2, 3]

# this reads well, but expected is first
assert expected in actual

# this seems messy?
assert actual.index(expected) > -1
0
3

[台北車站擲煙霧彈男子墜樓送醫 逃逸過程隨機攻擊釀4重傷【不斷更新】⸺中央社](cna.com.tw/news/asoc/202512190)

"台北車站今天發生遭丟擲煙霧彈事件造成1人重傷、1人嗆傷,台北市長蔣萬安前往現場了解狀況後表示,犯嫌做案逃逸過程隨機傷人共釀9傷,其中4人重傷。"

//四人重傷!攻擊者已跳樓,被捕送醫。

0
2

It's actually pretty wild how far @loops has come this year.

- New Project website (joinloops.org)
- Server open sourced (codeberg.org/loops/loops-server)
- New mobile app (github.com/joinloops/loops-expo)

Not to mention the new For You algorithm or other features, we're on target and with perfect timing, to take on TikTok US disgruntled users!

0
0
0
0

Mくん(若い移住者)は、自分の商売のための小規模なサイトを持っているのだが、聞いてみると、WordPress なんかは使わずに HTML, CSS, JavaScript を直打ちした静的なサイトだと言う。

「ChatGPT に頼んだら簡単でした」と言う。

目から鱗が落ちた。

写真と文章さえ準備すれば、それで出来ちゃうんだ。癖の強い WordPress の使い方を四苦八苦して学習する必要なんか無いんだ。

サイトの規模にもよるけれど、WordPress のように PHP やデータベースを使わずに HTML/CSS/JavaScript で静的にページを生成する方が圧倒的に軽いから、パフォーマンス的にも理に適っている。

そう言えば、ChatGPT も、最近の大手のサイトでは CMS (Contents Management System) で動的にページを生成するのではなく、静的なページを使っている場合も増えてきましたよ、って言ってたな。

0
0