My box can has shinies!

Found on a forum:

I think of my inner world like a child holding a box of their most precious treasures and when they show it to someone the person laughs and teases that that they aren’t treasures, they are worthless knickknacks and stones. What hurts isn’t being told that they are worthless, what hurts is that something so wonderful could not be shared. What doesn’t do any good is locking the box up and showing no one ever again. You have to learn to show someone else and keep doing it until you find someone who appreciates it just as you do.

Hackintosh success, Dell Inspiron 530, Mac OS 10.5.6

Today is a happy Mac day, for I have successfully installed Mac OS 10 on my Dell Desktop. Many folks have achieved this before me, so I’m not claiming to be some sort of amazing talent, but considering how non-obvious the process was, I’ll put down some notes here for you to peruse at your leisure.

More >

You must watch this right away.

Really. Dr. Horrible’s Sing-Along Blog

Awesome. Watch now. Thanks.

Reverse a dictionary

Have you ever wished your dictionary of <K,V> was in fact of <V,K>? I might be the last person to figure this out, but with LINQ (and a couple lambdas) you can do this with one magical line of code:

var newDict = oldDict.ToDictionary(l => l.Value, l => l.Key);

Neat, eh?

I hate Subversion

I really really hate it. Every time I try to do anything USEFUL with it, like try out an idea in a new branch and then merge the bits of that branch that worked out back to my main line, it barfs all over me with totally crap-ass error messages that nobody could ever, EVER understand.

Also, despite their claims to the contrary in the documentation, svn will happily shit all over your working copy when a switch fails. So much for atomic operations.

I’ve had it. I’m switching to Mercurial.

Become a Jedi with Resharper

If you work in C# or VB.net on a regular basis, you really owe it to yourself to try out Resharper. This tool saves me countless hours.

James Kovacs put together some fantastic screencasts on “Becoming a Jedi” that show it in action, if you are curious.

He hasn’t covered the features that make it a boon for test driven development yet, but there’s another great screencast that shows that off, and this post provides some additional details on “coding in reverse” with Resharper.

Order of operations

Sometimes I can be such a buffoon. When programming with threads, one must be sure to lock and unlock in the correct order. Also, one must be sure not to do things explicitly marked as no-nos while in a “critical section.”
I just lost two hours to this, so I felt the need to whine.

Fictional Writings

And I mean writing that doesn’t exist, not writing about things that don’t exist.

So I’m working on what feels like a novel, perhaps of slightly shorter than what would be considered a big book, but not so short as to not fall into the novel category. It also seems to want to be a young adult book, through it wasn’t one when it was still rattling around in the cobwebs of my lack-of-brain.

That it exists in its unfinished form means that it isn’t fictional. However it hasn’t gelled sufficiently that I have more than a vague sense where the hell it is going. This frustrates me, and makes me wonder if it exists anywhere other than the vague shimmering of characters and ideas. Not that I have much experience to go on here; maybe this is how The Process always feels.

I do manage to write between a few hundred and a thousand words a day, but it just isn’t going anywhere. My silly characters are muttering to themselves and aren’t getting together like I’d planned. The BIG HONKING event that starts things off doesn’t want to happen.

Anyway, that’s where I am and I’ll keep you informed about where I go from here. This ramble brought to you by Debbie, blog secretary extraordinaire.

Posting…

Rab is making me start posting regularly. Rather, he had one of his blog secretaries inform me I would be posting regularly. He has secretaries to do his typing, and he doesn’t even post regularly!

On programming for fun.

I wonder if it is the nature of the beast that when someone does something for a living day in and day out, it stops being fun. I’m starting to worry that may be the case with me.

Why am I bringing this up? One reason is due to watching my friend Rab having fun with Python. He’s having fun. He’s doing it for fun, and thus he’s having fun. Doesn’t that sound like fun? It does to me. Yet he’s doing the same thing I do as a job, and I don’t have fun. Maybe it is because he’s writing a game?

Reading his adventures, and talking with him about python programming is fun. It makes me want to start programming for fun too. As it doesn’t make sense to me for the idea of programming to be fun but the programming itself not to be, I suppose I’m just looking at the the wrong way. Maybe all I need to do is adjust my point of view, and I’ll start having fun again. I say again because I did enjoy programming once. I know it is possible for me to do so.

Thus starts the experiment. I’m not sure yet how I’m going to approach this. Perhaps the best method is to just adjust my thinking — find the “game” in whatever I’m doing, cling to it, and use that shape my overall view.