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 Ask HN: What are good high-information density UIs (screenshots, apps, sites)?
Are the classes still offered? I was looking to take it a few years ago, but couldn't figure out how to sign up. It seems like only video lectures are available now.

Still seems worth it, just wondering

ashwinsundar··on Ask HN: What are good high-information density UIs (screenshots, apps, sites)?
I did, it just seems to highlight the items in the view? I was hoping to see all of the dialog boxes at once, somewhere. I'm using a laptop FYI so have plenty of screen real estate for that
ashwinsundar··on Ask HN: What are good high-information density UIs (screenshots, apps, sites)?
I don't find this site to be particularly information-dense. There is a lot of scrolling needed just to extract a few sentences of info about what this site even is. Although the graphics and design are cool.
ashwinsundar··on Ask HN: What are good high-information density UIs (screenshots, apps, sites)?
How did Tailwind contribute to the low-density trend? I use it a lot and don't really find myself forced to create "low-density" sites based on any decision by the library-makers.
ashwinsundar··on Ask HN: What are good high-information density UIs (screenshots, apps, sites)?
Wow btop looks fantastic out-of-the-box. I spent a long time configuring htop and still don't really like how it displays info (although it is an improvement over plain-old top)
ashwinsundar··on Ask HN: What are good high-information density UIs (screenshots, apps, sites)?
This makes sense. One suggestion would be to add a "Click to hold" button, which will push the dialog pop-up into a corner, maybe in a condensed view, and allow you to select more items. Then you can do a selective comparison of multiple items at once.

"Click to hold" isn't a good name for the feature, but hopefully the idea makes sense.

ashwinsundar··on Engineers develop wearable heart attack detection technology
Real-time monitoring and continuous monitoring are different goals. The use case for something like this is probably a wearer who is experiencing heart palpitations, and has the time and clarity of thought to actually find the correct app on their device and start recording.

Continuous monitoring is extremely challenging still because ECG data needs to be sampled at a relatively high frequency (~200 Hz) to accurately identify the QRS complex in the waveform. That uses a lot of power, and the batteries we have still aren't good enough to support those types of demands. 200 * 60 * 60 = 720,000 samples per hour to collect and process.

It's possible that algorithmic approaches may be able to reduce the sampling frequency required. Power-constraints were the main issue when I studied this topic 10 years ago during my master's degree. I had looked into non-frequency domain techniques (such as empirical mode analysis/Hilbert-Huang transform) as a possible way to reduce sampling frequency and thus power consumption.

https://github.com/AshwinSundar/Empirical-Mode-Decomposition...

ashwinsundar··on Ask HN: What would you want from a diagrams-as-code editor?
I use Mermaid a lot, and my biggest gripe is the lack of normalized syntax. Everytime I want to create a new type of diagram, it's like learning a new language. I'm a big diagram-as-code proponent (https://ashwinsundar.com/posts/diagrams-as-code/) - however, I get the impression that no one at Mermaid is really talking to each other when making new features. There doesn't seem to be much thought for how to make the syntax cohesive or easy-to-grok
ashwinsundar··on Ask HN: What book should my CS1 students read?
Snow Crash seems like a good stretch goal. The prose is pretty insane but the book is a fun read. I find myself thinking about that book randomly when reading various tech news articles.
ashwinsundar··on I'd rather read the prompt
For everyone pointing out that this idea can be cheated by just typing AI-generated text into the editor - add an AI-detector to the editor. Gamify the whole thing by making a leaderboard of people with the lowest AI-detector-similarity score across things that they have "written"

In a class setting, maybe make the AI-detection an element of take-home assignments - whoever gets the lowest AI-similarity score gets a few points of extra credit or something

As for computer science courses, I'm guessing it's hard to not write simple code that appears AI-generated...so maybe that kind of work needs a written summary to go along with the code as well

ashwinsundar··on My takeaways from DjangoCon EU 2025
Would love to hear an honest discussion of why Django and/or Python is a bad solution for any given problem. Is it because they are old technologies? Do they lack support for something in particular? Are they too expressive/not expressive enough?
ashwinsundar··on My takeaways from DjangoCon EU 2025
I chose Django + htmx and a small amount of Alpine.js for a full-stack software project that is currently being launched. I had zero professional experience with Django (or Python really) before starting. I was able to develop the entire application on my own, in my spare time, and had time left over to also handle infrastructure and devops myself.

I prefer Python and it's web frameworks over Typescript/React because there is a lot more stability and lot less "framework-of-the-week"-itis to contend with. It's much easier to reason about Django code than any React project I've worked on professionally. IMO when you don't have a firehose of money aimed at you, then Python is the way to go

ashwinsundar··on Python’s new t-strings
In what ways has it changed for the worse?
ashwinsundar··on Ask HN: What's Got You Stuck?
I want to switch from Postgres to SQLite for a side project. Managed Postgres is an unnecessary expense, and introduces complexity which I don't want to deal with or troubleshoot. SQLite is simple and appropriate for my current needs. I believe a simple rsync script is enough to keep backups. I'm also attracted to the fact that the database is stored in the same file system in SQLite, instead of being a network request away for Postgres.

However, I am hosting the application via DigitalOcean App Platform, which has an ephemeral storage and lacks the ability to mount volumes. I looked into storing the file in DO Spaces (S3-like storage), but App Platform seems to lack the ability to install/run s3cmd to retrieve files. I also cannot easily curl the file over, because the Spaces files are private and require a new presigned URL which needs to be manually generated as needed.

I really like the App Platform's zero-downtime capabilities and minimal configuration hassle, but I don't like that I lack granular abilities to install what I want on the managed VM (such as s3cmd). I could switch to a droplet, but then I have to manually script the shutdown and startup sequence so that it pulls the db.sqlite file from Spaces on startup.

I'm a little frustrated that App Platform is just barely not compliant enough for me to run SQLite.

← PreviousPage 6 of 6