Tuesday, January 31, 2006 |
|
|
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. |
|
|
|
|
Saturday, January 14, 2006 |
|
|
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.
|
Saturday, January 14, 2006 10:28:04 AM (Hawaiian Standard Time, UTC-10:00) | Disqus link | XBox360
|
|
|
|
|
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.
|
Saturday, January 14, 2006 10:16:31 AM (Hawaiian Standard Time, UTC-10:00) | Disqus link | XBox360
|
|
|
|
Friday, January 13, 2006 |
|
|
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));
// EVERYTHING WORKS TO THIS POINT.
func(); //ß
Causes segfault / “corrupted memory” error
What
I’m wondering is if I’m just ignorant of some Windows protection
feature that says “Hey, you can’t just go run functions across
process boundaries.”? Is there some obvious thing that I’m missing?
I almost wonder if I have to use some kind of mutex or somesuch to signal
across instances of the .DLL running in different processes?
|
Friday, January 13, 2006 6:28:29 PM (Hawaiian Standard Time, UTC-10:00) | Disqus link |
|
|
|
|
Tuesday, January 10, 2006 |
|
|
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... |
|
|
|
|
|
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.
|
Tuesday, January 10, 2006 10:00:37 AM (Hawaiian Standard Time, UTC-10:00) | Disqus link | Knowing
|
|
|
|
Saturday, January 07, 2006 |
|
|
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...
|
Saturday, January 07, 2006 11:06:14 AM (Hawaiian Standard Time, UTC-10:00) | Disqus link | Knowing
|
|
|
|
Tuesday, January 03, 2006 |
|
Monday, January 02, 2006 |
|
|
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.
|
Monday, January 02, 2006 2:09:02 PM (Hawaiian Standard Time, UTC-10:00) | Disqus link | Knowing
|
|
|
|
|
So a second ago I brought up my homepage and was surprised to see a little "Suspicious Website" button beside the address bar. A phishing site? Moi? So, the good news is that you click on it and right away there's a link that says "I'm the owner, and I want to correct this report." Okay, good points for that. The resulting form, though, is filled with "Why do you collect personal information?" "Link to your privacy statement," etc. questions that assume guilt. To top it off, they give you the hardest damn CAPTCHA I've ever seen -- something like 6 or 7 totally obfuscated letters and numbers.
In addition to being irritating, this is pretty damning of IEs antiphish technology. This is a very straightforward site that is not on a dynamic IP, runs a well-known piece of software (dasBlog), and the domain is directly registered by me. If this site gets flagged as suspicious, I can't imagine how many legitimate business sites are going to be flagged.
Update: I received an "after review, it seems you are not a phish site" email in just over an hour. Was it an automatic process or a very efficient person? Hard to say, but I suspect that an automatic "closer scrutiny" gave me a pass and then a human approved it. Still, good response to a bad situation. |
Monday, January 02, 2006 12:28:42 PM (Hawaiian Standard Time, UTC-10:00) | Disqus link | Knowing
|
|
|
|
|
|
|
| Recently Published Articles |
|
|
|
|
|
|
|
| HI |
|
|
|
|
| Archive |
| July, 2008 (9) |
| June, 2008 (3) |
| May, 2008 (1) |
| April, 2008 (11) |
| March, 2008 (11) |
| February, 2008 (24) |
| January, 2008 (20) |
| December, 2007 (18) |
| November, 2007 (25) |
| October, 2007 (27) |
| September, 2007 (16) |
| August, 2007 (28) |
| July, 2007 (46) |
| June, 2007 (41) |
| May, 2007 (23) |
| April, 2007 (26) |
| March, 2007 (23) |
| February, 2007 (27) |
| January, 2007 (36) |
| December, 2006 (31) |
| November, 2006 (24) |
| October, 2006 (36) |
| September, 2006 (52) |
| August, 2006 (56) |
| July, 2006 (34) |
| June, 2006 (63) |
| May, 2006 (45) |
| April, 2006 (29) |
| March, 2006 (30) |
| February, 2006 (17) |
| January, 2006 (11) |
| December, 2005 (27) |
| November, 2005 (8) |
| October, 2005 (21) |
| September, 2005 (48) |
| August, 2005 (14) |
| July, 2005 (17) |
| June, 2005 (8) |
| May, 2005 (10) |
| April, 2005 (10) |
| March, 2005 (43) |
| February, 2005 (21) |
| January, 2005 (22) |
| December, 2004 (69) |
| November, 2004 (46) |
| October, 2004 (28) |
| September, 2004 (8) |
| August, 2004 (5) |
| July, 2004 (1) |
| June, 2004 (27) |
| May, 2004 (12) |
| April, 2004 (45) |
| March, 2004 (89) |
| February, 2004 (37) |
| January, 2004 (10) |
| December, 2003 (42) |
| November, 2003 (52) |
| October, 2003 (32) |
| September, 2003 (16) |
| August, 2003 (20) |
| July, 2003 (20) |
| June, 2003 (26) |
| May, 2003 (20) |
| April, 2003 (3) |
| March, 2003 (1) |
| February, 2003 (11) |
| January, 2003 (16) |
| December, 2002 (23) |
| November, 2002 (26) |
| October, 2002 (38) |
| September, 2002 (55) |
| August, 2002 (4) |
| July, 2002 (3) |
| June, 2002 (3) |
|
|
|
|