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

Mastodon/Activity Pub question:

As far as I can tell mastodon posts are expected to have a rich text / html-subset representation i.e. docs.joinmastodon.org/spec/act)

I'm writing a tiny activity pub service, mastodon is currently stripping out all html tags when displaying posts from my dev account (see e.g. mastodon.social/@sarah@tap.res), plain text posts work fine (see e.g. mastodon.social/@sarah@tap.res)

I'm attempting to work out why that is the case, but this is proving to be a hard thing to search for.

0
0
0
0
0

@board公共留言板

請問象上的ADHDer:你們有服用過改善記憶力的藥物嗎?感覺如何?

我已經服用利他能1年多了,但我忘東忘西的毛病一直沒有改善,甚至影響到生活與工作。家人建議我詢問醫生,看能不能服用改善記憶力的藥,但我未曾聽聞有ADHDer服用記憶力相關藥物,所以想問問大家,感謝!

0

Regarding the protests:

I feel strongly that the _only_ way the regime can truly be defeated is via mass protests.

When Hitler took over the Weimar Republic, there _weren't_ any large-scale protests. Most Germans just went along with it and minded their own business, and thus the Nazis could do whatever they wanted.

But if there are mass protests in the streets - as there are currently in the USA, then this sends a powerful message to the supporters of the regime. Remember how quickly Google, Facebook, and other companies bent their knees at the inauguration and afterwards? That's because they figured they had much to gain by supporting Trump, and there were little in the way of negative consequences for doing so.

Mass protests send a different message. They show that there is real anger and wrath in the general public about what Trump is doing, and this makes clear to all the quislings that there is a real price to supporting Trump. Maybe some of them will reconsider, and become less conciliatory to the government.

And this goes for the rest of society, too. Police, military, the courts - none of them are immune to public opinion. If they believe they have nothing to lose from subservience to Trump, then they will do so. But if there is a real cost - in public perception, in self-image, and so forth - then maybe they will question their orders.

Anyway: Godspeed, and keep it up.

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

ChatGPT가 문득 영어 공부를 잘 시켜줄 것 같아서 한번 영문법에 대해 물어봤다.

초중고 12년 분량을 거쳐와도 제대로 가르치던 사람이 없던 영문법을 얘는 A4 반페이지도 안되는 분량에 정리한다.

0
0
0

스마트폰 카메라 사용이 불가능한 환경에서 TOTP QR코드 옮기기

변규홍 / combacsa @combacsa@hackers.pub

이 글은 2차 인증 시 QR 코드 스캔이 불가능한 환경에서 TOTP를 등록하는 방법을 소개합니다. 카메라를 사용할 수 없고, 파일 반출이 금지된 Windows 환경에서 Python과 QR 코드 리더 패키지(qreader)를 사용하여 QR 코드를 해독합니다. 해독된 비밀 키를 KeePassXC에 등록하여 TOTP를 생성하고, 이를 통해 2차 인증을 완료합니다. 이후 Google Authenticator 앱에도 동일한 비밀 키를 등록하여 편의성을 높입니다. 마지막으로, 더 간편한 방법(PyOTP 사용)이 있었을지에 대한 질문을 던지며 마무리합니다. 이 글은 제한된 환경에서 TOTP 등록 문제를 해결하는 실질적인 방법을 제시하고, 독자에게 추가적인 탐구의 여지를 남깁니다.

Read more →
6
0
1
0
0
0
0

I just stress-tested the current dev state of on . The first attempt failed miserably, got a lot of errors accepting a connection. Well, this lead to another little improvement, I added another static method to my logging interface that mimics : Also print the description of the system errno. With that in place, I could see the issue was "too many open files". Checking -n gave me 1024. Seriously? 🤯 On my machine, as a regular user, it's 226755. Ok, bumped that up to 8192 and then the stress test ran through without issues.

On a side note, this also made creating new timers (using on Linux) fail, which ultimately made swad crash. I have to redesign my timer interface so that creating a timer may explicitly fail and I can react on that, aborting whatever would need that timer.

Anyways, the same test gave somewhat acceptable results: throughput of roughly 3000 req/s, response times around 500ms. Not great, but okayish, and not directly comparable because this test ran in a vm and the requests had to pass the virtual networking.

One major issue is still the consumption. The test left swad with a resident set of > 540 MiB. I have no idea what to do about that. 😞 The code makes heavy use of "allocated objects" (every connection object with metadata and buffers, every event handler registered, every timer, and so on), so, uses the a lot, but according to , correctly frees everything. Still the resident set just keeps growing. I guess it's the classic issue...

0
0
0
0

ChatGPT가 문득 영어 공부를 잘 시켜줄 것 같아서 한번 영문법에 대해 물어봤다.

초중고 12년 분량을 거쳐와도 제대로 가르치던 사람이 없던 영문법을 얘는 A4 반페이지도 안되는 분량에 정리한다.

0

안녕하세요, 페미위키 개발팀입니다. 개발팀 활성화를 위해 이리저리 둘러보다 해커스펍에 대해 알게 되었습니다. 여건이 되면 페미위키 개발에 대해서 얘기할 수 있는 기회를 만들어보려 합니다!

더불어 페미위키 개발팀에서 오픈소스 컨트리뷰터 & 개발팀을 모집합니다! 페미니스트시라면 정체성 불문, 거주국 불문하고 모시고 있습니다. 함께 페미니즘 정보집합체 만들어가요!

페미위키 오픈소스 컨트리뷰터 & 개발팀 모집1. 우대 사항:

페미위키 편집 경험이 한 번 이상 있으신 분
AWS 경험이 필요하신 분
사실상 표준이 아닌 기술/서비스에 거부감이 덜 하신 분 (예: Vue.js, Less.js, GitLab, Nomad, PHP)
기억 나는 리눅스 명령어가 세 개 이상인 분
ARM 서버 운영 경험이 있으신 분
JS를 TS로 변환하면 개운하신 분
GitHub Actions 사용 경험이 있으신 분
PHP 문법을 기억하시는 분
git rebase를 쳐본 적 있으신 분
오픈소스를 사랑하시는 분2. 업무 내용

신규 프로젝트
* 레벨 제도
* 프로필 페이지
* 게이미피케이션 / 도전과제
* HA 구성

상시 업무
* 서비스 모니터링
* 버그 수정
* 기술 지원
* 소프트웨어 업그레이드관심 있다면 망설임 없이 https://github.com/femiwiki 접속!
8
0
1
0
0
1

[단독] 대통령 관저, 광주디자인비엔날레 출품 정자 설치...미등기 상태 '6.12㎡ 한옥 정자' 증축 신고, 공사비 8천만원 ... 외부에 관련 내용 공개 안 해, 향후 소유권 분쟁 소지 m.ohmynews.com/NWS_Web/Mobi... 얼씨구.

RE: https://bsky.app/profile/did:plc:a6qvfkbrohedqy3dt6k5mdv6/post/3lqzw67pbsc2b

0
0
0
0
0
0
0
0
0
2
1
0

이원적 전략같다. 결혼은 오직 영적인 결합, 신의 권한에서 이루어지는 것이고 그것은 교회의 권한으로 이루어진다는 것을 강조하며, 세속에서 이루어지는 결혼은 더 이상 결혼이 아니다. 그것은 그냥 시민 간의 법적 결합일 뿐이라고 선을 긋는.

RE: https://bsky.app/profile/did:plc:xknu4xw5tubrbwrjttzffgj5/post/3lnf5ajonws2c

0
1
1
1
0