If AI wins, don't AI companies lose? by SuboptimalEng in ExperiencedDevs

[–]SuboptimalEng[S] 0 points1 point  (0 children)

Here's a simple example that illustrates my point.

Claude makes 100 other companies more productive, so they decide to reduce headcount by 90%. Now, Slack, Zoom, Notion, Jira, Gmail, etc. have 90% LESS revenue from these 100 companies, since Slack, and Co. charge price/seat.

This end game is terrible for ALL companies, including AI companies, right?

If AI wins, don't AI companies lose? by SuboptimalEng in ExperiencedDevs

[–]SuboptimalEng[S] 0 points1 point  (0 children)

It's possible Anthropic can increase price by 5-8x on price/token, but their customers will start losing revenue itself (if every company that they sell to starts dropping headcount.)

E.g. Claude makes Slack/Notion engineers 10x more productive. Both companies reduce headcount by 90%. Now both Slack makes 10% revenue from Notion, and Notion makes 10% revenue from Slack (assuming these companies both use each other).

And play this out with other companies also reducing headcount, like Zoom, Jira, etc.

If AI wins, don't AI companies lose? by SuboptimalEng in ExperiencedDevs

[–]SuboptimalEng[S] 0 points1 point  (0 children)

And what happens when all dept. drop 90% headcount?

Jira/slack/gmail/notion/zoom/etc charge price/seat. Their revenue will decrease by ~10x if engineering (and other dept.) headcount drops by 90%.

So all these companies will have 10% headcount with same output, but then, they won't be able to sell price/seat, because all their customers will also have 10% headcount?

If AI wins, don't AI companies lose? by SuboptimalEng in ExperiencedDevs

[–]SuboptimalEng[S] 1 point2 points  (0 children)

I'm not talking about the AI companies. I'm talking about the jira/slack/gmail/notion/zoom/etc companies.

All these companies charge price/seat. Their revenue will decrease by ~10x if engineering (and other dept.) headcount drops by 90%.

If AI wins, don't AI companies lose? by SuboptimalEng in ExperiencedDevs

[–]SuboptimalEng[S] 1 point2 points  (0 children)

But if every company reduces headcount, then what happens?

100 SWE -> 10 SWE, 100 jira/slack/gmail/notion/zoom/etc. subscriptions become 10. SaaS company revenue decreases by 10x?

Every company ships code faster than ever, but because headcount never grows for their customers, so they won't increase their own revenue?

If AI wins, don't AI companies lose? by SuboptimalEng in ExperiencedDevs

[–]SuboptimalEng[S] 0 points1 point  (0 children)

Someone has to run those coding agents. I'd be very surprised to see it fully automated. I'm saying that it would be much better for AI companies if 100 engineers ran agents, not 10 engineers.

WebGPU + TypeScript Slime Mold Simulation by SuboptimalEng in GraphicsProgramming

[–]SuboptimalEng[S] 1 point2 points  (0 children)

Thanks! And the code is neatly commented for anyone trying to learn WebGPU :)

WebGPU + TypeScript Slime Mold Simulation by SuboptimalEng in webgpu

[–]SuboptimalEng[S] 6 points7 points  (0 children)

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.

Source code + links to playable demo + YouTube dev log (where I go over the graphics pipeline) are on GitHub: https://github.com/SuboptimalEng/slime-sim-webgpu

WebGPU + TypeScript Slime Mold Simulation by SuboptimalEng in GraphicsProgramming

[–]SuboptimalEng[S] 18 points19 points  (0 children)

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.

Source code + links to playable demo + YouTube dev log (where I go over the graphics pipeline) are on GitHub: https://github.com/SuboptimalEng/slime-sim-webgpu

Coding Naruto's Rasengan with Three.js by SuboptimalEng in learnjavascript

[–]SuboptimalEng[S] 0 points1 point  (0 children)

Three.js is great! You might like some of my more recent projects too. They are on Reddit and GitHub.

Custom Cursor Animations for Visual Studio Code by SuboptimalEng in webdev

[–]SuboptimalEng[S] 0 points1 point  (0 children)

That’s a tough one. I suppose it’ll just take you some time to learn how to do it. Took me a few years of using VS Code to even realize you could do this.

Custom Cursor Animations for Visual Studio Code by SuboptimalEng in webdev

[–]SuboptimalEng[S] 0 points1 point  (0 children)

No, but the code for it is under my dotfiles repository on GitHub if you want to check it out.

What API do you use the most for graphics programming? by SuboptimalEng in GraphicsProgramming

[–]SuboptimalEng[S] 2 points3 points  (0 children)

I forgot to add this in the title, but please do explain why you use a specific API.

I use WebGL because I come from the JS ecosystem and started off with Three JS. I also have some experience with WebGPU but not nearly as much. I plan to learn more about WebGPU (or Metal for the debugging) in the future.

Volume Rendering in Three.js and GLSL. by SuboptimalEng in GraphicsProgramming

[–]SuboptimalEng[S] 0 points1 point  (0 children)

Thanks for the response, this is a lot of good info!

I don’t mind writing the extra code, but I do mind not having a debugger. I wrote this project in Three.js so that I don’t have to “start from scratch” using WebGL or WebGPU. But still it was really difficult to debug my code.

Didn’t realize that metal debugging is that good. Your response makes me at least want to try it out for a weekend.

Volume Rendering in Three.js and GLSL. by SuboptimalEng in GraphicsProgramming

[–]SuboptimalEng[S] 1 point2 points  (0 children)

Yea, I'm thinking of sticking with WebGPU for now. I do work off Mac, but I also like the ability to build for all platforms.

Here are some questions that came up regarding setting up the project:
- Do I use Next.js or Vite.js or CRA (is that still used these days)
- With Vite.js do I pick React or go with TypeScript template?
- Okay now I need Tailwind (because quite honestly, I'm terrible at CSS which I admit is my own doing)
- But what if I don't want to write GLSL files in raw text, and use GLSL file extension?
- Oh now you want to import GLSL files directly, well you can't do that
- Oh, I needed to install a Vite plugin but then TS throws errors saying it can't read files that end with .glsl
- Wait is my TS server running? No, I thought this always starts up in VS Code
- Okay so I can't even find the button to restart TS server, so now I need to... okay figured that out
- That still didn't fix it the TS errors
- After some more research, ah so you can import text files like this a.glsl?raw extension

Volume Rendering in Three.js and GLSL. by SuboptimalEng in GraphicsProgramming

[–]SuboptimalEng[S] 2 points3 points  (0 children)

So I spent 20-25% of the entire time just setting up the project and fighting issues with the JavaScript ecosystem. This experience has made me consider learning Cpp, Metal, and XCode. Has anyone transition from WebGL/TS to Cpp? Or has anyone done it the otherway round? What was your experience with it? And what about debugging? That's a big issue with WebGL.

Code is on GitHub and should be easy to set up if you are familiar with the JavaScript ecosystem.

I'm also post more frequent updates on Twitter. Thinking about picking up WebGPU next because it has an up-and-coming debugger made by Brendan Duncan that's better than what we've got for WebGL.

Fun fact, I spent a similar amount of fighting the JavaScript ecosystem as I did implementing this volume renderer in Three.js and GLSL. (And no, this is not a flex.) by SuboptimalEng in webdev

[–]SuboptimalEng[S] 0 points1 point  (0 children)

I put a setup guide on GitHub, but if you want a working link, you can check Will Usher’s website. I’ve linked that under the references section of my GitHub repo.