/egilh

Learning by doing

May 2005 Entries

LZO is an impressive real time compression library. I got great performance improvements when compressing XML messages several years ago. The following graph shows the results on a 10Mb LAN with multiple clients using lzo 1.08: The X-axis shows the different compression configurations. "Val 0" is the original code that does not use any compression. The other values show the results with different compression levels.: 81: very fast but low compression 111: standard compression 982: high compression I expected a performance improvement but the results impressed me: it uses less cpu, since it does not have to manage a lot of large strings drastic increase in ...

I started reading “Getting Things Done” this month as an eBook on my Pocket PC. I completely agree with its main point: get the to do items of your mind as soon as possible and onto a trusted medium (i.e. the Pocket PC). I have done if for years (since I got my first PDA, a Palm Pro). It frees up the mind to work on more creative issues (a very important aspect if you are an architect) and in my case it makes me sleep better. But, in the past I did two things wrong: Everything went into the to do list, even reference material that did not require any further action. As a result I passed 1.200 items in my task list :-( With a large to do list it is tempting ...

It is great news that Phil Haack has forked the .TEXT code base and created subText and I cannot wait to try the first official release. I am sure Community Server is great, but I gave up upgrading and friends who have tried it went back to .TEXT. Several neat improvements are under development. I had a look at the latest .TEXT code base when I got hit by comment spam earlier this year. It looks fairly different from the 0.95 version my site is currently running so I did not risk installing it. I ended up implementing a customized version of DB based .TEXT anti spam system using MT-blacklist.. There are several changes I will submit when I get around to explaining ...

The latest adds on TV for Renault Scenic plays Buddy Holly by Weezer in the background. I will never forget that song or the video with scenes from Happy Days as it was on the Windows 95 CD. I played it countless times at full volume during the final rush for RTM while making nightly international builds of Windows 95. You can view the video on the Weezer site

I just had a serious blog feed overdose. Things have been busy at the home front so I have been collecting RSS feeds rather than reading. The result? 430, mostly unread, rss feeds in my bloglines account! Time to do some spring tidying and get down to a manageable number of feeds. I have deleted most of the high traffic feeds with a high noise/value ratio and ended up with the following feeds in my "read first" category: Larry Osterman's WebLog: I learn something new everyday Bordoni my esteemed colleague that knows more about gadgets than I ever will jkOntheRun: master of mobile and tablet PCs The Red Ferret Journal: Loads of cool stuff I still have 300 other ...

Windows OneCare will go in beta soon, but not after being tested on lab rats Microsoft employees first. OneCare includes: Antivirus A real two way firewall Data backup/restore If you feel lucky, you can even nominate yourself as a tester: Sign in to BetaPlace Use OneCare as the Guest ID (use the “Sign in as Guest“ link in the top level menu) Via [B2Tblog]

.TEXT replaces links to images on the local site (http://www.egilh.com/blog/images/something) with a relative urls (/blog/something). This is a feature in some scenarios as you can move the blog to a new domain without problems. It causes a problem for me though: some RSS readers are not smart enough to render images with relative links. The problem got worse after I moved my feeds to FeedBurner as my RSS feed http://feeds.feedburner.com/egilh uses relative urls to images (/blog/images/something). Some RSS readers use the link element in the RSS to correctly compose the url as http://www.egilh.com/blog/images but not all. The links are changed before the post is insert ...

There are many benefits of using FeedBurner but the main reason I have moved my RSS feeds to FeedBurner is to free up some bandwidth. Please give me a shout if you have any problems with the new feeds. I had a moment of panic when I did not find any RSS.aspx or atom.aspx files in my blog directory before I remembered that .TEXT uses HttpHandlers. Three steps later and my .TEXT RSS feed was moved to FeedBurner: Create two new files: rss.aspx and atom.aspx. Both of which should have this content: <%@ Language="C#" %><%Response.Redirect ("http://feeds.feedburner.com/YOUR-ID-HERE");%> Modify Web.ConfigChange: <HttpHandler pattern = "^(?:\/(\w|\s|\.)+\/rss\.aspx)$" ...

SQL Server Central gives away the the best, most read and most popular articles in eBook format. The Best Of SQL Server Central Vol 1 and The Best Of SQL Server Central Vol 2 cover a lot of issues that SQL Server developers and admins should know like design, performance, administration and security. It also covers "myths" like the Count(*) vs Count(column name) ...many people believe COUNT (columnname) is faster than using COUNT (*), because COUNT (*) would have to read all columns of each row (just like executing a SELECT * FROM MYTABLE statement), while COUNT (columnname) only need to read the specified column. This is not true though, for several reasons… The ...

apress gives away several free eBooks on development: COM and .NET Interoperability Programming VB .NET: A Guide For Experienced Programmers Dissecting a C# Application: Inside SharpDevelop A Programmer's Introduction to PHP 4.0 Writing Perl Modules for CPAN Via [Gianluca's Blog]

The Regex Builder is a great help when you work with regular expressions. It evaluates the regular expression in real-time as you enter it, displays the matches and highlights the matching text: Regex Builder v1.10 has several new features expression matches are highlighted support for Regular Expression XML files you can run all or part of an expression

I have no doubt that a 9 year old passed a MCP exam. It does not surprise me one bit as I have worked with Microsoft Certified Solution Developers that were not able to write a simple for loop (note that I say developers) Don't get me wrong: there are a lot of smart people with Microsoft certifications. But having a certification does not mean that someone is smart or knows how to do something. All it shows is that they remembered the answer to the majority of the test questions (or brought along the book).

I try to keep up to day with what the different vendors have to offer for developing mobile applications. I was hoping to check out the Extend your applications to mobile devices web cast by IBM but I it looks like I will have a hard time logging in as I am a bad dancer:The contents look pretty interesting though, so I hope I pass the rain dance required login without a web cam: Giving the mobile enterprise easy and immediate access to information and applications is the key to improving productivity of the mobile workforce. Using standards-based middleware, IBM enables application developers to easily build rich disconnected client applications while leveraging prior ...