X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/076505fac0acc8e72701f9dc73a5b518f71ce62a..f83d2fa65668c519c8e556a0fa3f7a304b578c96:/blog/tags/english/index.html diff --git a/blog/tags/english/index.html b/blog/tags/english/index.html index 41e85ff4e9..aeb96fdccb 100644 --- a/blog/tags/english/index.html +++ b/blog/tags/english/index.html @@ -20,6 +20,2984 @@

Entries tagged "english".

+
+
+ Creepy, visualise geotagged social media information - nice free software +
+
+ 24th January 2016 +
+
+

Most people seem not to realise that every time they walk around +with the computerised radio beacon known as a mobile phone their +position is tracked by the phone company and often stored for a long +time (like every time a SMS is received or sent). And if their +computerised radio beacon is capable of running programs (often called +mobile apps) downloaded from the Internet, these programs are often +also capable of tracking their location (if the app requested access +during installation). And when these programs send out information to +central collection points, the location is often included, unless +extra care is taken to not send the location. The provided +information is used by several entities, for good and bad (what is +good and bad, depend on your point of view). What is certain, is that +the private sphere and the right to free movement is challenged and +perhaps even eradicated for those announcing their location this way, +when they share their whereabouts with private and public +entities.

+ +

+ +

The phone company logs provide a register of locations to check out +when one want to figure out what the tracked person was doing. It is +unavailable for most of us, but provided to selected government +officials, company staff, those illegally buying information from +unfaithful servants and crackers stealing the information. But the +public information can be collected and analysed, and a free software +tool to do so is called +Creepy or Cree.py. I +discovered it when I read +an +article about Creepy in the Norwegian newspaper Aftenposten i +November 2014, and decided to check if it was available in Debian. +The python program was in Debian, but +the version in +Debian was completely broken and practically unmaintained. I +uploaded a new version which did not work quite right, but did not +have time to fix it then. This Christmas I decided to finally try to +get Creepy operational in Debian. Now a fixed version is available in +Debian unstable and testing, and almost all Debian specific patches +are now included +upstream.

+ +

The Creepy program visualises geolocation information fetched from +Twitter, Instagram, Flickr and Google+, and allow one to get a +complete picture of every social media message posted recently in a +given area, or track the movement of a given individual across all +these services. Earlier it was possible to use the search API of at +least some of these services without identifying oneself, but these +days it is impossible. This mean that to use Creepy, you need to +configure it to log in as yourself on these services, and provide +information to them about your search interests. This should be taken +into account when using Creepy, as it will also share information +about yourself with the services.

+ +

The picture above show the twitter messages sent from (or at least +geotagged with a position from) the city centre of Oslo, the capital +of Norway. One useful way to use Creepy is to first look at +information tagged with an area of interest, and next look at all the +information provided by one or more individuals who was in the area. +I tested it by checking out which celebrity provide their location in +twitter messages by checkout out who sent twitter messages near a +Norwegian TV station, and next could track their position over time, +making it possible to locate their home and work place, among other +things. A similar technique have been +used +to locate Russian soldiers in Ukraine, and it is both a powerful +tool to discover lying governments, and a useful tool to help people +understand the value of the private information they provide to the +public.

+ +

The package is not trivial to backport to Debian Stable/Jessie, as +it depend on several python modules currently missing in Jessie (at +least python-instagram, python-flickrapi and +python-requests-toolbelt).

+ +

(I have uploaded +the image to +screenshots.debian.net and licensed it under the same terms as the +Creepy program in Debian.)

+ +
+
+ + + Tags: debian, english, nice free software. + + +
+
+
+ +
+
+ Always download Debian packages using Tor - the simple recipe +
+
+ 15th January 2016 +
+
+

During his DebConf15 keynote, Jacob Appelbaum +observed +that those listening on the Internet lines would have good reason to +believe a computer have a given security hole if it download a +security fix from a Debian mirror. This is a good reason to always +use encrypted connections to the Debian mirror, to make sure those +listening do not know which IP address to attack. In August, Richard +Hartmann observed that encryption was not enough, when it was possible +to interfere download size to security patches or the fact that +download took place shortly after a security fix was released, and +proposed +to always use Tor to download packages from the Debian mirror. He +was not the first to propose this, as the +apt-transport-tor +package by Tim Retout already existed to make it easy to convince apt +to use Tor, but I was not +aware of that package when I read the blog post from Richard.

+ +

Richard discussed the idea with Peter Palfrader, one of the Debian +sysadmins, and he set up a Tor hidden service on one of the central +Debian mirrors using the address vwakviie2ienjx6t.onion, thus making +it possible to download packages directly between two tor nodes, +making sure the network traffic always were encrypted.

+ +

Here is a short recipe for enabling this on your machine, by +installing apt-transport-tor and replacing http and https +urls with tor+http and tor+https, and using the hidden service instead +of the official Debian mirror site. I recommend installing +etckeeper before you start to have a history of the changes +done in /etc/.

+ +
+apt install apt-transport-tor
+sed -i 's% http://ftp.debian.org/%tor+http://vwakviie2ienjx6t.onion/%' /etc/apt/sources.list
+sed -i 's% http% tor+http%' /etc/apt/sources.list
+
+ +

If you have more sources listed in /etc/apt/sources.list.d/, run +the sed commands for these too. The sed command is assuming your are +using the ftp.debian.org Debian mirror. Adjust the command (or just +edit the file manually) to match your mirror.

+ +

This work in Debian Jessie and later. Note that tools like +apt-file only recently started using the apt transport +system, and do not work with these tor+http URLs. For +apt-file you need the version currently in experimental, +which need a recent apt version currently only in unstable. So if you +need a working apt-file, this is not for you.

+ +

Another advantage from this change is that your machine will start +using Tor regularly and at fairly random intervals (every time you +update the package lists or upgrade or install a new package), thus +masking other Tor traffic done from the same machine. Using Tor will +become normal for the machine in question.

+ +

On Freedombox, APT +is set up by default to use apt-transport-tor when Tor is +enabled. It would be great if it was the default on any Debian +system.

+ +
+
+ + + Tags: debian, english, sikkerhet. + + +
+
+
+ +
+
+ OpenALPR, find car license plates in video streams - nice free software +
+
+ 23rd December 2015 +
+
+

When I was a kid, we used to collect "car numbers", as we used to +call the car license plate numbers in those days. I would write the +numbers down in my little book and compare notes with the other kids +to see how many region codes we had seen and if we had seen some +exotic or special region codes and numbers. It was a fun game to pass +time, as we kids have plenty of it.

+ +

A few days I came across +the OpenALPR +project, a free software project to automatically discover and +report license plates in images and video streams, and provide the +"car numbers" in a machine readable format. I've been looking for +such system for a while now, because I believe it is a bad idea that the +automatic +number plate recognition tool only is available in the hands of +the powerful, and want it to be available also for the powerless to +even the score when it comes to surveillance and sousveillance. I +discovered the developer +wanted to get the tool into +Debian, and as I too wanted it to be in Debian, I volunteered to +help him get it into shape to get the package uploaded into the Debian +archive.

+ +

Today we finally managed to get the package into shape and uploaded +it into Debian, where it currently +waits +in the NEW queue for review by the Debian ftpmasters.

+ +

I guess you are wondering why on earth such tool would be useful +for the common folks, ie those not running a large government +surveillance system? Well, I plan to put it in a computer on my bike +and in my car, tracking the cars nearby and allowing me to be notified +when number plates on my watch list are discovered. Another use case +was suggested by a friend of mine, who wanted to set it up at his home +to open the car port automatically when it discovered the plate on his +car. When I mentioned it perhaps was a bit foolhardy to allow anyone +capable of placing his license plate number of a piece of cardboard to +open his car port, men replied that it was always unlocked anyway. I +guess for such use case it make sense. I am sure there are other use +cases too, for those with imagination and a vision.

+ +

If you want to build your own version of the Debian package, check +out the upstream git source and symlink ./distros/debian to ./debian/ +before running "debuild" to build the source. Or wait a bit until the +package show up in unstable.

+ +
+
+ + + Tags: debian, english, nice free software. + + +
+
+
+ +
+
+ Using appstream with isenkram to install hardware related packages in Debian +
+
+ 20th December 2015 +
+
+

Around three years ago, I created +the isenkram +system to get a more practical solution in Debian for handing +hardware related packages. A GUI system in the isenkram package will +present a pop-up dialog when some hardware dongle supported by +relevant packages in Debian is inserted into the machine. The same +lookup mechanism to detect packages is available as command line +tools in the isenkram-cli package. In addition to mapping hardware, +it will also map kernel firmware files to packages and make it easy to +install needed firmware packages automatically. The key for this +system to work is a good way to map hardware to packages, in other +words, allow packages to announce what hardware they will work +with.

+ +

I started by providing data files in the isenkram source, and +adding code to download the latest version of these data files at run +time, to ensure every user had the most up to date mapping available. +I also added support for storing the mapping in the Packages file in +the apt repositories, but did not push this approach because while I +was trying to figure out how to best store hardware/package mappings, +the +appstream system was announced. I got in touch and suggested to +add the hardware mapping into that data set to be able to use +appstream as a data source, and this was accepted at least for the +Debian version of appstream.

+ +

A few days ago using appstream in Debian for this became possible, +and today I uploaded a new version 0.20 of isenkram adding support for +appstream as a data source for mapping hardware to packages. The only +package so far using appstream to announce its hardware support is my +pymissile package. I got help from Matthias Klumpp with figuring out +how do add the required +metadata +in pymissile. I added a file debian/pymissile.metainfo.xml with +this content:

+ +
+<?xml version="1.0" encoding="UTF-8"?>
+<component>
+  <id>pymissile</id>
+  <metadata_license>MIT</metadata_license>
+  <name>pymissile</name>
+  <summary>Control original Striker USB Missile Launcher</summary>
+  <description>
+    <p>
+      Pymissile provides a curses interface to control an original
+      Marks and Spencer / Striker USB Missile Launcher, as well as a
+      motion control script to allow a webcamera to control the
+      launcher.
+    </p>
+  </description>
+  <provides>
+    <modalias>usb:v1130p0202d*</modalias>
+  </provides>
+</component>
+
+ +

The key for isenkram is the component/provides/modalias value, +which is a glob style match rule for hardware specific strings +(modalias strings) provided by the Linux kernel. In this case, it +will map to all USB devices with vendor code 1130 and product code +0202.

+ +

Note, it is important that the license of all the metadata files +are compatible to have permissions to aggregate them into archive wide +appstream files. Matthias suggested to use MIT or BSD licenses for +these files. A challenge is figuring out a good id for the data, as +it is supposed to be globally unique and shared across distributions +(in other words, best to coordinate with upstream what to use). But +it can be changed later or, so we went with the package name as +upstream for this project is dormant.

+ +

To get the metadata file installed in the correct location for the +mirror update scripts to pick it up and include its content the +appstream data source, the file must be installed in the binary +package under /usr/share/appdata/. I did this by adding the following +line to debian/pymissile.install:

