New theme again

I got fed up with the old theme, so I decided to try something else. I’m pretty pleased with the result. Only thing I’m not liking so much is the sidebar. The archive list is getting a bit too long and without it, I’ll have to put something else in the sidebar or move it below the logo.

Mr and Mrs Andersson

That’s right, she said yes! ;-)

Mr and Mrs Andersson

Office update

Remember this? Well, I’ve managed to get rid of one computer and tidy up the rest of them so that it now looks like this:

My improved office

A huge improvement, if you ask me. Now I can actually see the person sitting in the chair on the opposite side of the table.

Ridley Scott finally returns to science fiction

Two of my favorite sci-fi movies of all time are Alien and Blade Runner, both the result of the genius that is Ridley Scott. I could hardly contain my excitement when I read over on io9.com that Ridley is getting back in the sci-fi saddle. This time, he’s going to tackle the film adaptation of Brave New World by Aldous Huxley. Leonardo DiCaprio, who owns the rights to the movie, will likely be involved in some fashion.

Plans to make the movie have been around for a long time, but “the technology was not there to make it look convincing”. If there’s anyone suitable for making things look convincing, it’s Ridley Scott. Alien is almost 30 years old now and it still freaks me out.

For those of you interested in the works of Ridley Scott, I recommend the Alien Quadrilogy box set as well as the Blade Runner collectors edition. Both contain lots of extra material and behind the scenes footage from when the movies were made. I particularly enjoyed “The Beast Within: The Making of Alien”.

MaintainScrollPositionOnPostBack

At work, I’m currently in the process of migrating a relatively large (~30,000 lines of code) ASP.NET 1.1 project over to 2.0. While doing this, I have picked up a few cool things in ASP.NET 2.0. One of these is the Page.MaintainScrollPositionOnPostBack property. Instead of trying to describe what it does, I’ll copy and paste from MSDN:

When Web pages are posted back to the server, the user is returned to the top of the page. On long Web pages, this means that the user has to scroll the page back to the last position on the page.

When the MaintainScrollPositionOnPostBack() property is set to true, the user is instead returned to the last position on the page.

Now, I’m sure the behind-the-scenes implementation is this isn’t as pretty or as elegant as something you could cook up yourself, but dammit, it just works. In my case, the app I’m working on is for an intranet where we have full control over the browsers being used and accessibility isn’t a big issue. The app itself has lots of really large forms with tables, drop-down lists and submits. The ability to have users submitted back to the exact spot on the page where they submitted the form is a godsend.

Useful sites

Looking for online software downloads?

Download source code, PHP, ASP, CGI Scripts at Source Code Online.