Weekend: Chopin in Paris

October 20th, 2008 § 1 comment § permalink

A while ago, the Housonist posted something that caught my eye: Da Camera of Houston presents Chopin in Paris. I immediately emailed Katie in hopes of grabbing up a pair of tickets. She let me know that they would be at the box office, yay! Jenny and I arrived a little early, picked up the tickets and ended up going to dinner right across the street first. If you haven’t been to Mingalone, you should. It’s a really nice place for a lunch/dinner before the show. They have a “Curtain Call” section for a quick meals so you can make it to the show on time. It’s a bit pricey, but if you got free tickets then the price is offset. THANKS AGAIN, KATIE (Houstonist)!

The show was nice, but I often found it hard to read some of the texts before they disappeared. One part that caught my eye was the “GET DRUNK!” note, but when the French and English mashup/translation/take-turns/whatever voices came on I got really frustrated trying to hear what they were trying to say. Overall, they performance was ok, but maybe it’s just my ignorance with that kind of artistic style. I was hoping for an ensemble of the grand piano and imagery, but instead it was separate and the music reflected the mood of poem afterward.

Code Review FUN!

October 15th, 2008 § 1 comment § permalink

Legacy code can be fun!
How many wrongs make a right? The more the merrier?

//VB.NET
Public Function ConvertSDToStringSD(ByVal securityDescriptor() As Byte, ByVal securityInfo As Integer) As String

Dim pStringSD As IntPtr
Dim stringSDLen As Integer
Dim success As Boolean = ConvertSecurityDescriptorToStringSecurityDescriptor(securityDescriptor, 1, securityInfo, pStringSD, stringSDLen)
‘ The following ensures that the memory allocated to pStringSD by the unmanaged
‘ Win32 API is freed.
Try

If Not success Then

Throw New System.ComponentModel.Win32Exception(Marshal.GetLastWin32Error)

End If
Return Marshal.PtrToStringAuto(pStringSD, stringSDLen)

Finally

If (pStringSD IntPtr.Zero) Then

Marshal.FreeHGlobal(pStringSD)

End If
pStringSD = IntPtr.Zero

End Try

End Function

TOM ANGRY, can you guess why?

Reading Material: Writing Secure Code.

October 2nd, 2008 § 1 comment § permalink

Shey asked me today, “how many books have u read in the last 4 months/” and well, I suck. I re-read Catcher in the Rye, but it’s not technical. It helps me go to bed, really. I have been glancing at Wrox’s C# 2008 as well, but not really reading it in depth like I should.

Today, I also realized that I didn’t actually read Writing Secure Code. I thought read it, but in reality, it took me forever to read Code Complete. I thought I read both. C’mon they almost look the SAME!

I’ll start reading chapter one from Writing Secure Code tonight and hopefully one chapter a night until I’m done. I’m hoping I can finish before I head over to he Kaizen Conference at the end of this month. I got my official invitation about two weeks ago, WHOOT!

P.S. If anyone knows whether we can recommend a friend to get an invitation, please let me know. I want Garo to go with us…NERD Power Hour FTW!

Where am I?

You are currently viewing the archives for October, 2008 at thomas nguyen.