June 2007 Entries
The following code works in IE, but not in Firefox:
myDiv.style.width = height1 + height2;
This however, works in both browsers:
myDiv.style.width = height1 + height2 + 'px';
As for Safari? Right now your guess is as good as mine. If I get a spare few minutes I'll throw together a...
Seeing as I mentioned the ReSharper 3.0 release, I thought I should also mention that I've reverted my main work box (which is running Vista) back to ReSharper 2.5.2. I was having some weird issues around shortcuts not quite sticking, as well as some functionality simply not working (the compilation checking seemed either disabled or incredibly lagged, ctrl-p for parameter info was only working intermittently, and the automatic insertion of using statements wasn't firing either). It was a weird few hours working without full ReSharper functionality - it scared me thinking about how much I missed it. Unfortunately I...
Frost by itself isn't anything too amazing or interesting. However, when it's in Auckland, and when you can scoop it into a pile and almost make a snowball out of it, then you can say "It's cold today" and feel somewhat justified.
Tags: NZ, NZ Trains
Wow, what a post title. It's a couple of weeks old, but this list over at haacked.com is a quick list of classes that developers tend to code themselves rather than use what's provided in the framework. The constant reinvention is symptomatic of a large and comprehensive framework - there's so much in there, it's sometimes hard to know where to look for something that does what you're trying to do.
Looking through the list was quite refreshing. There were a few obvious ones such as System.IO.Path.Combine, however I'd never thought that a framework which is destined to...
Speculate no more in the knowledge that it simply doesn't work!
ReSharper 3.0 is now out of beta and available for download. So far I've installed it on both b0xes I develop on, but haven't really used it as yet. I have to confess, there's not a lot in the new release which has wowed me so far - although I'm hoping the XAML support might be useful in the near future. The addition of 'code suggestions' also sounds like something that will be quite welcomed - there were a few situations before where ReSharper would 'warn' you about things which were fairly legitimate. It'll be nice now to receive...
I threw the leg times for an end to end trip (specifically, the first train of the morning) on the Western line in both directions into a quick Excel spreadsheet, and can now reveal the following useless statistics:
There are 18 stations and therefore 17 legs along the western line.
The most common leg time is 3 minutes. There are 9 eastbound legs which take 3 minutes, and 12 westbound.
There are 7 legs in which the durations for the eastbound and westbound legs differ.
Of the 7...
I was looking through the new timetable for the Western line and thought I'd noticed a screw up in the train times. The trip duration eastbound looked like it took longer than it used to.
That was until I checked the old timetable, and realised that apparently it takes less time to travel from Britomart to Waitakere as it does to travel from Waitakere to Britomart. I'd never noticed this before!
The eastbound trip end to end (non express) is listed at taking exactly an hour, whereas the return trip is listed as taking 57 minutes...
As the browser wars heat up signs throughout the web show that the pro Firefox crew are becoming less subtle with each passing day.
As far as Apple are concerned it's a pretty good time to get their latest offering out into the Windows world. The somewhat evangelical momentum behind Firefox has definately helped to educate people into realising that there are plenty of Windows based browser alternatives.
I spent a bit of time playing with Safari on Windows Vista today. Visually it's very Mac like - thats to be expected. Ive never been an iTunes user, but...
2007-06-06 release of the AJAX Control Toolkit has a number of fixes identified as important by the community including designer support for Tabs and Web Services. It also has Animation support for some extenders, event support across the Toolkit, a Script combiner for reducing...
Today was a fairly significant milestone in the double tracking of the Western Line, with the new track opened up all the way through to Henderson.
In this article, Newstalk ZB decreed that the entire line has been double tracked. I'm not sure if their definition of entire means 'the entire line (apart from 4 stations)' or whether they consider that finished means 'no tracks, no second platforms, but some digging has been done', or whether they just screwed up. (Note that the entry could have been fixed by the time you read it, if you do, because...
Out of the box, the ASP.NET Ajax UpdatePanel and UpdateProgress controls do a pretty good job of removing postbacks from your applications, but they need a little bit of styling to get them looking their best. Here's a couple of links to get you started on the right track:
Link: Using the UpdateProgress as a modal overlay
Link: Gmail style 'loading' indicator using UpdateProgress
Link: UpdateControls: UpdateHistory and AnimatedUpdatePanel
Raj's modal overlay (the first link above) allows you to target either an individual control (such as a panel or a GridView), or the entire page. It's very slick looking, but...
The beta release of ReSharper 3.0 is now available for downloaded. The product now features support for VB.NET (Revisualbasicer?), XAML, as well as additional productivity enhancements.
ReSharper 3.0 Beta expands its versatile support of languages and technologies, providing improved functionality for C#, VB.NET, ASP.NET, XML, XAML, build script editing and integrated unit testing.
In other improvements, ReSharper 3.0 brings much-awaited XML and XAML support. XML features include type completion, various navigation between tags, navigation to referenced types, basic code assistance, and live templates support. XAML features include XML editing in XAML code, all three types of ReSharper's...