Current Engineering Project

I keep this engineering notebook more for my own use more than for any other reason. It's invaluable when trying to find a solution to a problem I know I've solved before. You are welcome to browse though it to see what it takes to build a SETI station a Cosmic Ray detector or a replacement brain component..

You can access earlier chapters from the main menu (Engineering | Notebook) or use the custom search below.

Google Search of SETI Net

Volume 14 Chapter 77

446 - Moving to PHP v7.2 - 2020-08-02

My ISP eliminated the old, but working PHP version I have been using since dirt was invented. This removed some of the database mechanism I had depended on for so long and killed the web site. This is what is necessary to recover access to the databases.

For each page that accesses the MySQL database replace the current access with this: (Note: there are TWO mysql_close that need to be replaced on each page).

// --------------------------------------------
 require "../../script/login.php";
 require "$KoolControlsFolder/KoolGrid/ext/datasources/MySQLiDataSource.php";
 $db_con = mysqli_connect($db_hostname,$db_username,$db_password, 'setine5_seti');
 //echo ("KoolControlsFolder: $KoolControlsFolder");
 mysqli_set_charset($db_con, 'utf8');
 if ($db_con)
 {
   //  echo ("Connected");
 }
 else
 {
     mysqli_close($db_con);
  //  echo ("      --- NOT Connected ---    ");
 }
 $ds_stations = new MySQLiDataSource($db_con);
// -------------------------------------------

445 - Installing GENESIS Neural Simulator - 2020-04-25

I final decided I had to find a baseline simulator to use while I worked on mine. All the simulators require Linux, which I hate with a purple passion, but I finally got one to run under Windows.
If you want to use the GENESIS simulator under Windows here are the steps.

Install Cygwin on Windows 10

YouTube video at:

https://www.youtube.com/watch?v=QonIPpKodCw

Written instructions at:

https://github.com/lakelse/videos/tree/master/01-install-cygwin-on-windows-youtube

Install GENESIS:

Written instructions at:

https://techmoto.us/2018/11/16/genesis-simulator-install-windows/

Errata:

At the step 4 'Extract the Genesis source files'

$ cd /usr/local
$ tar xvsf genesis-2.3-Linux-bin.tar.gz // Wrong File Chose the Windows version.

444 - Delphi Frame - 2020-03-27

I can never remember how to build a new Delphi frame and add it to a project. Here is the recipe.

  1. Start a new project and get it running
  2. Then start a new frame with: File | New | Other | Delphi Individual Files | VCL Frame (This takes a few seconds so cool your jets)
  3. A new unit will appear in your Project. Rename it to something memorable like 'uTestFrame'
  4. Change the frames form to something memorable like 'TestFrame' and SaveAll | Close All

The to get the new frame in the palette do

  1. File | Open and navigate to the uTestFrame.pas file Open it
  2. Now with the blank frame form showning Right Click | Add To Pallette
  3. Then Change the Component name to something like TTestFrame (leave the leading T) and use 'Standard' for the palette page
  4. OK and your done

The new frame can be added to a project like anyother component

443 - Damn Caps Lock key - 2020-01-08

What were they thinking to allow this abomination to live on my keyboard. The only reason I can think to use it would be to scream at Trumpy over Twitter and I try not to do that as much now days.

Create a .REG file with this in it. Place on your desktop then double click it This REG file will defeat Caps Lock on Windows 10.

Windows Registry Editor Version 5.00; Created by: Shawn Brink
; Created on: April 13th 2016
; Tutorial: http://www.tenforums.com/tutorials/47206-caps-lock-key-enable-disable-windows-10-a.html
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,3a,00,00,00,00,00