Archive for the ‘Rants’ Category

To the woman who question my automotive cornering ethics & capabilities at Sampson & Montgomery, you’re lucky there wasn’t a cop around. In the grand state of Ohio, as well as the rest of the United States, we do something called “driving on the right hand side of the road.” Now, I know that doesn’t mean a lot to someone with bug-eye sunglasses and severe learning disorder such as yourself, but to the rest of us, that concept hopefully prevents morons from driving down the wrong side of the road. That sort of thing generally causes loud sounds, blood, and paperwork … and no one likes paperwork.

Now since we have this fun “driving on the right hand side of the road” concept, the really smart people came up with the idea that people who are turning right also have something called the “right of way.” Impressively enough, it means just what it sounds like … the person turning right has priority in completing their turn (I’m sure you understand this since you’ve probably shoved your way to the front of the fat-sack line numerous times). What this also means is that if someone is turning right at an intersection before an obviously incompetent person such as yourself is attempting to turn left at the same intersection … the ‘left-turner’ must yield the right of way, something you obviously didn’t want to do … yet were “forced” into doing by the observation that I “might” have splatted you.

So for future reference you bag of vaginal dirt, yield the right of way unless you want to deal with loud sounds, blood, paperwork, and you loosing the license you probably don’t have anyway.

Sincerely,
Wyatt

PS: Don’t look at me, you’re ugly. Skank.

The grand-fricken-pubah’s over at Bungie can kiss my ass! I pay $50 bucks a year to use the Xbox live service, I’ll be damned if I’m going to pay $4 for 2 more crappy ass maps so I can play Halo 2 online. I could play it online before, and I should still be able to play it online now. You can go straight to hell and when you get there, I’m going to make damn sure I’m the guy lashing your pasty white ass for this load of horse crap. Having “Premium” content for players to play in “Premium” areas is one thing; however, bending the average Halo player over, forcing them to purchase to play the standard array of services, and making them take it up the ass so you can drive two Porsches instead of one is crap of the highest degree.

Go F*ck yourselves you ass-blasting mongoloids . I hope to hell someone backs over your shit in the drive way when your loser lovers toss it out the second story window after they caught you taking it in the ear from the cat. When they do, call me, I’ll come over and piss on it and take a tire-iron to your knee.

Recently, Sara picked up “7 Habits of Highly Effective People” by Steven Covey. If you’ve never read it, go down to your local used book store and pickup a copy. It’s worth it in ways I can’t begin to touch here; however, it’s reminded me that maybe I need to go back to the 7th habit, “Sharpening the Saw.”

I’ve been looking at my skills set over the few short years that I’ve been working and I’d have to say, I think I’ve done a relatively good job at broadening my skills; however, I don’t really feel that I’ve become anything close to a subject matter expert. Still, remembering Henry Ford’s quote on being an expert:

None of our men are “experts.” We have most unfortunately found it necessary to get rid of a man as soon as he thinks himself an expert–because no one ever considers himself expert if he really knows his job. A man who knows a job sees so much more to be done than he has done, that he is always pressing forward and never gives up an instant of thought to how good and how efficient he is. Thinking always ahead, thinking always of trying to do more, brings a state of mind in which nothing is impossible. The moment one gets into the “expert” state of mind a great number of things become impossible.

Continue reading ‘7 Habits and Tiny Rant’ »

Man … it seems like the more of these I post, the more morons actually send me emails asking if I’ll help them out. You’d think that whole part about reporting people to the FBI and letting the Military Commissions Act ruin their lives would bother most people … but not these brave sacks of stupid! Anyway, on to letters.
Continue reading ‘More Letters from Idiots’ »

You know, maybe I should start playing World of War Craft. It’s probably better than running a business. That way, I’d at least be doing something fun at 3 AM instead of slaving away for nothing.

That’s right! I finally sold the Ninja. I sold it to some guy that apparently has a 1100 GSX that has nitrous on it and he wanted it for something smaller to cruise around. He came with a trailer and asked if he could hear it run. Sure enough, the silly thing fired up without issue after a jump and the guy said he’d take it. And with that … the Ninja is gone from my sights!

As soon as we get some sun shine, I’ll get some nice pretty pictures of the replacement :cool:

CSS is pretty cool; however, I think I’m becoming addicted to using it. It appeals to me in that love hate relationship. I love that I can perfect the look of an element … but I hate that I can perfect the look of an element. I continually find myself trying to perfect way to much. For example, right now I’m getting addicted to styling the borders on buttons, inputs, and textarea elements. I really think the defaults are possibly the crappiest looking things in the world.

For the buttons, I’m really like the flat look. I’m not really sure why but I think it gives a nice simplistic look. Though I’m conflicted, because I really like the slightly raised look that changes to a inverted gradient to give it the depressed look when you click it; hence, my addiction issue. I can never really determine what I like. Now I’m sure that most user interface experts would say take the look that fits the rest of the application, but then you come to the issue of what do you decide when that’s one of the first components you’re designing. I think that even though I really like the flat look for buttons, I’m going to reserve that for more of menu types of things, not actually user input buttons.

