Happy Gilmore Programmer?

08.06.2013

For years I've thought of myself as a PHP programmer. Except for my first year as a professional programmer my job has been to make web-based applications. Whenever possible, I've done that using PHP. I like PHP. I know how it works. If there's something a web page needs to realistically do, I can make it happen the vast majority of the time armed with PHP (and a healthy dose of the Google).

My day-to-day job doesn't let me use PHP. I have to use Microsoft .NET. I don't like .NET. I tend to think it's stupid, as I have to go through lots of hoops to do what I consider simple things in PHP. I blame that on .NET coming from a Windows application framework - it gives you the Windows application approach to web applications. Since I've never made Windows applications, I think that's stupid.

While thinking it's stupid, I came to a realization. I'm not really a PHP programmer. Well, I am, but not enough to call myself one. Since starting my first programming job in 1995, I've programmed regularly in 4 languages:

Looking at my career, I've spent most of my time as a .NET developer, so I should call myself a .NET developer. But I don't. Maybe I should say "but I won't."

Over the years I've avoiding embracing .NET for all sorts of reasons. Updates to either the .NET framework or the browser you use may break something that's been working just fine. There may be a fix you can implement, but it's inevitably a pain in the ass. Having the ability to write a piece of code that will work as either a web application OR a Windows application should be a great benefit, but I've yet to see it actually implemented past some database query libraries.

The main thing that keeps me from claiming I'm a .NET developer is because I just won't take the time to keep my nose to the grindstone and learn all of the little intricacies that make it work properly, to where it will easily do what I want it to do (like I am with PHP). Why?

  1. With the next update of the .NET framework, how those little things work will probably change.
  2. It's still a stupid way to make a web page

For the past 4 years at work, I haven't written any code from scratch. I've only modified existing code to either act a little different than originally intended, or more often than not make something work correctly that was either overlooked earlier in testing or broken by some software update. I'm not complaining (really, I'm not) - I know how a web page actually functions so I'm pretty good at tracking down some odd way .NET code is being implemented that doesn't come out right in the browser. Thankfully that's where learning during the infancy of the internet has paid off. I never thought being limited to using <table> tags to design a layout could be so beneficial later on, but knowing how HTML tags are actually parsed and rendered has become my bread and butter.

When I was working at Westar/QinetiQ, the Ala. Correctional Officer Training Academy wanted an application to print tests for the students. The application they had was an out of date DOS program which wouldn't let them edit any of the [no telling how man years old] questions. They initially wanted a program they could install on a computer which would print out what they wanted. I talked them into a web application instead, using PHP because it wouldn't make any difference to them, plus I would know how it all worked. I made a little self contained web site that I could install on an individual computer thanks to an open source webserver that could be run locally and not interfere with any other programs. There was a database to hold all the info (included with the webserver). Once of the drawbacks of the DOS program was that it only printed the tests directly (so you needed the proper printer drivers installed in DOS). I would make a version that would let them save a MS Word document, a PDF, and a plain text file, all of which could be saved off and printed wherever.

I thought it funny that while making the above application, Microsoft changed the format of their Word documents. When I started, you could make a Word document by using what was essentially modified XML tags. By the time I finished, the Word format was a compressed XML/almost web page. Luckily, since I was making everything by hand and not using any 3rd party libraries that might be updated/overwritten, the Word format I used would still work just fine once I was finished. The same goes for the PDF version I created - I made the PDF without using any tools that convert an existing format, I just used a small library that wrote some PDF "tags". Nothing to accidentally get updated or overwritten.

I finished that little test maker over 5 years ago. It works just the same today as it did when I finished it, and nobody has had to touch a bit of code. That's why I don't want to be a .NET programmer.

Over the past cople of years I haven't programmed in PHP much. I've been trying to not program during my away-from-work time as much as I used to. I was starting to feel burned out. Now I'm starting to notice it takes me a little while to ramp up to speed when I want to whip out a quick little PHP page. I feel like I'm on hte lower end of "average PHP programmer".

But give me a week or two, and I'll have a web page spitting out well formatted flawless PDFs in no time.


programming/interweb

Token Redux

08.04.2013

