마이크로블로깅 정도 기능은 한 사이클 돌고나서 슬라이드 공유 기능 넣으려고 했는데, "한 사이클 돈다"에서 허용 오차 범위를 어디까지 둘 것인가가.... 걱정이긴 하구나...... 이건 그냥 일단 오픈하고 이리저리 따잇 당해보고 생각할 문제인가...

洪 民憙 (Hong Minhee)
@hongminhee@hackers.pub · 876 following · 620 followers
Hi, I'm who's behind Fedify, Hollo, BotKit, and this website, Hackers' Pub! My main account is at @hongminhee洪 民憙 (Hong Minhee).
Fedify, Hollo, BotKit, 그리고 보고 계신 이 사이트 Hackers' Pub을 만들고 있습니다. 제 메인 계정은: @hongminhee洪 民憙 (Hong Minhee).
Fedify、Hollo、BotKit、そしてこのサイト、Hackers' Pubを作っています。私のメインアカウントは「@hongminhee洪 民憙 (Hong Minhee)」に。
Website
- hongminhee.org
GitHub
- @dahlia
Hollo
- @hongminhee@hollo.social
DEV
- @hongminhee
velog
- @hongminhee
Qiita
- @hongminhee
Zenn
- @hongminhee
Matrix
- @hongminhee:matrix.org
X
- @hongminhee
2025-09-07 오늘의 #cosmoslide 작업한 내용 메모
https://github.com/cosmoslide/cosmoslide/pull/14
게시글 작성 기능까지는 안 갔지만, 연합우주 네트워크를 통해서 Create(Note), Announce(Note) 등의 액티비티가 들어왔을때 그것이 타임라인 화면에 노출되게 하는 기능을 작업했다. Actor 정보를 가져오는 과정에서 어떤 Actor는 lookup 하는 과정에서 Timeout 에러 뜨고, 어떤 Actor는 401 Unauthorized 뜨고, 어떤 Actor는 Person이 아니었어서 게시글 가져오는건 실패했는데... 이건 지속적인 개밥먹기를 꾸준히 해봐야 제대로 개선이 될 것 같음.
작업하다보면 어드민 붙이고 싶은 충동이 확 든다.....
AdminJS를 붙이자니 의존성이랑 지옥의 한판싸움을 해야할 것 같고, 그렇다고 직접 만들자니 어.... 이건 좀... 시간이 너무 많이 걸리겠다... 싶기도 하고, 노코드 툴 처럼 뚝딱하고 붙일 수 있는 어드민도구 어디 없나
커뮤니티에서 정치적 발언을 하는 것을 금지하는 것의 문제는, 정치적인(또는 그렇게 들린다고 다른사람들이 주장하는) 발언으로 문제가 생겼을때(안 생길수가 없다) 발언의 옳고그름을 떠나, 발언이 정치적인지 아닌지를 따지는쪽으로 흘러가기 때문이라고 생각한다.
아 물론, 대놓고 정치적 발언을 많이 해서 커뮤니티 구성원들을 피곤하게 하는건 좀 다른 문제고, 그걸 피하기 위해 정치적 발언을 금지하는 강령이 있는것일 테다. 근데 이건 그냥 각자 눈치껏 잘치기길 기대하는 수준이고, 커뮤니티의 방향성과는 무관한, 각자 지켜야할 운전 매너에 가깝다. 내 말은, 언젠가 커뮤니티내에서 큰 의견 차이가 생겼을때, '정치적 발언 안됨'이 해결책이 되길 기대할순 없단거다.
Higher-Order Abstract Syntax가 왜 유용한지 살펴보고 있는데 아직은 잘 모르겠다 메타 언어와 대상 언어가 있다부터 기기묘묘한데
Hong Segi (aka khris) replied to the below article:
Stop writing CLI validation. Parse it right the first time.

洪 民憙 (Hong Minhee) @hongminhee@hackers.pub
This post introduces Optique, a new library created to address the pervasive problem of repetitive and often messy validation code in CLI tools. The author was motivated by the observation that nearly every CLI tool reinvents the wheel with similar validation patterns for dependent options, mutually exclusive options, and environment-specific requirements. Optique leverages parser combinators and TypeScript's type inference to ensure that CLI arguments are parsed directly into valid configurations, eliminating the need for manual validation. By describing the desired CLI configuration with Optique, TypeScript automatically infers the types and constraints, catching potential bugs at compile time. The author shares their experience of deleting large chunks of validation code and simplifying refactoring tasks. Optique aims to provide a more robust and maintainable approach to CLI argument parsing, potentially saving developers from writing the same validation logic repeatedly.
Read more →@hongminhee洪 民憙 (Hong Minhee) 이 소개글을 보고 TypeScript의 타입 시스템을 더 사랑하게 되었습니다.
Hippo 🍉 replied to the below article:
Stop writing CLI validation. Parse it right the first time.

