Merry (post) Christmas, all. It was a white Christmas this year, cold and a nice couple inches on the ground, with a light snow falling much of the day. The day was nice and much of it was spent with family.
Continue reading post "#3920"Toby's Log page 11
Very cold and windy today. Woke up with it around 8 degrees and it just went down from there. -1 was the coldest I saw on a thermometer.
Snow on the ground, not a lot except in drifts. Not enough to shovel but enough for several plow visits.
Continue reading post "#3918"Vagrant network IP change
Apparently, an update to VirtualBox after version 6.1.26 limited the IP’s usable for network adapters on Mac / Linux hosts. They must now be in the 192.68.56.0/21
range, which is pretty limited and much less easy to remember or type than the 10.*.*.*
that I had been using. I had to change my projects to all be in this range and spread out the IPs to avoid collisions between the various projects when I updated VirtualBox a while back.
An episode of Pawn Stars pushed me to pull out my old Nintendo Power magazines from my parents’ basement.
Continue reading post "#3913"Playing with GitHub Pages
This past weekend, I started playing with GitHub Pages for the first time. It took a while to figure out, but was somewhat fun. I’ve been interested in it for a while, but was unsure of how to do what I wanted, such as building with PHP, Sass, and Rollup. Turns out it was fairly easy with GitHub Actions to do most any sort of build steps I want. It is very interesting for free static site web-hosting.
Continue reading post "Playing with GitHub Pages"Letsencrypt log failure string
After being unsure for a while of what to look for in the Certbot / Letsencrypt log that is pertinent, as in useful to look for under normal circumstances, I finally had a renewal fail and figured it out. The string “(failure)” will appear if a renewal fails, and will be on the same line as the name of the cert.
Continue reading post "Letsencrypt log failure string"Github repo backup script
For some time, I’ve been wanting to set up a backup for my Github repos. Technically they are all backed up by my local copies, which are also backed up when I back up my local computer. However, I wanted something that was sure to have everything from all the repos (all branches, tags, etc) and could be set up and run continuously on a yet-to-be-created backup server. I have create a bash script to do this for me.
Continue reading post "Github repo backup script"Ideas: Cascading Behavior Sheets, a declarative alternative to JS
I have had the idea for some time that the web ought to have a declarative format to define behavior on elements like it does for styles (CSS). It would be an alternative to JavaScript (JS) that would be as robust as CSS, simplifying adding and defining common behaviors. There are a lot of things sites do frequently that can take a fair amount of work for a new person to implement, as well as require a payload sent over the wire. For people who don’t need complications beyond standard, this could be provided by the browser with some configuration in a simple sheet. I think there should be a Cascading Behavior Sheet (CBS) standard for the web.
Potential advantages:
- robust forward and backward compatibility like CSS
- simpler, easier to learn format than JS
- little to write or think about for common functionality
- little to send over wire for common functionality
- more performant native implementation possible
- declarative
- familiar syntax to CSS devs
- simple to connect behavior broadly to chosen selectors
- cascade,
@media
,@support
, etc to limit which and when behaviors apply - automatic handling of attaching and removing behaviors when they apply / don’t, including new DOM elements
- maintain separation of concerns that keeping JS and CSS separate provides
Porkbun has moved to Cloudflare for providing their DNS service. That is fine with me after they had an outage earlier in the year: Cloudflare DNS is pretty reliable.
Continue reading post "#3891"I Ohio Voted.
Continue reading post "#3883"