2 months ago I ordered some customized tokens for Zombie Mall. Unfortunately, I was disappointed once I received my order. The tokens were double sided, and the front and backs didn't match up (worse than when I initially tried). The cut lines went outside the bleed area to where the border and part of the next token was often on a token. There were valid reasons for this from the guy I ordered them from, but I would have expected to hear the reasons before he shipped the order to give me a chance to correct any of the problems instead of included in a note with my order.

The tokens weren't un-usable, they just weren't as nice as I had hoped. They also didn't feel worth the $40 getting them made + shipping + waiting 2 weeks between order submittable and shipping. I bagged up the tokens and put them in the box with the rest of the game components that have come to make up my version of the game.

This weekend I decided to try my hand at making tokens again. Originally I just applied labels to both sides of cardstock (110lb). This worked, but it didn't have the nice weight most people are used to when they pick up a game token. I'd gotten some heavier weight chipboard (just thickly layered cardboard) which had a good weight, so I would try using it instead of the cardstock. After surfing YouTube for a couple of different examples of how people make their own tokens, I had a plan!

Step 1 would be how to properly print the tokens. The chipboard was 6"x6", so I would use 1 sheet of label paper and fold it to cover the both sides of the chipboard (before I had tried to line up 2 sheets between the front and back). When laying out the tokens, I increased the bleed area and gave each token a thicker black border.

After getting the label(s) on the chipboard, Step 2 was to score cut lines with my rotary trimmer. The reason I score the lines is because the trimmer blade isn't deep enough to cut through the chipboard. One of the YouTube tutorials showed a cutter that can handle chipboard, but I started this little project on Friday and had to make do with what I had/could get locally. Plus, $225 for a cutter is one of those things that needs a little thinking about before splurging.

Step 3 required a trip to Sears before getting integrated into my process. To actually cut the chipboard (using those scored cut lines from the previous step), my best option was going to be a Craftsman Edge Utility Cutter. Basically this is a large razor blade that cuts like a pair of scissors. The blade fits into the score lines nice and smooth!

After cutting out the tokens, Step 4 was to pretty things up with a black Sharpie. One of the tricks of papercraft modeling is to go back over cut/fold lines with a black marker to cover up white paper that gets exposed. Since I was using white chipboard, but the tokens had black borders, marking up the edges of the chipboard would make things look better. In addition, for those times when my black bleed area didn't match up between the front and back, I could use the marker to fill in a little extra border.

Once it was over with Saturday night, I had re-made 328 tokens. I'm not sure how long all of this took, but based on the streaming videos I watched from Amazon Saturday I spent at least 5 hours on Saturday making the bulk of the tokens. I had other plans for my Saturday, but for me this turned out to be a nice way to spend the day. Working on game rules & components has become my odd method of relaxation over the past year.


boardgames hobbies zombie mall

Zombie Mall Expansion 1

07.28.2013

2 months after releasing Zombie Mall onto the world, I've managed to finish what is really the first draft of the rules allowing people to play as zombies. This was something that was originally intended to be in the basic game, in fact it was one of the main ideas that once a person died, they would come back as a zombie. For better or worse, I learned while developing the rules that I really needed to get the basic "how to play as a human" working before I added in "how to play as a zombie".

The zombie play has complicated the rules a little, but I think having as solid a set of base rules to work from as I did with the Zombie Mall rules I tried to limit changes to how play existed and focus on the best way to tweak adding on what was needed for zombies. I didn't cut as many corners as I probably would have if I had just tried to do everything in the beginning. Now, of course, I see how going back and re-writing the basic rules to include the zombie player from the start would be easier for the players learning, as well as keep from saying one thing in the early set of rules and adding in an "oh yeah, and" later on. But I don't want to do that right now. I'm ready for another little break from zombies.

This leads me to my next project that I've been working on, albeit slowly, for the past month or so. I've gotten more and more interested in Dust Warfare (the game that I got all the models for and never originally intended to play). There are reference cards available online for all of the units. These are nicely done cards, but I would like something a little more customizable - mainly I want to build my forces and have all of the stats on 1 handy piece of paper. With that in mind, I've been going through the rules collecting all the little bits of data I can think that I might need in order to (eventually) populate a database that some magical web app I'll whip up can reference and then spit out what I want. To my surprise, it's actually been a good way to learn some of the rules along with the mechanics of the game. Nerd fun at its finest!


