Geeks With Blogs
Hannes Pavelka It isn't rocket science. Well, unless of course you're NASA Misc
How to manage and handle complexity using code metrics
Managing and reducing the complexity of your software is important. Complexity makes your software more error prone and harder to maintain. I believe in this tenet and I am a disciple of the KISS (Keep it Simple, Stupid aka Keep it super simple) principle. However, the obvious question at hand is: How to measure complexity and thus identify where the KISS principle is violated ? One popular method to identify complexity is to calculate the Cyclomatic Complexity (CC). Before talking about the tools ......

Posted On Saturday, February 17, 2007 9:02 AM

Top Ten List of 2006 publishedMSDN articles
I'd like to share my top ten list of MSDN articles which have been published 2006. What follows is a completely subjective top-10 and ofcourse I can only take those articles into consideration which I have read. Customizing generated Web Service proxies in Visual Studio 2005 Deliver The Power Of Spy++ To Windows Forms With Our New Tool Improving Application Startup Time Base Class Library Performance Tips and Tricks Take Exception To Critical Errors With Custom Application Blocks The Performance ......

Posted On Saturday, December 30, 2006 2:59 AM

This setup required .net framework version 1.1.4322 but you have .Net framework v2.0
If you try to install an application with the MSI installer and you only have .Net Framework 2.0 installedyou sometimes get a message: “This setup required .net framework version 1.1.4322. Do you want to download it now?”. The error is resulting from a two custom actions inside the msi file: DIRCA_CheckFX and VSDCA_VsdLaunchConditions. If you delete those actions from the MSI file the installer won’t check for the Net Framework. Editing of an msi file is possible with the help of Orca. Orca is a ......

Posted On Tuesday, February 14, 2006 11:06 AM

How to modify a hashtable in a foreach loop
If you try to modify a collection while enumarte over it you will get an Exception : "Collection was modified; enumeration operation may not execute." Personally, I simply copy the keys: Hashtable t = new Hashtable();t.Add(1, 1);t.Add(2, 2);ArrayList a = new ArrayList(t.Keys);foreach (int i in a){ t.Remove(i);} Eric Gunnerson has another aproach. You can read it here ......

Posted On Thursday, November 17, 2005 8:16 PM

db4o 5.0 with Native Queries
The db4o open source object database is introducing the concept of Native Queries into their new 5.0 release. Native Queries are a new approach to express database queries with .Net syntax, completely without the use of strings. Native Queries are fully checked at compile time, they can be written using IDE autocompletion and they can be automatically refactored by the IDE. An example query would look like this: IList <Cat> cats = db.Query <Cat> (delegate (Cat cat) { return cat.Father.Father.FirstName ......

Posted On Wednesday, November 16, 2005 10:11 AM

Pandora Music V2.0 with unlimited free Version

Pandora Music has added a bunch of new features to their service.

Besides adding a lot of extra candy you can now use pandora for free (ad-supported).

Read all about it at the Pandora developer blog.

Posted On Thursday, November 10, 2005 7:30 PM

Roll your own search engine
The signal-to-noise ratio is still increasing. Our old habits of searching will soon fail. There are several new search engines out to make our search more personalized and thus give us a better search experience. You are probably aware of Yahoo's MyWeb 2.0 , PersonalizedGoogle , IndividualGoogle and Microsoft Start.com. But did you know about and tried Rollyo and Filangy. Rollyo allows you to take your favorite urls and create a search engine that only searches those domains Filangy remembers every ......

Posted On Tuesday, November 8, 2005 9:26 PM

Top 10 replies by developers when their programs don’t work
This is hilarious (via Enrique Ortiz). Replies by developers when their programs don’t work: 10. 'That's weird...' 9. 'It's never done that before.' 8. 'It worked yesterday.' 7. 'You must have the wrong version.' 6. 'It works, but it hasn't been tested.' 5. 'Somebody must have changed my code.' 4. 'Did you check for a virus?' 3. 'Where were you when the program blew up?'2. 'Why do you want to do it that way?' 1. 'I thought I fixed that ......

Posted On Tuesday, November 8, 2005 4:38 PM

The first internet worm and the first commercial firewall
If you are interested in the history of internet security I can recommend you to read this article on the cisco homepage. Two interesting facts: On November 2, 1988, something happened that changed the Internet forever. Reporting this incident, Peter Yee at the NASA Ames Research Center sent a note out to the TCP/IP Internet mailing list that reported, "We are currently under attack from an Internet VIRUS! It has hit Berkeley, UC San Diego, Lawrence Livermore, Stanford, and NASA Ames. Of course, ......

Posted On Saturday, November 5, 2005 10:38 AM

Declaring Properties on interfaces

Even though this is probably obvious I had to look it up today.

Declaring a property on interface in c# works like this:

public interface IFoo
{
   string Value { get; set; }
}

 

Posted On Wednesday, November 2, 2005 8:46 AM

Copyright © Hannes Pavelka | Powered by: GeeksWithBlogs.net