]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Litt mer.
[homepage.git] / blog / index.rss
index 3b1fcbb4ef94d9bf3dea17fdc1137e9c594ceb92..62cb9e0fc63d7ad5262f1b44da4809854370d1f1 100644 (file)
@@ -6,6 +6,126 @@
                 <link>http://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>Graphing the Norwegian company ownership structure</title>
+               <link>http://people.skolelinux.org/pere/blog/Graphing_the_Norwegian_company_ownership_structure.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Graphing_the_Norwegian_company_ownership_structure.html</guid>
+                <pubDate>Mon, 15 Jun 2015 14:00:00 +0200</pubDate>
+               <description>&lt;p&gt;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 for 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 &lt;a href=&quot;http://www.proff.no/&quot;&gt;Proff&lt;/a&gt;, because
+I failed to find a useful source directly from the official keepers of
+the ownership data, &lt;a href=&quot;http://www.brreg.no/&quot;&gt;Brønnøysundsregistrene&lt;/a&gt;.&lt;/p&gt;
+
+&lt;p&gt;To get an owner ship graph for a set of companies, fetch
+&lt;a href=&quot;https://github.com/petterreinholdtsen/brreg-norway-ownership-graph&quot;&gt;the code from git&lt;/a&gt; and run it using the organisation number.  I&#39;m
+using the Norwegian newspaper Dagbladet as an example here, as its
+ownership structure is very simple:&lt;/p&gt;
+
+&lt;pre&gt;
+% time ./bin/eierskap-dotty 958033540 &gt; dagbladet.dot
+
+real    0m2.841s
+user    0m0.184s
+sys     0m0.036s
+%
+&lt;/pre&gt;
+
+&lt;p&gt;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:&lt;/p&gt;
+
+&lt;pre&gt;
+digraph ownership {
+rankdir = LR;
+&quot;Aller Holding A/s&quot; -&gt; &quot;910119877&quot; [label=&quot;100%&quot;]
+&quot;910119877&quot; -&gt; &quot;998689015&quot; [label=&quot;100%&quot;]
+&quot;998689015&quot; -&gt; &quot;958033540&quot; [label=&quot;99%&quot;]
+&quot;974530600&quot; -&gt; &quot;958033540&quot; [label=&quot;1%&quot;]
+&quot;958033540&quot; [label=&quot;AS DAGBLADET&quot;]
+&quot;998689015&quot; [label=&quot;Berner Media Holding AS&quot;]
+&quot;974530600&quot; [label=&quot;Dagbladets Stiftelse&quot;]
+&quot;910119877&quot; [label=&quot;Aller Media AS&quot;]
+}
+&lt;/pre&gt;
+
+&lt;p&gt;To view the ownership graph, run &quot;&lt;tt&gt;dotty dagbladet.dot&lt;/tt&gt;&quot; or
+convert it to a PNG using &quot;&lt;tt&gt;dot -T png dagbladet.dot &gt;
+dagbladet.png&lt;/tt&gt;&quot;.  This is the result can be seen below:&lt;/p&gt;
+
+&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2015-06-15-ownership-graphs-norway-dagbladet.png&quot; width=&quot;80%&quot;&gt;
+
+&lt;p&gt;Note that I suspect the &quot;Aller Holding A/S&quot; 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 links.&lt;/p&gt;
+
+&lt;p&gt;Let me know if you improve the script or find better data sources.
+The code is licensed according to GPL 2 or newer.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>Measuring and adjusting the loudness of a TV channel using bs1770gain</title>
+               <link>http://people.skolelinux.org/pere/blog/Measuring_and_adjusting_the_loudness_of_a_TV_channel_using_bs1770gain.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Measuring_and_adjusting_the_loudness_of_a_TV_channel_using_bs1770gain.html</guid>
+                <pubDate>Thu, 11 Jun 2015 13:40:00 +0200</pubDate>
+               <description>&lt;p&gt;Television loudness is the source of frustration for viewers
+everywhere.  Some channels are very load, others are less loud, and
+ads tend to shout very high to get the attention of the viewers, and
+the viewers do not like this.  This fact is well known to the TV
+channels.  See for example the BBC white paper
+&quot;&lt;a href=&quot;http://downloads.bbc.co.uk/rd/pubs/whp/whp-pdf-files/WHP202.pdf&quot;&gt;Terminology
+for loudness and level dBTP, LU, and all that&lt;/a&gt;&quot; from 2011 for a
+summary of the problem domain.  To better address the need for even
+loadness, the TV channels got together several years ago to agree on a
+new way to measure loudness in digital files as one step in
+standardizing loudness.  From this came the ITU-R standard BS.1770,
+&quot;&lt;a href=&quot;http://www.itu.int/rec/R-REC-BS.1770/en&quot;&gt;Algorithms to
+measure audio programme loudness and true-peak audio level&lt;/a&gt;&quot;.&lt;/p&gt;
+
+&lt;p&gt;The ITU-R BS.1770 specification describe an algorithm to measure
+loadness in LUFS (Loudness Units, referenced to Full Scale). But
+having a way to measure is not enough.  To get the same loudness
+across TV channels, one also need to decide which value to standardize
+on.  For European TV channels, this was done in the EBU Recommondaton
+R128, &quot;&lt;a href=&quot;https://tech.ebu.ch/docs/r/r128.pdf&quot;&gt;Loudness
+normalisation and permitted maximum level of audio signals&lt;/a&gt;&quot;, which
+specifies a recommended level of -23 LUFS.  In Norway, I have been
+told that NRK, TV2, MTG and SBS have decided among themselves to
+follow the R128 recommondation for playout from 2016-03-01.&lt;/p&gt;
+
+&lt;p&gt;There are free software available to measure and adjust the loudness
+level using the LUFS.  In Debian, I am aware of a library named
+&lt;a href=&quot;https://tracker.debian.org/pkg/libebur128&quot;&gt;libebur128&lt;/a&gt;
+able to measure the loudness and since yesterday morning a new binary
+named &lt;a href=&quot;http://bs1770gain.sourceforge.net&quot;&gt;bs1770gain&lt;/a&gt;
+capable of both measuring and adjusting was uploaded and is waiting
+for NEW processing.  I plan to maintain the latter in Debian under the
+&lt;a href=&quot;https://qa.debian.org/developer.php?email=pkg-multimedia-maintainers%40lists.alioth.debian.org&quot;&gt;Debian
+multimedia&lt;/a&gt; umbrella.&lt;/p&gt;
+
+&lt;p&gt;The free software based TV channel I am involved in,
+&lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt;, plan to follow the
+R128 recommondation ourself as soon as we can adjust the software to
+do so, and the bs1770gain tool seem like a good fit for that part of
+the puzzle to measure loudness on new video uploaded to Frikanalen.
+Personally, I plan to use bs1770gain to adjust the loudness of videos
+I upload to Frikanalen on behalf of &lt;a href=&quot;http://www.nuug.no/&quot;&gt;the
+NUUG member organisation&lt;/a&gt;.  The program seem to be able to measure
+the LUFS value of any media file handled by ffmpeg, but I&#39;ve only
+successfully adjusted the LUFS value of WAV files.  I suspect it
+should be able to adjust it for all the formats handled by ffmpeg.&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>Hva gjør at NRK kan distribuere H.264-video uten patentavtale med MPEG LA?</title>
                <link>http://people.skolelinux.org/pere/blog/Hva_gj_r_at_NRK_kan_distribuere_H_264_video_uten_patentavtale_med_MPEG_LA_.html</link>
