Blog

Texas

Or, an unscenic visit to a conference as told through a short series of photos only tangentially related to astronomy.

Adventures of an Amateur Board Game Developer - v0.3.0

As an avid programmer and board game player, I heartily enjoy Robo-Rally. However, I don’t think it is complicated enough. So this series of blog-posts will chronicle my attempts to add Lightbot inspired elements to Robo-Rally. The last post can be found here. The Github repository for v0.3.0 can be viewed here.

Adventures of an Amateur Board Game Developer - v0.2.0

As an avid programmer and board game player, I heartily enjoy Robo-Rally. However, I don’t think it is complicated enough. So this series of blog-posts will chronicle my attempts to add Lightbot inspired elements to Robo-Rally. The last post can be found here. The Github repository for v0.2.0 can be viewed here.

Adventures of an Amateur Board Game Developer - v0.1.0

As an avid programmer and board game player, I heartily enjoy Robo-Rally. However, I don’t think it is complicated enough. So this series of blog-posts will chronicle my attempts to add Lightbot inspired elements to Robo-Rally. The last post can be found here. The Github repository for v0.1.0 can be viewed here.

Adventures of an Amateur Board Game Developer - Intro

As an avid programmer and board game player, I heartily enjoy Robo-Rally. However, I don’t think it is complicated enough. So this series of blog-posts will chronicle my attempts to add Lightbot inspired elements to Robo-Rally. Some possibilities I am considering:

Coding to Learn

In recent years, there has been a movement towards teaching kids how to code. I wholeheartedly support this movement. However, I think there are benefits that come with coding that are not being stressed highly enough. Learning to program benefits your problem solving skills and helps you in math and science.

TI Basic Modular Coding Strategies

As a programmer in a math class that requires a graphing calculator, I end up writing a lot of useful programs. But limited to a variant of BASIC, I quickly run into problems when trying to modularize and refactor my code. Here are some techniques I have developed to work around BASIC's basic limitations (ha).

The State of Our Education System

What I see every day is not a working education system. What I see are teenagers eating pot brownies in class, coming to class high and skipping class to get high. What I see are kids who no longer want to learn - have forgotten why they should learn. I see classrooms that cannot be taught to, and teachers who have given up teaching.

Soldering Complete for EDWARD v2.0

After a long day of breathing lead fumes, I had the joy of seeing 4.9v coming out of my regulated power supply circuits. One step closer to maker faire!

Processing Cover Fill Image

I am working with some of my friends to create a point-and-click choose-your-own-adventure style game using Processing. If you haven't heard of it, Processing, is a great programming environment based on Java that allows you to easily create interactive visual programs and interact with hardware such as the Arduino. One popular use is for data visualization. Anyway, I wanted full page backgrounds in the game. The function background() doesn't work - it requires that the image be the same size as the window, which can sometimes be managed, but what if I want, for example, a scrolling background? I can simply insert an image using image(img_object, xpos, ypos) , but then if the window is larger than my image, there will be blank space. image(img_object, 0, 0, width, height) is no use, it will just stretch the image. If only Processing had the equivalent of background-size: cover! So what could I do? I had to write my own:

Progressive Enhancement Javascript Utility Classes

With the last few websites I have made, I have found that getting the site to work without Javascript is generally the last thing I do. I know this is wrong, so this time I am going to correct it by planning for the absence of Javascript from the beginning. My usual form of progressive enhancement is putting special classes on the elements and then adding and removing various classes at the top of the Javascript file. For my new project I decided to improve upon the process, because my current style ends up with a lot of sloppily overriding styles, and I have having to use !important. So I have created a short snippet of Javascript that knows when to toggle classes based on another class. Here is a simple demo. When viewed with Javascript the top box is green, and when viewed without Javascript the bottom box is red.