Posts mit dem Label ICL 1904 werden angezeigt. Alle Posts anzeigen
Posts mit dem Label ICL 1904 werden angezeigt. Alle Posts anzeigen

14. Oktober 2017

How I tried to trick a Computer

To say it right away. The computer, a large mainframe ICL 1904 back in 1968, took revenge when I tried to fool it with a wrong date.
   You know – or people without a smartphone knew – those everlasting, perennual, forever calendars. Today even those are computerized, see for example the months display here or the “everlasting calendar” here. For some hundreds of years they came printed on paper, and I had one in my little appointment calendar. They looked like this:
Click to enlarge. Source https://de.wikipedia.org/wiki/Datei:Immerw%C3%A4hrender_Kalender_S1.png
Find the year in A. Go down the colums to B and select the month. Then take the day of the month and find the weekday in a table C – which I don’t have, sorry. Try https://www.unet.univie.ac.at/~a8727063/Kalender/wochentag.html instead. 
   Or continue here. The Schlüsselbuchstabe, key character g is the Tagesnummer, day number 5 there, so 
                                 a = 1, 
                                 b = 2, 
                                 c = 3, 
                                 d = 4, 
                                  e = 5, 
                                  f = 6 and 
                                  g = 0
So I guess you can take the day number (0 to 6), add the numeric calender day, and try your luck in the Nendwich’s Tabelle III below. 
   Example. The year 1941 in table A is in the fifth column, go down to November of 1941 and you get an f, corresponding to 6. Add say the 30th of this November to 6, you get 36, a Sunday.

Tabelle III

1 8 15 2229361 Sonntag
2 916233037 2Montag
310172431 3Dienstag
411182532 4Mittwoch
512192633 5Donnerstag
613202734 6Freitag
714212835 0Samstag
ErgebniszahlR7 Wochenta

That said, finally, here’s the story.

My friend Ulrich Bosler and I worked night shifts at the University of Berlin’s largest computer, an ICL 1904, back in 1968. We made an Exapt compiler, all in Fortran II, some 7000 punched cards. As students had to pass a little exam to be permitted to use this room full of computer and peripherals alone. But just as Adam and Eve were not permitted to eat apples from a certain tree, we were strictly forbidden to reload the executive, as the operating system was called. Normally it didn’t crash, but eventually it did. No blue screen at that time, no screen at all, they weren’t invented yet. The operating system was controlled by a teletypewriter in the middle of the room. When it stopped hacking along with its ten characters per second typing speed, we knew: sudden death had occured. 
   Should we have gone home, at two in the night, with four hours more computer time all for us? We didn’t want to. So we decided to “illegally” restart the computer.
   This was done by reading in a bootstrap tape – not a magnetic tape, behold, but a paper tape roll as big as a frisbee (not invented yet). The system had a special optical reader for that, a luxury, and we carefully run the tape, and restarted the system all right.
   Next thing was – just like later with the first PCs – that you had to enter time and date. I was nervous. After all, the next day everybody would see on the end of the log paper roll that we had tried to restarte the system, if we didn’t cover it with numerous lengthy log entries during the rest of the night. Finally the system asked me for the weekday. And then it didn’t accept that! Over and over again it insisted on a correct date. I typed it in all sorts of formats, with two digit year, with four digit year, with separating points or slahes or dashes, and got ever more nervous and confused. 
   My friend came to help me. He spotted the mistake right away: I had entered the wrong year, in my confusion. With the right year and the right weekday the ICL mainframe was satisfied and started to work.

Apparently the system had a perennual calendar built in to check the dates. This part of the startup program was later overlayed, a higher ranking assistant told me later in confidence. 
   But I thought of revenge!
   Next time we had to reboot a crashed system, I took out my calendar – see above table A at Schaltjahre, leap years – and entered a year with the same day pattern long before the mainframe’s birth, like 1940 instead of 1968. Computers hadn’t even been invented then … The ICL 1904 didn’t know that, no Wikipedia there, and accepted the date. So we worked the final hours of our night shift back in the year 1940! Before leaving we corrected the date. 
   I had fooled the system. Triumph! Man wins technology. Computers are dumb, the human brain is unsurpassable. Artificial intelligence a misnomer, at that time not named yet though.

Final act. Destiny hits. Pride goes before destruction, a haughty spirit before a fall (ante ruinam exaltatur spiritus), Salomonic proverbs 16:18. Next time we were on at night, when I loaded our tapes – we had four of them, the compiled program, the input data with Exapt, machine tool output and one for overlays I think – the magnetic tape stations pulled in the tape, read the label, and instead of waiting patiently for the first read command, ate the label again and scratched it. After the second tape I realized that something was wrong, very wrong. My tapes were officially scrapped, made unreadable, were reformatted as you’d say today. Why? The tape’s “retention periods” of some five years were long gone since we had last written onto the tapes, back in fake 1940.
   Magnetic tapes when wound up slowly, very slowly copy content from one tape round to the adjacent rounds. Correct reading is disturbed. With audio tapes you hear an echo, digital tapes just don’t read exactly any more. So tapes have to be re-written periodically, or at least rewound, to preserve their content. That’s why the retention period is checked.

