Earlier in my career, I looked to the HTML5 boilerplate for ideas on how to set up websites. I just grabbed bits I liked and modified them as needed. For a time they had shortened links off of the h5bp.com domain that redirected to descriptions of why certain choices were made. But eventually, the person maintaining that domain let it lapse and someone else bought it.
Continue reading post "h5bp links"WWW posts
Web development, my site, server, career, programming, the world wide web, and related topics
Goodbye, LinkedIn
I have deleted my LinkedIn account of 16 years. I hadn’t even touched it in several years and I’m not sure I’ve ever really gotten much value out of it. I had been considering leaving for a while, and a new terms of service pushed me over the edge, not because of anything in it (I didn’t even read it) but because the cost of reading it seemed higher than the continued value from keeping the service.
Continue reading post "Goodbye, LinkedIn"Sequel Ace
I finally moved from Sequel Pro to Sequel Ace. Sequel Pro hasn’t been updated in years. It mostly worked but did have some annoying problems. During a recent OS and app reinstall, I found that Sequel Pro was no longer available on Homebrew, so I went for Sequel Ace, a fork that is still maintained. It is very similar but improved. I like it.
Continue reading post "Sequel Ace"I had a stressful end of workday yesterday. I accidentally deleted the database on three live sites, including our most important e-commerce site, and had to scramble to restore from backups.
Continue reading post "#4622"Recently, I gave in and set up my work email on my phone. I had gone the first 15 years at Cogneato only getting my email from my work computer, wanting to separate my work and home life.
Continue reading post "#4616"JS: Replace page text
For this year’s April Fools Day, I decided I wanted to replace some text in the content of my site’s pages to something funny, weird, or confusing. Since I’m moving toward a static site, I wanted to do this client side, which meant replacing text with JavaScript. This would be simple with innerHTML
, but that completely replaces the DOM with a new DOM, possibly causing usability and performance issues, and could replace text in URLs, breaking them. Probably a better way is to loop through all nodes on the page, looking for text nodes, and replace text in each of those. So I did this, and it worked nicely. Thought I’d share.
Doing my federal (US) taxes this year, I was finding myself unable to create an account on the Free Fillable Forms site. I kept getting kicked back to the start after filling out and submitting my information. This Reddit thread led me to figure out that it was related to my T-Mobile Home Internet. I turned that off and turned on my phone hotspot and used that to get in. My phone is also T-Mobile, but apparently different enough to not have that issue. Later, I was able to get back in with my Home Internet, so it seems to be just related to something on that initial registration process.
Server upgraded from Ubuntu 20.04 to 22.04
My server was on Ubuntu 20.04, but due to the end-of-life of that LTS version next month, I have upgraded to 22.04. My server is managed with Vagrant / Ansible. My plan had been to do a new local VM on the newer version, get it working properly with Ansible, then set up a new server with it and migrate over. However, since Ubuntu isn’t releasing an official Vagrant box for 24.04 and beyond, I don’t think it makes sense to take that path. I may move over to Debian or look into Vagrant alternatives, but to get this done before EOL, I decided to just try a do-release-upgrade
to upgrade the existing server in place.
Starting with Magento / React JS
My cousin expressed interest in learning Magento and React JS. I know neither, but I wrote up some related web development info that might be helpful for him. He would be working on a Windows machine. He also asked about setting up a home file server. Since this all might also be useful to someone else, I’m adding it here:
Here are some notes on web development stuff that you might find useful.
Continue reading post "Starting with Magento / React JS"In Mac OS Sonoma, browsers now require and the OS will ask for the “Local Network” permission to access local websites. I didn’t know why it was asking and didn’t allow it, but then couldn’t access my sites. I had to go to “System Settings”, the “Privacy & Security” pane, select “Local Network” and turn on for my browser(s) to get access again.
If it matters, my local dev setup uses domains set in /etc/hosts
pointing to IPs of VMs run by VirtualBox, managed by Vagrant, set up like web.vm.network 'private_network', ip: '192.168.56.1'
.