Interesting failure mode on WSL2 ... I typed in "rustup update" while the Linux kernel was booting, and it ran soon enough after boot that random numbers weren't ready yet! (Ran again after a couple seconds and it was fine.)
thread 'main' panicked at 'could not initialize thread_rng: All entropy sources failed (permanently unavailable); cause: getrandom not ready (not ready yet); cause: Resource temporarily unavailable (os error 11)
Uploaded mtpng crate 0.1.0 -- https://crates.io/crates/mtpng
No documentation and the API's not very stable... but this reserves my project name and gives me an impulse to fix those things up proper. ;)
Want to try using it in GNOME and Firefox for large screenshots, which are slow to compress on slow CPUs but can parallelize well with mtpng.
Some details on the build. Mostly "just worked" but a couple tricky bits.
Chromium's ARM64 codegen is MUCH better than Firefox's. ogv.js WebAssembly codecs run twice as fast... and then I get further bonuses from the SIMD implementation on my experimentally optimized AV1 decoder. :D
Hits 720p with only a few dropped frames on this test. (Of course native it does better!)
mtpng now builds for Windows ARM64 even with the libz-sys C dependency! Turns out the necessary plumbing is in cc-rs but was getting mucked up by my trying to manually set up the environment. :D
I love the idea of a direct visualization of the LISP heap, showing as regions are allocated and freed.
It's so hard to visualize a whole system at modern levels with many gigabytes and multiple levels of indirection, but I'd love to see a good realtime animated viz of, say, how memory objects move around in your Firefox process as you're browsing. :)
This tiny 'Visible Lisp Computer' is amazeballs -- and super cute to boot! http://www.technoblogy.com/show?2ODQ
Hit the python import error again, think it was pulling in one of my local python installs over the chromium-built-tools-provided one. Just nuked em and we'll try again.
Building big projects like browsers on Windows tends to be weird, involving an install of some funky custom tooling. Hopefully they won't fight each other too badly. ;)
MediaWiki, ogv.js, OGVKit, mtpng, formerly StatusNet, human decency, puns.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!