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

신천지가 자체 애플리케이션 ‘S라인’을 통해 신도들의 통화내역 등을 무단으로 확인하고 대적자(신천지를 반대하는 세력)와의 소통 여부를 파악하는 등 사찰이 이뤄진 정황이 내부 증언으로 나왔습니다. 정교 유착 의혹을 수사하는 검·경 합동수사본부가 신천지의 교인 사찰 의혹도 수사에 나설지 관심이 쏠립니다.

[단독] “신천지 자체 앱으로 신도 통화내역 사찰”…전...

0
2
0
0
0
1
0
2
1
0

Here’s Spain, taking a very different approach to immigration than most other countries.

Gift link: bloomberg.com/news/articles/20 or archive.vn/STc1P

Spain to Offer Legal Status to 500,000 Undocumented Migrants

The socialist government of Prime Minister Pedro Sánchez is an outlier on migration policy. While other countries have moved to tighten entry requirements and expel undocumented migrants, Sánchez has welcomed them, a stance also aimed at countering the aging of one of the world’s longest-lived populations.

“I’ll say it clearly. No one is expendable in Spain. On the contrary, we lack people,” Sánchez said earlier this month. “Faced with the choice between being a closed and poor nation, Spain is opening itself to the world to ensure prosperity.”

0
0
0
0
0

[단독]대법, ‘비닐하우스 사망’ 이주노동자 속헹씨에 “한국 정부가 배상” 판결 확정 www.khan.co.kr/article/2026... "대법원 1부(주심 서경환 대법관)는 29일 속헹씨의 유족이 한국 정부를 상대로 낸 손해배상소송 상고심에서 정부 측 상고를 심리불속행 기각하고 “한국 정부가 원고들에게 각 1000만원을 지급하라”는 원심판결을 확정했다. 심리불속행 기각은 사건에 대한 별도 심리 없이 원심 판단을 유지하는 판결이다."

[단독]대법, ‘비닐하우스 사망’ 이주노동자 속헹씨에 ...

0
0

‘학내 성폭력 알렸다 전보·해임’ 지혜복 교사, 공익신고 인정받았다···2년 만에 승소 www.khan.co.kr/article/2026... "지씨는 이날 선고 이후 법정 앞에서 “피해 학생 학부모님도 마음 무겁게 탄원서와 의견서를 냈는데 그분들에게도 얼른 이 소식이 닿고 무거움을 내려놓길 바란다”며 “학교에 문제 제기를 하다 저처럼 고통받고 학교를 떠난 그런 교사들이 온전히 보호받기를 원한다. 그분들에게도 오늘 이 판결이 용기가 되기를 바란다”고 밝혔다."

‘학내 성폭력 알렸다 전보·해임’ 지혜복 교사, 공익신...

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

‘학내 성폭력 알렸다 전보·해임’ 지혜복 교사, 공익신고 인정받았다···2년 만에 승소 www.khan.co.kr/article/2026... "지씨는 이날 선고 이후 법정 앞에서 “피해 학생 학부모님도 마음 무겁게 탄원서와 의견서를 냈는데 그분들에게도 얼른 이 소식이 닿고 무거움을 내려놓길 바란다”며 “학교에 문제 제기를 하다 저처럼 고통받고 학교를 떠난 그런 교사들이 온전히 보호받기를 원한다. 그분들에게도 오늘 이 판결이 용기가 되기를 바란다”고 밝혔다."

‘학내 성폭력 알렸다 전보·해임’ 지혜복 교사, 공익신...

0

Kimi K2.5 review: it spent half an hour introducing syntax errors and then another half an hour removing those syntax errors. The resulting code is not what I asked for and there's no "cancel subscription" button on their dashboard. Flagship my ass.

0
0
0
0

This week I finally wrote the beginner's security guide I wanted to see in the world. Here's 8 tasks you can do right now, with plenty of vetted resources and the "Cliffsnotes" style summary on why you should do things, risks and limitations, and even what NOT to do. Enjoy! hashman.ca/security-101/

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

un article de @hugovkHugo van Kemenade illustrant l'utilisation du profileur statistique Tachyon de Python 15 pour optimiser la bibliothèque Pillow de manipulation d'images : hugovk.dev/blog/2026/faster-pi

Cela a permis de mettre en place un lazy-loading pour ne charger les plugins nécessaires.

La PR proposée accélère le temps de chargement d'une image de 2 à 14 fois plus vite, et intégrera la version 12.2.0 de Pillow.

0

Since reading The Hobbit as a child I’ve had this riddle ingrained in my brain.

*Thirty white horses on a red hill*
*First they champ*
*Then they stamp*
*Then they stand still*

I never paid much attention to the detail, but last night it dawned on me. *Thirty teeth*.

We don’t *have* 30 teeth. We have 32.

Edit: going to preempt people saying “Hobbits might only have 30” as I’ve already thought of that and it’s even more nightmarish.

0
0

MemoryViewから取り出したデータを扱った後にrb_memory_view_releaseするわけだけど
それをrb_ensureでやろうと思うとめんどくさくない?

ensure_funcにrb_memory_view_tを渡したいんだけどVALUEしか受け付けないよね。
単に解放したいんであればselfを渡して、中でrb_memory_view_getするんでもいいかもだけど、
条件付きで解放したい場合はその条件も渡したいわけで、そのためだけにArrayとかラッパークラスを作るのかねえ・・・

「あるオブジェクトがMemoryViewをエクスポートする時はそれを使い、エクスポートしない時はVALUEの操作にフォールバックする」という処理を書いていると、
「MemoryViewを使っているかいないか」という条件に応じてrb_memory_view_releaseをするか(逆にxfreeするか)しないか決めないといけない。

こうして愚痴を書いていたらちょっと問題が整理されたな。
MemoryViewとフラグ一個だけならArrayでもいい気がしてきた。

0
0
0
1