Posted on July 30th, 2006 by aaron
Filed under powershell |
The NewsGator Powershell Provider project was recently created at CodePlex, and this afternoon I did an initial check-in of the project as it currently stands. I encourage you to download the code, build it, and give it a whirl! (And once you stop laughing at it, create some work-items on the site for me [...]
Posted on July 22nd, 2006 by aaron
Filed under powershell |
A really good friend of mine who also happens to be in the IT department at my company came and asked me about helping him with a script to back up (but not clear) event logs from remote servers. He had a script (the standard VB script from Microsoft’s website) that would back up [...]
Posted on July 16th, 2006 by aaron
Filed under personal |
Today my daughter Hannah announced that she’d like to be swaddled “just like baby Jadon”. How can you not love these kids? Sometimes when I’m in the middle of coding at home (either for work or for play) Hannah will come up and say “Daddy, I wanna type!” — and I’m reminded [...]
Posted on July 15th, 2006 by aaron
Filed under asp.net |
I think just about every single ASP.NET candidate I’ve interviewed knows practically nothing about the page lifecycle, except for “Page_Load” of course—and they always say that: “Page Load”. They never say “Load” which is the actual event name. (That’s being a little picky though.)
Here’s something every web developer should be familiar with—not necessarily memorized (otherwise [...]
Posted on July 14th, 2006 by aaron
Filed under powershell |
I worked for about 4-5 hours tonight on my Newsgator PowerShell provider. I just need to code up the right way to read a post, and I’m good to go (for an initial “release”). Eventually I’d like to support every operation the Newsgator API does (including adding/deleting/moving/etc. folders and feeds), but for now it’ [...]
Posted on July 13th, 2006 by aaron
Filed under blogging |
I just updated the autodiscovery links for my blog to point to my feedburner feed source. I know there’s probably 0-2 people reading my posts (me included) but if you’ve subscribed to my feed, please re-subscribe using this new URL:
http://feeds.feedburner.com/aaronlerch
Thanks!
Posted on July 11th, 2006 by aaron
Filed under programming |
I’m going to have to set aside some time to read through these articles. The singleton article has been a good reference for me already.
Posted on July 10th, 2006 by aaron
Filed under programming |
A co-worker just asked me why the following code (I’ve “samplized” it) ended up with an array of correct size, but with null values:
private static SingletonClass singleton = new SingletonClass();
private static readonly string FIRST_VALUE = “First Value”;
private static readonly string SECOND_VALUE = “Second Value”;
private static readonly string THIRD_VALUE = “Third Value”;
private ArrayList arrayList = new [...]
Posted on July 6th, 2006 by aaron
Filed under programming |
In Part 1 I posted a sort of “set up” for today’s post. I presented a data structure (WAVEFORMATEX) that doesn’t fit into the “automatic” marshaling paradigm due to it’s dynamic size. The solution is to create a custom marshaling class that implements ICustomMarshaler and perform the marshaling from managed to native (and vice versa) [...]
Posted on July 4th, 2006 by aaron
Filed under programming |
A while ago I posted about having a difficult time with complex marshaling. What I didn’t post, however, was any details about the solution–and now that the topic of custom marshaling has become the bane of a few co-worker’s existences, I figured I’d post some details.
Here’s the problem. You have a struct (for example, the [...]