De afgelopen maanden deed ik twee projecten tegelijk. Ondertussen is daar één van afgerond, en zijn we druk bezig het andere project ook af te ronden. Helaas is mijn vrije tijd er een beetje bij ingeschoten, wat het gebrek aan recente inhoud op deze pagina verklaart.

Omdat ik de laatste tijd veel met Microsoft .NET development bezig ben geweest, heb ik besloten om een .NET 3.5 MCTS examen te gaan doen. Ook heb ik mijn (niet zo trouwe, want vaak onbereikbare) telefoon vervangen door een HTC Touch HD.

Verder komt er binnenkort een softwareproduct uit waarbij ik in ongeveer een jaar geleden betrokken ben geweest bij het creëren van de nieuwe user-interface. Ik ben heel benieuwd naar het eindresultaat.

Bij het bedrijf waar ik nu voor werk staat een groot tostiapparaat in de kantine. Collega’s experimenteren erop los en komen met de gekste combinaties. In mijn eigen kantine doen we dat anders ;-) Brood + boter + kaas. Flink wat roomboter in de koekenpan en bakken maar tot de kaas goed gesmolten is.

kaasbroodje

Dat smaakt!

De appelflappen van Albert Heijn:

 000464916_001_143368_200

Vreemd het nog niet op Scott Guthrie’s weblog te lezen is, maar de nieuwe Silverlight 2 tools voor visual studio 2008 zijn beschikbaar. Denk er wel even aan de oude versie te deïnstalleren.

Het 55 MB grote pakket is hier te downloaden:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e0bae58e-9c0b-4090-a1db-f134d9f095fd&DisplayLang=en

Ik heb de gewoonte om de dikke boekwerken met specificaties ook écht door te lezen. Met enige regelmaat zijn mensen dan ook oprecht verbaasd. "Heb je dat echt gelezen?" ja, natuurlijk. Vooral als je dan later in een project nog belangrijke details weet kan het goed van pas komen. Daarnaast lees ik graag allerlei studieboeken over dingen die eigenlijk buiten mijn vakgebied vallen.

Het is ook niet zo heel veel werk. Het lastige aan lezen is dat je snel denkt dat het veel tijd kost, tijd die je graag in andere dingen steekt. Oplossing: doe het zo snel mogelijk! Mijn strategie voor snel lezen is eigenlijk best simpel:

1. Oefenen, oefenen en nog eens oefenen. Niet gewoon lezen, maar proberen sneller te lezen dan je eigenlijk kunt. Het moeilijkste om vanaf te stappen vond ik het in gedachten ‘voorlezen’ van woorden. Nu wordt mijn leessnelheid vooral bepaald door hoe mijn ogen van links naar rechts over de pagina bewegen.

2. Concentratie. Natuurlijk kan je lezen in een drukke trein of een kantoor waar constant mensen voorbij lopen. Ik doe het niet meer. Als ik speedreading probeer in zo’n omgeving krijg ik vooral veel hoofdpijn. ;)

3. Oefenen! Probeer zoveel mogelijk van dat in gedachten voorlezen af te komen!

4. Stilte. Ik kan alleen snel lezen in vrijwel absolute stilte. Oren dicht, en de leessnelheid gaat meteen omhoog.

Ik ben geen lees-expert, dus je hoeft dit natuurlijk niet serieus te nemen. Maar als je nog nooit geprobeerd hebt om snel te lezen, kan ik het zeker aanraden! Voor boeken die ik echt leuk vind om te lezen neem ik de tijd en lees ik op de ‘makkelijke’ manier. Dan is het tenminste nog een beetje ontspannend.

I added a new wallpaper today. It reminds me of broccoli ;)

Getting a silverlight application to occupy the entire browser window (as in: width and height both 100%) Is not that hard, but it isn’t obvious either. Since you can’t set the width and height in the XAML to percentage sizes.

All you need to do is add the following CSS to your HTML page that contains the silverlight control:

<style type=”text/css”>
    .silverlightHost
    {
        width: 100%;
        height: 100%;
    }
    html
    {
        height: 100%;
    }
    body
    {
        height: 100%;
        margin: 0;
        padding: 0;
    }
</style>

And this code to your page:

public void Page_Loaded(object o, EventArgs e)
{
    InitializeComponent();
    // Add a resize event
    BrowserHost.Resize += BrowserHost_Resize;
}

private void BrowserHost_Resize(object sender, EventArgs e)
{
    // Set canvas size to host size
    this.Width = BrowserHost.ActualWidth;
    this.Height = BrowserHost.ActualHeight;
}

English translation of an older article:

Years ago, I heard a consultant from SAP talk about ‘Business rules’. Screenshots were shown of flashy editors with long lists of rules. Fortunately, it turned out to be a lot less complex than it seemed.

What is a business rule

A business rule is nothing more than a simple programming construction like:

  1. if [condition] is true
  2. then do [action]

Example:

  1. If ‘coupon code is 42101′
  2. Then ’20% reduction of price’

How these rules are defined and used differs per vendor. In process orchestration these business rules can be very useful to store logic outside of the actual processes.

The use of business rules

Imagine some kind of financial program that uses a fixed percentage of 20% for some kind of taxes. If the taxes change, do you want to need programmers to get to work?

This is not really technical logic (hence the name: business rule) so ideally it should be adjustable without too much technology overhead. With the proper editors, employees (application management, of even the head of the sales department?) can adjust these rules.

Oracle BPEL

Oracle didn’t have an integrated business rule engine in their BPEL engine. According to Oracle, it is on the way. (Like BAM?) with Oracle Fusion. Of course, it is possible to implement business rules using webservices with some third party or in-house developed engine.

Microsoft Biztalk 2006

Biztalk 2006 provides a business rule engine and an editor. Getting the hang of the Microsoft Business Rule Composer doesn’t take a lot of time, but it has a huge drawback. With the current version it was difficult to publish to just any server. It only allows publishing to the server that has been set in the ‘global biztalk configuration’.

The composer offers the possibility to work with the XML messages directly (in the form they are used internally in a Biztalk process) databases and .NET classes.

Import an .xsd, drag the properties to a new business rule and adjust the conditions and actions to get it right.

That’s all that is needed to create a business rule for use in a Biztalk process.  In this area, Oracle has some catching up to do!

In de wereld van reporting tools, BAM’s en business objects gaat het uiteindelijk allemaal om gegevens en presentatie. Hans Rosling geeft hieronder een mooie presentatie over gegevens van universiteiten en organisaties als de VN. Alles is omgezet naar grafieken met veel animatie.

Tussendoor laat hij ook nog zien wat we allemaal denken te weten over ontwikkelingslanden maar niet klopt, en waarom zijn Zweedse studenten het slechter deden dan chimpansees!

Today I added an image gallery to my  blog. It’s far from complete, but there at least are some pictures to see :-D