Showing posts with label ai prompts. Show all posts
Showing posts with label ai prompts. Show all posts

Monday, March 3, 2025

Aya Goes for Walk and Finds Out Who Owns the Zebra


Aya Goes for Walk and Finds Out Who Owns the Zebra - Microsoft Designer Generated

Overview


There is so much being written about AI these days, and in particular Large Language Models (LLM) and Chatbots (oh my). And here goes our paltry contribution.

We will tell you straight off that we make heavy use of Copilot, Microsoft’s AI companion. Half the time it’s the Copilot inside of Visual Studio development environment that we are using. We estimate that we code at least 30 – 50% “better” than without it. What do we mean by better? Copilot brings more ideas to the table, quicker. We are less blocked by coding issues (hello lambda notation I’m talking about you). It helps in debugging. It really is like having a pair programmer at your side. Copilot is not correct all the time, but boy does it help keep you from being blocked. In short, it has been transformative for us.

Outside of Visual Studio, we are using chatbots for planning trips and asking questions that go beyond simple Google searches. Questions that spin off into long conversations that are truly interesting and informative to us. Again, is it always correct, no, but it’s a time saver and it’s prompting us to ask more and better questions, to think before we search for something. And perhaps this last statement is the part we think many of the naysayers miss.

That said, lots of people are worried about AI. In fact, we just got done reading The Coming Wave, Technology, Power and the 21st Century's Greatest Dilemma (2023) by Mustafa Suleyman, Michael Bhaskar. This book examines the transformative and potentially perilous impact of advanced technologies, particularly AI and synthetic biology. The book’s major theme is “the containment problem”—the task of maintaining control over powerful technologies. It’s a sobering read yet, we didn’t feel as moved to action as we thought we might be. Given that AI for us, for now as mentioned in the first few paragraphs, has been a net positive for us, the containment problem didn’t resonate. Maybe we’ll be changing our minds?

Recently, we read two articles on AI, the TechCrunch article OpenAI announces new o3 models and the Quanta Magazine article Chatbot Software Begins to Face Fundamental Limitations. (Quanta has some really good writing!)

One big question that both articles deal with is whether the newest models are approaching AGI or “artificial general intelligence,” referring to whether AI that can perform any task a human can. The TechCrunch article mentions some mathematical benchmarks used to figure that out. The Quanta article mentions the Zebra or Einstein’s riddle.

Aya


The TechCrunch article mentions turning the AI models against the 2024 American Invitational Mathematics Exam questions. I thought, hey, I should try this too and see how I do. (Sort of confirming my humanity?) Confident of a quick solution, I read the problem statement of 2024 AIME I Problems / Problem 1:

Every morning Aya goes for a 9-kilometer-long walk and stops at a coffee shop afterwards. When she walks at a constant speed of s kilometers per hour, the walk takes her 4 hours, including t minutes spent in the coffee shop. When she walks s+2 kilometers per hour, the walk takes her 2 hours and 24 minutes, including t minutes spent in the coffee shop. Suppose Aya walks at s + 1/2 kilometers per hour. Find the number of minutes the walk takes her, including the t minutes spent in the coffee shop.

