Yaroslav Markin

13.4K posts

Yaroslav Markin

Yaroslav Markin

@yaroslav

Consultant. Previously: co-founder and CTO @evilmartians

DXB Beigetreten Temmuz 2007
756 Folgt1.1K Follower
Yaroslav Markin retweetet
Flipper Devices
Flipper Devices@flipper_net·
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
112
545
4K
556K
Pavel Grinchenko
Pavel Grinchenko@psd_coder·
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
1
2
10
1.4K
Yaroslav Markin retweetet
@levelsio
@levelsio@levelsio·
John D. Rockefeller was the first remote worker ever?
English
6
12
418
142.8K
Yaroslav Markin
Yaroslav Markin@yaroslav·
AI features include: two chunking primitives: heading-based with breadcrumbs and per-chunk char/word counts, and sliding-window with overlap for size-bounded chunks; block-aware or word-aware truncation for context-window budgeting; Markdown-to-Markdown pipeline.
English
0
0
2
142
Yaroslav Markin
Yaroslav Markin@yaroslav·
Written in Rust. CommonMark+GFM. Features incl: strong security and host/protocol whitelists, syntax highlighting, frontmatter, ToC, plain text export, structured extraction of headings/images/links/code, statistics with char/word count and language detection, emoji shortcodes.
English
1
0
4
191
Yaroslav Markin
Yaroslav Markin@yaroslav·
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
1
4
16
758
Yaroslav Markin
Yaroslav Markin@yaroslav·
Attention bundlebun users. We have version pinning for a reason. The latest version of Bun might also be the last truly stable version of Bun in the nearest future. Pin it like this: # Gemfile gem "bundlebun", "= 0.5.0.1.3.14" To freeze the Bun version.
English
0
0
4
265
Julik Tarkhanov
Julik Tarkhanov@juliknl·
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
3
0
25
4.6K
Vanilagy
Vanilagy@vanilagy·
Why is it that Bun is talked about so much, yet I hear barely anything about Deno these days? Deno's even already written in Rust! (lol) Is it better marketing? The "backwards compatible" approach of Bun? What is it?
English
63
5
669
88.6K
Yaroslav Markin
Yaroslav Markin@yaroslav·
@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
1
0
1
102
Carmine Paolino
Carmine Paolino@paolino·
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
8
1
40
1.4K
Yaroslav Markin
Yaroslav Markin@yaroslav·
// A plugin to feed slop to Claude was mostly written by Claude. What a timeline
English
9
0
14
293
Yaroslav Markin
Yaroslav Markin@yaroslav·
Unlike other integrations, this one is fully featured (llms.txt and markdown and link rel and content negotiation). And instead of the "one size fits all" config that fails every time, it uses the bottom-to-top approach: you fully customize your markdown export and llms.txt.
English
0
0
3
175
Yaroslav Markin
Yaroslav Markin@yaroslav·
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
12
4
20
1.3K
Yaroslav Markin
Yaroslav Markin@yaroslav·
@headius Sorry to hear that. Know that there are still people who value your work greatly, don't take it to heart
English
0
0
5
1.7K
Charles Oliver Nutter
Charles Oliver Nutter@headius·
It's still shocking to me that after 20 years working on JRuby I won't be speaking at RubyConf. The conference that got me started on this whole crazy journey doesn't think I'm worth a talk. Really disappointing. I'll still be in Vegas to meet up, but I won't be at the event.
English
7
0
85
20.4K
Yaroslav Markin
Yaroslav Markin@yaroslav·
@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
1
0
0
16
Yaroslav Markin
Yaroslav Markin@yaroslav·
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
2
7
34
2.1K
Yaroslav Markin
Yaroslav Markin@yaroslav·
Claude Code soon running on a JavaScript runtime that Claude Code almost completely rewrote would be just perfect 🤌
English
0
0
2
194
Yaroslav Markin
Yaroslav Markin@yaroslav·
Another Astro integration on Monday ¯\_(ツ)_/¯ Build a personal website → find annoyance → fix annoyance → ship to public
English
0
4
7
1.2K