For more about “our” ICL 1904 and the first story read Listening to Computer Bugs.  
Another story: https://blogabissl.blogspot.com/2017/10/the-speaking-modem.html#modem
More stories: https://blogabissl.blogspot.com/2017/10/old-computer-stories-hp-2116-et-al.html

Permalink to here: https://blogabissl.blogspot.com/2017/10/how-i-tried-to-trick-computer.html
Link directly to the story:
https://blogabissl.blogspot.com/2017/10/how-i-tried-to-trick-computer.html#retention

13. Oktober 2017

Listening to Compter Bugs

We’ve lost the ability to listen to information – by ear, by hearing. Helga Rietz describes that in her article «Die Temperatur nach Noten» (“The temperature by musical notes”) in my preferred newspaper, the Neue Zürcher Zeitung, on October 6, 2017. She writes about the sonification of data, of “science music”, and gives numerous examples with astronomy, with science, and other patterns that were discovered just by listening. Find the (German) article online here and the paper copy at http://bit.ly/2ylIwqP = https://zeitungsarchiv.nzz.ch/neue-zuercher-zeitung-vom-13-10-2017-seite-9.html?hint=19743452

An ICL 1903 around 1965 – still without disc (often spelled disk at that time) in Holbeck, England 
 I have my own experience with hearing technology at work.
   In the year 1969 in West Berlin my friend Ulrich Bosler and I were allowed to use Technical University’s mainframe during nights for our engineer diploma program. The largest computer in Berlin then, a ICL 1904 that had just gotten the newest gadget, disc drives, the size of American washing machines. Magnetic tapes were standard to store programs and data. We kept our program, an Exapt compiler written in in Fortran II for portability, on some 7,000 punch cards, so as to be able to quickly correct the program. To write our thesis we used another computer, less in demand, in another building, a Digital Equipment PDP 10 as line editor. At that time texts usually were written “offline” on purely mechanic typewriters.
   The ICL 1904 had a disc operating system (to be started by loading a sizeable punched tape), and was able to run four programs at the same time (“multiprogramming”). The disc was used for swapping, if necessary (called overlaying by Wikipedia). As we typically were all alone on the machine, there was only one program running (if at all …), ours.
Paper Tape Rewinder,
the later cordless model
originally for $ 150.
HP Computer Museum
   The operating system was controlled by an American electromechanic teletypewriter or teleprinter. As there were no “displays” like today, these 7 bit ASCII typing machines from the standard “four row” 110 baud telex service by Western Union (TWX) (110 characters per second), were the normal “keyboards” for all computers at that time, except for some European models using local 5-channel telex machines (see Baudot code) and Control Data, using six bit bytes rather than eight bit bytes. Incidentally a US teletype needed a sizeable 220-110 Volt stepdown transformer. But it could be used for the usual paper tape winder as well, derived from standard electric American erasers, mostly from these. (In Europe we still manually used a piece of india rubber to erase.)    
Teletypewriter to control computers.
Price advertized $ 1450. More here.
We used those with an adjustable mono
loudspeaker in the front cover.
Other example here.
So we had a loudspeaker in the console typewriter, with a little knob to turn volume up or down. Like a radio receiving electromagnetic interference by spark plugs, this litte “radio” reproduced the switching operations of the computer’s CPU, central processing unit.
   You could hear the computer at work.
   What you heared was reassuring – most of the time. You could hear loops, notice interrupts (peripheral devices bringing in some fresh data), and when an error stopped the program the sound stopped as well, at least its melody.
   The computer sound indicated program errors as well: You could hear a program looping indefinitely, when it repeated a sequence over and over and over again without change. Normally you are afraid to manually stop a program, to forcibly “end a task” as you’d say today. It might still be productive, progressing, just slow. With the ICL’s loudspeaker we could hear progress – or kill the program, dump a bit of memory, and find out in what loop it had hung. Even then, finding the place in the source program where we had stopped the program, was difficult.

Today the operating system of an ICL 1900 can be run on a Raspberry PI, more here.

Memories and specifications of the ICL 1900 by Brian Spoor. Very readable!
How I tried to trick the ICL 1904
• Another old story: The HP 3000 in Geneva 1972
• Another old story: A modem message via tape recorder

More stories: https://blogabissl.blogspot.com/2017/10/old-computer-stories-hp-2116-et-al.html

More on early Teletype code: www.colossus-computer.com/colossus1.html#appendix1

Link to here: https://blogabissl.blogspot.com/2017/10/listening-to-compter-bugs.html
Fritz@Joern.De