evilhackerdude
Joined 17 years ago
Joined 17 years ago
i built an in-browser STT app UI with dear imgui, and everything just _worked_. i’m rendering to a canvas, running the model in a service worker and heavily using web audio, among other platform APIs. but.
at this point, i’d even struggle to comprehend the concept of going back to using the DOM for anything but a static reading experience. perhaps peppered with _fancy_ web components for an interactive animation. some would argue that’s what it’s for.
well, browsers/JS engines can both be powerful and terrible at the same time. despite using imgui via typescript bindings and rendering to a canvas via webgpu/webgl2, there is almost no limit to what i can do. more importantly, how easily i can express _whatever i want to see_ without paying with terrible frame rates, gc or layout jank or some other fun webism.
i’ve built SPAs since dojo was a thing, built iAds (lol), really, i’ve bikeshedded myself to oblivion.
low key expecting some kind of communal inflection point where we stop wasting our time arguing about bronze age tools and start having fun again.
the diagram is calculated with d3-sankey & rendered with imgui. you can stretch that window however you want—ok, enough.
edit: the original steam-engine sankey diagram created a far stronger emotional reaction in me. the aella chart is just more modern, i guess?
i am waiting for someone to surpass the original steam engine sankey diagram: https://commons.wikimedia.org/wiki/File:JIE_Sankey_V5_Fig1.p...
let me add my own unqualified statement to that: no.
> Next.js has invested heavily in Turbopack but if you want to deploy it to Cloudflare, Netlify, or AWS Lambda, you have to take that build output and reshape it into something the target platform can actually run.
it's almost as if vercel had some kind of financial incentive to gear this towards their own platform.
> reimplemented the Next.js API surface on Vite directly
a clown car screeches to a halt; several burnt-out-bored oracle vs google lawyers climb out and, weirdly, i am there for it
all in all, it's definitely a good example of something we couldn't have done for $1100 pre-llms, but: should we have? did somebody consult the lava lamps?
it uses a lightly modified @mori2003/jsimgui[1] and renders to webgpu. i can change that to webgl2 if anyone's browser fails because of that.
the fonts actual fonts appear to be tahoma and verdana. however, my imgui bindings couldn't bake the fonts at a specific size.
what i found interesting is running msiextract[2] on the above linked steam.msi revealed a TrackerScheme.res file with exact RGBA colors and layout configuration (borders, scrollbars, etc) for many widgets.
there's a lot left in there but i need to climb out of this hole for now. have fun!
[1]: https://jsr.io/@mori2003/jsimgui
[2]: https://search.nixos.org/packages?channel=25.11&query=msiext...
https://archive.org/details/steam_10-08-2004
a rabbit hole, at the end of which is an imgui theme, and me was^H^H^Hspending entirely too much time extracting actual fonts, color codes and other minuscule details.
what's better, i have absolutely no issue with that theme being my new default!
on a related note: i wish we could agree on rebranding the current LLM-driven never-gonna-AGI generation of "AI" to something else… now i'm thinking of when i read the in-game lore definition for VI (Virtual Intelligence) back when i played mass effect 1 ;)
i attended two 1-day woodworking courses: hand tools and machine tools. i made a nice bench/stool thingy that i still enjoy daily.
however, every time i work with wood, my mind immediately goes to CAD, 3d printing and wishing i had a CNC. i look at my soft baby hands (i can’t go bouldering for shit) and walk to the keyboard, create a parametric model in a notebook (build123d is great!), slice it and send it off to one of my printers…
sigh