My static site generator "makebakery" is undergoing a bit of a refactor, which should make it a lot easier to use!
datagrok.github.io/makebakery/

Now instead of trying to be some kind of canonical Makefile, you set up some configuration in your own simple Makefile following a template, which `include`s makebakery.mk. Like this:
github.com/datagrok/makebakery

I'm still working on updating the documentation and demo site which is currently full of lies, but I'll announce a release when it's ready to use for real.

(LT: I doubt that the benefit of avoiding mod_rewrite on Dreamhost in this way is significant or worth the trouble. The Apache wiki says only that their similar virtual-hosts-based approach is "simpler and safer" than using mod_rewrite.) wiki.apache.org/httpd/Redirect

's recommended way to force HTTPS is to use mod_rewrite: help.dreamhost.com/hc/en-us/ar

But if you don't want to have "RewriteEngine On" for every request, there's an alternative:

Dreamhost lets you serve your HTTPS-enabled site from a different directory than the HTTP site of the same name.

So you can create a directory containing only a .htaccess file with that redirect code in it, and set that as the "web directory" for all your HTTP sites.

In this way, only HTTP visitors will trigger mod_rewrite.

hot take, FOSS Show more

hot take, FOSS Show more

My radio-buttons weren't showing up in Firefox, so I finally went looking for an answer.

Turns out I applied this workaround in chrome/userContent.css several FF versions ago to fix a *different* "my radio buttons aren't showing up in Firefox" bug and completely forgot about it: forum.manjaro.org/t/checkbox-p

That workaround is no longer necessary in more recent FF (up to 65 now), and indeed, having it there made a similar-looking problem occur!

When I plug my laptop into its dock thingy, there's some kind of race condition that makes the monitors get assigned their randr names DP-1 and DP-2 in random order. Which means if I save my randr layout they're sometimes the wrong way around.

This script is a quick and dirty hack workaround that figures out which is which based on their serial number (EDID).

Probably also useful if you have one multi-monitor randr arrangement at home and a different one at work.

gist.github.com/datagrok/410d2

The USB stick hosting my fileserver's root partition spewed this from dmesg whenever inserted:

> usb1-port2: Cannot enable. Maybe the USB cable is bad?

(There was no "cable" involved.)

Same on multiple computers.
Put it in the fridge for a while.
No change.
I figured: it's toast.

I left it out overnight and just on a lark tried it again.

It has completely un-broken itself! πŸ™ƒ

I still moved its data to a new stick, to be safe.

@datagrok those are Sequoia semper irens, typically called "coast redwoods". Sequoia National Park has old growth stands of giant sequoias (Sequoiadendron giganteum), but no coast redwoods.

Old growth redwoods are definitely amazing. Come up towards the Bay Area and we have parks full of them. And the very tallest ones are in far Northern California, in Redwood National Park, but that's a long trip.

New homepage with fancy animated video is now live at snowdrift.coop

We only spent about 2 years of (on and off) work on it, so don't expect perfection. ;)

Hopefully, we'll get around to writing blog post about it sometime soon.

Went and visited some (not "the") sequoias. "The only non-native successful redwood grove in Southern California" at Carbon Canyon regional park in Brea, California.

241 trees, planted in 1975, that have to be watered five times a week with potable (not recycled) water to survive in this climate!

This was much closer to home than Sequoia National Park, but next time we gotta go see the proper old ones

@mastoabed ext4 for the root partition, fat32 for the EFI partition. But it didn't merely get filesystem corruption. The whole USB stick seems fried. When I plug it in I get in dmesg:

usb1-port2: Cannot enable. Maybe the USB cable is bad?

Augh! Twice now, the USB stick hosting my little fileserver's root partition has worked just fine for several months and then spontaneously, irrecoverably died. First a Lexar, then a Samsung. What the heck!?

Is it wear? There's not much I/O activity and I only stored ~10G out of the available 32G so plenty of room to spread writes around

Is it temperature? It doesn't get *that* hot in its closet.

Hypersensitivity to power surges and outages?

I gotta find a better approach.

I bought a no-name USB-C-to-dual-displayport dongle and said "eh, when it turns out to have no Linux support I'll sell it or something." Nope, worked great!

Recently one of my monitors plugged into it started behaving strangely then stopped working altogether. First reaction: "That's what I get for running Debian Testing." Nope, one of my displayport cables had flaked out!

If Linux were a person they'd be offended by my low expectations despite their consistently stellar performance.

I wanted to try out Qubes OS without messing with my existing partitions, so I decided to install it onto a USB stick.

But the installer is a .ISO and I don't want to go find another USB stick to put that onto as well.

Maybe I can run the installer ISO under QEMU and pass-thru the USB stick to it ...?

Linux: sounds legit here u go

Yup it worked! πŸ˜ŽπŸ‘

... Except root on this USB stick makes everything run far too slow to be practical πŸ˜•

continuous integration thoughts Show more

For one brief shining moment in the 1980s-1990s, it seemed like we the people would own and control our own computing infrastructure.

That we wouldn't ever after need permission from opaque central authorities to process data, send messages, create devices, teach machines ideas. No corporations or governments could put themselves between us and the data bits in our machines. We would be free to think.

That moment is rapidly slipping into a history that feels ridiculously over-optimistic.

continuous integration thoughts Show more

continuous integration thoughts Show more

TIL if you're interested in, say, WikiMedia's release engineering process, you can just go spelunking through their whole issue tracker, kanban boards, ticket backlog, and meeting notes.

This is amazing. Every organization should be this open, for-profit or not.

I've had a harder time finding my bearings when it was my *own* employer and it was my paid job to do so!

Show more
Cybrespace

cybrespace: the social hub of the information superhighway

jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal