Stackoverflow

Posted by Luke | Dribble, General, Programming | Thursday 25 December 2008 12:09 am

When Stackoverflow went in beta I was really excited. Joel & Jeff had been discussing it for a couple of months already in their pod-cast and I was kind of curious to finally see it in action. I already had an OpenId which I had never actually used so Stackoverflow gave me a chance to finally test it out. I signed in…

It’s a couple of months later now and I’m currently not sure what to think of Stackoverflow. I liked the idea of a community of programmers coming together to discuss programming and anything related in a forum/wiki style environment. But what can I say, programmers will always be programmers.

By participating on Stackoverflow you gain reputation points and badges. The old style forum set ups had a similar thing where you basically gained status by the number of posts you had contributed to the forum. Often forums would also give you a title, or rank, based on this number or contributions. E.g. if Bill Gates would sign up at some Windows discussion forum he would gain the status of “rookie” because he had made zero contributions. These forums would always assume that if you hadn’t posted anything yet you knew nothing about the subject, so “rookie” in this context would mean that Bill was a “beginner” or a complete “noob” when it comes to Windows.

Stackoverflow’s reputation scheme works a bit different. Your reputation is based on what others think of you. Your questions and answers can be up or down voted by the other participants of Stackoverflow. Badges are assigned according to what type of actions you perform. E.g., if you write a lot of comments (which are like annotations to questions and answers) you might receive at some point the Commentator badge.

However, besides all the fun, Stackoverflow is starting to bug me.

As I said earlier, programmers will always be programmers. I’m not sure if the reputation scheme aggravates the typical programmer behavior (you know, that of the anal attitude and the obsession with the specific definition of things) but it seems to happen within Stackoverflow with an irritating presence.

To give you an example. I gained reputation points (or votes) for an answer that basically told the person asking the question to use Google. Now, even though its a valid answer because people should use Google before asking questions like that. To “up vote” an answer like that is kinda, well…, sad. It’s like kicking someone who is already down.

As I understand it, Stackoverflow was created as a community for programmers to share all things programming and related. However, there seems to be a certain self righteousness on Stackoverflow where certain individuals seem to think that its up to them to decide whether a question is a valid question or not. I really don’t understand why people need to go around and close other peoples questions just because it doesn’t fit with their opinion of what type of questions can and can’t be asked. If my question was totally unrelated to anything programming, e.g. about shepherding or something, I could understand, but just because someone doesn’t share a certain interest (in my case O’Reilly programming books) doesn’t mean they should be closing questions. E.g. asking a question about Programmer Jokes seems to be just fine. I guess, it doesn’t really matter if your question is pointless as long as it has a gimmick or an element of fun to it.

The typical programmer behavior comes to surface in the type of contributors who go around “editing” other peoples questions and answers for, guess what…, typos! It’s “Apache”, not “apache”! Oh dear…

Well. I’m not sure what Stackoverflow will do for me in the new year. I’ll probalby phase myself out at some point as happend in the past when I used be very active on a certain forum where I haven’t been activally contributing for over a year now.

I guess time will tell…

In the meantime, have a good one and the best wishes for 2009!

New hosting

Posted by Luke | Dribble, General | Friday 22 August 2008 3:23 am

Just got myself some new hosting. I used to have my stuff hosted at MDWebhosting in Melbourne and they gave me a pretty good deal. However, I came across HawkHost and I just could resist their offering. Good storage, good bandwidth, unlimited add-on domains, unlimited sub-domains, unlimited databases (MySQL and PostgreSQL), the list goes on and on.

I also took the opertunity to get a new domain up and running. I used to use my opject.org domain but I thought maybe a name change couldn’t hurt. I’m always in for a bit of change (not to much though!). So, there you go. I’m now reachable under NorthernBinary.org (because I’m from the northern hemisphere and I guess, a bit binary…).

Last but not least. I also took the opportunity to upgrade to the latest version of Wordpress. Ah yeah, good ‘ol Wordpress. Not sure what the current version is, something like 2.6.1 or so.

Anyways, there is still some stuff to do. Getting rid of the default theme and some external dependencies need to be resolved (images that are loaded etc.)

Busy busy busy…

(more) ActionScript 3 weirdness

Posted by Luke | Actionscript, Actionscript 3.0, Dribble, Programming | Wednesday 7 May 2008 11:08 am

The other day I was attending the Colin Moock lecture “AS3 from the ground up” here in Sydney. Even though the lecture was very (and I mean very) basic, as it was intended, it was still quite interesting to see the man in action. I sat through the whole thing even though around 4 o’clock I was ready to walk out (of boredom). I’m glad I made it till the end.

