trukfixer is currently certified at Journeyer level.

Name: Brian Gustin
Member since: 2003-06-30 01:00:07
Last Login: N/A

FOAF RDF Share This



I've been a computer nut since I was 14, when my folks got me a highly coveted Commodore plus/4 computer. I immediately started writing my own programs for it (even though I had no way to save the code- no floppy drive with it) but I would spend hours writing my own code (BASIC) or writing in code from other sources (in hexadecimal, no less) Soon I had my own money and upgraded to a Commodore 128D, on which I wrote applications for my little small engine repair business.. I first owned a PC in 1996, and the learning curve was pretty flat for me, as I almost immediately picked up HTML programming. since then I've always had websites, and got into money making projects on the internet (didnt make any, but learned a lot) and then discovered a MMORPG known as Blacknova Traders. after playing this game for just 3 months, I got fed up with the bugs and exploits that defeated fair play, and decided to run the code myself on my own website.. I quickly picked up php language, and started fixing minor bugs and issues in the code, and then found NGS, and joined the team as a bug tester.. My relationship with iamsure started off a little stormy, but we've grown to be great friends, and I admire the man's tenacity and desire for "correct" coding practices.. I learn something from him every time I chat with him, and have learned more about php and servers from him than I could have learned on my own.. Now I am beginning a few projects of my own, including a custom coded affiliate software program, and a CMS for my websites, which I slowly but surely improve on... so far so good.. :)


Recent blog entries by trukfixer

Syndication: RSS 2.0

Hmm.. went to add a note at doesnt seem to have taken it.. some reason I intermittently get page not found errors over there.. anyhow, I was gonna put this under the abs() notes, may as well post here too. input always appreciated..:)

assume we take user input from a form untreated and assign it to variable $range. We want to be sure this number is a Positive Whole number, since abs() just sets a number to positive or 0, and we dont want decimals...

if(!is_numeric($range))//checks for numeric input
//sets $range to integer 1 if input is anything other than a numeric value
if(!int($range))//checks to make sure it is an integer (not decimal)
//if a decimal- sets $range to integer value
$range=abs($range);//sets value to positive whole number

for example the input "testing" would return $range =1, the input "3.578" would return value=3 If the input is null, I am havent tested to see if it gets set to 1 courtesy of int_val or not, but I believe it will be.

I'm sure there's probably a more elegant way to do this using regex, however for an apprentice php coder, this might be a little easier to understand and use.

anyhow, I've been digging around on the use of regular expressions in php, finding some interesting ideas..

