Featured

Blog?

About

This computer, which predated Apple & the TRS-80, was instrumental to the beginning of “personal computers” and resulted in the creation of Microsoft. This in turn resulted in Linus Torvalds wanting something better so he created Linux.

Python on my Website

I had added a total of 104 word descriptions of parts of 3 numbers (thousands, millions, billions…Trescentillion), to my bignums.py program. But realized my version on my website only had 20 parts, so I thought I’d update it. Only to find, it doesn’t work. So I opened a ticket #225266, at my web hosting company. I said…

I have a Python program (BigNum.py) in /public_html/cgi-bin that use to work. It was uploaded 15 years ago on 3/26/2009. I don’t look at all these programs often, so I don’t know when it stopped working. I assume sometimes within the last few years.

Soon after I realize that a 15 year old program, would definitely not be Python 3. And Python 2 is unsupported. So I simply ran it through the Python3 2to3 utility, to create a Python 3 version.

Never the less they saw and fixed a problem on my server, for both Python 2 and Python 3.

So if you enter a big number like 7683228048603389507592207272278065513212
it responds…

7683228048603389507592207272278065513212
or…
7 Duodecillion
683 Undecillion
228 Decillion
48 Nonillion
603 Octillion
389 Septillion
507 Sextillion
592 Quintillion
207 Quadrillion
272 Trillion
278 Billion
65 Million
513 Thousand
212

However the Python 3 program is responding (it looks like a tuple)…

7683228048603389507592207272278065513212
or…
(‘7 Duodecillion’, ‘
‘) (‘683 Undecillion’, ‘
‘) (‘228 Decillion’, ‘
‘) (’48 Nonillion’, ‘
‘) (‘603 Octillion’, ‘
‘) (‘389 Septillion’, ‘
‘) (‘507 Sextillion’, ‘
‘) (‘592 Quintillion’, ‘
‘) (‘207 Quadrillion’, ‘
‘) (‘272 Trillion’, ‘
‘) (‘278 Billion’, ‘
‘) (’65 Million’, ‘
‘) (‘513 Thousand’, ‘
‘) (‘212’, ‘
‘)

MUMPS

I saw a video about the 360 architecture, and I noticed the same guy did a couple videos on the PDP. One click led to another, and it turns out he did some videos about MUMPS.

MUMPS, plays a small part in my early (late 1970s, early 1980s) attempts to find work on DEC PDP-11 computers. Because at the time I would see MUMPS jobs associated with the PDP-11, and I saw quite a few PDP-11 jobs looking for expertise in MUMPS back then. And that is mostly the extent of my knowledge of MUMPS. However I always was somewhat curious about it. So the above video, lead to this link. And some more googling lead here.

Evidently it’s still a thing.

So it appears it’s a database and/or a language, sometimes called M. Some sites that talk about M don’t even mention MUMPS, but some do!

More googling and I found this… somehow related to MUMPS.

I have enough on my plate right now, with Go and REXX.

The z390 mainframe assembler emulator status

The nice comment I got, caused me to see what was going on with this. This was a very cool project. However I went to the google group, and there aren’t many questions/comments. The github’s most recent update was 2 months ago, and most are 6 months or older. The main developer retired, so that unfortunately is probably the reason.

YouTube problems with my Channel

My notifications said my video had a comment. I click on it to see it, on the actual video. And it said “video unavailable”. So I accessed it from my Channel Content page. But everything (title, description, comments) below the video is gone. I went back to my home page, and now the notification for that video is gone.

So…I try and Send Feedback. But when I press Send…

A circle revolves, like it’s trying to send, but eventually it just comes back to Send, with no confirmation that it was sent

Tried it a few times… same thing. Finally went on a bike ride and tried it again…

Fixed!

Looked later in the day and it was fixed.

Following Todds Go course

I have problems, but I think it’s largely because I drop out for long periods. His teaching style is chaotic. But I think it’s because he is constantly changing things. His course can’t keep up with him. I honestly think he is a good teacher, and if I stayed in the course I would get use to his style. For example I’m currently in section 138. Interfaces & polymorphism. The red box below on the left says 136- the red box on the right says 138-.

Another view…

So there is a directory called GolangTraining-master. If you notice #21 below says Interfaces. But I don’t believe this directory applies to this course, perhaps a previous version.

