Saturday, March 19, 2005

My new R6

I picked up my new beast on Wednesday, it has taken me a couple of days to get around to posting some photos. It is a wonderful machine, I have yet to push it hard due to the new tires and the fact I still have to run the engine in.

Anyway, I present to you, my 2005 Yamaha YZF-R6.

My apologies for poor photography.

Friday, February 11, 2005

What apps do I use?

I was pondering the other day exactly which applications I use each day, and for how long. I thought "I could write a tray app to track my open windows..." but I managed to think better of it an downloaded a trial version of a product called SmartTime Work Tracker ( that gives me beautiful graphics on work split...


You can guess from this that I am in maintenance and testing mode of our web apps at the moment - the MS dev environment does not get a look in my top 10 apps (although it is there!).

I don't know that I will buy this product, but someone out there may find it useful, especially the ability to group apps by projects.

It answers my suspicion though - over a week I spend most of my time in IE!

-- Footnote to this:

This doesn't include my favourite app that I am using at the moment Given the thing is so damn fast I doubt I'd spend more than a minute a week in it.

Wednesday, January 19, 2005

Search Indexers are not just for fun

After ditching Google Desktop in favour of MSN Desktop Search, I today realised the true power of these indexed searched apps. I not only index all my hard disks, but all of our corporate network drives. Today after trying to find some installation instructions for an obscure peice of software, I was told to look in an old network server that I do not index. I resorted to Windows Search to look for the file keywords on that drive.

A few hours later, after find what I needed in a big folder in a bookshelf in someone's office, I sorted out the problem and returned to my desk to catch up on actual work.

Windows search was still going...

If there is a company out there who isn't indexing their corporate networks then they are missing out on a lot of time savings when these issues occur.

Why I love reading tech blogs

Tech blogs rock. My favourites are Scott Hanselman, Don Box, Dan Appleman just to name three. Why do I like reading them so much? I liken it to the really smart person in your office coming up to you and telling you about something really cool that is useful to know. Then times that by a hundred people. But the best part is that with blogs, you can shut the door on all the office time wasters who want to impart 'wisdoms' on politics, sport or business.

btw - I especially love 'bug blogs' - entries where developers blog about bugs which they have discovered (especially when not in beta releases) and how to work around them. By being aware that a bug/trap exists and the scenarios in which I might come across it, that can save me time later. For this reason, I have decided to blog on more of my bug workarounds, or at least the ones that I can't find workarounds for on the web.

Monday, January 17, 2005

Waste of a few days

I thought I'd post this in case it can help some poor soul out there who could potentially spend days debugging the same problem I had...


  • Page loads up fine
  • Page mysteriously produces a HTTP 500 Error when a control is clicked on the page.
  • Page has always worked before now
  • Page has a datagrid populated from a database
  • No events fire on the page (or within a control on the page)
  • The post stream seems to be truncated
  • Code has not changed (file has been in sourcesafe for 6 months!)


This problem is caused by the viewstate of the page (which is stored in the page) getting too big. Most HTTP proxy servers have a limit of how much data they can send back to the server in one go. Due to the ever increasing level of data in the database, the datagrid gets bigger. Because the datagrid is stored (along with all the other viewstate enabled controls in the page) in viewstate, this hidden field has also got bigger. If you sniff the http post stream, you see that the output is truncated partway through the viewstate. The server receives a truncated post stream, and in this case sends back an unhelpful message.


Delete all your data to reduce the size of the datagrid.

However if your data is important to you or someone who pays you, the best trick is to store the viewstate on the server instead of in the page. The session variable is the best bet of course. Add these two methods to the page giving you troubles (not in any web user control(s) you may be using)

Protected Overrides Function LoadPageStateFromPersistenceMedium() As Object

Return Session("_ViewState")

End Function

Protected Overrides Sub SavePageStateToPersistenceMedium(ByVal viewState As Object)

Session("_ViewState") = viewState

End Sub

Remeber that this is a workaround that will allow the page to function. Unless you are storing session state in sql server you shouldn't use this method for all of your pages to make them smaller. The session variable is stored in server memory and this will degrade performance by filling up RAM and could result in increased hard disk writing when the server has to write to a page file to store the session state. So use carefully, especially with high volume pages...

Wednesday, December 01, 2004

My views on open source

I was considering a post on open source for a few days, and then Scoble posted a little snippet which fired me into action...

I think the concept of open source is wonderful. I always see it relating back to encryption technologies - you need to publish the algorithm publicly for scrutiny. I am not a fan of 'security by obscurity' in which if the method used to encrypt (the lock) is exposed, the lock can be picked.

One of the main tenets behind open source that I love is that everyone gets to scrutinize the code for security, performance, stability and other factors. I call this open source testing. This is, however, as far as I can go with the open source movement.

Open source development is a concept where a whole swag of developers get together and maintain a code base. For Linux there are thousands of these contributors. These people can all change the code base. Give the relevant Linux market share, if the same proportion of developers got on board an open source windows, there would be millions.

Scoble makes a good point - who is regression testing all these changes? Who makes sure that the thousands of products made for windows still work? Having holus-bolus changes to the kernel by everyman and his dog is just dumb for these reasons. It is not as bad as it sounds, these changes are generally reviewed by a committee before being accepted for major builds (it doesn't stop someone from modifying their own version though - more compatibility issues). This kind of managed acceptance works well for bug fixes, but what about new development? With all those thousands of developers having their two cents worth and trying to agree on something, you end with a tech version of groupthink which doesn't see much hope of doing anything revolutionary to the way we run our systems.

I like the idea that Microsoft is paying really, really smart people the likes of Don Box to come and create new ways of computing. Companies like Microsoft and IBM are working together to create the next generation of operating systems. Thank god.

Many Linux zealots have the view that that OS is perfect, like some kind of divine creation that cannot be evolved, only refined. Surely in this day and age we can all agree that there is a better way to do everything, and we need to strive to find it.

Ask anyone at Microsoft if they think that the Windows kernel is as good as the Linux kernel, and the will laugh. Of course it isn't. But there's a reason - when my mum installs windows xp, over windows 95, all her programs still work. That's the goal, to protect the people who use the stuff for productivity from drastic changes. That's why the windows still has a hard-coded fix for ARMYMEN.EXE to make sure it runs in the right graphics mode. That's also why MS scrapped WinFS from Longhorn and made sure Avalon and Indigo could run in windows XP. Because they care about their customers and understand that not everyone is a computer geek.

Closed source development is crucial in order for people to be productive in their computing. The only thing that I could ask is that MS makes their codebase public (read-only) to increase security and stability, and relies on their ability to innovate instead of worrying about others stealing their secrets.

Wednesday, November 10, 2004

Life on the Coast

I've only been on the coast for a month now, still time enough for me to make a few comparisons (some dreadfully obvious - sorry):

  • Weather - hot & muggy compared to fricken hot and dry. Thunderstorms that actually rain when they go over you. Forecasts you can set your watch to.
  • Infrastructure - Footy oval-size roundabouts must be clearly cheaper than traffic lights up here - but they are growing on me. Then there's the whole broadband situation.
  • Economy - Finding a business that somehow indirectly doesn't support the tourism industry is difficult... Capital city economies seem to be more generic and self sufficient; not directly dependant on any one sector. Urban economics fascinate and befuddle me.
  • Flora - Palm trees seem to be the go in your garden up here.
  • TV - Free to air kicks but up here! 2 or three versions of every station, gives you Bris, GC and Sydney/NSW regional... crap reception where we are though. Never miss a cricket match on tellie because i'm in the same city.
  • Motorcyclists - Skin grafts must be cheap up here; most folk are happy with shorts and singlets. On a hot day I can't blame them though.
  • Houses - No heater. I was amazed when we moved in. Now I understand.
  • Shops - The general store/milk bar still has a place in society, as does the small to medium shopping centre. Brilliant.

These are just a few things I have noticed... as time goes by I will be surely assimilated into the collective and my perception of normal will conform.

Telstra Whinge

I have now settled into a life on the Gold Coast that sees me limited by local infrastructure to dialup speeds that were outdated 10 years ago. Let me whine about a few things to make myself feel better.

Pair Gains

Not only do these things exclude you from ADSL access (although they can be removed), they have got to be one of the most devious trade practices that I have ever come across. Basically, each home has a copper cable entering it from the street. That cable has 6 smaller wires inside of it. Once pair gain has been set up, a single phone line requires just 2 little wires. So effectively you could get 3 separate lines from your one copper cable. Great idea; it serves the needs of many. But to charge a whole extra line rental for this is very sneaky. Remember you also pay a couple of hundred bucks to get a bloke out to set it up, so that should be covered you would think... It is akin to the power company charging you double your service fee for each power point in your house. It costs Telstra next to nothing to maintain this line, it is just another entry in a database somewhere and all the switching takes care of itself. I would have thought a reduced service charge would be applicable for each additional line on that cable... you still pay for the calls, so where is the actual cost to Telstra to maintain this 'extra line'? If there isn't one, why are we being charged? A word starting with profit and ending with eering comes to mind. Please enlighten me if I am not seeing the whole picture.

Remote Integrated Multiplexer Systems (RIMS)

These unholy devices are a lesser example of Telstra's attempts to shaft the public, but a good demonstration of total lack of foresight. Basically a RIM is a big green cabinet you might see on the side of a street usually in a new estate. All the copper cables from everyone's houses are mashed into this thing. Out the other end, a few runs of fiber optic cable go to the local exchange. This way, Telstra can add new lines into the estate without having to run copper cables too far - just from the RIM to the house, not from the exchange to the house. One the surface, it sounds like a good way to provide a service without investing too much on the infrastructure.

But these nasty devices usually prevent every house attached to it from getting ADSL. In fact, it (or pair gain I forget) generally restricts even dialup speeds to 28.8 kps. OK, so this sounds like the infrastructure is a bit behind the technology. So where's the profiteering? My main gripe is that the service charge is exactly the same for those poor disheveled folk living off a RIM as it is for those who enjoy higher bandwidth and ADSL capabilities. Why should you be charged the same price if Telstra can't deliver the same services?
To Telstra's credit, they have endeavored to rectify this problem in a lost of NSW metro areas and major regional centers (press release). I can't accept the line that "delivering high speed internet services on normal phone lines was not contemplated" as an excuse - sure they didn't see it coming - but their unwillingness to fix it has been appalling.

So are their claims that they are "on track to provide access to ADSL broadband to over 90% of customers nationally by the end of 2006". Ninety percent is not an acceptable number. You still have 10% of the population who are disadvantaged in the internet economy, hundreds of thousands of people unable to get access to broadband. Some of those people may a fast internet to do their job properly and competitively (like me) and Telstra has them at a disadvantage.
There are also a whole lot of other whacky corner-cutting technologies employed to give people the basic phone service which limits their broadband access that I haven't covered here.

My message to the telco behemoth is to open up the coffers filled by super-sized profits (a lot of it from the 100% profit gleaned from pair gains?) and respect your customers enough to give them the infrastructure they need to live and work in the 21st century.

Thursday, October 28, 2004

Back on the Blog?

Well, not quite. As I expected, the poor state of communications infrastructure on the Gold Coast means that I am still without broadband, two weeks on. I am desperately missing my 10mb Optusnet cable which I took for granted. I am hoping that if all goes well I will be back online again at all the glory of 1.5mb - which beats hands down the 28.8k that I am struggling with at the moment. So, it seems that blogging is too much of a chore until I get the fat pipe back... I apoligise (to my massive readerbase) for not blogging for over a month now, but if all goes well you'll hear from me soon enough.