]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
New post on the municipality map.
[homepage.git] / blog / index.rss
index b65d8099960c0a65aab0941d5c1bd055574ad5dd..770eae38cbc1784222dc81e78937a8bf5929108e 100644 (file)
                 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
        <item>
-               <title>Privacy respecting health monitor / fitness tracker?</title>
-               <link>http://people.skolelinux.org/pere/blog/Privacy_respecting_health_monitor___fitness_tracker_.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Privacy_respecting_health_monitor___fitness_tracker_.html</guid>
-                <pubDate>Tue, 7 Aug 2018 16:00:00 +0200</pubDate>
-               <description>&lt;p&gt;Dear lazyweb,&lt;/p&gt;
-
-&lt;p&gt;I wonder, is there a fitness tracker / health monitor available for
-sale today that respect the users privacy?  With this I mean a
-watch/bracelet capable of measuring pulse rate and other
-fitness/health related values (and by all means, also the correct time
-and location if possible), which is &lt;strong&gt;only&lt;/strong&gt; provided for
-me to extract/read from the unit with computer without a radio beacon
-and Internet connection.  In other words, it do not depend on a cell
-phone app, and do make the measurements available via other peoples
-computer (aka &quot;the cloud&quot;).  The collected data should be available
-using only free software.  I&#39;m not interested in depending on some
-non-free software that will leave me high and dry some time in the
-future.  I&#39;ve been unable to find any such unit.  I would like to buy
-it.  The ones I have seen for sale here in Norway are proud to report
-that they share my health data with strangers (aka &quot;cloud enabled&quot;).
-Is there an alternative?  I&#39;m not interested in giving money to people
-requiring me to accept &quot;privacy terms&quot; to allow myself to measure my
-own health.&lt;/p&gt;
+               <title>Nikita version 0.6 released - free software archive API server</title>
+               <link>http://people.skolelinux.org/pere/blog/Nikita_version_0_6_released___free_software_archive_API_server.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Nikita_version_0_6_released___free_software_archive_API_server.html</guid>
+                <pubDate>Thu, 10 Jun 2021 17:10:00 +0200</pubDate>
+               <description>&lt;p&gt;I am very pleased to be able to share with you
+&lt;a href=&quot;https://lists.nuug.no/pipermail/nikita-noark/2021-June/000576.html&quot;&gt;the
+announcement of a new version of the archiving system Nikita&lt;/a&gt;
+published by its lead developer Thomas Sødring:&lt;/p&gt;
+
+&lt;p&gt;&lt;blockquote&gt;
+
+&lt;p&gt;It is with great pleasure that we can announce a new release of
+nikita.  Version 0.6
+(&lt;a href=&quot;https://gitlab.com/OsloMet-ABI/nikita-noark5-core&quot;&gt;https://gitlab.com/OsloMet-ABI/nikita-noark5-core&lt;/a&gt;). This
+release makes new record keeping functionality available. This really
+is a maturity release. Both in terms of functionality but also code.
+Considerable effort has gone into refactoring the codebase and
+simplifying the code. Notable changes for this release include:&lt;/p&gt;
+
+&lt;ul&gt;
+
+  &lt;li&gt;Significantly improved OData parsing&lt;/li&gt;
+  &lt;li&gt;Support for business specific metadata and national identifiers&lt;/li&gt;
+  &lt;li&gt;Continued implementation of domain model and endpoints&lt;/li&gt;
+  &lt;li&gt;Improved testing&lt;/li&gt;
+  &lt;li&gt;Ability to export and import from arkivstruktur.xml&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;We are currently in the process of reaching an agreement with an
+archive institution to publish their picture archive using nikita with
+business specific metadata and we hope that we can share this with you
+soon. This is an interesting project as it allows the organisation to
+bring an older picture archive back to life while using the original
+metadata values stored as business specific metadata. Combined with
+OData means the scope and use of the archive is significantly
+increased and will showcase both the flexibility and power of
+Noark.&lt;/p&gt;
+
+&lt;p&gt;I really think we are approaching a version 1.0 of nikita, even
+though there is still a lot of work to be done. The notable work at
+the moment is to implement access-control and full text indexing of
+documents.&lt;/p&gt;
+
+&lt;p&gt;My sincere thanks to everyone who has contributed to this
+release!&lt;/p&gt;
+
+&lt;p&gt;- Thomas&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Release 0.6 2021-06-10 (d1ba5fc7e8bad0cfdce45ac20354b19d10ebbc7b)&lt;/strong&gt;&lt;/p&gt;
+
+&lt;ul&gt;
+
+  &lt;li&gt;Refactor metadata entity search&lt;/li&gt;
+  &lt;li&gt;Remove redundant security configuration&lt;/li&gt;
+  &lt;li&gt;Make OpenAPI documentation work&lt;/li&gt;
+  &lt;li&gt;Change database structure / inheritance model to a more sensible approach&lt;/li&gt;
+  &lt;li&gt;Make it possible to move entities around the fonds structure&lt;/li&gt;
+  &lt;li&gt;Implemented a number of missing endpoints&lt;/li&gt;
+  &lt;li&gt;Make sure yml files are in sync&lt;/li&gt;
+  &lt;li&gt;Implemented/finalised storing and use of
+  &lt;ul&gt;
+       &lt;li&gt;Business Specific Metadata&lt;/li&gt;
+       &lt;li&gt;Norwegian National Identifiers&lt;/li&gt;
+       &lt;li&gt;Cross Reference&lt;/li&gt;
+       &lt;li&gt;Keyword&lt;/li&gt;
+       &lt;li&gt;StorageLocation&lt;/li&gt;
+       &lt;li&gt;Author&lt;/li&gt;
+       &lt;li&gt;Screening for relevant objects&lt;/li&gt;
+       &lt;li&gt;ChangeLog&lt;/li&gt;
+       &lt;li&gt;EventLog&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;Make generation of updated docker image part of successful CI pipeline&lt;/li&gt;
+  &lt;li&gt;Implement pagination for all list requests
+  &lt;ul&gt;
+       &lt;li&gt;Refactor code to support lists&lt;/li&gt;
+       &lt;li&gt;Refactor code for readability&lt;/li&gt;
+       &lt;li&gt;Standardise the controller/service code&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;Finalise File-&gt;CaseFile expansion and Record-&gt;registryEntry/recordNote 
+expansion&lt;/li&gt;
+  &lt;li&gt;Improved Continuous Integration (CI) approach via gitlab&lt;/li&gt;
+  &lt;li&gt;Changed conversion approach to generate tagged PDF documents&lt;/li&gt;
+  &lt;li&gt;Updated dependencies
+  &lt;ul&gt;
+       &lt;li&gt;For security reasons&lt;/li&gt;
+       &lt;li&gt;Brought codebase to spring-boot version 2.5.0&lt;/li&gt;
+       &lt;li&gt;Remove import of necessary dependencies&lt;/li&gt;
+       &lt;li&gt;Remove non-used metrics classes&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;Added new analysis to CI including&lt;/li&gt;
+  &lt;li&gt;Implemented storing of Keyword&lt;/li&gt;
+  &lt;li&gt;Implemented storing of Screening and ScreeningMetadata&lt;/li&gt;
+  &lt;li&gt;Improved OData support
+  &lt;ul&gt;
+       &lt;li&gt;Better support for inheritance in queries where applicable&lt;/li&gt;
+       &lt;li&gt;Brought in more OData tests&lt;/li&gt;
+       &lt;li&gt;Improved OData/hibernate understanding of queries&lt;/li&gt;
+       &lt;li&gt;Implement $count, $orderby&lt;/li&gt;
+       &lt;li&gt;Finalise $top and $skip&lt;/li&gt;
+       &lt;li&gt;Make sure &amp; is used between query parameters&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;Improved Testing in codebase
+  &lt;ul&gt;
+       &lt;li&gt;A new approach for integration tests to make test more readable&lt;/li&gt;
+       &lt;li&gt;Introduce tests in parallel with code development for TDD approach&lt;/li&gt;
+       &lt;li&gt;Remove test that required particular access to storage&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;Implement case-handling process from received email to case-handler
+  &lt;ul&gt;
+       &lt;li&gt;Develop required GUI elements (digital postroom from email)&lt;/li&gt;
+       &lt;li&gt;Introduced leader, quality control and postroom roles&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;Make PUT requests return 200 OK not 201 CREATED&lt;/li&gt;
+  &lt;li&gt;Make DELETE requests return 204 NO CONTENT not 200 OK&lt;/li&gt;
+  &lt;li&gt;Replaced &#39;oppdatert*&#39; with &#39;endret*&#39; everywhere to match latest spec&lt;/li&gt;
+  &lt;li&gt;Upgrade Gitlab CI to use python &gt; 3 for CI scripts&lt;/li&gt;
+  &lt;li&gt;Bug fixes
+  &lt;ul&gt;
+       &lt;li&gt;Fix missing ALLOW&lt;/li&gt;
+       &lt;li&gt;Fix reading of objects from jar file during start-up&lt;/li&gt;
+       &lt;li&gt;Reduce the number of warnings in the codebase&lt;/li&gt;
+       &lt;li&gt;Fix delete problems&lt;/li&gt;
+       &lt;li&gt;Make better use of cascade for &quot;leaf&quot; objects&lt;/li&gt;
+       &lt;li&gt;Add missing annotations where relevant&lt;/li&gt;
+       &lt;li&gt;Remove the use of ETAG for delete&lt;/li&gt;
+       &lt;li&gt;Fix missing/wrong/broken rels discovered by runtest&lt;/li&gt;
+       &lt;li&gt;Drop unofficial convertFil (konverterFil) end point&lt;/li&gt;
+       &lt;li&gt;Fix regex problem for dateTime&lt;/li&gt;
+       &lt;li&gt;Fix multiple static analysis issues discovered by coverity&lt;/li&gt;
+       &lt;li&gt;Fix proxy problem when looking for object class names&lt;/li&gt;
+       &lt;li&gt;Add many missing translated Norwegian to English (internal) 
+attribute/entity names&lt;/li&gt;
+       &lt;li&gt;Change UUID generation approach to allow code also set a value&lt;/li&gt;
+       &lt;li&gt;Fix problem with Part/PartParson&lt;/li&gt;
+       &lt;li&gt;Fix problem with empty OData search results&lt;/li&gt;
+       &lt;li&gt;Fix metadata entity domain problem&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;General Improvements
+  &lt;ul&gt;
+       &lt;li&gt;Makes future refactoring easier as coupling is reduced&lt;/li&gt;
+       &lt;li&gt;Allow some constant variables to be set from property file&lt;/li&gt;
+       &lt;li&gt;Refactor code to make reflection work better across codebase&lt;/li&gt;
+       &lt;li&gt;Reduce the number of @Service layer classes used in @Controller 
+classes&lt;/li&gt;
+       &lt;li&gt;Be more consistent on naming of similar variable types&lt;/li&gt;
+       &lt;li&gt;Start printing rels/href if they are applicable&lt;/li&gt;
+       &lt;li&gt;Cleaner / standardised approach to deleting objects&lt;/li&gt;
+       &lt;li&gt;Avoid concatenation when using StringBuilder&lt;/li&gt;
+       &lt;li&gt;Consolidate code to avoid duplication&lt;/li&gt;
+       &lt;li&gt;Tidy formatting for a more consistent reading style across 
+similar class files&lt;/li&gt;
+       &lt;li&gt;Make throw a log.error message not an log.info message&lt;/li&gt;
+       &lt;li&gt;Make throw print the log value rather than printing in multiple 
+places&lt;/li&gt;
+       &lt;li&gt;Add some missing pronom codes&lt;/li&gt;
+       &lt;li&gt;Fix time formatting issue in Gitlab CI&lt;/li&gt;
+       &lt;li&gt;Remove stale / unused code&lt;/li&gt;
+       &lt;li&gt;Use only UUID datatype rather than combination String/UUID for systemID&lt;/li&gt;
+       &lt;li&gt;Mark variables final and @NotNull where relevant to indicate 
+intention&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;Change Date values to DateTime to maintain compliance with Noark 5 
+standard&lt;/li&gt;
+  &lt;li&gt;Domain model improvements using Hypersistence Optimizer
+  &lt;ul&gt;
+       &lt;li&gt;Move @Transactional from class to methods to avoid borrowing the JDBC Connection unnecessarily&lt;/li&gt;
+       &lt;li&gt;Fix OneToOne performance issues&lt;/li&gt;
+       &lt;li&gt;Fix ManyToMany performance issues&lt;/li&gt;
+       &lt;li&gt;Add missing bidirectional synchronization support&lt;/li&gt;
+       &lt;li&gt;Fix ManyToMany performance issue&lt;/li&gt;
+  &lt;/ul&gt;&lt;/li&gt;
+  &lt;li&gt;Make List&lt;&gt; and Set&lt;&gt; use final-keyword to avoid potential problems 
+during update operations&lt;/li&gt;
+  &lt;li&gt;Changed internal URLs, replaced &quot;hateoas-api&quot; with &quot;api&quot;.&lt;/li&gt;
+  &lt;li&gt;Implemented storing of Precedence.&lt;/li&gt;
+  &lt;li&gt;Corrected handling of screening.&lt;/li&gt;
+  &lt;li&gt;Corrected _links collection returned for list of mixed entity types 
+to match the specific entity.&lt;/li&gt;
+  &lt;li&gt;Improved several internal structures.&lt;/li&gt;
+&lt;/ul&gt;
+
+&lt;/blockquote&gt;&lt;/p&gt;
+
+&lt;p&gt;If free and open standardized archiving API sound interesting to
+you, please contact us on IRC
+(&lt;a href=&quot;irc://irc.oftc.net/%23nikita&quot;&gt;#nikita on
+irc.oftc.net&lt;/a&gt;) or email
+(&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
+mailing list&lt;/a&gt;).&lt;/p&gt;
 
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
@@ -38,69 +205,54 @@ activities, please send Bitcoin donations to my address
        </item>
        
        <item>
-               <title>Sharing images with friends and family using RSS and EXIF/XMP metadata</title>
-               <link>http://people.skolelinux.org/pere/blog/Sharing_images_with_friends_and_family_using_RSS_and_EXIF_XMP_metadata.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sharing_images_with_friends_and_family_using_RSS_and_EXIF_XMP_metadata.html</guid>
-                <pubDate>Tue, 31 Jul 2018 23:30:00 +0200</pubDate>
-               <description>&lt;p&gt;For a while now, I have looked for a sensible way to share images
-with my family using a self hosted solution, as it is unacceptable to
-place images from my personal life under the control of strangers
-working for data hoarders like Google or Dropbox.  The last few days I
-have drafted an approach that might work out, and I would like to
-share it with you.  I would like to publish images on a server under
-my control, and point some Internet connected display units using some
-free and open standard to the images I published.  As my primary
-language is not limited to ASCII, I need to store metadata using
-UTF-8.  Many years ago, I hoped to find a digital photo frame capable
-of reading a RSS feed with image references (aka using the
-&amp;lt;enclosure&amp;gt; RSS tag), but was unable to find a current supplier
-of such frames.  In the end I gave up that approach.&lt;/p&gt;
-
-&lt;p&gt;Some months ago, I discovered that
-&lt;a href=&quot;https://www.jwz.org/xscreensaver/&quot;&gt;XScreensaver&lt;/a&gt; is able to
-read images from a RSS feed, and used it to set up a screen saver on
-my home info screen, showing images from the Daily images feed from
-NASA.  This proved to work well.  More recently I discovered that
-&lt;a href=&quot;https://kodi.tv&quot;&gt;Kodi&lt;/a&gt; (both using
-&lt;a href=&quot;https://www.openelec.tv/&quot;&gt;OpenELEC&lt;/a&gt; and
-&lt;a href=&quot;https://libreelec.tv&quot;&gt;LibreELEC&lt;/a&gt;) provide the
-&lt;a href=&quot;https://github.com/grinsted/script.screensaver.feedreader&quot;&gt;Feedreader&lt;/a&gt;
-screen saver capable of reading a RSS feed with images and news.  For
-fun, I used it this summer to test Kodi on my parents TV by hooking up
-a Raspberry PI unit with LibreELEC, and wanted to provide them with a
-screen saver showing selected pictures from my selection.&lt;/p&gt;
-
-&lt;p&gt;Armed with motivation and a test photo frame, I set out to generate
-a RSS feed for the Kodi instance.  I adjusted my &lt;a
-href=&quot;https://freedombox.org/&quot;&gt;Freedombox&lt;/a&gt; instance, created
-/var/www/html/privatepictures/, wrote a small Perl script to extract
-title and description metadata from the photo files and generate the
-RSS file.  I ended up using Perl instead of python, as the
-libimage-exiftool-perl Debian package seemed to handle the EXIF/XMP
-tags I ended up using, while python3-exif did not.  The relevant EXIF
-tags only support ASCII, so I had to find better alternatives.  XMP
-seem to have the support I need.&lt;/p&gt;
-
-&lt;p&gt;I am a bit unsure which EXIF/XMP tags to use, as I would like to
-use tags that can be easily added/updated using normal free software
-photo managing software.  I ended up using the tags set using this
-exiftool command, as these tags can also be set using digiKam:&lt;/p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;
-exiftool -headline=&#39;The RSS image title&#39; \
-  -description=&#39;The RSS image description.&#39; \
-  -subject+=for-family photo.jpeg
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;I initially tried the &quot;-title&quot; and &quot;keyword&quot; tags, but they were
-invisible in digiKam, so I changed to &quot;-headline&quot; and &quot;-subject&quot;.  I
-use the keyword/subject &#39;for-family&#39; to flag that the photo should be
-shared with my family.  Images with this keyword set are located and
-copied into my Freedombox for the RSS generating script to find.&lt;/p&gt;
-
-&lt;p&gt;Are there better ways to do this?  Get in touch if you have better
-suggestions.&lt;/p&gt;
-
+               <title>VLC bittorrent plugin in Bullseye, saved by the bell?</title>
+               <link>http://people.skolelinux.org/pere/blog/VLC_bittorrent_plugin_in_Bullseye__saved_by_the_bell_.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/VLC_bittorrent_plugin_in_Bullseye__saved_by_the_bell_.html</guid>
+                <pubDate>Sat, 1 May 2021 11:00:00 +0200</pubDate>
+               <description>&lt;p&gt;Yesterday morning I got a warning call from the Debian quality
+control system that
+&lt;a href=&quot;https://tracker.debian.org/pkg/vlc-plugin-bittorrent&quot;&gt;the VLC
+bittorrent plugin&lt;/a&gt; was due to be removed because of a release
+critical bug in one of its dependencies.  As you might remember, this
+plugin make VLC able to stream videos directly from a bittorrent
+source using both torrent files and magnet links, similar to using a
+HTTP source.  I believe such protocol support is a vital feature in
+VLC, allowing efficient streaming from sources such at the almost 7
+million movies in &lt;a href=&quot;https://archive.org/&quot;&gt;the Internet
+Archive&lt;/a&gt;.&lt;/p&gt;
+
+&lt;p&gt;The dependency was the unmaintained
+&lt;a href=&quot;https://tracker.debian.org/pkg/libtorrent-rasterbar&quot;&gt;libtorrent-rasterbar&lt;/a&gt;
+package, and &lt;a href=&quot;https://bugs.debian.org/987306&quot;&gt;the bug in
+question&lt;/a&gt; blocked its python library from working properly.  As I
+did not want Bullseye to release without bittorrent support in VLC, I
+set out to check out the status, and track down a fix for the problem.
+Luckily the issue had already been identified and fixed upstream,
+providing everything needed.  All I needed to do was to fetch the
+Debian git repository, extract and trim the patch from upstream and
+apply it to the Debian package for upload.&lt;/p&gt;
+
+&lt;p&gt;The fixed library was uploaded yesterday evening.  But that is not
+enough to get it into Bullseye, as Debian is currently in package
+freeze to prepare for a new next stable release.  Only non-critical
+packages with
+&lt;a href=&quot;https://wiki.debian.org/ContinuousIntegration/autopkgtest&quot;&gt;autopkgtest
+setup&lt;/a&gt; included, in other words able to validate automatically that
+the package is working, are allowed to migrate automatically into the
+next release at this stage.  And the unmaintained libtorrent-rasterbar
+lack such testing, and thus needed a manual override.  I am happy to
+report that such manual override was approved a few minutes ago, thus
+increasing significantly the chance of VLC bittorrent streaming being
+available out of the box also for Debian/Buster users.  A bit too
+close shave for my liking, as the Bullseye release is most likely just
+a few days away, and this  did feel like the package was saved by the
+bell.  I am so glad the warning email showed up in time for me to
+handle the issue, and a big thanks go to the Debian Release team for
+the quick feedback on
+&lt;a href=&quot;irc://irc.debian.org/%23debian-release&quot;&gt;#debian-release&lt;/a&gt;
+and their &lt;a href=&quot;https://bugs.debian.org/987865&quot;&gt;swift
+unblocking&lt;/a&gt;.&lt;/p&gt;
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
@@ -108,98 +260,57 @@ activities, please send Bitcoin donations to my address
        </item>
        
        <item>
-               <title>Simple streaming the Linux desktop to Kodi using GStreamer and RTP</title>
-               <link>http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html</guid>
-                <pubDate>Thu, 12 Jul 2018 17:55:00 +0200</pubDate>
-               <description>&lt;p&gt;Last night, I wrote
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html&quot;&gt;a
-recipe to stream a Linux desktop using VLC to a instance of Kodi&lt;/a&gt;.
-During the day I received valuable feedback, and thanks to the
-suggestions I have been able to rewrite the recipe into a much simpler
-approach requiring no setup at all.  It is a single script that take
-care of it all.&lt;/p&gt;
-
-&lt;p&gt;This new script uses GStreamer instead of VLC to capture the
-desktop and stream it to Kodi.  This fixed the video quality issue I
-saw initially.  It further removes the need to add a m3u file on the
-Kodi machine, as it instead connects to
-&lt;a href=&quot;https://kodi.wiki/view/JSON-RPC_API/v8&quot;&gt;the JSON-RPC API in
-Kodi&lt;/a&gt; and simply ask Kodi to play from the stream created using
-GStreamer.  Streaming the desktop to Kodi now become trivial.  Copy
-the script below, run it with the DNS name or IP address of the kodi
-server to stream to as the only argument, and watch your screen show
-up on the Kodi screen.  Note, it depend on multicast on the local
-network, so if you need to stream outside the local network, the
-script must be modified.  Also note, I have no idea if audio work, as
-I only care about the picture part.&lt;/p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;
-#!/bin/sh
-#
-# Stream the Linux desktop view to Kodi.  See
-# http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html
-# for backgorund information.
-
-# Make sure the stream is stopped in Kodi and the gstreamer process is
-# killed if something go wrong (for example if curl is unable to find the
-# kodi server).  Do the same when interrupting this script.
-kodicmd() {
-    host=&quot;$1&quot;
-    cmd=&quot;$2&quot;
-    params=&quot;$3&quot;
-    curl --silent --header &#39;Content-Type: application/json&#39; \
-        --data-binary &quot;{ \&quot;id\&quot;: 1, \&quot;jsonrpc\&quot;: \&quot;2.0\&quot;, \&quot;method\&quot;: \&quot;$cmd\&quot;, \&quot;params\&quot;: $params }&quot; \
-        &quot;http://$host/jsonrpc&quot;
-}
-cleanup() {
-    if [ -n &quot;$kodihost&quot; ] ; then
-       # Stop the playing when we end
-       playerid=$(kodicmd &quot;$kodihost&quot; Player.GetActivePlayers &quot;{}&quot; |
-                           jq .result[].playerid)
-       kodicmd &quot;$kodihost&quot; Player.Stop &quot;{ \&quot;playerid\&quot; : $playerid }&quot; &gt; /dev/null
-    fi
-    if [ &quot;$gstpid&quot; ] &amp;&amp; kill -0 &quot;$gstpid&quot; &gt;/dev/null 2&gt;&amp;1; then
-       kill &quot;$gstpid&quot;
-    fi
-}
-trap cleanup EXIT INT
-
-if [ -n &quot;$1&quot; ]; then
-    kodihost=$1
-    shift
-else
-    kodihost=kodi.local
-fi
+               <title>Updated Valutakrambod, now also with information from NBX</title>
+               <link>http://people.skolelinux.org/pere/blog/Updated_Valutakrambod__now_also_with_information_from_NBX.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Updated_Valutakrambod__now_also_with_information_from_NBX.html</guid>
+                <pubDate>Sat, 27 Feb 2021 13:30:00 +0100</pubDate>
+               <description>&lt;p&gt;I have neglected the Valutakrambod library for a while, but decided
+this weekend to give it a face lift.  I fixed a few minor glitches in
+several of the service drivers, where the API had changed since I last
+looked at the code.  I also added support for fetching the order book
+from the newcomer Norwegian Bitcoin Exchange.&lt;/p&gt;
+
+&lt;p&gt;I also decided to migrate the project from github to gitlab in the
+process.  If you want a python library for talking to various currency
+exchanges, check out
+&lt;a href=&quot;https://gitlab.com/petterreinholdtsen/valutakrambod&quot;&gt;code for
+valutakrambod&lt;/a&gt;.&lt;/p&gt;
+
+&lt;p&gt;This is what the output from &#39;&lt;tt&gt;bin/btc-rates-curses -c&lt;/tt&gt;&#39;
+looked like a few minutes ago:&lt;/p&gt;
 
-mcast=239.255.0.1
-mcastport=1234
-mcastttl=1
-
-pasrc=$(pactl list | grep -A2 &#39;Source #&#39; | grep &#39;Name: .*\.monitor$&#39; | \
-  cut -d&quot; &quot; -f2|head -1)
-gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=30/1 ! \
-  videoconvert ! queue2 ! \
-  x264enc bitrate=8000 speed-preset=superfast tune=zerolatency qp-min=30 \
-  key-int-max=15 bframes=2 ! video/x-h264,profile=high ! queue2 ! \
-  mpegtsmux alignment=7 name=mux ! rndbuffersize max=1316 min=1316 ! \
-  udpsink host=$mcast port=$mcastport ttl-mc=$mcastttl auto-multicast=1 sync=0 \
-  pulsesrc device=$pasrc ! audioconvert ! queue2 ! avenc_aac ! queue2 ! mux. \
-  &gt; /dev/null 2&gt;&amp;1 &amp;
-gstpid=$!
-
-# Give stream a second to get going
-sleep 1
-
-# Ask kodi to start streaming using its JSON-RPC API
-kodicmd &quot;$kodihost&quot; Player.Open \
-       &quot;{\&quot;item\&quot;: { \&quot;file\&quot;: \&quot;udp://@$mcast:$mcastport\&quot; } }&quot; &gt; /dev/null
-
-# wait for gst to end
-wait &quot;$gstpid&quot;
-&lt;/pre&gt;&lt;/blockquote&gt;
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+           Name Pair           Bid         Ask Spread Ftcd    Age   Freq
+       Bitfinex BTCEUR  39229.0000  39246.0000   0.0%   44     44    nan
+        Bitmynt BTCEUR  39071.0000  41048.9000   4.8%   43     74    nan
+         Bitpay BTCEUR  39326.7000         nan   nan%   39    nan    nan
+       Bitstamp BTCEUR  39398.7900  39417.3200   0.0%    0      0      1
+           Bl3p BTCEUR  39158.7800  39581.9000   1.1%    0    nan      3
+       Coinbase BTCEUR  39197.3100  39621.9300   1.1%   38    nan    nan
+         Kraken+BTCEUR  39432.9000  39433.0000   0.0%    0      0      0
+        Paymium BTCEUR  39437.2100  39499.9300   0.2%    0   2264    nan
+        Bitmynt BTCNOK 409750.9600 420516.8500   2.6%   43     74    nan
+         Bitpay BTCNOK 410332.4000         nan   nan%   39    nan    nan
+       Coinbase BTCNOK 408675.7300 412813.7900   1.0%   38    nan    nan
+        MiraiEx BTCNOK 412174.1800 418396.1500   1.5%   34    nan    nan
+            NBX BTCNOK 405835.9000 408921.4300   0.8%   33    nan    nan
+       Bitfinex BTCUSD  47341.0000  47355.0000   0.0%   44     53    nan
+         Bitpay BTCUSD  47388.5100         nan   nan%   39    nan    nan
+       Coinbase BTCUSD  47153.6500  47651.3700   1.0%   37    nan    nan
+         Gemini BTCUSD  47416.0900  47439.0500   0.0%   36    336    nan
+         Hitbtc BTCUSD  47429.9900  47386.7400  -0.1%    0      0      0
+         Kraken+BTCUSD  47401.7000  47401.8000   0.0%    0      0      0
+  Exchangerates EURNOK     10.4012     10.4012   0.0%   38  76236    nan
+     Norgesbank EURNOK     10.4012     10.4012   0.0%   31  76236    nan
+       Bitstamp EURUSD      1.2030      1.2045   0.1%    2      2      1
+  Exchangerates EURUSD      1.2121      1.2121   0.0%   38  76236    nan
+     Norgesbank USDNOK      8.5811      8.5811   0.0%   31  76236    nan
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
 
-&lt;p&gt;I hope you find the approach useful.  I know I do.&lt;/p&gt;
+&lt;p&gt;Yes, I notice the negative spread on Hitbtc.  Either I fail to
+understand their Websocket API or they are sending bogus data.  I&#39;ve
+seen the same with Kraken, and suspect there is something wrong with
+the data they send.&lt;/p&gt;
 
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
@@ -208,261 +319,231 @@ activities, please send Bitcoin donations to my address
        </item>
        
        <item>
-               <title>Streaming the Linux desktop to Kodi using VLC and RTSP</title>
-               <link>http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html</guid>
-                <pubDate>Thu, 12 Jul 2018 02:00:00 +0200</pubDate>
-               <description>&lt;p&gt;PS: See
-&lt;ahref=&quot;http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html&quot;&gt;the
-followup post&lt;/a&gt; for a even better approach.&lt;/p&gt;
-
-&lt;p&gt;A while back, I was asked by a friend how to stream the desktop to
-my projector connected to Kodi.  I sadly had to admit that I had no
-idea, as it was a task I never had tried.  Since then, I have been
-looking for a way to do so, preferable without much extra software to
-install on either side.  Today I found a way that seem to kind of
-work.  Not great, but it is a start.&lt;/p&gt;
-
-&lt;p&gt;I had a look at several approaches, for example
-&lt;a href=&quot;https://github.com/mfoetsch/dlna_live_streaming&quot;&gt;using uPnP
-DLNA as described in 2011&lt;/a&gt;, but it required a uPnP server, fuse and
-local storage enough to store the stream locally.  This is not going
-to work well for me, lacking enough free space, and it would
-impossible for my friend to get working.&lt;/p&gt;
-
-&lt;p&gt;Next, it occurred to me that perhaps I could use VLC to create a
-video stream that Kodi could play.  Preferably using
-broadcast/multicast, to avoid having to change any setup on the Kodi
-side when starting such stream.  Unfortunately, the only recipe I
-could find using multicast used the rtp protocol, and this protocol
-seem to not be supported by Kodi.&lt;/p&gt;
-
-&lt;p&gt;On the other hand, the rtsp protocol is working!  Unfortunately I
-have to specify the IP address of the streaming machine in both the
-sending command and the file on the Kodi server.  But it is showing my
-desktop, and thus allow us to have a shared look on the big screen at
-the programs I work on.&lt;/p&gt;
-
-&lt;p&gt;I did not spend much time investigating codeces.  I combined the
-rtp and rtsp recipes from
-&lt;a href=&quot;https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/&quot;&gt;the
-VLC Streaming HowTo/Command Line Examples&lt;/a&gt;, and was able to get
-this working on the desktop/streaming end.&lt;/p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;
-vlc screen:// --sout \
-  &#39;#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{dst=projector.local,port=1234,sdp=rtsp://192.168.11.4:8080/test.sdp}&#39;
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;I ssh-ed into my Kodi box and created a file like this with the
-same IP address:&lt;/p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;
-echo rtsp://192.168.11.4:8080/test.sdp \
-  &gt; /storage/videos/screenstream.m3u
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;Note the 192.168.11.4 IP address is my desktops IP address.  As far
-as I can tell the IP must be hardcoded for this to work.  In other
-words, if someone elses machine is going to do the steaming, you have
-to update screenstream.m3u on the Kodi machine and adjust the vlc
-recipe.  To get started, locate the file in Kodi and select the m3u
-file while the VLC stream is running.  The desktop then show up in my
-big screen. :)&lt;/p&gt;
-
-&lt;p&gt;When using the same technique to stream a video file with audio,
-the audio quality is really bad.  No idea if the problem is package
-loss or bad parameters for the transcode.  I do not know VLC nor Kodi
-enough to tell.&lt;/p&gt;
-
-&lt;p&gt;&lt;strong&gt;Update 2018-07-12&lt;/strong&gt;: Johannes Schauer send me a few
-succestions and reminded me about an important step.  The &quot;screen:&quot;
-input source is only available once the vlc-plugin-access-extra
-package is installed on Debian.  Without it, you will see this error
-message: &quot;VLC is unable to open the MRL &#39;screen://&#39;.  Check the log
-for details.&quot;  He further found that it is possible to drop some parts
-of the VLC command line to reduce the amount of hardcoded information.
-It is also useful to consider using cvlc to avoid having the VLC
-window in the desktop view.  In sum, this give us this command line on
-the source end
-
-&lt;blockquote&gt;&lt;pre&gt;
-cvlc screen:// --sout \
-  &#39;#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{sdp=rtsp://:8080/}&#39;
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;and this on the Kodi end&lt;p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;
-echo rtsp://192.168.11.4:8080/ \
-  &gt; /storage/videos/screenstream.m3u
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;Still bad image quality, though.  But I did discover that streaming
-a DVD using dvdsimple:///dev/dvd as the source had excellent video and
-audio quality, so I guess the issue is in the input or transcoding
-parts, not the rtsp part.  I&#39;ve tried to change the vb and ab
-parameters to use more bandwidth, but it did not make a
-difference.&lt;/p&gt;
-
-&lt;p&gt;I further received a suggestion from Einar Haraldseid to try using
-gstreamer instead of VLC, and this proved to work great!  He also
-provided me with the trick to get Kodi to use a multicast stream as
-its source.  By using this monstrous oneliner, I can stream my desktop
-with good video quality in reasonable framerate to the 239.255.0.1
-multicast address on port 1234:
-
-&lt;blockquote&gt;&lt;pre&gt;
-gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=30/1 ! \
-  videoconvert ! queue2 ! \
-  x264enc bitrate=8000 speed-preset=superfast tune=zerolatency qp-min=30 \
-  key-int-max=15 bframes=2 ! video/x-h264,profile=high ! queue2 ! \
-  mpegtsmux alignment=7 name=mux ! rndbuffersize max=1316 min=1316 ! \
-  udpsink host=239.255.0.1 port=1234 ttl-mc=1 auto-multicast=1 sync=0 \
-  pulsesrc device=$(pactl list | grep -A2 &#39;Source #&#39; | \
-    grep &#39;Name: .*\.monitor$&#39; |  cut -d&quot; &quot; -f2|head -1) ! \
-  audioconvert ! queue2 ! avenc_aac ! queue2 ! mux.
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;and this on the Kodi end&lt;p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;
-echo udp://@239.255.0.1:1234 \
-  &gt; /storage/videos/screenstream.m3u
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;Note the trick to pick a valid pulseaudio source.  It might not
-pick the one you need.  This approach will of course lead to trouble
-if more than one source uses the same multicast port and address.
-Note the ttl-mc=1 setting, which limit the multicast packages to the
-local network.  If the value is increased, your screen will be
-broadcasted further, one network &quot;hop&quot; for each increase (read up on
-multicast to learn more. :)!&lt;/p&gt;
-
-&lt;p&gt;Having cracked how to get Kodi to receive multicast streams, I
-could use this VLC command to stream to the same multicast address.
-The image quality is way better than the rtsp approach, but gstreamer
-seem to be doing a better job.&lt;/p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;
-cvlc screen:// --sout &#39;#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{mux=ts,dst=239.255.0.1,port=1234,sdp=sap}&#39;
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
-activities, please send Bitcoin donations to my address
-&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
+               <title>Boken «Hvordan knuse overvåkningskapitalismen» lanseres på norsk</title>
+               <link>http://people.skolelinux.org/pere/blog/Boken__Hvordan_knuse_overv_kningskapitalismen__lanseres_p__norsk.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Boken__Hvordan_knuse_overv_kningskapitalismen__lanseres_p__norsk.html</guid>
+                <pubDate>Tue, 26 Jan 2021 19:10:00 +0100</pubDate>
+               <description>&lt;p&gt;Etter intenst arbeid over mange måneder er endelig den norske
+utgaven av «Hvordan knuse overvåkningskapitalismen» av Cory Doctorow
+ferdig og klar til å glede millioner av lesere over hele verden.
+Følgende pressemelding ble nettopp sendt ut til norske redaksjoner:
+
+&lt;blockquote&gt;
+
+&lt;p&gt;&lt;strong&gt;Hva gjør stordata med oss, og hvordan gjør algoritmene
+«fake news» til realiter?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;Nå foreligger en viktig bok om temaet også på norsk. Boken klargjør
+og foreslår hvordan vi selv som enkeltpersoner, men også nasjonalt og
+internasjonalt kan bekjempe stordatakonsentrasjonene;
+«overvåkingskapitalismen».  Boken er «Hvordan knuse
+overvåkingskapitalismen» av dr. Cory Doctorow. Den engelske
+bokutgivelsen kom for noen dager siden og lanseres med et Webinar
+torsdag 2021-01-28. Doctorow besøkte Norge og NUUG i desember med sin
+presentasjon Monopoly, Not Mind Control: What&#39;s Really Happening With
+&quot;Surveillance Capitalism&quot;.&lt;/p&gt;
+
+&lt;p&gt;I funn etter funn, eksempel etter eksempel, gjennomgår og
+analyserer dr. Doctorow de utfordringer vi møter i større og større
+omfang. Ikke bare i USA, men også her hjemme.&lt;/p&gt;
+
+&lt;p&gt;Cory Doctorow er en britisk-kanadisk forfatter, journalist og
+aktivist, kjent for sine science fiction-romaner, for arbeidet for
+Creative Commons-bevegelsen, og for sine bidrag til reform av
+opphavsretten. Han er både æresdoktor og gjesteforeleser i
+datavitenskap ved Open University i UK, konsulent for Electronic
+Frontier Foundation, og godt kjent for innsiktsfullt å kommentere og
+skrive om digital utvikling.&lt;/p&gt;
+
+&lt;p&gt;Boken lanseres nå på norsk, både som ebok og på papir, oversatt av
+en dugnadsgjeng ledet av Petter Reinholdtsen.&lt;/p&gt;
+
+&lt;p&gt;Boken reiser noen helt grunnleggende og samfunnskritiske spørsmål:
+Hva fører det til når store deler av Internettet domineres av få store
+aktører og deres styringsverktøy og algoritmer?&lt;/p&gt;
+
+&lt;p&gt;Som individer bør vi være opptatt at grenser blir satt og håndhevet
+- grenser for overvåkning av individet, for utøvelse av kommersiell
+og politisk påvirkning, og for monopoldannelser i
+dataverdenen. Slik grensesetting styrker personvernet.&lt;/p&gt;
+
+&lt;p&gt;Konkurransetilsynet har ansvaret for at konkurranselovens § 11 skal
+forby «et dominerende foretak for utilbørlig å utnytte og misbruke
+sin dominerende stilling». Et tilsvarende forbud omfattes også av
+EØS-avtalens artikkel 54. Boken går i detalj om serien av
+innskrenkninger vi møter i valgfriheten, innskrenkninger som denne
+lovgivningen nettopp skal forhindre. Håndhevelse av en slik lovgivning
+er også til fordel for mindre næringsdrivende som uten dette får
+begrenset sine faktiske eller potensielle muligheter for vekst og
+etablering. «Slik atferd kan utgjøre et misbruk og kan ta ulike
+former», skriver Konkurransetilsynet.&lt;/p&gt;
+
+&lt;p&gt;Cory Doctorow går i sin bok lengre enn det med sine mange eksempler
+på forhold det burde vært grepet inn mot.&lt;/p&gt;
+
+&lt;p&gt;«Boken bør bidra til et sterkere engasjemen fra voktere av
+Inter­nettet nasjonalt og internasjonalt - EU medregnet» sier
+oversetter Ole-Erik Yrvin og fortsetter: «Vi har derfor
+&lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2021-01-26-knus-overvaakningskapitalismen-helleland.pdf&quot;&gt;allerede
+tatt opp bokens forslag&lt;/a&gt; direkte med Distrikts- og
+digitaliseringsminister Linda Hofstad Helleland (H) og
+Konkurransetilsynet slik at de kan følges opp.»&lt;/p&gt;
+
+&lt;p&gt;«Også Norge bør innta en pådriverrolle i denne utviklingen», sier
+Petter Reinholdtsen. «Tiden er knapp, og tilsynsmyndighetene må få
+de verktøy og de ressurser de trenger for at vi her hjemme skal oppnå
+nødvendige resultater. Dette gjelder ikke bare vår egen generasjon;
+det gjelder alle generasjoner fremover», avslutter Petter
+Reinholdsen.&lt;/p&gt;
+
+&lt;p&gt;Kontaktinformasjon:&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;Ole-Erik Yrvin, oeyrvin (at) gmail.com, +47 46500450&lt;/li&gt;
+
+&lt;li&gt;Petter Reinholdtsen, pere (at) hungry.com&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;Relevante lenker:&lt;p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;«Hvordan knuse overvåkingskapitalismen» kan bestilles på papir,
+som ebok eller leses på nett via
+&lt;a href=&quot;http://www.hungry.com/~pere/publisher/&quot;&gt;http://www.hungry.com/~pere/publisher/&lt;/a&gt;.&lt;/li&gt;
+
+&lt;li&gt;Opptak av NUUG-møtet Monopoly, Not Mind Control: What&#39;s Really
+Happening With &quot;Surveillance Capitalism&quot; med Cory Doctorow,
+&lt;a href=&quot;https://www.nuug.no/aktiviteter/20201208-doctorow/&quot;&gt;https://www.nuug.no/aktiviteter/20201208-doctorow/&lt;/a&gt;.&lt;/li&gt;
+
+&lt;li&gt;Påmelding til webinar som lanserer den engelske utgaven kan gjøres
+via
+&lt;a href=&quot;https://craphound.com/category/destroy/&quot;&gt;https://craphound.com/category/destroy/&lt;/a&gt;.&lt;/li&gt;
+
+&lt;li&gt;Cory Doctorows nettsted er
+&lt;a href=&quot;https://craphound.com/&quot;&gt;https://craphound.com/&lt;/a&gt;.&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;/blockquote&gt;
+
+&lt;p&gt;Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til
+det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner
+til min adresse
+&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.
+Merk, betaling med bitcoin er ikke anonymt. :)&lt;/p&gt;
 </description>
        </item>
        
        <item>
-               <title>What is the most supported MIME type in Debian in 2018?</title>
-               <link>http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_in_2018_.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_in_2018_.html</guid>
-                <pubDate>Mon, 9 Jul 2018 08:05:00 +0200</pubDate>
-               <description>&lt;p&gt;Five years ago,
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html&quot;&gt;I
-measured what the most supported MIME type in Debian was&lt;/a&gt;, by
-analysing the desktop files in all packages in the archive.  Since
-then, the DEP-11 AppStream system has been put into production, making
-the task a lot easier.  This made me want to repeat the measurement,
-to see how much things changed.  Here are the new numbers, for
-unstable only this time:
-
-&lt;p&gt;&lt;strong&gt;Debian Unstable:&lt;/strong&gt;&lt;/p&gt;
-
-&lt;pre&gt;
-  count MIME type
-  ----- -----------------------
-     56 image/jpeg
-     55 image/png
-     49 image/tiff
-     48 image/gif
-     39 image/bmp
-     38 text/plain
-     37 audio/mpeg
-     34 application/ogg
-     33 audio/x-flac
-     32 audio/x-mp3
-     30 audio/x-wav
-     30 audio/x-vorbis+ogg
-     29 image/x-portable-pixmap
-     27 inode/directory
-     27 image/x-portable-bitmap
-     27 audio/x-mpeg
-     26 application/x-ogg
-     25 audio/x-mpegurl
-     25 audio/ogg
-     24 text/html
-&lt;/pre&gt;
-
-&lt;p&gt;The list was created like this using a sid chroot: &quot;cat
-/var/lib/apt/lists/*sid*_dep11_Components-amd64.yml.gz| zcat | awk &#39;/^
-- \S+\/\S+$/ {print $2 }&#39; | sort | uniq -c | sort -nr | head -20&quot;&lt;/p&gt;
-
-&lt;p&gt;It is interesting to see how image formats have passed text/plain
-as the most announced supported MIME type.  These days, thanks to the
-AppStream system, if you run into a file format you do not know, and
-want to figure out which packages support the format, you can find the
-MIME type of the file using &quot;file --mime &amp;lt;filename&amp;gt;&quot;, and then
-look up all packages announcing support for this format in their
-AppStream metadata (XML or .desktop file) using &quot;appstreamcli
-what-provides mimetype &amp;lt;mime-type&amp;gt;.  For example if you, like
-me, want to know which packages support inode/directory, you can get a
-list like this:&lt;/p&gt;
+               <title>Latest Jami back in Debian Testing, and scriptable using dbus</title>
+               <link>http://people.skolelinux.org/pere/blog/Latest_Jami_back_in_Debian_Testing__and_scriptable_using_dbus.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Latest_Jami_back_in_Debian_Testing__and_scriptable_using_dbus.html</guid>
+                <pubDate>Tue, 12 Jan 2021 17:00:00 +0100</pubDate>
+               <description>&lt;p&gt;After a lot of hard work by its maintainer Alexandre Viau and
+others, the decentralized communication platform
+&lt;a href=&quot;https://en.wikipedia.org/wiki/Jami_(software)&quot;&gt;Jami&lt;/a&gt;
+(earlier known as Ring), managed to get
+&lt;a href=&quot;https://tracker.debian.org/pkg/ring&quot;&gt;its latest version&lt;/a&gt;
+into Debian Testing.  Several of its dependencies has caused build and
+propagation problems, which all seem to be solved now.&lt;/p&gt;
+
+&lt;p&gt;In addition to the fact that Jami is decentralized, similar to how
+bittorrent is decentralized, I first of all like how it is not
+connected to external IDs like phone numbers.  This allow me to set up
+computers to send me notifications using Jami without having to find
+get a phone number for each computer.  Automatic notification via Jami
+is also made trivial thanks to the provided client side API (as a DBus
+service).  Here is my bourne shell script demonstrating how to let any
+system send a message to any Jami address.  It will create a new
+identity before sending the message, if no Jami identity exist
+already:&lt;/p&gt;
 
-&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
-% appstreamcli what-provides mimetype inode/directory | grep Package: | sort
-Package: anjuta
-Package: audacious
-Package: baobab
-Package: cervisia
-Package: chirp
-Package: dolphin
-Package: doublecmd-common
-Package: easytag
-Package: enlightenment
-Package: ephoto
-Package: filelight
-Package: gwenview
-Package: k4dirstat
-Package: kaffeine
-Package: kdesvn
-Package: kid3
-Package: kid3-qt
-Package: nautilus
-Package: nemo
-Package: pcmanfm
-Package: pcmanfm-qt
-Package: qweborf
-Package: ranger
-Package: sirikali
-Package: spacefm
-Package: spacefm
-Package: vifm
-%
-&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
+&lt;p&gt;&lt;pre&gt;
+#!/bin/sh
+#
+# Usage: $0 &lt;jami-address&gt; &lt;message&gt;
+#
+# Send &lt;message&gt; to &lt;jami-address&gt;, create local jami account if
+# missing.
+#
+# License: GPL v2 or later at your choice
+# Author: Petter Reinholdtsen
 
-&lt;p&gt;Using the same method, I can quickly discover that the Sketchup file
-format is not yet supported by any package in Debian:&lt;/p&gt;
 
-&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
-% appstreamcli what-provides mimetype  application/vnd.sketchup.skp
-Could not find component providing &#39;mimetype::application/vnd.sketchup.skp&#39;.
-%
-&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
+if [ -z &quot;$HOME&quot; ] ; then
+    echo &quot;error: missing \$HOME, required for dbus to work&quot;
+    exit 1
+fi
 
-&lt;p&gt;Yesterday I used it to figure out which packages support the STL 3D
-format:&lt;/p&gt;
+# First, get dbus running if not already running
+DBUSLAUNCH=/usr/bin/dbus-launch
+PIDFILE=/run/asterisk/dbus-session.pid
+if [ -e $PIDFILE ] ; then
+    . $PIDFILE
+    if ! kill -0 $DBUS_SESSION_BUS_PID 2&gt;/dev/null ; then
+        unset DBUS_SESSION_BUS_ADDRESS
+    fi
+fi
+if [ -z &quot;$DBUS_SESSION_BUS_ADDRESS&quot; ] &amp;&amp; [ -x &quot;$DBUSLAUNCH&quot; ]; then
+    DBUS_SESSION_BUS_ADDRESS=&quot;unix:path=$HOME/.dbus&quot;
+    dbus-daemon --session --address=&quot;$DBUS_SESSION_BUS_ADDRESS&quot; --nofork --nopidfile --syslog-only &lt; /dev/null &gt; /dev/null 2&gt;&amp;1 3&gt;&amp;1 &amp;
+    DBUS_SESSION_BUS_PID=$!
+    (
+        echo DBUS_SESSION_BUS_PID=$DBUS_SESSION_BUS_PID
+        echo DBUS_SESSION_BUS_ADDRESS=\&quot;&quot;$DBUS_SESSION_BUS_ADDRESS&quot;\&quot;
+        echo export DBUS_SESSION_BUS_ADDRESS
+    ) &gt; $PIDFILE
+    . $PIDFILE
+fi &amp;
+
+dringop() {
+    part=&quot;$1&quot;; shift
+    op=&quot;$1&quot;; shift
+    dbus-send --session \
+        --dest=&quot;cx.ring.Ring&quot; /cx/ring/Ring/$part cx.ring.Ring.$part.$op $*
+}
 
-&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
-% appstreamcli what-provides mimetype  application/sla|grep Package
-Package: cura
-Package: meshlab
-Package: printrun
-%
-&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
+dringopreply() {
+    part=&quot;$1&quot;; shift
+    op=&quot;$1&quot;; shift
+    dbus-send --session --print-reply \
+        --dest=&quot;cx.ring.Ring&quot; /cx/ring/Ring/$part cx.ring.Ring.$part.$op $*
+}
+
+firstaccount() {
+    dringopreply ConfigurationManager getAccountList | \
+      grep string | awk -F&#39;&quot;&#39; &#39;{print $2}&#39; | head -n 1
+}
 
-&lt;p&gt;PS: A new version of Cura was uploaded to Debian yesterday.&lt;/p&gt;
+account=$(firstaccount)
+
+if [ -z &quot;$account&quot; ] ; then
+    echo &quot;Missing local account, trying to create it&quot;
+    dringop ConfigurationManager addAccount \
+      dict:string:string:&quot;Account.type&quot;,&quot;RING&quot;,&quot;Account.videoEnabled&quot;,&quot;false&quot;
+    account=$(firstaccount)
+    if [ -z &quot;$account&quot; ] ; then
+        echo &quot;unable to create local account&quot;
+        exit 1
+    fi
+fi
+
+# Not using dringopreply to ensure $2 can contain spaces
+dbus-send --print-reply --session \
+  --dest=cx.ring.Ring \
+  /cx/ring/Ring/ConfigurationManager \
+  cx.ring.Ring.ConfigurationManager.sendTextMessage \
+  string:&quot;$account&quot; string:&quot;$1&quot; \
+  dict:string:string:&quot;text/plain&quot;,&quot;$2&quot; 
+&lt;/pre&gt;&lt;/p&gt;
+
+&lt;p&gt;If you want to check it out yourself, visit the 
+&lt;a href=&quot;https://jami.net/&quot;&gt;the Jami system project page&lt;/a&gt; to learn
+more, and install the latest Jami client from Debian Unstable or
+Testing.&lt;/p&gt;
 
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
@@ -471,76 +552,109 @@ activities, please send Bitcoin donations to my address
        </item>
        
        <item>
-               <title>Debian APT upgrade without enough free space on the disk...</title>
-               <link>http://people.skolelinux.org/pere/blog/Debian_APT_upgrade_without_enough_free_space_on_the_disk___.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_APT_upgrade_without_enough_free_space_on_the_disk___.html</guid>
-                <pubDate>Sun, 8 Jul 2018 12:10:00 +0200</pubDate>
-               <description>&lt;p&gt;Quite regularly, I let my Debian Sid/Unstable chroot stay untouch
-for a while, and when I need to update it there is not enough free
-space on the disk for apt to do a normal &#39;apt upgrade&#39;.  I normally
-would resolve the issue by doing &#39;apt install &amp;lt;somepackages&amp;gt;&#39; to
-upgrade only some of the packages in one batch, until the amount of
-packages to download fall below the amount of free space available.
-Today, I had about 500 packages to upgrade, and after a while I got
-tired of trying to install chunks of packages manually.  I concluded
-that I did not have the spare hours required to complete the task, and
-decided to see if I could automate it.  I came up with this small
-script which I call &#39;apt-in-chunks&#39;:&lt;/p&gt;
-
-&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
-#!/bin/sh
-#
-# Upgrade packages when the disk is too full to upgrade every
-# upgradable package in one lump.  Fetching packages to upgrade using
-# apt, and then installing using dpkg, to avoid changing the package
-# flag for manual/automatic.
-
-set -e
-
-ignore() {
-    if [ &quot;$1&quot; ]; then
-       grep -v &quot;$1&quot;
-    else
-       cat
-    fi
-}
-
-for p in $(apt list --upgradable | ignore &quot;$@&quot; |cut -d/ -f1 | grep -v &#39;^Listing...&#39;); do
-    echo &quot;Upgrading $p&quot;
-    apt clean
-    apt install --download-only -y $p
-    for f in /var/cache/apt/archives/*.deb; do
-       if [ -e &quot;$f&quot; ]; then
-           dpkg -i /var/cache/apt/archives/*.deb
-           break
-       fi
-    done
-done
-&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
-
-&lt;p&gt;The script will extract the list of packages to upgrade, try to
-download the packages needed to upgrade one package, install the
-downloaded packages using dpkg.  The idea is to upgrade packages
-without changing the APT mark for the package (ie the one recording of
-the package was manually requested or pulled in as a dependency).  To
-use it, simply run it as root from the command line.  If it fail, try
-&#39;apt install -f&#39; to clean up the mess and run the script again.  This
-might happen if the new packages conflict with one of the old
-packages.  dpkg is unable to remove, while apt can do this.&lt;/p&gt;
-
-&lt;p&gt;It take one option, a package to ignore in the list of packages to
-upgrade.  The option to ignore a package is there to be able to skip
-the packages that are simply too large to unpack.  Today this was
-&#39;ghc&#39;, but I have run into other large packages causing similar
-problems earlier (like TeX).&lt;/p&gt;
-
-&lt;p&gt;Update 2018-07-08: Thanks to Paul Wise, I am aware of two
-alternative ways to handle this.  The &quot;unattended-upgrades
---minimal-upgrade-steps&quot; option will try to calculate upgrade sets for
-each package to upgrade, and then upgrade them in order, smallest set
-first.  It might be a better option than my above mentioned script.
-Also, &quot;aptutude upgrade&quot; can upgrade single packages, thus avoiding
-the need for using &quot;dpkg -i&quot; in the script above.&lt;/p&gt;
+               <title>Boken «Made with Creative Commons» lanseres på norsk</title>
+               <link>http://people.skolelinux.org/pere/blog/Boken__Made_with_Creative_Commons__lanseres_p__norsk.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Boken__Made_with_Creative_Commons__lanseres_p__norsk.html</guid>
+                <pubDate>Sun, 15 Nov 2020 23:50:00 +0100</pubDate>
+               <description>&lt;p&gt;Endelig er den norske utgaven av «Made with Creative Commons»
+ferdig og publisert.  Følgende pressemelding ble nettopp sendt ut:
+
+&lt;blockquote&gt;
+
+&lt;p&gt;&lt;strong&gt;Boken «Made with Creative Commons» lanseres på norsk&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;«Gjort med Creative Commons» er en bok om gjenbruk, deling og den
+digitale allmenningen. Boken omhandler å bygge en forretningsmodell på
+åpne verdier, endringene i tankesett og filosofi, og fordelene og
+praksisen som kommer med å være «åpen».&lt;/p&gt;
+  
+&lt;p&gt;Forfatterne Paul Stacey og Sarah Hinchliff Pearson tar oss med inn
+i samtaler med 24 mennesker, prosjekter og organisasjoner som på ulike
+måter generere inntekter gjennom deling av sine verk. Som leser får
+man innsikt i hvordan alt fra forskere, forfattere, kunstnere og
+filmskapere tjener penger basert på åpne forretningsmodeller. En av
+referansestudiene i denne boken viser hvordan Blender Animation Studio
+lager vakre animasjonsfilmer som de publiserer under en fri lisens,
+basert på en plattform som er fri programvare.&lt;/p&gt;
+
+&lt;p&gt;Utover praktiske eksempler på forskjellige forretningsmodeller berører
+også boken forskjellen mellom tradisjonelle kommersielle virksomheter og
+de som tar utgangspunkt i den globale delingskulturen.&lt;/p&gt;
+
+&lt;p&gt;«Hvis du ønsker å lære mer om digital delingskultur og Creative Commons
+er dette en bok som både vil inspirere og gi grunnleggende innsikt» sier
+leder av Creative Commons Norge, Christer Solheim Gundersen. «De siste
+årene har denne globale bevegelsen sett en betydelig vekst med totalt
+over 1,6 milliarder verk med CC-lisens tilgjengelig på nett.»
+  
+Nå er den tilgjengelig på norsk takket være liten gruppe frivillige
+entusiaster ledet av Petter Reinholdtsen. «På vegne av Creative Commons
+Norge vil jeg takke hver enkelt bidragsyter. Dette prosjektet er i seg
+selv et inspirerende eksempel på at delingskulturen også har godt
+fotfeste her i Norge.», avslutter Gundersen.&lt;/p&gt;
+
+&lt;p&gt;Boken er selvsagt fritt tilgjengelig under en Creative Commons lisens,
+og kan også kjøpes som ebok og papirutgave på blant annet Lulu.com og
+Amazon.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Lenker og kontaktinformasjon&lt;/strong&gt;&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;Kontaktpunkt:
+&lt;br&gt;Ole-Erik Yrvin (oeyrvin@gmail.com) og
+&lt;br&gt;Christer Solheim Gundersen (christer@goopen.no), +47 9341 1360&lt;/li&gt;
+
+&lt;li&gt;Bokens &lt;a href=&quot;https://madewith.cc/&quot;&gt;engelske nettside&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;Den &lt;a href=&quot;http://www.hungry.com/~pere/publisher/&quot;&gt;norske utgavens nettside&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;&lt;a href=&quot;https://www.lulu.com/en/us/shop/sarah-hinchliff-pearson-and-paul-stacey-and-bryan-mathers-and-ryan-merkley/gjort-med-creative-commons/paperback/product-m5jy75.html&quot;&gt;Papirutgaven fra Lulu&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;&lt;a href=&quot;https://www.lulu.com/en/us/shop/sarah-hinchliff-pearson-and-paul-stacey-and-bryan-mathers-and-ryan-merkley/gjort-med-creative-commons/ebook/product-zw2r4k.html&quot;&gt;Epub-utgaven fra lulu&lt;/a&gt;&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;/blockquote&gt;
+
+&lt;p&gt;Nå håper jeg bare den får mange lesere, og finner veien under mange
+juletrær.&lt;/p&gt;
+
+&lt;p&gt;Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til
+det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner
+til min adresse
+&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.
+Merk, betaling med bitcoin er ikke anonymt. :)&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>Buster based Bokmål edition of Debian Administrator&#39;s Handbook</title>
+               <link>http://people.skolelinux.org/pere/blog/Buster_based_Bokm_l_edition_of_Debian_Administrator_s_Handbook.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Buster_based_Bokm_l_edition_of_Debian_Administrator_s_Handbook.html</guid>
+                <pubDate>Tue, 20 Oct 2020 18:35:00 +0200</pubDate>
+               <description>&lt;p align=&quot;center&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2020-10-20-debian-handbook-nb-testprint.jpeg&quot; width=&quot;60%&quot;/&gt;&lt;/p&gt;
+
+&lt;p&gt;I am happy to report that we finally made it!  Norwegian Bokmål
+became the first translation published on paper of the new Buster
+based edition of &quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian
+Administrator&#39;s Handbook&lt;/a&gt;&quot;.  The print proof reading copy arrived
+some days ago, and it looked good, so now the book is approved for
+general distribution.  This updated paperback edition &lt;a
+href=&quot;https://debian-handbook.info/get/#norwegian&quot;&gt;is available from
+lulu.com&lt;/a&gt;.  The book is also available for download in electronic
+form as PDF, EPUB and Mobipocket, and can also be
+&lt;a href=&quot;https://debian-handbook.info/browse/nb-NO/stable/&quot;&gt;read online&lt;/a&gt;.&lt;/p&gt;
+
+&lt;p&gt;I am very happy to wrap up this Creative Common licensed project,
+which concludes several months of work by several volunteers. The
+number of Linux related books published in Norwegian are few, and I
+really hope this one will gain many readers, as it is packed with deep
+knowledge on Linux and the Debian ecosystem.  The book will be
+available for various Internet book stores like Amazon and Barnes &amp;
+Noble soon, but I recommend buying
+&quot;&lt;a href=&quot;https://www.lulu.com/en/us/shop/roland-mas-and-rapha%C3%ABl-hertzog/h%C3%A5ndbok-for-debian-administratoren/paperback/product-9j7qwq.html&quot;&gt;Håndbok
+for Debian-administratoren&lt;/a&gt;&quot; directly from the source at Lulu.
 
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
@@ -549,25 +663,26 @@ activities, please send Bitcoin donations to my address
        </item>
        
        <item>
-               <title>The worlds only stone power plant?</title>
-               <link>http://people.skolelinux.org/pere/blog/The_worlds_only_stone_power_plant_.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_worlds_only_stone_power_plant_.html</guid>
-                <pubDate>Sat, 30 Jun 2018 10:35:00 +0200</pubDate>
-               <description>&lt;p&gt;So far, at least hydro-electric power, coal power, wind power,
-solar power, and wood power are well known.  Until a few days ago, I
-had never heard of stone power.  Then I learn about a quarry in a
-mountain in
-&lt;a href=&quot;https://en.wikipedia.org/wiki/Bremanger&quot;&gt;Bremanger&lt;/a&gt; i
-Norway, where
-&lt;a href=&quot;https://www.bontrup.com/en/activities/raw-materials/bremanger-quarry/&quot;&gt;the
-Bremanger Quarry&lt;/a&gt; company is extracting stone and dumping the stone
-into a shaft leading to its shipping harbour.  This downward movement
-in this shaft is used to produce electricity.  In short, it is using
-falling rocks instead of falling water to produce electricity, and
-according to its own statements it is producing more power than it is
-using, and selling the surplus electricity to the Norwegian power
-grid.  I find the concept truly amazing.  Is this the worlds only
-stone power plant?&lt;/p&gt;
+               <title>Buster update of Norwegian Bokmål edition of Debian Administrator&#39;s Handbook almost done</title>
+               <link>http://people.skolelinux.org/pere/blog/Buster_update_of_Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook_almost_done.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Buster_update_of_Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook_almost_done.html</guid>
+                <pubDate>Fri, 11 Sep 2020 09:45:00 +0200</pubDate>
+               <description>&lt;p&gt;Thanks to the good work of several volunteers, the updated edition
+of the Norwegian translation for
+&quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian Administrator&#39;s
+Handbook&lt;/a&gt;&quot; is now almost completed.  After many months of proof
+reading, I consider the proof reading complete enough for us to move
+to the next step, and have asked for the print version to be prepared
+and sent of to the print on demand service lulu.com.  While it is
+still not to late if you find any incorrect translations on
+&lt;a href=&quot;https://hosted.weblate.org/languages/nb_NO/debian-handbook/&quot;&gt;the
+hosted Weblate service&lt;/a&gt;, but it will be soon. :) You can check out
+&lt;a href=&quot; https://debian-handbook.info/browse/nb-NO/stable/&quot;&gt;the Buster
+edition on the web&lt;/a&gt; until the print edition is ready.&lt;/p&gt;
+
+&lt;p&gt;The book will be for sale on lulu.com and various web book stores,
+with links available from the web site for the book linked to above.
+I hope a lot of readers find it useful.&lt;/p&gt;
 
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
@@ -576,59 +691,26 @@ activities, please send Bitcoin donations to my address
        </item>
        
        <item>
-               <title>Add-on to control the projector from within Kodi</title>
-               <link>http://people.skolelinux.org/pere/blog/Add_on_to_control_the_projector_from_within_Kodi.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Add_on_to_control_the_projector_from_within_Kodi.html</guid>
-                <pubDate>Tue, 26 Jun 2018 23:55:00 +0200</pubDate>
-               <description>&lt;p&gt;My movie playing setup involve &lt;a href=&quot;https://kodi.tv/&quot;&gt;Kodi&lt;/a&gt;,
-&lt;a href=&quot;https://openelec.tv&quot;&gt;OpenELEC&lt;/a&gt; (probably soon to be
-replaced with &lt;a href=&quot;https://libreelec.tv/&quot;&gt;LibreELEC&lt;/a&gt;) and an
-Infocus IN76 video projector.  My projector can be controlled via both
-a infrared remote controller, and a RS-232 serial line.  The vendor of
-my projector, &lt;a href=&quot;https://www.infocus.com/&quot;&gt;InFocus&lt;/a&gt;, had been
-sensible enough to document the serial protocol in its user manual, so
-it is easily available, and I used it some years ago to write
-&lt;a href=&quot;https://github.com/petterreinholdtsen/infocus-projector-control&quot;&gt;a
-small script to control the projector&lt;/a&gt;.  For a while now, I longed
-for a setup where the projector was controlled by Kodi, for example in
-such a way that when the screen saver went on, the projector was
-turned off, and when the screen saver exited, the projector was turned
-on again.&lt;/p&gt;
-
-&lt;p&gt;A few days ago, with very good help from parts of my family, I
-managed to find a Kodi Add-on for controlling a Epson projector, and
-got in touch with its author to see if we could join forces and make a
-Add-on with support for several projectors.  To my pleasure, he was
-positive to the idea, and we set out to add InFocus support to his
-add-on, and make the add-on suitable for the official Kodi add-on
-repository.&lt;/p&gt;
-
-&lt;p&gt;The Add-on is now working (for me, at least), with a few minor
-adjustments.  The most important change I do relative to the master
-branch in the github repository is embedding the
-&lt;a href=&quot;https://github.com/pyserial/pyserial&quot;&gt;pyserial module&lt;/a&gt; in
-the add-on.  The long term solution is to make a &quot;script&quot; type
-pyserial module for Kodi, that can be pulled in as a dependency in
-Kodi.  But until that in place, I embed it.&lt;/p&gt;
-
-&lt;p&gt;The add-on can be configured to turn on the projector when Kodi
-starts, off when Kodi stops as well as turn the projector off when the
-screensaver start and on when the screesaver stops.  It can also be
-told to set the projector source when turning on the projector.
-
-&lt;p&gt;If this sound interesting to you, check out
-&lt;a href=&quot;https://github.com/fredrik-eriksson/kodi_projcontrol&quot;&gt;the
-project github repository&lt;/a&gt;.  Perhaps you can send patches to
-support your projector too?  As soon as we find time to wrap up the
-latest changes, it should be available for easy installation using any
-Kodi instance.&lt;/p&gt;
-
-&lt;p&gt;For future improvements, I would like to add projector model
-detection and the ability to adjust the brightness level of the
-projector from within Kodi.  We also need to figure out how to handle
-the cooling period of the projector.  My projector refuses to turn on
-for 60 seconds after it was turned off.  This is not handled well by
-the add-on at the moment.&lt;/p&gt;
+               <title>Working on updated Norwegian Bokmål edition of Debian Administrator&#39;s Handbook</title>
+               <link>http://people.skolelinux.org/pere/blog/Working_on_updated_Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Working_on_updated_Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook.html</guid>
+                <pubDate>Sat, 4 Jul 2020 23:55:00 +0200</pubDate>
+               <description>&lt;p&gt;Three years ago, the first Norwegian Bokmål edition of
+&quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian Administrator&#39;s
+Handbook&lt;/a&gt;&quot; was published.  This was based on Debian Jessie.  Now a
+new and updated version based on Buster is getting ready.  Work on the
+updated Norwegian Bokmål edition has been going on for a few months
+now, and yesterday, we reached the first mile stone, with 100% of the
+texts being translated.  A lot of proof reading remains, of course,
+but a major step towards a new edition has been taken.&lt;/p&gt;
+
+&lt;p&gt;The book is translated by volunteers, and we would love to get some
+help with the proof reading.  The translation uses
+&lt;a href=&quot;https://hosted.weblate.org/languages/nb_NO/debian-handbook/&quot;&gt;the
+hosted Weblate service&lt;/a&gt;, and we welcome everyone to have a look and
+submit improvements and suggestions.  There is also a proof readers
+PDF available on request, get in touch if you want to help out that
+way.&lt;/p&gt;
 
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
@@ -637,90 +719,70 @@ activities, please send Bitcoin donations to my address
        </item>
        
        <item>
-               <title>youtube-dl for nedlasting fra NRK med undertekster - nice free software</title>
-               <link>http://people.skolelinux.org/pere/blog/youtube_dl_for_nedlasting_fra_NRK_med_undertekster___nice_free_software.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/youtube_dl_for_nedlasting_fra_NRK_med_undertekster___nice_free_software.html</guid>
-                <pubDate>Sat, 28 Apr 2018 10:30:00 +0200</pubDate>
-               <description>&lt;p&gt;I &lt;a href=&quot;https://no.wikipedia.org/wiki/VHS&quot;&gt;VHS-kassettenes&lt;/a&gt;
-tid var det rett frem å ta vare på et TV-program en ønsket å kunne se
-senere, uten å være avhengig av at programmet ble sendt på nytt.
-Kanskje ønsket en å se programmet på hytten der det ikke var
-TV-signal, eller av andre grunner ha det tilgjengelig for fremtidig
-fornøyelse.  Dette er blitt vanskeligere med introduksjon av
-digital-TV og webstreaming, der opptak til harddisk er utenfor de
-flestes kontroll hvis de bruker ufri programvare og bokser kontrollert
-av andre.  Men for NRK her i Norge, finnes det heldigvis flere fri
-programvare-alternativer, som jeg har
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK.html&quot;&gt;skrevet&lt;/a&gt;
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK_med_den__nye__l_sningen.html&quot;&gt;om&lt;/a&gt;
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Nedlasting_fra_NRK__som_Matroska_med_undertekster.html&quot;&gt;før&lt;/a&gt;.
-Så lenge kilden for nedlastingen er lovlig lagt ut på nett (hvilket
-jeg antar NRK gjør), så er slik lagring til privat bruk også lovlig i
-Norge.&lt;/p&gt;
-
-&lt;p&gt;Sist jeg så på saken, i 2016, nevnte jeg at
-&lt;a href=&quot;https://rg3.github.com/youtube-dl/&quot;&gt;youtube-dl&lt;/a&gt; ikke kunne
-bake undertekster fra NRK inn i videofilene, og at jeg derfor
-foretrakk andre alternativer.  Nylig oppdaget jeg at dette har endret
-seg.  Fordelen med youtube-dl er at den er tilgjengelig direkte fra
-Linux-distribusjoner som &lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt;
-og &lt;a href=&quot;https://www.ubuntu.com/&quot;&gt;Ubuntu&lt;/a&gt;, slik at en slipper å
-finne ut selv hvordan en skal få dem til å virke.&lt;/p&gt;
-
-&lt;p&gt;For å laste ned et NRK-innslag med undertekster, og få den norske
-underteksten pakket inn i videofilen, så kan følgende kommando
-brukes:&lt;/p&gt;
+               <title>Secure Socket API - a simple and powerful approach for TLS support in software</title>
+               <link>http://people.skolelinux.org/pere/blog/Secure_Socket_API___a_simple_and_powerful_approach_for_TLS_support_in_software.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Secure_Socket_API___a_simple_and_powerful_approach_for_TLS_support_in_software.html</guid>
+                <pubDate>Sat, 6 Jun 2020 12:40:00 +0200</pubDate>
+               <description>&lt;p&gt;As a member of the &lt;a href=&quot;https://www.nuug.no/&quot;&gt;Norwegian Unix
+User Group&lt;/a&gt;, I have the pleasure of receiving the
+&lt;a href=&quot;https://www.usenix.org/&quot;&gt;USENIX&lt;/a&gt; magazine
+&lt;a href=&quot;https://www.usenix.org/publications/login/&quot;&gt;;login:&lt;/a&gt;
+several times a year.  I rarely have time to read all the articles,
+but try to at least skim through them all as there is a lot of nice
+knowledge passed on there.  I even carry the latest issue with me most
+of the time to try to get through all the articles when I have a few
+spare minutes.&lt;/p&gt;
+
+&lt;p&gt;The other day I came across a nice article titled
+&quot;&lt;a href=&quot;https://www.usenix.org/publications/login/winter2018/oneill&quot;&gt;The
+Secure Socket API: TLS as an Operating System Service&lt;/a&gt;&quot; with a
+marvellous idea I hope can make it all the way into the POSIX standard.
+The idea is as simple as it is powerful.  By introducing a new
+socket() option IPPROTO_TLS to use TLS, and a system wide service to
+handle setting up TLS connections, one both make it trivial to add TLS
+support to any program currently using the POSIX socket API, and gain
+system wide control over certificates, TLS versions and encryption
+systems used.  Instead of doing this:&lt;/p&gt;
 
-&lt;p&gt;&lt;pre&gt;
-youtube-dl --write-sub --sub-format ttml \
-  --convert-subtitles srt --embed-subs \
-  https://tv.nrk.no/serie/ramm-ferdig-gaa/MUHU11000316/27-04-2018
-&lt;/pre&gt;&lt;/p&gt;
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+int socket = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
 
-&lt;p&gt;URL-eksemplet er dagens toppsak på tv.nrk.no.  Resultatet er en
-MP4-fil med filmen og undertekster som kan spilles av med VLC.  Merk
-at VLC ikke viser frem undertekster før du aktiverer dem.  For å gjøre
-det, høyreklikk med musa i fremviservinduet, velg menyvalget for
-undertekst og så norsk språk.  Jeg testet også &#39;--write-auto-sub&#39;,
-men det kommandolinjeargumentet ser ikke ut til å fungere, så jeg
-endte opp med settet med argumentlisten over, som jeg fant i en
-feilrapport i youtube-dl-prosjektets samling over feilrapporter.&lt;/p&gt;
-
-&lt;p&gt;Denne støtten i youtube-dl gjør det svært enkelt å lagre
-NRK-innslag, det være seg nyheter, filmer, serier eller dokumentater,
-for å ha dem tilgjengelig for fremtidig referanse og bruk, uavhengig
-av hvor lenge innslagene ligger tilgjengelig hos NRK.  Så får det ikke
-hjelpe at NRKs jurister mener at det er
-&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Best___ikke_fortelle_noen_at_streaming_er_nedlasting___.html&quot;&gt;vesensforskjellig
-å legge tilgjengelig for nedlasting og for streaming&lt;/a&gt;, når det rent
-teknisk er samme sak.&lt;/p&gt;
-
-&lt;p&gt;Programmet youtube-dl støtter også en rekke andre nettsteder, se
-prosjektoversikten for
-&lt;a href=&quot;http://rg3.github.io/youtube-dl/supportedsites.html&quot;&gt;en
-komplett liste&lt;/a&gt;.&lt;/p&gt;
-</description>
-       </item>
-       
-       <item>
-               <title>Stortingsflertallet går inn for ny IP-basert sensurinfrastruktur i Norge</title>
-               <link>http://people.skolelinux.org/pere/blog/Stortingsflertallet_g_r_inn_for_ny_IP_basert_sensurinfrastruktur_i_Norge.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Stortingsflertallet_g_r_inn_for_ny_IP_basert_sensurinfrastruktur_i_Norge.html</guid>
-                <pubDate>Tue, 24 Apr 2018 15:00:00 +0200</pubDate>
-               <description>&lt;p&gt;&lt;a href=&quot;https://www.vg.no/sport/i/J1g8zj/stortingsvedtak-snart-ip-blokkerer-utenlandske-spillselskaper&quot;&gt;VG&lt;/a&gt;,
-&lt;a href=&quot;https://www.dagbladet.no/nyheter/stortinget-blokkerer-utenlandske-spillselskaper/69740219&quot;&gt;Dagbladet&lt;/a&gt;
-og
-&lt;a href=&quot;https://www.nrk.no/ostfold/tar-opp-kampen-mot-utenlandske-spillselskap-1.14021381&quot;&gt;NRK&lt;/a&gt;
-melder i dag at flertallet i Familie- og kulturkomiteen på Stortinget
-har bestemt seg for å introdusere en ny sensurinfrastruktur i Norge.
-Fra før har Norge en «frivillig» sensurinfrastruktur basert på
-DNS-navn, der de største ISP-ene basert på en liste med DNS-navn
-forgifter DNS-svar og omdirigerer til et annet IP-nummer enn det som
-ligger i DNS.  Nå kommer altså IP-basert omdirigering i tillegg.  Når
-infrastrukturen er på plass, er sensur av IP-adresser redusert et
-spørsmål om hvilke IP-nummer som skal blokkeres.  Listen over
-IP-adresser vil naturligvis endre seg etter hvert som myndighetene
-endrer seg.  Det er ingen betryggende tanke.&lt;/p&gt;
+&lt;p&gt;the program code would be doing this:&lt;p&gt;
+
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+int socket = socket(PF_INET, SOCK_STREAM, IPPROTO_TLS);
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
+
+&lt;p&gt;According to the ;login: article, converting a C program to use TLS
+would normally modify only 5-10 lines in the code, which is amazing
+when compared to using for example the OpenSSL API.&lt;/p&gt;
+
+&lt;p&gt;The project has set up the
+&lt;a href=&quot;https://securesocketapi.org/&quot;&gt;https://securesocketapi.org/&lt;/a&gt;
+web site to spread the idea, and the code for a kernel module and the
+associated system daemon is available from two github repositories:
+&lt;a href=&quot;https://github.com/markoneill/ssa&quot;&gt;ssa&lt;/a&gt; and
+&lt;a href=&quot;https://github.com/markoneill/ssa-daemon&quot;&gt;ssa-daemon&lt;/a&gt;.
+Unfortunately there is no explicit license information with the code,
+so its copyright status is unclear.  A
+&lt;a href=&quot;https://github.com/markoneill/ssa/issues/2&quot;&gt;request to solve
+this&lt;/a&gt; about it has been unsolved since 2018-08-17.&lt;/p&gt;
+
+&lt;p&gt;I love the idea of extending socket() to gain TLS support, and
+understand why it is an advantage to implement this as a kernel module
+and system wide service daemon, but can not help to think that it
+would be a lot easier to get projects to move to this way of setting
+up TLS if it was done with a user space approach where programs
+wanting to use this API approach could just link with a wrapper
+library.&lt;/p&gt;
+
+&lt;p&gt;I recommend you check out this simple and powerful approach to more
+secure network connections. :)&lt;/p&gt;
+
+&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
 </description>
        </item>