Ken Fogel
banner
omniprof.bsky.social
Ken Fogel
@omniprof.bsky.social
Java Champion, Retired CS teacher, Author of Transitioning to Java, JChampions Conference organizer, Humanist
In reviewing the while loop in Java I am baffled how most every example, no wait, that's wrong, how every example, that's better, even the AI generated ones, could be handled in a for loop.
September 4, 2025 at 3:41 PM
I looked up my name at www.theatlantic.com/technology/a... and low and behold my book was on the list. Should I be flattered or should I ask my publisher to sue the pants off of Zuckerberg?
Search LibGen, the Pirated-Books Database That Meta Used to Train AI
Millions of books and scientific papers are captured in the collection’s current iteration.
www.theatlantic.com
August 29, 2025 at 7:01 PM
1/3 To my Windows using friends, I just discovered a technique that has eluded me up until now. When you use a single or double quotation mark in Word it is a curly mark and if you use a second mark it will curl in the other direction to indicate these two symbols have enclosed other characters.
August 13, 2025 at 3:38 PM
I found these a few years ago. When I was 16, 55 years ago, I was on a television show called Reach for the Top. Two high schools teams of four competed in answering questions. Rather than have a local competition to see who would make the school team we were just interviewed by a teacher.
July 26, 2025 at 2:19 AM
Today's video on JavaShortVideo 'The Java 21 switch - Part 2 The guarded pattern' can be watched at youtu.be/o2cEnO_UXlA or you can find all videos at www.youtube.com/@JavaShortVi...
The Guarded Pattern
YouTube video by JavaShortVideo
youtu.be
July 23, 2025 at 6:46 PM
Today's video on JavaShortVideo 'The Java 21 switch - Part 1' can be watched at youtu.be/Taw_MDOs8lw or you can find all videos at www.youtube.com/@JavaShortVi...
The Java 21 switch Part 1
YouTube video by JavaShortVideo
youtu.be
July 21, 2025 at 6:46 PM
It’s recording time.
July 21, 2025 at 5:40 PM
All that is left to do is sign the contract and then work begins on my second book. I was surprised when I was first asked to write a book and now I am writing another one. Keeping my ego in check will be difficult 🤓
July 21, 2025 at 3:29 PM
Today's video on JavaShortVideo 'The Java 14 switch' can be watched at youtu.be/Tzkql87Lo_Y or you can find all videos at www.youtube.com/@JavaShortVi...
The Java 14 switch
YouTube video by JavaShortVideo
youtu.be
July 19, 2025 at 8:46 PM
Today's video on JavaShortVideo 'Bean versus Record' can be watched at youtu.be/v6XMaKurTA8 or you can find all videos at www.youtube.com/@JavaShortVi...
Bean versus Record
YouTube video by JavaShortVideo
youtu.be
July 16, 2025 at 8:34 PM
Today's video on JavaShortVideo 'The new old main method' can be watched at youtu.be/PqxUDMQhbDQ or you can find all videos at www.youtube.com/@JavaShortVi...
The new old main method.
YouTube video by JavaShortVideo
youtu.be
July 15, 2025 at 5:45 PM
Today's video on JavaShortVideo is on Naming Conventions and Parts of Speech that can be watched at youtu.be/BWyMTAeA1Xg or you can find all videos at www.youtube.com/@JavaShortVi...
Naming Convention - Parts of Speech
YouTube video by JavaShortVideo
youtu.be
July 14, 2025 at 5:03 PM
Today's video on JavaShortVideo about Method Signature and Overloading is now available at www.youtube.com/watch?v=mR9T.... You can also watch this video and others at www.youtube.com/@JavaShortVi...
Method Signature and Overloading
YouTube video by JavaShortVideo
www.youtube.com
July 11, 2025 at 4:07 PM
Have you ever looked for info about the Java language only to find mostly YouTube videos. They frequently go on and on before and after they provide the info you want. In one video the presenter left to answer a phone call, left the camera on, and uploaded the video without editing out his call. 1/3
July 10, 2025 at 4:50 PM
I’m vain. Today I went to the Cote St Luc Public Library to have a photo taken of me with a copy of my book that I donated to the library. I’m sitting in front of the section where it will be shelved.
June 23, 2025 at 5:51 PM
A few years ago I came across Duet Display, a program that runs in iOS and Windows. It allows you to use your iPad as a second display. When I don’t feel like working in my office I can work in our dinining room and have the larger viewing surface of two screens. Highly recommended.
June 9, 2025 at 2:47 PM
Microsoft kindly gave me, and probably anyone else with an AI co-processor, a preview app called Recall. It appears to make a copy of your display and then reads the display. You can then ask it questions like "When did I write about classless Java".
June 7, 2025 at 6:47 PM
What The Fuck. From a CNN about GOP ‘hardliners’ blocking a budget bill as it did not make cuts to Medicaid & “Another one of the holdouts, Clyde, had another issue with the bill — its failure to remove gun suppressors, also known as silencers, from regulation under the National Firearms Act.”.
May 16, 2025 at 8:05 PM
Here is my second session at jPrime where I moderated a panel discussion on Java and AI. You will have to advance to the 7 hour 34 minute mark as this is the whole day’s live stream. m.youtube.com/watch?v=gpLh...
jPrime 2025 Hall A - Day 2
YouTube video by Bulgarian Java User Group
m.youtube.com
May 16, 2025 at 5:42 AM
You can see my session on teaching Java at jPrime at m.youtube.com/watch?v=IyB2...
This is the whole day of sessions but mine starts at the one hour mark.
jPrime 2025 Hall B - Day 1
YouTube video by Bulgarian Java User Group
m.youtube.com
May 16, 2025 at 5:37 AM
Had a great turnout for my session here at jPrime. I do enjoy making presentations to a full house.
May 14, 2025 at 11:20 AM
Had a great supper last night with fellow speakers and jPrime organizers. Even managed a little over 6 hours of sleep despite the 7 hour time difference from Montreal.
May 14, 2025 at 2:53 AM
If you will be at jPrime in Sofia May 14, 15, a new panel session has been announced that will close the conference on the 15th at 17:30 titled The Future of Java in the AI World that I will moderate. The panel will consist of Pasha Finkelshteyn, Milen Dyankov, Rafael Winterhalter, & Jonathan Vila.
May 9, 2025 at 11:41 AM
I learned that to get a random number from 1 to 10 I:
Random r = new Random();
var secretNumber1 = r.nextInt(10) + 1;

Today's emphasis on security there are now algorithms to choose from such as:
RandomGenerator g = RandomGenerator.of("L64X128MixRandom");
var secretNumber2 = g.nextInt(10) + 1;
May 5, 2025 at 3:22 PM
I donated a copy of my book to my city’s, Cote St Luc, library. Went to their web site to see if it has been cataloged and discovered that someone has checked it out.
May 4, 2025 at 12:31 PM