+ +
+debian/pymissile.metainfo.xml usr/share/appdata
+
+ +

With that in place, the command line tool isenkram-lookup will list +all packages useful on the current computer automatically, and the GUI +pop-up handler will propose to install the package not already +installed if a hardware dongle is inserted into the machine in +question.

+ +

Details of the modalias field in appstream is available from the +DEP-11 proposal.

+ +

To locate the modalias values of all hardware present in a machine, +try running this command on the command line:

+ +
+cat $(find /sys/devices/|grep modalias)
+
+ +

To learn more about the isenkram system, please check out +my +blog posts tagged isenkram.

+ +
+
+ + + Tags: debian, english, isenkram. + + +
+
+
+ +
+
+ The GNU General Public License is not magic pixie dust +
+
+ 30th November 2015 +
+
+

A blog post from my fellow Debian developer Paul Wise titled +"The +GPL is not magic pixie dust" explain the importance of making sure +the GPL is enforced. +I quote the blog post from Paul in full here with his permission:

+ +

+ +

Become a Software Freedom Conservancy Supporter!

+ +
+The GPL is not magic pixie dust. It does not work by itself.
+ +The first step is to choose a +copyleft license for your +code.
+ +The next step is, when someone fails to follow that copyleft license, +it must be enforced
+ +and its a simple fact of our modern society that such type of +work
+ +is incredibly expensive to do and incredibly difficult to do. +
+ +

-- Bradley Kuhn, in +FaiF +episode +0x57

+ +

As the Debian Website +used +to +imply, public domain and permissively licensed software can lead to +the production of more proprietary software as people discover useful +software, extend it and or incorporate it into their hardware or +software products. Copyleft licenses such as the GNU GPL were created +to close off this avenue to the production of proprietary software but +such licenses are not enough. With the ongoing adoption of Free +Software by individuals and groups, inevitably the community's +expectations of license compliance are violated, usually out of +ignorance of the way Free Software works, but not always. As Karen +and Bradley explained in FaiF +episode 0x57, +copyleft is nothing if no-one is willing and able to stand up in court +to protect it. The reality of today's world is that legal +representation is expensive, difficult and time consuming. With +gpl-violations.org in hiatus +until +some time in 2016, the Software +Freedom Conservancy (a tax-exempt charity) is the major defender +of the Linux project, Debian and other groups against GPL violations. +In March the SFC supported a +lawsuit +by Christoph Hellwig against VMware for refusing to +comply +with the GPL in relation to their use of parts of the Linux +kernel. Since then two of their sponsors pulled corporate funding and +conferences +blocked +or cancelled their talks. As a result they have decided to rely +less on corporate funding and more on the broad community of +individuals who support Free Software and copyleft. So the SFC has +launched +a campaign to create +a community of folks who stand up for copyleft and the GPL by +supporting their work on promoting and supporting copyleft and Free +Software.

+ +

If you support Free Software, +like +what the SFC do, agree with their +compliance +principles, are happy about their +successes in 2015, +work on a project that is an SFC +member and or +just want to stand up for copyleft, please join +Christopher +Allan Webber, +Carol +Smith, +Jono +Bacon, myself and +others in +becoming a +supporter. For the +next week your donation will be +matched +by an anonymous donor. Please also consider asking your employer to +match your donation or become a sponsor of SFC. Don't forget to +spread the word about your support for SFC via email, your blog and or +social media accounts.

+ +
+ +

I agree with Paul on this topic and just signed up as a Supporter +of Software Freedom Conservancy myself. Perhaps you should be a +supporter too?

+ +
+
+ + + Tags: debian, debian edu, english, opphavsrett. + + +
+
+
+ +
+
+ PGP key transition statement for key EE4E02F9 +
+
+ 17th November 2015 +
+
+

I've needed a new OpenPGP key for a while, but have not had time to +set it up properly. I wanted to generate it offline and have it +available on a OpenPGP +smart card for daily use, and learning how to do it and finding +time to sit down with an offline machine almost took forever. But +finally I've been able to complete the process, and have now moved +from my old GPG key to a new GPG key. See +the +full transition statement, signed with both my old and new key for +the details. This is my new key:

+ +
+pub   3936R/111D6B29EE4E02F9 2015-11-03 [expires: 2019-11-14]
+      Key fingerprint = 3AC7 B2E3 ACA5 DF87 78F1  D827 111D 6B29 EE4E 02F9
+uid                  Petter Reinholdtsen <pere@hungry.com>
+uid                  Petter Reinholdtsen <pere@debian.org>
+sub   4096R/87BAFB0E 2015-11-03 [expires: 2019-11-02]
+sub   4096R/F91E6DE9 2015-11-03 [expires: 2019-11-02]
+sub   4096R/A0439BAB 2015-11-03 [expires: 2019-11-02]
+
+ +

The key can be downloaded from the OpenPGP key servers, signed by +my old key.

+ +

If you signed my old key +(DB4CCC4B2A30D729), +I'd very much appreciate a signature on my new key, details and +instructions in the transition statement. I m happy to reciprocate if +you have a similarly signed transition statement to present.

+ +
+
+ + + Tags: debian, english, sikkerhet. + + +
+
+
+ +
+
+ Is Pentagon deciding the Norwegian negotiating position on Internet governance? +
+
+ 3rd November 2015 +
+
+

In Norway, all government offices are required by law to keep a +list of every document or letter arriving and leaving their offices. +Internal notes should also be documented. The document list (called a mail +journal - "postjournal" in Norwegian) is public information and thanks +to the Norwegian Freedom of Information Act (Offentleglova) the mail +journal is available for everyone. Most offices even publish the mail +journal on their web pages, as PDFs or tables in web pages. The state-level offices even have a shared web based search service (called +Offentlig Elektronisk Postjournal - +OEP) to make it possible to search the entries in the list. Not +all journal entries show up on OEP, and the search service is hard to +use, but OEP does make it easier to find at least some interesting +journal entries .

+ +

In 2012 I came across a document in the mail journal for the +Norwegian Ministry of Transport and Communications on OEP that +piqued my interest. The title of the document was +"Internet +Governance and how it affects national security" (Norwegian: +"Internet Governance og påvirkning på nasjonal sikkerhet"). The +document date was 2012-05-22, and it was said to be sent from the +"Permanent Mission of Norway to the United Nations". I asked for a +copy, but my request was rejected with a reference to a legal clause said to authorize them to reject it +(offentleglova § 20, +letter c) and an explanation that the document was exempt because +of foreign policy interests as it contained information related to the +Norwegian negotiating position, negotiating strategies or similar. I +was told the information in the document related to the ongoing +negotiation in the International Telecommunications Union (ITU). The +explanation made sense to me in early January 2013, as a ITU +conference in Dubay discussing Internet Governance +(World +Conference on International Telecommunications - WCIT-12) had just +ended, +reportedly +in chaos when USA walked out of the negotiations and 25 countries +including Norway refused to sign the new treaty. It seemed +reasonable to believe talks were still going on a few weeks later. +Norway was represented at the ITU meeting by two authorities, the +Norwegian Communications Authority +and the Ministry of +Transport and Communications. This might be the reason the letter +was sent to the ministry. As I was unable to find the document in the +mail journal of any Norwegian UN mission, I asked the ministry who had +sent the document to the ministry, and was told that it was the Deputy +Permanent Representative with the Permanent Mission of Norway in +Geneva.

+ +

Three years later, I was still curious about the content of that +document, and again asked for a copy, believing the negotiation was +over now. This time +I +asked both the Ministry of Transport and Communications as the +receiver and +asked +the Permanent Mission of Norway in Geneva as the sender for a +copy, to see if they both agreed that it should be withheld from the +public. The ministry upheld its rejection quoting the same law +reference as before, while the permanent mission rejected it quoting a +different clause +(offentleglova § 20 +letter b), claiming that they were required to keep the +content of the document from the public because it contained +information given to Norway with the expressed or implied expectation +that the information should not be made public. I asked the permanent +mission for an explanation, and was told that the document contained +an account from a meeting held in the Pentagon for a limited group of NATO +nations where the organiser of the meeting did not intend the content +of the meeting to be publicly known. They explained that giving me a +copy might cause Norway to not get access to similar information in +the future and thus hurt the future foreign interests of Norway. They +also explained that the Permanent Mission of Norway in Geneva was not +the author of the document, they only got a copy of it, and because of +this had not listed it in their mail journal.

+ +

Armed with this +knowledge I asked the Ministry to reconsider and asked who was the +author of the document, now realising that it was not same as the +"sender" according to Ministry of Transport and Communications. The +ministry upheld its rejection but told me the name of the author of +the document. According to +a +government report the author was with the Permanent Mission of +Norway in New York a bit more than a year later (2014-09-22), so I +guessed that might be the office responsible for writing and sending +the report initially and +asked +them for a copy but I was obviously wrong as I was told that the +document was unknown to them and that the author did not work there +when the document was written. Next, I asked the Permanent Mission of +Norway in Geneva and the Foreign Ministry to reconsider and at least +tell me who sent the document to Deputy Permanent Representative with +the Permanent Mission of Norway in Geneva. The Foreign Ministry also +upheld its rejection, but told me that the person sending the document +to Permanent Mission of Norway in Geneva was the defence attaché with +the Norwegian Embassy in Washington. I do not know if this is the +same person as the author of the document.

+ +

If I understand the situation correctly, someone capable of +inviting selected NATO nations to a meeting in Pentagon organised a +meeting where someone representing the Norwegian defence attaché in +Washington attended, and the account from this meeting is interpreted +by the Ministry of Transport and Communications to expose Norways +negotiating position, negotiating strategies and similar regarding the +ITU negotiations on Internet Governance. It is truly amazing what can +be derived from mere meta-data.

+ +

I wonder which NATO countries besides Norway attended this meeting? +And what exactly was said and done at the meeting? Anyone know?

+ +
+
+ + + Tags: english, offentlig innsyn, opphavsrett, personvern. + + +
+
+
+ +
+
+ New book, "Fri kultur" by @lessig, a Norwegian Bokmål translation of "Free Culture" from 2004 +
+
+ 31st October 2015 +
+
+

People keep asking me where to get the various forms of the book I +published last week, the Norwegian Bokmål edition of Lawrence Lessigs +book Free Culture. It was +published on paper via lulu.com, and is also available in PDF, ePub +and MOBI format. I currently sell the paper edition for self cost +from lulu.com, but might extend the distribution to book stores like +Amazon and Barnes & Noble later. This will double the price and force +me to make a profit from selling the book. Anyway, here are links to +get the book in different formats:

+ + + +

Note that the MOBI version have problems with the table of content, +at least with the viewers I have been able to test. And the ePub file +have several problems according to +epubcheck, but seem +to display fine in the viewers I have tested. All the files needed to +create the book in various forms are available from +the +github project page.

+ +

