My take on ChatGPT and its ilk

LLMs connected to chat as with ChatGPT are to the properly executed AIs as Windows in 1985 was to properly executed operating system designs as exemplified by the Xerox Star. In the 1980s it somehow became possible to get away with shipping prototypes while claiming they are finished products and the latest benchmark of this trend was sprung on an unprepared world by openai.org.

ChatGPT is deeply flawed and exactly like the unprepared computer salespeople: they don’t know when they are spewing BS. But unlike the salespeople ChatGPT lacks the mechanism to tap into another reference to detect its BS. This is because the training data was not properly vetted and weights were not assigned and incorporated reflect how trustworthy the data is known to be. Instead ChatGPT was rushed out as the ultimate shiny new toy to sucker vast numbers of people unable to appreciate how risky a tool it is to use. Shame on openai, shame on microsoft and shame on google for rushing headlong into creating tools that cannot be trusted but are believed to work by uninformed millions.

Algernon effect every three weeks for 18

I’m on a second, parallel chemo these days, getting it every three weeks for a total of 18 weeks. I got my third infusion a few days ago. But I have to take large doses of dexamethasone the day before, day of and day after the infusion. This strong steroid is a strong brain stimulant, for me at least. It lifted me out of the amazing cognitive funk I’d fallen into toward the end of the previous three week cycle. But it was more extreme than that. I realized it had brought back part of the mind I spent the last many decades with when I was chronically hypomanic. When doing math in my head took almost zero conscious thought or visualization of numbers. When I could get stuff very fast and carry on a multi-threaded conversation with a few different people simultaneously with a chat system. That part of my mind was handed over to a mood stabilizer that I take for the sake of my family and others who may be a bit tired of my frequent antics when I’m going very fast. But the dexamethasone gives me a few days of full mind power. If this effect continues in relation to the growing fatigue and cognitive fog that is also coming every three weeks the contrast is going to get pretty sharp. Overall it is a treasured 72-96 hours, as I really have gotten some stuff done.

Mortality Reminder

(updated 10/7/2022, spelling fixes needed)

In March of 2022 a routine exam showed evidence of cancer. A few weeks later I was diagnosed with “stage 4A Prostate cancer”. The “4” means it has spread outside the prostate gland and “A” means the spread is to a “region”: in my case lymph nodes and seminal vessicles and other places in my abdominal cavity. (4B would be spreading outside the region close to the prostate.) The long term prognosis is poor. The cancer is a relatively rare, aggressive type, and because of this most data in the literature documents the much slower growing type.

In 2013 when I got an echocardiogram and my heart ejection fraction (the fraction of blood expelled as related to that taken in with a single beat) had turned to shit, I thought “this is it, I’m close to the end”, was emotionally devastated and cried my eyes out in front of the nurse and doctor. But it was severe atrial fibrillation that had dragged me down and one each epicardial and endocardial ablation later my EF climbed back toward normal as I exercised.

This cancer diagnosis is much trickier. Oncologist #1 was in visible pain going over my situation and could not bear to get close to real candor. Oncologist #2 was much more comfortable with candor and outlined the most likely way things would play out: gradual resistance to treatments making it imposible to prevent further metastisis to other parts of the body. Treatment is purely palliative: Chemicals to slow growth of cancer cells and radiation to kill cells in the region. It is currently not possible to kill the cells outside the region except as a reaction to severe symptoms in cases. Repeated radiation treatments may give me other types of cancer. I know one other guy in a support group and he’s 4B with cancer cells all over his body. Very sobering as I consider a direct conversation with him.

I have two role models to help me deal with this. The first was Joe Sumakaris, a materials scientist who died quite young of prostate cancer and the second was Lois Cavenaugh Daley, a minister and teacher who died closer to my age of complications from a different kind of cancer. Both Joe and Lois were brave and positive to the end. If I can handle this cancer half as well as Joe and Lois I’ll be totally OK to the end. I’m trying hard to keep sight of the fact that it’s up to me to chose how I’m going to respond at the most basic level. If I can keep asking myself “what would Joe do?” and “what would Lois do?” I’m confident I can keep a positive outlook.

Good Beer Without the Booze

An excellent lager with a wonderful book of poetry

Good no alcohol (NA) beer is a thing now. It’s at my local Publix. I had a St Pauli Girl to hydrate between treadmill and climbing exercises. They got the flavor spot on. The NA Guinness (with widget!) is about 95% the same as the real deal if the memory of my nose and taste buds serves. Update in August, 2023. St Pauli Girl NA bailed out of the US market. However Stella Artois Liberte is an excellent replacement.

Our Family Movie

This movie was my family favorite and we watched it together times without number. Had they not been forced to sell their farm I could well imagine my dad having made a safe but Rube Goldberg catapult to launch a glider from their 20 acres and bring it to a safe, albeit brisk stop on the property. And had they lived those last years like Duvall and Caine and decided on a whim to bucket together it would have been my mother piloting, with the greatest flight instructor in the world in the rear seat.

https://www.imdb.com/title/tt0327137/

