Skip to content

Posts...

Page 37 of 54

GIS Sites in Belgium

March 26, 2015Categories: House, Project Management
TL;DR: Each province has its own GIS site. In the quest of purchasing the land, I've found out there are several layers of plans. The most generic ones are the Federal plans . They are very good for land delimitation and such, less for planning and zoning. The most specific ones are called " Plan…

Add Primary Key Column to PostgreSQL Table

March 23, 2015Category: Software
The other day I got a question: How to add a numeric PK column to an already existent table? A quick look on the net showed that it is indeed possible to add an auto-incrementing PK to an already existing table ( if you don't have already a PK that is! ). The code is quite simple too! The statement…

Eclipse Today

March 20, 2015Category: Random
Today was a solar eclipse, visible from Belgium. Unfortunately, being Belgium, it was cloudy :) So, here it's a better pic from a live transmission from Norway: Cool stuff!

Punchcard-ish Graph from Google Analytics Data

March 18, 2015Category: IT
The other day I wanted to see when users are actually using my website. The most obvious way (to me) is to have a github-like punchcard graph. My alternatives were to either write a program or use Excel. To cut a long story short, I chose to use Excel. If you have enough users, Google is enabling…

Tweak LEDs and Buttons on a Synology Box

March 17, 2015Category: IT
A while ago I got a Synology and I noticed that my baby is attracted by its blue LED button in particular and the blinking lights, resulting in pushing the power button multiple times etc.... Yes, I know, I should put the box out of his reach, and I thought I did... Then, i looked on the internet if…

Attempted to Finish an Input Event ...

March 16, 2015Category: Software
... but input event receiver has already been disposed. This is the error I got while trying to do something off a menu in Android. Silly really. The message is not too revealing so I ended up scouring the net for an answer and scratching my head afterwards... With a service My problem was trying to…

Android: Provide Local Asset in Testing

March 13, 2015Category: Software
In the past few days I had a little bit of a problem: InstrumentationTestCase gives access to local assets while AndroidTestCase gives access to getAssets() for assets specific to testing. I had a scenario to test where I get a file from my local src/androidTest/assets directory while the code…

NullPointerException - getInstrumentation().getContext()

March 11, 2015Category: Software
Here's a beginner mistake... The following code: Throws an exception: Attempt to invoke virtual method 'android.content.Context android.app.Instrumentation.getContext()' on a null object reference It took me some time to find out why: getInstrumentation() returns null in the constructor :) The…

Use a Java Enum with Strings

March 10, 2015Category: Software
In my project I wanted to log messages using predefined categories. Traditionally, I do it via classes (if the messages are specific to the functions provided by that class): or an interface (pretty much the same thing): These solutions are prone to errors (e.g. when performing copy-paste and…

My first proper job offer

March 4, 2015Categories: IT, Software
Well, this is a trip down the memory lane... My first offer was as a Software Design Engineer in Corvil . Yeah, they're still alive and going strong :) And here's the proof in the form of my Corvil job offer :) ps: Yeah, I know, the salary wasn't too interesting, but I was more idealistic at the…
PreviousNext

All tags