Arkiv for Kategori: dev


On architecture, fifth post: How I got programming to an interface wrong

tl;dr API documentation is about defining an interface rather than documenting an implementation. We write API documentation by hand using OpenAPI and it is working well for us. The NRK TV team spent quite a long time finding a way to write documentation that works for us. I think there are mainly three misconceptions about […]

On architecture, fourth post: A change of perspective

Tl;dr; In the previous blog-posts I have argued for a functional decomposition strategy. Now I will look at an example of how not partitioning by functionality, but rather by entities, has lead to a rapid growth in complexity in our API. As I discussed in my previous post, our philosophy for new API endpoints is […]

Photo by Ricardo Gomez Angel

On architecture, third post: Composing bounded contexts

Earlier I discussed how we identify bounded contexts. The example I used was implementing a system that only deals with the subdomain of desking the frontpage in a single bounded context. In this post I will discuss how we unite bounded contexts with HAL. We attempt to split the application into bounded contexts to better […]


Improved developer experience with Roslyn Code Analyzers

Lately I have been experimenting with Roslyn Code Analyzers and Code Fixes with Einar W. Høst, and we have found it to be a very nice addition to unit tests and static code analysis with NDepend. What I particularly like is the immediate developer feedback and possibility to add code suggestions for other developers. tl;dr […]

How we talk about things in systems

– Max, it’s time for dinner!
Suddenly the kid next door is at your doorstep ­– along with half the neighborhood’s dogs.

Without naming things, we’re unable to communicate. This article discusses different methods for providing identifiers to objects in systems.

On architecture, 2nd post: Desking of NRK Radio

The first post I wrote on architecture is really abstract, vague and lacking of context. In this blog post I will discuss the principles of alignment between problem space vs solution space, autonomous teams and how strategy should be the driver for architecture. Instead of being general I will discuss a recent case-study from NRK Radio. […]

Lean Enterprise: How High Performance Organizations Innovate at Scale

On architecture, 1st post: The pretentious post

The architect is possibly the most disputed and poorest understood role in software. We do not even agree what architecture is, so how could we possibly agree on what an architect is supposed to do. Developers frequently challenge the idea that we need architects at all. If we do not really know what an architect […]

Undoing the harm of layers

As we approach a new problem we look for strategies to decompose that problem. The primary axis we choose for decomposition is fundamental to the architecture of the system we build. Technological boundaries are easy to identify in the codebase, and as such it is a tempting decomposition strategy. Strategies such as domain-driven design argue […]

Securing whistleblowers

Thanks to the Tor network, sources wary of surveillance may get in touch with NRK anonymously. By using our SecureDrop whistleblower service, people can contact us without being easily traced by a third party.

Managing RabbitMQ messages with F# and Akka.NET

We are currently rewriting a piece of software internally in NRK. The area is media file distribution and the software operates on it’s own with input from media production systems. As a lot of other communication between connected systems, we rely on the use of queues, RabbitMQ queues in particular. Queues give us the resiliency […]

Waterloo map

Decoupling legacy code using NDepend

Decoupling a legacy code base is hard. Decoupling legacy code bases is not only hard, but often we don’t even have a clear idea of the current couplings that exist in our system. Without a clear overview of the current state we can’t make sound decisions on what we should do to improve. This fact […]

Folk i NRK Medieutvikling. (Foto: Vincent Reilly, NRK)

Do you want help NRK create world-class digital user experiences?

NRK’s Department of Media Development needs more skilled professionals – people who are passionate about creating great digital user experiences. We are looking for iOS and Android developers, front-end interface developers, data scientists, a digital designer and an interaction designer/concept developer. NRK Media Development provides the streaming services NRK TV, NRK Radio, the weather service Yr, as well as, NRK […]

WebVtt undertekst produksjon: forbedring for NRK nett-tv

Prototype i produksjon Jeg har tidligere skrevet om hvordan undertekster fra tekstekontoret vårt kommer ut i nett-tv. I den artikkelen sto det mye om våre utfordringer rundt synkronisering av tekstefil med video. Det viktigste å legge merke til er den kompliserte veien man må gå for å generere WebVtt tekster. Den involverer en mac mini, en […]

How I learned to stop worrying and love the CI server

NRK TV and its API has been through a transformation from a monolith to a service-orientated architecture (notice how I avoided the word μικρόservices). We are dogfooding our API from as if we were a smart-TV or a mobile app. We have also moved from TFS to Git. With smaller components change has a […]