17 באוקטובר 2007
Here's a frequent problem I'm giving another shot at. We all browse the web and every now and then, like every day, find something that's worth keeping. I've long ago quit using browser integrated bookmarks. I just hate it. I haven't gotten around to try any of the online solutions such as del.ico.us and others. But maybe I should. A while ago I started to write myself emails with a link to the page I wanted to keep. I'm using Outlook 2007 on Vista so I get excellent index support and finding the emails later is a snap. In...
A topic that never seem to get old is the choice of your programming font. Every now and then major dev and tech blogs review and revisit font choices for programmers. Two weeks ago Jeff Atwood did a recap of good programming fonts. He did a pretty extensive review in 2004 as well. Scott Hanselman is another top blogger who often shares his opinions on choosing a font for Visual Studio. (There are so many posts on Fonts on Scott's site that there's no point in linking to them. Just go to his blog and search for font.) The...
11 באוקטובר 2007
It's been over a year since I started this blog. And I like it. I like the online presence it gives. I am gaining a few new contacts and friends and in general it's a cool thing. After the last blogger's meeting at the local Microsoft offices I was full of motivation. I have written more posts in the last week than the last 3 months. (Only 6, but anyhow) I signed up with Feedburner and I've been tracking stats. Slowly growing... Today I decided to check up on the number of page views of my CodeProject articles. I...
10 באוקטובר 2007
I just finished reading through the latest version of Juval Lowy's C# Coding Standard which I picked up through Maor David's blog. Juval does make the point that the standard document emphasizes breadth as opposed to depth, but some things should be explained. I'm not claiming to be anywhere near Juval's level of expertise, but I think it is important to read experts opinions with a critical eye. There's at least one part of the standard that is IMHO either wrong or misleading depending on how you look at it. It could definitely lead to subtle bugs.
But before...
9 באוקטובר 2007
A few posts ago I mentioned that I want to come up with a theme for a series of blog posts.
Here are my thoughts and It's important for me to hear what you think.
New technologies are sexy, cool and fun to play with. Despite that, I don't want this blog to be another what's-cool-right-now blog or what's hot off the MS production line. There are many really good blogs out there and I don't think I have anything substantial to contribute in that area.
I feel much stronger writing about design principles and code. I'm thinking of starting a series that will...
For some time I have been subscribing to Sara Ford's blog where she shares useful tips for Visual Studio users. One of the tips she shared was using Ctrl+K, Ctrl+C (That is a Ctrl+K followed by a Ctrl+C) to comment out the current selection. Ctrl+K, Ctrl+U will do the reverse and remove the comment. Cool I thought, but not very useful to me since CodeRush lets you comment and uncomment using the ' in VB or the / in C#. But then I was in for a surprise. I do a lot of Xml configuration file editing. Adding and...
You have just been assigned the task of writing the code to transfer base64 encoded files over the network. No big deal right. Just that the requirement didn't specify the size of the files. So full of ignorance you write the following code. (Ok, not you, but I did) Private Function FileToBase64(ByVal filePathName As String) As String
Dim contents As Byte() = My.Computer.FileSystem.ReadAllBytes(filePathName)
Return System.Convert.ToBase64String(contents)
End Function
Everything looks ok and you're getting ready to put the system under some stress testing before releasing the little...
7 באוקטובר 2007
The last 6 months I've been in a kind of reading frenzy. The goal has been to improve OOD skills and extend the knowledge of Design Patterns. The first task was to determine which books to read. I wanted to re-read a few books that I have read previously and I was looking for a few new books as well. After a few refinements the list was as following: New books: Title Author My Rating (Ok,Good,Excellent)and Comments Agile Principles, Patterns and Practices in C# Robert C. Martin Excellent Test Driven Programming by Example Kent...
2 באוקטובר 2007
Uncle Bob of Object Mentor has written a post on the problems of diverse styles of development in software projects.On the selection of style he writes: "The problem is, we know that no one style, vision, philosophy, or method is “right”. This knowledge makes us timid. We tolerate other people’s styles and attitudes rather than insisting on a single style and vision for the project. We feel that we have no right to insist on one particular way of doing things, and so we adopt a politically correct viewpoint regarding software." While I agree on most of the...