login
Header Space

 
 

about AI and LISP -- CS shining diamonds (a followup on what was done)

April 7, 2008 - 8:16pm
Submitted by olecom on April 7, 2008 - 8:16pm.
Original "Worse Is Better" article: http://www.dreamsongs.com/WIB.html

"The good news is that in 1995 we will have a good operating system and
programming language; the bad news is that they will be Unix and C++."

Stop it right there. It was MS Windows(R) 95(TM) and Borland Delphi (or
pick anything from asm, Borland Pascal/C, Watcom C, FoxPro, etc.)

Seems, like there was another LISP.com era before Yahoo! "pet-care shop". 

No wonder why i -- amateur programmer -- suffer in text editors, from
mouse clicking, stupid command lines, terminal emulators etc. No one
could write simple `sed` script to insert all those stupid parenthesis.

I'm not alone in such wondering:

"Opinion: Time for another AI reality check?"
http://www.planetanalog.com/news/showArticle.jhtml?articleID=207001735

General description of articles and lectures:
http://www.dreamsongs.com/WorseIsBetter.html

How many talented people and programmers were brainwashed? Oh gee!

> http://www.dreamsongs.com/WIB.html

"""
2.2 Good Lisp Programming is Hard
[...]
2.2.1 Bad Declarations

This example is a mistake that is easy to make. [...] was as follows:

    (proclaim '(type (array fixnum *) *ar1* *ar2* *ar3*))

[...] following correct declaration:

    (proclaim '(type (simple-array fixnum (4)) *ar1*))
    (proclaim '(type (simple-array fixnum (4 4)) *ar2*))
    (proclaim '(type (simple-array fixnum (4 4 4)) *ar3*))

Altering the faulty declaration improved the performance of the entire
system by 20%.
"""

Type or copy/paste more to have good LISP? Gee!!!

Just for fun, another LISP fork, this time in `bash`:
_______
#!/bin/bash

# lisp interpriter
load-library(){
    : do load
}

setq(){
    : do setq
}

# Emacs lisp
#;; my locale things (do not break time stamp generation on English)
#(setq system-time-locale "C")

#;; time stamp
#(load-library "time-stamp")

(load-library "bash")
(setq system-time-locale "C")

--
sed 'sed && sh + olecom = love'  <<  ''
-o--=O`C
 #oo'L O
<___=E M
speck-geostationary