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

🌕 Django 6.0 重大更新:範本局部元件與背景任務框架
➤ 深入解析 Django 6.0 的範本局部元件與任務框架技術細節
adamj.eu/tech/2025/12/03/djang
Django 6.0 重磅登場,為這款 20 歲的 Python 網頁框架帶來了諸多新功能。其中最引人注目的包括範本語言新增的「局部元件」(partials) 功能,讓開發者能更輕鬆地封裝和重複使用範本中的小片段,並大幅簡化了程式碼的維護。此外,Django 6.0 還引入了內建的「任務框架」(Tasks framework),讓開發者能夠將非 HTTP 請求週期的程式碼(如寄送郵件、處理資料)卸載到背景工作執行,解決了長期以來 Django 在背景任務處理方面的不足,可望藉由第三方套件提供更完善的解決方案。
+ 太棒了!局部元件聽起來能省下大量重複的範本程式碼,尤其在維護大型專案時肯定很有幫助。期待它的廣泛應用。
+ 終於有內建的任務框架了!之前都得仰賴 Celery 這些複雜
開發

0
0
1
0
0
0
0
0
0

Street Art Utopia shared the below article:

Made You Smile Again (8 Photos)

STREET ART UTOPIA @streetartutopia@streetartutopia.com

Hidden creatures on brick walls, a snow-sculpted Batman on a city sidewalk, playful shadows in California and bright colors under a pedestrian tunnel. This collection brings together small surprises and lighthearted ideas from streets around the world. More below. More: Made You Smile (10 Photos) 1. Nadine Listens to the Grapevine — David Zinn in Michigan, USA A small mouse peeks out from behind a green curtain painted directly onto a brick wall, surrounded by leaves and climbing vines. […]

Read more →
0
0
0
0
0
0
0
0
0
0
0
0

In Deutschland lassen wir bekanntlich alles von Profis prüfen, warum also nicht auch rechtsextreme Parteien?

📣 Demo für die Prüfung rechtsextremer Parteien
📆Samstag 13.12. 14 Uhr
📍Stephansplatz, Hamburg

Wir freuen uns, dass Florentine Osche die Demo diesmal moderieren wird! Dazu gibt es Musik von Kettcar und ein Singalong mit dem Ernst-Deutsch-Theater! Und @nicosemsrott ist auch irgendwie dabei. (1/3)

Foto von einer PRÜF-Demo, auf dem ein Demoschild mit dem Text „PRÜFEN!“ zu sehen ist.   Außerdem der Text:  „Demo für die Prüfung rechtsextremer Parteien  14 Uhr Stephansplatz 13.12.“  Oben rechts ist das Logo „PRÜF HEUTE SCHÜTZ MORGEN“ zu sehen
0

In Deutschland lassen wir bekanntlich alles von Profis prüfen, warum also nicht auch rechtsextreme Parteien?

📣 Demo für die Prüfung rechtsextremer Parteien
📆Samstag 13.12. 14 Uhr
📍Stephansplatz, Hamburg

Wir freuen uns, dass Florentine Osche die Demo diesmal moderieren wird! Dazu gibt es Musik von Kettcar und ein Singalong mit dem Ernst-Deutsch-Theater! Und @nicosemsrott ist auch irgendwie dabei. (1/3)

Foto von einer PRÜF-Demo, auf dem ein Demoschild mit dem Text „PRÜFEN!“ zu sehen ist.   Außerdem der Text:  „Demo für die Prüfung rechtsextremer Parteien  14 Uhr Stephansplatz 13.12.“  Oben rechts ist das Logo „PRÜF HEUTE SCHÜTZ MORGEN“ zu sehen
0
0
0
0
0
0
0

Made You Smile Again (8 Photos)

STREET ART UTOPIA @streetartutopia@streetartutopia.com

Hidden creatures on brick walls, a snow-sculpted Batman on a city sidewalk, playful shadows in California and bright colors under a pedestrian tunnel. This collection brings together small surprises and lighthearted ideas from streets around the world. More below. More: Made You Smile (10 Photos) 1. Nadine Listens to the Grapevine — David Zinn in Michigan, USA A small mouse peeks out from behind a green curtain painted directly onto a brick wall, surrounded by leaves and climbing vines. […]

Read more →
0
0
0

We are looking for more co-organisers to join the team!

is an annual self-organised conference on privacy and digital rights. People from across Europe and beyond come together in Brussels to advocate for freedom in the digitalized world, plan actions against attacks on civil liberties and increasing surveillance, and seek discussions with decision-makers.

Interested? Find more information here and don't hesitate to reach out!

freedomnotfear.org/2026/call-f

Sharepic Freedom Not Fear "Call for Co-Organisers"
0
0
0
0

I find it frustrating that macros can't accept evaluated static stings:

static let code: StaticString = "doSomething()"
@ Macro(code) // should take "doSomething()" instead of "code"

StaticString is known at compile time and is immutable, so intuitively it should be allowed to evaluate and be equivalent to
@ Macro("doSomething()")

This would enable some powerful and elegant code gen APIs.

0

おうちインターネットはドイツで職場にダイヤルアップからかなあ。その後一瞬日本に居た間はAirH"のPCMCIAカードで、その後ハワイに引っ越してからは、えーと…、MomongaのビルドをできてたからきっとすぐにADSLがつながったんだろうな。そのうちテレビ地上波が止まってケーブルテレビつないで電話会社が買収で不安定になった機会にインターネットをケーブルに移したんだっけな…。その後放っておいたらいつの間にかIPv6が開通しててありがてえありがてえ

0
0
1
0
0
0
0

まぁ実用性あるかは微妙

この設計だとデータリポジトリとインスタンスに相当する部分は分かれててデータリポジトリはユーザーが所有できる想定なので (理論上はデータリポジトリもインスタンスに統合できるけど)

0

AI really is like heroin, isn’t it? The first wrap is given for free and is oh so delicious. (don’t think of the supply chain issues or how it impacts people - just enjoy the effects). You’re hooked. It’s part of your life. Such amazing hallucinations! And then the dealers start getting mean and demanding money…

0
0
0
0
0
0
1
0
0
1