Showing posts with label A.I.. Show all posts
Showing posts with label A.I.. Show all posts

16.11.23

What Learning to Program in the 1990s Taught Me About How Computers Work and Why Generative Artificial Intelligence Makes Sense to Me

It's circa 1991 — during my middle school years — I attended a small Catholic school where I enrolled in a computer science class. The computers ran on a slow-running operating system called MS-DOS that included a cool feature — a way to code in a basic programming language called QBasic, featuring a simple lime green blinking cursor on the screen. It ran Nibbles, a fun game to boot, but to play more advanced games, we used floppy disks, slightly larger than a postcard but smaller than a standard piece of paper, containing a metallic tape where data was stored.

Illustration of a classroom filled with old Commodore computers running on QBasic
I requested Dalle-3 to create an illustration depicting
my computer science classroom, vividly filled with
Commodore computers operating on QBasic.

The fun aspect of these classes involved playing games on these floppy disks. However, equally engaging was experimenting with QBasic. It's a simple, beginner-friendly programming language developed by Microsoft. It was quite popular in the late 1980s and early 1990s for teaching programming basics in an easy-to-understand way. QBasic is known for its simplicity, making it a good starting point for beginners in programming. We could create command lines and basic math problems. Our teacher introduced us to subroutines, enabling us to develop more complex programs like a quiz show. For instance, I programmed a game where the user would answer questions like "What is the capital of Washington State?". Correct answers led to more challenging questions, while wrong ones could end the game or reduce progress. By the way — the answer is Olympia.

Over time, I developed an advanced quiz bowl game with fifty unique questions embedded in different subroutine categories, enhancing my programming skills. My fascination with QBasic grew, prompting me to research more about it in the public library. I learned to replicate other programs, such as the classic snake game.

For illustrative purposes — here's a snippet of QBasic code.

SUB AskWashingtonCapital
    DIM answer AS STRING
    PRINT "What is the capital of Washington State? The answer is Olympia."
    INPUT answer
    IF LCASE$(answer) = "olympia" THEN
        PRINT "Correct! Now for a more difficult question."
        AskUSTerritory
    ELSE
        PRINT "That's not correct. Let's try an easier question."
        AskUSCapital
    END IF
END SUB
 


Fast forward to 2023, the world of generative AI is an evolution of my early programming experiences. When using a tool like ChatGPT, asking a question like the capital of Washington State, it processes the query using its neural network and provides an answer, similar to the if-then statements in my quiz game. However, the complexity and scale of these large language models (LLMs) are far beyond what we had back then.

These models, like ChatGPT, are based on vast amounts of data fed into them, enabling predictive text generation. Yet, unlike human cognition, these computers don't 'understand' in the same way we do. They process information based on input from human-made sources, creating an artificial neural network.

Looking ahead, these neural networks could eventually update themselves, especially if they gain access to the internet or large databases. This self-improvement capability in computer programs could lead to significant advancements in AI, potentially paving the way to what some refer to as 'the singularity.' The future of this technology is uncertain, but its potential is undoubtedly intriguing.

27.3.23

Clip Art: School-Aged Girl with Glasses and Braces

The school-aged girl with glasses and braces is studious and determined yet often self-conscious despite her intelligence and kind-hearted nature.
Source: Created by Stones of Erasmus, coloring page (with digital elements added by open-source artificial intelligence). This image is created and made with love by Stones of Erasmus (stonesoferasmus.com).

28.2.23

How I Made a Photorealistic Image Using an Artificial Intelligence Image Generator

In this post, I talk about how I create photorealistic images using artificial intelligence.
So. I did a thing. I learned how to create incredible drawings, photographs, and clip art using an artificial intelligence image generator. It's called Dall-E 2 (get, it?) and you can do some rather impressive things with it. Based on detailed command prompts like, "Draw a crayon drawing of X," or "Create a block print of Pandora opening a box only to find a delicious cupcake." The more specific the prompt, the better results.

Sometimes the results are rather stunning. I asked, "“Create a UHD 8k portrait of a silly curly headed middle school boy laughing out loud and enjoying life against the backdrop of an an-all-you-can-eat buffet.” Here is what it created:
Find a bunch of my clip art creations on TpT.
PDF Copy for Printing

1.10.22

Clip Art: A Dragon Eats Their Vegetables

A dragon eats his vegetables. Hey, even dragons eat their greens! Improbable? Probably. But this image is made with a little bit of whimsy.
Image Source: Created by Stones of Erasmus, oil crayon drawing (with digital elements added by open-source artificial intelligence). This image is created and made by love by Stones of Erasmus (stonesoferasmus.com).
Fourth, Fifth, Sixth, Seventh, Eighth, Ninth, Tenth, Eleventh, Twelfth, Higher Education, Adult Education, Homeschooler, Staff, Not Grade Specific - TeachersPayTeachers.com

30.6.22

Clip Art: Cosmic School Teacher

The cosmic school teacher inspires students by exploring boundless ideas, from black holes to the meaning of existence, opening minds to infinite possibilities. 
Source: Created by Stones of Erasmus, coloring page (with digital elements added by open-source artificial intelligence). This image is created and made with love by Stones of Erasmus (stonesoferasmus.com).