boardgames hobbies zombie mall

See Tango Locked Up in Daylight

07.23.2013

It's been a slow new release DVD month. Traditionally this is when I go back and pick up movies I passed on when they first came out, or I find some weird theme of oldies that I used to have on VHS that I realize I suddenly can't live without. Thankfully, Amazon Streaming video and Netflix have taken care of most of that. Still, I do manage to get on my kicks.

The other day I was watching Kurt Russell in Soldier via Amazon (although I've got a DVD not 4 feet from where I was streaming the video). I like Kurt Russell as an action star, especially in Big Trouble in Little China, but that's not relevant. Thanks to my browsing habits, the internet thinks I like Sylvester Stallone. That's ok, I do like him. The internet is always trying to get me to watch Stallone movies. I've been seeing more ads for Expendables 2 since it's now available via streaming. I remembered reading how Kurt Russell was offered a part (in either Expendables 1 or 2) but he turned it down as he "was not looking for ensemble roles". I guess old Kurt doesn't realize his demographic anymore?

The above line of thought took me to Kurt Russell and Sylvester Stallone in Tango & Cash. I remember the first half of the movie was pretty good, but that's about it. Hmmm, after looking it seems I didn't have that in my DVD collection, and for the price to rent a streaming version I would do just as well to buy the silly thing. So I went ot Amazon and bought it, which gave Amazon the opportunity to suggest other Stallone movies that I may have enjoyed in the past but would currently rather buy than rent. Damn you for knowing me so well, Amazon!

When it was over, I had 4 Stallone DVDs from the late 80's to early 2000's on the way. One of them, Eye See You, I have no idea about. It was one I long ago put on my "skip it now, look at it later" list. 11 years later, I'm finally taking care of that.


movies/tv/dvd rambling random

WWII Knife

07.22.2013

Above is my grandfather's world war 2 era US Navy issued knife. I first saw it a couple of years ago - I can't remember why but he brought it out to show me. He told me how he got it in the navy (hence the "USN" at the hilt) and had actually forgotten about it for a long time until he found it one day in a tool box. The knife has seen a lot of use, and according to my grandmother it saw a lot of action against apples and peaches. Especially peaches.

I'm not sure why we were fighting the apples and peaches in WW2, but my grandfather enjoys eating that enemy :)


random

Blog Archive

As always, correct spelling is optional in any blog entry. Keep in mind that any links more than a year old may not be active, especially the ones pointing back to Russellmania (I like to move things around!).

Tags have been added to posts back to 2005. There may be an occasional old blog that gets added to the tag list, but in reality what could be noteworthy from that far back?

Blog Tags

3D Printer (26)
4ground (32)
4ground-mall (40)
action figures/toys (10)
airbrush (7)
Aliens (1)
Amazon (12)
antenocitisworkshop (11)
Atlas O Gauge (2)
Batman Miniature Game (2)
Battletech (1)
belt sander (12)
Blood Bowl (4)
boardgames (77)
books/comics (19)
computers hate me (5)
conveyances (15)
diet (53)
dreams (7)
fallout (1)
Foundry (3)
Gale Force Nine (1)
game dev (22)
gaming miniatures (227)
gaslands (10)
gastric sleeve (34)
Green Stuff World (2)
Hasslefree (9)
Hero Forge (1)
hobbies (101)
Jailbirds Minis (1)
kevin smith (1)
Knight Models (2)
malifaux (2)
Marvel Crisis Protocol (2)
mckays (1)
models (9)
mom (32)
moon light (5)
movies/tv/dvd (60)
ninja division (1)
Pathfinder Deepcuts (1)
pilonidal cyst (5)
plastcraft (2)
programming/interweb (41)
rambling (60)
random (365)
random maintenance (3)
Reaper Bones (3)
reaper chronoscape (32)
renovation/remodelling (24)
road trip (26)
salesforce (1)
sarissa precission (2)
scenery (16)
studio miniatures (3)
ttcombat (12)
video games (51)
walking dead (36)
wargame foundry (3)
work (6)
wrestling (45)
zombicide (1)
Zombicide Invader (19)
zombie mall (23)