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.

I'm really enjoying the advent of compiler optimization from @mattgodbolt, but Day 11 ("Counting Bits") has been my favorite so far, just for the trick I'd never heard of:

// Clear the least-significant set bit
value &= value - 1

With 30 seconds of thought and a little scribbling, it's obvious why it works. But… wow. Yeah; it really is that easy. Sometimes I think I know a lot of things, and sometimes I discover how many things I was this old when I learned.

youtube.com/watch?v=Hu0vu1tpZnc

0
0

I'm really enjoying the advent of compiler optimization from @mattgodbolt, but Day 11 ("Counting Bits") has been my favorite so far, just for the trick I'd never heard of:

// Clear the least-significant set bit
value &= value - 1

With 30 seconds of thought and a little scribbling, it's obvious why it works. But… wow. Yeah; it really is that easy. Sometimes I think I know a lot of things, and sometimes I discover how many things I was this old when I learned.

youtube.com/watch?v=Hu0vu1tpZnc

0
0

가장 빠르게 성장하는 스타트업 뒤에 숨은 구조
------------------------------
- *AI 확산* 이 한 사람이 할 수 있는 일의 범위를 급격히 넓히며, *스타트업 조직 설계* 의 전제를 근본적으로 바꾸고 있음
- 성과와 보상이 *사람 관리 능력* 이 아니라 *AI를 얼마나 잘 활용·관리하는지* 에 따라 결정되는 구조로 이동 중
- 빠르게 앞서가는 팀들은 처음부터 *속도·혁신·창의성* 을 최우선으…
------------------------------
https://news.hada.io/topic?id=25084&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0

K-패스 정액권 '모두의 카드' 출시…65세 이상 '30% 환급' 추가
(서울=연합뉴스) 임성호 기자 = 국토교통부 대도시권광역교통위원회(대광위)는 대중교통 교통비 환급 제도인 K-패스에 정액권인 '모두의 카드'를 ...
yna.co.kr/view/AKR202512150705

0

[단독]쿠팡 박대준, 해킹 발표 직전 대관 조직에 고성 질타 www.nocutnews.co.kr/news/6442877 "이 같은 장면은 박대준 전 대표의 이력과도 무관하지 않다. 박 전 대표는 LG전자와 네이버 등에서 근무한 대표적인 대관 출신 인사로, 쿠팡에서도 대관을 통해 경영 성과를 만들겠다는 구상을 강하게 밀어붙였다는 평가를 받아왔다. 지난 7월 대정부 로비 창구 성격의 쿠팡 사회공헌위원회를 만들고 부서장 역할을 맡은 인물 역시 박 전 대표다."

[단독]쿠팡 박대준, 해킹 발표 직전 대관 조직에 고성...

0
1
0

immich의 스토리지 템플릿 커스텀 기능은 이런 도구에 사진 관리를 완전히 맡기더라도 그래도 디렉토리와 파일 구조로 사진을 유지해두고싶은 사람들의 요구사항을 완전히 만족함. ... 덕분에 이번달까지만 별도로 사진을 보유하고 내년부터는 별도로 사진을 보유하지 않을 예정. 그냥 immich에 넣으면 알아서 원하는 형식으로 원본 파일을 관리해줌.

0
0
1
0
💬 Commented on "正確なクライアントIPを記録できない": samunohito "起票ありがとうございます。

> Misskey v2025.12.0以降、正しいクライアントIPを記録するには、Misskeyの設定ファイル(通常は .config.yml など)で trustProxy: true を明示的に設定する必要があります。これは、MisskeyのバックエンドがFastifyの trustProxy オプションを使っており、デフォルト値が false に変更されたためです

dosubotが言う通りで、デフォルト値の変更対応が入りました。

> Misskeyの設定ファイルに trustProxy: true を追加

こちらの対応で従来の挙動に戻ると思いますので、試していただけると幸いです。
"
https://github.com/misskey-dev/misskey/issues/16993#issuecomment-3652638184
0

일론 머스크가 “합성 mRNA와 합성 DNA로 뭐든지 할 수 있다. 터무니없는 이야기가 아니라 마치 컴퓨터 프로그램 같아서 사람의 노화를 막거나 되돌릴 수도 있다. 적절한 DNA 서열만 있으면 누군가를 진짜 나비로 변신시킬 수 있다.“ 같은 발언을 했다길래 가짜 아닌가 찾아봤는데 진짜여서 당혹스럽다;;; 이 인간을 아직도 천재라고 믿는 사람이 있다면 경계해야 한다.