The project got press coverage from the Norwegian IT news site +digi.no. Check out the article +"Vil +åpne politikernes øyne for Creative Commons". + +

I've blogged +about the project as it moved along. The blogs document the translation +progress and insights I had along the way.

+ +
+
+ + + Tags: english, freeculture. + + +
+
+
+ +
+
+ "Free Culture" by @lessig - The background story for Creative Commons - new edition available +
+
+ 23rd October 2015 +
+
+

Click +here to buy the book.

+ +

In 2004, as the Creative Commons +movement gained momentum, its creator Lawrence Lessig wrote the +book Free +Culture to explain the problems with increasing copyright +regulation and suggest some solutions. I read the book back then and +was very moved by it. Reading the book inspired me and changed the +way I looked on copyright law, and I would love it if more people +would read it too.

+ +

Because of this, I decided in the summer of 2012 to translate it to +Norwegian Bokmål and publish it for those of my friends and family +that prefer to read books in Norwegian. I translated the book using +docbook and a gettext PO file, and a byproduct of this process is a +new edition of the English original. I've been in touch with the +author during by work, and he said it was fine with him if I also +published an English version. So I decided to do so. Today, I made +this edition +available +for sale on Lulu.com, for those interested in a paper book. This +is the cover: + +

+ +

The Norwegian Bokmål version will be available for purchase in a +few days. I also plan to publish a French version in a few weeks or +months, depending on the amount of people with knowledge of French to +join the translation project. So far there is only one active +person, but the French book is almost completely translated but +need some proof reading.

+ +

The book is also available in PDF, ePub and MOBI formats from +my +github project page. Note the ePub and MOBI versions have some +formatting problems I believe is due to bugs in the docbook tool +dbtoepub (Debian BTS issues +#795842 +and +#796871), +but I have not taken the time to investigate. I recommend the PDF and +ePub version for now, as they seem to show up fine in the viewers I +have available.

+ +

After the translation to Norwegian Bokmål was complete, I was able +to secure some sponsoring from +the NUUG Foundation to +print the book. This is the reason their logo is located on the back +cover. I am very grateful for their contribution, and will use it to +give a copy of the Norwegian edition to members of the Norwegian +Parliament and other decision makers here in Norway.

+ +
+
+ + + Tags: docbook, english, freeculture. + + +
+
+
+ +
+
+ Lawrence Lessig interviewed Edward Snowden a year ago +
+
+ 19th October 2015 +
+
+

Last year, US president candidate +in the Democratic Party Lawrence interviewed Edward Snowden. The +one hour interview was +published by +Harvard Law School 2014-10-23 on Youtube, and the meeting took +place 2014-10-20.

+ +

The questions are very good, and there is lots of useful +information to be learned and very interesting issues to think about +being raised. Please check it out.

+ + + +

I find it especially interesting to hear again that Snowden did try +to bring up his reservations through the official channels without any +luck. It is in sharp contrast to the answers made 2013-11-06 by the +Norwegian prime minister Erna Solberg to the Norwegian Parliament, +claiming +Snowden is no Whistle-Blower because he should have taken up his +concerns internally and using official channels. It make me sad +that this is the political leadership we have here in Norway.

+ +
+
+ + + Tags: english, personvern, sikkerhet, surveillance. + + +
+
+
+ +
+
+ The Story of Aaron Swartz - Let us all weep! +
+
+ 8th October 2015 +
+
+

The movie "The +Internet's Own Boy: The Story of Aaron Swartz" is both inspiring +and depressing at the same time. The work of Aaron Swartz has +inspired me in my work, and I am grateful of all the improvements he +was able to initiate or complete. I wish I am able to do as much good +in my life as he did in his. Every minute of this 1:45 long movie is +inspiring in documenting how much impact a single person can have on +improving the society and this world. And it is depressing in +documenting how the law enforcement of USA (and other countries) is +corrupted to a point where they can push a bright kid to his death for +downloading too many scientific articles. Aaron is dead. Let us all +weep.

+ +

The movie is also available on +Youtube. I +wish there were Norwegian subtitles available, so I could show it to +my parents.

+ +
+
+ + + Tags: english, opphavsrett. + + +
+
+
+ +
+
+ French Docbook/PDF/EPUB/MOBI edition of the Free Culture book +
+
+ 1st October 2015 +
+
+

As I wrap up the Norwegian version of +Free +Culture book by Lawrence Lessig (still waiting for my final proof +reading copy to arrive in the mail), my great +dblatex helper and +developer of the dblatex docbook processor, Benoît Guillon, decided a +to try to create a French version of the book. He started with the +French translation available from the +Wikilivres wiki +pages, and wrote a program to convert it into a PO file, allowing +the translation to be integrated into the po4a based framework I use +to create the Norwegian translation from the English edition. We meet +on the #dblatex IRC +channel to discuss the work. If you want to help create a French +edition, check out +his git +repository and join us on IRC. If the French edition look good, +we might publish it as a paper book on lulu.com. A French version of +the drawings and the cover need to be provided for this to happen.

+ +
+
+ + + Tags: docbook, english, freeculture. + + +
+
+
+ +
+
+ The life and death of a laptop battery +
+
+ 24th September 2015 +
+
+

When I get a new laptop, the battery life time at the start is OK. +But this do not last. The last few laptops gave me a feeling that +within a year, the life time is just a fraction of what it used to be, +and it slowly become painful to use the laptop without power connected +all the time. Because of this, when I got a new Thinkpad X230 laptop +about two years ago, I decided to monitor its battery state to have +more hard facts when the battery started to fail.

+ + + +

First I tried to find a sensible Debian package to record the +battery status, assuming that this must be a problem already handled +by someone else. I found +battery-stats, +which collects statistics from the battery, but it was completely +broken. I sent a few suggestions to the maintainer, but decided to +write my own collector as a shell script while I waited for feedback +from him. Via +a +blog post about the battery development on a MacBook Air I also +discovered +batlog, not +available in Debian.

+ +

I started my collector 2013-07-15, and it has been collecting +battery stats ever since. Now my +/var/log/hjemmenett-battery-status.log file contain around 115,000 +measurements, from the time the battery was working great until now, +when it is unable to charge above 7% of original capacity. My +collector shell script is quite simple and look like this:

+ +
+#!/bin/sh
+# Inspired by
+# http://www.ifweassume.com/2013/08/the-de-evolution-of-my-laptop-battery.html
+# See also
+# http://blog.sleeplessbeastie.eu/2013/01/02/debian-how-to-monitor-battery-capacity/
+logfile=/var/log/hjemmenett-battery-status.log
+
+files="manufacturer model_name technology serial_number \
+    energy_full energy_full_design energy_now cycle_count status"
+
+if [ ! -e "$logfile" ] ; then
+    (
+	printf "timestamp,"
+	for f in $files; do
+	    printf "%s," $f
+	done
+	echo
+    ) > "$logfile"
+fi
+
+log_battery() {
+    # Print complete message in one echo call, to avoid race condition
+    # when several log processes run in parallel.
+    msg=$(printf "%s," $(date +%s); \
+	for f in $files; do \
+	    printf "%s," $(cat $f); \
+	done)
+    echo "$msg"
+}
+
+cd /sys/class/power_supply
+
+for bat in BAT*; do
+    (cd $bat && log_battery >> "$logfile")
+done
+
+ +

The script is called when the power management system detect a +change in the power status (power plug in or out), and when going into +and out of hibernation and suspend. In addition, it collect a value +every 10 minutes. This make it possible for me know when the battery +is discharging, charging and how the maximum charge change over time. +The code for the Debian package +is now +available on github.

+ +

The collected log file look like this:

+ +
+timestamp,manufacturer,model_name,technology,serial_number,energy_full,energy_full_design,energy_now,cycle_count,status,
+1376591133,LGC,45N1025,Li-ion,974,62800000,62160000,39050000,0,Discharging,
+[...]
+1443090528,LGC,45N1025,Li-ion,974,4900000,62160000,4900000,0,Full,
+1443090601,LGC,45N1025,Li-ion,974,4900000,62160000,4900000,0,Full,
+
+ +

I wrote a small script to create a graph of the charge development +over time. This graph depicted above show the slow death of my laptop +battery.

+ +

But why is this happening? Why are my laptop batteries always +dying in a year or two, while the batteries of space probes and +satellites keep working year after year. If we are to believe +Battery +University, the cause is me charging the battery whenever I have a +chance, and the fix is to not charge the Lithium-ion batteries to 100% +all the time, but to stay below 90% of full charge most of the time. +I've been told that the Tesla electric cars +limit +the charge of their batteries to 80%, with the option to charge to +100% when preparing for a longer trip (not that I would want a car +like Tesla where rights to privacy is abandoned, but that is another +story), which I guess is the option we should have for laptops on +Linux too.

+ +

Is there a good and generic way with Linux to tell the battery to +stop charging at 80%, unless requested to charge to 100% once in +preparation for a longer trip? I found +one +recipe on askubuntu for Ubuntu to limit charging on Thinkpad to +80%, but could not get it to work (kernel module refused to +load).

+ +

I wonder why the battery capacity was reported to be more than 100% +at the start. I also wonder why the "full capacity" increases some +times, and if it is possible to repeat the process to get the battery +back to design capacity. And I wonder if the discharge and charge +speed change over time, or if this stay the same. I did not yet try +to write a tool to calculate the derivative values of the battery +level, but suspect some interesting insights might be learned from +those.

+ +

Update 2015-09-24: I got a tip to install the packages +acpi-call-dkms and tlp (unfortunately missing in Debian stable) +packages instead of the tp-smapi-dkms package I had tried to use +initially, and use 'tlp setcharge 40 80' to change when charging start +and stop. I've done so now, but expect my existing battery is toast +and need to be replaced. The proposal is unfortunately Thinkpad +specific.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ Book cover for the Free Culture book finally done +
+
+ 3rd September 2015 +
+
+

Creating a good looking book cover proved harder than I expected. +I wanted to create a cover looking similar to the original cover of +the +Free +Culture book we are translating to Norwegian, and I wanted it in +vector format for high resolution printing. But my inkscape knowledge +were not nearly good enough to pull that off. + +

But thanks to the great inkscape community, I was able to wrap up +the cover yesterday evening. I asked on the +#inkscape IRC channel +on Freenode for help and clues, and Marc Jeanmougin (Mc-) volunteered +to try to recreate it based on the PDF of the cover from the HTML +version. Not only did he create a +SVG document with +the original and his vector version side by side, he even provided +an instruction +video explaining how he did it. But the instruction video is +not easy to follow for an untrained inkscape user. The video is a +recording on how he did it, and he is obviously very experienced as +the menu selections are very quick and he mentioned on IRC that he did +use some keyboard shortcuts that can't be seen on the video, but it +give a good idea about the inkscape operations to use to create the +stripes with the embossed copyright sign in the center.

+ +

I took his SVG file, copied the vector image and re-sized it to fit +on the cover I was drawing. I am happy with the end result, and the +current english version look like this:

+ + + +

I am not quite sure about the text on the back, but guess it will +do. I picked three quotes from the official site for the book, and +hope it will work to trigger the interest of potential readers. The +Norwegian cover will look the same, but with the texts and bar code +replaced with the Norwegian version.

+ +

The book is very close to being ready for publication, and I expect +to upload the final draft to Lulu in the next few days and order a +final proof reading copy to verify that everything look like it should +before allowing everyone to order their own copy of Free Culture, in +English or Norwegian Bokmål. I'm waiting to give the the productive +proof readers a chance to complete their work.

+ +
+
+ + + Tags: docbook, english, freeculture. + + +
+
+
+ +
+
+ In my hand, a pocket book edition of the Norwegian Free Culture book! +
+
+ 19th August 2015 +
+
+

Today, finally, my first printed draft edition of the Norwegian +translation of Free Culture I have been working on for the last few +years arrived in the mail. I had to fake a cover to get the interior +printed, and the exterior of the book look awful, but that is +irrelevant at this point. I asked for a printed pocket book version +to get an idea about the font sizes and paper format as well as how +good the figures and images look in print, but also to test what the +pocket book version would look like. After receiving the 500 page +pocket book, it became obvious to me that that pocket book size is too +small for this book. I believe the book is too thick, and several +tables and figures do not look good in the size they get with that +small page sizes. I believe I will go with the 5.5x8.5 inch size +instead. A surprise discovery from the paper version was how bad the +URLs look in print. They are very hard to read in the colophon page. +The URLs are red in the PDF, but light gray on paper. I need to +change the color of links somehow to look better. But there is a +printed book in my hand, and it feels great. :)

