Interesting thought:Back in the 80s and 90s, X Windows enabled Unix systems to run GUI …

Interesting thought:

Back in the 80s and 90s, X Windows enabled Unix systems to run GUI programs remotely. Because bandwidth was low and scarce, the server would send the drawing commands across the wire and the client would render as much as possible itself.

Now a lot of systems have more bandwidth than rendering power, and services like GeForce Now and Stadia are rendering entire detailed game sessions on a server and just streaming the video to the client.

It’s kind of a wild reversal.

On Wandering.shop

Re: Fluffy Clouds Search

Fluffy Clouds is an ancient Perl script that i started using back in 2001 or something. I’ve tweaked it a bit to limit searches to parts of the site, normalize Unicode, etc. I’m not surprised the developer abandoned it. I keep thinking about switching to something more capable, but every time I look, i mostly find things that are way more complicated than I need.

On Wandering.Shop

As for how it actually works:

One script crawls all the html files within a folder and builds an index of words. I have it on a weekly cron job.

The other reads an html template with header and footer, searches the index, and plugs the results and search form into the template.

IIRC it skips meta robots pages on indexing and reads the file title and description at display time.

If I had more time, I would have written a shorter stylesheet.

If I had more time, I would have written a shorter stylesheet.

On Wandering.shop

That said, 3.6K is awfully short by today’s standards.

And it automatically adjusts for display sizes from phone portrait to widescreen monitor, light and dark themes (so it doesn’t blast your eyes out if you open it on a dark themed desktop), and switches the main font between serif on high-density displays and sans-serif on low density displays for maximum readability.

This stuff doesn’t require half a megabyte of frameworks and JavaScript to implement.

On Wandering.shop

Oh yeah, link so you can see it actually works https://hyperborea.org/tech-tips/
At least on modern browsers.

I guess the next step is to test in older ones to see how they handle the mix of media queries. I don’t care if it doesn’t look perfect on the older browsers, but I do want it to be readable!

On Wandering.shop

Wondering when it’ll cool off enough to open the windows without making the place warmer. …

Wondering when it’ll cool off enough to open the windows without making the place warmer. I don’t like stuffy air, and a desk fan only does so much.

On Wandering.shop

On the plus side, this place has decent enough insulation that as long as it cools off overnight, it takes a while to warm up inside.

What I hate are the nights when it doesn’t cool off until long after we’ve all gone to sleep (if then).

On Wandering.shop

Meanwhile, the kid has still been wanting ALL THE BLANKETS and we’re like, no, you’ll totally overheat. That’s what the weighted blanket is for!

On Wandering.shop

At least it wasn’t this hot the night he tried to sleep in the tent indoors.

On Wandering.shop

Ok, the window’s out of direct sunlight. Time to open it.

On Wandering.shop

On a related note: today I learned it’s super easy to give your website an …

On a related note: today I learned it’s super easy to give your website an alternate dark mode theme in most browsers. Assuming your color scheme is in relatively clean CSS to start with, anyway.

Just add a @media (prefers-color-scheme: dark) {…} section after you define the light-scheme colors and define the dark mode colors and backgrounds there!

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

On Wandering.shop