Top Rope Suplex

Learning Life & Programming

XNA: For Beginners or No?

Dennis, the senior software engineer for Cecropia, makes any interesting analysis of the XNA tools on his blog.

My young programmer mind boils down his post to two things:

1)  He doesn’t like that XNA is a propritary API

2)  He doesn’t like that you have to pay to run the applications on a 360

I understand the concerns about XNA being proprietary.  Me learning XNA is not going to help me learn a whole lot about C++ in order to later code for Nintendo’s systems.  However, me learning XNA is, in fact, helping me learn C# and, to an extent, JAVA.  Giving a geek the opportunity to code for a gaming system, no matter which one, is motivation enough to learn.

Read more »

December 12, 2006 Posted by Aaron | C#, JAVA, Programming & Gaming, XNA | | 3 Comments

Java Path

c:/program files/java

sigh – why must i make the simple things so complicated…

on the good news, during lunch today i was able to connect to the mysql server via code and do a system.out.println of the attributes within… go me!

December 6, 2006 Posted by Aaron | JAVA | | No Comments Yet

Barrier to Entry (Programming Annoyance #1)

The problem with learning to program isn’t that the actual programming is hard.  That part’s easy; logical and abstract.  As you code more, you learn new tricks and new vocabulary.

The problem is the barrier to entry.  It’s not just one thing you have to learn, it’s 25 different things.  You have to decide what language to focus in on, and what IDE to use.  You have to know EXACTLY where to place files, you have to know what services to download and install, and what plug-ins are worth your time.

I hear and read rumors of things like ANT and Hibernate… but I have no clue if I’ll ever get to them.  I’m still trying to learn how to get my system set up right.

This is one of the major differences between JAVA and C#.  Microsoft holds your hand almost too much, while JAVA is a wide desert, with each piece of sand representing some other source of information.  I applaud you Microsoft, for making such solid product that try their best to break down the barrier of entry.

Tonight, however, I was back in JAVA because, frankly, I know how to do a little more in it right now and have a simple project I want in usable form by Monday.  So I’m working away, getting my gui set up and a little ActionListener here and so on, when I get to the point where I need data.  A database.

 So here’s the first of non-coding language things I need to learn… how to set up the database.  Not to big of a problem, get it done (and done correctly).  Well, I want to hit the database with my app from across the series of tubes we call the Internet, so then I have to go set up a dynamic dns service.

So I get out the handy dandy MySQL Cookbook, and run some test code to make sure everythings working right… and it is on my Mac (where I have the database set up).  I head out to the living room to spend some time with my wife while testing my code on my PC laptop to make sure I can hit the database…. and no success.

 Now, I know everything is working correctly becuase I can use a MySQL Query browser to hit the database, so that’s fine.  So how in the world can code that worked on one computer in Eclipse NOT work in another computer in Eclipse.  I struggle with this idea for over and hour, trying so many changes to the code, when finally I realize the problem.

 I have to download the MySQL J/Connector and put it in my javapath.

So, now I’m left with the pressing quesiton before I get some sleep…

 How do I find the javapath on a Windows machine..?

December 6, 2006 Posted by Aaron | C#, JAVA | | No Comments Yet

Been a Long Time…




Mmm… Wii

Originally uploaded by aaronlinne.

So, it’s been a while since I’ve gotten a gumption to blog. Why is this? Because it seems I’m still trying to figure out what I want to be when I grow up.

Recently, I was presented with a couple of different oppertunities at my job… all in different fields I went for them all… and, well, none have panned out just yet. Do what disiciplines did I try my hand at?

1) Marketing & Metrics
2) Programming
3) Motion Media/User Interface (making DVD menus, Flash interactive menus)

And, of course, I’m currently working in the area of Customer Service. So, one might ask… how does that any of that relate?

For me… they all make perfect sense and go hand in hand together, each a part of me and the things I can do. And, they’re all skills I have, and want to continue to develop in myself. So what kind of job am I setting myself up for? What direction am I going in?

At this point, I’d have to say it’s the area of interactive media. Or, as the hipsters call it, “video games”.

To me, it’s not just a chance to make a buck or pretty graphics. It’s about telling a story. It’s about having new experiences. It’s about little victories and it’s about community. It’s about taking someone to another world, and letting them live there for a while. And once they’re in that world? Then maybe everything’s ok for a little while. And maybe, just maybe, life can be good.

So, amidst being in the throws of once of the best story-telling games ever, Zelda: Twilight Princess, I find myself inching back toward XNA & C#, away from JAVA. I hate that I keep bouncing back and forth between languages… but I’m trying to find what I want to do, what language makes sense to me.

Curse you Microsoft for making the Visual Studio products SO amazingly good. Curse you for making available so many programmer tools and great tuitorials. I’m trying hard to learn JAVA, but you and your C# ways just keep pulling me back.

So here’s to going back to C#, back to tuitorials, and back to the Wii and Twilight Princess.

