Category Archives: General - Page 3

This blog has been moved and upgraded

I moved my blog to be on webhost4life.com

I’m also changing blogging engines and announcing that I will stop development on nblogr.
NBlogr was almost ready for a v1 release but it has too big of a memory footprint. The footprint is 70MB which is too much for a blog.
To fix this I would have to change my data access layer to a different approach.  I decided instead to switch to subtext and I’ll see which features I can provide from nblogr for subtext as plugins. I also don’t have the time anymore to occupy myself with nblogr.
The feed should remain working without a change. I upgraded my blog to subtext using Ayende’s instructions
Which means that the permalinks should still work but urls that contain a guid won’t work anymore.
The reason for moving from dasblog to subtext are the same as why i started nblogr in the first place. Dasblog has been nothing but a hassle for me. It is often down, does only trackbacks to my own domain, and many more annoyances.

The language debate

Rowan Simpson: http://rowansimpson.com/2007/07/04/c-vs-vbnet/

Andrew Peters: http://andrewpeters.net/2007/07/03/73/

Alex James: http://www.base4.net/blog.aspx?ID=515 and http://www.base4.net/blog.aspx?ID=520

Nick Randolph: http://community.softteq.com/blogs/nick/archive/2007/07/03/languages-only-part-of-the-equation.aspx

Alex Henderson: http://blog.bittercoder.com/PermaLink,guid,05fc0109-3215-410e-8009-447c1e74cacb.aspx

Shouldn’t be a debate at all. I have a personal preference in languages which goes in this order C#, Ruby, Javascript, Boo/brail,  a bunch of languages i don’t know yet, xml + xslt

Why C# is first on the list is because it comes with visual studio which is IMHO the best IDE out there for the moment.

VB.NET isn’t in the list because I don’t see the point in learning another language that is just as powerful as c# but has got a very ugly way for forming syntax. VB doesn’t feel logical to me.

I don’t program in a language because of aesthetics but how they flow from my brain onto the keyboard and the purpose of what I’m writing the script for. I tend to think in larger picture concepts languages that support that better have a distinct advantage in my book.

my 2c.

About javascript compression

If you believe this guy then javascript packing is a bad thing.

http://batiste.dosimple.ch/blog/2007-07/

I don’t agree with this post and here’s why (i couldn’t comment on his blog because he doesn’t have comments):

IMHO that’s not entirely correct. 
I’m sure that if you’re not packing stuff but just removing comments and whitespace you’ll get completely different results.

If you’re packing stuff then the reason should be because you want to obfuscate your javascript not because you want to get some speed improvement. It’s just common sense to work out that
1. javascript is slow
2. more javascript execution (i.e. un-obfuscating) is even slower.

Another benefit of packing javascript is that you/your company saves $ on bandwidth. 5k x 5000 pageviews x 30 days = lots of $.

The guy is just looking at 1 aspect or 1 reason which gives a distorted image.
Anyway my experience tells me that removing whitespace and comments in a production environment and then have them sent compressed by the webserver to the client gives me the best results. Regardless of this guys 1x test setup with 1 machine.

I will generally read all the files into one file strip it from extra content after which they get gzipped (deflate is better for xml type structures) and sent to the browser.  Once the javascript has been prepared for the page it should remain cached on the webserver and preferrably on the client.

Safari 3.0 for windows

If you have a dual head video card.

Try maximizing safari on your secondary monitor..

Happy browsing..

Maybe the apple guys should just stay with apple stuff or either test their stuff a little better before releasing it to the windows public. Surely they are under heavy scrutony if you publish commercials that have no truth in them.

DHTB – thanks kirk

Through Kirk’s blog I got to a site that allows you to test which type of programmer you are.

Here are my results.

You can take the test yourself

Your programmer personality type is:
DHTB

You’re a Doer.
You are very quick at getting tasks done. You believe the outcome is the most important part of a task and the faster you can reach that outcome the better. After all, time is money.
You like coding at a High level.
The world is made up of objects and components, you should create your programs in the same way.
You work best in a Team.
A good group is better than the sum of it’s parts. The only thing better than a genius programmer is a cohesive group of genius programmers.
You are a liBeral programmer.
Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We’re not writing on paper anymore so we can take up as much room as we need.

Lunch with geeks (31/05/2007)

Another Thursday, another lunch with geeks in wellington.

We decided to move the lunch to be on tuesdays. This will allow for Tim Haines to join the discussions.

