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

社群就像是去海邊玩
大家都衝下去 (你不衝嗎)
明明就告示牌寫著危險海域
.
我也是下水的那一位
我努力克制自己
不要在水裡待太久
.
時間拿來工作賺錢
好過拿來泡社群

0
0
0
0
0
0
0
0
0
2
0
0
0

“탄핵해도 일상으로 못 돌아와”···‘집회 통제 후유증’ 겪는 사람들 www.khan.co.kr/article/2025... "피해자들은 경찰에 대한 불신이 커졌다고 말했다. 배 국장은 “윤석열은 관저에서 나올 때 퍼레이드까지 하게 보장해준 경찰이 시민들은 이렇게 무자비하게 대하는 것을 보고 ‘공권력이 누구 편인가’하는 실망감을 느꼈다”며 “경찰에 대한 의심과 불신이 이번 사건으로 생긴 트라우마 중 하나”라고 말했다."

“탄핵해도 일상으로 못 돌아와”···‘집회 통제 후유증...

0
0
1

이게 되게 웃긴 얘긴데, 인간 유전자를 죽 늘어놓고 조합해서 유니크한 인간들만 만들면 한 7,000명밖에 안 나온다고 한다. 이는 내가 가진 유전자를 정말 수많은 사람들이 갖고 있다는 얘기다. 내 유전자를 존속시키기 위해 자식을 낳는다는 것은 무의미하다.

RE: https://bsky.app/profile/did:plc:447baz4chyvqlfcvy4c33tl5/post/3lmykniw5a22p

1
1

我們這波「FB逃難潮」,居然被Mastodon的創辦人 Eugen Rochko 注意到了!

他寫:

最近在來自 的使用者之間,註冊人數和活躍度都有明顯上升。
起因是一則在 Facebook 上廣為流傳的貼文,推薦台灣使用者將 Mastodon 當作 Facebook 和 Instagram 的替代平台。
這篇貼文迅速在 Facebook 上爆紅,在短短兩天內帶來了大約 兩萬名新用戶,分別註冊到 mastodon.social、g0v.social、m.cmx.im 以及其他幾個站點。

——
有沒有覺得,自己也是在寫歷史的一部分🤣🤣
好好笑

From: @GargronEugen Rochko
mastodon.social/@Gargron/11435

0
0
0
0
0

notJoon shared the below article:

함수형 언어의 평가와 선택

Ailrun (UTC-5/-4) @ailrun@hackers.pub

이 글은 함수형 언어의 핵심 개념을 람다 대수를 통해 소개하며, 함수형 언어의 평가 방식에 대한 깊이 있는 이해를 제공합니다. 람다 대수의 기본 요소인 변수, 함수, 함수 호출을 설명하고, 값에 의한 호출(CBV)과 이름에 의한 호출(CBN)의 차이점을 명확히 분석합니다. 특히, 폴 블레인 레비의 "값 밀기에 의한 호출(CBPV)"을 소개하며, 이 방식이 CBV와 CBN을 모두 포괄할 수 있는 강력한 도구임을 강조합니다. CBPV가 함수와 함수 호출을 스택 기반으로 어떻게 다르게 해석하는지, 그리고 이를 통해 람다 대수를 기계 수준으로 컴파일할 때 얻을 수 있는 이점을 설명합니다. 항수 분석과 같은 최적화 기법을 CBPV를 통해 어떻게 더 명확하게 표현할 수 있는지 보여주며, GHC 컴파일러의 중간 언어로서 CBPV의 중요성을 부각합니다. 이 글은 함수형 언어의 깊은 이론적 배경과 실제 컴파일러 구현 사이의 연결고리를 탐구하고자 하는 독자에게 유용한 통찰력을 제공합니다.

Read more →
15
3
0
0
0

I've been wrestling with implementing content support in Hackers' Pub, our -powered platform for software engineers.

While ActivityPub theoretically supports multilingual content through the contentMap property, the reality is that most server implementations (Mastodon, Misskey, etc.) don't properly handle this content as of April 2025. This creates a significant challenge for us.

We want our users to share their knowledge in multiple languages, but we need to ensure compatibility with existing ActivityPub servers. I'm considering several approaches:

  1. Creating separate posts for each language with clear language indicators, linking them through inReplyTo relationships (so translations appear as replies to the original post)
  2. Using the primary language in content while storing translations in contentMap
  3. Adding "View in other languages" links at the bottom of each post
  4. Implementing inline language dividers that degrade gracefully on non-supporting servers, for example:
    <div lang="en">
      <h3>English</h3>
      <p>This is the English content…</p>
    </div>
    <hr>
    <div lang="ko">
      <h3>한국어</h3>
      <p>한국어 내용입니다…</p>
    </div>

I'm leaning toward a hybrid approach—showing content in the user's preferred language when possible while providing easy access to other language versions.

Has anyone tackled this problem effectively? I'd love to hear about your experiences or ideas for making multilingual content work well in the fediverse, especially when dealing with server implementations that don't fully support ActivityPub's multilingual features.

12
0
0
0

“For we each of us deserve everything, every luxury that was ever piled in the tombs of the dead kings, and we each of us deserve nothing, not a mouthful of bread in hunger. Have we not eaten while another starved? Will you punish us for that? Will you reward us for the virtue of starving while others ate? No man earns punishment, no man earns reward. Free your mind of the idea of deserving, the idea of earning, and you will begin to be able to think.”
--Ursula K. Le Guin, 'The Dispossessed'

0
0
0
0
0
0
0