Computer Guy

Computer Guy
Sunset at DoubleM Systems (DBLM.com), Del Mar, California
Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Tuesday, July 21, 2026

ToBeWise™ major changes afoot

 I have long planned to reposition the app, but the time required to do a proper job of it seemed a huge hurdle considering the resources available to do the job. But in the fullness of time, the stars have aligned and I am committed to the project. The driver for doing this is this excellent insight by Sam Altman:


The app had always had a rather bland positioning, a product without a clear intended user, and the only positioning was what could be mentioned in the App Store description, basically a list of features and focus on quotations, wisdom, etc. The marketing truism is that if you are talking to everyone, you are talking to no one, so nobody listens, especially in a very crowded marketplace for quote apps.

While the app had always had significant resources fit for startups, it was never the primary focus, so nobody in that segment really knew about it. And with zero marketing dollars, and a price for the app of zero, it was challenging, at best, to do anything significant to change that.

Up until about 6 months ago, all of the programming was delegated. And the delegatee for the last several years was doing the work pro bono, in exchange for my mentoring services. So it was always on the back burner and subject to his other priorities. 

What's that old saying: "If you want something done right, you're going to have to do it yourself."  Fair enough. But I wasn't really looking at getting addicted to coding again. I had pretty much left the world of hard core coding a long time ago, and I remember how it can take over my life completely. But now I'm retired and looking to enjoy my rapidly dwindling years playing freestyle frisbee on the beach, shooting pool, etc.

And then I got into chatGPT, and Codex... After the uncomfortable learning curve, it was amazing how I could get things to happen and never have to look at the real code at all. Vibe coding! What a game changer.  So I got into so many of the improvements that were in the backlog waiting for my only pro bono programmer to free up an hour or two to focus on the app.  Not anymore!  I got addicted again. 

And for the last several months, the app has steading improved to the point where it is bulletproof and looking like something I'm proud to put my name on.  Now it is ready for a new life as a product for its new target market: Startups, specifically founders of startups and their team. 

That repositioning requires a good bit of reprogramming as well as other supporting activities, and I'll get into them in subsequent posts.  For now, it's onward and upward; to infinity and beyond! Stay tuned as the adventure unfolds.

Tuesday, December 17, 2024

It's a (human) process

A couple of days ago I had just finished coding a feature in EZchecklist that I'd wanted to do for a long time. It took about 5 hours to get working, and it looked good, but the underlying coding was so ugly that I couldn't bear it if anyone ever saw it. The odds of someone seeing the ugliness were extremely remote, but before I went to sleep I promised myself to rewrite the code so that it was more presentable (to myself, at least).

That opportunity came the next morning because I just couldn't live another day with all that ugly code living inside my computer, even though it was invisible to the world except me, of course.  Another five hours and it was done.  Two hundred plus lines of code replaced with 39 lines.

Feeling much better about the transformation, I then had the thought that chatGPT 4.o might be able to do better, so I copied and pasted the code into the AI and asked it to optimize it... if it can. AI got it down to about 18 lines and did it in about 5 seconds, tops, but it's not as easy to follow as my code.  Sure, it would run a bit faster but speed is not the issue here.

Having a coder to coder chat with AI about the various approaches to the problem was amazingly educational.  For me.  I doubt AI learned anything, and sure didn't have that warm fuzzy feeling of getting something to work.

Maybe I'll go back later and implement AI's optimized coding.  Maybe not.  There's something to be said for pride of human workmanship rather than the sterile perfection of AI.

And I'm happy that, at 82, my mind is still capable of learning new approaches to coding.

Note: I asked AI to illustrate the concept. It took about 10 seconds. I couldn't have done it in 10 years.

Wednesday, June 2, 2021

TeleMagic Story, Interview by Lenny McCline

Raw. Unfiltered. Candid. Spontaneous.

A college student needed to interview a founder/CEO for a business class project. He wanted to know the TeleMagic story from my perspective... what it's really like to start a software business with no money, no loans, no investment, no credit cards, no car, and no product... and have it all turn out a lot better than expected!
There are a few revelations in here that have never before been made public.
Imagine the challenge: straight-A college student Lenny McCline , only 19, taking his first class in business seeking answers from a man FOUR TIMES HIS AGE, a 6x startup entrepreneur, and mentor to a hundred plus other business founders over the past 60 years.
What questions would you have asked? Ask them in the comments!
Imagine my challenge to be able to communicate in such a way as to teach timeless principles rather than tactics and do it with limited time and in one sitting.
Lenny did a great job. What do you think?


-------------------- details:
The event was 4pm Friday, May 28, 2021 using Google Workspace video meeting, and is uncut and not retouched in any way.
The video recording is only talking heads, no slides or other visuals, so you can treat it as an audio for listening to while driving, walking, etc.
I made the video recording so that Lenny would have it to reference when writing his paper, so it was intended to have an audience of one, but put it up on YouTube so that it might be helpful to others.

Monday, April 28, 2008

How to write a computer program

A new acquaintance from Hong Kong asked an interesting question: "How do you write a computer program?" Here is my email reply: 

My first reaction was to simply Google the question: how to write a program. Nothing worthwhile came to the top of the list, which surprised me. Let me try to answer the question... 

First of all, I am not a very good programmer. Although I was taught the basics of programming in a short course while at IBM in the mid-sixties, and although I worked as a programmer in the Fortran IV language for a year in 68, and directed the work of COBOL and RPG II programmers for several years thereafter, and wrote the initial several years of the development of TeleMagic in the Dbase II, III, IV languages, and programmed other projects (PAL, etc), I really am humbled by those programmers who have much greater talent than I do. 

Some great bulk of the programming I have done was with the excuse that I could not afford to hire someone else to do the work, or sometimes because I could not communicate to other programmers what I needed without actually programming it myself. 

 It is not my preferred activity, although it is immensely gratifying when the program finally works properly. I much prefer to do the design and leave the coding to programmers. All that being said, here's my typical approach, the way I learned it, the hard way, without any real training on the process: (it is very similar to the Think*Plan*Do*Repeat process)  

1. Imagine (with the help of the users) the Outputs. What is the result you want to achieve. What does it look like. 

2. Imagine (with the help of the users) the Inputs. In order to get the Outputs above, what Inputs to the system are needed? 

3. Imagine (with the help of the users) the Process. What must be done to the Inputs to create the Outputs? 

4. Document all of the above, using ordinary English. This is really the "meta-language" from which the actual code is created. 

5. Get approval of the users of the document (the customer, the user who enters the Inputs, the user who gets the Outputs). 

6. Make changes suggested by the users and loop back to step 1 until there are no more changes. 

7. Give the whole mess over to the programmers, who will make it work on a computer. 

8. Get user approval of the finished product. 

9. Loop back to step 1 with the changes. Proceed with next step after approval. 

10. Begin a period of trial runs with limited data. 

11. Loop back to step 1 after learning how the system doesn't work the way it should. 

12. Begin a period of trial runs with production data. 

13. Loop back to step 1 with the changes.

14. Go live and hope for the best. It is often said that the worst flaws of a program are not discovered until about 6 months after going Live. So it is then back to step 1. 

It is often said that software is ALWAYS late, and over budget.

Additionally, the worst bugs are usually discovered at least 6 months after the program goes live.