Posts

Showing posts from November, 2026

Programming helps me with anxiety and grief

Image
 I find programming stops me ruminating about my problems.  Also programming, with breaks listening to music, helped me cope with grief. I find popular classical music calming. I listen to the ClassicFM radio station.

Problem adding large source to 'github'

Image
 I had trouble putting the latest changes to my game into 'github.com' using the web form My game is a 16 megabyte web page. It worked when I went to 'github.com' immediately after starting Windows. I recently noticed that I can add a new version of my game without going into the web form. But I cannot view it. I go to the web form by pressing '.'

Changing 'indexed' PNG's to 'rgb'

Image
 I change PNG images generated from Gnuplot from 'indexed' to 'rgb' to hopefully make it easier for browsers to scale the images.  I use the 'Mode' option on the 'Image' menu of my old copy of GIMP.  Gnuplot probably generates 'indexed' PNG's because they are smaller. They have a list of the colors used.

Missing font for Gnuplot

Image
 Gnuplot gave an error about being unable to open the 'arial' font, causing Gnuplot to use a 'blocky' internal non-scaleable font. I used 'strace' to find where it was looking for fonts. I saw there was a 'UTRG____.pfa' file in an X Windows directory. I now add 'font "UTRG____,12"' after the 'set terminal', 'title' or 'label' commands. I get the 'Utopia' font at a 12 point size.