|
|
Front Page News
-
|
I was trying to write some debug memory allocation routines the other day and I decided I would attempt to use placement new. I hunted down some useful references: Placement new & delete informIT: C++ reference guide jaredpar's WebLog If you are not...
|
-
|
So exactly how should you compare file and path names in .NET programs? Ordinal case insensitive comparisons are the correct approach according to this MSDN article ....
|
-
|
My colleague Sergey just showed me a useful tool for getting CPU information on your Windows hardware system called CPU-Z ....
|
-
|
This Personal Rapid Transit (PRT) proposal is still one of the coolest ideas for improving the commuting situation that I have seen. Microsoft has a really large corporate campus with buildings spread out over many square miles. Going to meetings in another...
|
-
|
I recently had the need/desire to dynamically generate some code in .NET. It's not something you tend to do a lot unless you are creating a compiler, so it was an interesting experience. In the end it didn't solve my problem, but it was educational none-the-less....
|
-
|
I have to blog about this before I do anything else. I just found out that if you specify a configSection in your .exe.config file it must come as the first element in the configuration section! I had done this: <? xml version ="1.0" encoding ="utf-8"...
|
-
|
Wired Magazine did an article on emergency readiness. I could not for the life of me find it on their web site, so here's what they recommend: The House Kit Sealed in plastic trash can or chest. For use in catastrophic situations, like earthquake, fire,...
|
-
|
In December 2006 Discover Magazine did an article on the 25 greatest science books of all time. You can find them here . The list was interesting, but let's be honest how many of us have actually read anything by Charles Darwin? The reader's response...
|
-
|
While I'm waiting for some files to copy around I thought I'd record my recent PowerShell learnin'. Somtimes a command, like Get-ChildItem can return either an array of results or just a single one. You can use the @ symbol to cast the result into an...
|
-
|
Starting to get the hang of PowerShell. Today I wanted to quickly count the number of lines in some source code. There's a simple implementation and then there's a better one . In the end I settled on: $count=0;gci . -i *.cs,*.cpp,*.h -r | %{$count +=...
|
-
|
Still struggling to gain traction with PowerShell. I've stopped myself running the CMD prompt by default, and I've installed it on all my test VPC machines. Firstly, I recommend you download the Windows PowerShell Graphical Help File . It's an old school...
|
-
|
My friend Scott asked me the other day how he might go about changing the desktop wallpaper programmatically. It's one of those things that is still buried in the native Windows Win32 API. The call you need is SystemParametersInfo and the action you need...
|
-
|
I just got bitten by a static initialization problem - again. There are two things you've got to be careful of in .NET when using statics (i) threading issues and (ii) initialization ordering issues. I'm not going to go into a great long discussion about...
|
-
|
If you found this entry, you are either a Dvorak keyboard typist searching for help or you are a strange individual who reads my blog but never leaves a comment. If you are the former then the link you are looking for is to this Microsoft Help & Support...
|
-
|
Amusing Halo 3 videos are starting to permeate the web. If you are not a video gamer read no further. If you are and you aren't playing Halo 3 ... ARE YOU CRAZY! Go buy a copy. A cool feature is that you can take video of a game and publish export it...
|
-
|
I've held off moving to Windows PowerShell. The reason is that I came up with a solution for running C# source directly from the command line as script a few years ago using CodeRunner .NET , and I've haven't had a pressing need for more functionality....
|
-
|
I'm a big fan of Dr. Who . I'm not going to apologize. It's campy British sci-fi, with low budgets, cheesy plots and terrible acting, but I love it. The current series, with David Tennant, is the best ever. In my area it's being shown on CBC. Catch it...
|
-
|
I just got back from my summer vacation. We spent a week in Puerto Rico (more on that in another blog) and a week at home. I always like to have a project that has nothing to do with computers, so I built a garden shed. I didn't use a plan or kit or anything,...
|
-
|
Sorry, I'm on a bit of a Top Gear binge at the moment. Watch the fastest stupid car ever - I laughed so hard I was crying....
|
-
|
My company (Microsoft) is currently digging a really large hole just on the other side of the freeway from my office. It's reportedly going to be the second largest underground car park in the western hemisphere. Here's a recent TV spot about it . Parking...
|
-
|
I watched three brilliant Top Gear episodes this weekend on You Tube. The first was a review of the Ariel Atom . Watch Jeremy's face deform under the sub-three second acceleration . His comments about middle aged men on motorcycles cracked me up. The...
|
-
|
OK, in my opinion this is a bit more than a power tool - it's an entire product. If you are using Team System you need to download and set up the Team System Web Access Power Toy that we just released. Team System Web Access (formerly known as TeamPlain)...
|
-
|
Every so often I need get a crash dump for a crashing native process, and I always forget where to find the tools. The easiest to use is ADPlus which is part of the Debugging Tools for Windows . The best write-up I've found on other alternatives and how...
|
-
|
Chris Sharma is certainly an amazing rock climber. He isn't massive or particularly graceful, but he has amazing determination and arm strength. Here is a selection of my favorite videos featuring him on YouTube. Dreamcatcher . A beautiful traverse line...
|
-
|
If you haven't already, watch this amazing amateur video on You Tube of a baby water buffalo getting attacked by a lion. The buffalo is then also attacked by an alligator. Amazingly the buffalo herd arrives and fights off both attackers, and the baby...
|
|
|
|