@@ -969,92 +1089,5 @@ you find any.&lt;/p&gt;
 </description>
        </item>
        
-       <item>
-               <title>Frikanalen, Norwegian TV channel for technical topics</title>
-               <link>http://people.skolelinux.org/pere/blog/Frikanalen__Norwegian_TV_channel_for_technical_topics.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Frikanalen__Norwegian_TV_channel_for_technical_topics.html</guid>
-                <pubDate>Mon, 9 Mar 2015 11:10:00 +0100</pubDate>
-               <description>&lt;p&gt;The &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User Group&lt;/a&gt;,
-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
-&lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt; is a useful venue.
-Since a few days ago, when I figured out the
-&lt;a href=&quot;http://beta.frikanalen.no/api/&quot;&gt;REST API&lt;/a&gt; to program the
-&lt;a href=&quot;http://beta.frikanalen.tv/guide/&quot;&gt;channel time schedule&lt;/a&gt;,
-the channel has been filled with NUUG talks, related recordings and
-some Creative Commons licensed TED talks (from archive.org).  I fill
-all &quot;leftover bits&quot; on the channel with content from NUUG, which at
-the moment is almost 17 of 24 hours every day.&lt;/p&gt;
-
-&lt;p&gt;The list of NUUG videos
-&lt;a href=&quot;http://beta.frikanalen.tv/organization/82&quot;&gt;uploaded so far&lt;/a&gt;
-include things like a
-&lt;a href=&quot;http://beta.frikanalen.tv/video/625090&quot;&gt;one hour talk by John
-Perry Barlow when he visited Oslo&lt;/a&gt;, a presentation of
-&lt;a href=&quot;http://beta.frikanalen.tv/video/624275&quot;&gt;Haiku, the BeOS
-re-implementation&lt;/a&gt;, the
-&lt;a href=&quot;http://beta.frikanalen.tv/video/624493&quot;&gt;history of FiksGataMi,
-the Norwegian version of FixMyStreet&lt;/a&gt;, the good old
-&lt;a href=&quot;http://beta.frikanalen.tv/video/623566&quot;&gt;Warriors of the net
-video&lt;/A&gt; and many others.&lt;/p&gt;
-
-&lt;p&gt;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,
-&lt;a href=&quot;irc://irc.freenode.net/%23nuug&quot;&gt;#nuug on irc.freenode.net&lt;/a&gt;
-if you want to help make this happen.&lt;/p&gt;
-
-&lt;p&gt;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 &lt;a href=&quot;http://www.frikanalen.tv/se&quot;&gt;Ogg Theora
-web stream&lt;/a&gt; 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.&lt;/p&gt;
-</description>
-       </item>
-       
-       <item>
-               <title>The Citizenfour documentary on the Snowden confirmations to Norway</title>
-               <link>http://people.skolelinux.org/pere/blog/The_Citizenfour_documentary_on_the_Snowden_confirmations_to_Norway.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_Citizenfour_documentary_on_the_Snowden_confirmations_to_Norway.html</guid>
-                <pubDate>Sat, 28 Feb 2015 22:10:00 +0100</pubDate>
-               <description>&lt;p&gt;Today I was happy to learn that the documentary
-&lt;a href=&quot;https://citizenfourfilm.com/&quot;&gt;Citizenfour&lt;/a&gt; by
-&lt;a href=&quot;https://en.wikipedia.org/wiki/Laura_Poitras&quot;&gt;Laura Poitras&lt;/a&gt;
-finally will show up in Norway.  According to the magazine
-&lt;a href=&quot;http://montages.no/&quot;&gt;Montages&lt;/a&gt;, a deal has finally been
-made for
-&lt;a href=&quot;http://montages.no/nyheter/snowden-dokumentaren-citizenfour-far-norsk-kinodistribusjon/&quot;&gt;Cinema
-distribution in Norway&lt;/a&gt; and the movie will have its premiere soon.
-This is great news.  As part of my involvement with
-&lt;a href=&quot;http://www.nuug.no/&quot;&gt;the Norwegian Unix User Group&lt;/a&gt;, me and
-a friend have
-&lt;a href=&quot;http://www.nuug.no/news/Dokumentar_om_Snowdenbekreftelsene_til_Norge_.shtml&quot;&gt;tried
-to get the movie to Norway&lt;/a&gt; ourselves, but obviously
-&lt;a href=&quot;http://www.nuug.no/news/Dokumentar_om_Snowdenbekreftelsene_endelig_til_Norge_.shtml&quot;&gt;we
-were too late&lt;/a&gt; and Tor Fosse beat us to it.  I am happy he did, as
-the movie will make its way to the public and we do not have to make
-it happen ourselves.
-&lt;a href=&quot;https://www.youtube.com/watch?v=XiGwAvd5mvM&quot;&gt;The trailer&lt;/a&gt;
-can be seen on youtube, if you are curious what kind of film this
-is.&lt;/p&gt;
-
-&lt;p&gt;The whistle blower Edward Snowden really deserve political asylum
-here in Norway, but I am afraid he would not be safe.&lt;/p&gt;
-</description>
-       </item>
-       
         </channel>
 </rss>