johnk
-
Repairing Earpad on M98 Headset
Symptoms: The earpad came off. The rubber peeled off, and a lot of facial oil was in the earpiece. The foam part slipped off, and underneath, there was a lock ring, which holds the earpad onto the earpiece. Explanation: the plastic band that held the foam part onto the lock ring, by making the edge…
-
DIY Dustpan or Daspan
This is the best DIY dustpan video so far. He makes it from a canister, and cuts the canister in a way that will take advantage of the bends and corners already molded into the canister. He uses wood for the handle, and attaches it with screws; I hope he’s using washers. The design is…
-
Claude-Assisted WordPress Plugin: Correction 7
Meta was barfing, so I turned to Claude, to help with something I’ve never been good at: Gutenberg Blocks. I asked it to make a block that writes the shortcode. I guess it did exactly that, but that’s not really what I wanted! The code it produced almost worked. It was intended for a flat…
-
WordPress Plugin: Corrections 6
I gave Meta AI a break, because I had to do most of the refactoring and debugging by hand. I lost track of time, but I’m guessing it was 4 or 5 hours work, because I had a typo that screwed me up for at least an hour.
-
Meta-Assisted WordPress Plugin: Corrections 5
This wasn’t a good session. Aside: Cleaning up Meta.ai’s code I griped about the code formatting, so I asked it to help me out: write a composer config script that will: delete backups that end in ~; run PHP code beautifier with the WordPress format on all the PHP files Refactoring Continues I continued with…
-
Configuring Regolith i3xrocks
I upgraded my MINT 20 install to MINT 22, and everything ended up a bit of a mess, because so many things were updated. Normally, it’s easy to figure out the situation, but I couldn’t find docs to get my Regolith + i3xrocks working right. So here’s what I’m doing. First, create .config/regolith3/i3xrocks/conf.d Then, copy…
-
Meta-Assited WordPress Plugin: Corrections 4
I decided to drop into Meta AI to see how it did with this code. Unfortunately, it took a couple hours, and the code wasn’t as good as Gemini.
-
Gemini-Assisted WordPress Plugin: Corrections 3
So, I decided to beautify the code, and the tool told me there were a lot of errors and problems, so I spent today trying to fix those. Start time: 2:37, end time: 4:50. I still had problems, but… Some of the errors were not errors. Some of the errors, when fixed, caused minor bugs.…
-
Gemini-Assisted WordPress Plugin: Corrections 2
This continues the work in the post Gemini-Assisted WordPress Plugin: Corrections. We complete the admin by linking the ID to the post, fixing the Delete feature, adding a CAPTCHA and a settings screen.
-
Gemini-Assisted WordPress Plugin: Corrections 1
I sat down with Google Gemini to try and write a WordPress plugin to allow site visitors to suggest spelling corrections or other corrections. The TL;DR: it helped a lot, but started to make errors that were hard (for me) to solve shortly after starting. As the plugin got more complex, the help it offered…
-
Letter to Garcetti about Shipping Container Homes
-
Making a Graduated Cylinder Measuring Cup from a Jar
-
Update for April 29, 2019
-
Fixing a Broken Rattan Chair
-
PHP Attributes Overview, plus Symfony, Doctrine ORM, laravel-php-attributes
-
Links About the Insanity Plea and Housing
-
An Argument for the Abolition of the Electoral College
-
How to Use the New AI Chatbots, ChatGPT and Bing Chat AI
-
The Purpose of Antisemitism in White Supremacy
-
Workstyles and Productivity
-
There Are No Urban Design Courses on Race and Justice, So We Made Our Own Syllabus
-
2010s Gentrification, Protests, Boyle Heights, Arts District
-
Fruit Updates
-
Crossplatform Keyboard Mappings for MacOS, GNOME, and Windows
-
New COVID Vax; Oceans Overflowing; Tech Ain’t Fixing the Climate; 4Chan->GOP
-
Good Summary on Bastard Urbanism
-
Text of Vladimir Putin’s Speech on Russia’s Invasion of Ukraine, and Text of Zelensky’s Address to the Russian People (all Translated to English)
-
Chili History
-
React Practice
-
Lock File Location for OpenOffice LibreOffice when it says File is Locked for Editing
-
AI Machine Learning and Bias Articles
-
Art Spiegelman: golden age superheroes were shaped by the rise of fascism
-
How to Add a REST API to an Existing Django Project
-
On the Precipice of Another Great Depression
-
BBB System Configuration Testing Script
-
Gubernatorial Candidate Villaraigosa Should Love Ranked Choice Voting (Upd. Jun. 7)
-
On the Vice Asian American, Model Minority and Asian Hate, Panel Video
-
Debian and Ubuntu Networking Configuration /etc/network/interfaces with a Static IP Address
-
ACP and MAGA Communism
-
Treasure Chest, Robert Louis Stevenson Jr. High School Yearbook, 1939
-
Tom Bradley Speech, Draft: The Citizen: Power and/or Powerlessness
-
ChatGPT: Stop Asian Hate, the movie; Meta.ai: Blackpill Poetry about Emily Dickinson; Keeping and Revealing Secrets in ChatGPT
-
The Book Trust – an attempt to monopolize cheap book production in the 1800s
-
Beach Cities IMC
-
Trump’s ICE War on Los Angeles
-
Redlining was Part of the System of Segregated, Whites-Only Communities
-
Nationalist Right-Wing anti-Imperialism, Curry, Kare, Colonization