Categories
Development

Parse a CSV file in PHP

Was trying to move some data from an Outlook 2003 calendar to an older calendaring app (maybe callled Calendar Creator, but not sure).  Exporting and importing data can always be a tricky task.  Luckily this app, was able to import a CSV file, but it had very limiting fields.

So I had to parse the CSV file and combine some of the fields then save it as a new CSV file.  Luckily the fgetcsv() function came to the rescue.  This handy function allows you to parse a CSV file and it returns an array.
 

Categories
Uncategorized Video Games

Replaced Frank’s Xbox 360

Just bought a new Xbox 360 and Madden ’09 for my brother Frank.  His house was broken into a few days ago and they made off with that amongst some other things.  Probably some stupid kids from what was taken, so hopefully they’ll get caught.  It was Anthony’s idea to buy him a new system.

It’s really ashame you can’t go Charles Bronson on them and take the law into your own hands.  Well at least we were able to replace most of the stuff that was taken.

Categories
Uncategorized

Facebook

Finally just set up an account on Facebook.  Now I can finally get my hands dirty with FBML, API, Data Store, and FQL while developing for the Facebook Platform.  If I make anything cool I’ll be sure to write about it here.  Guess it’d make some sense to have an idea for and app before developing it.

Categories
Video Games

The World Ends with You

The World Ends with YouJust finished playing The World Ends with You for the DS.  It’s one of the better games I’ve played in a while.  Very original game, not just another sequel.  The production values were top notch, some of the best graphics I’ve seen on the DS and the original music was really impressive.  It’s amazing how much work is put into some handheld games now.

A lot of work was put into the story, with a lot of surprises and along the way.  It style was a bit too teenish for me at times, but I’m probably too old to still be playing these games anyway.  The dual screen battles, while confusing at first were well done.  Controlling the bottom screen with the stylus while taking control of the top screen using the directional pad was a really slick idea.

Definitely one of the better RPG’s I’ve played in a long time.  Very refreshing to play something so new and original, instead of another Final Fantasy RPG (though they are usually great games).

 

Categories
Development

Jungle Disk

Just downloaded Jungle Disk to help take care of my data storage.  It uses the Amazon S3 web service to backup and store files.  I already had an S3 account so it only took me a minute or so to setup the program to automate backups of my data.  

Currently I’ve been backing up my data to an external hard drive, but having my backup in the same room as my computer isn’t exactly the greatest model for protecting data.  And the S3 cloud computing model is great for me.  You only pay based on how much space you’re using and how much data you’re moving a month.  So it winds up being very affordable for me.

My initial backup on one of my computers should take about 3 days, but after that incremental backups shouldn’t take too long at all.  This seems very very easy thus far, and I think it’s a great solution to online storage. 

Categories
Movies

The Dark Knight

The Dark KnightSaw The Dark Knight the other day with Wes, Jared and Chris on the boardwalk in Ocean City.  Haven’t seen a movie on the boardwalk in years.  The theatre was pretty lousy inside, but it was cool to be packed in there and reminded me of all the movies I’d seen on the boardwalk growing up.

While walking there we were the witness to a truly classic event.  Chris was delighted to see some money poking up from under the boards.  While he eagerly reached down to pick up this monetary gift, so it vanished right before he could get his hands on it.  Wow, he’d fallen for one of the oldest of boardwalk pranks.  It was great, I couldn’t stop laughing that he fell for it and I’m sure those kids under the boardwalk with the money have quite a tale to tell when they go back to school in a few weeks.

I thought the movie was really good.  Usually I’ll go see a comic based movie just because I used to be so into comics.  And I end of liking them just because I’m so familiar with the characters and stories.  But this was a good movie even if Batman and the Joker weren’t in it.  

The Joker really stole the show.  He was dark and twisted, yet comical at the same time.  He really made the movie.  I wasn’t expecting the whole Two-Face story, so that was a cool surprise too.  Very good movie, go see it if you haven’t already.