+ +

Now I only need to fix the cover, wrap up the postscript with the +store behind the book, and collect the last corrections from the proof +readers before the book is ready for proper printing. Cover artists +willing to work for free and create a Creative Commons licensed vector +file looking similar to the original is most welcome, as my skills as +a graphics designer are mostly missing.

+ +
+
+ + + Tags: docbook, english, freeculture. + + +
+
+
+ +
+
+ First paper version of the Norwegian Free Culture book heading my way +
+
+ 9th August 2015 +
+
+

Typesetting a book is harder than I hoped. As the translation is +mostly done, and a volunteer proof reader was going to check the text +on paper, it was time this summer to focus on formatting my translated +docbook based version of the +Free Culture book by Lawrence +Lessig. I've been trying to get both docboox-xsl+fop and dblatex to +give me a good looking PDF, but in the end I went with dblatex, because +its Debian maintainer and upstream developer were responsive and very +helpful in solving my formatting challenges.

+ +

Last night, I finally managed to create a PDF that no longer made +Lulu.com complain after uploading, +and I ordered a text version of the book on paper. It is lacking a +proper book cover and is not tagged with the correct ISBN number, but +should give me an idea what the finished book will look like.

+ +

Instead of using Lulu, I did consider printing the book using +CreateSpace, but ended up +using Lulu because it had smaller book size options (CreateSpace seem +to lack pocket book with extended distribution). I looked for a +similar service in Norway, but have not seen anything so far. Please +let me know if I am missing out on something here.

+ +

But I still struggle to decide the book size. Should I go for +pocket book (4.25x6.875 inches / 10.8x17.5 cm) with 556 pages, Digest +(5.5x8.5 inches / 14x21.6 cm) with 323 pages or US Trade (6x8 inches / +15.3x22.9 cm) with 280 pages? Fewer pager give a cheaper book, and a +smaller book is easier to carry around. The test book I ordered was +pocket book sized, to give me an idea how well that fit in my hand, +but I suspect I will end up using a digest sized book in the end to +bring the prize down further.

+ +

My biggest challenge at the moment is making nice cover art. My +inkscape skills are not yet up to the task of replicating the original +cover in SVG format. I also need to figure out what to write about +the book on the back (will most likely use the same text as the +description on web based book stores). I would love help with this, +if you are willing to license the art source and final version using +the same CC license as the book. My artistic skills are not really up +to the task.

+ +

I plan to publish the book in both English and Norwegian and on +paper, in PDF form as well as EPUB and MOBI format. The current +status can as usual be found on +github +in the archive/ directory. So far I have spent all time on making the +PDF version look good. Someone should probably do the same with the +dbtoepub generated e-book. Help is definitely needed here, as I +expect to run out of steem before I find time to improve the epub +formatting.

+ +

Please let me know via github if you find typos in the book or +discover translations that should be improved. The final proof +reading is being done right now, and I expect to publish the finished +result in a few months.

+ +
+
+ + + Tags: docbook, english, freeculture. + + +
+
+
+ +
+
+ Typesetting DocBook footnotes as endnotes with dblatex +
+
+ 16th July 2015 +
+
+

I'm still working on the Norwegian version of the +Free Culture book by Lawrence +Lessig, and is now working on the final typesetting and layout. +One of the features I want to get the structure similar to the +original book is to typeset the footnotes as endnotes in the notes +chapter. Based on the +feedback from the Debian +maintainer and the dblatex developer, I came up with this recipe I +would like to share with you. The proposal was to create a new LaTeX +class file and add the LaTeX code there, but this is not always +practical, when I want to be able to replace the class using a make +file variable. So my proposal misuses the latex.begindocument XSL +parameter value, to get a small fragment into the correct location in +the generated LaTeX File.

+ +

First, decide where in the DocBook document to place the endnotes, +and add this text there:

+ +
+<?latex \theendnotes ?>
+
+ +

Next, create a xsl stylesheet file dblatex-endnotes.xsl to add the +code needed to add the endnote instructions in the preamble of the +generated LaTeX document, with content like this:

+ +
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+  <xsl:param name="latex.begindocument">
+    <xsl:text>
+\usepackage{endnotes}
+\let\footnote=\endnote
+\def\enoteheading{\mbox{}\par\vskip-\baselineskip }
+\begin{document}
+    </xsl:text>
+  </xsl:param>
+</xsl:stylesheet>
+
+ +

Finally, load this xsl file when running dblatex, for example like +this:

+ +
+dblatex --xsl-user=dblatex-endnotes.xsl freeculture.nb.xml
+
+ +

The end result can be seen on github, where +my +book project is located.

+ +
+
+ + + Tags: docbook, english, freeculture. + + +
+
+
+ +
+
+ MPEG LA on "Internet Broadcast AVC Video" licensing and non-private use +
+
+ 7th July 2015 +
+
+

After asking the Norwegian Broadcasting Company (NRK) +why +they can broadcast and stream H.264 video without an agreement with +the MPEG LA, I was wiser, but still confused. So I asked MPEG LA +if their understanding matched that of NRK. As far as I can tell, it +does not.

+ +

I started by asking for more information about the various +licensing classes and what exactly is covered by the "Internet +Broadcast AVC Video" class that NRK pointed me at to explain why NRK +did not need a license for streaming H.264 video: + +

+ +

According to +a +MPEG LA press release dated 2010-02-02, there is no charge when +using MPEG AVC/H.264 according to the terms of "Internet Broadcast AVC +Video". I am trying to understand exactly what the terms of "Internet +Broadcast AVC Video" is, and wondered if you could help me. What +exactly is covered by these terms, and what is not?

+ +

The only source of more information I have been able to find is a +PDF named +AVC +Patent Portfolio License Briefing, which states this about the +fees:

+ +
    +
  • Where End User pays for AVC Video +
      +
    • Subscription (not limited by title) – 100,000 or fewer + subscribers/yr = no royalty; > 100,000 to 250,000 subscribers/yr = + $25,000; >250,000 to 500,000 subscribers/yr = $50,000; >500,000 to + 1M subscribers/yr = $75,000; >1M subscribers/yr = $100,000
    • + +
    • Title-by-Title - 12 minutes or less = no royalty; >12 minutes in + length = lower of (a) 2% or (b) $0.02 per title
    • +
  • + +
  • Where remuneration is from other sources +
      +
    • Free Television - (a) one-time $2,500 per transmission encoder or + (b) annual fee starting at $2,500 for > 100,000 HH rising to + maximum $10,000 for >1,000,000 HH
    • + +
    • Internet Broadcast AVC Video (not title-by-title, not subscription) + – no royalty for life of the AVC Patent Portfolio License
    • +
  • +
+ +

Am I correct in assuming that the four categories listed is the +categories used when selecting licensing terms, and that "Internet +Broadcast AVC Video" is the category for things that do not fall into +one of the other three categories? Can you point me to a good source +explaining what is ment by "title-by-title" and "Free Television" in +the license terms for AVC/H.264?

+ +

Will a web service providing H.264 encoded video content in a +"video on demand" fashing similar to Youtube and Vimeo, where no +subscription is required and no payment is required from end users to +get access to the videos, fall under the terms of the "Internet +Broadcast AVC Video", ie no royalty for life of the AVC Patent +Portfolio license? Does it matter if some users are subscribed to get +access to personalized services?

+ +

Note, this request and all answers will be published on the +Internet.

+

+ +

The answer came quickly from Benjamin J. Myers, Licensing Associate +with the MPEG LA:

+ +

+

Thank you for your message and for your interest in MPEG LA. We +appreciate hearing from you and I will be happy to assist you.

+ +

As you are aware, MPEG LA offers our AVC Patent Portfolio License +which provides coverage under patents that are essential for use of +the AVC/H.264 Standard (MPEG-4 Part 10). Specifically, coverage is +provided for end products and video content that make use of AVC/H.264 +technology. Accordingly, the party offering such end products and +video to End Users concludes the AVC License and is responsible for +paying the applicable royalties.

+ +

Regarding Internet Broadcast AVC Video, the AVC License generally +defines such content to be video that is distributed to End Users over +the Internet free-of-charge. Therefore, if a party offers a service +which allows users to upload AVC/H.264 video to its website, and such +AVC Video is delivered to End Users for free, then such video would +receive coverage under the sublicense for Internet Broadcast AVC +Video, which is not subject to any royalties for the life of the AVC +License. This would also apply in the scenario where a user creates a +free online account in order to receive a customized offering of free +AVC Video content. In other words, as long as the End User is given +access to or views AVC Video content at no cost to the End User, then +no royalties would be payable under our AVC License.

+ +

On the other hand, if End Users pay for access to AVC Video for a +specific period of time (e.g., one month, one year, etc.), then such +video would constitute Subscription AVC Video. In cases where AVC +Video is delivered to End Users on a pay-per-view basis, then such +content would constitute Title-by-Title AVC Video. If a party offers +Subscription or Title-by-Title AVC Video to End Users, then they would +be responsible for paying the applicable royalties you noted below.

+ +

Finally, in the case where AVC Video is distributed for free +through an "over-the-air, satellite and/or cable transmission", then +such content would constitute Free Television AVC Video and would be +subject to the applicable royalties.

+ +

