JavaScript Madness?

January 12th, 2010

I’ve been learning JavaScript for a few days now. Yesterday I got stuck and tried to find documentation, to my disappointment there isn’t a “centralized documentation” of the JavaScript language, it’s methods or useful examples. It’s more about experimenting and just listen what your guts tell you. Some have linked me to JavaScript’s model specifications giving me interfaces and what it should return (and so on) others linked me to MDC ( Microsoft Mozilla Development Center ), MDC has nailed it, very easy to understand examples, brief overview of the JavaScript technology and its Data Types, objects constructs and literals (literals has left me quite with a “wow”).

All nice, right? MDC seems like a nice resourceful spot (of course!), now this story will take a plot twist, and it starts when I test my JavaScript code in Internet Explorer, IE yelled errors with nonsense. I took a deep breath, lets do the math! Mozilla: Gecko, Google Chrome: WebKit, IE: well I think it was called “Trident”, and Opera? god knows, I forgot. So these people have different implementations on how to render the web, great! Now, they also have a different way on how to interpret JavaScript, just great! The Internet Explorer team needed to follow Microsoft’s standard, that is, just tweak a few things and claim it. (Like addEventListener converted to attachEvent, extra code is great :) god bless JavaScript libraries for this)

I cried myself to sleep yesterday. I just had one thought in my mind, “why it had to be like this, how about uniting or something… a centralized documentation, SOMETHING!”. I guess that won’t happen, like a fleeting dream :(

Don’t get me wrong, I like some of Microsoft technology (and their C# language). I also secretly like their Bing Search Engine, don’t tell anyone ;)

I’d like to thank Justin Johnson for his great help over StackOverflow, enlightened me :)

$%#@*#$, n00b!

January 11th, 2010

It sometime amuses me when I play online with random people. Really, I know everyone plays to win, that’s a fact, and if there has been someone that plays to lose, must be alien to the human kind ;) . I sometimes don’t know why they allow bluetooth in PlayStation 3, sure they play “strategically” and so on, as if. Now to my point:

I play Uncharted 2 multiplayer. I connect to have some fun, win some rounds and let some stress out, unless it backfires :P. I’m in this game, using the shotgun since it was the only weapon before me when I got up that could deliver heavy damage, one kill shot. I killed 5 one by one since they walked toward me and b00m! The other team starts yelling, cussing, insulting  your mere life. Thing is they… kept coming at me like a mob with stakes. Thanks to my team they backed me up since their eyes wasn’t to kill the others, but to get revenge!

Exchanging fire, the shotgun spawned again and well I grabbed it again. I killed three in a row, same hurtful, unintended words~! Then below those three there were like 2 more, it started raining-grenades-and well I couldn’t do much, lol. The matches are 50 kills of a team of 5 individuals, quite fast. Well, I grabbed the shotgun again! Killed the same guy twice, nothing personal, he just had the bad luck of re-spawning where I was going. This one was in rage it seems, yelled at me, mentioning my nick, calling my noob and so on. I would put the text but this blog is rated “PG” :P

So yea! Speaking in-game certainly sucks, no one is helpful. They even sing (mostly kids who wanna be “cool”), or try to arm the team, which is often useless (98% of the time). I don’t particularly use the bluetooth myself, don’t really believe in that crappy stuff.

In the end, it’s not so bad, you get the kicks hearing them frustrated. It’s also annoying at the same time, like when one of your teammates has the music on, ugh, awful.

Peace out! more random thoughts later :P