Yaroslav Markin
13.4K posts

Yaroslav Markin
@yaroslav
Consultant. Previously: co-founder and CTO @evilmartians
DXB Beigetreten Temmuz 2007
756 Folgt1.1K Follower
Yaroslav Markin retweetet

We're finally ready to talk about Flipper One — a project we've been grinding on for years and have rebuilt from scratch several times. Read blog post >>
blog.flipper.net/flipper-one-we…
English

@psd_coder Wonder if keyux can do it out of the box. Or it already does? @sitnikcode
English

If you build software and your daily layout is Latin, please remember it is not the only alphabet in the world. When a user is on a non-Latin layout: Cyrillic, Greek, CJK, etc. many features can break silently.
The Stimulus PR I’m grumbling about is a small example. event.key returns whatever character the active layout produces: "j" on Latin, "й" on Cyrillic, "ξ" on Greek. So keydown.j compares "j" against "й" and never matches. Hotkeys are dead for anyone outside a Latin layout.
Here's how to make hotkeys work on any layout.
When the hotkey is an ASCII letter or digit but event.key is not, we should derive the key from event.code instead: KeyJ, Digit3, etc.
Why can’t we always use event.code? Because it always returns the key based on the US QWERTY layout, and on Dvorak/Colemak it won’t match the actual keys.
Hotkey handling isn’t easy, I know.
Don’t forget about IMEs. An Input Method Editor is what lets users of Asian languages compose characters across multiple keystrokes. The browser still fires keydown during composition, but the IME is using those keys to assemble the final character. If a hotkey handler intercepts them, it might break input.
Punctuation and modifiers is another thing. Punctuation keys move around even across Latin layouts, such as AZERTY. Modifiers themselves are layout-independent, but different OSes use different keys as the primary modifier: Ctrl on Windows/Linux, Cmd (event.metaKey) on macOS. Your hotkey logic needs to handle both.
None of this is specific to Stimulus. A huge part of the world types outside ASCII every day. Switch your OS to another layout for a day and see what breaks. Try to make your interfaces accessible to everyone.
Pavel Grinchenko@psd_coder
At Evil Martians, we migrated our Trello boards to self-hosted Fizzy, and I noticed that it doesn’t handle hotkeys in non-Latin keyboard layouts properly. I prepared PR 3 months ago: github.com/hotwired/stimu…, but I haven’t seen any reaction from the maintainers since. Is Stimulus dead?
English
Yaroslav Markin retweetet

Markdown is the lingua franca of the AI internet. Meet Inkmark, a very fast Markdown processor for Ruby, with features galore, and first-class support for LLM/RAG pipelines. 🧵
yaroslav.io/posts/inkmark-…
English
Yaroslav Markin retweetet

so… after an unreasonable amount of work, debugging, testing, rewriting, polishing, and “one last thing before release” moments — our tiny but mighty team finally shipped imgproxy v4 🚀
producthunt.com/products/imgpr…
imgproxy@imgproxy_net
imgproxy v4 is live on Product Hunt 🚀 Would love your support, comments, and reposts 💙 producthunt.com
English

Bun targeted itself on being "as much of everything to everyone as possible", Deno is very much "Ryan figuring out how to do the thing the second time, doing it very well and introducing all sorts of weird limitations for making it better". It's almost Elm-spirited. People just don't have energy for that stuff these days - Bun is much more pragmatic (I have no stock in either fwiw, just observations)
English

@paolino It never went anywhere though, all of that is still present, including feed readers. Discontinuation of Google Reader did not kill feeds and indie thinking. It's more that X is now used for discovery.
English

I miss the old web.
Blogs, personal sites, RSS feeds, weird niche experts, independent writing.
But current feed readers just don't cut it.
What if you could discover more sources, and then get the hottest stories across your feeds?
Less big tech algorithms, more independent thinking.
Do you also want this?
English

I'm so excited to announce a new terminal emulator! 🎉
Meet "Ratty"🐀
🧀 A GPU-rendered terminal emulator with inline 3D graphics.
🪤 Try it out: ratty-term.org
⭐ Source: github.com/orhun/ratty
#rustlang #terminal #ratty #ratatui #opensource
English

Meet astro-slop, the most complete and flexible @astrodotbuild integration for LLMs and generating markdown versions of pages. Features include per-page .md siblings, llms.txt/llms-full.txt, link rel=alternate injection and content negotiation. 🧵
github.com/yaroslav/astro…
English

@headius Sorry to hear that. Know that there are still people who value your work greatly, don't take it to heart
English

@Troi5588 @inazarova Unlike, say, with Bundlebun, I have not used CF in production yet. Tests and benchmarks.
English

@Troi5588 @inazarova I’d say enough to play in staging environments, and, most importantly, to measure for yourself if you are getting the performance boost you like.
English

Carbon Fiber is a high performance Ruby Fiber Scheduler powered by Zig and libxev (same as used in Ghostty).
I've just released a new version: updated to Zig 0.16, latest libxev. Some optimizations, too—it's now faster! (benchmarks in README)
github.com/yaroslav/carbo…
English



