Thursday, November 25, 2010

Exception in a Static Constructor

Some days ago, a coworker of mine had a very nasty bug which no one had a immediate explanation for: The problem was that in his application, he was trying to call a service: usually this worked just fine, but when the service was shut down while he started his tool, his application stopped working even tough the service was started right afterwards again.

After some research and debugging, he found the problem and since nobody in my team actually knew that, I think it's worth a post.

Saturday, November 20, 2010

Canon EOS 550D: First Impressions

Some Pics from the first day out with the Canon 550D incl. a 18-55m and a 55-250mm standard lens kit. Mainly just playing around with the manual settings and not using the RAW-Format yet.

Thursday, November 18, 2010

Show a Set from Flickr on your Blogger-Blog

As my new camera is arriving soon, I need a way to post pictures without any hustle on this blog.

I have already a Flickr-Account and want to use this as the host of my pictures so I searched for a way to get the pictures from Flickr into this blog and as I didn't want to use the Flash-Gallery Flickr itself offers, my search took a little longer than expected.

Backing-Up a remote DB using Mercurial

I use a virtual server for a small web project. Basically it's just a content-site but still there is a database you have to backup somehow.

Lazy as I am, I wanted to centralize those backups and of course automate them: but using a virtual server, this is not the easiest task.

After some time, and figuring out that the MS Backup won't work for me, I had to find another solution.

Tuesday, November 16, 2010

Buying a DSLR

For some time now, I play with the thought to buy myself a descent DSLR. Of course there is a very wide range of products on the market and it seems to be quite impossible to decide here.

Monday, November 15, 2010

100th Blog Post

Wow: this is already my 100th Post on this Blog. Since I started it back in 2006, a long time passed by: with ups and downs on the frequency of posting. Mainly downs I have to say.

With the latest switch to Blogger I'm about to work up some stuff which I did the last month (if not even years already...) and never was motivated enough to write about it. Of course this frequency will also stall and I think it will get back to a one post per month rhythm.

Also the blog took a turn into the more technical part of my life: other medias are better used to cover the personal part I think. There still will be also private things covered here, but only occasionally.

Switching the posting-language to english is worth mentioning too: although my mother tongue is german (better said austrian ;) ) it's just easier to write about technical stuff in english: it's not perfect, but I think it should not be a problem to understand it.

If you have any comments about this blog or the direction where it went, feel free to leave it below :)

Friday, November 12, 2010

Web Designers vs. Web Developers

Brought to you by, a free Website Builder.

Hosting Mercurial on a Synology NAS

Some time ago I ditched my subversion and wanted to try out a distributed sourcecontrolsystem. I had the choice between GIT and Mercurial: There is nothing to explain why I chose Mercurial, I just flipped a coin: but since then I'm quite happy with that decision.

Thursday, November 11, 2010

Hosting Files for Blogger

In my latest Post, I wanted to publish some simple code-examples and of course I didn't want it to be shown just as text but with some fancy syntax highlighting and copy/paste-able (this works if you double-click on the code, than you get the plaintext-version to copy). Therefore I needed to make some CSS and JS Files available for the blog and my first thought was, just to put them on my little home-server and make them public. On second thought this was not the best idea: my server often has outages and is usually under high load, so to serve the files from there might become a problem somewhen and I tried to find another solution.

Wednesday, November 10, 2010

.NET WCF Service and ASP.NET Service with JSON

Some month back I wanted to create a simple .NET webservice which was called from JQuery, more precisely via JSON.

By that time, WCF was not a new technology any more: It was already well established and of course my thought was, I will use this technology for creating the service.

Monday, November 8, 2010

Synology NAS: Update DSM 3.0

Since about 2 years I have a Synology NAS (108j) at home and I'm really happy with it. Its a great way of saving my data and also for the main reason I bought it, as a Media-Server, it works perfectly!

A few weeks back, there was a new version of the firmware and after some time, I finally decided to update it. It took me some time to reconfigure my custom stuff (like web server, svn, mercurial, etc) but it was definitely worth it!

There is also one new feature I have to point out in the new version: its the blocking feature for unsuccessful attempts to log on to the NAS.

I activated it just for fun because I actually never thought, there were so many people (or bots) trying to access my NAS: but I was wrong!

Only after a few weeks leaving this feature do its work, I got already 45 IP-Addresses on the Blacklist. After a whois-research I found out, that those addresses are from around the world: so its not a special country you have to take care about: there (wannabe)hackers everywhere!

So if you also have a Synology NAS, I really recommend you to enable this feature: maybe you're not such a "target" as I am, but it's wise to do so anyways.

Sunday, November 7, 2010

Switched from Wordpress to Blogger...

After quite some time on a selfhosted Wordpress, I was finally tired of maintaining this stuff and switched to blogger.

Esp. after I found out, that this step was VERY easy! Its not a problem to have your custom Domain for the Blogger Account and importing the Blog from Wordpress also was a nobrainer.

The only Thing you actually need to use to do that is a Blog-Transformertool which can be found here.

What you do is basically export your Wordpress-Blog as XML, Convert the File via the tool mentioned before, change the Links to Resources like Pictures to a new destination and then import it to Blogger again :)

After the Switch I also hope to become more active again with blogging about Software-Development and other stuff.

Monday, March 29, 2010

Spring in Vienna :)

Main Reason for this Post: Microsoft ICE and Microsoft Photosynth: really nicely working together for making such things. Enjoy.