Google Gemini vs ChatGPT: Generating Alt-Text. Who Wins?

An illustrative comparison between Google Gemini and ChatGPT for generating alt-text, depicted through a split design. On the left, Google Gemini is symbolized by futuristic, abstract shapes in blues and greens, embodying innovation and digital intelligence. On the right, ChatGPT is represented through a network of interconnected nodes and lines in warm orange and red tones, highlighting advanced AI technology and communication. A bold 'VS' symbol in the center accentuates the competitive analysis between the two technologies, against a backdrop that merges both designs, suggesting a blend of competition and collaboration in the field of alt-text generation.

Introduction

I’m currently subscribing to ChatGPT and Google Gemini to test them both out. One of the tasks I often use chatbots for is creating alt-text for my images.

For the importance of using alt-text in your images, see this post.

The prompt given to Gemini and ChatGPT was: ‘Alt text for this image‘.

Here is the image I used. Note that it includes text instructions and images.

Continue reading “Google Gemini vs ChatGPT: Generating Alt-Text. Who Wins?”

The Importance of Alt-Text in Enhancing Digital Accessibility and Engagement

An engaging feature image showcasing a computer screen displaying alt-text symbols, surrounded by diverse users engaging with digital content. The scene highlights inclusivity and accessibility in the digital realm, with a modern and professional style suitable for a blog post on the importance of alt-text for images.

This blog post, created by ChatGPT, supports another post of mine where I test ChatGPT and Google Gemini to see which is better at generating alt-text.


In the digital age, images are ubiquitous, serving as a powerful tool for storytelling, marketing, and communication across various online platforms. However, the visual nature of images can inadvertently exclude a significant portion of the audience, particularly individuals with visual impairments who rely on screen readers to navigate the internet. This is where alternative text, commonly known as alt-text, becomes a critical element in creating inclusive and accessible digital content. This blog post delves into the importance of using alt-text when posting images in blog posts or on social media, highlighting its impact on accessibility, search engine optimization (SEO), and user engagement.

Continue reading “The Importance of Alt-Text in Enhancing Digital Accessibility and Engagement”

Using AI Chatbots to Solve my Pixel 7 Pro Charging Problem

A Pixel 7 Pro smartphone is displayed on a wireless charging pad, not charging, indicated by a visible red cross or question mark on the screen. In the background, various AI chatbot icons are depicted in speech bubbles, each providing different pieces of advice or troubleshooting steps. The setting is tech-focused, with a lighthearted yet informative tone, highlighting the diversity of AI assistance in solving technical issues.

My Pixel 7 Pro phone decided to stop charging wirelessly. I think I’ve exhausted any logical troubleshooting ideas I have so decided to turn the problem over to some AI chatbots before I bring the phone back to Telus while it’s still under warranty.

Following is a comparison of the different AI chatbots I used. As part of my troubleshooting prompt, it was important that the solution cite any sources that is uses. My prompt was….

Continue reading “Using AI Chatbots to Solve my Pixel 7 Pro Charging Problem”

Using Python To Quickly Open Multiple Websites In Your Browser

Generated with AI ∙ January 18, 2024 at 1:10 p.m.

I had a problem where I was opening about a dozen bookmarks at the same time in Brave, and in doing so, it was giving me a “503 Service Temporarily Unavailable” error.

To fix this, I turned to Copilot Pro with this prompt:

Write a Python program that opens in my web browser (using Django?) that has a list of URLs that it opens in new tabs with a pause of 0.5 seconds between them. For the initial URLs, use Google and Microsoft.

Continue reading “Using Python To Quickly Open Multiple Websites In Your Browser”

How to Save Python Files in the Same Directory in VS Code (Update)

In a recent post I gave a programmatic solution to how to get Python to write files in the same folder as the Python file itself when working in VS Code. By default, Python programs in VS Code write files in the root folder of the project, not in the folder where the Python file is saved.

My solution involved the use of a built-in variable named “__file__“, which together with some fancy path concatenation, achieved what I was hoping for.

Continue reading “How to Save Python Files in the Same Directory in VS Code (Update)”

How to Save Python Files in the Same Directory in VS Code

Introduction

Have you ever been frustrated because your Python programs in VS Code always save in the root folder of your GitHub project, even if the program is in a subfolder? You’re not alone. I’ve encountered this problem too, and I couldn’t find a solution within VS Code’s settings.

Solution

The solution is within Python itself.

