Posts

Showing posts from October, 2020

HTML MAP tag, lessons learned

Image
This year the Friends of Silverbrook Cemetery is hosting a virtual tour instead of the regular annual walking around tour for the cemetery.  The tour guide is Mollie Watson from the Niles History Center .  I recreated what Mollie did in Google Slides on the website.  This included copying images, cutting and pasting text, while trying to keep the flow of the presentation. One slide that I found challenging was the hyperlinked map.  When you click on a star marker, you go to a page related to that part of the cemetery.  Here is the JPG file from the Virtual Tour Map page. The most important step I found was to size your image properly. The original image was 1112x906 pixels.  I uploaded the image into a Joomla media folder and used the JCE editor to resize the file until it looked good. The new size of the image was 653x529, which is about half. I opened the image in Paint.  I clicked the Resize option under Home->Image.  I selected pixels and typed in 653 and 529.  Then I saved it

vim my way

Image
The editor known as "vim" in Linux has many features in common with vi, the editor I learned in 1992. I was drafted to convert a slew of Vax programs to Solaris in over a few weeks.  I'd never used Unix. I had a VT-220 terminal that I used on a MicroVax and telnet'd over to the Sun.  The Yellow key was great for the EDT editor.  It was useless on the Sun.   The project manager showed me how to use vi and I started on the project right away. In 1998 I taught a class with at least 30 consultants pretty much the same way it was taught to me. Now it's your turn! On Windows I run Windows Subsystem for Linux (how I installed it could be a topic for another day). vi is linked to vim.   If you know vim on Linux, you can use vi on older Unix systems as well--Solaris, AIX, HPUX, etc.   Out of habit, I'll still type "vi" to start the vim editor.   If you are on a Linux desktop, pop up an xterm window to get to a shell. vim is oriented to the touch typist.  

Welcome to the Tech Corner

I've had a wonderful career in the tech world.  I'm still learning. I got my first software job in 1985 as a computational assistant to my electromagnetic professor Dr. Cravens at the Space Physics Research Laboratory at the University of Michigan.  At the time, I was a struggling student in every subject, except for my FORTRAN class, in which I got an A in (yay!).  I got to use a real VT-100 terminal on a PDP-11/23 and then migrated our code to an 11/750. It was exciting that I didn't have to use punch cards.  The work involved analyzing and modeling energy transfers in the upper atmosphere of Jupiter and interactions of the solar wind with comets.  I learned enough of the physics to be useful.  I'm not a classroom learner.  Sometimes we used the PDP as a terminal to a Cray computer and modeling software at the National Center for Atmospheric Research.   There's a whole story why I left for Oklahoma and worked for the military.  I'll bore you with that some ot