Website update: imgroll image optimization
has been deployed. Now I can finally properly share pics! :D
How it works: the micropub media endpoint in sweetroll2 uploads to S3 (with a callback URL in the metadata), returns an S3 URL.
The imgroll Lambda notices the upload, extracts metadata, does processing, uploads resized versions to S3,
POSTs to the callback a rich object with metadata and links to the sizes.
But from there, there’s three ways of getting the object into the post instead of the URL:
if everything goes right, it’s processed quickly: the callback is forwarded to the post editor via Server-Sent Events and the URL gets replaced with the object right in the browser;
if the post is saved with the S3 URL before the processing is done: the callback handler modifies all posts with that URL in any field;
same but after the processing is done: the micropub endpoint replaces all URLs for which these callbacks have happened.
Also, the images are served from CloudFront now, on a CNAME subdomain (with a certificate issued by AWS ACM).
Which has required.. switching DNS providers: the 1984 FreeDNS
was being buggy and wouldn’t apply my changes.
Now I’m on desec.io which is currently API-only and has no web UI,
but that’s actually cool because I now have all the DNS records in a script that deploys them using curl.
It’s nice that Microsoft is pushing for all pen tablet (stylus) support in laptops to use
the obvious generic set of HID reports.
Quite probably, Microsoft is to thank for the Wacom touchscreen in my Pixelbook implementing that.
I’ve seen the heaps of code in the Linux kernel to support Wacom’s custom protocols, that would’ve been very NOT fun to implement :)
Took like an hour max to get to working reports in console (dmesg), all that’s left is to evdev-ify it.
Coming to iichid pull requests soon
(but for now there’s no multiple device support in hidbus, so won’t be mergeable yet).
Noticed something on dmesgd…
looks like MIPS (64) isn’t that dead: new(ish) Ubiquiti EdgeRouters
have newer Octeon processors — quad-core 1GHz (and with an FPU). And 1GB RAM.
That’s much better than the Lite’s dual-core 500MHz && 512MB RAM.
“header” is a rather unfortunate word overloading in English.
Searching for “tpm header” gives you everything about… well, the physical header on mainboards :D
Even with “tpm protocol header”, only Google finds something related to protocol specs, and in the lower half of the first page.