Quantcast
Channel: darkroastjava – Darkroastjava's Public Notebook
Browsing latest articles
Browse All 13 View Live

Image may be NSFW.
Clik here to view.

Using Eric Hynds’ multiselect with knockout

Eric Hynds has crafted an awesome enhanced multiselection dropdown as a jQuery UI widget which enhances a normal <select multiple> list. Unfortunately, as many jQuery UI widgets, it manipulates...

View Article


Image may be NSFW.
Clik here to view.

Major take-aways from ScrumMaster course

I took my ScrumMaster course three weeks ago and had the honour to take it with Jeff Sutherland as our teacher. This course was very insightful – a pity that it was so short! So I guess 90% of my...

View Article


Image may be NSFW.
Clik here to view.

Unit Tests: An AAA-conform way to expect exceptions

I like the way how NUnit supports expected exceptions in unit tests – as opposed to some other frameworks, where you have to misuse a try-catch block try { DoSomething(); Assert.Fail("exception...

View Article

Image may be NSFW.
Clik here to view.

Generic Types are prettier than Dictionaries

If you need to pass key-value-pairs to a method you can find many modern implementations prefer to take them as an “object” rather than a dictionary. This allows you to create a anonymous object which...

View Article

Image may be NSFW.
Clik here to view.

Do not fix code duplication – solve it

When you find two identical or near-identical pieces of code in your codebase this is identified as code duplication. There are many resources to learn why code duplication is an issue. When you find...

View Article


Image may be NSFW.
Clik here to view.

No more copy & paste in my IDE

This is day one of my new trial. I have removed the key shortcuts for copy & paste from Visual Studio. I have seen too much of code duplication, some of it bears my very own signature. More often...

View Article

Image may be NSFW.
Clik here to view.

Polymorph Razor Views

As an object-orientation-spoiled programmer, when you come to use an HTML rendering engine such as Razor you will soon start to wish for the same couple of design advantages that object orientation...

View Article

Image may be NSFW.
Clik here to view.

New Feature Request: [Rotten] attribute

This is an inoffical new feature request – I am floating between sarkasm and really considering to implement this. Here it is, I proudly present: The [Rotten] attribute* * Other candidate names are:...

View Article


Image may be NSFW.
Clik here to view.

Closures leading to “Type not marked as serializable” exception

Today I faced a SerializationException that refered to some anonymous inner class stating it was not serializable, when IIS tried to store the session in the ASP.NET State Service: Type...

View Article


Image may be NSFW.
Clik here to view.

Drive your Meetings with Google Maps

Google Maps is optimized to find your way from A to B. In your meetings you usually want to achieve the same. That’s why, suprisingly, Google Maps gives you perfect guidance on how to drive your...

View Article
Browsing latest articles
Browse All 13 View Live