August 2007 Entries
There's been some discussion on the blogosphere lately, especially after Patrick Smacchia's posts on new interface for NDepend. Well, I've already said, that as much as I love this tool, it's current interface leaves much to be desired. It's a good thing that finally they are doing something about it, and in the direction I talked about in my first post (similar to Visual Studio). Only thing that surprises me is that by default NDepend will have ribbon, but you (fortunately) will be able to go to options and change it to good old menus and toolstrips. I'm not going to comment...
I took a leave for two weeks, to enjoy this last days of summer. Ironically it seems that I got a flu, I've a fever, and it seems that I'm going to enjoy it from my bed. Isn't it the leave one always dreams of? Technorati Tags: Personal
I decided that it's about time to familiarize myself with new features of .NET 3.5 and C# 3.0. And I don't mean see an overview, because I've read many times about what's new in it, and I have basic understanding of all those new goodies that new version of framework/language brings. What I mean by familiarize is understand thoroughly and that is what this "Hello World" series (hopefully) is (hopefully) about.
I'm gonna start with extension methods as this is what I've started playing with already, and then... well we'll see :)
Extension Methods are a completely new concept to OOP world (at least...
LINQ is great. It's what everyone has been talking about for some time now, and it's the biggest thing that comes with .NET 3.5. But I guess that those saying that with time, people will appreciate other new things in C# 3.0/VB9.0 were right. I'm not even sure that LINQ will be THE feature I'm gonna use the most. For some time now, in my spare time I've been working on a project that I'm going to publish up on codeplex. I know that I've chosen the wrong order here (first, created site for project, then started talking about it,...
Today I needed to parse colors encoded as string in the form 0xRRGGBB where RR GG and BB were red green and blue values of given color encoded in hexadecimal. Problem I stumbled upon, was, what if I have a number like: 0x008000
There was no problem converting it to System.Drawing.Color class, but back to string.
I used code like below:
string colorString = string.Format("0x{0:X}{1:X}{2:X}", color.R, ...
The strangest thing happened to me today. I left my PC running yesterday when I left from work, I came today and started working only to find out that my keyboard shortcuts were not working. I went to Tools-->Settings and wanted to re-map my keyboard scheme, but instead of seeing Visual Studio Settings window, I saw "There was a problem and application will be terminated, do you want to send a report to Microsoft bla bla bla" window. "Ok", I thought, "shit happens", I ran Visual Studio once again... Tools-->Settings... Error. Hmmm... maybe restarting Windows would help. Well, not...
I've been using Regionerate for some time, and I'm addicted to it. Literally when I have to write some code on a computer that doesn't have Regionerate installed I feel odd. This tool is simply pure honey and nuts. Only thing I would change is it's default keyboard mapping (ctrl+R for running it), because it collides with Visual Studio/ReSharpers "Refactor" shortcut. So every time I install it I have to go to VS settings and change it to something else (alt+3 at the moment).
Main reason for this post however is not to praise Rauchy and his tool, but to...