News for hackers. Stuff that matters.

SuboptimalEng

Re:Ask HN: If you dislike AI, why don't you prove it? on Saturday August 22, 2026 @12:44PM (#49401430)
I see you didn't read the description under the title :)
Re:Ask HN: If you dislike AI, why don't you prove it? on Saturday August 22, 2026 @12:42PM (#49401413)
Exactly. Be prepared to switch companies/models at moments notice.

I mean, if someone truly disliked AI, the only natural course would be to ensure that they can switch to open source and not willingly give money + data to the frontier labs.

Ask HN: If you dislike AI, why don't you prove it?

I've seen so many people who absolutely hate AI, and want AI companies to fail, but then 2 seconds later, open up the coding tool made by frontier labs and willingly hand them money.Just recently convinced one of them to move away from the frontier lab lock-in to OpenCode and switch between models. Not saying they need to switch to non-frontier models immediately, but this approach lets them...

( Read More... | 9 comments | 2 points | on HN )

Ask HN: Examples of AI taste?

I've struggled to find a clear definition of what it means to have "taste" when working with AI, so I wanted to try to find examples.Here's my example:React.js was released in 2013 (before I started programming professionally, so I could be wrong about this). But taste is knowing that React is the "future" even when all the training data that AI would've had until at that point in time was with...

( Read More... | 3 comments | on HN )
True. Maybe we could start with smaller sized GPUs until it becomes the norm in society to have GPU clusters in homes, then upgrade where necessary?

Get those AI companies to compete on who installs the GPUs, and let them offer incentives to you (the house owner) on who to choose :)

Ask HN: Can distributed data centers in individual households provide UBI?

