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

Reading through the System Prompts / Hints that Xcode 26.3 injects into the agents is fascinating..and honestly is just helpful documentation to read…essentially concise examples of best practices and implementations recommendations.

Reminds me of the old programming "Guides" which apple used to publish alongside the main documentation which were more focused on how to use the API, than what it was.

There're in: Xcode.app/Contents/PlugIns/IDEIntelligenceChat.framework/Versions/A/Resources

0
0
0
0
0
0
0
0

I have deeply mixed feelings about 's adoption of JSON-LD, as someone who's spent way too long dealing with it while building .

Part of me wishes it had never happened. A lot of developers jump into ActivityPub development without really understanding JSON-LD, and honestly, can you blame them? The result is a growing number of implementations producing technically invalid JSON-LD. It works, sort of, because everyone's just pattern-matching against what Mastodon does, but it's not correct. And even developers who do take the time to understand JSON-LD often end up hardcoding their documents anyway, because proper JSON-LD processor libraries simply don't exist for many languages. No safety net, no validation, just vibes and hoping you got the @context right. Naturally, mistakes creep in.

But then the other part of me thinks: well, we're stuck with JSON-LD now. There's no going back. So wouldn't it be nice if people actually used it properly? Process the documents, normalize them, do the compaction and expansion dance the way the spec intended. That's what Fedify does.

Here's the part that really gets to me, though. Because Fedify actually processes JSON-LD correctly, it's more likely to break when talking to implementations that produce malformed documents. From the end user's perspective, Fedify looks like the fragile one. “Why can't I follow this person?” Well, because their server is emitting garbage JSON-LD that happens to work with implementations that just treat it as a regular JSON blob. Every time I get one of these bug reports, I feel a certain injustice. Like being the only person in the group project who actually read the assignment.

To be fair, there are real practical reasons why most people don't bother with proper JSON-LD processing. Implementing a full processor is genuinely a lot of work. It leans on the entire Linked Data stack, which is bigger than most people expect going in. And the performance cost isn't trivial either. Fedify uses some tricks to keep things fast, and I'll be honest, that code isn't my proudest work.

Anyway, none of this is going anywhere. Just me grumbling into the void. If you're building an ActivityPub implementation, maybe consider using a JSON-LD processor if one's available for your language. And if you're not going to, at least test your output against implementations that do.

2
12
1
0

Sometimes you can't wait, and just need to build it.

- fedidb.org - started off as an internal pixelfed debug service, but the stats pages were more used, so I spun out the debug to pubkit.net

- fediverse.info - needed a way to collect profiles for Pixelfed discovery via the hashtag

- respectfulplatforms.org - the fediverse lacked a charter of rights and principles

- webintents.net - easier sharing/following and onboarding

So build 🚀

0
0
0
0

Handy thing I just spotted coming to Python 3.15:

"The -W option and the PYTHONWARNINGS environment variable can now specify regular expressions instead of literal strings to match the warning message and the module name, if the corresponding field starts and ends with a forward slash (/).

"(Contributed by Serhiy Storchaka in gh-134716.)"

docs.python.org/3.15/whatsnew/

github.com/python/cpython/issu

0
0

About that $50k ICE "bonus"

Some people will do anything for money, or maybe they are just in dire situations. Anyway $50k to join ICE might tempt some people.

Well.

* It's not 50k it's 10k per year for five years. Big difference.
* It is a five year *commitment* bonus. You need to work the full five years OR you must pay it back.
* So if your work for 3 years then quit you owe them 30k! (money you may need for a lawyer)
* The first 10k will be about $6500 after taxes.

Just so everyone knows.

0
0
0

因為今日都係播廣東舊歌,佢又問下我呢首詞邊個寫,大家討論下兩個偉文當打之年嘅風格。

佢問我點分別兩個人嘅詞,我話Wyman嘅字嘅POV少啲委屈自己,所以佢會寫「你沒有好結果」,但夕爺嘅字係寧願痛自己都唔想搞到人地又或者怕自己騷擾到人,所以佢會寫「多我這個不多 我太好心還是太傻」。

至於鍾意邊個嘅詞多啲,係睇聽眾嘅性格,個人愚見,配得感低嘅人會易啲喺夕爺嘅詞入面搵到共鳴。

0
0
0
0

:linux: accounts to follow:

@gamingonlinuxLiam @ GamingOnLinux 🐧🎮 - Gaming news for Linux PCs and Steam Deck

@holarseHolarse - Spielen unter Linux - German-language Linux gaming site, online since 2000

@jugandoenlinuxwww.jugandoenlinux.com - Spanish-language Linux gaming news site

@gbryantGardiner Bryant (videos) & @gardiner_bryant (personal account) - Linux gaming news videos covering Steam Deck & PCs

@steamdeckhq - Unofficial Steam Deck site featuring optimisations, news etc

@lutris - FOSS retro gaming platform, incl. emulators & compatibility layers

🧵 1/2

0
0
0
0

This isn’t new news as such, but people keep being surprised by it, so it’s worth repeating. Substack hosts, profits from, and promotes explicitly Nazi content, and if you are adding value to that network, you are helping them to do so. theguardian.com/media/2026/feb

0
0
0
0
0
0