personally, Im in a fairly decent mood. although Im collecting lots of scratches from my new kitten.. he's nuts. flying all over the place like a little hellraiser.. middle of night he decided to play with my hair, leaving 3 nice scratches on my forehead.. he also decided to chat with a friend who said hello early morning while I slept... if you can make sense of ".....////////////////'''''''''''']]]]]]]]]]]]hhhhhhhhhhhhhh"

let me know.. I'm not sure whether he was saying "hi" or "get lost, dude, let Bri sleep!"

kind of slow at work.. being on flat rate, my paycheck this week is gonna REALLY suck..:(

Oh well.

Hmm been a while since I posted here. an interesting weekend on the personal level, learning a lot about myself lately.. mainly my patience and tolerance....

Finished the map pagination for NGS and committed it, it works really well, and we are taking it a bit further, although I dont know how much of it will actually be implemented, because we are adding a couple new features for our game... going to have to make it modular, however.. we'll probably make the code so that we will have a drop-in module that can be coded and modified as the NGS code changes, making it easier to maintain separately.

Also continuing alpha development of the affiliate code (but I gotta get a hold of the client sooner or later, I've reached the point I cant take the code further until I know what data is required to be maintained)...

I also gotta get back to work on my CMS for my website.. I've let that lag a bit. I got to get off my butt and stop being such a procrastinator... it's just hard for me to do something a little at a time, and pick up where I left off. I like to code straight through and complete the particular section of code I had in mind, but time constraints seem to prevent that at my current coding speed.. I also spend WAYYY too much time reading forums (OPBS= Other People's B.S) and I'm too tolerant of incessant chatters on AIM.. however, I've downloaded deadAIM, which allows you to appear away to the world while chatting with someone else... Also grabbed SpyBot software and finally located that no-good piece of junk software that has been generating pop-up ads by force on my PC... hopefully my tired old system will be a little more stable now.. If I could afford a new PC, I'd get one, and switch my current machine to Linux (with a new hard drive and a memory upgrade) so I could do my development work on the linux machine... I think it would save me time.. right now I have an ancient P2-350 machine running the Linux. which originally was intended to be my development machine, but it has a bad hard drive, and I dont want to go putting a new hard drive in such an old box.

Oh well... one of these days, I'll hit the lottery (yeah right, when I'm 90 and too old to enjoy it!!)

After having a look at my activities for a while, I've realized the necessity to leave some control to others...

So.. I've learned the true meaning of Delegation of Authority.... giving up control of aspects of my website that take up time, to another person, whom I must trust to do a good job. It wasn't hard to do. the trust is already established, so now I am down to the administration of just a couple of the games I run, very little else to do now, which frees me up to concentrate on coding.

I've started digging into the WorDoG code and beginning to realize it isnt quite as good as it looked at first. many portions will have to be re-coded to suit, it appears...

I've come up with an additional bunch of ideas again.. I keep getting ideas faster than I can code them, Im going to have to learn to code faster than my ideas..

Personally, I feel a little more relaxed lately, although still overly tired and sluggish... Can't wait til my insurance takes effect so I can get a complete checkup and have my back problem looked at.

I think I am going to look into learning a bit of C++ code as well, although I don't quite know what I want to do that for, it just interests me at the moment.. Perhaps just a whim, I dont know...

Enjoyed a good laugh with iamsure over the comments by the aatrade team about cvs commits. Not to mention QA testing for a couple very interesting bugs, and finding some really weird stuff going on with sessions.. gonna be interesting to figure out what is happening there..

Whew.. what a weekend. we got NGS working , released, and a game running.. I also got back in place and the game running, but I need to learn a bit more about classes to really understand the code.. The display is buggy. Oh well.. I still have a million and one things to do and a bunch of notes to go through. Managed to get some housework done over the weekend. (didnt do anything for the holiday)

Development of the affiliate software is coming along slowly right now, need more info from the client, however I think I have enough to run a pre-alpha test on the scripts and see if I can tighten up the code a bit. we'll see.
started studying more Linux .. need to get a little more in-depth to take some things further and develop a few handy macros that I have in mind for my specific purposes... since I do quite a few script installations, I'd like to make a set of commands into a macro using just a couple of variables, which would grab and install a given tarball into a given directory on a given webfolder, with all needed permissions already set.. but that would rely heavily on the permissions being properly set in the tarball itself. Hmmm....

THE CODE: Last night, came home from work to a half dozen requests varying from minor bugs on some code I am running to a request to look at and debug a cgi script or re-code it in PHP.. gawd, sometimes I LOATHE AIM.. I wish I could set "away" selectively or put someone "on hold" until I get around to them.. if I close the window, they pop up right in the middle of what Im typing (ticks me off), and if I minimize the window, that stupid flashing alert drives me nutz.. I suppose I could disable the flashing window when minimized, but then I'd forget that they had a problem.. and p*** them off.. so many issues, trying to discuss them all, accomplished absolutely nothing last night.. zip, zilch, nada...

I got so frustrated with it all I almost deep-sixed the server and everything to do with coding.. one of the warning signs of impending burnout.. SOOOO.. I am taking a few days off, and absolutely REFUSE to discuss code or server issues, much less look into them, until this holiday weekend....

finally getting health insurance this month.. about time! maybe get something done for my back problems..

2 older entries...


trukfixer certified others as follows:

  • trukfixer certified trukfixer as Journeyer
  • trukfixer certified iamsure as Master
  • trukfixer certified zaldun as Apprentice
  • trukfixer certified jdub as Master
  • trukfixer certified polak as Journeyer
  • trukfixer certified DeepNorth as Master
  • trukfixer certified slamb as Apprentice
  • trukfixer certified ironwood as Apprentice
  • trukfixer certified mathieu as Master
  • trukfixer certified ariya as Master
  • trukfixer certified Akira as Journeyer
  • trukfixer certified criswell as Journeyer
  • trukfixer certified chipx86 as Journeyer

Others have certified trukfixer as follows:

  • trukfixer certified trukfixer as Journeyer
  • iamsure certified trukfixer as Journeyer
  • zaldun certified trukfixer as Journeyer
  • slamb certified trukfixer as Apprentice
  • ariya certified trukfixer as Journeyer
  • aratee76 certified trukfixer as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Share this page