Today the attendees were Simone, JD, Andrew Peters, Kirk Jackson and yours truly.
We touched a broad range of topics in our talks which went from Google Gears to Linux vs. Windows to everybody has a killer idea for a website to microsoft surface and we also touched briefly on database servers.

We started out discussing  offline storage for web apps, because Google announced it’s gears plugin today. The opinions in our discussion leaned more towards nobody really liking the idea of offline storage for webapps except me.  According to Simone this introduced an unnecessary layer of complexity.  JD quoted DHH on why offline storage doesn’t really matter, the internet is everywhere.
Kirk doesn’t see the point. I tend to think that there has to be some middle ground.

Next I uttered my frustrations about the ongoing vs. debates and we picked windows vs. linux. The problem in this sentence is clearly the vs.  Instead of beating the other people to death the energy would be better used by finding some sort of compromise. Andrew said he’d love to see a world where there was a choice between multiple OS’es and everything would just work on all of them.. I too would like to see that day.

From there we moved on to the fact that every Joe Schmo has a killer idea to build but they often don’t realise that the development is only a small part of a bigger picture. After development a lot more money needs to be spent on marketing, sales and support.

JD put our attention onto Microsoft surface for which most of us got links etc yesterday. Bottom line it looks really cool but the team seems relatively small according to Kirk. JD then explained us why it could be such a small team and that we might be able to get some preview of it before the end of the year.
We had a bit of fun by coming up with ways to use this device which go from gaming to having a digital tv-guide,….

JD then asked me about the CRM I’m building in rails for when he could get some preview or test of it. The reply to this was a little bit more complicated but it brought us to our next point of discussion. Andrew asked me if I had used postgres because I was saying that we are moving this crm now to mysql so it can run on dreamhost.  He went on about running the unit tests for lightspeed and their different database providers. It turns out that postgres performs better than all the other databases they support on windows in their unit tests. (this hasn’t been benchmarked in an official lab or anything)

This concluded our discussions. If I forgot something please email me or add them in the comments.

Lunch with geeks – Wellington (24/05/2007)

After Alex James setting an example with the Architects chats in Auckland, I decided we needed the same thing in Wellington.

I called it Lunch with geeks, more because I don’t try to label developers and IT people.
Anyway our first meeting was a successful one :) And the turnout was quite impressive. There is a lot of talent in Wellington.  The people that joined our first meeting were JB (Jeremy Boyd), JD (John-Daniel Trask), Andrew Peters, James Hippolite, Simone Chiaretta, Adam Burmister

We had some interesting discussions and tried to limit the session to one hour, seen as we all have jobs to go to etc. 
Of course we couldn’t resist to have a discussion about the americas cup: Team New Zealand vs Italian Luna Rossa.  Next on the agenda came a discussion on subtext vs. nblogr which is not a comparison really because subtext is going on v.2.0 and nblogr is going for v0.19 alpha. In the end it turns out that if you want to start blogging today you probably should go with subtext. And by the time they release 2.0 nblogr should be completely on par with them regarding features and released as v1.0.

The next point of discussion was the DLR with IronRuby and IronPython, where Andrew P. took the lead in the discussion.  From the DLR the discussion moved onto Silverlight and what it exactly is. The guys from Mindscape obviously had a more in depth play with it than the rest of us which was pretty enlightening for me. And it put a couple of concerns to rest. Adam was concerned about the fact that you wouldn’t be able to do view source on an application so you could learn from other peoples work. This issue is solved with a new reflector application that downloads the silverlight app and shows you the source.  My concern was that search engines would face the same problem to index silverlight as they have with indexing a flash application. 

James wanted to know if silverlight was going to be the flash killer and we agreed that it would be more an html killer than it would be a flash killer. Andrew explained how nicely silverlight plays with the DOM to such a degree that you can manipulate the DOM from within the silverlight app and you can control the silverlight app from javascript.  All of these things are nice to have and things that were missing really from flash in the days that I was working with flash.

JD mentioned that there was a benchmark on a demo he saw where there was a chess game that calculated the next possible moves. On 1 side there was a javascript app and on the other side a silverlight app. The javascript app could calculate something like 10000 new moves and the silverlight app would do millions in the same timeframe.

Next week we doing the lunch again.. Come along if you like.

UPDATE: To be clear Subtext is already at 1.0 and will go to 2.0. It’s nblogr that will be going 1.0

What is wrong with people?

Did I miss the memo about having to be religious about the tools you use. In my mind anything that falls in the category religion should be banned as it is a cancer on society. Philosophy is good. Budhism is a philosophy to which I would subscribe for example. I am allergic to people that tell me what to think, probably why I never really fell for the “ruby community”. I don’t need convincing, I’ll do that myself, I just want correct information and plenty of it. 