퀴어는 인구의 3~7%로 집계된다: 그렇군요 퀴어가 최 씨보다 많다: 그렇게나 많아?? 한 반에 3~40명이던 시절 기준 반에 최 씨가 최소 두어명은 있었으니까... 아 그렇게 많았나 싶고 아니 그리고 성씨 스케일 ← 너무 웃기고 너무 한국적이고 너무 한 번에 이해되는 게 웃김ㅋㅋㅋㅋㅋㅋ

RE: https://bsky.app/profile/did:plc:cjd35ypxjupse6g6btgbmmke/post/3mebflyc75k2x

1
0

@nightside @ohbeconHyrule :angrycat: 妹妹住的月子中心是24小時都有人照顧,會抱嬰兒起來哄或試圖滿足他們生理需求的,不會放著給他們哭。但是嬰兒晚上會醒幾次除了天生的習性(?)之外和身體狀況也有很大的關係,像是妹妹的小孩是出生不到2500克的超小型嬰兒,身上就是沒有足夠的熱量可以讓他睡得夠久且不會醒來(根據妹妹得到的知識,沒有5公斤前要睡過夜是物理上的不可能),加上對括約肌也還沒有控制力容易放個屁就噴屎,就算是在月子中心住滿一個月,體重追趕有限的狀況下剛出月中時每晚還是要起來五六次,但隨著體重上升狀況就有順利改善,現在兩個多月有時已經可以每晚只醒一次了。
另外覺得待在月中很有效的倒不是睡眠訓練而是減敏訓練,畢竟嬰兒旁邊一直會有其他嬰兒和工作人員,不會很安靜,護理師也有教導說不要因為旁邊嬰兒在睡覺就輕聲細語躡手躡腳,最好是保持正常的生活音量讓他們盡早習慣,才不會變成有一點聲音就醒來的難帶小孩。目前看起來是效果蠻好的~

@miau715Miau Huang @nightside @ohbeconHyrule :angrycat: 米奧說的「不要特別輕聲細語」我們也用過,滿有用的

一直以來的原則是盡量給他安全感,他覺得足夠了就會想自己嘗試一些東西,包括自己睡。就算現在,只要覺得怕怕或就是想過來睡,我們還是會讓他過來

然後當時曾一起商量過搬到自己房間睡的計畫,以他可以接受的方式漸進。我們把晚上分成前、中、後,一開始全程陪著,等他覺得可以了,再改成前、後(沒有中,也就是睡前跟早上醒來都看得到爸爸,中間醒來有機會看不到);再進步一點,只剩下前;然後再改成只剩下後;最後是完全自己睡。只要他覺得不安想回到上一個階段,我們就回去

0
0
0
0
0
0
0
1
0
0
0

Typing a lot causes flare ups of the health issues I’ve been having (and still getting to bottom of). The next day will usually consist of pins and needles and shooting pains up and down my arm.

And while LLMs are problematic for various reasons - LLMs plus modern voice recognition can really help me reduce my typing. I have to remember to force myself to use voice (muscle memory is a bitch), but it works extremely well when I do.

0
0

This is an immensely significant document that continues to get virtually no attention in US media—but lots abroad. In Jul 2015, Epstein arranged a meeting between a known highest-level Russian intel operative, Sergey Belyakov and Peter Thiel, the man who owns Palantir, a key contractor to the US intelligence community. Under US law, Thiel, as a holder of high level security clearances, was required to report this contact to USG. It does not appear he did so.

bsky.app/profile/robertscottho

0
0
0
0
1
0
0

1.0.0-rc-2 has been published. In this version, you can connect your domain to create your unique account identity. The first time, it will send a Move activity so you don't lose your followers/following. Then you will have an identity that no longer depends on the relays, and you'll be free to move between relays whenever you want.

More about custom domains: holos.social/custom-domains

Download: holos.social/signup

Release notes: codeberg.org/tom79/Holos-App/r

0
0
0

Well, that's a new one. 🤪

Saw somebody posting a huge diatribe on LinkedIn where she basically accused every "digital" artist of hypocrisy when they're critical of the slop machines, because these new generative algorithms are apparently no different than Photoshop or 3D animation software. "The computer automates all the work for you!"

? ??

??? ?

Pushed back on that ignorant argument and got castigated with more nonsense.

Blocked and moving on! 😂

They're really running out of arguments… 🙃

0

今回の選挙、どこがどれだけ勝ったかとかより、やっぱり投票率が気になるなぁ。虚しい選挙だとおもうし、希望持っていない人のほうが多いんじゃないかなという気がして、そうなら投票率上がらないんじゃないかな。これがすごい投票率高かったら、自分がなにか見誤っているんだろうけど。

0

⚠️ PSA for anyone still on the mastodon.cloud server, you might want to move off there ASAP.

The server's admin hasn't posted since February 2023 and the server software is so old it's no longer supported for security updates.

There have been cases of extreme abuse posted by mastodon.cloud members and the admin took no action after months of reports. It is possibly an abandoned server, so you might want to transfer your account elsewhere while you still can.

If you need help transferring your account, there's a step-by-step guide at fedi.tips/transferring-your-ma

If you need help choosing a new server, see fedi.garden

0
0
0

If RGMII and GiveDirectly / OpenResearch can deliver 90+ cents on the dollar to those most in need via a simple means test (200% FPL), we create a benchmark that makes the government’s 70-cent efficiency look indefensible, while helping MORE people.

0