]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Avledet HTML-utgave av adoc-artikkel.
[homepage.git] / blog / index.rss
index dc3b8ed575e63e208aa19ff553383e995744478e..64c53fe0c44ed0d1446eb73e475bd62c858350a3 100644 (file)
@@ -6,6 +6,290 @@
                 <link>https://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="https://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
                 <link>https://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="https://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>«Virkninger av angrefristloven», hovedfagsoppgaven som fikk endret en lov</title>
+               <link>https://people.skolelinux.org/pere/blog/_Virkninger_av_angrefristloven___hovedfagsoppgaven_som_fikk_endret_en_lov.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/_Virkninger_av_angrefristloven___hovedfagsoppgaven_som_fikk_endret_en_lov.html</guid>
+                <pubDate>Sun, 29 Oct 2023 22:00:00 +0100</pubDate>
+               <description>&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2023-10-29-bok-angrefrist.svg&quot; width=&quot;20%&quot; align=&quot;center&quot;&gt;&lt;/a&gt;
+
+&lt;p&gt;I 1979 leverte Ole-Erik Yrvin en hovedfagsoppgave for Cand. Scient.
+  ved Institutt for sosiologi på Universitetet i Oslo på oppdrag fra
+  Forbruker- og administrasjonsdepartementet. Oppgaven evaluerte
+  Angrefristloven fra 1972, og det han oppdaget førte til at loven ble
+  endret fire år senere.&lt;/p&gt;
+
+&lt;p&gt;Jeg har kjent Ole-Erik en stund, og synes det var trist at hans
+  oppgave ikke lenger er tilgjengelig, hverken fra oppdragsgiver
+  eller fra universitetet.  Hans forsøk på å få den avbildet og lagt
+  ut på Internett har vist seg fånyttes, så derfor tilbød jeg meg for
+  en stund tilbake å publisere den og gjøre den tilgjengelig med
+  fribruksvilkår på Internett.  Det er nå klart, og hovedfagsoppgaven
+  er tilgjengelig blant annet via &lt;a
+  href=&quot;http://www.hungry.com/~pere/publisher/&quot;&gt;min liste over
+  publiserte bøker&lt;/a&gt;, både som nettside,
+  &lt;a href=&quot;https://www.lulu.com/search?contributor=Ole-Erik+Yrvin&quot;&gt;digital
+  bok i ePub-format og på papir fra lulu.com&lt;/a&gt;.  Jeg regner med at
+  den også vil dukke opp på nettbokhandlere i løpet av en måned eller
+  to.&lt;/p&gt;
+
+&lt;p&gt;Alle tabeller og figurer er gjenskapt for bedre lesbarhet, noen
+  skrivefeil rettet opp og mange referanser har fått flere detaljer
+  som ISBN-nummer og DOI-referanse.  Selv om jeg ikke regner med at
+  dette blir en kioskvelter, så håper jeg denne nye utgaven kan komme
+  fremtiden til glede.&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>«underordnet tjenestemann blir inhabil fordi en overordnet er inhabil».</title>
+               <link>https://people.skolelinux.org/pere/blog/_underordnet_tjenestemann_blir_inhabil_fordi_en_overordnet_er_inhabil__.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/_underordnet_tjenestemann_blir_inhabil_fordi_en_overordnet_er_inhabil__.html</guid>
+                <pubDate>Thu, 7 Sep 2023 09:10:00 +0200</pubDate>
+               <description>&lt;p&gt;Medlemmene av Norges regjering har demonstert de siste månedene at
+habilitetsvureringer ikke er deres sterke side og det gjelder både
+Arbeiderpartiets og Senterpartiers representater. Det er heldigvis
+enklere i det private, da inhabilitetsreglene kun gjelder de som
+jobber for folket, ikke seg selv.  Sist ut er utenriksminister
+Huitfeldt.  I går kom nyheten om at
+&lt;a href=&quot;https://www.nrk.no/nyheter/riksadvokaten_-okokrim-nestsjef-kan-behandle-huitfeldt-saken-1.16545162&quot;&gt;Riksadvokaten
+har konkludert med at nestsjefen i Økokrim kan behandle sak om
+habilitet og innsidekunnskap&lt;/a&gt; for Huitfeldt, på tross av at hans
+overordnede, sjefen for Økokrim, har meldt seg inhabil i saken.  Dette
+er litt rart.  I veilednigen
+«&lt;a href=&quot;https://www.regjeringen.no/globalassets/upload/krd/vedlegg/komm/veiledere/habilitet_i_kommuner_og_fylkeskommuner.pdf&quot;&gt;Habilitet
+i kommuner og fylkeskommuner&lt;/a&gt;» av Kommunal- og regionaldepartementet
+forteller de hva som gjelder, riktig nok gjelder veiledningen ikke for
+Økokrim som jo ikke er kommune eller fylkeskommune, men jeg får ikke
+inntrykk av at dette er regler som kun gjelder for kommune og
+fylkeskommune:
+
+&lt;blockquote&gt;
+&lt;p&gt;«&lt;strong&gt;2.1 Oversikt over inhabilitetsgrunnlagene&lt;/strong&gt;
+
+&lt;p&gt;De alminnelige reglene om inhabilitet for den offentlige
+forvaltningen er gitt i
+&lt;a href=&quot;https://lovdata.no/dokument/NL/lov/1967-02-10/KAPITTEL_2#KAPITTEL_2&quot;&gt;forvaltningsloven
+§§ 6 til 10&lt;/a&gt;. Forvaltningslovens hovedregel om inhabilitet framgår
+av § 6. Her er det gitt tre ulike grunnlag som kan føre til at en
+tjenestemann eller folkevalgt blir inhabil. I § 6 første ledd
+bokstavene a til e er det oppstilt konkrete tilknytningsforhold mellom
+tjenestemannen og saken eller sakens parter som automatisk fører til
+inhabilitet. Annet ledd oppstiller en skjønnsmessig regel om at
+tjenestemannen også kan bli inhabil etter en konkret vurdering av
+inhabilitetsspørsmålet, der en lang rekke momenter kan være
+relevante. I tredje ledd er det regler om såkalt avledet
+inhabilitet. Det vil si at en underordnet tjenestemann blir inhabil
+fordi en overordnet er inhabil.»&lt;/p&gt;
+&lt;/blockquote&gt;
+
+&lt;p&gt;Loven sier ganske enkelt «Er den overordnede tjenestemann ugild,
+kan avgjørelse i saken heller ikke treffes av en direkte underordnet
+tjenestemann i samme forvaltningsorgan.»  Jeg antar tanken er at en
+underordnet vil stå i fare for å tilpasse sine konklusjoner til det
+overordnet vil ha fordel av, for å fortsatt ha et godt forhold til sin
+overordnede.  Men jeg er ikke jurist og forstår nok ikke kompliserte
+juridiske vurderinger.  For å sitere «Kamerat Napoleon» av George
+Orwell: «Alle dyr er like, men noen dyr er likere enn andre».
+</description>
+       </item>
+       
+       <item>
+               <title>Invidious add-on for Kodi 20</title>
+               <link>https://people.skolelinux.org/pere/blog/Invidious_add_on_for_Kodi_20.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Invidious_add_on_for_Kodi_20.html</guid>
+                <pubDate>Thu, 10 Aug 2023 19:50:00 +0200</pubDate>
+               <description>&lt;p&gt;I still enjoy &lt;a href=&quot;https://kodi.tv/&quot;&gt;Kodi&lt;/a&gt; and
+&lt;a href=&quot;https://libreelec.tv/&quot;&gt;LibreELEC&lt;/a&gt; as my multimedia center
+at home.  Sadly two of the services I really would like to use from
+within Kodi are not easily available.  The most wanted add-on would be
+one making &lt;a href=&quot;https://archive.org/&quot;&gt;The Internet Archive&lt;/a&gt;
+available, and it has
+&lt;a href=&quot;https://kodi.wiki/view/Add-on:Internet_Archive&quot;&gt;not been
+working&lt;/a&gt; for many years.  The second most wanted add-on is one
+using &lt;a href=&quot;https://invidious.io/&quot;&gt;the Invidious privacy enhanced
+Youtube frontent&lt;/a&gt;.  A plugin for this has been partly working, but
+not been kept up to date in the Kodi add-on repository, and its
+upstream seem to have given it up in April this year, when the git
+repository was closed.  A few days ago I got tired of this sad state
+of affairs and decided to
+&lt;a href=&quot;https://github.com/petterreinholdtsen/kodi-invidious-plugin&quot;&gt;have
+a go at improving the Invidious add-on&lt;/a&gt;.  As
+&lt;a href=&quot;https://github.com/iv-org/invidious/issues/3872&quot;&gt;Google has
+already attacked&lt;/a&gt; the Invidious concept, so it need all the support
+if can get.  My small contribution here is to improve the service
+status on Kodi.&lt;/p&gt;
+
+&lt;p&gt;I added support to the Invidious add-on for automatically picking a
+working Invidious instance, instead of requiring the user to specify
+the URL to a specific instance after installation.  I also had a look
+at the set of patches floating around in the various forks on github,
+and decided to clean up at least some of the features I liked and
+integrate them into my new release branch.  Now the plugin can handle
+channel and short video items in search results.  Earlier it could
+only handle single video instances in the search response.  I also
+brushed up the set of metadata displayed a bit, but hope I can figure
+out how to get more relevant metadata displayed.&lt;/p&gt;
+
+&lt;p&gt;Because I only use Kodi 20 myself, I only test on version 20 and am
+only motivated to ensure version 20 is working.  Because of API changes
+between version 19 and 20, I suspect it will fail with earlier Kodi
+versions.&lt;/p&gt;
+
+&lt;p&gt;I already
+&lt;a href=&quot;https://github.com/xbmc/repo-plugins/pull/4363&quot;&gt;asked to have
+the add-on added&lt;/a&gt; to the official Kodi 20 repository, and is
+waiting to heard back from the repo maintainers.&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>
+       
+       <item>
+               <title>What did I learn from OpenSnitch this summer?</title>
+               <link>https://people.skolelinux.org/pere/blog/What_did_I_learn_from_OpenSnitch_this_summer_.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/What_did_I_learn_from_OpenSnitch_this_summer_.html</guid>
+                <pubDate>Sun, 11 Jun 2023 08:30:00 +0200</pubDate>
+               <description>&lt;p&gt;With yesterdays
+&lt;a href=&quot;https://www.debian.org/News/2023/20230610&quot;&gt;release of Debian
+12 Bookworm&lt;/a&gt;, I am happy to know the
+&lt;a href=&quot;https://tracker.debian.org/pkg/opensnitch&quot;&gt;the interactive
+application firewall OpenSnitch&lt;/a&gt; is available for a wider audience.
+I have been running it for a few weeks now, and have been surprised
+about some of the programs connecting to the Internet.  Some programs
+are obviously calling out from my machine, like the NTP network based
+clock adjusting system and Tor to reach other Tor clients, but others
+were more dubious.  For example, the KDE Window manager try to look up
+the host name in DNS, for no apparent reason, but if this lookup is
+blocked the KDE desktop get periodically stuck when I use it.  Another
+surprise was how much Firefox call home directly to mozilla.com,
+mozilla.net and googleapis.com, to mention a few, when I visit other
+web pages.  This direct connection happen even if I told Firefox to
+always use a proxy, and the proxy setting is ignored for this traffic.
+Other surprising connections come from audacity and dirmngr (I do not
+use Gnome).  It took some trial and error to get a good default set of
+permissions.  Without it, I would get popups asking for permissions at
+any time, also the most inconvenient ones where I am in the middle of
+a time sensitive gaming session.&lt;/p&gt;
+
+&lt;p&gt;I suspect some application developers should rethink when then need
+to use network connections or DNS lookups, and recommend testing
+OpenSnitch (only &lt;tt&gt;apt install opensnitch&lt;/tt&gt; away in Debian
+Bookworm) to locate and report any surprising Internet connections on
+your desktop machine.&lt;/p&gt;
+
+&lt;p&gt;At the moment the upstream developer and Debian package maintainer
+is working on making the system more reliable in Debian, by enabling
+the eBPF kernel module to track processes and connections instead of
+depending in content in /proc/.  This should enter unstable fairly
+soon.&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;
+
+&lt;p&gt;&lt;strong&gt;Update 2023-06-12&lt;/strong&gt;: I got a tip about
+&lt;a href=&quot;https://wiki.debian.org/PrivacyIssues&quot;&gt;a list of privacy
+issues in Free Software&lt;/a&gt; and the
+&lt;a href=&quot;irc://irc.debian.org/%23debian-privacy&quot;&gt;#debian-privacy IRC
+channel&lt;/a&gt; discussing these topics.&lt;/p&gt;
+
+</description>
+       </item>
+       
+       <item>
+               <title>wmbusmeters, parse data from your utility meter - nice free software</title>
+               <link>https://people.skolelinux.org/pere/blog/wmbusmeters__parse_data_from_your_utility_meter___nice_free_software.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/wmbusmeters__parse_data_from_your_utility_meter___nice_free_software.html</guid>
+                <pubDate>Fri, 19 May 2023 21:50:00 +0200</pubDate>
+               <description>&lt;p&gt;There is a European standard for reading utility meters like water,
+gas, electricity or heat distribution meters.  The
+&lt;a href=&quot;https://en.wikipedia.org/wiki/Meter-Bus&quot;&gt;Meter-Bus standard
+(EN 13757-2, EN 13757-3 and EN 13757–4)&lt;/a&gt; provide a cross vendor way
+to talk to and collect meter data.  I ran into this standard when I
+wanted to monitor some heat distribution meters, and managed to find
+free software that could do the job.  The meters in question broadcast
+encrypted messages with meter information via radio, and the hardest
+part was to track down the encryption keys from the vendor.  With this
+in place I could set up a MQTT gateway to submit the meter data for
+graphing.&lt;/p&gt;
+
+&lt;p&gt;The free software systems in question,
+&lt;a href=&quot;https://tracker.debian.org/pkg/rtl-wmbus&quot;&gt;rtl-wmbus&lt;/a&gt; to
+read the messages from a software defined radio, and
+&lt;a href=&quot;https://tracker.debian.org/pkg/wmbusmeters&quot;&gt;wmbusmeters&lt;/a&gt; to
+decrypt and decode the content of the messages, is working very well
+and allowe me to get frequent updates from my meters.  I got in touch
+with upstream last year to see if there was any interest in publishing
+the packages via Debian.  I was very happy to learn that Fredrik
+Öhrström volunteered to maintain the packages, and I have since
+assisted him in getting Debian package build rules in place as well as
+sponsoring the packages into the Debian archive.  Sadly we completed
+it too late for them to become part of the next stable Debian release
+(Bookworm).  The wmbusmeters package just cleared the NEW queue.  It
+will need some work to fix a built problem, but I expect Fredrik will
+find a solution soon.&lt;/p&gt;
+
+&lt;p&gt;If you got a infrastructure meter supporting the Meter Bus
+standard, I strongly recommend having a look at these nice
+packages.&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>
+       
+       <item>
+               <title>The 2023 LinuxCNC Norwegian developer gathering</title>
+               <link>https://people.skolelinux.org/pere/blog/The_2023_LinuxCNC_Norwegian_developer_gathering.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/The_2023_LinuxCNC_Norwegian_developer_gathering.html</guid>
+                <pubDate>Sun, 14 May 2023 20:30:00 +0200</pubDate>
+               <description>&lt;p&gt;The LinuxCNC project is making headway these days.  A lot of
+patches and issues have seen activity on
+&lt;a href=&quot;https://github.com/LinuxCNC/linuxcnc/&quot;&gt;the project github
+pages&lt;/a&gt; recently.  A few weeks ago there was a developer gathering
+over at the &lt;a href=&quot;https://tormach.com/&quot;&gt;Tormach&lt;/a&gt; headquarter in
+Wisconsin, and now we are planning a new gathering in Norway.  If you
+wonder what LinuxCNC is, lets quote Wikipedia:&lt;/p&gt;
+
+&lt;blockquote&gt;
+&quot;LinuxCNC is a software system for numerical control of
+machines such as milling machines, lathes, plasma cutters, routers,
+cutting machines, robots and hexapods. It can control up to 9 axes or
+joints of a CNC machine using G-code (RS-274NGC) as input. It has
+several GUIs suited to specific kinds of usage (touch screen,
+interactive development).&quot;
+&lt;/blockquote&gt;
+
+&lt;p&gt;The Norwegian developer gathering take place the weekend June 16th
+to 18th this year, and is open for everyone interested in contributing
+to LinuxCNC.  Up to date information about the gathering can be found
+in
+&lt;a href=&quot;https://sourceforge.net/p/emc/mailman/emc-developers/thread/sa64jp06nob.fsf%40hjemme.reinholdtsen.name/#msg37837251&quot;&gt;the
+developer mailing list thread&lt;/a&gt; where the gathering was announced.
+Thanks to the good people at
+&lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt;,
+&lt;a href=&quot;https://www.redpill-linpro.com/&quot;&gt;Redpill-Linpro&lt;/a&gt; and
+&lt;a href=&quot;https://www.nuugfoundation.no/no/&quot;&gt;NUUG Foundation&lt;/a&gt;, we
+have enough sponsor funds to pay for food, and shelter for the people
+traveling from afar to join us.  If you would like to join the
+gathering, get in touch.&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>
+       
        <item>
                <title>OpenSnitch in Debian ready for prime time</title>
                <link>https://people.skolelinux.org/pere/blog/OpenSnitch_in_Debian_ready_for_prime_time.html</link>
        <item>
                <title>OpenSnitch in Debian ready for prime time</title>
                <link>https://people.skolelinux.org/pere/blog/OpenSnitch_in_Debian_ready_for_prime_time.html</link>
