Category Archives: Uncategorized

Hyperthreading Explained

Near the end of .NET Rocks show #582 Richard Campbell explains hyperthreading in such a way that I feel like a hardware expert. The guest, Scott Hanselman, has a 6 core hyperthreaded processor, which shows up at 12 cores in … Continue reading

Posted in Uncategorized | 1 Comment

Acer Aspire One – fix for running very slow

After reformatting Allison’s Acer Aspire One netbook for the third time, and it suddenly running really slow again shortly after the last reformat,  It seems I found a fix for the problem: http://blog.ryankopf.com/2009/02/acer-aspire-one-running-slow-no-more.html Thank you, Ryan Kopf, whoever you are … Continue reading

Posted in Uncategorized | Leave a comment

Thought’s on Greg Youngs Command/Query Separation

I really enjoyed watching this video on domains and command/query separation: http://www.infoq.com/presentations/greg-young-unshackle-qcon08 Here are the short quotes that had the greatest meaning to me: State transitions are an important part of our problem space and should be modeled within our … Continue reading

Posted in Uncategorized | Leave a comment

NHibernate with LINQ: Error with String Comparisons in VB.NET

If you’re in VB.NET using LINQ to NHibernate and you get this error on a simple query: System.ArgumentException : Expression of type ‘System.Int32′ cannot be used for return type ‘System.Boolean’ Then I’ve got an explanation and a fix for you. … Continue reading

Posted in Uncategorized | Leave a comment

Domain Driven Design (DDD): An Exercise in Value Objects

I’m reading the Eric Evans book on DDD and wanted to catalogue some notes as I’m going through it to help me clarify and solidify what I’m picking up from the book. DDD, as I understand it, encourages programmers to … Continue reading

Posted in Uncategorized | 1 Comment

Ignorance Is Bliss…

…in the short term. In the long run, usually not so much.

Posted in Uncategorized | Leave a comment

Learn Something New Every Day

Timmy, my eight year old son, was going to feed the fish and couldn’t get the cover off the can. So he turned it sideways to get better leverage, and pulling hard, succeeded in getting the cover off. The can, … Continue reading

Posted in Uncategorized | Leave a comment

You’ve gone too far…

How do you know how far you can take something until you’ve taken it too far… at least once? This little “proverb” (if I can call it that) has limited applicability, and could be grossly misapplied, but has some relevance … Continue reading

Posted in Uncategorized | Leave a comment

Smarter Computers

Warning: this post is a rambling whose content to noise ratio may be quite low. Follow along with me as I consider a simplistic view of a little piece of software.  The point of this story is how many little … Continue reading

Posted in Uncategorized | Leave a comment

Storing Enumerations in the Database

Storing Enumerations in the Database Given an enumeration (any non-bitmasked enumeration, really), how should members of this type be persisted in the database? public enum ClockStyle { Digital, Analog } ClockStyle.Digital will have an implicit numeric value of zero, ClockStyle.Analog … Continue reading

Posted in Uncategorized | Leave a comment