AI Coding – finding the sweet spots
I don’t think people realize what will happen with AI coding eventually. I have been playing with AI Coding for a little while and I am amazed at how well it does for certain tasks. These are simple programs that I have AI write for my personal use. I have had several Android Phone Apps created by AI that I use as a magician, for example. These apps are not intended for the general population and do not need to meet everyones needs, only mine.
Recently I found a old ASUS Nexus 7 Android tablet that I wanted to resurrect. I decided that I would use it as a controller tablet for my Home Assistant home automation system, something akin to a Kiosk mode controller. I had a brief chat with Google’s Gemini which told me that what I wanted to do was doable, but that since the device was old the code would have to be written without using the latest web tech. I suggested using the Home Assistant API and it thought that was a great idea. (I do find it annoying that AIs find all ideas to the great, even when they are not.)
Here is where I was amazed. I went into my Home Assistant and copied its configuration file. I uploaded that to Gemini and it extracted the devices I have from the file, suggested which ones it thought I should include, and then wrote the Javascript and HTML code for the app. It also gave me instructions on where to put the file within the Home Assistant server.
I uploaded the file and it worked. Now note that I could have used a third party plugin to Home Assistant that puts Home Assistant into a Kiosk mode, but I would have had to create a Home Assistant dashboard with the devices. Also, it is likely that that page would not have run on the Nexus web browser.

What does this mean for the future. I still had to copy and paste the code, but we are already seeing AI agents that can take over even those tasks. I can see when users no longer open the Play Store to download an app, or search for a PC Program. Instead they will simply tell the AI Agent what they want the program or app to do and it will be created for them. If it isn’t exactly what you want, no problem, just tell the AI what to change.
Additional thoughts
So having AI build the new web page based interface I decided that I wanted it to run as an app, not has a web page via the browser. The problem with using the browser was that it opened with the browser tool bar and headers. So I asked the AI to build a Cordova app that simply showed the page, without using Chrome or Firefox.
It did this, but it was a bit harder. Not harder techically, harder in the sense it took the AI more time to get it right. The reason was that I am using very old hardware. Cordova has many dependencies and the AI had to figure out what version of each layer of technology would work. It eventually got there and I now have an app on the tablet that opens the kiosk mode directly.
A nice reversal
I love going back and reading old magic books. This reversal of a single card is from “At the Table Tricks”, by Neal Elias. This book was first published in 1946. The slight reverses the bottom card of the deck and can be covered with an overhand shuffle.
To make this move smoother, think of it as a synchronized “squeeze and turn” motion.
1. The Setup (Left Hand)
- Hold the deck in a standard Mechanic’s Grip in your left hand.
- Position your left middle, ring, and pinky fingers so they are flat against the bottom card’s outer right corner.
2. The Buckle
- Squeeze those three fingers inward and upward toward your thumb (the inner left corner).
- This action “buckles” the bottom card, creating a gap and tilting the rest of the deck upward at a 45-degree angle. This is the standard buckle technique.
3. The Transfer (Right Hand)
- Reach under the deck with your right hand.
- Place your right thumb at the edge closest to you and your middle/ring fingers at the far edge.
- The palm of your right hand should be facing the bottom of the deck.
4. The Secret Turnover
- As the left fingers buckle the card, use the right hand to rotate the deck.
- Pivot the deck on its left edge until it is vertical, in the position to start an overhand shuffle.
- The “buckled” card remains hidden in your left palm as the deck slides over the top of it.
- If you rotate you left hand (holding the hidden card) and pull down on the right edge of that card with the left fingers, the card will rotate to be face up.
5. The Overhand Shuffle
Start an overhand shuffle of the cards in the right hand onto the top of the reversed card.
6. The Cover
- Front/Left: Tilt your left hand up slightly to shield the card from those angles.
- Right: Your right hand naturally blocks the view from the right as it turns the deck.
A stunning orange super car on a mountain road, professional automotive photography, high quality, detailed
Ian’s Last Bet
The Script: “Ian’s Last Bet”
Continúa leyendo "Ian’s Last Bet"Card Discovery
This is based on “Silent Transmission Telephone Mystery” from Jon Racherbaumer’s “Artful Dodges of Eddie Fields.” It uses a setup but it is easy to remember and perform.
Continúa leyendo "Card Discovery"13 Down
This card trick is a “self-working” effect by Peter Duffie. Here is the clear, step-by-step breakdown of how to perform it.
Continúa leyendo "13 Down"AI Vs Real
A stunning blue coupe on a mountain road, professional automotive photography, high quality, detailed
Derek Dingles Ambitious Classic
Since I posted on Larry Jennings version I thought I would add this. Here is how I do the Dingle version, but this is from my memory and might not be exactly what he wrote.
The setup is the same, cut a red five to the top of the deck as you remove the A-5 of spades. Place those face up on the top of the deck and arrange them so the Ace is the first (top) card, and they go down to the 5.
Continúa leyendo "Derek Dingles Ambitious Classic"