洪 民憙 (Hong Minhee) @hongminhee@hackers.pub
This post introduces Optique, a new library created to address the pervasive problem of repetitive and often messy validation code in CLI tools. The author was motivated by the observation that nearly every CLI tool reinvents the wheel with similar validation patterns for dependent options, mutually exclusive options, and environment-specific requirements. Optique leverages parser combinators and TypeScript's type inference to ensure that CLI arguments are parsed directly into valid configurations, eliminating the need for manual validation. By describing the desired CLI configuration with Optique, TypeScript automatically infers the types and constraints, catching potential bugs at compile time. The author shares their experience of deleting large chunks of validation code and simplifying refactoring tasks. Optique aims to provide a more robust and maintainable approach to CLI argument parsing, potentially saving developers from writing the same validation logic repeatedly.
Read more →@hongminhee洪 民憙 (Hong Minhee) this is cool! I've never used NodeJS CLI apps, but I run into similar issues to the ones you described when using Python
Stop writing CLI validation. Parse it right the first time https://lobste.rs/s/deaem7 #javascript #programming
https://hackers.pub/@hongminhee/2025/stop-writing-cli-validation-parse-it-right-the-first-time
Ooooh. Jujutsu just merged an initial `bisect` implementation. This is currently the ONLY command I still use the `git` binary for. I might be able to be fully Git CLI free after the next jj release... https://github.com/jj-vcs/jj/pull/7159
Did you know your MacBook has a sensor that knows the exact angle of the screen hinge?
It’s not exposed as a public API, but I figured out a way to read it and make it sound like an old wooden door.
Source code and a downloadable app to try it yourself: https://github.com/samhenrigold/LidAngleSensor
Onno (VK6FLAB) replied to the below article:
Stop writing CLI validation. Parse it right the first time.

洪 民憙 (Hong Minhee) @hongminhee@hackers.pub
This post introduces Optique, a new library created to address the pervasive problem of repetitive and often messy validation code in CLI tools. The author was motivated by the observation that nearly every CLI tool reinvents the wheel with similar validation patterns for dependent options, mutually exclusive options, and environment-specific requirements. Optique leverages parser combinators and TypeScript's type inference to ensure that CLI arguments are parsed directly into valid configurations, eliminating the need for manual validation. By describing the desired CLI configuration with Optique, TypeScript automatically infers the types and constraints, catching potential bugs at compile time. The author shares their experience of deleting large chunks of validation code and simplifying refactoring tasks. Optique aims to provide a more robust and maintainable approach to CLI argument parsing, potentially saving developers from writing the same validation logic repeatedly.
Read more →@hongminhee洪 民憙 (Hong Minhee) love the whole idea. Now I'm trying to figure out how to use it in bash where I write a lot of code.
#GNOME picks of the day:
➡️ @gnome - Official GNOME account in English
➡️ @gnome_brGNOME Brasil - GNOME in Portuguese
➡️ @haeckerfelixFelix Häcker - GNOME developer, foundation member, author of "This Week in GNOME"
➡️ @Tuba - FOSS Fediverse app for GNOME, forked from Tootle
➡️ @WebKitGTK - GTK port of WebKit, official browser engine in GNOME
➡️ @GTK - FOSS cross-platform toolkit for creating GUIs
➡️ @EvolutionGnomeGNOME Evolution - Free open source personal information manager software
🧵 1/2
洪 民憙 (Hong Minhee) shared the below article:
일본은 패스키로 진격하는데, 한국은 왜 제자리인가요?
푸른곰 @purengom@purengom.com
금융부터 전자상거래까지 확산된 일본의 FIDO2 패스키 전략, 한국은 ‘간편 인증’에 머무른 채 방향성조차 흐릿합니다 보안 사고가 촉발한 일본의 급반전 2025년 상반기, 일본 증권 업계를 강타한 대규모 불법 로그인 및 부정 거래 사태는 단순한 해킹 사건을 넘어, 디지털 인증 체계에 대한 신뢰 자체를 뒤흔드는 사건이었습니다. 수천 건의 계좌 탈취와 수백억 엔 규모의 […]
Read more →코파일럿이 종종 멍청해져서 왜 그런가 보면 코파일럿이 클로드 말고 GPT로 지멋대로 바꿔놔서 그럼 ㅡㅡ
다같이 손 잡고 하나둘셋 하면 노드 지우고 디노로 갈아타는 거다 알았지?
자 하나
둘
셋!
그래도 한 5%정도 사이트의 꼬라지를 갖춰간다... 이번달 안에 (테스트로) 공개할 수 있겠지...?
귀여운 마스코트까지 있는 TS 런타임 Deno 냅두고 왜 이따위로 모든 경우의 수 하드코딩 되어 있는 JS 런타임 쓰는 건데
洪 民憙 (Hong Minhee) shared the below article:
Optique 0.4.0: Better help, rich docs, and Temporal support

