Following the spirit of The Second Quarter of 2015: Items, I’m going to also post an infrequent summary of the projects that I have been working on and other transgressions that have occurred as of late.
McConnell Brue Macroeconomics Glossary - (School) Python - GitHub
I was getting tired of constantly searching through my textbook’s glossary for the definition of macroeconomics terms, so I found a digital version of the textbook, RegEx-ed the definitions out of it, and wrote this “Python program for defining macroeconomics terms using the McConnell Brue Economics textbook. This program allows for searching the glossary and supports fuzzy-matching (every search will return a term, whichever is the closest).”
difflib
from https://code.activestate.com/recipes/475148-fuzzy-matching-dictionary/Webassign Improved Userscript - (School) JS/CSS - GitHub
My school uses WebAssign for auto-graded assignments in many classes. Overall the app is very good, but there are certain poor design features or absences of functionality. I wrote this user script to address those.
None of the features are major additions, but they all reduce the tedious work of switching tabs or having a separate calculator, with the underlying goal of making homework as painless as possible.
Random Pi Approximation - (Math) JS - Web Lab
In my AP Statistics class we estimated the percentage of the Earth’s surface covered by water by randomly selecting points on a globe and logging if they were on land or not. This idea got me thinking about how to approximate Pi using random point selection on a square with an inscribed circle. This web demo is the resulting JS application implementing that idea.
Ranked Voting Runoff Shell - (Elections) Python - GitHub
The Youth and Government delegation associated with my school was winding its 2014-2015 year down and electing new executive board members. I’ve always disliked the paper based, simple plurality elections that we’ve held in the past; and thanks to my AP Comparative Government class I now had the knowledge of better electoral systems. I love the ideals of ranked choice voting and needed an easy way to implement it. So, in conjunction with the ease of Google Forms, I created this basic Python shell program to assist in handling the instant runoff processing of ranked choice elections.
3/8/2015 13:52:41,Candidate A,Candidate B, ...
Technical:
cmd.Cmd
shell classreddit-wallpaper - (Desktop Backgrounds) Python - GitHub
I’ve always enjoyed fresh, beautiful desktop backgrounds, and when I heard about Reddit’s curated images for Cities and Space I was excited! After stumbling upon reddit-background by Ricky Harris I finally bit the bullet and decided to write the program I always wanted. Using Ricky’s implementation for handling user config, command-line arguments, and interacting with the Reddit APIs, I adapted a program that:
I’ve set mine to randomly shuffle and rotate every 30 minutes. Now I enjoy beautiful cityscapes or lunar landscapes every time I open up a new Space/Desktop on my laptop!
Alex Wendland’s Web Lab - JS/CSS/HTML/PHP - GitHub
I like having a place to show small code snippets, so I created the “Web Lab” before I was aware of CodePen. Though I am using CodePen more and more, I still enjoy the control that I have over my own solution. I recently did a re-write of a substantial portion of it so that it could better handle complex demos, show source code, and run full screen.
The live version can be found at http://alexwendland.com/lab/
Angular JSON Tree - AngularJS - GitHub
This is one of the few projects that I was allowed to open source from my internship at FireEye. It is an AngularJS directive that facilitates the display of JSON/Object data by creating an interactive tree structure. I like this directive a lot personally because it is easily style-able, updates to changes in the JSON/Object, and can handle massive objects.
I’ve created a small WebApp using the directive in order to showcase its ability as well as provide an easy way for me to understand JSON responses from APIs and whatnot. That project is located at angular-json-tree/.
Git Remote Status All - Python - GitHub
It can be difficult to manage even a few git repositories, and once you get into the dozens it can become a nightmare: a constant worry of “Did I sync this repository?”, “What if my laptop dies, will I lose any code?“. I created this application to attempt to appease these fears. This python program helps you:
ssh
protocal in order for a seamless experienceTechnical:
argparse
modulesubprocess
to execute git
commands