-
Typesafe viewmodel for MVC frameworks
Ever since I was working with MVC projects, looking at sample code even from Microsoft, I always wondered why everyone is using ViewBag and other “unsafe” techniques for the data to be displayed. I would have sticked to developing PHP applications if I wanted to do that. (And maybe even some PHP frameworks might do…
-
Continuous improvement
I started writing most of this article back in January and did not have time to finish it since – because I was stuck in doing exactly the things that I wanted to avoid. Now it’s time to finish the article so I’ll be able to compare my recent experience to my oh so nobel…
-
Bézier curves
Some time ago I did some interview question that I just wanted to share mostly because I want to keep a backup of it. The questions were the following: We start with three dots (green) on the screen. We need to connect these dots with a smooth line (blue) rather than direct lines (grey). What would…
-
play! framework and Google App Engine
I just uploaded my first app to the Google App Engine – which is unbelievably simple with play! framework and the gae module. The application for my test is just 10 lines of code in the controller and all it does (for now) is to extract the URL of the latest Chromium Build from the…
-
Synchronize a long-running task to the UI-Thread in WPF/.NET
This post explains how to process data from a task in WPF in a way I’d consider “best-practice”. The main code could or should be in the view-model. Code-behind (keep it short or better yet use a delegate command) And the code in the view-model: StartSearch() is a method in the view-model class and sets…
-
Kubuntu/Ubuntu 11.10 fix
Just a quick note: After updating to Kubuntu 11.10 today, Firefox didn’t startup anymore and the console told me: mattanja@tiger:/opt$ /opt/firefox/firefox bash: /opt/firefox/firefox: No such file or directory Obviously it’s a bug: https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/852101?comments=all The workaround & fix is to reinstall libc6-i386: apt-get install –reinstall libc6-i386
-
Howto: Task and issues tracking with Redmine and Eclipse Mylyn
While working on one of my current projects I came to realize the importance of good task management and issue tracking. Sadly the use of an expensive Team Foundation Server does not guarantee good task tracking when the tasks are only used to do the rough planning in MS Project. Much more important than the…
-
Useful SQL Server Management Studio extension
Today I discovered a very useful plugin for MS SQL Server Management Studio that has a big feature list and can help out when you miss code completion or need to create stored procedures for CRUD operations. http://www.ssmstoolspack.com/ Enjoy!
-
Replace Linebreak in Excel
Just a quick note because this helped me a lot 🙂 To replace a linebreak in an excel cell: In Excel, choose Edit>Replace Click in the Find What box Hold the Alt key, and (on the number keypad), type 0010 This represents a line break in Excel. You won’t see anything in the ‘Find What’…
-
Apache ODE modification framework
A little late I am now publishing the source code of the demonstration prototype of my diploma thesis. The thesis has been about runtime modification of BPEL processes. The modification is based on the svn trunk of Apache ODE located in https://svn.apache.org/repos/asf/ode/trunk and the revision was 805932 updated at 19. August 09. It shouldn’t be hard…