Even though the lecture was quite basic there was one thing he pointed out that caught my attention. The implicit calling of the super class constructor. He’s stated that even if you do not specify a call to super in your sub class constructor, the super class constructor is still called. this sounded all to weird for me. I didn’t wanted to shout this out in case I was wrong and I didn’t bring a laptop to test out if this weird behavior was true. And thinking again, AS3 has a number of weird things going on that are not consistent with what you would expect. So, this might be another one of those things.

Never the less, the next day I decided to test this behavior just to make sure this was the case, and behold. It is. Besides the fact that you can’t make constructors private in AS3 (which is a different discussion all together) the super class constructor IS ALWAYS CALLED!!!

As a programmer, for me to override the constructor has actual meaning. It means that I DO NOT WANT THE SUPER CLASS CONSTRUCTOR TO EXECUTE, unless I call the super class constructor explicitly with the super keyword. To me this is another typical one of those; “we complier designers need to protect those poor little programmers from them selfs, the poor souls don’t know what they’re doing” type of thing. Sigh…

For some reason, the more I do with AS3 the the more frustrating it is becoming. Every time I run into small but irritating issues like this the more I tend to step away from the language. Don’t get me wrong, I like the executing speed increase and the improvement from AS2 its just these little annoying things that get to me.

The proprietary (in-house) CMS (revisited)

Posted by Luke | CMS, Dribble, General | Thursday 1 May 2008 10:21 am

I’m sure you’ve seen them. You might even have worked with them. The company with the proprietary CMS. Almost every company that specializes in web development has some sort of self proclaimed spectacular and ground breaking CMS that was developed in-house. My opinion? Try to avoid them!

Why? You ask. Well let me explain. Say you’re a developer and you’re being hired by one of these companies. It will be highly likely that they expect you to further develop this CMS or at least work with it. Most of the time this is almost impossible to do. I’ll bet you, there will be no documentation and the complete system architecture (if there is any) is probably all locked up inside one guy’s head (the guy who built it). Great. Now imagine you’re a client of a company with a proprietary CMS. I’m sure they will tell you that their CMS is the most fantastic and easy to use CMS in the world. It will solve all your problems. Unfortunately, you as the client has no way of actually testing if this statement is true, all you can do is believe them.

Now, in comes the established open source CMS. There are so many open source CMS’s out there that it’s almost not funny if you need to pick one. Just hop over to CMSMatrix and you’ll see what I mean. Currently the popular ones and my personal pet favorites are Drupal, Joomla! & Wordpress (For the moment we put aside the discussion if Wordpress is an CMS or not). Of course, the benefits of using an established open source CMS over a proprietary CMS is obvious:

  1. There will be documentation (for both end-users and developers).
  2. The implementation of features has been questioned during development (i.e. with all likelihood, more than one developer has worked on it and they discussed amongst each other the best way to implement certain features).
  3. The number of implementations will be much higher (i.e. real world examples).
  4. Clients are not locked in with a single development party.
  5. Clients are free to investigate the system before using it for their solution (transparency).
  6. Community (knowledge sharing).
  7. Jobs (for developers).

Well, I don’t know about you. But there’s not a lot that can compete with that and I’m sure that at least you will agree with me on most of these points. As a matter a fact, I can’t think of any benefit of using an proprietary CMS all together.

Of course, like most developers I would love to build a full fledged CMS myself. Heaps fun! But in the end its pointless. The market for CMS’s is completely over saturated and building your own can be considered a complete waste of time and effort. Now, by all means. I’m not claiming in any way that there is no room for proprietary CMS’s. Proprietary CMS’s are very suitable for the Amazon’s and eBay’s out there which are specialized systems, not generic ones.

As a developer, there is another very important aspect of proprietary CMS’s to consider. If you work for a company that utilizes a proprietary CMS, then whenever you would leave your position at that company, all your CMS knowledge will be worthless. On the other hand. If you had worked all that time with Drupal or Joomla! than you could actually utilize that knowledge in your next job. It might even be the case that you will be primarily hired for that knowledge.

eBooks

Posted by Luke | Dribble, General, books | Sunday 27 April 2008 1:19 pm

Ever since I got involved with computers (20 or so years ago) I’ve always been buying books about various subjects to extend my knowledge and learn about new things. Over the years I’ve built up quite a little collection of books and a quick peek at my bookshelf learns me that there’s about 250 or so books there. Some them are really old. I mean really old! I think the oldest is called Using QuickBasic 4 and dates from 1987 (print). I think I’ve got a copy of it in 1989 or so (around the time of my QuickBasic era).