bill@bill-MS-7B79:~/MyStuff/go/src/Todd/GolangTraining-master$ ls -la
total 172
drwx------ 29 bill bill  4096 Aug 28  2023 .
drwxrwxr-x  7 bill bill 16384 Jan 13 21:36 ..
drwx------  5 bill bill  4096 Aug 28  2023 01_getting-started
drwx------  5 bill bill  4096 Aug 28  2023 02_package
drwx------  5 bill bill  4096 Aug 28  2023 03_variables
drwx------  7 bill bill  4096 Aug 28  2023 04_scope
drwx------  4 bill bill  4096 Aug 28  2023 05_blank-identifier
drwx------  9 bill bill  4096 Aug 28  2023 06_constants
drwx------  4 bill bill  4096 Aug 28  2023 07_memory-address
drwx------  6 bill bill  4096 Aug 28  2023 08_pointers
drwx------  2 bill bill  4096 Aug 28  2023 09_remainder
drwx------  9 bill bill  4096 Aug 28  2023 10_for-loop
drwx------  7 bill bill  4096 Aug 28  2023 11_switch-statements
drwx------ 10 bill bill  4096 Aug 28  2023 12_if_else-if_else
drwx------ 10 bill bill  4096 Aug 28  2023 13_exercise-solutions
drwx------ 18 bill bill  4096 Aug 28  2023 14_functions
drwx------  6 bill bill  4096 Aug 28  2023 15_bool-expressions
drwx------  7 bill bill  4096 Aug 28  2023 16_exercise-solutions
drwx------  7 bill bill  4096 Aug 28  2023 17_array
drwx------ 15 bill bill  4096 Aug 28  2023 18_slice
drwx------ 16 bill bill  4096 Aug 28  2023 19_map
drwx------ 11 bill bill  4096 Aug 28  2023 20_struct
drwx------  7 bill bill  4096 Aug 28  2023 21_interfaces
drwx------ 17 bill bill  4096 Aug 28  2023 22_go-routines
drwx------  5 bill bill  4096 Aug 28  2023 23_error-handling
drwx------  2 bill bill  4096 Aug 28  2023 24_testing
drwx------  3 bill bill  4096 Aug 28  2023 25_code-walk
drwx------  8 bill bill  4096 Aug 28  2023 26_QUESTIONS-FROM-STUDENTS
drwx------ 49 bill bill 12288 Aug 28  2023 27_code-in-process
-rw-rw-r--  1 bill bill   538 Aug 28  2023 .gitignore
-rw-rw-r--  1 bill bill   120 Aug 28  2023 LICENSE.txt
-rw-rw-r--  1 bill bill    51 Aug 28  2023 README.md
bill@bill-MS-7B79:~/MyStuff/go/src/Todd/GolangTraining-master$ 

Then there is another directory “learn-to-code-go-version-03” (with 300+ sub-directories) with over 150 – 000- prefixes. All those 000 prefixes are confusing. Perhaps those prefixes should be 999, so they appear after the course content?

bill@bill-MS-7B79:~/MyStuff/go/src/Todd/learn-to-code-go-version-03$ ls -la
total 1360
drwxrwxr-x 309 bill bill 61440 Jan 13 21:32 .
drwxrwxr-x   7 bill bill 16384 Jan 13 21:36 ..
drwxrwxr-x   4 bill bill  4096 Jan 13 21:31 000-aa-packages
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ab-pass-by-value-01
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-01
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-02
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-03
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-04-stringer
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-05-assetion-01
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-06-assetion-02
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-07-assetion-03
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-08-assertion-04
drwxrwxr-x   2 bill bill  4096 Jan 13 21:31 000-ac-interface-09-bytes-NewReader

The if you keep going down ~250 lines you get here (where I think you belong) so

drwxrwxr-x   2 bill bill  4096 Jan 13 21:32 136-interfaces-polymorph
drwxrwxr-x   2 bill bill  4096 Jan 13 21:32 137-interfaces-polymorph-stringer
drwxrwxr-x   2 bill bill  4096 Jan 13 21:32 138-interfaces-polymorph-stringer-expanded

Regina Rexx’s first error on tutorialspoint

To be clear, tutorialspoint uses Open Object Rexx not Regina!

/* Main program 
The below program is used to add numbers 
Call the add function */ 
add(500000000000,6000000000000000000000)  

exit 
add:  

parse arg a,b 
say a + b

The output of the above program will be −

6.00000000E+21

but Regina matches tutorialspoint answer, but also got an error…

bill@bill-MS-7B79:~/MyStuff/Rexx$ regina prog03.rexx 
6.00000000E+21
     4 +++ add(500000000000,6000000000000000000000)  
Error 44 running "/home/bill/MyStuff/Rexx/prog03.rexx", line 4: Function did not return data
Error 44.1: No data returned from function "ADD"
bill@bill-MS-7B79:~/MyStuff/Rexx$