For your reference, I have attached +a +.pdf copy of the AVC License. You will find the relevant +sublicense information regarding AVC Video in Sections 2.2 through +2.5, and the corresponding royalties in Section 3.1.2 through 3.1.4. +You will also find the definitions of Title-by-Title AVC Video, +Subscription AVC Video, Free Television AVC Video, and Internet +Broadcast AVC Video in Section 1 of the License. Please note that the +electronic copy is provided for informational purposes only and cannot +be used for execution.

+ +

I hope the above information is helpful. If you have additional +questions or need further assistance with the AVC License, please feel +free to contact me directly.

+

+ +

Having a fresh copy of the license text was useful, and knowing +that the definition of Title-by-Title required payment per title made +me aware that my earlier understanding of that phrase had been wrong. +But I still had a few questions:

+ +

+

I have a small followup question. Would it be possible for me to get +a license with MPEG LA even if there are no royalties to be paid? The +reason I ask, is that some video related products have a copyright +clause limiting their use without a license with MPEG LA. The clauses +typically look similar to this: + +

+ This product is licensed under the AVC patent portfolio license for + the personal and non-commercial use of a consumer to (a) encode + video in compliance with the AVC standard ("AVC video") and/or (b) + decode AVC video that was encoded by a consumer engaged in a + personal and non-commercial activity and/or AVC video that was + obtained from a video provider licensed to provide AVC video. No + license is granted or shall be implied for any other use. additional + information may be obtained from MPEG LA L.L.C. +

+ +

It is unclear to me if this clause mean that I need to enter into +an agreement with MPEG LA to use the product in question, even if +there are no royalties to be paid to MPEG LA. I suspect it will +differ depending on the jurisdiction, and mine is Norway. What is +MPEG LAs view on this?

+

+ +

According to the answer, MPEG LA believe those using such tools for +non-personal or commercial use need a license with them:

+ +

+ +

With regard to the Notice to Customers, I would like to begin by +clarifying that the Notice from Section 7.1 of the AVC License +reads:

+ +

THIS PRODUCT IS LICENSED UNDER THE AVC PATENT PORTFOLIO LICENSE FOR +THE PERSONAL USE OF A CONSUMER OR OTHER USES IN WHICH IT DOES NOT +RECEIVE REMUNERATION TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC +STANDARD ("AVC VIDEO") AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED +BY A CONSUMER ENGAGED IN A PERSONAL ACTIVITY AND/OR WAS OBTAINED FROM +A VIDEO PROVIDER LICENSED TO PROVIDE AVC VIDEO. NO LICENSE IS GRANTED +OR SHALL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL INFORMATION MAY BE +OBTAINED FROM MPEG LA, L.L.C. SEE HTTP://WWW.MPEGLA.COM

+ +

The Notice to Customers is intended to inform End Users of the +personal usage rights (for example, to watch video content) included +with the product they purchased, and to encourage any party using the +product for commercial purposes to contact MPEG LA in order to become +licensed for such use (for example, when they use an AVC Product to +deliver Title-by-Title, Subscription, Free Television or Internet +Broadcast AVC Video to End Users, or to re-Sell a third party's AVC +Product as their own branded AVC Product).

+ +

Therefore, if a party is to be licensed for its use of an AVC +Product to Sell AVC Video on a Title-by-Title, Subscription, Free +Television or Internet Broadcast basis, that party would need to +conclude the AVC License, even in the case where no royalties were +payable under the License. On the other hand, if that party (either a +Consumer or business customer) simply uses an AVC Product for their +own internal purposes and not for the commercial purposes referenced +above, then such use would be included in the royalty paid for the AVC +Products by the licensed supplier.

+ +

Finally, I note that our AVC License provides worldwide coverage in +countries that have AVC Patent Portfolio Patents, including +Norway.

+ +

I hope this clarification is helpful. If I may be of any further +assistance, just let me know.

+

+ +

The mentioning of Norwegian patents made me a bit confused, so I +asked for more information:

+ +

+ +

But one minor question at the end. If I understand you correctly, +you state in the quote above that there are patents in the AVC Patent +Portfolio that are valid in Norway. This make me believe I read the +list available from <URL: +http://www.mpegla.com/main/programs/AVC/Pages/PatentList.aspx +> incorrectly, as I believed the "NO" prefix in front of patents +were Norwegian patents, and the only one I could find under Mitsubishi +Electric Corporation expired in 2012. Which patents are you referring +to that are relevant for Norway?

+ +

+ +

Again, the quick answer explained how to read the list of patents +in that list:

+ +

+ +

Your understanding is correct that the last AVC Patent Portfolio +Patent in Norway expired on 21 October 2012. Therefore, where AVC +Video is both made and Sold in Norway after that date, then no +royalties would be payable for such AVC Video under the AVC License. +With that said, our AVC License provides historic coverage for AVC +Products and AVC Video that may have been manufactured or Sold before +the last Norwegian AVC patent expired. I would also like to clarify +that coverage is provided for the country of manufacture and the +country of Sale that has active AVC Patent Portfolio Patents.

+ +

Therefore, if a party offers AVC Products or AVC Video for Sale in +a country with active AVC Patent Portfolio Patents (for example, +Sweden, Denmark, Finland, etc.), then that party would still need +coverage under the AVC License even if such products or video are +initially made in a country without active AVC Patent Portfolio +Patents (for example, Norway). Similarly, a party would need to +conclude the AVC License if they make AVC Products or AVC Video in a +country with active AVC Patent Portfolio Patents, but eventually Sell +such AVC Products or AVC Video in a country without active AVC Patent +Portfolio Patents.

+

+ +

As far as I understand it, MPEG LA believe anyone using Adobe +Premiere and other video related software with a H.264 distribution +license need a license agreement with MPEG LA to use such tools for +anything non-private or commercial, while it is OK to set up a +Youtube-like service as long as no-one pays to get access to the +content. I still have no clear idea how this applies to Norway, where +none of the patents MPEG LA is licensing are valid. Will the +copyright terms take precedence or can those terms be ignored because +the patents are not valid in Norway?

+ +
+
+ + + Tags: english, h264, multimedia, opphavsrett, standard, video, web. + + +
+
+
+ +
+
+ New laptop - some more clues and ideas based on feedback +
+
+ 5th July 2015 +
+
+

Several people contacted me after my previous blog post about my +need for a new laptop, and provided very useful feedback. I wish to +thank every one of these. Several pointed me to the possibility of +fixing my X230, and I am already in the process of getting Lenovo to +do so thanks to the on site, next day support contract covering the +machine. But the battery is almost useless (I expect to replace it +with a non-official battery) and I do not expect the machine to live +for many more years, so it is time to plan its replacement. If I did +not have a support contract, it was suggested to find replacement parts +using FrancEcrans, but it +might present a language barrier as I do not understand French.

+ +

One tip I got was to use the +Skinflint web service to +compare laptop models. It seem to have more models available than +prisjakt.no. Another tip I got from someone I know have similar +keyboard preferences was that the HP EliteBook 840 keyboard is not +very good, and this matches my experience with earlier EliteBook +keyboards I tested. Because of this, I will not consider it any further. + +

When I wrote my blog post, I was not aware of Thinkpad X250, the +newest Thinkpad X model. The keyboard reintroduces mouse buttons +(which is missing from the X240), and is working fairly well with +Debian Sid/Unstable according to +Corsac.net. The reports I +got on the keyboard quality are not consistent. Some say the keyboard +is good, others say it is ok, while others say it is not very good. +Those with experience from X41 and and X60 agree that the X250 +keyboard is not as good as those trusty old laptops, and suggest I +keep and fix my X230 instead of upgrading, or get a used X230 to +replace it. I'm also told that the X250 lack leds for caps lock, disk +activity and battery status, which is very convenient on my X230. I'm +also told that the CPU fan is running very often, making it a bit +noisy. In any case, the X250 do not work out of the box with Debian +Stable/Jessie, one of my requirements.

+ +

I have also gotten a few vendor proposals, one was +Pro-Star, another was +Libreboot. +The latter look very attractive to me.

+ +

Again, thank you all for the very useful feedback. It help a lot +as I keep looking for a replacement.

+ +

Update 2015-07-06: I was recommended to check out the +lapstore.de web shop for used laptops. They got several +different +old +thinkpad X models, and provide one year warranty.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ Time to find a new laptop, as the old one is broken after only two years +
+
+ 3rd July 2015 +
+
+

My primary work horse laptop is failing, and will need a +replacement soon. The left 5 cm of the screen on my Thinkpad X230 +started flickering yesterday, and I suspect the cause is a broken +cable, as changing the angle of the screen some times get rid of the +flickering.

+ +

My requirements have not really changed since I bought it, and is +still as +I +described them in 2013. The last time I bought a laptop, I had +good help from +prisjakt.no +where I could select at least a few of the requirements (mouse pin, +wifi, weight) and go through the rest manually. Three button mouse +and a good keyboard is not available as an option, and all the three +laptop models proposed today (Thinkpad X240, HP EliteBook 820 G1 and +G2) lack three mouse buttons). It is also unclear to me how good the +keyboard on the HP EliteBooks are. I hope Lenovo have not messed up +the keyboard, even if the quality and robustness in the X series have +deteriorated since X41.

+ +

I wonder how I can find a sensible laptop when none of the options +seem sensible to me? Are there better services around to search the +set of available laptops for features? Please send me an email if you +have suggestions.

+ +

Update 2015-07-23: I got a suggestion to check out the FSF +list +of endorsed hardware, which is useful background information.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ MakerCon Nordic videos now available on Frikanalen +
+
+ 2nd July 2015 +
+
+

Last oktober I was involved on behalf of +NUUG with recording the talks at +MakerCon Nordic, a conference for +the Maker movement. Since then it has been the plan to publish the +recordings on Frikanalen, which +finally happened the last few days. A few talks are missing because +the speakers asked the organizers to not publish them, but most of the +talks are available. The talks are being broadcasted on RiksTV +channel 50 and using multicast on Uninett, as well as being available +from the Frikanalen web site. The unedited recordings are +available on +Youtube too.

+ +

This is the list of talks available at the moment. Visit the +Frikanalen video +pages to view them.

+ + + +

Part of the reason this took so long was that the scripts NUUG had +to prepare a recording for publication were five years old and no +longer worked with the current video processing tools (command line +argument changes). In addition, we needed better audio normalization, +which sent me on a detour to +package +bs1770gain for Debian. Now this is in place and it became a lot +easier to publish NUUG videos on Frikanalen.

+ +
+
+ + + Tags: english, frikanalen, multimedia, video. + + +
+
+
+ +
+
+ Graphing the Norwegian company ownership structure +
+
+ 15th June 2015 +
+
+

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 Proff, because +I failed to find a useful source directly from the official keepers of +the ownership data, Brønnøysundsregistrene.

+ +

To get an ownership graph for a set of companies, fetch +the code from git 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:

+ +
+% time ./bin/eierskap-dotty 958033540 > dagbladet.dot
+
+real    0m2.841s
+user    0m0.184s
+sys     0m0.036s
+%
+
+ +

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:

+ +
+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"]
+}
+
+ +

To view the ownership graph, run "dotty dagbladet.dot" or +convert it to a PNG using "dot -T png dagbladet.dot > +dagbladet.png". The result can be seen below:

+ + + +

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 links.

+ +

Let me know if you improve the script or find better data sources. +The code is licensed according to GPL 2 or newer.

+ +

Update 2015-06-15: Since the initial post I've been told that +"Aller +Holding A/S" is a Danish company, which explain why it did not +have a Norwegian organisation number. I've also been told that there +is a web +services API available from Brønnøysundsregistrene, for those +willing to accept the terms or pay the price.

+ +
+
+ + + Tags: english, offentlig innsyn. + + +
+
+
+ +
+
+ Measuring and adjusting the loudness of a TV channel using bs1770gain +
+
+ 11th June 2015 +
+
+

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 +"Terminology +for loudness and level dBTP, LU, and all that" 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, +"Algorithms to +measure audio programme loudness and true-peak audio level".

+ +

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, "Loudness +normalisation and permitted maximum level of audio signals", 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.

+ +

There are free software available to measure and adjust the loudness +level using the LUFS. In Debian, I am aware of a library named +libebur128 +able to measure the loudness and since yesterday morning a new binary +named bs1770gain +capable of both measuring and adjusting was uploaded and is waiting +for NEW processing. I plan to maintain the latter in Debian under the +Debian +multimedia umbrella.

+ +

The free software based TV channel I am involved in, +Frikanalen, 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 the +NUUG member organisation. The program seem to be able to measure +the LUFS value of any media file handled by ffmpeg, but I'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.

+ +
+
+ + + Tags: english, frikanalen, multimedia, video. + + +
+
+
+ +
+
+ Norwegian citizens now required by law to give their fingerprint to the police +
+
+ 10th May 2015 +
+
+

5 days ago, the Norwegian Parliament decided, unanimously, that all +citizens of Norway, no matter if they are suspected of something +criminal or not, are +required to +give fingerprints to the police (vote details from Holder de +ord). The law make it sound like it will be optional, but in a few +years there will be no option any more. The ID will be required to +vote, to get a bank account, a bank card, to change address on the +post office, to receive an electronic ID or to get a drivers license +and many other tasks required to function in Norway. The banks plan +to stop providing their own ID on the bank cards when this new +national ID is introduced, and the national road authorities plan to +change the drivers license to no longer be usable as identity cards. +In effect, to function as a citizen in Norway a national ID card will +be required, and to get it one need to provide the fingerprints to +the police.

+ +

In addition to handing the fingerprint to the police (which +promised to not make a copy of the fingerprint image at that point in +time, but say nothing about doing it later), a picture of the +fingerprint will be stored on the RFID chip, along with a picture of +the face and other information about the person. Some of the +information will be encrypted, but the encryption will be the same +system as currently used in the passports. The codes to decrypt will +be available to a lot of government offices and their suppliers around +the globe, but for those that do not know anyone in those circles it +is good to know that +the +encryption is already broken. And they +can +be read from 70 meters away. This can be mitigated a bit by +keeping it in a Faraday cage (metal box or metal wire container), but +one will be required to take it out of there often enough to expose +ones private and personal information to a lot of people that have no +business getting access to that information.

+ +

The new Norwegian national IDs are a vehicle for identity theft, +and I feel sorry for us all having politicians accepting such invasion +of privacy without any objections. So are the Norwegian passports, +but it has been possible to function in Norway without those so far. +That option is going away with the passing of the new law. In this, I +envy the Germans, because for them it is optional how much biometric +information is stored in their national ID.

+ +

And if forced collection of fingerprints was not bad enough, the +information collected in the national ID card register can be handed +over to foreign intelligence services and police authorities, "when +extradition is not considered disproportionate".

+ +

Update 2015-05-12: For those unable to believe that the Parliament +really could make such decision, I wrote +a +summary of the sources I have for concluding the way I do +(Norwegian Only, as the sources are all in Norwegian).

+ +
+
+ + + Tags: english, personvern, surveillance. + + +
+
+
+ +
+
+ What would it cost to store all phone calls in Norway? +
+
+ 1st May 2015 +
+
+

Many years ago, a friend of mine calculated how much it would cost +to store the sound of all phone calls in Norway, and came up with the +cost of around 20 million NOK (2.4 mill EUR) for all the calls in a +year. I got curious and wondered what the same calculation would look +like today. To do so one need an idea of how much data storage is +needed for each minute of sound, how many minutes all the calls in +Norway sums up to, and the cost of data storage.

+ +

The 2005 numbers are from +digi.no, +the 2012 numbers are from +a +NKOM report, and I got the 2013 numbers after asking NKOM via +email. I was told the numbers for 2014 will be presented May 20th, +and decided not to wait for those, as I doubt they will be very +different from the numbers from 2013.

+ +

The amount of data storage per minute sound depend on the wanted +quality, and for phone calls it is generally believed that 8 Kbit/s is +enough. See for example a +summary +on voice quality from Cisco for some alternatives. 8 Kbit/s is 60 +Kbytes/min, and this can be multiplied with the number of call minutes +to get the storage requirements.

+ +

Storage prices varies a lot, depending on speed, backup strategies, +availability requirements etc. But a simple way to calculate can be +to use the price of a TiB-disk (around 1000 NOK / 120 EUR) and double +it to take space, power and redundancy into account. It could be much +higher with high speed and good redundancy requirements.

+ +

But back to the question, What would it cost to store all phone +calls in Norway? Not much. Here is a small table showing the +estimated cost, which is within the budget constraint of most medium +and large organisations:

+ + + + + + +
YearCall minutesSizePrice in NOK / EUR
200524 000 000 0001.3 PiB3 mill / 358 000
201218 000 000 0001.0 PiB2.2 mill / 262 000
201317 000 000 000950 TiB2.1 mill / 250 000
+ +

This is the cost of buying the storage. Maintenance need to be +taken into account too, but calculating that is left as an exercise +for the reader. But it is obvious to me from those numbers that +recording the sound of all phone calls in Norway is not going to be +stopped because it is too expensive. I wonder if someone already is +collecting the data?

+ +
+
+ + + Tags: english, personvern, surveillance. + + +
+
+
+ +
+
+ First Jessie based Debian Edu beta release +
+
+ 26th April 2015 +
+
+

I am happy to report that the Debian Edu team sent out +this +announcement today:

+ +
+the Debian Edu / Skolelinux project is pleased to announce the first
+*beta* release of Debian Edu "Jessie" 8.0+edu0~b1, which for the first
+time is composed entirely of packages from the current Debian stable
+release, Debian 8 "Jessie".
+
+(As most reading this will know, Debian "Jessie" hasn't actually been
+released by now. The release is still in progress but should finish
+later today ;)
+
+We expect to make a final release of Debian Edu "Jessie" in the coming
+weeks, timed with the first point release of Debian Jessie. Upgrades
+from this beta release of Debian Edu Jessie to the final release will
+be possible and encouraged!
+
+Please report feedback to debian-edu@lists.debian.org and/or submit
+bugs: http://wiki.debian.org/DebianEdu/HowTo/ReportBugs
+
+Debian Edu - sometimes also known as "Skolelinux" - is a complete
+operating system for schools, universities and other
+organisations. Through its pre- prepared installation profiles
+administrators can install servers, workstations and laptops which
+will work in harmony on the school network.  With Debian Edu, the
+teachers themselves or their technical support staff can roll out a
+complete multi-user, multi-machine study environment within hours or
+days.
+
+Debian Edu is already in use at several hundred schools all over the
+world, particularly in Germany, Spain and Norway. Installations come
+with hundreds of applications pre-installed, plus the whole Debian
+archive of thousands of compatible packages within easy reach.
+
+For those who want to give Debian Edu Jessie a try, download and
+installation instructions are available, including detailed
+instructions in the manual explaining the first steps, such as setting
+up a network or adding users.  Please note that the password for the
+user your prompted for during installation must have a length of at
+least 5 characters!
+
+== Where to download ==
+
+A multi-architecture CD / usbstick image (649 MiB) for network booting
+can be downloaded at the following locations:
+
+    http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~b1-CD.iso
+    rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-8.0+edu0~b1-CD.iso . 
+
+The SHA1SUM of this image is: 54a524d16246cddd8d2cfd6ea52f2dd78c47ee0a
+
+Alternatively an extended DVD / usbstick image (4.9 GiB) is also
+available, with more software included (saving additional download
+time):
+
+    http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~b1-USB.iso
+    rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-8.0+edu0~b1-USB.iso 
+
+The SHA1SUM of this image is: fb1f1504a490c077a48653898f9d6a461cb3c636
+
+Sources are available from the Debian archive, see
+http://ftp.debian.org/debian-cd/8.0.0/source/ for some download
+options.
+
+== Debian Edu Jessie manual in seven languages ==
+
+Please see https://wiki.debian.org/DebianEdu/Documentation/Jessie/ for
+the English version of the Debian Edu jessie manual.
+
+This manual has been fully translated to German, French, Italian,
+Danish, Dutch and Norwegian Bokmål. A partly translated version exists
+for Spanish.  See http://maintainer.skolelinux.org/debian-edu-doc/ for
+online version of the translated manual.
+
+More information about Debian 8 "Jessie" itself is provided in the
+release notes and the installation manual:
+- http://www.debian.org/releases/jessie/releasenotes
+- http://www.debian.org/releases/jessie/installmanual
+
+
+== Errata / known problems ==
+
+    It takes up to 15 minutes for a changed hostname to be updated via
+    DHCP (#780461).
+
+    The hostname script fails to update LTSP server hostname (#783087). 
+
+Workaround: run update-hostname-from-ip on the client to update the
+hostname immediately.
+
+Check https://wiki.debian.org/DebianEdu/Status/Jessie for a possibly
+more current and complete list.
+
+== Some more details about Debian Edu 8.0+edu0~b1 Codename Jessie released 2015-04-25 ==
+
+=== Software updates ===
+
+Everything which is new in Debian 8 Jessie, e.g.:
+
+ * Linux kernel 3.16.7-ctk9; for the i386 architecture, support for
+   i486 processors has been dropped; oldest supported ones: i586 (like
+   Intel Pentium and AMD K5).
+
+ * Desktop environments KDE Plasma Workspaces 4.11.13, GNOME 3.14,
+   Xfce 4.12, LXDE 0.5.6
+   * new optional desktop environment: MATE 1.8
+   * KDE Plasma Workspaces is installed by default; to choose one of
+     the others see the manual.
+ * the browsers Iceweasel 31 ESR and Chromium 41
+ * LibreOffice 4.3.3
+ * GOsa 2.7.4
+ * LTSP 5.5.4
+ * CUPS print system 1.7.5
+ * new boot framework: systemd
+ * Educational toolbox GCompris 14.12
+ * Music creator Rosegarden 14.02
+ * Image editor Gimp 2.8.14
+ * Virtual stargazer Stellarium 0.13.1
+ * golearn 0.9
+ * tuxpaint 0.9.22
+ * New version of debian-installer from Debian Jessie.
+ * Debian Jessie includes about 43000 packages available for installation.
+ * More information about Debian 8 Jessie is provided in its release
+   notes and the installation manual, see the link above.
+
+=== Installation changes ===
+
+    Installations done via PXE now also install firmware automatically
+    for the hardware present.
+
+=== Fixed bugs ===
+
+A number of bugs have been fixed in this release; the most noticeable
+from a user perspective:
+
+ * Inserting incorrect DNS information in Gosa will no longer break
+   DNS completely, but instead stop DNS updates until the incorrect
+   information is corrected (710362)
+
+ * shutdown-at-night now shuts the system down if gdm3 is used (775608). 
+
+=== Sugar desktop removed ===
+
+As the Sugar desktop was removed from Debian Jessie, it is also not
+available in Debian Edu jessie.
+
+
+== About Debian Edu / Skolelinux ==
+
+Debian Edu, also known as Skolelinux, is a Linux distribution based on
+Debian providing an out-of-the box environment of a completely
+configured school network. Directly after installation a school server
+running all services needed for a school network is set up just
+waiting for users and machines being added via GOsa², a comfortable
+Web-UI. A netbooting environment is prepared using PXE, so after
+initial installation of the main server from CD or USB stick all other
+machines can be installed via the network. The provided school server
+provides LDAP database and Kerberos authentication service,
+centralized home directories, DHCP server, web proxy and many other
+services.  The desktop contains more than 60 educational software
+packages and more are available from the Debian archive, and schools
+can choose between KDE, GNOME, LXDE, Xfce and MATE desktop
+environment.
+
+== About Debian ==
+
+The Debian Project was founded in 1993 by Ian Murdock to be a truly
+free community project. Since then the project has grown to be one of
+the largest and most influential open source projects. Thousands of
+volunteers from all over the world work together to create and
+maintain Debian software. Available in 70 languages, and supporting a
+huge range of computer types, Debian calls itself the universal
+operating system.
+
+== Thanks ==
+
+Thanks to everyone making Debian and Debian Edu / Skolelinux happen!
+You rock.
+
+ +
+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ Debian Edu interview: Shirish Agarwal +
+
+ 15th April 2015 +
+
+

It was a surprise to me to learn that project to create a complete +computer system for schools I've involved in, +Debian Edu / Skolelinux, was +being used in India. But apparently it is, and I managed to get an +interview with one of the friends of the project there, Shirish +Agarwal.

+ +

Who are you, and how do you spend your days?

+ +

My name is Shirish Agarwal. Based out of the educational and +historical city of Pune, from the western state of Maharashtra, India. +My bread comes from giving training, giving policy tips, +installations on free software to mom and pop shops in different +fields from Desktop publishing to retail shops as well as work with +few software start-ups as well.

+ +

How did you get in contact with the Skolelinux / Debian Edu +project?

+ +

It started innocently enough. I have been using Debian for a few +years and in one local minidebconf / debutsav I was asked if there was +anything for schools or education. I had worked / played with free +educational softwares such as Gcompris and Stellarium for my many +nieces and nephews so researched and found Debian Edu or Skolelinux as +it was known then. Since then I have started using the various +education meta-packages provided by the project.

+ +

What do you see as the advantages of Skolelinux / Debian +Edu?

+ +

It's closest I have seen where a package full of educational +software are packed, which are free and open (both literally and +figuratively). Even if I take the simplest software which is +gcompris, the number of activities therein are amazing. Another one of +the softwares that I have liked for a long time is stellarium. Even +pysycache is cool except for couple of issues I encountered +#781841 and +#781842.

+ +

I prefer software installed on the system over web based solutions, +as a web site can disappear any time but the software on disk has the +possibility of a larger life span. Of course with both it's more a +question if it has enough users who make it fun or sustainable or both +for the developer per-se.

+ +

What do you see as the disadvantages of Skolelinux / Debian +Edu?

+ +

I do see that the Debian Edu team seems to be short-handed and I +think more efforts should be made to make it popular and ask and take +help from people and the larger community wherever possible.

+ +

I don't see any disadvantage to use Skolelinux apart from the fact +that most apps. are generic which is good or bad how you see it. +However, saying that I do acknowledge the fact that the canvas is +pretty big and there are lot of interesting ideas that could be done +but for reasons not known not done or if done I don't know about them. +Let me share some of the ideas (these are more upstream based but +still) I have had for a long time :

+ +

1. Classical maths question of two trains in opposing directions +each running @x kmph/mph at y distance, when they will meet and how +far would each travel and similar questions like these. + +

The computer is a fantastic system where questions like these can +be drawn, animated and the methodology and answers teased out in +interactive manner. While sites such as the +Ask +Dr. Math FAQ on The Two Trains problem (as an example or point of +inspiration) can be used there is lot more that can be done. I dunno +if there is a free software which does something like this. The idea +being a blend of objects + animation + interaction which does +this. The whole interaction could be gamified with points or sounds or +colourful celebration whenever the user gets even part of the question +or/and methodology right. That would help reinforce good behaviour. +This understanding could be used to share/showcase everything from how +the first wheel came to be, to evolution to how astronomy started, +psychics and everything in-between.

+ +

One specific idea in the train part was having the Linux mascot on +one train and the BSD or GNU mascot on the other train and they +meeting somewhere in-between. Characters from blender movies could +also be used.

+ +

2. Loads of crossword-puzzles with reference to subjects: We have +enormous data sets in Wikipedia and Wikitionary. I don't think it +should be a big job to design crossword puzzles. Using categories and +sub-categories it should be doable to have Q&A single word answers +from the existing data-sets. What would make it easy or hard could be +the length of the word + existence of many or few vowels depending on +the user's input.

+ +

3. Jigsaw puzzles - We already have a great software called +palapeli with number of slicers making it pretty interesting. What +needs to be done is to download large number of public domain and +copyleft images, tease and use IPTC tags to categorise them into +nature, history etc. and let it loose. This could turn to be really +huge collection of images. One source could be taken from +commons.wikimedia.org, others could be huge collection of royalty-free +stock photos. Potential is immense.

+ +

Apart from this, free software suffers in two directions, we lag +both in development (of using new features per-se) and maintenance a +lot. This is more so in educational software as these applications +need to be timely and the opportunity cost of missing deadlines is +immense. If we are able to solve issues of funding for development and +maintenance of such software I don't see any big difficulties. I know +of few start-ups in and around India who would love to develop and +maintain such software if funding issues could be solved.

+ +

Which free software do you use daily?

+ +

That would be huge list. Some of the softwares are obviously apt, +aptitude, debdelta, leafpad, the shell of course (zsh nowadays), +quassel for IRC. In games I use shisen-sho while card-games are evenly +between kpat and Aiselriot. In desktops it's a tie between +gnome-flashback and mate.

+ +

Which strategy do you believe is the right one to use to +get schools to use free software?

+ +

I think it should first start with using specific FOSS apps. in +whatever environment they are. If it's MS-Windows or Mac so be it. +Once they are habitual with the apps. and there is buy-in from the +school management then it could be installed anywhere. Most of the +people now understand the concept of a repository because of the +various online stores so it isn't hard to convince on that front.

+ +

What is harder is having enough people with technical skills and +passion to service them. If you get buy-in from one or two teachers +then ideas like above could also be asked to be done as a project as +well.

+ +

I think where we fall short more than anything is in marketing. For +instance, Debian has this whole range of fonts in its archive but +there isn't even a page where all those different fonts in the La +Ipsum format could be tried out for newcomers.

+ +

One of the issues faced constantly in installations is with updates +and upgrades. People have this myth that each update and upgrade +means the user interface will / has to change. I have seen this +innumerable times. That perhaps is one of the reasons which browsers +like Iceweasel / Firefox change user interfaces so much, not because +it might be needed or be functional but because people believe that +changed user interfaces are better. This, can easily be pointed with +the user interfaces changed with almost every MS-Windows and Mac OS +releases.

+ +

The problems with Debian Edu for deployment are many. The biggest +is the huge gap between what is taught in schools and what Debian Edu +is aimed at. + +

Me and my friends did teach on week-ends in a government school for +around 2 years, and +gathered +some experience there. Some of the things we learnt/discovered +there was :

+ +
    + +
  1. Most of the teachers are very territorial about their subjects + and they do not want you to teach anything out of the + portion/syllabus given.
  2. + +
  3. They want any activity on the system in accordance to whatever + is in the syllabus.
  4. + +
  5. There are huge barriers both with the English language and at + times with objects or whatever. An example, let's say in gcompris + you have objects falling down and you have to name them and let's + say the falling object is a hat or a fedora hat, this would not be + as recognizable as say a + Puneri + Pagdi so there is need to inject local objects, words wherever + possible. Especially for word-games there are so many hindi words + which have become part of english vocabulary (for instance in + parley), those could be made into a hinglish collection or + something but that is something for upstream to do.
  6. + +
+ +
+
+ + + Tags: debian edu, english, intervju. + + +
+
+
+ +
+
+ I'm going to the Open Source Developers' Conference Nordic 2015! +
+
+ 7th April 2015 +
+
+

I am happy to let you all know that I'm going to the Open Source Developers' +Conference Nordic 2015!

+ +

It take place Friday 8th to Sunday 10th of May in Oslo next to +where I work, and I finally got around to submitting +a talk proposal for +it (dead link for most people until the talk is accepted). As +part of my involvement with the +Norwegian Unix User Group member +association I have been slightly involved in the planning of this +conference for a while now, with a focus on organising a Civic Hacking +Hackathon with our friends +over at mySociety and +Holder de ord. This part is +named the 'My Society' track in the program. There is still space for +more talks and participants. I hope to see you there.

+ +

Check out the talks +submitted and accepted so far.

+ +
+
+ + + Tags: english, fiksgatami, nuug, offentlig innsyn. + + +
+
+
+ +
+
+ Proof reading the Norwegian translation of Free Culture by Lessig +
+
+ 4th April 2015 +
+
+

During eastern I had some time to continue working on the Norwegian +docbook version of the 2004 book +Free Culture by Lawrence Lessig. +At the moment I am proof reading the finished text, looking for typos, +inconsistent wordings and sentences that do not flow as they should. +I'm more than two thirds done with the text, and welcome others to +check the text up to chapter 13. The current status is available on the +github +project pages. You can also check out the +PDF, +EPUB +and HTML version available in the +archive +directory.

+ +

Please report typos, bugs and improvements to the github project if +you find any.

+ +
+
+ + + Tags: docbook, english, freeculture. + + +
+
+
+ +
+
+ Frikanalen, Norwegian TV channel for technical topics +
+
+ 9th March 2015 +
+
+

The Norwegian Unix User Group, +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 +Frikanalen is a useful venue. +Since a few days ago, when I figured out the +REST API to program the +channel time schedule, +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.

+ +

The list of NUUG videos +uploaded so far +include things like a +one hour talk by John +Perry Barlow when he visited Oslo, a presentation of +Haiku, the BeOS +re-implementation, the +history of FiksGataMi, +the Norwegian version of FixMyStreet, the good old +Warriors of the net +video and many others.

+ +

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, +#nuug on irc.freenode.net +if you want to help make this happen.

+ +

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 Ogg Theora +web stream 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.

+ +
+
+ + + Tags: english, frikanalen, h264, nuug, video. + + +
+
+
+ +
+
+ The Citizenfour documentary on the Snowden confirmations to Norway +
+
+ 28th February 2015 +
+
+

Today I was happy to learn that the documentary +Citizenfour by +Laura Poitras +finally will show up in Norway. According to the magazine +Montages, a deal has finally been +made for +Cinema +distribution in Norway and the movie will have its premiere soon. +This is great news. As part of my involvement with +the Norwegian Unix User Group, me and +a friend have +tried +to get the movie to Norway ourselves, but obviously +we +were too late 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. +The trailer +can be seen on youtube, if you are curious what kind of film this +is.

+ +

The whistle blower Edward Snowden really deserve political asylum +here in Norway, but I am afraid he would not be safe.

+ +
+
+ + + Tags: english, nuug, personvern, surveillance. + + +
+
+
+ +
+
+ The Norwegian open channel Frikanalen - 24x7 on the Internet +
+
+ 25th February 2015 +
+
+

The Norwegian nationwide open channel +Frikanalen is still going +strong. It allow everyone to send the video they want on national +television. It is a TV station administrated completely using a web +browser, running only Free +Software, providing a REST +api for administrators and members, and with distribution on the +national DVB-T distribution network RiksTV. But only between 12:00 +and 17:30 Norwegian time. This has finally changed, after many years +with limited distribution. A few weeks ago, we set up a Ogg Theora +stream via icecast to allow everyone with Internet access to check out +the channel the rest of the day. This is presented on +the Frikanalen web site now. And +since a few days ago, the channel is also available +via multicast on +UNINETT, available for those using IPTV TVs and set-top boxes in +the Norwegian National Research and Education network.

+ +

If you want to see what is on the channel, point your media player +to one of these sources. The first should work with most players and +browsers, while as far as I know, the multicast UDP stream only work +with VLC.

+ + + +

The Ogg Theora / icecast stream is not working well, as the video +and audio is slightly out of sync. We have not been able to figure +out how to fix it. It is generated by recoding a internal MPEG +transport stream with MPEG4 coded video (ie H.264) to Ogg Theora / +Vorbis, and the result is less then stellar. If you have ideas how to +fix it, please let us know on frikanalen (at) nuug.no. We currently +use this with ffmpeg2theora 0.29:

+ +
+./ffmpeg2theora.linux <OBE_gemini_URL.ts> -F 25 -x 720 -y 405 \
+ --deinterlace --inputfps 25 -c 1 -H 48000 --keyint 8 --buf-delay 100 \
+ --nosync -V 700 -o - | oggfwd video.nuug.no 8000 <pw> /frikanalen.ogv
+
+ +

If you get the multicast UDP stream working, please let me know, as +I am curious how far the multicast stream reach. It do not make it to +my home network, nor any other commercially available network in +Norway that I am aware of.

+ +
+
+ + + Tags: english, frikanalen, h264, nuug, video. + + +
+
+
+ +
+
+ Nude body scanner now present on Norwegian airport +
+
+ 10th February 2015 +
+
+

Aftenposten, one of the largest newspapers in Norway, today report +that +three +of the nude body scanners now is put to use at Gardermoen, the +main airport in Norway. This way the travelers can have their body +photographed without cloths when visiting Norway. Of course this +horrible news is presented with a positive spin, stating that "now +travelers can move past the security check point faster and more +efficiently", but fail to mention that the machines in question take +pictures of their nude bodies and store them internally in the +computer, while only presenting sketch figure of the body to the +public. The article is written in a way that leave the impression +that the new machines do not take these nude pictures and only create +the sketch figures. In reality the same nude pictures are still +taken, but not presented to everyone. They are still available for +the owners of the system and the people doing maintenance of the +scanners, as long as they are taken and stored.

+ +

Wikipedia have a more on +Full body +scanners, including example images and a summary of the +controversy about these scanners.

+ +

Personally I will decline to use these machines, as I believe strip +searches of my body is a very intrusive attack on my privacy, and not +something everyone should have to accept to travel.

+ +
+
+ + + Tags: english, personvern. + + +
+
+
+ +
+
+ Nagios module to check if the Frikanalen video stream is working +
+
+ 8th February 2015 +
+
+

When running a TV station with both broadcast and web stream +distribution, it is useful to know that the stream is working. As I +am involved in the Norwegian open channel +Frikanalen as part of my +activity in the NUUG member +organisation, I wrote a script to use mplayer to connect to a +video stream, pick two images 35 seconds apart and compare them. If +the images are missing or identical, something is probably wrong with +the stream and an alarm should be triggered. The script is written as +a Nagios plugin, allowing us to use Nagios to run the check regularly +and sound the alarm when something is wrong. It is able to detect +both a hanging and a broken video stream.

+ +

I just uploaded the code for the script into the +Frikanalen +git repository on github. If you run a TV station with web +streaming, perhaps you can find it useful too.

+ +

Last year, the Frikanalen public TV station transformed into using +only Linux based free software to administrate, schedule and +distribute the TV content. The +source code for the entire TV +station is available from the Github project page. Everyone can +use it to send their content on national TV, and we provide both a web +GUI and a web API to +add +and schedule +content. And thanks to last weeks developer gathering and +following activity, we now have the schedule +available as +XMLTV too. Still a lot of work left to do, especially with the +process to add videos and with the scheduling, so your contribution is +most welcome. Perhaps you want to set up your own TV station?

+ +

Update 2015-02-25: Got a tip from Uninett about their +qstream +monitoring system, which gather connection time, jitter, packet +loss and burst bandwidth usage. It look useful to check if UDP +streams are working as they should.

+ +
+
+ + + Tags: english, frikanalen, nuug, video. + + +
+
+
+ +
+
+ Norwegian Bokmål subtitles for the FSF video User Liberation +
+
+ 12th January 2015 +
+
+

A few days ago, the Free Software +Foundation announced a new video +explaining +Free software in simple terms. The video named User Liberation is +3 minutes long, and I recommend showing it to everyone you know as a +way to explain what Free Software is all about. Unfortunately several +of the people I know do not understand English and Spanish, so it did +not make sense to show it to them.

+ +

But today I was told that +English +subtitles were available and set out to provide Norwegian Bokmål +subtitles based on these. The result has been sent to FSF and made +available in +a +git repository provided by Github. Please let me know if you find +errors or have improvements to the subtitles.

+ +

Update 2015-02-03: Since I publised this post, FSF created a +Libreplanet +project +to track subtitles for the video.

+ +
+
+ + + Tags: english, video. + + +
+
+
+ +
+
+ Updated version of the Norwegian web service FiksGataMi +
+
+ 30th December 2014 +
+
+

I am very happy that we in the +Norwegian Unix User group (NUUG), +spearheaded by Marius Halden from NUUG and Matthew Somerville from +mySociety, finally managed to +upgrade the code base for the Norwegian version of +FixMyStreet. This +was the first major update since 2011. The refurbished +FiksGataMi is already live, and +seem to hold up the pressure. The +press +release and announcement went out this morning.

+ +

FixMyStreet is a web platform for allowing the citizens to easily +report problems with public infrastructure to the responsible +authorities. Think of it as a shared mail client with map support, +allowing everyone to see what already was reported and comment on the +reports in public.

+ +
+
+ + + Tags: english, fiksgatami, nuug. + + +
+
+
+ +
+
+ Of course USA loses in cyber war - NSA and friends made sure it would happen +
+
+ 19th December 2014 +
+
+

So, Sony caved in +(according +to Rob Lowe) and demonstrated that America lost its first cyberwar +(according +to Newt Gingrich). It should not surprise anyone, after the +whistle blower Edward Snowden documented that the government of USA +and their allies for many years have done their best to make sure the +technology used by its citizens is filled with security holes allowing +the secret services to spy on its own population. No one in their +right minds could believe that the ability to snoop on the people all +over the globe could only be used by the personnel authorized to do so +by the president of the United States of America. If the capabilities +are there, they will be used by friend and foe alike, and now they are +being used to bring Sony on its knees.

+ +

I doubt it will a lesson learned, and expect USA to lose its next +cyber war too, given how eager the western intelligence communities +(and probably the non-western too, but it is less in the news) seem to +be to continue its current dragnet surveillance practice.

+ +

There is a reason why China and others are trying to move away from +Windows to Linux and other alternatives, and it is not to avoid +sending its hard earned dollars to Cayman Islands (or whatever +tax haven +Microsoft is using these days to collect the majority of its +income. :)

+ +
+
+ + + Tags: english, personvern, surveillance. + + +
+
+
+
How to stay with sysvinit in Debian Jessie @@ -519,7 +3497,7 @@ sure why.

@@ -1280,7 +4258,7 @@ requirement to limit the use to personal and non-commercial.

@@ -2162,7 +5140,7 @@ activities, please send Bitcoin donations to my address @@ -2231,7 +5209,7 @@ image.

@@ -2500,7 +5478,7 @@ python-dvdvideo. :)

@@ -2939,7 +5917,7 @@ activities, please send Bitcoin donations to my address @@ -9706,7 +12684,7 @@ for other sites to consider too?

- Tags: english, nuug, standard. + Tags: english, nuug, standard, usenix.
@@ -10929,7 +13907,7 @@ section.

@@ -12187,7 +15165,7 @@ standards also for video.

@@ -12484,6 +15462,11 @@ that is not really an option at the moment.

If you got feedback on this issue, please let us know on debian-edu (at) lists.debian.org.

+

Update 2015-08-04: The +source +of the scripts and associated Debian package is available from the +Debian Edu github repository.

+
@@ -14217,7 +17200,7 @@ maintainers, but would make the end user experience a lot better.

@@ -14751,7 +17734,7 @@ provided by external plugins like the Flash plugins.

- Tags: english, nuug, standard, video. + Tags: english, h264, nuug, standard, video.
@@ -14845,7 +17828,7 @@ background and information on the move it a blog post yesterday.

- Tags: english, standard, video. + Tags: english, h264, standard, video.
@@ -15297,7 +18280,7 @@ see if they are free and open standards.

@@ -17097,7 +20080,7 @@ Theora, and avoid MPEG-4 and H.264 if you can.

@@ -21400,7 +24383,7 @@ sure hope it was using the announced Ogg Theora support. :)

@@ -21531,6 +24514,42 @@ be the only one fitting our needs. :/

Archive