That being said I stumbled across this thread where people are actively discouraging Miguel de Icaza to implement silverlight and co in Mono

http://linux.slashdot.org/article.pl?sid=07/05/03/2033219

These are the reactions to it on channel 9.

http://channel9.msdn.com/ShowPost.aspx?PostID=305405#305405

 

I personally use both I use Linux and I use vista both on a 64 bit system.  I like the whole simplicity of linux but the applications for it are not nearly as finished as the ones that are there on the windows platform.

For example MonoDevelop doesn’t come anywhere near Visual studio. Gimp is no photoshop, ….

Microsoft provides a more viable eco system for people to make money of what they do. I do wish Microsoft would support open source a bit more instead of copying it and thus mostly killing the OSS project. Although I do understand that they are a business

If I would have more time I’d certainly want to contribute to Mono but unfortunately there are only so many hours in a day and these hours are not enough.

To get back to my original point. You can be passionate about something, and everybody that has spent some time talking to me will have picked up on the fact that I don’t just accept the technologies that are being shoved down our throats these days.

The reason I don’t read blogs on Ruby anymore is the following: I simply couldn’t stomach the people going on and on about how cool their mac is and yet they need to reboot it on a regular basis. My vista pc at work hasn’t rebooted for the last 2 weeks now, before that I got a BSOD regarding memory management :)
Furthermore there are programmers that keep going on about the fact that notepad/vi/emacs/textmate/eclipse are the best tools for developing applications.
I don’t know about you but for me programming is about creating stuff, preferrably fast and visual studio is the perfect fit for it.

Granted my vista pc doesn’t look nearly as cool as a mac or an ubuntu with berryl machine but I am far more productive for my job on it.

So my conclusion for this post would be :
Don’t get religious about your tools/language/platform but choose the best one for the job at hand.

Uhm.. this post turned out to be a big rant instead of my intended post which was going to be about how much I look forward to C# 3.0 and the DLR.

As soon as I can get my hands on some of the bits I’ll be posting my findings.

40.000 blowjobs promised by sexy politician (serious update)

 

Politics done Belgian style. It’s a party that runs for a couple of seats in the flemish council.
Topless poster etc.. please visit :D

40.000 blowjobs promised by sexy politician (serious update)

Subversion vs Team Foundation

I work at Xero and we were using Sourcesafe, which we always knew had to be replaced sometime.

http://www.codinghorror.com/blog/archives/000660.html

I have some experience with most of the source control systems out there. We decided to go with Team Foundation Server the reasons for it being :

  • High level of integration with visual studio 2005
  • Easily extensible with C#
  • It is currently v1, which translates to me as 2 more versions and it will be the most awesome tool out there
  • Based on Sql Server

Why didn’t we choose for Subversion, you may ask ?

  • It’s a microsoft shop we don’t need cross-platform tools
  • Not based on Sql Server
  • No webservices api ready to be consumed

I personally like the way subversion stays out of the way and you don’t have to explicitly check stuff out. But I don’t like the decentralised way of managing it.

The tools that come with Team Foundation Server, even though it’s only v1, look more slick and handle a lot better than the tools that come with Subversion.

Since everybody in our team was already familiar with source safe which made the learning curve virtually non existent.

All in all taking all the variables into account we decided that Team Foundation Server was a much better solution for our needs than subversion.

 

If you want to read some other peoples thoughts on the subject, Ayende and Roy Osherove  have been having a discussion about it through their blogs.


http://ayende.com/Blog/archive/2007/04/29/CodePlex-TFS-and-Subversion.aspx

http://weblogs.asp.net/rosherove/archive/2007/04/29/tfs-or-not-being-a-perfectionist-is-a-realistic-world.aspx

http://ayende.com/Blog/archive/2007/04/29/TFS-Zero-Friction-and-living-in-an-imperfect-world.aspx

http://weblogs.asp.net/rosherove/archive/2007/04/29/what-source-control-tool-do-you-use-and-more-on-tfs-vs-open-source-tools.aspx

http://ayende.com/Blog/archive/2007/04/29/TFS-Vs.-Open-Source-tools.aspx

http://weblogs.asp.net/bsimser/archive/2007/04/29/tfs-vs-open-source-the-battle-rages-on.aspx

http://ayende.com/Blog/archive/2007/04/29/Exensability-Ask-and-you-shall-recieve.aspx

Page 3 of 712345...Last »