Archive

Archive for the ‘Random Notes’ Category

Riding the Reddit Railroad: The effects of being promoted on Reddit.

March 19th, 2009

I love writing for this blog. It really wasn’t that long ago that I started taking it more serious and try to make time in my day to post new content. Whenever I post a new story, I check my stats within wordpress to make sure that the correct article was posted, see if things are getting recognized, etc. Usually, depending on the time of day/night, after the first halfhour/hour, ill get roughly 20 or so hits. After posting my last article at 11:30pm EST on a Monday, I followed my standard routine to check. I quickly noticed that I was at 250 hits in 30 minutes of posting. Automatically I thought ‘well something is wrong”, then I realized that I was getting a large amount of traffic from Reddit, as it apparently caught some attention there. Now that the time has past and Reddit has forgotten about me, so I wanted to do a “back to normal” article and show what you get whenever your story becomes popular on Reddit.

I remember back when I enjoyed trolling through posts on Digg, I would always get offended if someone blatantly posted on article there to get hits. “They just want ad revenue!”. Other times, I would click an article and get the ‘bandwidth exceed’ message. “Bandwidth exceed” was at least a sign the server didn’t crash, sometimes it would just crash the server. I use GoDaddy, so I wasn’t too concerned about that, but still. Here is how all these things turned out, before and after.
Read more…

Opinion, Random Notes

When and how to use mx_internal in Flex

March 12th, 2009

How many times have you hopped into Flex’s source code only to see the modifier “mx_internal”? No public, private or protected, just mx_internal. It is everywhere in there. But what is it? Turns out, according to Adobe, it is a namespace used to flag functions and properties within the framework that may change in future releases. Obviously, since they might change, Adobe, with all its motherly goodness, hides these properties and functions from us behind this namespace. This does not mean we cannot access them though. We just have to jump through a few small loops. This article will go over how and when to use mx_internal, but also what to be careful about when using them.
Read more…

Best Practices, Flex, Opinion, Random Notes ,

Favorite Eclipse shortcuts

March 5th, 2009

Anyone who knows me knows that I hate touching the mouse. I do not like using it one bit. If there is a shortcut on the keyboard, its a pretty big guarantee I am going to do my best to find it. Being a programmer, I spend a massive amount of time using Eclipse. Naturally I have a pretty good understanding of all the shortcuts that make my life easier. Here a list of shortcuts that can help you. Also a brief how to on removing the most annoying shortcut of all, show in breadcrumbs.
Read more…

Best Practices, Opinion, Random Notes, tutorial ,

5 tips to help designers style your Flex components

March 3rd, 2009

Alright designers, lets get one thing straight. I don’t like you and you don’t like me. You design components that are either a)impossible/painstakingly difficult to build or b) has more transitional effects that even make a mac snob would vomit. Dare I complain? Too bad. The client already signed off on it and they loved it. Guess what though, jokes on you! Following my typical fashion, I have made it as easy to style as you have to build it. TAKE THAT EDGY COOL GUY(or girl)!.

Unfortunately, this vicious circle doesn’t help you and it doesn’t help me. You can call me lazy and I can call you a moron but it leads us to the same spot. With this in mind, I’ve recently decided to extend the olive branch. I have sat down with one of the main designers at my job and asked “What can I do to my components that will make your job easier?”. With a warm smile, he thanked me and gave me some good tips on how I can make not just his life easier, but also make my components just that much more versatile.
Read more…

Best Practices, Flex, Opinion, Random Notes, tutorial , , ,

An indepth look at Flex Events

March 2nd, 2009

One of the great things about I love about Flex is that it is fairly close to writing a desktop application. You can, for the most part, even take a Flex application and publish it as an AIR application for your desktop. In my opinion, one thing that makes it extremely similar is the way it handles Events. Its all about the eventListeners. As we all know, it is never as easy as adding an eventListener in one spot and a eventHandler in another. Within this article, I want to discuss how to add and handle eventListeners, dispatching them, how to stop event from propagating, difference between a target and a currenttarget, and the ever important thought of when to remove events.
Read more…

Best Practices, Flex, Learn This, Opinion, Random Notes, tutorial , , ,