0
0
0
Back in the summer, I went to Lisbon for work, and I took my rangefinder camera with me. I made some mistakes with it, and most of my pictures are blurry and out of focus, but some worked out great, which caught me by surprise.

Like this one from an early morning photo walk before heading to the office. I was walking around Alfama, and I spotted a ferry crossing the waters in front of me, and I knew I had to try to take a picture.

I think this is one of my favorite pictures using a 135 mm Canon lens on this rangefinder. I'm still getting used to it. 

📷 Canon L-1
🎞️ Kodak Vision 200T

#believeinfilm
#filmisnotdead
#filmphotography
#analogphotography
View down a narrow cobblestone street lined with parked cars and historic buildings, leading towards a sunlit bay with a distant cityscape and a white boat. A glimpse of an ornate wrought-iron balcony frames the right side, while a church spire rises among the rooftops in the middle distance.
0
0
0

For most Americans health expenses are uncapped.

This is by design; Americans can be pushed into destitution at any moment by requiring money for healthcare.

Meanwhile incomes are capped; and it is definitely your fault for not being a better worker.

Are you starting to see a pattern?

I

0
0
0
0
0
0
0

여기에 뒤늦게 올리지만 2차 모집도 진행중입니다! 이번엔 12월 15일(월)까지....!!

5
0
0
1
0
1

홍콩 민주당, 창당 30년만에 공식 해산…"민주화 세력 붕괴"
(서울=연합뉴스) 권수현 기자 = 올해 초부터 해체 수순을 밟아온 홍콩 민주당이 창당 30여년 만에 해산하기로 공식 결정하면서 홍콩의 공식 민주...
yna.co.kr/view/AKR202512150646

0

홍콩 민주당, 창당 30년만에 공식 해산…"민주화 세력 붕괴"
(서울=연합뉴스) 권수현 기자 = 올해 초부터 해체 수순을 밟아온 홍콩 민주당이 창당 30여년 만에 해산하기로 공식 결정하면서 홍콩의 공식 민주...
yna.co.kr/view/AKR202512150646

0
1

구글의 Tensor Processing Unit 이해하기
------------------------------
-
TPU 는 딥러닝에 꼭 필요한 계산만 남기고 나머지를 과감히 버린 *Google의 도메인 특화 가속기*
- 2013년 데이터센터 확장 한계를 계기로 시작되어, 12년 만에 7세대인 ‘Ironwood’까지 발전
- 반도체 성능이 자동으로 좋아지던 시대가 끝나며, *기다리지 않고 직접 설계하는 전략* 이 핵심 선택지가 됨 …
------------------------------
https://news.hada.io/topic?id=25083&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0
1

いま、『人間はガジェットではない』(You Are Not a Gadget)を読んでるけど、これってインディウェブとかの思想の元ネタの一つっぽいしその手の話が好きなFediverseユーザは読んだほうがいい本っぽい。ただし版元品切れというかレーベルが廃止されてるせいで電書すら手に入らないが…(わたしはブックオフで300円で購入した)
0
0
0
0
0
0

아는 한의사 교수가

수족냉증은 운동해야 고쳐진다고.
사람이 걷고 뛰어서 다리근육 쓰고, 피를 돌려야 하는데 앉아서 생활하니 그걸 못해서 수족냉증이 심해지는거라고 그랬음.

0
1
0

"경기 거주 외국인 중 5년 이상 장기체류자 비율 절반 넘어"
(의정부=연합뉴스) 우영식 기자 = 경기지역 외국인 중 장기 거주자와 외국 국적 동포의 비중이 높아지면서 단기 체류 중심의 정책보다는 장기 거주...
yna.co.kr/view/AKR202512150617

0

"경기 거주 외국인 중 5년 이상 장기체류자 비율 절반 넘어"
(의정부=연합뉴스) 우영식 기자 = 경기지역 외국인 중 장기 거주자와 외국 국적 동포의 비중이 높아지면서 단기 체류 중심의 정책보다는 장기 거주...
yna.co.kr/view/AKR202512150617

0
0
0
0
0
0