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
1

🌖 美國以國家安全為由,下令暫停所有海上風電場施工
➤ 機密國防報告成阻礙?美國海上風電建設全面凍結
arstechnica.com/science/2025/1
美國內政部突然宣佈,暫停正在施工中的五個海上風電場的執照。此舉令人意外,因為這些計畫已投入大量資金和硬體,有些甚至接近完工。內政部將此決定歸因於國防部的一份機密報告,該報告指稱海上風電可能對國家安全構成威脅,但具體細節並未公開。此舉已引發相關州政府和開發商的強烈不滿與法律挑戰,質疑其合法性與決策的依據。
+ 這種以「機密」為由的決策,讓人不禁懷疑背後是否有其他政治動機。這麼大的投資說停就停,對產業和能源轉型的影響太大了。
+ 雖然對國家安全感到憂慮是合理的,但應公開透明地解釋原因,並提供替代方案,而不是這樣一刀切。對已經投入的廠商來說,簡直是晴天霹靂。

0

The Illustrated Transformer

Discussions: Hacker News (65 points, 4 comments), Reddit r/MachineLearning (29 points, 3 comments) Translations: Arabic, Chinese (Simplified) 1, Chinese (Simplified) 2, French 1, French 2, Italian, Japanese, Korean, Persian, Russian, Spanish 1, Spanish 2, Vietnamese Watch: MIT’s Deep Learning State of the Art lecture referencing this post Featured in courses at Stanford, Harvard, MIT, Princeton, CMU and others Update: This post has now become a book! Check out LLM-book.com which contains (Chapter 3) an updated and expanded version of this post speaking about the latest Transformer models and how they've evolved in the seven years since the original Transformer (like Multi-Query Attention and RoPE Positional embeddings). In the previous post, we looked at Attention – a ubiquitous method in modern deep learning models. Attention is a concept that helped improve the performance of neural machine translation applications. In this post, we will look at The Transformer – a model that uses attention to boost the speed with which these models can be trained. The Transformer outperforms the Google Neural Machine Translation model in specific tasks. The biggest benefit, however, comes from how The Transformer lends itself to parallelization. It is in fact Google Cloud’s recommendation to use The Transformer as a reference model to use their Cloud TPU offering. So let’s try to break the model apart and look at how it functions. The Transformer was proposed in the paper Attention is All You Need. A TensorFlow implementation of it is available as a part of the Tensor2Tensor package. Harvard’s NLP group created a guide annotating the paper with PyTorch implementation. In this post, we will attempt to oversimplify things a bit and introduce the concepts one by one to hopefully make it easier to understand to people without in-depth knowledge of the subject matter. 2025 Update: We’ve built a free short course that brings the contents of this post up-to-date with animations: A High-Level Look Let’s begin by looking at the model as a single black box. In a machine translation application, it would take a sentence in one language, and output its translation in another.

jalammar.github.io

0

I wanted to celebrate that in the last 24 hours, we have had 3 corporate member applications. I don't know if there will be time to get them into this year's fundraising drive, but funding is long term. If your company is able, please apply: djangoproject.com/foundation/c

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

Wow, got really burned by Apple’s terrible documentation. The App Attest API exists on macOS, but DCAppAttestService.isSupported just returns false with no indication why. I thought I had misconfigured something.

The only hint that App Attest is not actually supported on macOS is that there is no App Attest capability entitlement when you click around in Xcode for macOS, only for other platforms.

0
0

Thank you to all the partners, speakers and participants who made 2025 a wonderful year for our community.

Now it's time for a small break over the holidays and we'll return with the first meetup of 2026 on January 15th!

Check out the full spring calendar at archipylago.dev/ and join us! If you're interested in giving a talk, get in touch!

archipylago.dev/blog/merry-chr

0

I wanted to celebrate that in the last 24 hours, we have had 3 corporate member applications. I don't know if there will be time to get them into this year's fundraising drive, but funding is long term. If your company is able, please apply: djangoproject.com/foundation/c

0
0
0
0
0
0
0
0
0
0
0
0
0
0

Just released the 0.15 version of the Rust askama crate (which handles jinja templates at compile-time).

The full changelog is here: github.com/askama-rs/askama/re

It comes with a crazy amount of new stuff, like support for templating on enum variants, or the beginning or better compilation errors (in some cases it actually shows you in the template where the bug is!).

We also extended what Rust expressions you can use in the templates and made a lot of performance improvements (to reduce compile-time).

Enjoy!

crates.io/crates/askama

0

うわっ…私の心拍数、高すぎ…?と思ったけどむかあし走ったマラソンの時の心拍数は記録されてないね。

ソフトウェアエンジニアのおっさんが長距離走る (2026年はどうしよう)
https://sizu.me/zundan/posts/a97sxu2nutrz

0

Doing an overdue round of issue/pull requests on courses. Just a friendly bump that I have two completely free Python courses:

github.com/dabeaz-course/pract
github.com/dabeaz-course/pytho

A few notable features:

- Previously taught hundreds of times to groups of real people in-person.
- Creative Commons.
- No ads, subscriptions, or dark patterns.
- No AI.

0
0
0
0
0
0

What do you mean you don't obsessively count the number of chocolates in a tub of Celebrations every year and put the results into an Excel spreadsheet!?

Anyway, the 2025 results are in:
Bounty x5
Galaxy x5
Galaxy Caramel x5
Maltesers x5
Mars x9
Milky Way x9
Snickers x9
Twix x7

The tub itself has gone down another 50g since 2024 (100g since 2023!)

Hard to believe that I used to give this content to Zuckerberg for free, you're welcome Fediverse!

All the chocolates in a tub of Celebrations laid out in vertical lines by chocolate typeA pie chart with the different coloured sectors representing the number of each type of chocolate
0
0
0

Ich war heute in Augsburg bei der Veganen Fleischerei, deren vegane Leberkässemmeln mir auf der Weihnachtsinsel bereits große Freude bereitet haben. Ich hab eine Seitan-Fenchelsalami und gefüllte Kirschpaprika zum Probieren mitgenommen, die mich auch glücklich gemacht haben.

Im letzten Bild seht ihr einen veganen Rostbratwurst & Kraut Bagel, den ich mir bei Waltraud am Moritzplatz gegönnt habe.

Seitansalami in einer Plastikverpackung. Auf dem schlichten Etikett steht “Die Vegane Fleischerei: Keine Fenchelsalami”.

Das Logo ist der Kopf eines Schafs mit einem Hütchen auf dem das Vegan Logo prangt. Das Schaf kaut genüsslich auf einer Karotte.Gefüllte Kirschpaprika in Öl in einem Einmachglas. Auf dem schlichten Etikett steht “Die Vegane Fleischerei & Friends: Peppersweet gefüllt mit Frischcreme auf Kokosbasis”.

Das Logo ist der Kopf eines Schafs mit einem Hütchen auf dem das Vegan Logo prangt. Das Schaf kaut genüsslich auf einer Karotte.Eine Person hält die Hälfte eines Bagels mit veganer Rostbratwurst, Sauerkraut und Senf. Der Bagel ist in braunes Papier gewickelt.
0
0
0
0
0
0
0
0
0
0
0
0
0
0