Welcome to RightHand's community place Sign in | Join | Help

junij 2007 - Posts

Can you spot the problem?

Check out this code: static void Main( string [] args) { string test = null ; Console.WriteLine( " Is test null: " + test == null ); Console.ReadLine(); } And guess the output without running the code.
Posted by Miha Markic | 7 Comments
Filed under:

iTunes developers should start using iTunes

If you have an iPod you are more or less stuck with iTunes. If iTunes was perfect this wouldn't be that bad. However, it isn't perfect, far from it. Apple is creating superior software, right? Wrong. Just take for example this problem I've found. Let's
Posted by Miha Markic | 1 Comments
Filed under:

To Dispose or not to Dispose

The question whether "I need to Dispose some object" appears fairly often in newsgroup, wrong answers and myths appear even more often. So I thought of writing my comments on the issue - it is not supposed to be a detailed and complete reasoning and I
Posted by Miha Markic | 0 Comments
Filed under:

Windows Genuine Advantage is legal user's worst enemy

I've never ever been a supporter for online activation process for any product. Ever. On the one hand it is usually cracked the same day it is released, so no big benefits against piracy. On the other hand it is only a burden (at best) for a legitimate
Posted by Miha Markic | 2 Comments

Intel Matrix Storage driver, production version 7.5.0.1017

Intel has put its Matrix Storage driver, official production version 7.5.0.1017, online. Among other improvements, it is supposed to fix iTunes/QuickTime problems for good. I have to say: finally - it was about time! Hopefully this ends months long saga
Posted by Miha Markic | 3 Comments
Filed under: ,

SQL Compare 6 beta

Red Gate is preparing SQL Compare 6 product. The interesting thing about this version is that they are getting ready for supporting source control for storing database schemas. Unfortunatelly the source control support won't be a part of version 6 but
Posted by Miha Markic | 0 Comments
Filed under:

Answer to Dictionary<> fun trivia

Here is an answer to my previous post about Dictionary<>. The answer is yes, it is possible that added instance can't be found later on. Consider this, a bit modified, piece of code: class Program { static void Main( string [] args) { Dictionary
Posted by Miha Markic | 2 Comments
Filed under:

Dictionary<> fun

Here is a brief trivia. Take a look at this piece of code: Dictionary < Tubo, object > dictionary = new Dictionary < Tubo, object > (); Tubo tubo = new Tubo(); dictionary.Add(tubo, new object ()); // some code here and there bool keyExists
Posted by Miha Markic | 2 Comments
Filed under:

Want to build your own IDE?

No problem. Microsoft announced Visual Studio Shell product . Just use the pieces and parts of Visual Studio, put them together and voila, there is your IDE. At least theoretically. Anyway, this is an interesting and I would say very welcome move even
Posted by Miha Markic | 0 Comments
Filed under:

Accessing controls in OnPreInit method might be tricky when MasterPage is used

Today I've come across an odd problem. I had to set SkinID property of a control dynamically and this step can be achieved only during PreInit event (OnPreInit method). It is a no brainer implementing the code on standalone Page. protected override
Posted by Miha Markic | 0 Comments
Filed under: ,

Comparing strings

Comparing two strings is easy and simple, right? Wrong. Check out this article which deals with string comparison in .net 2.0. As an exercise guess the output of this piece of code: Thread.CurrentThread.CurrentCulture = new CultureInfo( " tr-TR "
Posted by Miha Markic | 2 Comments
Filed under:

Microsoft ORM saga revealed

Matt Warren talks about what happened to ObjectSpaces, WinFS and why Microsoft is going with LINQ to SQL as sole ORM product in Orcas wave. Very interesting read I have to say and kudos to Matt for such a revealing post. It actually reveals many (odd
Posted by Miha Markic | 0 Comments
Filed under: ,