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

Javazone 2016 – more than just Java


This is the second year I’m attending Javazone in Oslo – a large IT-conference of the highest international standard, by and for the Java community. Although the Java technology is at the core, the topics range from front-end to back-end and infrastructure, security, architecture, patterns and processes. In short, you don’t need to be a Java developer to get something out of this conference, which now has its 15th year anniversary.


Using OKRs in the Media Industry

The media industry has and is still going through tremendous and rapid change. The transition from print to digital, from desktop to mobile, from traditional display advertising to programmatic, from primary news distributor to content provider for new social distribution platforms, from broadcast journalism to personalised experiences, from local competition to competition from global tech giants. Add to this personnel cutbacks and the challenges appear overwhelming. The only thing that is consistent is change.

Managing this ever changing media landscape is challenging. Systematic, coherent and well coordinated focus from all departments is required to tackle these challenges.
Objectives and Key Results, or OKRs, is an organisational planning methodology VG and Schibsted have begun using. Its main goal is to connect company, team and personal objectives to measurable results, making people move together in the right direction. Creating a clarity of purpose among all departments, teams and individuals in an organisation.


Engaging audiences through emojis


Apps are evolving to be more than just functionality available behind an app icon on a users home screen. Custom keyboards, widgets, notifications, 3D touch, extensions and siri integration are among the many ways developers can now engage with users outside the confines of the traditional smartphone app on the homescreen.

Async programming patterns in different languages


During the 10 years I’ve been into professional programming, the largest paradigm shift I’ve witnessed is the one from sequential to asynchronous programming. Not that it is a new concept – asynchronousity has been has been present in programming since the dawn of time, but what’s new is the tight integration in programming languages and the prevalence of it. From events and callbacks in C# to async-await. From callbacks in Javascript to Promises. In Java we got Futures in Java 7, CompletableFuture, lambdas and streams in Java 8. On top of all these language features you have a vast array of libraries that help you implement common async patterns – ReactiveX for instance exists for all the three languages mentioned, and a lot more.


VG increases advertisement viewability to 74%

Advertisers don’t want to pay for advertisement placements that people don’t see. An ad loaded doesn’t necessarily equal an ad viewed, the publishers and advertisers have caught on to this and are naturally shifting towards valuing ‘viewable’ ads rather than served impressions. VG has been working on improving the percentage of ads viewable on our website, we are now guaranteeing a minimum of 70% viewability of ads on


Roc  —  One solution to JavaScript Fatigue



An open source toolkit for JavaScript development

There has been a lot of talk recently about how hard it is to do web development in this day and age. People are describing the current state of web development as depressing and frustrating, referring to it as JavaScript Fatigue. If you haven’t I would recommend you to go and read this excellent article by Eric Clemmons on the topic: Javascript Fatigue.

We need to do something about this and we need to do it now. Web development should not be frustrating. In fact I believe that it has never been as exciting and fun as it is now.

As mentioned in the article above several people are trying to find a solution to this symptom, all with different goals and ambitions. I would like to go ahead and present one such solution, one that I have personally been involved with, Roc.


Rethinking modern JavaScript development


Tiny libraries. Doing one thing well. A blessing and a curse?

This article presents the reasoning behind the creation of Roc, a modern JavaScript toolkit. If you are not interested in the background you can get started here instantly.

The modern days of JavaScript has us shifting away from the more traditional and rigid frameworks. Instead we are now in a fast-moving trend of using a large number of micro-libraries from npm that are combined within our own projects.


This approach yields great flexibility and freedom of choice for us as JavaScript developers. We get to pick the exact building blocks that we would like to use in order to build our apps and components. With tools like Babel and Webpack one really can use the latest technology to get things done. Adding libraries to our project with npm is easy and almost instant. Yeah!


Data insight at the heart of VG+ success

Data Science

VG’s premium digital product, VG+ recently celebrated its fifth anniversary with over 70 000 paying subscribers. VG+ is a five year old publication published by a tabloid newspaper with no history of subscriptions.
VG+ is now the fourth largest newspaper in Norway with ambitions to surpass the 100,000 subscriber milestone in 2016. In a country with a population of just over 5 million people the subscription numbers are starting to be substantial.  



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.