evilhackerdude
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
Best intro text, best item lore, best in-game computer and it looks absolutely great.
Are you on Twitter/Mastodon?
name: fairseq
channels:
- conda-forge
- pytorch
dependencies:
- python=3.9
- Cython==0.29.21
- librosa==0.8.0
- matplotlib=3.3
- numpy=1.19
- scipy==1.5.2
- tensorboard==2.3.0
- pytorch=1
- torchvision=0
- Unidecode==1.1.1
- pip:
- phonemizer==2.2.1
You can install it with micromamba (or conda): conda create -f environment.yml
conda activate fairseq
You'll need to do this: cd path/to/vits/monotonic_align
mkdir monotonic_align
python setup.py build_ext --inplace
Then back to fairseq: cd path/to/fairseq
PYTHONPATH=$PYTHONPATH:path/to/vits python examples/mms/tts/infer.py --model-dir checkpoints/eng --wav outputs/eng.wav --txt "As easy as pie"
(Note: On MacOS, I had to comment out several .cuda() calls in infer.py to make it work. But then it generates high-quality speech very efficiently. I'm impressed.)Also, from The FAQ:
> Who/what is behind this project? > > I've had a couple people and institutions provide a bit of help along the way, but I am — and always have been — one person.
Never underestimate the intellect of a single person. Every corporate team, every open source maintainer, every researcher more or less* has access to the same prior knowledge to build something new.
* some have more money to burn, some are surrounded by mentors/helpers
PRINT "Ach leck mich doch am Buerzel"
And hit Run → Start...I broke out in laughter, realizing I can make real grey-on-black DOS programs just like that. It blew my mind and started my programming career.
Wondering if there’s a low-bullshit reusable coffee filter medium to remove some of the oils.
What I want to get sorted most right now is water. I use tap water, but I need to filter it because it’s really, really calcareous. Most filters are made of plastic, or at least plastic cartridges with the filter medium. I was thinking about using glass or metal instead and somehow machine a container for the filter medium and buy that stuff in bulk. I really don‘t want to buy bottled water to make coffee.
Any thoughts?