|
|
|
June 2004 - CraigBlog
-
Run this code: using System; public class App { public static void Main() { Decimal a = 57675350989891243676868034224m; ShowModulus(a, 7); Console.WriteLine(); ShowModulus(a, 8); } public static void ShowModulus(Decimal a, int m) { for (int i = 0; i <...
-
Update: Be sure you read Tim Ewald's post about Doc/Literal/Bare - as I explain elsewhere , this post tells only half the story, and in fact mostly misses the point. My, my, it has been quiet around here for the last week, hasn't it? My excuse is that...
-
Oh, I so want this . [ via Steve Rodgers ]
-
If I knew JoeN personally, here's what I would say to him: Is there any science in this ? Or just your idea of what makes sense? I don't ask to be accusatory - I have a real reason. :) A few years ago, I was teaching a short .NET class at the University...
-
I was over at SysInternals yesterday, downloading a new version of the most excellent Process Explorer , and I had a bit of a look around to see what else was cool. The answer, of course, is...everything. But I was particularly impressed by PsExec , a...
-
Update : Fixed the broken image link. No content changes. When I'm writing console applications, I tend to put a try-catch block around everything in the Main loop, primarily to let me return a non-zero exit code from the application, which makes it play...
-
One of the best things about the Direct3D tutorial series that I've written is that occasionally people will email me asking for my help. I like this because I get to hear about what they are trying to do, and because it gives me a chance to solve interesting...
-
Bob Beauchemin helped me out with a little problem I was having yesterday, and I figured I'd do my part to disseminate the information. I was playing around with some software that needs a database back-end. All I have on my machine right now is some...
-
Stop reading right here if you don't like suggestive jokes. So a guy goes to the doctor. The doctor asks, “What seems to be the problem?” The guy, obviously somewhat embarassed says, “Well, it's the strangest thing, but my, um, private...
-
I called up Tim Ewald today to ask him a question I'm sure lots of people have run into before: “So, I've got an XPathNavigator, and I want to validate it against a schema. What API should I use?” He laughed, and then went on to explain how...
-
The fifth and sixth installments in the Direct3D tutorial series, are now available in Afrikaans. Thanks to Ernst Kuschke .
|
|
|
|
|
|