Thursday, January 21, 2021

AGI as used car salesman

 "In the end, it will turn out that the AGI (Artificial General Intelligence) Singularity was canceled because Silicon Valley decided to turn this new super intelligent God into a better used car salesman, instead of using it for the good of humanity." - Me It is becoming apparent that the tech giants want to keep the cool toys for themselves, instead of letting all of us have a go. GPT3 is so big that you have to have infrastructure to support it. The era of the home experimenter has effectively been closed. Silicon Valley will monetize the heck out of Artificial Intelligence when they finally realize it... and it will be turned into a better used car salesman.... something we loath, don't trust, but in the end are forced to deal with in order to do commerce.
You can purchase a subscription to Singularity-Prime for $199/year.

Sunday, January 10, 2021

Computation isn't as safe as a table lamp, yet.

 Computation doesn't have the equivalent infrastructure as table lamps yet.


Testing / Certification: 

A table lamp will be UL/CE approved. This means it will be tested in such a manner that normal use and abuse will not cause unexpected side effects.  Knocking a UL approved lamp off a table will not cause your house to get burned down.  A light bulb of rated capacity will  not cause a short circuit. Normal wear and tear will not cause it to become unsafe.


Outlets: A table lamp plugs into an outlet, of a standard size and characteristics. The outlets are a standard interface that is often nation or region wide. The voltage and current that can be delivered through an outlet are standardized, as is the nature of the loads which may be plugged into it.  The outlet itself, and the housing, and wiring are well regulated.


The outlet is connected to a circuit, and a circuit breaker (or fuse). These devices completely and permanently interrupt the delivery of voltage for a number of standard conditions, including over-current, and also ground faults.


The circuit breaker, or fuse socket, is part of a standard and well understood panel, which is designed to allow a variety of options in deployment, with electricians able to configure them in a wide variety of applications.  Yet, the user of a breaker of fuse panel is protected from the voltages and power inside, and given a standard and easy to understand model of how power is distributed, and controlled.  In fact, some advanced users can use the panel to disable part of their local power network to allow maintenance and modification in a safe manner.


Breakers and fuse panels allow for *lock out*, which will physically prevent the reapplication of power, while maintenance is ongoing.


Power feeds include metering, and themselves are driven from a circuit, and the system is designed in much the same way as the residential and business circuits, but on a larger scale.


Not only all of those are true, but there is more


Circuit breakers and fuses on devices, etc.. are all designed to be coordinated. The smallest fuse/breaker in the chain from source to load should always trip first. This prevents a scenario such as the one where a person plugging a defective toaster into an outlet brings down the entire power grid.


Circuits and power routing have well separated areas of concern. There is no way that a power system problem can directly cause problems with the sewers or other infrastructure, other than failing to deliver power.


Our software infrastructure lacks all of this sophistication and standardization. You can plug in a fan made 100 years ago into a modern outlet, and it will work.  You can't even run an MS-DOS program from the 1980s without resorting to an emulation layer.


You can know that same fan will not cause Russian bots to be able to control the power grid. Nothing plugged into an outlet can ever give you control over the grid.  The same is not true of software, no matter how carefully constructed. We're still at the stage where a bad program can take out its host operating system, and then the network its on.


To say we need more skilled programmers, better aware of the security implications of their work, is to insist that we could run a power grid without circuit breakers in every home. 


The operating system has the job of protecting the network and its users and applications from each other.  There is no equivalent to circuits and breakers.  You can't run a program, and know that it will only consume X amount of CPU, network I/O, or RAM, unlike the outlet limited to 15 amps.


You can't be sure that a program won't have side effects. Plugging in a bad toaster in the kitchen shouldn't effect a circuit in the garage. The damage should be limited by default. None of our Operating Systems do that.


Computation lacks maturity, especially our operating systems. We have no stable standards for anything important.


That, in my opinion.. is the real root issue of almost all problems with computers, software, and security.

Friday, January 08, 2021

Watching the Power Grid in the Eastern USA

 There is a very nice ongoing effort at the University of Tennessee Knoxville to monitor the US power grid.  http://fnetpublic.utk.edu/


The video is 10 years old, but depicts a box with GPS timekeeping, and sampling the normal outlet, with Ethernet to report to the server.  https://www.youtube.com/watch?v=9Vt2OlVoBJc


One of the best real time views, is this view of the phase across the US.  http://fnetpublic.utk.edu/anglecontour.html


Sunday, January 03, 2021

Dusting off the archives, Teco/2 lives again

Long ago, I was a professional programmer for a large chunk of time. I worked in Turbo Pascal, and later Delphi under Windows. I wrote code that looks surprisingly good after 30 years.

One of the things I wrote, was an implementation of TECO, and editor I learned to love at Rose-Hulman. I did it back then mostly for nostalgia, as I continue to do it now.

I've dusted it off, and got it running on my machine under Windows 10. I've also posted the source and a "release" to GitHub.

Let me know if you try it, and I'm up for adding to it.

Who else wants to jump ship from Facebook?

 I hate Facebook, though I use it regularly. I'd like to jump ship... I see this blog, your blog, and an RSS reader as a lifeboat we can share to abandon ship and lead others away.  Who else is with me on this?

I'll check my RSS feeds at least daily... add your feed to the bottom if you want to add me and do the same. I will promptly delete spam as soon as I find it, of course.

Now, as for what RSS reader to use, I don't know... I'm tempted to code something myself. For now I've decided to try out FeedDemon.

My RSS feed is here.