Welcome to Teb’s Lab, these projects are the heart of my work. I hope you’ll enjoy them. Featured Projects always come with the source code. Get it on Github.
I think Programming is a bit of a super-power. With Teb’s Lab I hope to inspire people to love software, science, and math the way I do. These projects are my attempt to share my passion with you, and hopefully teach you something along the way.
Because everything can be improved, I challenge you to fork my code and give it your own personal touch. Or, show the world what you’re working on with #SideProjects on Twitter. All my featured projects are in the spirit of learning by doing, and they are all released (without warranty of any kind) to the public domain.
Enjoy, and never stop learning.
Conway’s Game of Life
Conway’s Game of Life is a classic. Invented by John Conway in 1970, the “zero player game” is a wonderful example of emergent behavior. Although each cell follows the same simple rules, wonderful patterns emerge. As time went on, the Game was shown to be Turing Complete, meaning any program could be represented as an initial state to Conway’s Game of Life given a large enough grid. That’s incredible!
I made the original, then I had fun playing with the rules, making “Conway’s Editor”, and exploring the world of “Cellular Automata”. I hope you enjoy it.
Hash Tables and Hash Functions
Hash tables and hash functions are at the heart of computer programming. They are ubiquitous and diverse. From checksums to crypto currency and from chaining to cuckoo hashing, hash functions have earned their place in the computer science hall of fame. This repository is meant to help you learn about checksums and hash tables. Read each section, then build a series of hash functions and incorporate them into a hash table. This is an
npm package, with tests provided.
Love A Mole
Love A Mole was my submission to a homework problem given to me by Etsy. It was by far the most fun I’ve had as part of an interview. Love A Mole was a fantastic excuse to program something fun, light-hearted, and experimental. The code contains aspects of story-telling that you could never get away with in a “production” code base. The whole thing is absolutely silly, and that’s what I love about it.
Perfect Pangram Generator
The perfect pangram generator was inspired by a card game named Shh. A perfect pangram is a series of words that use every letter in the English alphabet exactly once. The code could be made much faster, but thinking about how to generate perfect pangrams was a very fun mental exercise. I think I have over engineered both of the solutions, but cest la vie!
The code is quite slow, and I know it can be made faster, fork the code or start your own and prove me right!