Archives for Technology

Lost “Button” Simulator in Silverlight

To celebrate the upcoming finale of LOST, I threw this thing together in Silverlight 4 using Expression Blend 4 and Visual Studio 2010. I also used a trial of Goldwave 5 to work on the sound effects. I’ve included the source code so you can take a look around. This is an example of a [...]

Tip for adding Silverlight references in Blend

I find it very frustrating sometimes to get something to build in Blend. Like many developers, I have a "Me.dll" that contains a lot of commonly used classes, custom controls, etc. As you might expect, this DLL often takes dependencies on other DLL’s that must also then be referenced. In Blend, this can be a [...]

Ted Dziuba: Why Engineers Hop Jobs

Came across this while browsing Google Reader… via Ted Dziuba: Why Engineers Hop Jobs People in my generation have a very low tolerance for bullshit, and software engineering, in general, is a very high bullshit career. If you couple that with the standard load of bullshit you would get from a non-technical Harvard MBA type boss [...]

Ummm OK?

Okay, I get the idea but come on… Talk about verbose errors. I guess it’s better than “Argument out of range.” Custom tool warning: There was a validation error on a schema generated during export: Validation Error: Wildcard ‘##any’ allows element ‘Account’, and causes the content model to become ambiguous. A content model must be [...]

PowerShell Team announces FxCop rules for cmdlets

PowerShell Team has announced FxCop rules for cmdlet authors. List of rules AcceptForceParameterWhenCallingShouldContinue AllCmdletsShouldAcceptPipelineInput CallShouldProcessOnlyIfDeclaringSupport DefineCmdletInTheCorrectNamespace DoNotAccessPipelineParametersOutsideProcessRecord DoNotCallCertainHostMethods DoNotUseConsoleApi FollowCmdletClassNamingConvention OverrideProcessRecordIfAcceptingPipelineInput ParameterShouldHaveConsistentTypePerNoun UseCredentialAttributeForPSCredentialParameter UseOnlyApprovedCharactersInVerbsAndNouns UseOnlyStandardVerbs UsePascalCasingInVerbsAndNouns UseRecommendedParameterTypes UseSingularNouns UseSingularParameterNames UseSwitchParameterInsteadOfBoolean

Dock TweetDeck to the side of your screen with PowerShell

I wanted to post this last night but I did not have an internet connection. The best part about being a developer is that when software drives you nuts, many times you can do something about it that mere mortals cannot. That’s the case with TweetDeck. I love it but I am sick of having [...]

WPF : Using Markup Extensions to generate content with icons

It’s way too hard to get an image next to the text content of a Button, TextBlock, ListBoxItem, TreeViewItem, etc. Coming from a Windows Forms background where many controls had an Image property for displaying a small glyph next to text content, I am constantly frustrated by the verbose XAML required to achieve the same [...]

Windows 7 PowerShell Tip

If you’re a system administrator (or like many developers), chances are you use PowerShell a lot and have the PowerShell console or PowerShell ISE on your Windows 7 taskbar. On Windows Vista and on Windows Server 2008 prior to R2 I was annoyed by having both ISE and console on the quick launch bar or [...]

Accept simple mathematical expressions in Silverlight text boxes

Download MathEvalConverter.zip Background With the name Einstein, people typically assume I’m good at math. I have the utmost respect for the physicists and mathemeticians of our time, prior, and beyond. But to be honest, math is not my strong suit. In fact I have great difficulty simply adding or subtracting numbers without the use of [...]

Excellent WPF performance tips on the Visual Studio Blog

These aren’t your typical, obvious tips. Head over to the Visual Studio Blog to learn some WPF performance tips that the team picked up during the development of Visual Studio 2010. Some of the performance issues required changes to WPF that we all will benefit from in .NET 4. Others are clever ways to work [...]