VGTech is a blog where the developers and devops of Norways most visited website share code and tricks of the trade… Read more

Are you brilliant? We're hiring. Read more



VG Hack Day 2015



On a cold Thursday in December, we held our annual Hack Day on the top floor of the VG building in Oslo. 30+ eager developers, designers and product people huddled together in front of the fireplace, to experiment, create and have fun with VG’s products and technology.

Surrounded by soda cans and bags of snacks, and entangled in wires of all kinds, we sat for 18 hours, churning out lines of magical code and golden pixels. Continue reading to see some of the things we did.

Less code, more beer


So, a couple of months ago I quit my job of almost 8 years as a developer here at VG to start a micro brewery in my hometown of Fredrikstad, Norway called Ego Brygghus. Because of this I won’t be writing any more posts on this blog (unless I can write some guest posts about brewing beer in the future that is).

I hope you have enjoyed at least some of the stuff I have been writing about since we started. I’ll leave you with a list of some of the (still relevant) posts I have written:

So, until next time, cheers!

Look, look – we built something!


As mentioned in one of the previous blog posts, two of the guys from development @ VG went to The Gathering last week. Together with Prisjakt and Level Up they had a booth there to get in touch with the young and bright geek minds.

With them to Vikingskipet they brought our new pride, and proof of the development departments handiness; a wooden, two by two meter Level Up logo with green cold cathodes. Handcrafted by Espen H, André and Kristoffer. Below I’ll share some pictures from the process. We had a really good time and I think all three of us would do this again any time!

Oh, did I forget? We don’t usually do stuff like this, so we’re very happy with ourselves :) (more…)

The Gathering Contest

The Gathering LogoLevel Up, VG and Prisjakt join forces and have a joint booth during annual easter LAN-party The Gathering, which is located in Hamar Olympic Hall. The booth will be open from 8:00 a.m to 10:00 p.m throughout the event. Here you can get some refreshments, play games or just chill out.

Not only will we have a amazing booth – you can also participate in our awesome competition with a first price of 30 000 NOK! (more…)

Visualizing the most read articles on VG


Article visualizationD3. Behind this name is a pretty neat concept, called Data-Driven Documents. I took a look at the framework last year after seeing a lot of cool demos using it. It’s really flexible, and is not tied to a specific form of presentation – you can use D3 to generate an HTML table from an array of numbers, or use the same data to create an interactive SVG bar chart with smooth transitions and interaction.

After looking through different layout algorithms available in D3, I found the treemap algorithm particularly interesting. I’ve seen it used before in both profiling tools and disk usage analyzers and found them to be very efficient for visualizing the difference between numbers. An idea popped into my head: “Maybe this can be used to visualize which articles are being read the most?”. I decided to give it a try. (more…)

WebGL DAE model viewer


WebGL Model Viewer3D modeling is pretty fun. I’m nowhere near an expert – in fact, I’ve only really used Sketchup. There was a time when I was really into it, making 3D-models for all sorts of PC components.

The other day, I was looking at a WebGL demo made in three.js, and wanted to see how hard it would be to do some basic stuff in WebGL.

Having seen a lot of demos using three.js, I figured it would be a good starting point. (more…)

Synergy + Norwegian keyboards


Synergy is a really cool application which lets you easily share your mouse and keyboard between multiple computers. I’ve been using it both at work and at home – having both a Linux and a Windows computer available in this manner is a pretty powerful setup. It does have a few issues with international keyboards, such as the Norwegian layout.

When using Windows as the host computer and Linux as the client, most of the keystrokes would be incorrect by default (dash, slash – those kind of keys). This is actually fairly easy to solve, by adding and activating an English keyboard layout on your client machine. This may seem a little counter-intuitive since the keyboard is actually Norwegian, but I suppose it has to do with normalizing or some such.

The next problem you might face is that some of the keys accessible through the AltGr-key no longer works (@ and $, among others). I managed to solve this by making sure both English and Norwegian keyboard layouts were added, and on the keyboard layout configuration panel going to “Options”, “Key(s) to change layout” and checking “Right Alt (while pressed)”. This basically switches to Norwegian keyboard layout whenever I press AltGr and seems to do the trick. I’m unsure if this is an option on all Linux distributions – your mileage may vary (I did this on Linux Mint 15).

Capture The Flag!


Skjermbilde 2013-03-27 kl. 12.29.14A short time ago we released Capture The Flag; a set of web developer themed puzzles. There are ten levels for you to play with during easter.

The toplist show the time of the ten fastest to solve the (at the time of writing) ten levels of the CTF. Maybe we’ll see your name on the top of the list?

Happy holidays!