Hard Work Pays Off

Four years. Two summers taking extra classes. One summer internship creating a zoning map for the Jackson, County NC airport. Marching band three years (clarinet section leader). Oboist in concert band, wood wind ensemble, video music ensemble. Quidditch three years (varsity “black team” senior year, starter in national championship tournament 2019). A second i

summer automating the data for every water meter in Morganton. Bachelor of science degrees in political science and urban planning, an undergraduate certificate in geoinformation systems, and a geography minor. Shazam!

Emily (far right) with the other girls on her team, 2019.
Emily Margaret Soper, May 12, 2019.

My North Carolina Home

Since moving here in 1977 I’ve found North Carolina to be an interesting place to live, but occasionally in the Chinese cursing sense of the word “interesting.” I won’t enumerate all the adventures that have seemed to be more common in North Carolina, but I recently got a reminder of one:

SAMSUNG CAMERA PICTURES

This is a juvenile (perhaps 15″ long) Copperhead snake in the middle of the garage.

Wally Bot sweeps competition at Efland-Cheeks Elementary Robot Camp

WallyBot

 

Today I mentored Trey and Tyler, two elementary school children in a “robot camp.” They built a robot with Lego Mindstorm NXT 2.0 components and it swept the competition and then came out on top in a free for all battle between all seven robots. The robots fought “sumo style” within a roughly four foot diameter circle until all but one robot was forced outside the circle or disabled.Trey drew Wally’s face (his eyes are an ultrasonic rangefinder). The front ramp/scoop was very stiff and tended to make Wally’s wheels really dig in, frequently flipping the other robot if it could catch it from the side. In the final round of the main competition Wally and his opponent were locked together for almost the full two minutes (that would have made a tie), but Wally could push the other robot forward in a slowly wandering ellipse that eventually passed outside the ring, tricking the other robot into backing up (which put it completely outside the ring). Very exciting!

Trouble in Arduino Paradise

(This is another article I wrote a year or more ago but never got around to publishing until now)

I’ve been helping an ecologist make a “compass bearing data logger” using an Arduino Uno. Actually, I’ve been doing most of the implementation while Erik has defined the requirements based on his many years doing field work with other logging tools. (It is pure joy to have crisp requirements so you know your solution happens to match the problem at hand!) Erik picked the Uno and it seemed like an excellent choice because it was very easy for him to combine bits and pieces from Adafruit to create a solution. We quickly became aware of off the shelf software libraries that either come with the Arduino IDE or that are available as add-ons from the main Arduino repositories to support the hardware. At the start of the project it seemed unimaginable to exhaust the Uno’s memory capacity with such a simple application. Does that sound familiar?

After getting about 98% of the functionality in place the IDE still reported only about 24 kilobytes of text usage along side the Uno’s 32 kilobyte capacity figure. But after the addition of the last hundred or so lines of C++ the system became unstable. It wasn’t unstable in the usual sense that the new code didn’t work right the first time. (My batting average up to that point had been excellent, but there had been a number of surprises.) The system was unstable in the sense that only the first sliver of initialization code was executing, but it was executing over and over forever. The CPU was reseting after just a little bit of the application code had executed.

When I was much younger I might have thrashed with this a long time, struggling to determine what broken code fragment I’d added somehow explained the failure. Instead I got out the machete and gutted the bodies of several functions until the overall code size was similar to what it had been the last time the system had run properly. Sure enough, it ran properly again. Replacing stub code with full function bodies in various combinations proved that it was simply the amount of code involved that caused the instability. I should point out that this program has very little “variable” storage in relation to the Uno’s 2kb of RAM. That is, it has maybe a dozen scalar variables, one small character array for building file pathnames, and a couple of objects to do with the clock/calendar and compass chips and the SPI interface to the SD card used for the actual data logging. Also, there are no recursive routines and very few local variables and very shallow call nesting, so stack demands are trivial too. In short, the bad magic was to do with undiagnosed overflow of “something” to do with the amount of text (machine instructions produced by the C++ compiler).

Except that C semantics require initialized string constants to be put into the data segment, and this has to be mutable, and therefore in RAM vs flash memory. Duh. So I was overflowing RAM, causing the stack to walk over the top of variable storage as it nested during routine calls.

The trouble in paradise is that in my world it’s just not acceptable that overflow of a statically allocated memory segment would go unnoticed by the tool chain. In my world this kind of misbehavior forces the Arduino IDE into the “piece of sh*t” bucket and I’m only persevering with this tool chain now for the sake of Erik’s target user group being able to make this logger with user-friendly tools. The Arduino IDE is fantastically user-friendly for making an Arduino blink LEDs. Going much beyond that in my experience has given appreciation for the “get what you paid for” adage.

But the other trouble is that it appears that some combination of Linux, the USB library “RXTX”, and the Arduino IDE are conspiring to ruin my system’s uptime record. If I had a nickle for every time a failure to do with the USB connection between the IDE and my Uno has forced a reboot I could buy another several TI MSP430 Launchpads. More on this here.