@@ -296,344 +580,6 @@ package.  It would be great if someone could provide some clues how to
 build eBPF modules on build daemons in Debian, possibly without the full
 kernel source.&lt;/p&gt;
  
 build eBPF modules on build daemons in Debian, possibly without the full
 kernel source.&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>
-       
-       <item>
-               <title>Is the desktop recommending your program for opening its files?</title>
-               <link>https://people.skolelinux.org/pere/blog/Is_the_desktop_recommending_your_program_for_opening_its_files_.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Is_the_desktop_recommending_your_program_for_opening_its_files_.html</guid>
-                <pubDate>Sun, 29 Jan 2023 11:00:00 +0100</pubDate>
-               <description>&lt;p&gt;Linux desktop systems
-&lt;a href=&quot;https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html&quot;&gt;have
-standardized&lt;/a&gt; how programs present themselves to the desktop
-system.  If a package include a .desktop file in
-/usr/share/applications/, Gnome, KDE, LXDE, Xfce and the other desktop
-environments will pick up the file and use its content to generate the
-menu of available programs in the system.  A lesser known fact is that
-a package can also explain to the desktop system how to recognize the
-files created by the program in question, and use it to open these
-files on request, for example via a GUI file browser.&lt;/p&gt;
-
-&lt;p&gt;A while back I ran into a package that did not tell the desktop
-system how to recognize its files and was not used to open its files
-in the file browser and fixed it.  In the process I wrote a simple
-debian/tests/ script to ensure the setup keep working.  It might be
-useful for other packages too, to ensure any future version of the
-package keep handling its own files.&lt;/p&gt;
-
-&lt;p&gt;For this to work the file format need a useful MIME type that can
-be used to identify the format.  If the file format do not yet have a
-MIME type, it should define one and preferably also
-&lt;a href=&quot;https://www.iana.org/assignments/media-types/media-types.xhtml&quot;&gt;register
-it with IANA&lt;/a&gt; to ensure the MIME type string is reserved.&lt;/p&gt;
-
-&lt;p&gt;The script uses the &lt;tt&gt;xdg-mime&lt;/tt&gt; program from xdg-utils to
-query the database of standardized package information and ensure it
-return sensible values.  It also need the location of an example file
-for xdg-mime to guess the format of.&lt;/p&gt;
-
-&lt;pre&gt;
-#!/bin/sh
-#
-# Author: Petter Reinholdtsen
-# License: GPL v2 or later at your choice.
-#
-# Validate the MIME setup, making sure motor types have
-# application/vnd.openmotor+yaml associated with them and is connected
-# to the openmotor desktop file.
-
-retval=0
-
-mimetype=&quot;application/vnd.openmotor+yaml&quot;
-testfile=&quot;test/data/real/o3100/motor.ric&quot;
-mydesktopfile=&quot;openmotor.desktop&quot;
-
-filemime=&quot;$(xdg-mime query filetype &quot;$testfile&quot;)&quot;
-
-if [ &quot;$mimetype&quot; != &quot;$filemime&quot; ] ; then
-    retval=1
-    echo &quot;error: xdg-mime claim motor file MIME type is $filemine, not $mimetype&quot;
-else
-    echo &quot;success: xdg-mime report correct mime type $mimetype for motor file&quot;
-fi
-
-desktop=$(xdg-mime query default &quot;$mimetype&quot;)
-
-if [ &quot;$mydesktopfile&quot; != &quot;$desktop&quot; ]; then
-    retval=1
-    echo &quot;error: xdg-mime claim motor file should be handled by $desktop, not $mydesktopfile&quot;
-else
-    echo &quot;success: xdg-mime agree motor file should be handled by $mydesktopfile&quot;
-fi
-
-exit $retval
-&lt;/pre&gt;
-
-&lt;p&gt;It is a simple way to ensure your users are not very surprised when
-they try to open one of your file formats in their file browser.&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>
-       
-       <item>
-               <title>Opensnitch, the application level interactive firewall, heading into the Debian archive</title>
-               <link>https://people.skolelinux.org/pere/blog/Opensnitch__the_application_level_interactive_firewall__heading_into_the_Debian_archive.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Opensnitch__the_application_level_interactive_firewall__heading_into_the_Debian_archive.html</guid>
-                <pubDate>Sun, 22 Jan 2023 23:55:00 +0100</pubDate>
-               <description>&lt;p&gt;While reading a
-&lt;a href=&quot;https://sneak.berlin/20230115/macos-scans-your-local-files-now/&quot;&gt;blog
-post claiming MacOS X recently started scanning local files and
-reporting information about them to Apple&lt;/a&gt;, even on a machine where
-all such callback features had been disabled, I came across a
-description of the Little Snitch application for MacOS X.  It seemed
-like a very nice tool to have in the tool box, and I decided to see if
-something similar was available for Linux.&lt;/p&gt;
-
-&lt;p&gt;It did not take long to find
-&lt;a href=&quot;https://github.com/evilsocket/opensnitch&quot;&gt;the OpenSnitch
-package&lt;/a&gt;, which has been in development since 2017, and now is in
-version 1.5.0.  It has had a
-&lt;a href=&quot;https://bugs.debian.org/909567&quot;&gt;request for Debian
-packaging&lt;/a&gt; since 2018, but no-one completed the job so far.  Just
-for fun, I decided to see if I could help, and I was very happy to
-discover that
-&lt;a href=&quot;https://github.com/evilsocket/opensnitch/issues/304&quot;&gt;upstream
-want a Debian package too&lt;/a&gt;.&lt;/p&gt;
-
-&lt;p&gt;After struggling a bit with getting the program to run, figuring
-out building Go programs (and a little failed detour to look at eBPF
-builds too - help needed), I am very happy to report that I am
-sponsoring upstream to maintain the package in Debian, and it has
-since this morning been waiting in NEW for the ftpmasters to have a
-look.  Perhaps it can get into the archive in time for the Bookworm
-release?&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>
-       
-       <item>
-               <title>LinuxCNC MQTT publisher component</title>
-               <link>https://people.skolelinux.org/pere/blog/LinuxCNC_MQTT_publisher_component.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/LinuxCNC_MQTT_publisher_component.html</guid>
-                <pubDate>Sun, 8 Jan 2023 19:30:00 +0100</pubDate>
-               <description>&lt;p&gt;I watched &lt;a href=&quot;https://yewtu.be/watch?v=jmKUV3aNLjk&quot;&gt;a 2015
-video from Andreas Schiffler&lt;/a&gt; the other day, where he set up
-&lt;a href=&quot;https://linuxcnc.org/&quot;&gt;LinuxCNC&lt;/a&gt; to send status
-information to the MQTT broker IBM Bluemix.  As I also use MQTT for
-graphing, it occured to me that a generic MQTT LinuxCNC component
-would be useful and I set out to implement it.  Today I got the first
-draft limping along and submitted as
-&lt;a href=&quot;https://github.com/LinuxCNC/linuxcnc/pull/2253&quot;&gt;a patch to the
-LinuxCNC project&lt;/a&gt;.&lt;/p&gt;
-
-&lt;p&gt;The simple part was setting up the MQTT publishing code in Python.
-I already have set up other parts submitting data to my Mosquito MQTT
-broker, so I could reuse that code.  Writing a LinuxCNC component in
-Python as new to me, but using existing examples in the code
-repository and the extensive documentation, this was fairly straight
-forward.  The hardest part was creating a automated test for the
-component to ensure it was working.  Testing it in a simulated
-LinuxCNC machine proved very useful, as I discovered features I needed
-that I had not thought of yet, and adjusted the code quite a bit to
-make it easier to test without a operational MQTT broker
-available.&lt;/p&gt;
-
-&lt;p&gt;The draft is ready and working, but I am unsure which LinuxCNC HAL
-pins I should collect and publish by default (in other words, the
-default set of information pieces published), and how to get the
-machine name from the LinuxCNC INI file.  The latter is a minor
-detail, but I expect it would be useful in a setup with several
-machines available.  I am hoping for feedback from the experienced
-LinuxCNC developers and users, to make the component even better
-before it can go into the mainland LinuxCNC code base.&lt;/p&gt;
-
-&lt;p&gt;Since I started on the MQTT component, I came across
-&lt;a href=&quot;https://yewtu.be/watch?v=Bqa2grG0XtA&quot;&gt;another video from Kent
-VanderVelden&lt;/a&gt; where he combine LinuxCNC with a set of screen glasses
-controlled by a Raspberry Pi, and it occured to me that it would
-be useful for such use cases if LinuxCNC also provided a REST API for
-querying its status.  I hope to start on such component once the MQTT
-component is working well.&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>
-       
-       <item>
-               <title>ONVIF IP camera management tool finally in Debian</title>
-               <link>https://people.skolelinux.org/pere/blog/ONVIF_IP_camera_management_tool_finally_in_Debian.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/ONVIF_IP_camera_management_tool_finally_in_Debian.html</guid>
-                <pubDate>Sat, 24 Dec 2022 08:00:00 +0100</pubDate>
-               <description>&lt;p&gt;Merry Christmas to you all.  Here is a small gift to all those with
-IP cameras following the &lt;a href=&quot;https://www.onvif.org/&quot;&gt;ONVIF
-specification&lt;/a&gt;.  There is finally a nice command line and GUI tool
-in Debian to manage ONVIF IP cameras.  After working with upstream for
-a few months and sponsoring the upload, I am very happy to report that
-the &lt;a href=&quot;https://tracker.debian.org/libonvif&quot;&gt;libonvif package&lt;/a&gt;
-entered Debian Sid last night.&lt;/p&gt;
-
-&lt;p&gt;The package provide a C library to communicate with such cameras, a
-command line tool to locate and update settings of (like password) the
-cameras and a GUI tool to configure and control the units as well as
-preview the video from the camera.  Libonvif is available on Both
-Linux and Windows and the GUI tool uses the Qt library.  The main
-competitors are non-free software, while libonvif is GNU GPL licensed.
-I am very glad Debian users in the future can control their cameras
-using a free software system provided by Debian.  But the ONVIF world
-is full of slightly broken firmware, where the cameras pretend to
-follow the ONVIF specification but fail to set some configuration
-values or refuse to provide video to more than one recipient at the
-time, and the onvif project is quite young and might take a while
-before it completely work with your camera.  Upstream seem eager to
-improve the library, so handling any broken camera might be just &lt;a
-href=&quot;https://github.com/sr99622/libonvif/&quot;&gt;a bug report away&lt;/a&gt;.&lt;/p&gt;
-
-&lt;p&gt;The package just cleared NEW, and need a new source only upload
-before it can enter testing.  This will happen in the next few
-days.&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>
-       
-       <item>
-               <title>Managing and using ONVIF IP cameras with Linux</title>
-               <link>https://people.skolelinux.org/pere/blog/Managing_and_using_ONVIF_IP_cameras_with_Linux.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Managing_and_using_ONVIF_IP_cameras_with_Linux.html</guid>
-                <pubDate>Wed, 19 Oct 2022 12:30:00 +0200</pubDate>
-               <description>&lt;p&gt;Recently I have been looking at how to control and collect data
-from a handful IP cameras using Linux.  I both wanted to change their
-settings and to make their imagery available via a free software
-service under my control.  Here is a summary of the tools I found.&lt;/p&gt;
-
-&lt;p&gt;First I had to identify the cameras and their protocols.  As far as
-I could tell, they were using some SOAP looking protocol and their
-internal web server seem to only work with Microsoft Internet Explorer
-with some proprietary binary plugin, which in these days of course is
-a security disaster and also made it impossible for me to use the
-camera web interface.  Luckily I discovered that the SOAP looking
-protocol is actually following &lt;a href=&quot;https://www.onvif.org/&quot;&gt;the
-ONVIF specification&lt;/a&gt;, which seem to be supported by a lot of IP
-cameras these days.&lt;/p&gt;
-
-&lt;p&gt;Once the protocol was identified, I was able to find what appear to
-be the most popular way to configure ONVIF cameras, the free software
-Windows tool named
-&lt;a href=&quot;https://sourceforge.net/projects/onvifdm/&quot;&gt;ONVIF Device
-Manager&lt;/a&gt;.  Lacking any other options at the time, I tried
-unsuccessfully to get it running using Wine, but was missing a dotnet
-40 library and I found no way around it to run it on Linux.&lt;/p&gt;
-
-&lt;p&gt;The next tool I found to configure the cameras were a non-free Linux Qt
-client &lt;a href=&quot;https://www.lingodigit.com/onvif_nvcdemo.html&quot;&gt;ONVIF
-Device Tool&lt;/a&gt;.  I did not like its terms of use, so did not spend
-much time on it.&lt;/p&gt;
-
-&lt;p&gt;To collect the video and make it available in a web interface, I
-found the Zoneminder tool in Debian.  A recent version was able to
-automatically detect and configure ONVIF devices, so I could use it to
-set up motion detection in and collection of the camera output.  I had
-initial problems getting the ONVIF autodetection to work, as both
-Firefox and Chromium &lt;a href=&quot;https://bugs.debian.org/1001188&quot;&gt;refused
-the inter-tab communication&lt;/a&gt; being used by the Zoneminder web
-pages, but managed to get konqueror to work.  Apparently the &quot;Enhanced
-Tracking Protection&quot; in Firefox cause the problem.  I ended up
-upgrading to the Bookworm edition of Zoneminder in the process to try
-to fix the issue, and believe the problem might be solved now.&lt;/p&gt;
-
-&lt;p&gt;In the process I came across the nice Linux GUI tool
-&lt;a href=&quot;https://gitlab.com/caspermeijn/onvifviewer/&quot;&gt;ONVIF Viewer&lt;/a&gt;
-allowing me to preview the camera output and validate the login
-passwords required.  Sadly its author has grown tired of maintaining
-the software, so it might not see any future updates.  Which is sad,
-as the viewer is sightly unstable and the picture tend to lock up.
-Note, this lockup might be due to limitations in the cameras and not
-the viewer implementation.  I suspect the camera is only able to
-provide pictures to one client at the time, and the Zoneminder feed
-might interfere with the GUI viewer.  I have
-&lt;a href=&quot;https://bugs.debian.org/1000820&quot;&gt;asked for the tool to be
-included in Debian&lt;/a&gt;.&lt;/p&gt;
-
-&lt;p&gt;Finally, I found what appear to be very nice Linux free software
-replacement for the Windows tool, named
-&lt;a href=&quot;https://github.com/sr99622/libonvif/&quot;&gt;libonvif&lt;/a&gt;.  It
-provide a C library to talk to ONVIF devices as well as a command line
-and GUI tool using the library.  Using the GUI tool I was able to change
-the admin passwords and update other settings of the cameras.  I have
-&lt;a href=&quot;https://bugs.debian.org/1021980&quot;&gt;asked for the package to be
-included in Debian&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;
-
-&lt;p&gt;&lt;strong&gt;Update 2022-10-20&lt;/strong&gt;: Since my initial publication of
-this text, I got several suggestions for more free software Linux
-tools.  There is &lt;a href=&quot;https://github.com/quatanium/python-onvif&quot;&gt;a
-ONVIF python library&lt;/a&gt; (already
-&lt;a href=&quot;https://bugs.debian.org/824240&quot;&gt;requested into Debian&lt;/a&gt;) and
-&lt;a href=&quot;https://github.com/FalkTannhaeuser/python-onvif-zeep&quot;&gt;a python 3
-fork&lt;/a&gt; using a different SOAP dependency.  There is also
-&lt;a href=&quot;https://www.home-assistant.io/integrations/onvif/&quot;&gt;support for
-ONVIF in Home Assistant&lt;/a&gt;, and there is an alternative to Zoneminder
-called &lt;a href=&quot;https://www.shinobi.video/&quot;&gt;Shinobi&lt;/a&gt;.  The latter
-two are not included in Debian either.  I have not tested any of these
-so far.&lt;/p&gt;
-</description>
-       </item>
-       
-       <item>
-               <title>Time to translate the Bullseye edition of the Debian Administrator&#39;s Handbook</title>
-               <link>https://people.skolelinux.org/pere/blog/Time_to_translate_the_Bullseye_edition_of_the_Debian_Administrator_s_Handbook.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Time_to_translate_the_Bullseye_edition_of_the_Debian_Administrator_s_Handbook.html</guid>
-                <pubDate>Mon, 12 Sep 2022 15:45: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;(The picture is of the previous edition.)&lt;/p&gt;
-
-&lt;p&gt;Almost two years after the previous Norwegian Bokmål translation of
-the &quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian Administrator&#39;s
-Handbook&lt;/a&gt;&quot; was published, a new edition is finally being prepared.  The
-english text is updated, and it is time to start working on the
-translations.  Around 37 percent of the strings have been updated, one
-way or another, and the translations starting from a complete Debian Buster
-edition now need to bring their translation up from 63% to 100%.  The
-complete book is licensed using a Creative Commons license, and has
-been published in several languages over the years.  The translations
-are done by volunteers to bring Linux in their native tongue.  The
-last time I checked, it complete text was available in English,
-Norwegian Bokmål, German, Indonesian, Brazil Portuguese and Spanish.
-In addition, work has been started for Arabic (Morocco), Catalan,
-Chinese (Simplified), Chinese (Traditional), Croatian, Czech, Danish,
-Dutch, French, Greek, Italian, Japanese, Korean, Persian, Polish,
-Romanian, Russian, Swedish, Turkish and Vietnamese.&lt;/p&gt;
-
-&lt;p&gt;The translation is conducted on
-&lt;a href=&quot;https://hosted.weblate.org/projects/debian-handbook/&quot;&gt;the
-hosted weblate project page&lt;/a&gt;.  Prospective translators are
-recommeded to subscribe to
-&lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/debian-handbook-translators&quot;&gt;the
-translators mailing list&lt;/a&gt; and should also check out
-&lt;a href=&quot;https://debian-handbook.info/contribute/&quot;&gt;the instructions for
-contributors&lt;/a&gt;.&lt;/p&gt;
-
-&lt;p&gt;I am one of the Norwegian Bokmål translators of this book, and we
-have just started.  Your contribution is most welcome.&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;
 &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;