Python has a built-in variable called __file__ that refers to the path of the current Python file. By using this with os.path.join(), you can ensure that your file will be saved in the same directory as your program, not in the root folder.

The os.path.join() function in Python is a smart way to stick together pieces of a file path. It knows how to correctly use the right kind of slash (/ or \) depending on your computer’s operating system. So, if you have a folder named “folder” and a file named “file.txt”, os.path.join("folder", "file.txt") will give you the correct full path: “folder/file.txt”. It’s a handy tool for dealing with file paths in Python.

Continue reading “How to Save Python Files in the Same Directory in VS Code”

The Donkey and the Tiger

The image is a colorful, detailed illustration depicting a whimsical scene. A donkey, anthropomorphized and dressed in green traditional Indian attire, appears to be in an intense conversation with a lion, who is roaring back. A tiger, wearing a turban and blue attire, sits nearby, observing the exchange. The setting is outdoors, with lush green grass and a green curtain hanging from above. In the background, there’s a silhouette of an elaborate building structure resembling Indian architecture. The sky is bright with scattered clouds, suggesting it’s either dawn or dusk.

I’m not sure what the original source is of fable this, but in light of the political bickering that seems to be pervasive nowadays, I thought it was worth sharing here. Thanks to my friend Doug for making me aware of it on Facebook, and thanks of course to the original author.!


The donkey told the tiger, “The grass is blue.”

The tiger replied, “No, the grass is green .”

The discussion became heated, and the two decided to submit the issue to arbitration, so they approached the lion.

Continue reading “The Donkey and the Tiger”

Tech Ed AQ and ABQ Courses – Winter 2024

Course: Construction Technology: Grades 9 & 10 (Brock)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/construction-technology-grades-9-10-abq-brock-winter-online/

Course: Technological Design, Grades 9 & 10 (Brock)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/technological-design-grades-9-10-abq-brock-winter-online/

Course: Communications Technology Grades 11/12 (Queen’s)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/communications-technology-grades-1112-abq-queens-winter-online/

Course: Communications Technology Grades 9/10 (Queen’s)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/communications-technology-grades-910-abq-queens-winter-online/

Course: Computer Technology Grades 9/10 (Queen’s)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/computer-technology-grades-910-abq-queens-winter-online/

Course: Green Industries Grades 9/10 (Queen’s)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/green-industries-grades-910-abq-queens-winter-online/

Course: Green Industries, Grades 11 & 12 (Queen’s)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/green-industries-grades-11-and-12-abq-queens-winter-online/

Course: Honour Specialist Technological Education (Queen’s)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/honour-specialist-technological-education-aq-queens-winter-online/

Course: Technological Design Grades 11/12 (Queen’s)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/technological-design-grades-1112-abq-queens-winter-online/

Course: Technological Design Grades 9/10 (Queen’s)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/technological-design-grades-910-abq-queens-winter-online/

Course: ABQ Communications Technology, Grades 11 and 12 (Windsor)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/abq-communications-technology-grades-11-and-12-windsor-winter-online/

Course: ABQ Communications Technology, Grades 9 and 10 (Windsor)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/abq-communications-technology-grades-9-and-10-windsor-winter-online/

Course: ABQ Green Industries, Grades 11 and 12 (Windsor)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/abq-green-industries-grades-11-and-12-windsor-winter-online/

Course: ABQ Green Industries, Grades 9 and 10 (Windsor)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/abq-green-industries-grades-9-and-10-windsor-winter-online/

Course: AQ Honour Specialist, Technological Education (Windsor)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/aq-honour-specialist-technological-studies-windsor-winter-online/

Am I missing any? If so, please let me know in the comments below or at the site formerly know as Twitter at @pbeens or Mastodon at mstdn.ca/@pbeens. Thanks!

Computer Studies AQ and ABQ Courses – Winter 2024

Course: Computer Studies Part 1 AQ (DSBN)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/computer-studies-part-1-aq-dsbn-winter-online/

Course: Honour Specialist – Computer Studies (Western)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/honour-specialist-computer-studies-aq-western-winter-online/

Course: Intermediate Division – Computer Studies (Western)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/intermediate-division-computer-studies-abq-western-winter-online/

Course: Senior Division – Computer Studies (Western)
URL: https://www.otffeo.on.ca/en/learning/pd-calendar/events/senior-division-computer-studies-abq-western-winter-online/

Am I missing any? If so, please let me know in the comments below or at the site formerly know as Twitter at @pbeens or Mastodon at mstdn.ca/@pbeens. Thanks!