Deutsche Version

“Yield return” is a powerful and handy statement if you want to quickly and easily an iteratable list without creating an Array or a List first:

using System;
using System.Collections.Generic;
using System.Drawing;

class Program
{
    static void Main()
    {
        var colors = Rainbow;

        Console.WriteLine("colors.GetType(): {0}", colors.GetType());
        Console.WriteLine();

        foreach (Color color in colors)
        {
            Console.WriteLine(color.Name);
        }

        Console.ReadLine();
    }

    static IEnumerable<Color> Rainbow
    {
        get
        {
            yield return (Color.Red);
            yield return (Color.Orange);
            yield return (Color.Yellow);
            yield return (Color.Green);
            yield return (Color.LightBlue);
            yield return (Color.Indigo);
            yield return (Color.Violet);
        }
    }
}
Red
Orange
Yellow
Green
LightBlue
Indigo
Violet

The .NET compiler then creates the necessary IEnumerable- and IEnumerator-implementing classes and the state machine in the background and everything is fine and clear.
Read More

Fack ju Göhte (2013)


Mar 7th – €9.99 @ Media Markt

Collection no. 1187

Tammy (2014)


Mar 7th – €7.99 @ Drogerie Müller

Collection no. 1188

Captain America: The Winter Soldier (2014)


Mar 19th – €9.99 @ Amazon.de

Collection no. 1189

Jay and Silent Bob Strike Back (2001)


Mar 23rd – €9.74 (£5.95) @ Amazon.co.uk

Collection no. 1190

Mallrats (1995)


Mar 23rd – €11.17 (£6.94) @ Amazon.co.uk

Collection no. 1191

Read More

Deutsche Version

Terminator T1000

So you know the Cinderella saying “The good ones go into the pot, the bad ones go into your crop.”?

Well, .NET Linq does have a solution for either one, it’s called Where(). If you use that, your solution probably looks like this:

var evens = list.Where(number => ((number % 2) == 0));
var odds =  list.Where(number => ((number % 2) != 0));

But it does not have a solution for both. So I wrote myself one:

public static void Split<T>(this IEnumerable<T> source
    , Func<T, Boolean> predicate
    , out IEnumerable<T> trueList
    , out IEnumerable<T> falseList)
{
    trueList = source.Where(predicate);
    falseList = source.Except(trueList);
}

Read More

Longmire: Season 2 (2013)


Jan 6th – €0.00 ($39.98) @ Amazon.com (paid via gift certificate)

Collection no. 12884 – 12886

Polizeiruf 110: Der Kreuzworträtselfall (1988)


Jan 6th – €11.99 @ Amazon.de

Collection no. 12887

Cosmos: A SpaceTime Odyssey (2014)


Jan 9th – €21.72 ($19.99) @ Amazon.com

Collection no. 20041 – 20044

Home Improvement: The Complete Series (1991 – 1999)


Jan 15th – €32.97 @ Amazon.de

Collection no. 12888 – 12915

Arrow: Season 2 (2013 – 2014)


Jan 16th – €21.52 ($19.99) @ Amazon.com

Collection no. 12916 – 12924

Read More

Der Kreuzworträtselfall (1988)

Director: Thomas Jacob

Günter Naumann … Hauptmann Beck
Andreas Schmidt-Schaller … Leutnant Grawe
Werner Godemann … Major Jäger
Harry Merkel … Eberhard Aust
Wilfried Pucher … Staatsanwalt Ebert
Peter Borgelt … Hauptmann Fuchs
Torsten Ranft … Stefan Winkelmeyer
Annette Gleichmann … Katrin Schröder
Karin Düwel … Simone Herzog
Günter Junghans … Siegfried Herzog

Synopsis: After a young boy disappeared on the way from home to a local theatre a huge search is started. Known homosexuals are brought in for questioning but the case goes cold (quite literally).

After quite heavy snow falls the body is found in a trunk beside train tracks. The only hint about the perpetrator is a filled-out crossword puzzle. A new crossword puzzle with similar words is put into the papers and a huge prize is offered to the winner. Also, every newspaper they can get their hold on is collected from the neighbourhood where the boy disappeared.

Then – in a pre-computer era – tens of thousands of crosswords are analyzed in the slim hope of catching the murderer.

My Opinion: Historical background: This script was modelled after a real case that happened in East Germany in 1981. Back in the days when there were two Germanys, in West Germany there was (and is to this day) a very successful crime show called Tatort (lit. “crime scene”). At some point the TV producers also wanted a show like this and thus Polizeiruf 110 (“for police, dial 110″) was born. Normally the cases are completely fictional but the real case behind this was rather extraordinary, so they made it into a script to honour the actual police officers who solved the case.

For me personally it was also something of a special because many scenes were filmed close to where I was living and for a small boy it’s quite cool to see something on TV and say “hey, that’s just around the corner”. As a child I’ve been in that very theatre many times that was used in the episode.

Looking at it from today’s point of view there are quite a few things you only notice with an adult’s eye. For example the behaviour towards homosexuals and that they were called in before it even was a murder case. The police knew who they were which nowadays only happens with actual sex offenders.

All in all it’s quite a bit of nostalgia watching it today, seeing all the old East German cars and phones and everything.

The title literally means “honey in the head” and this is how a main character is describing how Alzheimer’s feels like (an analogous pun would be that the brain gets jammed).

Honig im Kopf is a german Dramedy movie I saw in the theatre today. I was expecting a comedy with some melancholy and while the movie was quite funny at times, it was also one of the saddest movies I’ve seen in quite some time.

The story is about a family of three generations and the grandpa (played by veteran actor Dieter Hallervorden) is suffering from Alzheimer’s and forgetting more and more.

When his son (played by Til Schweiger – the German Basterd) realizes that his father can’t live alone anymore, he takes him into his house with his wife and daughter Tilda (played by Til’s daughter Emma Schweiger) but soon it becomes clear that this can’t be a permanent solution.

Upon realizing that her dad wants to put her grandpa into a care facility, the eleven-year old takes her grandpa to the place he still remembers very clearly because of the memories of his passed-away wife: Venice.

The trailer is a bit misleading because it makes the movie appear a lot more light-hearted than it actually is. Prepare to bring tissues when watching it.

And in case you’re not that big of a fan of Til Schweiger: a) His role is that of a supporting character. b) Give it a try anyway, he might surprise you.

2014 End Statistics:

New Purchase Items: 131 (127 in 2013)
New Movies: 125 (thereof Blu-ray: 103)
New TV Seasons: 68 (thereof Blu-ray: 23)
New TV Specials: 0
New Special Interest: 7

Money Spent: 1,552.75 (1,106.04€ in 2013)
Money Spent on Movies: 942.24€
Money Spent on TV Seasons: 579.94€
Money Spent on TV Specials: 0.00€
Money Spent on Special Interest: 30.57€

Avg Spent: 11.85€ (8.71€ in 2013)
Avg Spent on Movies: 7.54€
Avg Spent on TV Seasons: 8.53€
Avg Spent on TV Specials: 0.00€
Avg Spent on Special Interest: 4.37€

Running Time: 64.223m (44d 14h 23m)
Running Time Movies: 13930m (9d 16h 10m)
Running Time TV Seasons: 49550m (34d 9h 50m)
Running Time TV Specials: 0m
Running Time Special Interest: 743m (12h 22m)

Cheapest Item: Smiley Face (€3.00)

Most Expensive Item: X-Men: Cerebro Collection (€109.00)

First Item: The Big Bang Theory: Season 6 (€1.66 – paid partially with gift certificate)

Last Item: Nanny McPhee 1 & 2 (€11.27)


Purchase by Locality:
United States: 35
Canada: 2
United Kingdom: 22
Germany: 73

Read More

Chicago P.D.: Season 1 (2014)


Dec 2nd – €13.93 ($21.06) @ Amazon.com

Collection no. 12848 – 12851

An Adventure in Space and Time (2013)


Dec 3rd – €9.99 (£6.75) @ Amazon.co.uk

Collection no. 20040

Nashville: Season 2 (2013 – 2014)


Dec 3rd – €24.45 (£17.84) @ Amazon.co.uk

Collection no. 12852 – 12856

Chicago Fire: Season 2 (2013 – 2014)


Dec 6th – €21.91 ($20.29) @ Amazon.com

Collection no. 12857 – 12861

Frozen (2013)


Dec 6th (gift)

Collection no. 1190

Read More

Community: Season 5 (2014)


Oct 2nd – €11.55 ($19.99) @ Amazon.com

Collection no. 12780 – 12781

2 Broke Girls: Season 3 (2013 – 2014)


Oct 7th – €22.01 (£16.11) @ Amazon.co.uk

Collection no. 12782 – 12784

Anchorman: The Legend Continues (2013)


Oct 18th – €9.99 @ Media Markt

Collection no. 1179

Michael Mittermeier: Blackout (2014)


Oct 18th – €12.90 @ Media Markt

Collection no. 20034

20 Years Mittermeier (1999 – 2006)


Oct 24th – €7.68 @ Amazon.de

Collection no. 20035 – 20037

Read More

Deutsche Version

A few days ago I wrote about my first tumbling steps into the world of WPF & MVVM.

Now a friend of mine – who’s been working in that very field – has challlenged me:

a) My GUI should remain responsive while the merge is being executed.

b) I should not re-evaluate the entire GUi after every single user action.

Read More