Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Wednesday, May 01, 2024

Mischievous Engineers

Easter Eggs aren’t just for kids, and they aren’t found only on Easter – but they’re always hard to find and never fail to spark joy. 

Hiding “Easter Eggs” in software began in earnest in the 1970’s and continued through the Atari era into the modern age of computing. Engineers with too much time on their hands would deliberately program all kinds of surprises (little games, silly graphics and animations, text info, etc.) into their software projects.

Although Easter Egg grinches like Steve Jobs and Bill Gates banned the practice within their own companies, comedic Google engineers have managed to continue the tradition.

A Business Insider article gives a partial rundown of hidden tricks and treats to be found within the Google search bar. Give some of these a try! 

Easter Eggs provide a window into the minds of bored code monkeys, and furnish fatigued students and professionals a way to punctuate their day with diverting amusement.

A Wikipedia entry provides historical context and further info.

-----


Copyright © 2006-present: Christopher R. Borland. All rights reserved.

Tuesday, November 01, 2022

Wolfram Alpha

Stephen Wolfram and his engineers, makers of Mathematica, are at it again.

Wolfram Alpha is Stephen Wolfram's groundbreaking computational knowledge engine, one of the earliest such applications online. 

Type a question into the calculation field, and Wolfram will input the question and output the answer on-screen.: "How many goats in Japan in 1986?" Alpha knows the answer (~47,500).

Input z=x^2+y^2, and Alpha will output a 3-D graph along with detailed information about the relation.

Also of interest is Wolfram Mathematical Functions, the largest repository of mathematical functions ever to exist. 

Math fans, especially, will find Wolfram Alpha a fun site to peruse.

-----


Copyright © 2006-present: Christopher R. Borland. All rights reserved.

Thursday, September 01, 2022

Gödel, Escher, Bach

Douglas Hofstadter's mind-bending tome about self-reference and meta-thinking published in 1979 is a classic in recreational mathematics. Getting all the way through it is a tantalizing, formidable intellectual challenge.

Self-reference applies to ideas that loops inward (outward?) on themselves. 

Some examples:

This sentence is false. Seeing one's own eyeballs (without using a mirror). Brushing the bristles of a brush with that same brush.

Hofstadter compares the works of three geniuses: Kurt Godel in the domain of pure mathematics, M. C. Escher in the world of fine art, and Johann Sebastian Bach in the realm of western classical music. The similarities are, indeed, surprising and impressive.

All three masters dealt with the concept of circular self-reference, but in different ways. Godel proved the illogical nature of mathematics (which is, itself, based on logic); Escher was famous for stairs that climbed upward to the bottom of the stairs and identical tessellating foreground and background images that seem, somehow, to "cause" each other; Bach would take a short series of notes, and then invert the same motif, play it backwards, string these versions together, etc.

The book is highly intriguing, almost addictive. But it isn't for the faint-of-heart or faint-of-mind. I tried to finish it. Wasn't able to. Made me dizzy. Read it at your own risk.

Buy GEB here.

-----


Copyright © 2006-present: Christopher R. Borland. All rights reserved.

Tuesday, May 01, 2018

The Game of LIFE

John Conway's 1970 coding masterpiece mimics life's basic processes in an utterly simple yet strikingly lifelike way. 

Conway's Game of Life quickly became a sensation, inspiring a cult following among mathematicians and programmers. 

Seed shapes are born, live, reproduce, and die. In the process, fascinating animated patterns and "social" interactions occur on the computer screen. Beginning with a seed created by the user, a mesmerizing drama unfolds. Sometimes these living worlds expire in a moments, seconds, or minutes; others continue for eternity.

Research into Conway's game is ongoing and extensive. Could life itself be this simple? Why not?

Create virtual life! Experiment with The Game of Life here. FAQ here. Stanford discussion here. LifeWiki:About here.

-----


Copyright © 2006-present: Christopher R. Borland. All rights reserved.

Thursday, September 01, 2016

Scratch Coding Resources



Scratch is a fantastic way to learn algorithmic thinking and develop basic coding and program design skills.

Simple enough for young children to master (rudimentary reading skills are required), a Visual Programming Language (VPL) like Scratch is all you need at first and will take early learners a long way before they'll want or need to start writing their own code in a traditional language like Python or Java.

Books and online resources abound for those interested in using Scratch to get started on the path toward learning to code. Below are some I recommend: