Visio: The Pythogorean Diagram Updated to show Numbers

A small update to my previous post – the diagram now includes shapes that show the numbers (widths, heights, angles, and areas). Download the updated file here: Interactive-Pythagorean-Theorem-(2008-11-29).vsd Just as before, resizing the triangle will update the shapes and values

0

C#/AOP: Elegant tracing with PostSharp and Aspect-Oriented Programming

My post yesterday was about Python decorators and in that post I used the example of tracing to illustrate how to use Michele Simionato’s decorator module. As a fan of comparative code samples, with this post I’ll show you how to accomplish the same thing with C#. Unlike the Python sample, it’ doesn’t involve using…

1

Python/IronPython: Decorators made simple with the decorator module

Michele Simionato wrote a sweet module ( called decorators )that dramatically simplifies the usage of decorators in Python. The example below is based on one of the samples Michele provides and should help illustrate how much simpler it is to create decorators   The Scenario Suppose you have a function called foo() that prints “Hello…

0

Did your CD/DVD drive disappear in Windows Vista? Try checking this KB Artitcle.

I rarely use my CD/DVD drive so I didn’t spot this problem for several months. My CD/DVD drive which had previously been working fine in Vista suddenly no longer showed up in “My Computer”. I tried new CD/DVD drive, but it also didn’t work. Eventually I found this KB article which solved my problem: http://support.microsoft.com/kb/314060…

1

Consuming Extension Methods in IronPython

[Update on 2008-01-06] I’ve modified the post to reflect the information Dino provided. It turns out the SpecialName attribute is not required on extension methods but only when you are defining normal extension methods only when defining new operators.   One of my projects implemented in C# makes frequent use of extension methods. Recently I…

0

Dynamics AX 2009: Creating an SSRS 2008 report that gets data from an AX Cube

Very soon you’ll be able to use Dynamics AX 2009 BI Components with SQL Server 2008. One benefit of SQL 2008 is that SSRS 2008 includes a new tool to design reports called SQL Report Builder 2.0. You can use Report Builder 2.0 to design ad-hoc reports against the OLTP database or reports against the…

0

Dynamics AX 2009: Ad hoc Analysis using Excel 2007 to get data from an AX OLAP Cube

a lot of time in Dynamics AX 2009 integrating AX with Microsoft’s BI Stack. One of the benefits of this work is that you can use familiar tools to access BI data in AX. In this post, I’ll demonstrate how to use Excel 2007 to connect to an AX Cube. Keep in mind that there’s…

0