Sigh – I need more time in life.

November 21, 2006 Posted by Aaron | C#, JAVA, Programming & Gaming, Wii, XNA | | 2 Comments

And, back to JAVA…

So tonight I pulled myself away from C# and stepped back in to the JAVA world. As I said previously, I’m actually trying to learn JAVA for business reasons and such. Along the way, I’ve been trying to learn MySQL as well. Well, tonight – thanks largely in part to my fooling around with the XNA tools, it all kind of clicked for me.

I sat down and wrote my first functional JAVA class (and test class) tonight in all of about 20 minutes. It’s nothing fancy, just a class that accepts some specific arguements and then writes them to a database. Really, it’s nothing big… but it’s my first. Wrapping my head around the object oriented functions on C# and the enjoyment of it through making a “game” really helped me grasp how this is all supposed to work. This is the first step for both my personal online media database and the mini-project I’m doing at work.

I’ve spent 2-3 months pouring over books and code, trying to sort things out. Between the beginnings of my XNA venture and now getting a JAVA class to write to a database… I feel like I’m starting to see some fruits from my labor. It feels good. Real good.

September 5, 2006 Posted by Aaron | JAVA, Media Database | | 1 Comment

Or… a different first project

So I might have been offered a JAVA Web App project today at work. The boss has to make sure everything gets approved first (since being a programmer isn’t actually in my job description), but he thinks he’s going to get be paired with another programmer to help me get through this first app.

It’s really nothing too complicated (just a database for some product numbers we have to assign) but it’s a touch beyond my reach (still haven’t really messed with JSPs… read about them, haven’t done anythng with them). This is exciting to me, even though most developer would find it an annoying project. Woohoo! My first paying (sort of) gig!

August 29, 2006 Posted by Aaron | JAVA, Programming & Gaming | | No Comments Yet

The First Project: Media Database

So, the first full project I’m attempting is a media database for audio recordings. The end goals are:

1) Add Media Records to database, including file upload using Amazon S3
2) Delete Media Records from database, including deleting the file
3) Ability to modify media record
4) Enable end-user to sort media files by people involved, date, and subject matter from website
5) Enable end-user to download media files from website
6) Create RSS of newly add media files
7) Create a Javascript to display the most recently uploaded media

That’s… a lot. And it’s intimidating. So, my plan is to break it down into 4 major steps:

1) Develop a Java program that can add records and display records
2) Enhance Java program to interact with a database, including file uploads to Amazon S3
3) Develop html-interface to Java progam
4) Enhance html-interface for RSS and Javascript

This is a lot for me to do; remember… this is my first project. I’ve not really done anything on my own before. I’m not giving myself an hard dates yet, except that I want to be done with step 3 by January 1st. To be honest… I don’t know if that’s being overzealous or lazy. But between now and then I’ll have also completed two MBA courses, published 2-3 comic books, and made at least 3 freelance videoes (that I already have lined up). So… it’s going to be a long 4 months!

August 25, 2006 Posted by Aaron | JAVA, Media Database | | No Comments Yet

The Story So Far…

I do things.

In the past, I was a video producer by trade. I have designed web sites and wrtitten comics. I like to learn; I’m 12 hours in on an MBA.

And then, earlier this year, I heard that Microsoft was going to release a set of tools called XNA. This set of tools was going to make use of the C# programming language to write video games. I decided, fairly qucikly, that I wanted to do this, too. I wanted to learn this, too.

So I stumbled upon a Microsoft contest – “Upgrade Your Game”. Basically… it was tutorials on how to write games in C#. And it was way too complicated for me. So I went and found other tutorials, and began trying to learn C#.

In these tutorials, we were supposed to learn how to write a C# RSS feed reader. I found that I was loving what I was doing. I offhandedly mentioned it to my boss… and found out that my place of employment was actually a JAVA house, and should learn JAVA instead. So I stopped, borrowed a book called “Head First Java,” and continued on.

In the past 8 weeks or so, I’ve now read the majority of:

Head First JAVA
Head First JSPs & Servlets
Database Design for Mere Mortals
Learning SQL
Sams Teach Yourself JAVA in 21 Days

and pieces of:

Head First Design Patterns
Java 2 Primer Plus
MySQL Cookbook
Thinking in JAVA

So I’m learning… learning the hard way. And the kink in all this knowledge?

On August 29th, a beta version of the XNA tools will be made available. So now, my mind is going to be so tempted to flow back and forth between learning JAVA for web development, and C# for game development.

So this blog is here for me to post my thoughts on the programming and learning process. Sure, I’ve read a few books… but I’ve still barely put my toe in the tub of water. I’ve yet to write a program or class that’s not in a book. I’ve not designed anything or made any startling discoveries.

I know this; I’ve enjoyed learning programming. Now if I can just find the time to do it.

August 24, 2006 Posted by Aaron | C#, JAVA, Programming & Gaming, XNA | | No Comments Yet