Ramblings

Why is my laptop so sluggish? Or Damn You Facebook and Twitter! Or All Hail Chrome!

In the past three weeks, I've noticed that my laptop (dual core 2.1GHz, 2Gb RAM) has become amazingly sluggish. I only uses for communications and data lookup workflows, so the slowness was tolerable. But today I finally got fed up with the suckyness and decided to get to the root of the problem (I do have strong performance roots after all). It actually didn't take all that long to figure it out. About a year ago I converted to Google Chrome (away from FireFox). One of the great tools Chrome has ......

Win7 is not a tablet OS, no matter what the boys in Redmond think.

Despite what execs at Microsoft think, Windows 7 is NOT a tablet OS. Just because you can install some software (or OS) on a device, doesn't mean that device is meant to run that software. This seems to be the step that the non-engineer execs at Microsoft have seem to not understood. In order to seamlessly work with a device, the software needs to be designed with that device in mind. That has been the problem with the Windows PDA platform, the Windows Mobil platform, and now with trying to force ......

Introduction to Creating Dynamic Types with Reflection.Emit parts 1 and 2

I've recently finished part two of a series of articles on creating dynamic types with System.Reflection.Emit. Dynamic types are types, or classes, manually generated and inserted into an AppDomain at runtime, from within the program. The two articles are linked below. Part 1:http://www.codeproject.co... Part 2:http://www.codeproject.co... I'm curious though. I've got ideas for two more articles, but dont know if people would be ......

Survey: How do programmers discover an unknown API?

I recently read a blog entry that was talking about why some programmers have problems using an API that makes use of the factory pattern. The entry tries to break programmers down into categories based on how they go about the task of programming, how they investigate APIs, and how tight or broad their focus lies. This got me thinking. How do most programmers discover a new API? What is the first thing you do when you realize you need to use the ABC class (or group of classes in a namespace)? Do ......

MDbg: a managed wrapper around ICorDebug!

Recently a performance bug came my way. A highly multithreaded application, that can run for hours depending on the amount of data its processing, was observed having all its CPUs ramping up to 100% utilization, and the amount of data processed per second dropped down to nothing. Ok, no big deal here. I've most likely got a state where all threads are stuck in a tight loop (most likely the same loop), and each thread is waiting on the other to set a flag that will allow them to exit the loop. Your ......

Complexity and Usability

Generally I'm not one to write a post that does nothing but highlight someone else's blog post...BUT...this one was important enough (IMHO) that I decided to break my own rule. Are you building a Leatherman or a Samurai sword? (stupid linker isnt working) http://petewarden.typepad.c... As programmers we always want to write new functionality...neat, new, COOL functionality. That's just what we do, and we love it. But its hard to keep in mind what our added ......

Color Picker Visual Studio Macro

Every now and then I need to create a color object in my code, but don’t know exactly what color I want. So I created this little macro to popup the ColorDialog, then insert a little line of code for the color you picked. Nothing magic or special here, just another useful macro. The only problem with it is the color dialog comes up behind Visual Studio so you have to Alt-Tab to see it. A bit annoying, I know. If anyone figures that one out I'll post the fix. Public Sub ColorPicker() Dim colorDlg ......

The Eight Fallacies of Distributed Computing

Someone on GeeksWithBlogs posted this link, but I think it was so important that it deserves a second showing. Its the 8 fallacies of distributed computing. As anyone who has looked through my blog knows, I'm not a big fan of the Web Service storm thats blowing through the programming world. It just doesnt make sense to blindly make massive distributed architectures inside your own fire walls. But companies are doing it. ......

Microsoft AOP workshop highlights

I previously posted that I had attended a workshop hosted by Microsoft Research on the topic of Aspect Oriented Programming. The core purpose of AOP I’m a firm believer of: to modularize systems more effectively. But I’m still not sold on the AOP implementation of this directive. But, I do fine AOP intriguing and have developed an implementation that uses dynamic runtime weaving (more about this below). It works pretty well, and doesn’t degrade the application performance too bad. ......

Who else is using / implementing / interested in AOP

How much attention does Aspect Oriented Programming have in the .Net community?  Are people using it?  implementing it?  know what it is? 

Full Ramblings Archive