洪 民憙 (Hong Minhee)
A software engineer from Seoul. An advocate of F/OSS, fediverse, and cypherpunk. Hack into East Asian languages.
- 162 Posts
- 8 Comments
洪 民憙 (Hong Minhee)@lemmy.mlOPto
Rust@programming.dev•Hongdown: An opinionated Markdown formatter in RustEnglish
4·3 months agoThanks for the feedback! The style choices are intentional and all valid CommonMark:
-
Heading styles: Setext (
===/) for H1/H2 makes major sections visually prominent in plain text, while ATX (##) is used for deeper levels. This hybrid approach optimizes readability in the raw source. -
Four tildes: Tildes are valid CommonMark delimiters, just less common. They’re chosen because code often contains backticks (shell commands, string literals), so tildes avoid visual clutter.
The core philosophy is that Markdown should be readable as plain text, not just after rendering. These choices prioritize scanning structure in a text editor. That said, it’s definitely an opinionated style—not for everyone!
-
洪 民憙 (Hong Minhee)@lemmy.mlOPto
Rust@programming.dev•Hongdown: An opinionated Markdown formatter in Rust
2·3 months agoBasically a combination of GFM with a few extensions such as definition lists!
洪 民憙 (Hong Minhee)@lemmy.mlOPto
Fediverse@lemmy.ml•ActivityPub Client API: A Way Forward
3·4 months agoIt’s on the roadmap, but not yet.
洪 民憙 (Hong Minhee)@lemmy.mlOPto
Node.js@programming.dev•Upyo: Simple and modern email sending libraryEnglish
1·9 months agoIt means postage stamp in Korean.
洪 民憙 (Hong Minhee)@lemmy.mlOPto
Node.js@programming.dev•LogTape: Simple logging library with zero dependencies for every JavaScript runtime
2·2 years agoIt has zero dependencies, and supports virtually every JavaScript runtime (browsers, Node.js, Bun, Deno, and edge functions). It also organize loggers in hierarchical categories, which allows you fine-grained control over log levels for different parts of an application.
洪 民憙 (Hong Minhee)@lemmy.mlOPto
Fediverse@lemmy.ml•Creating your own federated microblog
2·2 years agoThank you for your advice. As you mentioned, Fedify currently has actor URIs consisting of handles. This limitation is due to the early design of Fedify and will be fixed before we release v1.0!
洪 民憙 (Hong Minhee)@lemmy.mlOPto
JavaScript@programming.dev•LogTape: Simple logging library for Deno/Node.js/Bun/browsersEnglish
2·2 years agoLogTape author here.
LogTape also supports structured logging. Structured values are kept in
LogRecord.properties. Please see how to use the JSON formatter.





onUnverifiedActivity()only runs when signature verification fails: missing signature, bad signature, or a key lookup failure. It gives you a chance to handle those cases yourself instead of Fedify immediately returning401 Unauthorized. If the signature verifies, this hook is not involved.If you want extra validation for verified activities, do that in your normal
.on()handlers. Those run after signature verification, so that’s where app-specific checks belong, like rejecting certain actors or applying your own rate limits.