Wednesday, March 28, 2007

More non-programming related

If you're like me, you use an electronic calendar of some sorts. As well, if you're like me, you hate outlook with a passion. Well, I've found an alternative. It's called Sunbird. It's from mozilla (firefox). And it works really nicely with my other calendar application of choice, Google Calendar. Install Sunbird, then follow these instructions. And you'll see what I mean. -- edit -- As an update to that, there's also lightning, which adds sunbird functionality directly into Thunderbird. That's what I'm talking about!

Thursday, March 22, 2007

Perforce integration in Dev Studio sucks

I just wanted to say that. Because it does. I have never had a decent Dev Studio set up where perforce integrated nicely and did what I wanted it to do. I mean, all that I want to do is check out a file. That's it. I don't need any reporting in Dev Studio. The perforce client does that for me, and quite nicely too. And getting revision history? I use the perforce client for that as well. So, I wrote a little macro that checks out files for me.
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports System.Diagnostics

Public Module Perforce
    Public Sub p4CheckoutCurrentFile()
        Dim Command = "p4 edit " + DTE.ActiveDocument.FullName

        Shell(Command, AppWinStyle.NormalFocus)
    End Sub
End Module
That's all that there is to it. You can set up Dev Studio to not allow you to edit read-only files, and you're golden. I bind this macro to Ctrl+Alt+P. When I'm ready to check stuff in, I switch over to the Perforce Client, review my changes and bam, fire it off. I did actually download the P4 sdk, so at some point in time, I may make this an actual plugin.

Friday, March 02, 2007

Not really a technical post this time ...

If you read this, and you know me even a little, I'm pretty passionate about games and how they relate and affect kids. Having three of my own does that. So, there's a new study out that is of interest to me. It's from the American Sociological Association. It's here (with the body of the document here) and absolutely worth the read, regardless as to weather you agree with the conclusions or not. So, go forth and take a gander. Tell me what you think.