Obviously, no body likes the idea of having or living next to a data center. And AI companies want to solve UBI in a sensible manner. Why not combine these two things?AI companies, go to individual homes in a community, ask to install a GPU cluster (for a size that fits + owner agrees to), and pay the household some 100s or 1000s of dollars a month?Yes, this will cause wild incentives (for...

( Read More... | 6 comments | on HN )
Re:STFU on Friday January 16, 2026 @02:22PM (#46650868)
Indian-American here. Thank you for this!

I have hearing sensitivity and have repeatedly asked my parents to lower the volume on TVs, whatsapp videos, insta reels 100s of times. They always lower it for 5 minutes before raising it back. Likely because they are losing their hearing, but unable to admit that.

I tend to be very mindful of others (maybe because I grew up in America), but my parents are not even mindful of my requests. Maybe it's a cultural thing? I expect those who have grown-up (or spent their whole lives) in India would do the same.

Definitely need to test this out app out when I go home.

Re:Ask HN: If AI wins, don't AI companies lose? on Saturday January 10, 2026 @07:08PM (#46571322)
That's a fair point. Model prices can increase. This raises the next question.

Doesn't this mean that any company that depends on headcount growth (every SaaS), loses?

100 SWE -> 10 SWE, 100 slack/gmail/notion/zoom/etc. subscriptions become 10.

And now let's recurse.

These SaaS companies that use AI and dropped 90% of engineering headcount lose revenue because their customers also drop headcount.

Let's say AI costs 89% more than it did before, so the SaaS companies still get 10x productivity from the 10 engineers, but now all their customers headcount is 90% smaller too. So what now? Does every company make a pact to grow headcount ;)

Re:Ask HN: If AI wins, don't AI companies lose? on Saturday January 10, 2026 @06:57PM (#46571245)
That's a fair point. Model prices can increase. Let's say Anthropics/OpenAI/Gemini figure this out.

Doesn't this mean that any company that depends on headcount growth (every SaaS), loses?

100 SWE -> 10 SWE, 100 slack/gmail/notion/zoom/etc. subscriptions become 10.

Re:Ask HN: If AI wins, don't AI companies lose? on Saturday January 10, 2026 @06:53PM (#46571211)
But AI companies would want more engineers generating more tokens.

In this case, Anthropic would want 100 SWEs generating 100,000/mo of revenue. Replacing the very headcount that is responsible for token usage would hurt company growth.

Not to mention what happens when companies start doing this recursively. 100 SWE -> 10 SWE, 100 slack/gmail/notion/etc. subscriptions become 10.

Ask HN: If AI wins, don't AI companies lose?

Let's play it out in the case of software engineers.100 SWEs all running Claude Code. Okay, company is 10x more productive than before.Now, company cuts 90% of SWEs because AI makes 10 engineers as productive as 100 engineers.Yay, company saves 90% of engineering costs.But now, 10 engineers run Claude Code. And now Claude revenue drops by 10x multiple?So if AI gets good, it will reduce the very...

( Read More... | 10 comments | 2 points | on HN )
Re:Ask HN: What happens when AI doesn't need human tools? on Wednesday December 24, 2025 @06:30PM (#46380449)
And what happens, when enough percent of the population has nothing to lose?
Re:Ask HN: What happens when AI doesn't need human tools? on Wednesday December 24, 2025 @06:27PM (#46380421)
That's exactly my question.

If there are fewer engineers, then there will be fewer dev tool companies, and fewer managers, etc. meaning fewer Slack, Gmail, MSFT, Zoom subscriptions, etc.

Companies are showing good profits, but if every company downsizes, then every company loses... right?

So, what happens now? (To the economy, lets say.)

Ask HN: What happens when AI doesn't need human tools?

Right now many companies are in cost-cutting phase, so here is an AI thought experiment.50% less white collar jobs -> 50% less productivity SaaS apps needed (slack, gmail, notion, jira, msft word, many more...)Once company downsizes -> businesses that depend on said companies "growing in size" also lose.AI doesn't need Slack, Jira, etc. That's just how we humans communicate. But AI can...

( Read More... | 7 comments | 4 points | on HN )
Re:Origami by Meenakshi on Saturday February 08, 2025 @03:04PM (#42985756)
Sad to see this. Posted on their instagram: https://www.instagram.com/p/C8IHZXYvh8y/?img_index=1

With deep sorrow, the Mukerji family announces the passing of Meenakshi Mukerji on June 11, 2024. Meenakshi fought very hard and bravely against stage 4 lung cancer for nearly 5 years, and she passed peacefully surrounded by close family and so much love.

Meenakshi was born and raised in Kolkata, India. She obtained her BS in electrical engineering from the prestigious Indian Institute of Technology Kharagpur, and a MS in computer science from Portland State University, Oregon. After working in the software industry for more than a decade, Meenakshi dedicated her time to her family, her community, travel, and to the arts. She authored many origami books and spread her love and passion for the craft across the world.

Meenakshi was a beloved daughter, sister, mother, wife, and friend. Her strength, creativity, positivity, and love will continue to inspire and touch the lives of those who knew her, and also those who didn’t.

Re:Rewriting my website in plain HTML and CSS on Tuesday January 14, 2025 @07:15PM (#42705769)
I started a portfolio website with Netlify (iirc), then I moved to Vue + Gridsome (on GitHub pages), then Next.js with Tailwind CSS, and was about to move to Vite.js over winter break.

That's 4 stacks over the course of 5-6 years. Not worth it.

Decided to do the sensible thing and use GitHub's README functionality. I prefer this approach and wish more folks in the tech community adopted it: https://github.com/SuboptimalEng

Re:Show HN: WebGPU + TypeScript Slime Mold on Saturday January 04, 2025 @09:37PM (#42599304)
Thanks! I didn't use the link with the live demo because it doesn't run on all devices.

Show HN: WebGPU + TypeScript Slime Mold Simulation

https://github.com/SuboptimalEng/slime-sim-webgpu

I made this slime mold simulation to learn more about WebGPU and compute shaders. It's essentially a recreation of Sebastian Lague's coding adventure on the web with TypeScript.I've linked a few video demos on the GitHub readme, and there is a playable demo on my website.Using WebGPU has been great so far. The iteration loop (with Vite.js) is much faster than when working with Unity. This helps...

( Read More... | no comments | on HN )
Re:Linear Algebra Done Right [pdf] on Sunday September 01, 2024 @10:27AM (#41417230)
Logged in to comment this. Very much agree. It's crazy (to me) that books like this gets so much hype on HN when there are much better videos that explain these topics better.

Most of my math learning starting in high school all the way through undergrad was done by watching YouTube videos. I used books to practice problems, but when it came to understanding topics more deeply, it was always some random person on YouTube who did it better.

I hope in the future, all math (at least applied math) is explained using nice visualizations + videos instead of books like this.

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Tuesday April 23, 2024 @09:02PM (#40139246)
Thank you! Hope you (or the intern) can pick up right where I left off.
Ah, so that's how you do it. Having a template for WebGPU projects is a good idea. I'll have to do the same so I don't waste time setting up web graphics projects.

Cool project btw! Adding this to my long list of graphics blogs to read.

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Monday April 22, 2024 @07:38PM (#40126678)
I need to do what you did and sit down and make a perfect Vite + React + TS boilerplate that I can use for all my web graphics experiments.

Also, your project, Shademap, is really cool btw! I remember seeing it just around the time I was getting into Three.js and graphics programming - well before the time I fully understood what a shader was.

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Sunday April 21, 2024 @11:27PM (#40111192)
Oh interesting, I always read (on r/GraphicsProgramming) that XCode has some of the best debugging tools out there. That's the main reason it's been on my mind. I just need better debugging tools on Mac!

Fair point about the health tech industry.

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Sunday April 21, 2024 @06:25PM (#40109769)
It's interesting to hear that Cpp is faster even though there is an overhead of moving data from WASM <-> JS/TS. I'm not yet ready to "take the leap" to learn Cpp + Metal + XCode + WASM because those are some big hurdles to jump through (especially just in my free time), but you do raise some good points.

I'm certain you could turn this knowledge into a blog post and help many more engineers who are silently struggling through this path. Self-studying graphics programming is tough!

It should pop up first on YouTube if you search "What is WebGPU Suboptimal Engineer", but I'll link it here[0] in case anyone else wants to watch it. (No need for you to actually fact-check it. I didn't mean to put random work on your plate on a Sunday haha.)

[0] https://www.youtube.com/watch?v=oIur9NATg-I

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Sunday April 21, 2024 @05:14PM (#40109319)
Wow! First of all, thank you for your amazing blog posts and tutorials! I wouldn't have been able to make it this far without them. Seriously, I was stuck for so long until a random Google search linked me to that WebGL ray-casting article you wrote. (I'd pin your comment if I could.)

The funny thing is that I was getting more confident about using JS + WebGL/WebGPU ecosystem for graphics programming after having read your posts. Very interesting to hear that you've come full circle back to Cpp + WebGL/WebGPU + WebAssembly. I'll look more closely to assess options as I head down this journey. Thank you for your tips and advice!

Edit: Perhaps you'd find my "What is WebGPU" video on YouTube interesting. I'd love to get it fact-checked by someone who's been doing WebGl/WebGPU way longer than most people! I only got into this field ~2 years ago.

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Sunday April 21, 2024 @04:54PM (#40109161)
Good question! If I knew how to do it, I'd probably write this in just TypeScript. Turns out I don't know how to set that up. So I instead start with Vite and throw React in there to handle rerenders and simple state management. I think R3F is interesting, but I never used it because it makes graphics programming too front-endy.

The most important reason for my code structure is that I just like writing GLSL shaders! It's annoying that I need to set up Vite, TypeScript, Tailwind, React, etc. all so that I can write some shaders. I know I can write shaders in ShaderToy, but then I won't be able to upload custom 3D texture files or add simple user controls.

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Sunday April 21, 2024 @04:26PM (#40108923)
My app does not support DICOM files as input. Just Uint8 256x256x256 raw files that are scaled 1x1x1. Maybe if I had the chance to work on it full-time I'd have the time to add those features, but it's just a side project for now.

Have you looked into Slicer3D[0] which is a multi-platform desktop app or Open Health Image Foundations dicom viewer[1] which is web-based? Perhaps one of these will help.

[0] https://www.slicer.org/

[1] https://github.com/OHIF/Viewers

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Sunday April 21, 2024 @04:22PM (#40108893)
Cool thank you! I'm using a library called Dat.gui which was easy to download and use thanks to NPM. Maybe I've been too hard on the JS ecosystem heh.

I've heard good things about ImGUI so I'll have to check that out if I ever go down the Cpp route.

Re:Show HN: Volume rendering 3D data in Three.js and GLSL on Sunday April 21, 2024 @01:52PM (#40107694)
That's one of the main benefits of Metal and it's made me think twice about it. I struggled quite a bit trying to debug my shaders. But Brendan Duncan's WebGPU Inspector caught my eye so I'll check that out for now.

Oh wow, your project looks really cool too! I'll check it out.

Interesting. I did not know that CDs did not need to get HIPAA compliance. I suppose web apps would certainly need that. I wonder what will happen once Gen Alpha starts needing to get MRI scans.

Older »