johnk

  • History of the annoying PC “beep”. It’s called a “bell”.

    At 1:10, you can hear the bell. That’s a Teletype, a remote controlled typewriter from the 1930s. It has an actual bell inside! Originally, teletypes were used like telephones. Two teletypes were connected together, either by wire, or by radio signals (using an interface that communicated using something like Baudot codes). Teletypes existed long before…

  • Docker Container to Develop a WordPress Plugin

    Docker Container to Develop a WordPress Plugin

    I asked Gemini to write a docker-compose file to create a wordpress development environment with mariadb. Note that this is using old software, like MariaDB 10.6. This is pretty typical of LLMs. (The prompt was more complicated, and I did a back and forth with it.) Here’s the .env file: In the same directory, do:…

  • Directory Structure Checking Script

    This is a script to check if my photo archives conform to my naming rules. My archives look like this: Right now, it’s approximately 65,000 files totalling 96GB, so it scales up okay for me. It might not work for you. This script has a bunch of exceptions and slack coded in, because my archives…

  • Programming Assistant LLMs

    This is just a list of links I’m reading. I haven’t evaluated them for quality. It’s just my first whack at learning more tools, and looking to integrate LLMs into my coding. The first article gives a good overview. https://joenjenga.com/ai-coding-assistants/ https://www.techradar.com/computing/artificial-intelligence/best-large-language-models-llms-for-coding https://eclipsesource.com/blogs/2024/10/08/introducting-ai-theia-ide https://api4.ai/blog/llms-in-automated-code-review-transforming-software-development https://www.thedroidsonroids.com/blog/best-ai-coding-assistant-tools https://www.digitalocean.com/resources/articles/best-ai-coding-assistant https://www.datacamp.com/blog/best-ai-coding-assistants https://www.elegantthemes.com/blog/wordpress/best-ai-coding-assistant

  • Machine Learning Notes 2

    Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code (Long meta study) Mapping Language to Code in Programmatic Context Attention Mechanism (Video) How did the Attention Mechanism start an AI frenzy? | LM3 (Video) Neural Networks | 3Blue1Brown (Video Playlist) Repo with a lot of PDFs of papers used…

  • Computer Shopping

    Need to upgrade. Want something with full HD display, 12GB RAM. No HD (will use existing). Current main computer, a laptop, which I want to replace. Dell Inspiron 3537, 12GB RAM, 1TB SSD, i3-4010U CPU 1.7GHz, 720p display lshw output, edited: /0 bus 0GN6RH/0/0 memory 128KiB BIOS/0/4 processor Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz/0/4/9 memory…

  • WordPress error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

    I got this error on a multisite install I was working on. It made no sense, and found some different solutions online, but eventually found a slightly different one related to my specific problem.

  • Cascading Failures Due to Failing RAID1 on Linux

    I recently had a partial server outage due to a failing RAID, but the problems were due to a cascade of software-based dependencies failing.

  • Quick Installer for Woocommerce

    I need to spin up installations for development, so I came up with this. It requires some other setup, like /etc/hosts, and /etc/nginx, and installing some certificates. All the relevant files, including this script are in wc/installer.

  • React Practice

    I’m learning it. (Yes, I know it’s been around forever. I was just avoiding learning it.) Since I cannot post these projects here, I’m going to use those playground sites. Demos Tile Flipper: https://playcode.io/1964099