洪 民憙 (Hong Minhee) @hongminhee@hackers.pub
Optique 0.4.0 introduces enhancements to streamline CLI development in TypeScript. This release focuses on improving help text organization through labeled merge groups and a new `group()` combinator, making complex CLIs more user-friendly by organizing options under clear sections. Comprehensive documentation support is added via the `run()` function, allowing brief descriptions, detailed explanations, and footers without altering parser definitions. The update also includes Temporal API support with the `@optique/temporal` package, enabling type-safe parsing for dates, times, and time zones. Improved type inference for `merge()` and `tuple()` combinators enhances type safety, alongside minor breaking changes. These updates aim to make CLI construction more intuitive and maintainable, offering developers greater control over user experience and code structure.
Read more →Cosmoslide 계속해서 작업할 것 같습니다.
- Remote Follow 기능 관련해서 마무리
- 게시글 기능 그리고 그와 관련된 Federation 로직 작성
그리고... Hackers Public 2차 모집 마감
Geminiがイライラしてる...
토요일에 약속이 있고 일요일에는 오랜만에 튜사를 갈까 생각 중... 작업하고 싶은 것들(코테 기반 게임?)등이 좀 있어서... 겸사겸사 홈서버 테스트도 좀 하고
집에 갈거냐고요? 제가 갤럭시의 무시무시함을 보여드리겟읍니다
튜사 다 와서야 노트북 두고 왔다는 걸 알게 되다
토요일에는 <데이터 중심 애플리케이션 설계> 책을 좀 읽고, 오랫동안 미루던 Rust로 Redis 구현하기를 시작해볼 것 같습니다.
일요일에는 오타쿠팟으로 버튜버가 서빙해주는 카페에 가기로 했습니다,,,
fedify도 다시 슬슬 건드려야 하는데 회사 일의 축복이 끝이 나지 않는군
그러니까 매번 행사할때마다 프린터카페 들려서 이걸 하면 된다는거지!?
Big update for our type-safe combinatorial #CLI parser for #TypeScript:
- Labeled merge groups: organize options logically
- Rich docs: brief, description & footer support
- @optique/temporal: new package for date/time parsing
showDefault
: automatic default value display
The help text has never looked this good!
그놈의 compacting conversation… 😩
@hongminhee洪 民憙 (Hong Minhee) 확실히 Gemini가 이런 면에선 GPT-5/o3, Claude보다 훨씬 우위에 있는 것 같아요.
약간 작업할 때 세이브 포인트가 있었으면 좋겠다는 생각이 듭니다. ChatGPT는 대화 중간에 fork해서 새 대화로 넘어가는 기능이 생겼다고 하더라구요.
일주일마다 새 마이너 버전 릴리스하는 라이브러리 어떻게 생각하세요? (제가 그러고 있음…)
@hongminhee洪 民憙 (Hong Minhee) 컴퓨터 켜면 업데이트 루틴부터 돌리는 저는 아주 좋아합니다. 일주일마다 좋아진다니 럭키비키잖아요~
코드를 스테이지에 넣고 커밋
코드를 스테이지에 넣고 커밋
코드를 스테이지에 넣고 커밋
코드를 스테이지에 넣고 커밋
코드를 스테이지에 넣고 커밋
코드를 스테이지에 넣고 커밋
코드를 스테이지에 넣고 커밋
코드를 스테이지에 넣고 커밋
git-annex 좀 설치해보려고 했더니 가는 날이 장날이라고 우분투 저장소가 점검 중인 것 같다. 그래, 나는 하스켈러이니까 그냥 빌드하자. https://status.canonical.com/
우부콘 발표하고 그 다음 주에 파이콘 발표하고 그 다음 달에 해커스 퍼블릭 여시는 분이 말씀하시니 믿음이 가네요
댓글에 하스켈 욕이 보여서 마음이 안 좋다. 나는 대용량 파일을 다루지는 않지만 한국의 회사원이라 평문이 아닌 문서를 많이 다룬다.(hwp, xlsx 등) 윈도우 다운로드 폴더에 몇 번이고 받은 중복 파일들을 어떻게 다루면 좋을지 고민 중이었는데 git-annex를 써봐야겠다!
개발자 컨퍼런스에 100% 참여하는 방법!
그건 바로 발표자가 되거나 오거나이저가 되는거라고 하네요
다시 힘을 내서 conal 리팩토링을 완성하고, haskell용 tree-sitter 바인딩을 만들고, 이것저것 마저 하자...
GitHub の Immutable Releases を有効にしてセキュリティインシデントを防ごう
https://zenn.dev/shunsuke_suzuki/articles/github-immutable-release
흠 podman을 테스트해보고 있는데, 이걸로 컨테이너 띄우면 오래 못 버티고 사라지네. 왜지?;;
@hongminhee洪 民憙 (Hong Minhee) 근데 저는 어떤 언어든 디버깅용 로깅을 그냥 프리미티브로 제공하는게 맞다고 생각해요. stdout에다가 print하는 거랑 별개로 개발용으로요. 가령
console.log
가 NodeJS 에선 그냥 print인데, 브라우저 개발자 도구에선 go to call site가 되는 제가 원하는 형태입니다.
제가 가장 좋아하는 언어에 기여를 했어요!
게임 주도 개발: 원하는 게임을 하기 위해 주말동안 할 개발을 미리하는 것을 말한다
@TuringAppleDev튜링의 사과
미지와의 조우 완료
(빠른 배송 감사합니다.ㅎㅎㅎ)
한줄평: ASUS FALCHION RX PROFILE 은 무조건 청축이다.
튜사공구: https://discord.com/channels/1115648506514911293/1118176332875055245/1412001790135631942
트위터가 터졌을 때도 해커스펍은 잘 동작했다~
또 모나드 설명 글 읽고 있음
그치만 주제 하나로 수많은 사람들이 각자의 해석에 따라 각자의 방식대로 글을 쓴다는 게 너무 재밌지 않음?
https://blog.merovius.de/posts/2018-01-08-monads-are-just-monoids/
- 재미난 생각이 떠오른다.
- 해커스펍에 올린다.
- 다른 분들의 반응을 지켜보다, 특별히 욕!이 없으면, 그럴싸하다고 판단
- X와 쓰레드에 해커스펍 글 링크를 올린다. 같은 글을 복붙해서 올리는 것이 아닌, 링크를 올리는 게 중요하다.
작년에 어떤 커뮤니티에 계엄 소식을 전했는데 “여기서 정치적인 발언은 하지 말아주세요.” 라는 말을 들었다.
커뮤니티에서 정치적인 주제를 금지하면 결국 관리자가 보기에만 정치적이지 않은, 자기 입맛에 맞는 정치적인 글만 남더라구요
そもそもapkit.server
はもともと使ってたMiddlewareの形式じゃなくてそれ自体をASGIフレームワークとして使う形なので前とは違ってFedifyの統合と全く違う方法になってる (元々存在した課題点を克服するためにこういう形になった)
apkitのActivityPubServerは完全にFastAPIとStarletteのAPIに依存してるからあんまり気にしてなかったな
というかコードの理解度的に (Starlette/FastAPI以外の)統合をかける余裕があるか怪しいからしばらくは標準の統合以外は自分では出さないかも (裏側のコードに関してはStarletteとFastAPIだけならある程度わかったつもりでいる)
apkitのActivityPubServerに関しては同期対応しないで非同期だけにしてる (分岐させてもいいけどわざわざこれでするであろう操作を同期でするとは考えてないから)
必要なら同期対応できるけどね