Six hours later I had sort of a solution! (The time it took me was longer than Aya's walk.) I had all the right ideas but forgot about solving – spoiler alert – the roots of a quadratic equation. It was a humbling experience. The Open AI o3 models o3 scored 96.7% on the 2024 American Invitational Mathematics Exam, missing just one question. I wonder what question was missed?

What’s interesting about this experience, is that I knew at the end I had to solve a quadratic equation but forgot how to so I asked Copilot the details of solving one. Is that so wrong?

Zebra


The Zebra puzzle first appeared on December 17, 1962, in Life International magazine. As the Quanta article says “Also known as Einstein’s puzzle or riddle (likely an apocryphal attribution), the problem tests a certain kind of multistep reasoning.”  According to the article, this kind of riddle requires composing a larger solution from solutions to subproblems, which is not easy for LLMs. But it should be easier for humans I thought. So, I gave the riddle a try and lost another 6 hours of my life! 
 
The riddle consists of 15 sentences describing five houses on a street. Each sentence is a clue, such as “Coffee is drunk in the green house.” or “The Lucky Strike smoker drinks orange juice.” Each house was a different color, with people of different nationalities, who own different pets, drink different beverages, and smoke different cigarette brands (it was the 1960s!). The story’s headline asks: “Who Owns the Zebra?”  Hint: Not Aya.

Pollyanna


What point are we trying to make? First, AI is here to stay and is not going away or going to be easily “contained”. In fact, in the “Coming Wave” book a quote from Chapter 8 said it all: “Today's world is optimized for curiosity, sharing, and research at a pace never seen before. Modern research works against containment. So too do the necessity and desire to make a profit." Bold added by us.

Our second point is that we need to adapt to using these tools and use them to make us better. Just reading about the tools and using the tools has inspired us to relearn things we forgot as well as answer new and more interesting question. We think that this is positive. Perhaps we are "pollyannish" on AI, that is people who tend to be excessively optimistic about it. 

The term Pollyanna comes from the title character in the 1913 novel Pollyanna often by Eleanor H. Porter. Pollyanna is a young girl who remains relentlessly positive and tries to find something good in every situation, no matter how challenging.

Guilty as charged!

In fact, we are not the types who stare at a ChatGPT prompt and ask dark or maleficent questions and then go huh? look at what it spit out. We are always asking positive (for the most part) questions, looking to get to some new higher ground or state, be it in programming or otherwise. And maybe being the Pollyanna types that we are, we miss that some people don’t do this.

Monday, April 1, 2024

Goodbye Alexa, I Hardly Knew You (as well as A&P)

Our downstairs Amazon spot called Ziggy Our upstairs Amazon dot
Left: Our Amazon Alexa spot called "Ziggy". Right: Our Amazon Alexa dot sitting on a shelf.

We have noticed a degradation in Alexa. It’s hard to quantify, but it’s there. Today we went to ask for something we’ve asked for many times and she shoved us into a strange skill with a name that sounded similar. Then, we couldn’t escape that skill. We wasted one hour trying to get back to normal. Not a productive use of time.

Our Alexa (spot) and Ziggy (dot) have settled into answering the following:
  • What time is it?
  • What’s the temperature?
  • Set a timer for 10 minutes.
  • Open one of our custom-built skills. (This is always a crap shoot.)

But these queries aren’t that interesting and can easily be taken over by something else in the future. “Ziggy” is our downstairs Alexa and “Alexa” is our upstairs one. We gave them different names because we’d be asking the downstairs Alexa for something, and the upstairs would answer. Our downstairs Alexa (now Ziggy) is deaf, and our upstairs one has great hearing it seems.

Yes, our expectations have gone up in recent years as we experience LLM magic (like ChatGPT), but it’s also that Alexa has lost something. Some say (see this reddit thread) it’s because of the recent reduction of people and investment in Alexa, while others more cynically say it’s a ploy to dumb down the existing services, so we’ll be primed to purchase the next big thing when introduced. One poster on the reddit thread said, “Alexa didn’t lose intelligence, it gained stupidity.” Hmm?

When Amazon introduced these devices, we all said oh, Amazon is going to dominate the home, and that it’s Amazon from here on out, for the foreseeable future. Well, not so fast.

We seem to have two responses when a new technology is introduced:
  • said technology is here to stay and that’s it, game over for other technology
  • said technology will have incremental improvements
These responses are reinforced with breathless media coverage and marketing campaigns. We extrapolate into the future forgetting the past because both initial responses usually turn out to be wrong. There will be something else to replace said technology and said technology ages quickly and sometimes with no further improvements. It’s best to think of said technology as a step. Is Amazon a good case study for this? Time will tell, but I think the answer is likely yes. (Remember pagers and beepers?)

In the small town in Connecticut where I grew up, we would shop at the A&P. Ever heard of it? Didn’t think so. When we shopped there in the 1970s it was already a bit shabby and faded from its former glory.

The Great Atlantic & Pacific Tea Company (A&P) was an American chain of grocery stores that operated from 1859 to 2015. It was founded in 1859 as “Gilman & Company” by George Gilman in New York City. A&P started as a small chain of retail tea and coffee stores, and then expanded into a national mail order business so that by 1900 there were nearly 200 stores.

At its peak, it's reported that A&P had 10% of the total US grocery market. It was the largest grocery retailer in the United States and the world’s largest retailer overall until 1965. In its time, A&P was known for innovation, offering a vast assortment of food products at lower costs. It introduced the economy store concept in 1912 and later adopted the self-serve supermarket concept in 1936. Yet despite innovation, it closed its doors in 2015. For people living in the 1940s or 1950s A&P was likely a brand as iconic as Amazon is today.

Nothing is forever. And we are not good at extrapolating or making predictions about the future. Until the obituary officially appears, I guess we are stuck with Alexa. As for Ziggy, I’m off to buy a hearing aid for him.


Sunday, March 3, 2024

Ironman doing the dishes – Learning English with AI Image generation

35 images created with prompts in Microsoft Image Designer

We were babysitting our friend’s 4 year old (4.5 to be exact). He’s Italian and is learning English. Currently, he has good basic command of English. So, we decided to work with words and concepts in Microsoft Designer – Image Creator.

Our little ward is in his “Ironman” phase so various prompts involve Ironman. We encouraged him to find interesting pairings of words, like what’s something Ironman is never pictured doing. One answer: the dishes.

Of the two images Designer created, he typically liked one of the two images better and we saved that.

Sometimes both were visually interesting, so we saved both. It was interesting asking why he liked one image over the other – in English. Certain things in the image would stick out to him and be the criteria for selection. They were usually aspects of the image that our adult brains weren’t considering. (And yes, don't look too closely at the faces or placement eyes on these images. They are weird.)


The prompts:

a cat astronaut that is chasing space mice
a cat astronaut that is flying in space
a chair like a rainbow
a computer hat
a computer on the head of a person
a cookie tree
a house on a plant
a house rainbow
a house with arms and legs and a head that is walking down the street
a house with legs, arms that is walking down the street
a person walking the roof where the roof has tiles
a person with rainbow colored skin
a rainbow squirrel
a skyscraper made of plants
a tree growing in a house
a tree growing through a house
a tree on the roof of a house
a zebra on a house
an astronaut flying inside a house who is being chased by a cat
an astronaut flying inside a house being chased by a cat
baby ironman in diapers in a crib
candy
cookie snow
ironman disco dancing in the sky
Ironman doing the dishes
Ironman made of candy
Ironman made of plants
Ironman rainbow
Ironman skiing on a house
Ironman with the flag of Italy and a cow
Ironman with the flag of Italy