Gingter Ale

Fluent stories of a software engineer

I just released my first open source library

2015-03-25
That may sound strange, but I’m indeed a little bit proud that yesterday evening I released my very first open source library: the SmartDev.ConfigurationMapper. This is a small helper library designed to be used with ASP.NET 5 (currently still known as vNext). You pass in an instance of the new Microsoft.Framework.ConfigurationModel.IConfiguration type, and you can map the config keys to properties of your custom classes, to have strongly typed configuration types in your application. Continue reading

Static site gens the 2nd: Hexo and Sandra.Snow

2015-02-17

In my recent blog post I wrote about my experiences so far with static site gens in general. I said I was looking into Hexo before I go on with my plan B and this is what I did.

Hexo is very capable. If you really just want to a blog, then this is the way to go (imho). The main problem with Hexo is that it is a one-man-show from China and that this guy is currently in the middle of the process to release Hexo 3.0. Which is not a bad thing, but for one several plugins have not yet been updated, which makes it very hard to get things running. Then again, some plugins like the sitemap plugin that should generate a sitemap.xml do not have access to all entries for the tags and the categories. That said, I could probably write my own, but while the API is documented somehow I don’t got around configuring my WebStorm IDE correctly so that it indeed provides me with code completion on the Hexo API, which makes everything very tedious.

Continue reading

Ask a Ninja: Current state of static site generators

2015-02-09

Over the course of the last weekend I tried to built a website for a side project of mine (gaming related). To broaden my horizon, and to be able to host the website cheap and fast, I wanted to use a static site generator for it.

First try: Jekyll. TL;DR: Does not work on windows.

Since Jekyll is directly supported by Github pages, and I wanted to host here, and a lot of other guys around on my Twitter timeline use Jekyll, I thought this is the way to go.

Continue reading

Speaking at Delphi Tage 2014 and EKON 18

2014-09-01
Hi, my schedule for this years conference season is quite short. I will be speaking at Delphi-Tage in Bonn this weekend (6th of September). My two sessions there are: Continuous Integration: Build- und Testautomatisierung für Ihre Projekte JavaScript für Delphi-Entwickler: TypeScript Additionally I will be speaking at EKON 18, 3rd to 5th of November in Cologne. Here I have three talks, and these are: Verteiltes Leid ist halbes Leid: Git in der Praxis Ey, was geht ab? Continue reading

Re-emerging from the void. Some random notes

2014-03-05

Hello everybody. I just wanted to tell you i’m back :)

Some might have wondered why I did not blog anymore. Answer is simple: I moved. From a rented house into another house I now bought and where I had to do a lot of DIY stuff (including electrical installation) myself before we could move in. Besides all that stuff I simply did not find the time to blog and to be honest, if I would have had a slot of spare time, I probably wouldn’t have used that for blogging.

Continue reading

Why the IIS overwrites your vary-Header with 'Accept-Encoding'

2013-12-19

I spent some time today searching for a bug. Turned out it was a nasty one.

If you have a single line of code, being there for a single purpose, you usually expect this code to work.

My case: Setting a HTTP header on a response to a normal HTTP request. One probably would think this is a normal task. I wanted to set a header to control caching. More specifically, the ‘vary’ header, as the result of the request is dependent upon a specific header sent with the request.

Continue reading

Note to myself: Regular Expressions performance

2013-11-06
This post is mostly as a reminder for myself, to not loose these important links again. But said that, it’s probably interesting for you too, when you care about performance and the .NET behaviour around regular expressions (Regex). The common things In the .NET world, some things are very common. First is, you are advised to use a StringBuilder whenever you concatenate some strings. Second is: If a Regex is slow, use RegexOptions. Continue reading
Older posts Newer posts