I just wrote a program in Python that tells me what the day's album is and what to learn each day, then set it up to auto-run when I turn on my computer by adding a shortcut of the program to my startup folder (run/shell:startup). I've set it up to read from text files where … Continue reading 06.15.2018: Randomizer
Category: Coding
05.10.2018: One Lesson of Python
Today's soundtrack is Jelly Roll and Struggle Jennings: Waylon & Willie. This evening I'm working on the next lesson in Coding Projects in Python, "Caterpillar." This is the first lesson in the last section of the book, "Games in Python"! The game that I'll be making in this lesson is like the classic game "Snake." … Continue reading 05.10.2018: One Lesson of Python
04.24.2018: One Lesson of Python
Today's soundtrack is Cloudscape: Global Drama. I'm not actually going to be doing a lesson today, per se...I'll be trying to synthesize two Python programs . The idea that I have is to combine a Markov Chain with a chatbot. I want to try to get the chatbot to ask the user a question, add … Continue reading 04.24.2018: One Lesson of Python
04.21.2018: One Lesson of Python
Today's soundtrack is Sleep: The Sciences. Today was my best friend's wedding; I was honoured to be his best man. The wedding was beautiful. This evening, I'm continuing on to the next chapter in Coding Projects in Python, "Secret Messages." In this lesson, I'll be building a program that can both encode and decode messages. … Continue reading 04.21.2018: One Lesson of Python
04.15.2018: One Lesson of Python
Today's soundtrack is Dream Theater: Six Degrees of Inner Turbulence. This evening, I'm on to the next chapter in Coding Projects in Python, "Ask the Expert," where I'll make a program that will tell users the capital city of any country. It will also accept user inputs so that it can "learn" capitals to cities … Continue reading 04.15.2018: One Lesson of Python
04.10.2018: One Lesson of Python
Today's soundtrack is Jacob 2-2: Herbivore. I've finally made it through the tedious "Turtle Graphics" section in Coding Projects in Python; I've now made it to the "Playful Apps" section, which sounds much more interesting. I get to start using Tkinter (Python's GUI) today; I'll be building a countdown calendar that will let users know … Continue reading 04.10.2018: One Lesson of Python
04.06.2018: One Lesson of Python
Today's soundtrack is Rhye: Blood. I'm now on the next chapter of Coding Projects in Python, "Mutant Rainbow." I started by making a new file in IDLE, then imported the modules that I needed - random and turtle. Then I assigned lengths to the lines that I wanted the turtle to draw by creating a … Continue reading 04.06.2018: One Lesson of Python
03.31.2018: One Lesson of Python
Today's soundtrack is Mastodon: Emperor of Sand. I'm continuing in Coding Projects In Python; this evening I'll be working on the chapter called "Starry Night," a project which uses the Turtle module and the Random module to scatter stars across a dark sky. I started by importing turtle as "t," then made commands dictating the … Continue reading 03.31.2018: One Lesson of Python
03.29.2018: 30 Minutes of Raspberry Pi
Today's soundtrack is Michael Card: Signature Songs. This morning's project is part two of the burping button project. I now have the necessary wiring to hook up the device to the button. Hardware: I started by taking off the top of the device to access the GPIO pins, then I attached two M/F wires into … Continue reading 03.29.2018: 30 Minutes of Raspberry Pi
03.25.2018: 30 Minutes of Raspberry Pi
Today's soundtrack is Kutless: Alpha / Omega. This evening's project is part of a larger project and is a bit of a crossover; I'm going to be working in Python to write a program for the Raspberry Pi. I found a fun-sounding project for my students: make the Raspberry Pi burp when you touch a … Continue reading 03.25.2018: 30 Minutes of Raspberry Pi
03.23.2018: One Lesson of Python
Today's soundtrack is Falkenbach: Asa. This afternoon's lesson in Coding Projects in Python continues work in Turtle Graphics. This lesson is called "Kaleido-spiral"; in it, I'll be learning to tell Python how to make pre-programmed repeating shapes and patterns. I started by importing Turtle, then making the background black, setting the turtle speed to fast, … Continue reading 03.23.2018: One Lesson of Python
03.15.2018: One Lesson of Python
Today's soundtrack is Soen: Cognitive. I'm on to the "Hacks and Tweaks" section of Coding Projects in Python's "Robot Builder" chapter. The section starts by suggesting colours that Python's turtle module recognizes: lawn green, seashell, blue, purple, light blue, yellow, goldenrod, hot pink, thistle, gold, peru, forest green, maroon, navy, peach puff, misty rose, deep … Continue reading 03.15.2018: One Lesson of Python