Now, for the textarea and input stuff, I’m really liking the solid thin border. I think it really gives a good definition to the area especially considering the default is the indentation that only hits the top and left sides. While that’s good if you put the input/textarea on a different background, it’s terrible if the backgrounds match. After staring at it for about 2 hours, your eyes have a really hard time discerning where the element really is on the page … something really important when you are trying to layout the final design. So adding a little darker background that’s about 4-6 shades off from blending and that thing border I love, it really makes things look slick. Yeah, I’m addicted to that :-) .

Though, you probably don’t need to hear this from me since most anyone that would read this article would know more about what users consider appealing in a user interface. Though, I really think that the usability and designers are a little over zealous with designs needing to appeal to the lowest common brain cell. I admit that I appreciate a guided interface; however, I don’t need every interface I use to hold my hand and look like it was designed for 3rd graders. Would it really kill to have simple, clean interface that might appeal to the engineering mindset? I don’t think so, but then again, don’t trust me … I’m not a ‘certified’ usability guy :-) .

I have been scouring the Internet for two days for looking for a suitable PHP alternative to DWR(read the previous post for more information) and haven’t found a single one so I’ve hacked out my own.

I had been looking at xajax in the hopes that it would get me what I was looking for, but it didn’t. So the next one I found was SAJAX. This project appears to be less active than xajax; however, disappointment strikes again. SAJAX does not support JavaScript objects, only basic variables. While that’s all well and good, when I need to pass larger objects, that’s extremely fricken annoying!!!

But wait … a glimmer of hope on the horizon … Sanjer promises to combine SAJAX and JSON. Only one major problem, it’s not actively maintained and it’s based on the 0.10 version of SAJAX which had some serialization bugs.

So to end the frustration for me and anyone else on the Internet who would ever want to do something this stupid (it apparently has to be stupid since no one else is willing to pull this off), I present my solution to the problem … hacking SAJAX. Before I delve into what changed, I’m going to give you the files so you can just run with it in the event that you aren’t interested in that crap. This zip includes everything you need to pull this off: Crockford’s json.js from http://www.json.org/, hacked up version of Sajax.php from me, and a simple index.php file that gives a super simple example of how it works. Oh yeah, since this is all based on GPL/Open source code, my derivation falls under the same licensing and comes with absolutely no warranty. Now, on to the other stuff that most people don’t really care about.

Fortunately, the people who wrote the SAJAX framework did a really good job a keeping a very nice code separation. All that had to happen to tweak this was:

  • JSON Encode the arguments before they are passed to the proxied PHP code
  • Create a new argument array of decoded JSON objects
  • Pass in the new argument array
  • JSON Encode the function result

Now I know that I could put this encode and decode inside every PHP function; however, I’m lazy and I don’t want to do that, especially if it’s a framework and it should do it for me. Here’s a snip-it of changes I made to the file:

:119
//parse out the args array
$newArgArray = array();
$arraySize = sizeof($args);
for($i = 0; $i < $arraySize; $i++) {
        //decode the JSON object
        $tmpArg = json_decode($args[$i]);
        array_push($newArgArray, $tmpArg);
}

$result = call_user_func_array($func_name, $newArgArray);
//encode the result in to JSON
$retString = json_encode($result);
//echo "var res = " . trim(sajax_get_js_repr($result)) . "; res;";
echo "var res = " . $retString . "; res;"

:215
for (i = 0; i < args.length-1; i++) {
        //uri += "&rsargs[]=" + escape(args[i]);
        uri += "&rsargs[]=" + escape(args[i].toJSONString());
}

:227
for (i = 0; i < args.length-1; i++) {
        //post_data = post_data + "&rsargs[]=" + escape(args[i]);
        post_data = post_data + "&rsargs[]=" + escape(args[i].toJSONString());
}

Well, that’s it. Really fricken hard, eh? Yeah, didn’t think so. I’m sure that this version will work for most uses; however, if you do find a bug, feel free to leave a comment or send it to me at wyatt neal on my GMail account and I’ll do my best to help you out. Hopefully this will inspire someone else with more time to come up with a better PHP framework that is a lot closer to the coolness you get from DWR.

If you have one that does what DWR does, drop a comment and let me know. SAJAX, PAJAX, and XAJAX don’t count because I’ve looked at them and I know they don’t provide the same level of use. The only one that comes close is PAJAX but it fails because it does synchronous instead of asynchronous calls by default (what where you thinking people?!?).

Owning this domain name comes with a small amount of pleasure and a small amount of annoyance. Today, we’re going to cover the annoyance part (me reporting all these idiots to the FBI). For your reading pleasure, I always try to reply with the most witty response I can think of in 10 seconds (names and email addresses have been removed to protect the innocent, not the criminals). Enjoy!
Continue reading ‘Fan … No, Farce Mail’ »

I upgraded WordPress and had a few small issues. Long story short, the following don’t work now, but will later:

  • Calendar
  • Comment Preview with HTML
  • Quotes RSS feed
  • Anything else that’s broken :-)