HNHacker News
TopNewBestAskShowJobs

ashwinsundar

333 karma · joined February 28, 2025

ashwinsundar dot com

ash,i,un,dar,at,g,mail,dot,com

submissionscomments
ashwinsundar··on Next.js Is Infuriating
More people need to talk about the disaster that is Next.js, to counter the massive amount of sheer nonsense and propaganda being spewed by pro Next.js-ers. Our sole purpose in this career isn't to pump out "10 more features" or whatever, it's to also explain why certain engineering solutions are bad.

If that offends you, maybe consider not reading things that offend you. Or be less easily offended by light criticism.

ashwinsundar··on Code Is Debt
No thanks.
ashwinsundar··on Baby's first type checker
Very much looking forward to spending some time implementing this alongside the article. I really enjoyed your posts about making a Teeny Tiny compiler a while back too!
ashwinsundar··on Cognitive load is what matters
AI does not have a cognitive load problem in remotely the same way people do. People can chunk and re-chunk info based on their skill and experience, but even the best AI just knows one thing - token length
ashwinsundar··on Do the simplest thing that could possibly work
A related concept: https://en.wikipedia.org/wiki/Poka-yoke
ashwinsundar··on Meta is spending $10B in rural Louisiana to build its largest data center
How long does a human brain take to train?
ashwinsundar··on A small change to improve browsers for keyboard navigation
Probably not, use whatever makes you happy!
ashwinsundar··on A small change to improve browsers for keyboard navigation
I installed Vimium a few months ago and haven't looked back -> https://vimium.github.io/

Mouseless as well for navigating anywhere on the computer without a mouse -> https://mouseless.click/

ashwinsundar··on Developer's block
This is like the #1 cause of spaghetti, unmaintanable, deadlocked codebases - a single developer who knows every “best-practice” and optimization technique, and will not hesitate to apply it in every situation regardless of practicality or need, as a way to demonstrate their knowledge. It's the sign of an insecure developer - please stop.
ashwinsundar··on Stupid Things That Work
How do you know this works?
ashwinsundar··on When to Open Source
Why should any given software be open-sourced? What is there to be gained by the company?
ashwinsundar··on Blocking LLMs from your website cuts you off from next-generation search

    But how many of you wouldn’t hook up your website to Google?
Me. https://ashwinsundar.com/robots.txt

Your computer doesn't have the right to scrape what I say or do anything with it.

    I know one of the primary reasons that I do anything online is to provide an outlet for someone else to see it. If I didn’t want someone else to see it, I’d write it down on my notebook, not on the public web.
Sounds like the same schpiel from the anti-privacy advocates who think that we should all expose everything we're doing because "you should have nothing to hide".

https://archive.is/WjbcU

This article was written for Wired by Moxie Marlinspike in 2013, who went on to later develop the Signal protocol.

I don't want my thoughts or ideas spread across the web promiscuously. The things I say publicly are curated and full of context. That's why I have my own website, and don't post elsewhere.

I'm not playing the same game you are, which appears to be to post liberally and have loose thoughts to maximize "reach".

ashwinsundar··on Qualifiers on Hypertext Links (1991)
On this day 34 years ago, Tim Berners-Lee replies to a question regarding research on "Hypertext links enabling retrieval from multiple heterogeneous sources of information". He proposes a CERN project called the WorldWideWeb (WWW), and welcomes collaborators to the project.
ashwinsundar··on GitHub pull requests were down
Git and GitHub are not the same thing. git repos can live independently of GitHub

What features do you feel like git is missing?

ashwinsundar··on Ask HN: Why is it called "Vibe Coding"?
the real vibe codes were the list comprehensions we made along the way
ashwinsundar··on At a Loss for Words: A flawed idea is teaching kids to be poor readers (2019)
Are you implying that people use “training data” to learn things
ashwinsundar··on Ask HN: Who wants to be hired? (August 2025)
Oh man, thanks for the heads up! Fixed
ashwinsundar··on Ask HN: Who wants to be hired? (August 2025)
Location: Denver, CO

Remote: Yes

Willing to relocate: No

Technologies: python, django, docker, git, postgres, react, next.js, gatsby, typescript, jQuery, vanilla javascript, objectstore (nosql db), prisma ORM, graphql, bash/zsh, github actions, amazon web services (AWS), digitalocean, go, mqtt (mosquitto), R, matlab

Résumé/CV: https://github.com/AshwinSundar/resume/blob/main/resume.md

Email: ashiundar@gmail.com

Seeking: Part-time contracting work (25%-75%)

Target billing rate: $125-$150/hour

About: Full-stack developer with a master's degree in biomedical engineering. Polyglot technologist, with a focus on Python and Django development. Wide variety of professional experience to draw from. Am currently launching a startup (while working a full-time job as a Sr SWE) - I'd like more time to spend on the startup, while continuing to pay my bills. Thus the desire for part-time contracting work.

