april 9, 2013
door Thijs Elenbaas
Geen reacties

Analyzing and optimizing performance of a WordPress website

Some time ago I noticed that this blog loaded very slowly. the problem is clearly not the huge number of visitors, so I decided to contact my hosting provider, Versio. They promptly responded responded that the server would be upgraded in the next week, which would ensure much better performance.

Let’s have a look… Lees verder →

maart 17, 2013
door Thijs Elenbaas
34 reacties

Installing an Eye-fi server on a Synology NAS

Introduction

For a long time I have not had much interest in taking photos, until we had two kid,  who by strange coincidence turned out to be  the most photogenic children ever. The great thing about digital photos is that it is incredibly easy to make them. The bad thing is that is almost just as easy to lose them. A crashed hard disk, a 8 Gbyte, 1000+ photos containing SD card getting lost, etc.. Meanwhile, my analog physical photos are still somewhere down in the closet, perhaps getting a little bit more yellow (instagrammed) with time.

It seems that that long term survival for analog photos is an analog state (gradual degradation ), whereas survival for digital photos is a digital state. either they are bit perfect or they are corrupted. Off course, the degradation of the storage material is gradual, but at some point, the number of read errors will beyond the error-correcting capabilities of the DVD. When it comes to optical discs, there are not many on the market that can be trusted for long-term storage. In a thorough long-term stress test by the well regarded German c’t magazine (c’t 16/2008, pages 116-123), only one DVD type was found that would survive for 20 years and longer. According to the test, the Verbatim Gold Archival DVD-R had a minimum durability of 18 years and an average durability of 32 to 127 years (at 25C, 50% humidity). No other disc came anywhere close to these values, the second best DVD-R had a minimum durability of only 5 years. Of course, the test did not take 18 years. Instead, the DVDs where subjected to extreme conditions, and from these real lifetimes where extrapolated.

DVDlivetime Installing an Eye fi server on a Synology NAS image

Lifetime DVD-r under humid and hot conditions

However, keeping lots of data backed up on DVDs requires a lot of work. In order to preserve our family photos, as well as our free time we have acquired a NAS, a Synology DiskStation412+. The Synology DiskStation comes with a lot of cool extensions to begin with, for example the Photo Station+. It is a photo server, that comes with clients for IOS and Android. We use these to automatically upload all new photos directly to the NAS.

But there is so much more we can do…

Lees verder →

headerXBMC

februari 20, 2013
door Thijs Elenbaas
Geen reacties

Improved XBMC remote control

Like many others, I have set up a home cinema configuration that uses a NAS for storage and XBMC as a front-end. I am quite partial to XBMC. If you are not using XBMC, you might like to give it a try!

XBMC is running on all kinds of hardware, from PC’s to rooted Ipads and Iphones to the 35 dollar Raspberry PI. I’m running it on a Mac mini. This work quite OK but, as always, there are few loose ends.

Lees verder →

juli 22, 2012
door Thijs Elenbaas
32 reacties

Extended EEPROM library for Arduino

For my ongoing clock project, I want to persistently store some data. That is, store data that is retained after turning off the Arduino. The processor on the Arduino board comes with on-board EEPROM. In the case of the Arduino Uno, the processor is the Atmega328, equipped with 1 glorious KByte of EEPROM memory.

The AVR libraries that come with the ATmega implements a relatively broad set of functions for reading, writing and management of the EEPROM (for a description see the AVR user manual). However, the Arduino standard EEPROM library exposes only functionality for reading and writing a single byte, as described here.

This is why I wrote the EEPROMex library, an extension of the standard Arduino EEPROM library. It writes and reads basic types like bytes, longs, ints, floats & doubles. It can also read/write single bits, arbitrary data-formats and arrays. It adds debug functionality to identify and stop writing outside of the EEPROM memory size and excessive writing to prevent memory wear. Lees verder →

headersitespeed

mei 21, 2012
door Thijs Elenbaas
2 reacties

WordPress optimaliseren

Enkele weken geleden merkte ik dat dit blog heel traag laadde, en aan het enorme bezoekers aantal kan het niet liggen, dus tijd om eens een mailtje naar de helpdesk van Versio te sturen.

Hier werd netjes op gereageerd: Server 46 word komende week door ons onder handen genomen waardoor deze een stuk beter moet gaan werken. U kunt er van op aan dat wij hier mee bezig zijn en dit zo snel mogelijk oplossen.

Laten we dat eens in de gaten houden. Lees verder →

tornado

april 29, 2012
door Thijs Elenbaas
1 reactie

Wervelingen

Twee weken geleden zijn we begonnen met een verhuizing van de slaapkamer naar zolder, en daarmee ook het verhuizen van de studeerkamer van zolder naar de eerste verdieping. Omdat de ruimte voor boekenkasten beneden een stuk minder is, moest er flink met de bezem door onze boekenvoorraad. Daarbij kwam ik een stapel van mijn proefschriften tegen. Terwijl mijn wederhelft druk aan het zwoegen was, heb ik in een hoekje zitten lezen. Het is jaren geleden dat ik dat op papier heb gezet, en het voelde sterk alsof het door iemand anders geschreven is. Maar ik moet zeggen, deze persoon vertelt hier en daar best aardig:
Lees verder →

codeevolution

april 26, 2012
door Thijs Elenbaas
2 reacties

Visualizing code evolution

In the last few months the team of which I’m project leader has been working extremely hard to finish our medical software application. We are now at the point that we can test it in the hospital, which for us is a real highlight! This is why I thought it would be fun to visualize the work the team has done.
Lees verder →

headerminiatuur

april 18, 2012
door Thijs Elenbaas
Geen reacties

Miniatuur

In deze post wil ik laten zien hoe je een van een normale foto een Madurodam variant kan maken. Het is in wezen een vrij simpele truuk: onze hersenen interpreteren een beperkte scherpte diepte (dat wil zeggen, alles dat voor of achter het focus ligt wordt onscherp) als een aanwijzing dat we ons oog zich heel dicht bij het object bevindt. Als we kunstmatig dit effect opwekken bij een foto die juist van heel ver weg is genomen, ontstaat de illusie dat alles heel dichtbij is, maar in miniatuur uitvoering.

Lees verder →

headerDCF77

april 15, 2012
door Thijs Elenbaas
30 reacties

Arduino DCF77 radio clock receiver – Hardware

(This is part 1 in a small series on using DCF77 for accurate time keeping with an Arduino. You can find post post #2 here and post #3 here)

DCF receiver Conrad Arduino DCF77 radio clock receiver   Hardware image

DCF receiver

This post deals with correctly connecting an Arduino to a DCF77 receiver, how to remove noise in the signal, in order to to decode the signal into a valid, atomic-clock-synchronized, time.
Lees verder →