Geeks With Blogs

News INETA Community Speakers Program
GeeksWithBlogs.net: WTFNext's hosting!

View Stacy Vicknair's profile on LinkedIn


WTF Next? Dev ramblings from a master of nothing. December 2008 Entries
.NET Tip: Regular expression "/d" is more than just 0-9
In Java, this is not the case as far as I know. However, when working with regular expressions in .NET, be weary of just slapping /d in when you need a number alone. Just like Char.IsDigit isn't just numbers, /d follows suit. The reason is that /d and Char.IsDigit are both validating against the Unicode designation "Nd". This stands for number decimal digit, but does not limit itself to just 0-9. If you're using regular expressions to begin with, you probably already realize that it is fairly easy ......

Posted On Tuesday, December 30, 2008 8:38 PM

.NET Tip: Char.IsDigit revisited
In a previous .NET Tip, I compared IsDigit to IsNumber for parsing numbers from a string. I wanted to point out that it is true that Char.IsDigit does only get decimal digits, but to further elaborate that this isn't just 0 through 9. Sure, 0 through 9 are the decimal digits that most of us would consider the only ones. However, with the globalization being a major push for .NET, we've got to think outside of our local scope. Char.IsDigit will also pick up other culture specific decimal digits. What ......

Posted On Tuesday, December 30, 2008 2:32 PM

SQL Server 2000 Tip - Protocol error in TDS stream
This tip might not fix everyone's issue, but for the problem I was facing today this worked out just fine. We have a scheduled weekly DTS package that is failing for the reason specified in this title: "Protocol error in TDS stream". For weeks we've just been running the thing manually, but that's not a solution, just a delay of the problem. I decided to investigate. I found an article on the SQLTeam.com forums that helped get this working finally. For us, all that was necessary was to switch the ......

Posted On Monday, December 29, 2008 12:40 PM

25% off plus free second shot on 070-536
Looking for a good deal on your first exam towards a handful of MCTS's? Give the MSDN's Ramp Up program a shot. After completing any of the tracks you will get the following great discounts. 25% off exam plus one free retake if you don't pass the first time for Exam 70-536 only: TS: Microsoft .NET Framework Application Development Foundation, the first of the MCTS Certification exams 50% off on select E-Learning collections: Collection 5160: Core Development with the Microsoft .NET Framework 2.0 ......

Posted On Monday, December 22, 2008 3:28 PM

Free VB Coding Standards Reference Document
Clint Edmonson over at http://www.notsotrivial.net put together a collection of language specific coding standards reference documentation. This is a great starting point for your organization or a good resource to evaluate your current standards. View the article and get the goods here: http://www.notsotrivial.net... Technorati Tags: coding standards,VB.NET,C#.NET ......

Posted On Monday, December 22, 2008 2:46 PM

Microsoft Exam 070-536: How I've prepared
Tomorrow I'm taking the 070-536 exam. This will be my first Microsoft certification exam, and I'm hopeful to pass but I won't be terribly surprised if I do not. From what I've seen around the forums online and other blogs, this exam is not one that is a breeze. So, here's a look at how I've prepared, and maybe some helpful links for those of you looking to take this exam in the future. After I take the test tomorrow I will review how I could do better, and what might be better advice to those looking ......

Posted On Friday, December 19, 2008 10:03 AM

.NET Tip: Match.Groups starts at 1 not 0
I'm currently studying for my first Microsoft certification exam, the 070-536, and during the process I came across this small quirk. Although most object arrays or collections in VB.NET start at 0, the Match.Groups collection starts at 1. This could potentially be a small frustration for those who don't use regex that often (especially with the added need to extract the information instead of just validating it). So, if you are extracting information using regex in the future, keep in mind your ......

Posted On Monday, December 15, 2008 1:37 PM

.NET Tip: When to use Char.IsDigit versus Char.IsNumber
Char.IsDigit and Char.IsNumber are both methods within the System namespace. The methods themselves are almost confusing in name at first glance. You might think that they do the same thing, but then why have both? Well, because they don't do the same thing. IsDigit refers to only the decimal digits whereas IsNumber can refer to anything in the numeric Unicode category. So, if you just want decimal, stick with IsDigit. Otherwise, you'll be getting a lot more than you bargained for if cleaning data ......

Posted On Tuesday, December 9, 2008 3:15 PM

The improvements I take for granted in .NET 2.0 or greater
Sadly, our web server here at work is still running ASP.NET 1.1. Sigh. This hasn't been a problem for me, but this latest project requires a lot of work that we've done in newer versions. Also, I'm growing soft and using the improvements often. As a result, here's a list of improvements I really miss now that I'm having to work in 1.1 again: Code Snippets. I was working on a class to decrypt our query strings, and all of a sudden my snippets are completely missing! Not really, they just didn't exist ......

Posted On Tuesday, December 9, 2008 10:10 AM

Stuff that rocks: g-speak, the Minority Report-like operating environment
On the Community Credit forums there was mention of this really cool spatial operating environment likened to the ones in Minority Report. Visit http://www.oblong.com for a video demonstration, which is way awesome. From their site: Oblong Industries is the developer of the g-speak spatial operating environment. The SOE's combination of gestural i/o, recombinant networking, and real-world pixels brings the first major step in computer interface since 1984; starting today, g-speak will fundamentally ......

Posted On Wednesday, December 3, 2008 12:12 PM

The Gift Procurement Lifecycle at the Holidays
Like it or not, if you are purchasing gifts during the holidays, you're playing a miniature game of requirements analysis. Your niece Suzie isn't just getting her new (hopefully favorite) doll and your children aren't just getting the next thing that'll be all over your house, they are receiving the final product of their own miniature project, and you happen to be the project manager. Sure there won't be SCRUMM meetings, or code reviews, and no formal requirements analysis (well, at least in my ......

Posted On Wednesday, December 3, 2008 9:26 AM

.NET Tip: Getting information from DataTable.DefaultView using RowFilter
So it may make sense to you how to fetch information from a DefaultView using RowFilter by binding the view, but what about when you just need to extract a value? After applying a RowFilter, the first inclination might be to use the DefaultView.Table.Rows to get information that is filtered. Well, that is ultimately wrong. The DefaultView.Table returns the table the view had originated from. The table you get does not have the RowFilter restrictions applied, and therefore returns the whole table. ......

Posted On Tuesday, December 2, 2008 12:38 PM

Copyright © Stacy Vicknair | Powered by: GeeksWithBlogs.net