ashwinsundar··on The Chrome Speculation Rules API allows the browser to preload and prerender
> Creating efficient pages takes time from a competent developer, which costs money upfront, but saves server resources over time.

Not trying to be a contrarian just for the sake of it, but I don't think this has to be true. Choice of technology or framework also influences how easy it is to create an efficient page, and that's a free choice one can make*

* Unless you are being forced to make framework/language/tech decisions by someone else, in which case carry on with this claim. But please don't suggest it's a universal claim

ashwinsundar··on The Chrome Speculation Rules API allows the browser to preload and prerender
Those aren’t mutually exclusive goals. You can serve efficient pages AND enable pre-fetch/pre-render. Let’s strive for sub-50ms load times
ashwinsundar··on URL-Driven State in HTMX
They failed as a company?
ashwinsundar··on URL-Driven State in HTMX
I have something similar setup for toast notifications in Django (Python). I have a notifications "partial" defined, which gets returned as part of an out-of-band swap by any view function that desires to use it. This includes other partials as well. It's how I chain fragment replacements together.

As an aside, I love that we can have this conversation - people in entirely different stacks can talk a similar language, through the glue of HTMX. This is why htmx is good for web development

ashwinsundar··on URL-Driven State in HTMX
You don't need to do anything different to the other URLs on the page, by default all parameters are passed along in every request, so you just need to retrieve any expected url parameters in the server code

https://htmx.org/attributes/hx-params/

ashwinsundar··on URL-Driven State in HTMX
Makes sense, HTMX and Datastar both have a common philosophical ancestor in HATEOAS
ashwinsundar··on Ask HN: What are you working on? (July 2025)
Happy to chat more if you or someone you know thinks there is an investment opportunity here. My email is in my profile.
ashwinsundar··on Ask HN: What are you working on? (July 2025)
I appreciate the perspective, but I think that tech solutions like this have plenty of opportunities to bootstrap and apply for various grants and funds (which we are doing). I'd rather see more money go towards non-tech solutions and direct care for animals. Shelters are notoriously underfunded and understaffed, and the number of pets people have adopted and given up has boomed since the pandemic. Not to mention the number of shady animal mills out there exacerbating the issue. Tech can't solve that problem, but more volunteers and outreach can.

The tech community is doing just fine in terms of money at the moment.

ashwinsundar··on Instrumenting Next.js with runtime secret injection
I've preferred Python-based web frameworks lately. Django has been my primary go-to, but I'm starting to use FastAPI more for very simple web projects that I want up and running in literally 10 minutes (including deployment over ngrok).

I also subscribe to the HATEOAS principle and really like the idea of separating the visual and business logic layers so that I can mix-and-match technologies based on the problem domain. The glue layer I'm using is HTMX - it can be dropped in anywhere, allowing you to pair any templating language for the front-end with any general-purpose language on the back-end.

As an aside, I have a personal definition of "vibe-coding", which is when the language/framework is so good, that it pretty much gets out of the way and lets you solve the actual problem at hand, instead of wrestling with a language/framework/way of life/whatever. That's what Django/Python, HTMX, some Alpine.js and Tailwind (just the classes) have done for me

ashwinsundar··on Instrumenting Next.js with runtime secret injection
Here's the thing - the other frameworks I work in don't encourage me to require secrets on the client-side, so you're exactly right. The client-server split that is enforced by Next.js's App Router paradigm is not an abstraction, but more like a rift through the center of the web development universe. I don't want to send env variables to the client, but sometimes they have to be shipped with the bundle to cross this great chasm. It's like that scene in Interstellar when Coop and his team gets sucked into the black hole. Him returning to see Murph is like a client issuing a fetch request to the server, as far as Next.js is concerned

And I already know what the answer is, it's "anticipate every possible future scenario that your web program might encounter, and design your server/client structure perfectly the first time! What's so hard about that?"

This experience with Next.js has made me quit the Javascript/Typescript communities of web frameworks entirely. Burned by Gatsby and GraphQL once, shame on them. Burned by Next.js though...

ashwinsundar··on Instrumenting Next.js with runtime secret injection
I agree with everything except "completely without awareness"...the game is called "vendor lock-in" and they're intentionally breaking anything that allows people to use Next.js outside their fancy, expensive ecosystem
ashwinsundar··on Ask HN: What are you working on? (July 2025)
Software for biomedical research labs.

Animal colony management is largely managed in Excel sheets, with no integrations to related systems or hardware sensing. We're working on the spreadsheet problem first, so that biomedical researchers can share information about their colonies with other researchers at their institutions, and explore the lines that other labs have. This opens up collaboration options and makes it much easier for the research community to find out what mouse lines other labs have (and may borrow for their own experiments).

https://www.mousehouse.bio/

Currently in closed beta at Harvard

← PreviousPage 2 of 6Next →