The History of LISP

How we got Common LISP Standard

Calculations for atomic weapons and space based delivery systems for the same are the step father the computer industry. LISP is the second oldest high level programming language, FORTRAN was the first. Both conceieved in the 1950s. Artificial Intelligence, a term coined by LISP’s father John McCarthy, to pigeon hole the space he was interested in exploring.

LISP was developed in several dialects thought the ’80s, a stanard committee was created to create a common dialect which we call Common LISP.

[Read More]

The LISP Problem

Smoothing data in R

Smooth six months twice daily data in R

The data is entered on a LibreOffice spread sheet, and read into R wih read_ods(). I adjust the time data like this:

data$Time <- as.POSIXct(strptime(data$Time , "%m/%d/%y %I:%M %p"))
data$TimeCode <- as.numeric(data$Time)

My goal

I want to average all items, within a averaging time window of a given size, for the entire data set, the window starts at the first day of the data set and is advanced a single day until the window is beyond the last day of the data set.

[Read More]

Smoothing Date formats

Whats in a day?

86400 Seconds

When do seconds start counting?

January 1, 1970 00:00:00 GMT is the zero second.

That is on 2019-05-01 08:39:00 there have been 1541598420 seconds since Jan 1, 1970

R dates are the number of days since January 1, 1970

This means the numeric date time is date-number*86400

The earliest time-code is min(data$TimeCode) and the last time-code in max(data$TimeCode). The begining data-time-window time-code is 86400*as.numeric(min(data$Date)) the ending date-time-window time-code is the beginning plus the window size in seconds.

[Read More]

A Hello World from the github blog.

This is the Hello World from github.io. I prefer this over WIX

Update emacs to 26.2

This is a Windows 10 system

My system is a Windows 10/64bit

Download, expand and update EMACS_HOME

I downloaded the new emacs from the GNU ftp site. The file was https://ftp.gnu.org/gnu/emacs/windows/emacs-26/emacs-26.2-x86_64.zip

The downloaded emacs zip was expanded into C:\Program Files\Emacs\emacs-26.2-x86_64 this is my new EMACS_HOME.

My shortcuts now all depend on EMACS_HOME

I have three shortcut for emacs, the daemon, the client and no-daemon.

For the daemon the shortcut target is:

[Read More]

Update SBCL to 1.4.14

Updating SBCL on Windows

Download the new installer, http://prdownloads.sourceforge.net/sbcl/sbcl-1.4.14-x86-64-windows-binary.msi. Run the installer, the old SBCL is removed and the new one is installed. I had a few dll which I placed next to my sbcl.exe which remained in the old location. I moved these to the new location. The SBCL_HOME was also reset to the new location.

My .emacs file slime-lisp-implemenations is written in terms of SBCL_HOME so it, just works.

[Read More]