HackerTrans
TopNewTrendsCommentsPastAskShowJobs

HeyImAlex

no profile record

comments

HeyImAlex
·11 ngày trước·discuss
You can AOT typescript types from zod schemas if intellisense is your main complaint. I think it generally makes more sense to transform from more expressive => less expressive, and zod is more expressive than typescript (as evidenced by your need to add doc comment annotations to get similar behavior going the other way).
HeyImAlex
·17 ngày trước·discuss
They're talking about window units, not heat pump systems or central air. It's a complete AC that sits in your window. It can't cool a very large space (even in apartments people may have more than one), but it's cheap and easy to install (and equally easy to remove). It might be unsightly on a house, but a lot of that is probably just cultural norms. They're very common in NYC, where a lot of housing was built before central air became the default.
HeyImAlex
·tháng trước·discuss
Do effect systems actually avoid colored functions? Don’t most typed effect systems require the used effects in the signature?
HeyImAlex
·4 tháng trước·discuss
It seems like it would drive down housing prices, but (given limited zoning) drive up land prices?
HeyImAlex
·8 tháng trước·discuss
In the times of the French Revolution that was enough, but I think technology is obsoleting us there too. If evil oligarch can make a bunker and ten million $100 kill bots, I don’t think the people are rising up unless existence is worse than death, and even then they might not win.
HeyImAlex
·9 tháng trước·discuss
Here’s my favorite post on the subject https://adam-p.ca/blog/2025/04/string-length/
HeyImAlex
·9 tháng trước·discuss
Another thing I’ve encountered with tree/structured diffs is a concept of identity. diff([{id:1,name:foo}],[{id:2,name:foo}] should show object w/ id:1 removed and id:2 added, not id changed from 1 to 2. Tough because then your diffing algo needs to be aware of the object structure (imo using convention and saying “no objects can contain this key” is pretty tough when you accept any user generated data).
HeyImAlex
·10 tháng trước·discuss
I think if this can keep a knife effectively sharper than the equivalent nice steel with less maintenance, then it’s going to find a market.

I’m a nerd, but Ive found that once I’ve mastered a hobby I eventually gravitate towards convenience, optimizing my time over absolute performance. I’ve built five PCs in my life, and now I only own a macbook. I spent loads of time optimizing my hifi setup, and now most of my apartment is sonos. And I have probably 1k worth of nice japanese knives + whetstones, that I would happily replace with a single knife that needs little to no upkeep.