HackerTrans
TopNewTrendsCommentsPastAskShowJobs

yokuze

no profile record

Submissions

Ask HN: How do you deal with fragmented attention?

3 points·by yokuze·5개월 전·2 comments

comments

yokuze
·3개월 전·discuss
Do you have Settings > Apps > App Store > (Automatic Downloads) App Downloads turned on?

I noticed apps appearing on my Home Screen I’d never heard of before. Turns out with that setting and Family Purchase sharing turned on, every time my wife installed a new app, it installed on my phone too.

That may not be your exact scenario, but I wonder if turning off that Automatic App Downloads setting (if enabled) changes anything. Could give you a clue, if so.
yokuze
·3개월 전·discuss
aix - Like the npm CLI and package.json, but for AI config. Allows standardizing your AI config to share with others, and defining it all in one spot but installing to Claude, Codex, Cursor, etc.: https://aix.a1st.dev/

A Tauri 2 CLI / MCP that allows your agent to debug, take screenshots, run JS, etc. inside a Tauri app: https://hypothesi.github.io/mcp-server-tauri/
yokuze
·3개월 전·discuss
I see what you did there XD
yokuze
·3개월 전·discuss
My question exactly.
yokuze
·3개월 전·discuss
> The technical fix was embarrassingly simple: stop pushing to main every ten minutes.

Wait, you push straight to main?

> We added a rule — batch related changes, avoid rapid-fire pushes. It's in our CLAUDE.md (the governance file that all our AI agents follow):

> Avoid rapid-fire pushes to main — 11 pushes in 2h caused overlapping Kamal deploys with concurrent SQLite access.

Wait, you let _Claude_ push your e-commerce code straight to main which immediately results in a production deploy?
yokuze
·5개월 전·discuss
I found that having a rule like this helped some too:

> * ABSOLUTELY DO NOT use `@deprecated` on anything unless you are explicitly asked to. Always fully refactor and delete old code as-needed instead of deprecating it

https://github.com/yokuze/aix-config/blob/f5094b5c5169261fae...
yokuze
·5개월 전·discuss
Absolutely not the same thing, but I’m going to shamelessly plug my Tauri MCP in case you find it helpful: https://github.com/hypothesi/mcp-server-tauri

With the debugging capabilities it gives agents, I find I don’t miss Chrome DevTools so much.
yokuze
·5개월 전·discuss
I had the same question. There are older and more established component libraries, so why’d this one win? It seems like a scientific answer would be worth a lot.
yokuze
·5개월 전·discuss
Same, minus the contractors part
yokuze
·5개월 전·discuss
I don't follow. Assuming that the caniuse data is also representative of your users (a big assumption), then it's 10-20% of either group. Adjusting the % for the subset that is "your users" can result in either a higher or lower %.

Let me know if I'm missing something.
yokuze
·5개월 전·discuss
Alternate title: "How to break your website's styling for 10-20% of your users"

This is a nice reference, and some properties like `scrollbar-gutter` can be used for progressive enhancement.

However, many options listed will require some kind of fallback if `autoprefixer`/`postcss`/etc. doesn't cover it, and if you don't want to exclude a large fraction of your users.

It's reasonable in some cases to have both "new" and the old fallback code side-by-side until _your users's_ browser adoption stats indicate that you can delete the old fallback code without breaking a substantial number of users.

But the reality of using the new CSS hotness is that if the code is not supported by a % threshold that is much higher than many of these techniques show, it actually _increases_ your workload in the near term. You write new + the fallback + ensure that they don't interfere with each other.

P.S. Note the emphasis on _your users_ in the paragraph above. Global browser stats are fine as a basic reference, but your specific site/app's userbase demographics affect the actual percentages tremendously. That may mean you can use ALL of these new techniques today, or some, or none of them.

If your audience is primarily software developers, then after measuring you may find you can use these without a fallback. If it includes people in less wealthy communities or countries, or in countries with restricted access to mobile phone markets, you likely cannot.
yokuze
·6개월 전·discuss
Fixed. Thank you!
yokuze
·6개월 전·discuss
I made, and use this: https://github.com/libragen/libragen

It’s a CLI tool and MCP server for creating discrete, versioned “libraries” of RAG-able content.

Under the hood, it uses an embedding model locally. It chunks your content and stores embeddings in SQLite. The search functionality uses vector + keyword search + a re-ranking model.

You can also point it at any GitHub repo and it will create a RAG DB out of it.

You can also use the MCP server to create and query the libraries.

Site: https://www.libragen.dev/
yokuze
·6개월 전·discuss
https://hypothesi.dev/
yokuze
·9개월 전·discuss
From the article:

> “Apparently only one layer of the windshield was damaged, and there was no depressurization.”

And from the photos, it looks like it was the outer layer. So, where would the glass have come from?