Knowing .NET Sometimes a coder who writes, sometimes a writer who codes. Formerly, a coder who edited magazines.

January 31, 2006

Jolt Awards and Some Worthy Non-Finalists

Filed under: Reviews,SD Tools — admin @ 2:58 pm

As always, the last weeks of January are present-time for those of us who are judges in the Jolt Awards, which I launched 16 years ago (how old I am. How very old.)

This year, two books that I thought were exceptional didn’t make the final ballot: Vincent Maraia’s The Build Master and Michael Scott’s Programming Language Pragmatics. Maraia’s book is a look into the problems of operating an automated build system in medium- to large- settings (essentially, if the software takes more than a few minutes to compile and link) and, from the discussions of the judges mailing list, its absence from the finalist list is a real surprise. Scott’s book is more academic, but is a great discussion of a topic near and dear to my heart, which is programming languages as a worthy subject of study in and of themselves. Usually, such studies are integrated into discussions of compiler design and implementation, but Scott rightly sees these as two different subjects.

Of the books that did make the finalist cut, so far I’m most impressed by Peter Seibel’s Practical Common Lisp. I haven’t programmed in Lisp since I edited AI Expert magazine back in the early 90s and I’ve never been tempted to pick it up again — until I read Seibel’s book. He does an exceptional job of introducing (or reminding) readers to Lisp’s unique expressive power.

January 14, 2006

Stream DivX to XBox360

Filed under: Uncategorized — admin @ 10:28 am

casey chesnut has solved the issue of streaming DivX to the XBox360, apparently even getting decent framerates over 802.11g. Since I recently upgraded to a “pre-N” wireless network (Linksys wrt54gx2 ? highly recommended), I am totally psyched.

Geometry Wars Is A Multicore Program?!

Filed under: Uncategorized — admin @ 10:16 am

I love Geometry Wars on XBox360; it’s a great arcade-style game that’s perfect for killing a couple of minutes. Amazingly, though, it’s apparently one of the few games that distributes its computation across the XBox’s three cores.

I find it wildly amusing that something that is essentially an updated “Asteroids” is using three times the computational power of Project Gotham Racing 3.

January 13, 2006

GetDelegateForFunctionPointer() across process boundaries?

Filed under: Uncategorized — admin @ 6:28 pm

O Lazy Web, I Invoke Thee:


I am trying to call a function in a DLL that I’ve injected into an arbitrary number of processes.


I need to call a function on that instance of the DLL running in the target process. So, I tried…


//hookedProcesses == List<ProcessModule> as you’d expect

//myDll == string initialized to path of my injected DLL, as you’d expect

//delegate void VoidDelegate() as you’d expect

foreach(ProcessModule process in hookedProcesses)


   if(module.FileName == myDll)


    IntPtr dllHandle = Interop.GetModuleHandle(filename); //Interop to Win32 GetModuleHandle()

    IntPtr funcPtr = Interop.GetProcAddress(dllHandle, “MyFunction”); //Interop to Win32 GetProcAddress()

    VoidDelegate func = (VoidDelegate) Marshall.GetDelegateForFunctionPointer(funcPtr, typeof(VoidDelegate));



   func(); //

January 10, 2006

I’ve got a docking cradle in my pants

Filed under: Offtopic — admin @ 3:44 pm

Because “I’ve got a joystick in my pocket” is way too obvious to describe Levi Strauss’ iPod-ready jeans.

Time to buy a second-hand Mac?

Filed under: SD Tools — admin @ 10:03 am

Apple announced the first Intel-based Macs today. Presumably, this will drive down the eBay-arbitrated fair market value of second-hand Macs, especially the FMV of what had previously been higher-end machines but which would now be “good enough to develop on,” machines. Hmmm…

Windows More Secure?

Filed under: Uncategorized — admin @ 10:00 am

Via Joe Mayo, Via Sam Gentile “Reported by CNET, of all the CERT security vulnerabilities of the year 2005, 218 belonged to the Windows OS. But get this – there were 2,328 CERT security vulnerabilities for UNIX/Linux systems.”

My initial reaction to this was that it was apples to oranges, but after examining the original CERT bulletin, it seems to be a fair comparison. Both lists include vulnerabilities that are not in the core OS and both lists include multiple “distros” of the core OS (e.g., Win2000 & Win XP, Apple OS X & FreeBSD). While there are more UNIX/Linus distros than Windows distros, it’s also true that there are more Windows 3rd-party apps, so I think that’s a wash.

January 7, 2006

C for C# and Java Programmers

Filed under: Uncategorized — admin @ 11:06 am

From the MAKE newsletter:

there’s a need for a Java-to-C guide–not just the language, but how it’s really used in major apps, how to account for everything you’re importing, best practices like unit testing, packaging, exception handling, etc.

It seems perverse at first, but the more I think about it…

January 3, 2006

IronPython 1.0 Beta 1 Is Released

Filed under: SD Tools — admin @ 8:40 am

Huzzah! IronPython 1.0 Beta 1 is released:

January 2, 2006

Only 1% of JBoss / Eclipse code from unpaid developers

Filed under: Uncategorized — admin @ 2:09 pm

Andrew Binstock , my colleague at SD Times has a fantastic column on the realities of OSS development. The idea of a community that contributes code (as opposed to contributing bug reports) is largely a myth.

Older Posts »

Powered by WordPress