This is my new site. Old content from riceball.com will be copied here, and removed from there.
I’m moving the site over to technote.fyi, and will be converting this domain over to a rice ball / food / restaurant domain. Google doesn’t seem to consider the domain that much when indexing a site – this site comes up for software tech, but not for rice balls! Obviously, this domain would increase in value if it showed up in searches for riceballs.
Likewise, technote.fyi is a good name for a website with tech notes.
I found a cool WordPress plugin called Calculated Form Fields, and made a few calculators. One calculates the cost of riding the bus. Another helps you to determine the local sales price of something that sells on Ebay.
I was recently diagnosed with diabetes, and started blogging in earnest at Complaining About Food. I spent a long time figuring out how to add the wordpress.com blog to Google’s Search Console, so I wrote a note.
How to set up filter scripts for Qmail on Debian, a feature that’s not really documented in the tutorials.
Bye Bye Qmail
I had to drop my preferred mail server.
The Best SEO Spam Ever
On one of my other blogs, I get a torrent of SEO comment spam. Reading the spam sometimes help me understand SEO. One I got recently was really clever, and it worked!
Playing with Calculated Fields Forms
I read a book, for a change, and wrote about it: Infopreneurs, Turning Data into Dollars, published in 1991. A fun, quick, read that blew my mind.
The Mueller Report – whatever side you’re on, or what you thought of the election, it’s fascinating reading about the trolling operations.
Mide.php, WordPress Hacker Shell
Digging through the 404 errors, I found requests for mide.php, which isn’t a file on my server. Here’s a copy of that program.
I’ll write about digging through 404s in the future.
WIRED has a long article about Open Source. It’s pretty good.
My only gripe is that Open Source code is called more “permissive” than Libre/Free GPL’d code. OS code is more enclosable or can be made more proprietary than GPL’d code, which requires sharing of the source code for derivative works. The former allows one person to take freedoms away from another person – and I don’t see that as more “permissive”.
Numerous things have pulled me away from doing tech work, the big one being a mishap that flooded our apartment, and necessitated my moving, temporarily, to my mom’s. Since I sell on Ebay, I have a ton of “inventory” that needed to be moved, sold, etc. I also moved all my computers.
So I spent a lot of time selling off things.
I also had to drive my friend to medical appointments and other stuff because he’s also had some relatives having serious health issues. Then, the landlord moved slowly on repairs, so I had to complain to the city housing department inspectors. It’s like dominoes tumbling 🙁
New Techie Stuff
How to Reduce Your Bounce Rate – I got my bounce rate down from 90% to less than 50%, without altering the articles. It’s depressing to see high bounce rates in Google Analytics. The issue could be that GA has no way of knowing if someone is reading your articles or exiting the page. Using Google Tag Manager, it’s possible to send a signal to Google Analytics when the reader scrolls to some point on the page.
The readers scroll, and the bounce rate drops!
Adding a WP-CLI Command to Your Plugin – an old article explaining how to create a shell command that runs inside your WP installed environment. This way, the command can access the site’s database, site configuration, use WP libraries, etc.
I’m not sure what aNewDomain is – a group blog, some kind of article bucket for linkbaity articles, a tech news site, or a politics site. I just saw some familiar names, Ted Rall being the main one. I have been an on-and-off fan since he was writing for Maximum Rock And Roll.
Gina Smith, author of iWoz, founded the site, and I always liked her writing in the SF Chron and Examiner, but never kept up. I also saw John Dvorak and Jerry Pournelle in the list of authors… so more familiar names.
Smith recently wrote the awesome linkbait INFOGRAPHIC: Why You Should Google Yourself More. For reals! It’s something I’ve started to do, trying to ghost myself on the Internet.
Photo copyright 2019 John Kawakami.
The holidays left me stuffed, and so busy that work became an afterthought. My friend also had some medical issues and I ended up being a driver for most of the month. I swear, driving takes a lot out of me, physically and mentally. There are only a couple updates this month.
Sometimes, you need to blow away Docker’s cache because an external resource changed. This is a hack to do it by inserting a “no op”.
Google says that advertisers are paying $35 per click for ads on some Docker-related pages. They aren’t the pages I’m writing; not yet anyway.
- Dockerize an apt-cacher-ng service – this article on Docker explains how to set up a caching proxy for Debian or Ubuntu packages, so developing Docker images is quicker. For that purpose, I think this is better than my old article A Small Dev Network.
Subscribe to this blog to get an infrequent update about new articles posted to this site. The sign-up form is to the left.
I have opted for this format to keep the emails down to a bare minimum.
This month, our “hobby” server took a big dump, and we said, “screw it, we need to install the ‘new’ server.” This “new” server is a few years old, but switching servers is such a huge pain in the ass that we avoided it.
Besides, the old server has been pretty reliable. We’ve had to replace the power supply, a hard drive, and memory, but… not bad for 10+ years. Fsck even fixed it up, but re-racking a heavy 2RU, decade+ year old server is a terrible idea.
I’ve got three new articles, and the first two are from this upgrade:
- How to use ntp to Set the Time and Date on Ubuntu – seems obvious, but there’s a gotcha to avoid.
- Vpopmail Courier Authdaemon authvchkpw – the start of a series about an obsolete application stack/cluster/horde.
- PHP realpath() not working, returns empty string – I committed a rookie mistake, misusing a function.
One new page is an aggregation of a series from a while back about fixing my personal computer:
- The Crashing Computer Series – Long notes about how I diagnosed and fixed my crashing personal computer (it was RAM). Don’t do what I did.
I’ll try to share one article I’ve read that’s tech/internet in each post.
- Inside the Pricey War to Influence Your Instagram Feed – Paris Martineau described the world of influencer product placements.
Subscribe to this website to get these posts in email. If you use an RSS reader, follow the site.
I came across this in the uploads. Missed it for a long time. Should I start posting some other web shells I’ve collected?
I was thinking about how facebook updates parse out the url, then construct a nice looking preview. I think what it takes is scanning the textarea for a url, and then using ajax to tell the server to fetch a summary of the page at the url. get the data back, and insert it into a template, and reveal it.
This is a republication of a post from January 2012. I would not write it this way today.
This is a note I wrote to myself about how to add Django REST Framework to an existing project. It’s in PDF format, for reading. I didn’t have the time to create a real tutorial that builds up the API, or produce a really useful API. The intention is just to outline what parts get defined and how they work together.
The Nautilus Trash feature stopped working, so I could only delete a file completely, rather than move it to the trash. Here’s what’s happening, and how to restore it.