+ <div class="entry">
+ <div class="title"><a href="http://people.skolelinux.org/pere/blog/Graphing_the_Norwegian_company_ownership_structure.html">Graphing the Norwegian company ownership structure</a></div>
+ <div class="date">15th June 2015</div>
+ <div class="body"><p>It is a bit work to figure out the ownership structure of companies
+in Norway. The information is publicly available, but one need to
+recursively look up ownership in all owners to figure out the complete
+ownership graph of a given set of companies. To save me the work in
+the future, I wrote a script to do this automatically, outputting the
+ownership structure using the Graphviz/dotty format. The data source
+is web scraping from <a href="http://www.proff.no/">Proff</a>, because
+I failed to find a useful source directly from the official keepers of
+the ownership data, <a href="http://www.brreg.no/">Brønnøysundsregistrene</a>.</p>
+
+<p>To get a owner ship graph, fetch
+<a href="https://github.com/petterreinholdtsen/brreg-norway-ownership-graph">the code from git</a> and run it using the organisation number. I'm
+using the Norwegian newspaper Dagbladet as an example here, as its
+ownership structure is very simple:</p>
+
+<pre>
+% time ./bin/eierskap-dotty 958033540 > dagbladet.dot
+
+real 0m2.841s
+user 0m0.184s
+sys 0m0.036s
+%
+</pre>
+
+<p>The script accept several organisation numbers on the command line,
+allowing a cluster of companies to be graphed in the same image. The
+resulting dot file for the example above look like this. The edges
+are labeled with the ownership percentage, and the nodes uses the
+organisation number as their name and the name as the label:</p>
+
+<pre>
+digraph ownership {
+rankdir = LR;
+"Aller Holding A/s" -> "910119877" [label="100%"]
+"910119877" -> "998689015" [label="100%"]
+"998689015" -> "958033540" [label="99%"]
+"974530600" -> "958033540" [label="1%"]
+"958033540" [label="AS DAGBLADET"]
+"998689015" [label="Berner Media Holding AS"]
+"974530600" [label="Dagbladets Stiftelse"]
+"910119877" [label="Aller Media AS"]
+}
+</pre>
+
+<p>To view the ownership graph, run "<tt>dotty dagbladet.dot</tt>" or
+convert it to a PNG using "<tt>dot -T png dagbladet.dot >
+dagbladet.png</tt>". This is the result can be seen below:</p>
+
+<img src="http://people.skolelinux.org/pere/blog/images/2015-06-15-ownership-graphs-norway-dagbladet.png" width="80%">
+
+<p>Note that I suspect the "Aller Holding A/S" entry to be incorrect
+data in the official ownership register, as that name is not
+registered in the official company register for Norway. The ownership
+register is sensitive to typos and there seem to be no strict checking
+of the ownership information.</p>
+
+<p>Let me know if you improve the script or find better data sources.
+The code is licensed according to GPL 2 or newer.</p>
+</div>
+ <div class="tags">
+
+
+ Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn</a>.
+
+
+ </div>
+ </div>
+ <div class="padding"></div>
+
<div class="entry">
<div class="title"><a href="http://people.skolelinux.org/pere/blog/Measuring_and_adjusting_the_loudness_of_a_TV_channel_using_bs1770gain.html">Measuring and adjusting the loudness of a TV channel using bs1770gain</a></div>
<div class="date">11th June 2015</div>
</div>
<div class="padding"></div>
- <div class="entry">
- <div class="title"><a href="http://people.skolelinux.org/pere/blog/Frikanalen__Norwegian_TV_channel_for_technical_topics.html">Frikanalen, Norwegian TV channel for technical topics</a></div>
- <div class="date"> 9th March 2015</div>
- <div class="body"><p>The <a href="http://www.nuug.no/">Norwegian Unix User Group</a>,
-where I am a member, and where people interested in free software,
-open standards and UNIX like operating systems like Linux and the BSDs
-come together, record our monthly technical presentations on video.
-The purpose is to document the talks and spread them to a wider
-audience. For this, the the Norwegian nationwide open channel
-<a href="http://www.frikanalen.no/">Frikanalen</a> is a useful venue.
-Since a few days ago, when I figured out the
-<a href="http://beta.frikanalen.no/api/">REST API</a> to program the
-<a href="http://beta.frikanalen.tv/guide/">channel time schedule</a>,
-the channel has been filled with NUUG talks, related recordings and
-some Creative Commons licensed TED talks (from archive.org). I fill
-all "leftover bits" on the channel with content from NUUG, which at
-the moment is almost 17 of 24 hours every day.</p>
-
-<p>The list of NUUG videos
-<a href="http://beta.frikanalen.tv/organization/82">uploaded so far</a>
-include things like a
-<a href="http://beta.frikanalen.tv/video/625090">one hour talk by John
-Perry Barlow when he visited Oslo</a>, a presentation of
-<a href="http://beta.frikanalen.tv/video/624275">Haiku, the BeOS
-re-implementation</a>, the
-<a href="http://beta.frikanalen.tv/video/624493">history of FiksGataMi,
-the Norwegian version of FixMyStreet</a>, the good old
-<a href="http://beta.frikanalen.tv/video/623566">Warriors of the net
-video</A> and many others.</p>
-
-<p>We have a large backlog of NUUG talks not yet uploaded to
-Frikanalen, and plan to upload every useful bit to the channel to
-spread the word there. I also hope to find useful recordings from the
-Chaos Computer Club and Debian conferences and spread them on the
-channel as well. But this require locating the videos and their meta
-information (title, description, license, etc), and preparing the
-recordings for broadcast, and I have not yet had the spare time to
-focus on this. Perhaps you want to help. Please join us on IRC,
-<a href="irc://irc.freenode.net/%23nuug">#nuug on irc.freenode.net</a>
-if you want to help make this happen.</p>
-
-<p>But as I said, already the channel is already almost exclusively
-filled with technical topics, and if you want to learn something new
-today, check out the <a href="http://www.frikanalen.tv/se">Ogg Theora
-web stream</a> or use one of the other ways to get access to the
-channel. Unfortunately the Ogg Theora recoding for distribution still
-do not properly sync the video and sound. It is generated by recoding
-a internal MPEG transport stream with MPEG4 coded video (ie H.264) to
-Ogg Theora / Vorbis, and we have not been able to find a way that
-produces acceptable quality. Help needed, please get in touch if you
-know how to fix it using free software.</p>
-</div>
- <div class="tags">
-
-
- Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen</a>, <a href="http://people.skolelinux.org/pere/blog/tags/h264">h264</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>.
-
-
- </div>
- </div>
- <div class="padding"></div>
-
<p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14" /></a></p>
<div id="sidebar">
<li><a href="http://people.skolelinux.org/pere/blog/archive/2015/05/">May (3)</a></li>
-<li><a href="http://people.skolelinux.org/pere/blog/archive/2015/06/">June (2)</a></li>
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2015/06/">June (3)</a></li>
</ul></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
- <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (278)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (279)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (23)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (176)</a></li>
- <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (16)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (17)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>