HNHacker News
TopNewBestAskShowJobs

elxr

407 karma · joined November 25, 2021

submissionscomments
elxr··on Build a Basic AI Agent from Scratch: Long Task Planning
Code tutorial on medium (who's formatting is absolutely not meant for this)?

Please stop posting.

elxr··on DiffusionGemma: 4x Faster Text Generation
I always think for myself too, but when learning to do something I've never implemented before, it's nice to have little sanity checks using something with the reasoning ability (plus the fast natural language search on hundreds of pages of documentation) of a model like GPT-5.5.

Every line I put in my app, I still reason about myself. But when deciding between 5+ ways of building some random, non-straightforward feature, it's nice to have what's essentially a "mentor" AI.

elxr··on CSS: Unavoidable Bad Parts
Thanks for helping me realize my accidental anti-pattern. Can you link some of the sites that do that the worst.

I want to use those as references to fix my UI (on increased font-sizes on small screens) before releasing an app I've spent 4+ months on.

elxr··on CSS: Unavoidable Bad Parts
Thanks for the tip. That does make sense, although I do think having your default CSS-defined font sizes (across your whole app, not just the main content) be a reasonable size should be the first priority.

Also, not having ridiculously oversized margins, like so many 2019-2022 websites trying to look "modern" used to use.

old.reddit.com is one example where the paddings still look good when magnification is set to 150-170% (which I have to do because of the tiny default font size). I think doing it that way but with better readability at 100% zoom, would be a decent solution.

elxr··on CSS: Unavoidable Bad Parts
Yup, using rem for as many things as possible has always been good to me.
elxr··on Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use
Not in my personal experience. Never been in that situation, and I've worked in full-stack, FE, and BE teams.
elxr··on DiffusionGemma: 4x Faster Text Generation
For boilerplate, yeah. But when asking research or exploratory questions, or weighing whether a feature is well designed, or asking "can I implement _x_ feature using these libraries without introducing unnecessary complexity", then GPT-5.5 medium is still fast enough.

10-20 seconds times a couple turns on a new feature isn't bad. Kimi is also similarly fast if not faster.

I do agree with smaller models for more constrained/routine tasks though.

elxr··on Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use
I'm obviously not just prompting agents for everything. What are you on about?

Why would I build my little web-apps and backends in the cloud when I can run things faster locally?

elxr··on Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use
It's looking like a slightly updated reskin of chromeOS with gemini features built in.

Definitely not a developer machine based on how they presented it in google IO. So if you write software, it's not looking like it'll be relevant whatsoever. I hope to be proven wrong.

elxr··on Zig by Example
Agreed. Love that site.
elxr··on Building an HTML-first site doubled our users overnight
React has helped folks like vercel/convex/cloudflare to build fantastic dashboards. There's just as many examples of well done React as there are the opposite.

I generally prefer solidJS nowadays, but the react ecosystem has enabled lots of amazing user experiences (and developer experiences too if you don't fall into the trap of overcomplexity).

elxr··on All 9,300 Japanese train station, animated by the year it opened (1872–2026)
It's beautiful I agree, but that "designer" is just claude opus.

Lots of examples on x and on reddit of similarly styled apps made with the help of opus.

elxr··on Biff.core: system composition for Clojure web apps
Looks sweet. Where did you even find that?

Gleam, lustre, and tauri? Amazing

elxr··on Building an HTML-first site doubled our users overnight
I agree. Server-rendered React can also send down 100% HTML apps.

But I 100% see where the author's coming from, considering the massive fragmentation of react codebases/patterns and decision paralysis of React development in general. I really doubt most React apps, even the more accessible ones, are testing their multi-page form wizards with JS completely turned off.

HTML-first does seem highly underutilized in the commercial web, and I learnt a lot from reading this (as a solidJS/react dev).

elxr··on Biff.core: system composition for Clojure web apps
Beautiful. Will definitely work through this.
elxr··on WWDC 2026: Apple is Folding
Another benefit of the foldable over the ipad mini + regular phone is managing internet connectivity is a lot easier. Also no need for 2 separate sessions on whatever apps/websites you're currently using. As much as syncing states works fine nowadays, it'll never match just sticking to one device and not having separate browsers / note taking apps for your phone + the ipad.

I also don't foresee ipad minis going down that much in size, whereas foldables are constantly being made in smaller sizes (in height, thickness, weight, and even a variety of aspect ratios).

Price is the final real hurdle for most of these things IMO.

elxr··on WWDC 2026: Apple is Folding
Nice mate. Everything I said has been in support of apple, or anyone else, pursuing and developing a foldable. I'm 100% a fan of foldables, and my point was that they're just going to get thinner. Thus making the "thickness" complaint even more of a non-issue than it already is with the currently available foldables. Almost entirely <11mm across the industry btw.

If you think that's just complaining, I don't know what else to tell you.

elxr··on Biff.core: system composition for Clojure web apps
Any favorite gleam projects to learn from?

I've always admired the direction gleam was heading in, and the community is awesome. But with gradual typing now in elixir, I'm weighing whether or not gleam offers anything special enough to get me spending time there instead of just using elixir.

elxr··on WWDC 2026: Apple is Folding
Maybe because on hacker news, you expect slightly higher quality comments. Or at least a more forward-thinking opinion on consumer hardware.

Holding a different opinion is great, but dismissing on a modern cutting edge form-factor, one that has lots of love (as you can see even just in this thread), one that has painfully obvious benefits for reading, all because of "thickness" is daft considering the current crop of foldable.

Price would make 100% sense. But thickness? C'mon.

Some people genuinely go online just to complain. If he'd made a reasonable argument, I'd happily respond charitably.

elxr··on WWDC 2026: Apple is Folding
> we'll see what the market decides

The market && apple's choice of either pricing it aggressively or pricing it so that nobody can afford it. Both have equal weighting here.

The Z fold has succeeded enough that I see it out and about even outside tech-circles. Oppo and Google have had multiple generations of well-recieved folables too, despite not nearly having the marketing machine of someone like Apple.

elxr··on WWDC 2026: Apple is Folding
Even if you haven't, searching up dimensions on the current foldables takes all of 15 seconds.

It should be obvious to anyone who cares about phone hardware even a little that older foldables won't be the end-all of how thin the packaging is ever going to get.

The assumption that even future foldables will feel like holding two typical 7-8mm phones together is just an obivous case of no research and stereotypical hn complaining.

elxr··on WWDC 2026: Apple is Folding
They made the worst laptop keyboard of the last 3 decades, and put it in their $1000 laptops, AND then refused to update it until 2019 when it could've been fixed a whole year earlier.

Straight junk, forced onto all of their laptop buyers for multiple model-year updates.

Sure, they have a reputation for quality today (in general), but that wasn't even a decade ago and you've already forgot. Classic apple discourse.

elxr··on WWDC 2026: Apple is Folding
And it feels like a regular phone when folded. Not noticeably thick at all.

Some folks just have to complain for the sake of complaining, must give them a little dopamine hit or something.

elxr··on WWDC 2026: Apple is Folding
> bc the device needs to double its thickness

Considering how many people are dailying >6.8 inch phones (already massive in the average sized pocket), complaining about a thickness of 11mm* is just small brain behavior. I guarantee the weight is what you're noticing more than the thickness.

As someone who's into foldables but doesn't use one, the benefits are very real, especially if you read a lot of articles/blogs. Only reason I'm not using one is I can't afford the ones I want. How is a smaller phone, that's ideal for 1-handed use while having an expansive screen available at any moment, "running out of ideas"??? I like large screens, and I like being able to fit it in a small chassis. That's all it is.

* Samsung, Oppo, and Google's currently available foldables are all under 11mm

elxr··on Mouseless – keyboard-driven control of macOS/Linux/Windows
Wait till you hear about a trackpoint. To bad almost nothing comes with one anymore.

As someone on a mac trackpad right now, the only gesture I somewhat regularly use is drag-and-drop. Everything else I'd rather do on the keyboard.

elxr··on Mouseless – keyboard-driven control of macOS/Linux/Windows
One to two days only? Might have to try it out then.

Thanks for the suggestion.

elxr··on Mouseless – keyboard-driven control of macOS/Linux/Windows
Maybe if you're doing a job that doesn't involve typing whatsoever, silly stuff like that competitive FPS adjacent mouse skills might help, but for 99% of us, this is just a complete waste of time.

Replacing software with poor keyboard navigation support with better, more modern alternatives will literally do 10x more for your productivity than faster mouse skills.

Mouse aim training has to be the saddest way to improve productivity I've seen anyone suggest.

elxr··on Dumbphone 2
Insane price. I really should get into this "stripped-out phone masquerading as a crafted minimal phone" space.
elxr··on Elixir v1.20: Now a gradually typed language
Which models do you use for elixir?
elxr··on MacBook Neo is so popular that Apple doubled production
They're fine if you just need it mainly for the build/bundle step.

I've used an 8GB M1 mac for react-native iOS dev for over a year back when the M1 first came out.

If I had to look for the cheapest way to build iOS apps, but still on a laptop form factor (aka no mac minis), and I don't use macOS for day-to-day development, I'd do exactly this.

← PreviousPage 5 of 11Next →