• Skip to content

Menu 1

  • Zug
  • Blog
  • Local
  • Printed
  • Projects
  • Railroad
  • Podcasts
  • Newsletter

Thomas Beutel Art

Menu 1

  • Zug
  • Blog
  • Local
  • Printed
  • Projects
  • Railroad
  • Podcasts
  • Newsletter

Follow us

Follow us on InstagramSubscribe to our Channel on YouTubeFollow us on SoundCloud

Category: Programming

AuthorPostedbyThomason August 15, 2025

Ask Me Questions One At A Time

I use ChatGPT and Claude Code a lot in my programming now. I used to start by stating the problem or goal and then letting it write the code immediately. …

Read More About: Ask Me Questions One At A Time

Posted in AI, ChatGPT and AI, Programming

AuthorPostedbyThomason May 26, 2025

Vibe Coding, Day Two

Well I started making my Flow Spark app yesterday, and today I finished it with the help of ChatGPT and vibes. It includes: Codeigniter 4 backend running on Apache 2 …

Read More About: Vibe Coding, Day Two

Posted in ChatGPT and AI, Programming

AuthorPostedbyThomason May 25, 2025

Vibe Coding An App For Myself Is Good Vibes

This week I had an idea for an app that I want for myself. It’s sort of a Tinder for multipotentialites, except the images are projects I want to work …

Read More About: Vibe Coding An App For Myself Is Good Vibes

Posted in ChatGPT and AI, Programming

AuthorPostedbyThomason June 7, 2017

Multiple Open Graph Images in Act-On Landing Page

A client asked me today if there is any way to have multiple Open Graph (og:image) images in an Act-On landing page, as Act-On only specifies one image in their …

Read More About: Multiple Open Graph Images in Act-On Landing Page

Posted in ProgrammingTagged Act-On

AuthorPostedbyThomason May 19, 2017

Muse Plushies

I have three plush toys that sit behind my keyboard, Prickles the hedgehog, Spike the stingray, and Scarlet the octopus. They are muses of sorts and help me as I …

Read More About: Muse Plushies

Posted in Programming

AuthorPostedbyThomason July 1, 2015

Leap Second on 6/30/2015 Caused mysqld Process To Consume CPU

This morning I got a notification that mysqld was consuming on average 35% of the CPU on one my servers. This was strange because this particular server doesn’t even use …

Read More About: Leap Second on 6/30/2015 Caused mysqld Process To Consume CPU

Posted in Bugs, MySQL, Programming, Unix

AuthorPostedbyThomason January 23, 2015

Datatables in a Colorbox iframe with Selected Row Returned to Parent Window

I recently created a form where one of the questions was asking for a specific code (specifically, a NAICS code). The problem was that there are almost 20,000 codes to …

Read More About: Datatables in a Colorbox iframe with Selected Row Returned to Parent Window

Posted in HTML5, javascript, jQuery, Programming

AuthorPostedbyThomason September 13, 2014

Suppress Test::More Output For Use In Nagios

I needed a quick way to check for XML well-formedness in a Perl Nagios script and I found that Test::XML has a test called is_well_formed_xml($xml) that does the job nicely. …

Read More About: Suppress Test::More Output For Use In Nagios

Posted in Nagios, Perl, Programming

AuthorPostedbyThomason March 1, 2014

Nagios, Belkin WeMo and a Plasma Globe

I monitor a number of servers using nagios and I always thought it would be neat to be able to have some sort of ambient device light up when there …

Read More About: Nagios, Belkin WeMo and a Plasma Globe

Posted in Nagios, Perl, Programming, WeMo

AuthorPostedbyThomason August 26, 2013

Nginx with php-fpm generating blank page

I struggled a long time trying to figure out why my nginz + php-fpm setup was not working. I could tell that the gateway was fine and I was getting …

Read More About: Nginx with php-fpm generating blank page

Posted in Linux, nginx, PHP, Programming

AuthorPostedbyThomason October 14, 2011

Making Aquamacs kill and yank work with the clipboard

My favorite editor on the Mac is Aquamacs (me and Emacs go waaay back) and something that has long been a productivity killer for me was the different actions of …

Read More About: Making Aquamacs kill and yank work with the clipboard

Posted in Apple Computer, ProgrammingTagged emacs

AuthorPostedbyThomason May 20, 2011

Find a Javascript parent node that matches a certain string

Here’s a small bit of javascript that I use in my Sencha Touch projects to find a parent with an id that matches a string. function findParentNodeRegex(regex, childObj) { var …

Read More About: Find a Javascript parent node that matches a certain string

Posted in javascript, Programming

AuthorPostedbyThomason March 20, 2010

Detecting a click in a checkbox with jQuery

A simple script to detect when a checkbox is clicked. What you do with once you’ve detected the click is up to you. <html> <head> <script src=”http://www.google.com/jsapi”></script> <script> google.load(“jquery”, “1.3.2”); …

Read More About: Detecting a click in a checkbox with jQuery

Posted in javascript, jQuery, Programming

AuthorPostedbyThomason March 19, 2010

Redirect from within a WordPress admin page

I was trying to perform a redirect to generate a CSV file from within a WordPress admin page using the wp_redirect( ) function, but the problem was that I would …

Read More About: Redirect from within a WordPress admin page

Posted in Blogging, javascript, Programming, WordPress

AuthorPostedbyThomason September 15, 2009

Result of expression ‘document.forms[0].submit’ [[object HTMLInputElement]] is not a function.

I was trying to add a small delay into my form submission like so: <form … onsubmit=”setTimeout(‘document.forms[0].submit()’,2000);return false;”> but everytime I tried it, I got the following error: Result of …

Read More About: Result of expression ‘document.forms[0].submit’ [[object HTMLInputElement]] is not a function.

Posted in javascript, jQuery, ProgrammingTagged javascript

AuthorPostedbyThomason August 21, 2009

Using Skype to control a model train

Small wireless spy cameras are widely available, and there are even a few available specifically for HO-scale trains. This got me to thinking about letting my cousin in Germany run …

Read More About: Using Skype to control a model train

Posted in Model Railroading, Programming, Skype

AuthorPostedbyThomason August 1, 2008

Useless use of private variable in void context (Perl)

Can you see what is wrong with this Perl code snippet? foreach my $cat (@$categories) { if ($cat->{col} == $column and $cat=>{pos} == $position) { return $cat; } } It …

Read More About: Useless use of private variable in void context (Perl)

Posted in Perl, ProgrammingTagged typo perl error

AuthorPostedbyThomason July 30, 2008

Lava lamps for programming

I just love this idea: integrating lava lamps to Cruise Control so that you can see when a software build has gone bad. The idea is to turn on a …

Read More About: Lava lamps for programming

Posted in Programming

© 2026MINIMAL

Follow us

Follow us on InstagramSubscribe to our Channel on YouTubeFollow us on SoundCloud
x