Skip to content

Posts tagged ‘programming’


400 level classes: you’re doing it wrong

This is kind of a spur of the moment post done using my phone so there may be some minor errors, and I apologies for that.  It seems like the 400 level classes I am in currently are being done wrong, ELE 470 had us doing a hello world iPhone app as the first program.  In CSC 402 I am basically able to write the programs that are due for homework using the notes.  I feel like these courses are being taught wrong because so far they are not really challenging us to think at all.  Hopefully the professors step it up so I actually have to think in these classes and not just tweak the notes to hand in my assignments.


My current project: Ka-ching

Out of the need to over complicate things I have begun a new project, it is called Ka-ching.  Ka-ching will be a way to keep track of your spare change, the initial implementation will be an interface where users can type in the change they put in their favorite storage however I will try to make an internet ready accessory which can be used to automatically have coins put in your account (aka you put the coins in the container holding it through the accessory it will automatically track it on the site).  This project is currently in pre-alpha, with my setting up a proof of concept for myself and currently expanding to be a multi-user system which is intuitive for everyone and looks good as well.  I know this will likely not get used by many (if it gets used by anyone besides myself) but it seems like a fun project.  Keep an eye on the blog for more info on the project.


Code Academy

Recently there has been a-lot of talk about code academy, and their mission, to build a better way for anyone to teach and learn others how to code.  Although I have read about them a-lot I decided today to finally give them a try, and I am glad I did.  This is partially a review, and partially a suggestions post.  Without further adieu, let’s begin. Read moreRead more


The law of the land

This week has been an interesting week in the world of technology, and the law.  As many of you may know, Sergey Aleynikov appealed the decision that his stealing code from Goldman Sac’s violated the National Stolen Property Act, and the Economic Espionage Act of 1996.  However there was one other case that was decided this week. See what happened


Programming 101 – Lesson Three: Catching exceptions and implementing loops

Introduction and recap:

To recap lesson 2, we went over how to read input from the console, and then convert it to an integer.  We then used an if statement in order to parse that input and display whether the number given is even or odd.  In this lesson I will be teaching you how to use the try/catch block in order to catch exceptions that can occur, as well as teach you how to implement loops. Let’s get started


Programming 101 – Lesson Two: Some basic IO and if statements

Almost any program that is at all advanced takes some sort of input, whether it be a file, or a command from the user.  In this lesson we will be learning how to do some basic input and output (generally called IO) as well as using if statements in order to determine if the input is what we want in order to make a more advanced programs.  If you continue with this series, IO will be quite important while working with bukkit plugins, as they have multiple parts to their IO.  In a bukkit plugin you have commands, events being triggered, and configuration files for example.  So in this project we will be asking the user to give us a value, then we will tell them if that value is even or odd. Let’s get started


Programming 101 – Lesson One: Hello World

So I got a request to do a basic programming guide.  This will be the first in a multi-part series of programming guides based off of java.  In later tutorials I will move onto how to make plugins for bukkit, however first you must know the basics of java.  This lesson will consist of setting up your development environment and writing your first program (a hello world  program).  I will be starting from the ground up, so if you have any previous programming experience a-lot of this may be review. Getting started


Code Sprint: the competition begins

Tonight starting at 8pm pacific time the second Code Sprint begins.  Code Sprint is a 48 hour programming spree where people looking to get a job in the computer science field are given problems and have 48 hours to solve them using one of the allowed languages like c, c++, c#, java, perl, php, python, etc.  Then these answers will be submitted and the companies that are participating in this will be able to asses your skill and decide whether or not to interview you.  Every programmer will always say, let my code speak for me, well here’s your chance.  Check it out here.

version control

Book Review: Version Control By Example

In August I was able to receive a copy of “Version Control By Example”, and I finally had time to read it this past week.  It is a book about version control systems (obviously), and the various generations of them (mostly focusing on generation 2 and 3), how they work, how you use them, and giving you simple, straightforward examples.  Now although the subject matter may seem boring to most, and yes I’ll admit I was skeptical at first on whether or not this would keep my attention, this book is quite entertaining.  It is by far the most entertaining computer science book that I have ever read, which is able to get the information across to the reader in a clear and concise manner. Read moreRead more


my first experience with PHP

So yesterday after myself and a few mods on the SDX Minecraft Server were complaining about the reporter plugin that we had installed, which does not allow you to report player that are logged off and stuff like that.  So then inspired I volunteered to make a better reporting system outside of minecraft/bukkit.  That is where my adventure begins.  I decided that I wanted it to be a web-based system, and it would have been just as easy (if not easier) to set up a shared google doc with the info, however I decided to go a more “fun” route and learn PHP, and mysql at the same time as making something that was needed.  About 6 hours later and an uncountable number of expletives I was able to come up with a very basic report tracking system, with logins, passwords that are hashed for obvious security reasons (though there is no real security needed for this), a way to create a report, and a way to display a report.  It is quite simple and quite likely not the best way to do this, but it was a good learning experience.  Read moreRead more