A couple of years ago I moved counties. I moved from the Netherlands to Australia. Guess what I took with me? I had about 11 boxes shipped over. 10 of them filled with books. So effectively I’ve been lugging this stuff half across the world.

I’ve always been intrigued with Safari (no, not the browser, but the service offering from O’Reilly). Getting a subscription to this service is very appealing to me. However, it still seems quite expensive. I do not buy books every month (I usually go through book buying phases). And since Safari is a monthly (or annual) subscription, I haven’t signed up yet. I believe that this sort of subscription/service is ideal for employers who employ programmers (hint hint).

Buying computer related books in Australia is a pretty expensive hobby. The average book goes for about $80 AUD. That’s currently about $75 USD! The average computer book on Amazon goes for about $35 USD ($ 38 AUD)!!! I guess buying in a normal store in the States doesn’t change the price that much and you get an actual physical book for that price. I guess that’s because of the shear volume of books being sold in the States is much higher than in Australia (1% of 300 million is a lot more than 1% of 22 million). Also, computer related books are not printed in Australia but overseas and have to be imported. On top of that the margin must be higher because less books will be sold in Australia and the shop owner still needs to pay the electricity bills of the book store (which doesn’t change whether you sell a 100 books or 10 books).

So, instead of buying physical books, I’ve been looking into cheaper alternatives. eBooks are a great thing. Not only are they cheaper to buy but also a hell of a lot cheaper to ship to the other side of the world. In the recent month I’ve bought eBooks from four different publishers. O’Reilly, Packt Publishing, Manning and Apress. My best experience so far is with Manning.

All the publishers so far had me create an account before I could purchase my eBook. I can see their point of view of this. By creating an account, my purchase is associated with my account. E.g. with O’Reilly I can go back into my account and download my eBook over and over again. This is handy if I ever delete my eBook by mistake, for me, Manning has succeeded the best with mimicking the real live event of buying a book. When you buy an eBook on Manning’s site and you pay with PayPal (yes, PayPal is awesome!) you don’t have to create an account. All you need to do is to click on the pay with PayPal button, which guides you through the familiar PayPal process, and the book is emailed to the email address that’s associated with you PayPal account. So yes. they have your email address but so what? So do the others with a lot more information. Not to mention the time I had to spend setting up the account, which of course next time I want to purchase an eBook I’ve forgotten the password of.

Now being true geeks you probably wonder what eBooks I purchased. This is the list:

So there you go. Lots of stuff about Joomla! and CMS related things plus a bit of Java to top it off (anything Java is still my favorite). I’ll be reading a lot for the next coming weeks. Maybe I can squeeze out another post with my thoughts on proprietary (or in-house) developed CMS systems. Have fun buying eBooks and till next time.

WebDU 2008

Posted by Luke | Dribble, General, WebDU | Saturday 12 April 2008 4:19 pm

Somehow I’ve been able to get my big fat head on the WebDU about page! I’m the one looking straight into the camera and my buddy Dave is sitting right next to me. Man, that was a shock when I saw that page for the first time. Funny enough I remember that photo being taken and who took it!

Unfortunately I will not be able to attend WebDU this year. Maybe next year again…

Mate, your blog is broken…

Posted by Luke | Dribble, General | Thursday 22 November 2007 12:43 pm

No, its alright! I chose to go for the minimalistic theme called SandBox. Not only do I actually like this theme, it also gives me a great clean template to work from if I ever want to change the CSS for this blog myself.

I influenced Google Analytics

Posted by Luke | Dribble, General | Friday 9 November 2007 10:31 am

…or as I would like to believe. I have a number of websites for which I use Google analytics and I check the stats on a regular basis. However, ever since Google applied the “new” design I had some trouble interpreting the main visitor statistics graph.

When ever you would hover with the mouse on one of the blue dots it would bring up a tool-tip stating the date of that particular blue dot. However, it would only say something like “18 October, 2007″. Now, what day was the 18th of October exactly? Was it a Monday, a Friday…? It would never give me context that I needed and I always had to look this up on a separate calender. A bit of a pain if you’d ask me. So, a couple of weeks ago I wrote the Google Analytics support team an email explaining my problem. And voila! When hovering the blue dots the other day it now states the day of the week in front of the date.

Now, I’m sure that Google already had this on their TODO list, but I would still like to believe that they actually listened to my suggestion. Anyways, all in all pretty cool…