X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/23ecc05779102fb16f481e7fd7cb6e8d80ff92e4..aafeae8b09742c9d300a1ffc222093abff86f970:/blog/index.rss diff --git a/blog/index.rss b/blog/index.rss index 83e48d12be..64c53fe0c4 100644 --- a/blog/index.rss +++ b/blog/index.rss @@ -7,107 +7,145 @@ - genisoimage make CD firmware upgrades a breeze - https://people.skolelinux.org/pere/blog/genisoimage_make_CD_firmware_upgrades_a_breeze.html - https://people.skolelinux.org/pere/blog/genisoimage_make_CD_firmware_upgrades_a_breeze.html - Wed, 20 Apr 2022 09:00:00 +0200 - <p>Recently I wanted to upgrade the firmware of my thinkpad, and -located the firmware download page from Lenovo (which annoyingly do -not allow access via Tor, forcing me to hand them more personal -information that I would like). The -<a href="https://support.lenovo.com/us/en/solutions/ht003029-lenovo-system-update-update-drivers-bios-and-applications">download -from Lenovo</a> is a bootable ISO image, which is a bit of a problem -when all I got available is a USB memory stick. I tried booting the -ISO as a USB stick, but this did not work. But genisoimage came to -the rescue.</p> - -<P>The geteltorito program in -<a href="http://tracker.debian.org/genisoimage">the genisoimage -package</a> is able to convert the bootable ISO image to a bootable -USB stick using a simple command line recipe, which I then can write -to the most recently inserted USB stick:</p> - -<blockquote><pre> -geteltorito -o usbstick.img lenovo-firmware.iso -sudo dd bs=10M if=usbstick.img of=$(ls -tr /dev/sd?|tail -1) -</pre></blockquote> - -<p>This USB stick booted the firmware upgrader just fine, and in a few -minutes my machine had the latest and greatest BIOS firmware in place.</p> + «Virkninger av angrefristloven», hovedfagsoppgaven som fikk endret en lov + https://people.skolelinux.org/pere/blog/_Virkninger_av_angrefristloven___hovedfagsoppgaven_som_fikk_endret_en_lov.html + https://people.skolelinux.org/pere/blog/_Virkninger_av_angrefristloven___hovedfagsoppgaven_som_fikk_endret_en_lov.html + Sun, 29 Oct 2023 22:00:00 +0100 + <img src="http://people.skolelinux.org/pere/blog/images/2023-10-29-bok-angrefrist.svg" width="20%" align="center"></a> + +<p>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.</p> + +<p>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 <a + href="http://www.hungry.com/~pere/publisher/">min liste over + publiserte bøker</a>, både som nettside, + <a href="https://www.lulu.com/search?contributor=Ole-Erik+Yrvin">digital + bok i ePub-format og på papir fra lulu.com</a>. Jeg regner med at + den også vil dukke opp på nettbokhandlere i løpet av en måned eller + to.</p> + +<p>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.</p> + +<p>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 +<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>. Merk, +betaling med bitcoin er ikke anonymt. :)</p> + + + + + «underordnet tjenestemann blir inhabil fordi en overordnet er inhabil». + https://people.skolelinux.org/pere/blog/_underordnet_tjenestemann_blir_inhabil_fordi_en_overordnet_er_inhabil__.html + https://people.skolelinux.org/pere/blog/_underordnet_tjenestemann_blir_inhabil_fordi_en_overordnet_er_inhabil__.html + Thu, 7 Sep 2023 09:10:00 +0200 + <p>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 +<a href="https://www.nrk.no/nyheter/riksadvokaten_-okokrim-nestsjef-kan-behandle-huitfeldt-saken-1.16545162">Riksadvokaten +har konkludert med at nestsjefen i Økokrim kan behandle sak om +habilitet og innsidekunnskap</a> for Huitfeldt, på tross av at hans +overordnede, sjefen for Økokrim, har meldt seg inhabil i saken. Dette +er litt rart. I veilednigen +«<a href="https://www.regjeringen.no/globalassets/upload/krd/vedlegg/komm/veiledere/habilitet_i_kommuner_og_fylkeskommuner.pdf">Habilitet +i kommuner og fylkeskommuner</a>» 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: + +<blockquote> +<p>«<strong>2.1 Oversikt over inhabilitetsgrunnlagene</strong> + +<p>De alminnelige reglene om inhabilitet for den offentlige +forvaltningen er gitt i +<a href="https://lovdata.no/dokument/NL/lov/1967-02-10/KAPITTEL_2#KAPITTEL_2">forvaltningsloven +§§ 6 til 10</a>. 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.»</p> +</blockquote> + +<p>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». - Playing and encoding AV1 in Debian Bullseye - https://people.skolelinux.org/pere/blog/Playing_and_encoding_AV1_in_Debian_Bullseye.html - https://people.skolelinux.org/pere/blog/Playing_and_encoding_AV1_in_Debian_Bullseye.html - Sat, 16 Apr 2022 08:40:00 +0200 - <p>Inspired by the recent news of -<a href="https://slashdot.org/story/22/04/03/2039219/intel-beats-amd-and-nvidia-with-arc-gpus-full-av1-support">AV1 -hardware encoding support from Intel</a>, I decided to look into -the state of AV1 on Linux today. AV1 is a -<a href="https://web.archive.org/web/20160618103850/http://www.digistan.org/open-standard:definition">free -and open standard</a> as defined by Digistan without any royalty -payment requirement, unlike its much used competitor encoding -H.264. While looking, I came across an 5 year -<a href="https://askubuntu.com/questions/1061908/how-to-encode-and-playback-video-with-the-av1-codec-on-bionic-beaver-18-04">old -question on askubuntu.com</a> which in turn inspired me to check out -how things are in Debian Stable regarding AV1. The test file listed -in the question (askubuntu_test_aom.mp4) did not exist any more, so I -tracked down a different set of test files on -<a href="https://av1.webmfiles.org/">av1.webmfiles.org</a> to test them -with the various video tools I had installed on my machine. I was -happy to discover that AV1 decoding and playback worked with almost -every tool I tested: - -<table align="center"> -<tr><td>mediainfo</td> <td>ok</td></tr> -<tr><td>dragonplayer</td> <td>ok</td></tr> -<tr><td>ffmpeg / ffplay</td> <td>ok</td></tr> -<tr><td>gnome-mplayer</td> <td>fail</td></tr> -<tr><td>mplayer</td> <td>ok</td></tr> -<tr><td>mpv</td> <td>ok</td></tr> -<tr><td>parole</td> <td>ok</td></tr> -<tr><td>vlc</td> <td>ok</td></tr> -<tr><td>firefox</td> <td>ok</td></tr> -<tr><td>chromium</td> <td>ok</td></tr> -</table> - -<p>AV1 encoding is available in Debian Stable from the aom-tools -version 1.0.0.errata1-3 package, using the aomenc tool. The encoding -using the package in Debian Stable is quite slow, with the frame rate -for my 10 second test video at around 0.25 fps. My 10 second video -test took 16 minutes and 11 seconds on my test machine.</p> - -<p>I tested by first running ffmpeg and then aomenc using the recipe -provided by the askubuntu recipe above. I had to remove the -'--row-mt=1' option, as it was not supported in my 1.0.0 version. The -encoding only used a single thread, according to <tt>top</tt>.</p> - -<blockquote><pre> -ffmpeg -i some-old-video.ogv -t 10 -pix_fmt yuv420p video.y4m -aomenc --fps=24/1 -u 0 --codec=av1 --target-bitrate=1000 \ - --lag-in-frames=25 --auto-alt-ref=1 -t 24 --cpu-used=8 \ - --tile-columns=2 --tile-rows=2 -o output.webm video.y4m -</pre></blockquote> - -<p>As version 1.0.0 currently have several -<a href="https://security-tracker.debian.org/tracker/source-package/aom">unsolved -security issues in Debian Stable</a>, and to see if the recent -backport <a href="https://tracker.debian.org/pkg/aom">provided in -Debian</a> is any quicker, I ran <tt>apt -t bullseye-backports install -aom-tools</tt> to fetch the backported version and re-encoded the -video using the latest version. This time the '--row-mt=1' option -worked, and the encoding was done in 46 seconds with a frame rate of -around 5.22 fps. This time it seem to be using all my four cores to -encode. Encoding speed is still too low for streaming and real time, -which would require frame rates above 25 fps, but might be good enough -for offline encoding.</p> - -<p>I am very happy to see AV1 playback working so well with the -default tools in Debian Stable. I hope the encoding situation improve -too, allowing even a slow old computer like my 10 year old laptop to -be used for encoding.</p> + Invidious add-on for Kodi 20 + https://people.skolelinux.org/pere/blog/Invidious_add_on_for_Kodi_20.html + https://people.skolelinux.org/pere/blog/Invidious_add_on_for_Kodi_20.html + Thu, 10 Aug 2023 19:50:00 +0200 + <p>I still enjoy <a href="https://kodi.tv/">Kodi</a> and +<a href="https://libreelec.tv/">LibreELEC</a> 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 <a href="https://archive.org/">The Internet Archive</a> +available, and it has +<a href="https://kodi.wiki/view/Add-on:Internet_Archive">not been +working</a> for many years. The second most wanted add-on is one +using <a href="https://invidious.io/">the Invidious privacy enhanced +Youtube frontent</a>. 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 +<a href="https://github.com/petterreinholdtsen/kodi-invidious-plugin">have +a go at improving the Invidious add-on</a>. As +<a href="https://github.com/iv-org/invidious/issues/3872">Google has +already attacked</a> the Invidious concept, so it need all the support +if can get. My small contribution here is to improve the service +status on Kodi.</p> + +<p>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.</p> + +<p>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.</p> + +<p>I already +<a href="https://github.com/xbmc/repo-plugins/pull/4363">asked to have +the add-on added</a> to the official Kodi 20 repository, and is +waiting to heard back from the repo maintainers.</p> <p>As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address @@ -116,103 +154,93 @@ activities, please send Bitcoin donations to my address - Få en slutt på Digitale utslipp - https://people.skolelinux.org/pere/blog/F__en_slutt_p__Digitale_utslipp.html - https://people.skolelinux.org/pere/blog/F__en_slutt_p__Digitale_utslipp.html - Mon, 14 Mar 2022 22:00:00 +0100 - <p>På onsdag sendte jeg følgende epost til Utdanningsetaten i Oslo -kommune (UDE). Fikk beskjed om at min henvendelse har saksnummer -22/7559-1 i den -<a href="https://www.oslo.kommune.no/etater-foretak-og-ombud/utdanningsetaten/postjournal-utdanningsetaten/">offentlige -postjournalen til UDE</a>. Jeg er spent på hva slags respons jeg får. -Mistenker jo de fleste som sprer sine nettsideleseres -personopplysninger til utlandet ikke har tenkt så nøye igjennom hva de -gjør, og at det er håp om at de tenker seg litt nøyere om hvis de blir -klar over problemstillingen. Vet du noen som burde få tilsvarede -beskjed og spørsmål? Kanskje du kan sende dem en epost. Hvis alle -bidrar blir det kanskje litt bedre.</p> - -<blockquote> -<p>To: postmottak (at) osloskolen.no -<br>Subject: Digitale utslipp fra osloskolens nettsider</p> - -<p>Hei.</p> - -<p>Jeg ser at osloskolens nettsider har digitale utslipp av -personopplysninger til Google, Facebook og andre, blant annet omtalt -på &lt;URL: <a href="https://aktuelt.osloskolen.no/personvernerklaring-for-osloskolen/informasjonskapsler/">https://aktuelt.osloskolen.no/personvernerklaring-for-osloskolen/informasjonskapsler/</a> ->.</p> - -<p>&lt;URL: <a href="https://webbkoll.dataskydd.net/">https://webbkoll.dataskydd.net/</a> > kan være et nyttig verktøy for å holde øye med utslippsomfanget på ulike sider.</p> - -<p>Kanskje det er en ide å gjøre noe med det, jamfør &lt;URL: <a href="https://www.digi.no/artikler/debatt-det-enkleste-tiltaket-er-a-skru-av-google-analytics/517378">https://www.digi.no/artikler/debatt-det-enkleste-tiltaket-er-a-skru-av-google-analytics/517378</a> >?</p> + What did I learn from OpenSnitch this summer? + https://people.skolelinux.org/pere/blog/What_did_I_learn_from_OpenSnitch_this_summer_.html + https://people.skolelinux.org/pere/blog/What_did_I_learn_from_OpenSnitch_this_summer_.html + Sun, 11 Jun 2023 08:30:00 +0200 + <p>With yesterdays +<a href="https://www.debian.org/News/2023/20230610">release of Debian +12 Bookworm</a>, I am happy to know the +<a href="https://tracker.debian.org/pkg/opensnitch">the interactive +application firewall OpenSnitch</a> 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.</p> + +<p>I suspect some application developers should rethink when then need +to use network connections or DNS lookups, and recommend testing +OpenSnitch (only <tt>apt install opensnitch</tt> away in Debian +Bookworm) to locate and report any surprising Internet connections on +your desktop machine.</p> + +<p>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.</p> -<p>Et alternativ til Google Analytics kan være en lokalt installert -utgave av &lt;URL: -<a href="https://matomo.org/">https://matomo.org/</a> >. Den og flere -andre alternativer kan finnes via -&lt;URL: <a href="https://www.digi.no/artikler/sverige-vil-skrote-amerikansk-skytjeneste-her-er-alternativene/516223?key=5QsV0wRG">https://www.digi.no/artikler/sverige-vil-skrote-amerikansk-skytjeneste-her-er-alternativene/516223?key=5QsV0wRG</a> > -på bakgrunn av at svenske myndigheter har innsett at dagens praksis -nok er både lite lur og ulovlig. Der henger Norge litt etter, men -osloskolen har her mulighet til å være litt i forkant. :)</p> - -<p>Fint om dere kan gi beskjed hvilket saksnummer denne henvendelsen får i -offentlig postjournal når den er mottatt.</p> - -</blockquote> +<p>As usual, if you use Bitcoin and want to show your support of my +activities, please send Bitcoin donations to my address +<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p> -</p>Flere og flere innser at slik spredning av personopplysninger er -ugreit. Det har pågått i mange år. Ser jeg blogget -<a href="https://people.skolelinux.org/pere/blog/Det_er_jo_makta_som_er_mest_s_rbar_ved_massiv_overv_kning_av_Internett.html">første -gang om Google Analytics i 2013</a> og -<a href="https://people.skolelinux.org/pere/blog/Snurpenot_overv_kning_av_sensitiv_personinformasjon.html">analyserte -omfanget i 2015</a>, men det er et langt lerret å bleke.</p> +<p><strong>Update 2023-06-12</strong>: I got a tip about +<a href="https://wiki.debian.org/PrivacyIssues">a list of privacy +issues in Free Software</a> and the +<a href="irc://irc.debian.org/%23debian-privacy">#debian-privacy IRC +channel</a> discussing these topics.</p> -<p>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 -<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>. -Merk, betaling med bitcoin er ikke anonymt. :)</p> - Publish Hargassner wood chip boiler state to MQTT - https://people.skolelinux.org/pere/blog/Publish_Hargassner_wood_chip_boiler_state_to_MQTT.html - https://people.skolelinux.org/pere/blog/Publish_Hargassner_wood_chip_boiler_state_to_MQTT.html - Sat, 12 Mar 2022 06:30:00 +0100 - <p>Recently I had a look at a -<a href="https://www.hargassner.at/">Hargassner</a> -<a href="https://www.hargassner.at/en/products/wood-chip-boiler.html">wood -chip boiler</a>, and what kind of free software can be used to monitor -and control it. The boiler can be connected to some cloud service via -what the producer call an Internet Gateway, which seem to be a -computer connecting to the boiler and passing the information gathered -to the cloud. I discovered the boiler controller got an IP address on -the local network and listen on TCP port 23 to provide status -information as a text line of numbers. It also provide a HTTP server -listening on port 80, but I have not yet figured out what it can do -beside return an error code.</p> - -<p>If I am to believe various free software implementations talking to -such boiler, the interpretation of the line of numbers differ between -type of boiler and software version on the boiler. By comparing the -list of numbers on the front panel of the boiler with the numbers -returned via TCP, I have been able to figure out several of the -numbers, but there are a lot left to understand. I've located several -temperature measurements and hours running values, as well as oxygen -measurements and counters.</p> - -I decided to write a simple parser in Python for the values I figured -out so far, and a simple MQTT injector publishing both the interpreted -and the unknown values on a MQTT bus to make collecting and graphing -simpler. The end result is available from the -<a href="https://gitlab.com/petterreinholdtsen/hargassner2mqtt">hargassner2mqtt -project page</a> on gitlab. I very much welcome patches extending the -parser to understand more values, boiler types and software versions. -I do not really expect very few free software developers got their -hands on such unit to experiment, but it would be fun if others too find -this project useful.</p> + wmbusmeters, parse data from your utility meter - nice free software + https://people.skolelinux.org/pere/blog/wmbusmeters__parse_data_from_your_utility_meter___nice_free_software.html + https://people.skolelinux.org/pere/blog/wmbusmeters__parse_data_from_your_utility_meter___nice_free_software.html + Fri, 19 May 2023 21:50:00 +0200 + <p>There is a European standard for reading utility meters like water, +gas, electricity or heat distribution meters. The +<a href="https://en.wikipedia.org/wiki/Meter-Bus">Meter-Bus standard +(EN 13757-2, EN 13757-3 and EN 13757–4)</a> 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.</p> + +<p>The free software systems in question, +<a href="https://tracker.debian.org/pkg/rtl-wmbus">rtl-wmbus</a> to +read the messages from a software defined radio, and +<a href="https://tracker.debian.org/pkg/wmbusmeters">wmbusmeters</a> 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.</p> + +<p>If you got a infrastructure meter supporting the Meter Bus +standard, I strongly recommend having a look at these nice +packages.</p> <p>As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address @@ -221,23 +249,17 @@ activities, please send Bitcoin donations to my address - Run your industrial metal working machine using Debian? - https://people.skolelinux.org/pere/blog/Run_your_industrial_metal_working_machine_using_Debian_.html - https://people.skolelinux.org/pere/blog/Run_your_industrial_metal_working_machine_using_Debian_.html - Wed, 2 Mar 2022 18:40:00 +0100 - <p>After many months of hard work by the good people involved in -<a href="https://en.wikipedia.org/wiki/LinuxCNC">LinuxCNC</a>, the -system was accepted Sunday -<a href="https://tracker.debian.org/pkg/linuxcnc">into Debian</a>. -Once it was available from Debian, I was surprised to discover from -<a href="https://qa.debian.org/popcon.php?package=linuxcnc">its -popularity-contest numbers</a> that people have been reporting its use -since 2012. <a href="http://linuxcnc.org/">Its project site</a> might -be a good place to check out, but sadly is not working when visiting -via Tor.</p> - -<p>But what is LinuxCNC, you are probably wondering? Perhaps a -Wikipedia quote is in place?</p> + The 2023 LinuxCNC Norwegian developer gathering + https://people.skolelinux.org/pere/blog/The_2023_LinuxCNC_Norwegian_developer_gathering.html + https://people.skolelinux.org/pere/blog/The_2023_LinuxCNC_Norwegian_developer_gathering.html + Sun, 14 May 2023 20:30:00 +0200 + <p>The LinuxCNC project is making headway these days. A lot of +patches and issues have seen activity on +<a href="https://github.com/LinuxCNC/linuxcnc/">the project github +pages</a> recently. A few weeks ago there was a developer gathering +over at the <a href="https://tormach.com/">Tormach</a> headquarter in +Wisconsin, and now we are planning a new gathering in Norway. If you +wonder what LinuxCNC is, lets quote Wikipedia:</p> <blockquote> "LinuxCNC is a software system for numerical control of @@ -248,17 +270,20 @@ several GUIs suited to specific kinds of usage (touch screen, interactive development)." </blockquote> -<p>It can even control 3D printers. And even though the Wikipedia -page indicate that it can only work with hard real time kernel -features, it can also work with the user space soft real time features -provided by the Debian kernel. -<a href="https://github.com/linuxcnc/linuxcnc">The source code</a> is -available from Github. The last few months I've been involved in the -translation setup for the program and documentation. Translators are -most welcome to -<a href="https://hosted.weblate.org/engage/linuxcnc/">join the -effort</a> using Weblate.</p> - +<p>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 +<a href="https://sourceforge.net/p/emc/mailman/emc-developers/thread/sa64jp06nob.fsf%40hjemme.reinholdtsen.name/#msg37837251">the +developer mailing list thread</a> where the gathering was announced. +Thanks to the good people at +<a href="https://www.debian.org/">Debian</a>, +<a href="https://www.redpill-linpro.com/">Redpill-Linpro</a> and +<a href="https://www.nuugfoundation.no/no/">NUUG Foundation</a>, 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.</p> + <p>As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p> @@ -266,32 +291,33 @@ activities, please send Bitcoin donations to my address - Updated vlc bittorrent plugin in Debian (version 2.14) - https://people.skolelinux.org/pere/blog/Updated_vlc_bittorrent_plugin_in_Debian__version_2_14_.html - https://people.skolelinux.org/pere/blog/Updated_vlc_bittorrent_plugin_in_Debian__version_2_14_.html - Mon, 14 Feb 2022 08:00:00 +0100 - <p>I am very happy to report that a new version of the -<a href="https://tracker.debian.org/pkg/vlc-plugin-bittorrent">VLC -bittorrent plugin</a> was just uploaded into debian. The changes -since last time is mostly code clean in the download code. The package -is currently in Debian unstable, but should be available in Debian -testing son. To test it, simply install it like this:</p> - -<p><pre> -apt install vlc-plugin-bittorrent -</pre></p> - -<p>After it is installed, you can try to use it to play a file -downloaded live via bittorrent like this: - -<p><pre> -vlc https://archive.org/download/Glass_201703/Glass_201703_archive.torrent -</pre></p> - -<p>It can also use magnet links and local .torrent files like the ones -provided by the Internet Archive. Another example is the <a -href="https://archive.org/details/LoveNest">Love Nest</a> Buster -Keaton movie, where one can click on the 'Torrent' link to get going.</p> + OpenSnitch in Debian ready for prime time + https://people.skolelinux.org/pere/blog/OpenSnitch_in_Debian_ready_for_prime_time.html + https://people.skolelinux.org/pere/blog/OpenSnitch_in_Debian_ready_for_prime_time.html + Sat, 13 May 2023 12:10:00 +0200 + <p>A bit delayed, +<a href="https://tracker.debian.org/pkg/opensnitch">the interactive +application firewall OpenSnitch</a> package in Debian now got the +latest fixes ready for Debian Bookworm. Because it depend on a +package missing on some architectures, the autopkgtest check of the +testing migration script did not understand that the tests were +actually working, so the migration was delayed. A bug in the package +dependencies is also fixed, so those installing the firewall package +(opensnitch) now also get the GUI admin tool (python3-opensnitch-ui) +installed by default. I am very grateful to Gustavo Iñiguez Goya for +his work on getting the package ready for Debian Bookworm.</p> + +<p>Armed with this package I have discovered some surprising +connections from programs I believed were able to work completly +offline, and it has already proven its worth, at least to me. If you +too want to get more familiar with the kind of programs using +Internett connections on your machine, I recommend testing <tt>apt +install opensnitch</tt> in Bookworm and see what you think.</p> + +<p>The package is still not able to build its eBPF module within +Debian. Not sure how much work it would be to get it working, but +suspect some kernel related packages need to be extended with more +header files to get it working.</p> <p>As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address @@ -300,30 +326,143 @@ activities, please send Bitcoin donations to my address - A Brazilian Portuguese translation of the book Made with Creative Commons - https://people.skolelinux.org/pere/blog/A_Brazilian_Portuguese_translation_of_the_book_Made_with_Creative_Commons.html - https://people.skolelinux.org/pere/blog/A_Brazilian_Portuguese_translation_of_the_book_Made_with_Creative_Commons.html - Fri, 3 Dec 2021 09:30:00 +0100 - <p>A few days ago, a productive translator started working on a new -translation of <a href="https://madewith.cc">the Made with Creative -Commons book</a> for Brazilian Portuguese. The translation take place on -<a href="https://hosted.weblate.org/projects/madewithcc/translation/">the -Weblate web based translation system</a>. Once the translation is -complete and proof read, we can publish it on paper as well as in PDF, -ePub and HTML format. The translation is already 16% complete, and if -more people get involved I am conviced it can very quickly reach 100%. -If you are interested in helping out with this or other translations -of the Made with Creative Commons book, start translating on -Weblate. There are partial translations available in Azerbaijani, -Bengali, Brazilian Portuguese, Dutch, French, German, Greek, Polish, -Simplified Chinese, Swedish, Thai and Ukrainian.</p> - -<p>The <a href="https://gitlab.com/gunnarwolf/madewithcc-es.git">git -repository for the book</a> contain all source files needed to build -the book for yourself. -<a href="https://gunnarwolf.gitlab.io/madewithcc-es/">HTML editions</a> -to help with proof reading is also available.</p> + Speech to text, she APTly whispered, how hard can it be? + https://people.skolelinux.org/pere/blog/Speech_to_text__she_APTly_whispered__how_hard_can_it_be_.html + https://people.skolelinux.org/pere/blog/Speech_to_text__she_APTly_whispered__how_hard_can_it_be_.html + Sun, 23 Apr 2023 09:40:00 +0200 + <p>While visiting a convention during Easter, it occurred to me that +it would be great if I could have a digital Dictaphone with +transcribing capabilities, providing me with texts to cut-n-paste into +stuff I need to write. The background is that long drives often bring +up the urge to write on texts I am working on, which of course is out +of the question while driving. With the release of +<a href="https://github.com/openai/whisper/">OpenAI Whisper</a>, this +seem to be within reach with Free Software, so I decided to give it a +go. OpenAI Whisper is a Linux based neural network system to read in +audio files and provide text representation of the speech in that +audio recording. It handle multiple languages and according to its +creators even can translate into a different language than the spoken +one. I have not tested the latter feature. It can either use the CPU +or a GPU with CUDA support. As far as I can tell, CUDA in practice +limit that feature to NVidia graphics cards. I have few of those, as +they do not work great with free software drivers, and have not tested +the GPU option. While looking into the matter, I did discover some +work to provide CUDA support on non-NVidia GPUs, and some work with +the library used by Whisper to port it to other GPUs, but have not +spent much time looking into GPU support yet. I've so far used an old +X220 laptop as my test machine, and only transcribed using its +CPU.</p> + +<p>As it from a privacy standpoint is unthinkable to use computers +under control of someone else (aka a "cloud" service) to transcribe +ones thoughts and personal notes, I want to run the transcribing +system locally on my own computers. The only sensible approach to me +is to make the effort I put into this available for any Linux user and +to upload the needed packages into Debian. Looking at Debian Bookworm, I +discovered that only three packages were missing, +<a href="https://bugs.debian.org/1034307">tiktoken</a>, +<a href="https://bugs.debian.org/1034144">triton</a>, and +<a href="https://bugs.debian.org/1034091">openai-whisper</a>. For a while +I also believed +<a href="https://bugs.debian.org/1034286">ffmpeg-python</a> was +needed, but as its +<a href="https://github.com/kkroening/ffmpeg-python/issues/760">upstream +seem to have vanished</a> I found it safer +<a href="https://github.com/openai/whisper/pull/1242">to rewrite +whisper</a> to stop depending on in than to introduce ffmpeg-python +into Debian. I decided to place these packages under the umbrella of +<a href="https://salsa.debian.org/deeplearning-team">the Debian Deep +Learning Team</a>, which seem like the best team to look after such +packages. Discussing the topic within the group also made me aware +that the triton package was already a future dependency of newer +versions of the torch package being planned, and would be needed after +Bookworm is released.</p> + +<p>All required code packages have been now waiting in +<a href="https://ftp-master.debian.org/new.html">the Debian NEW +queue</a> since Wednesday, heading for Debian Experimental until +Bookworm is released. An unsolved issue is how to handle the neural +network models used by Whisper. The default behaviour of Whisper is +to require Internet connectivity and download the model requested to +<tt>~/.cache/whisper/</tt> on first invocation. This obviously would +fail <a href="https://people.debian.org/~bap/dfsg-faq.html">the +deserted island test of free software</a> as the Debian packages would +be unusable for someone stranded with only the Debian archive and solar +powered computer on a deserted island.</p> + +<p>Because of this, I would love to include the models in the Debian +mirror system. This is problematic, as the models are very large +files, which would put a heavy strain on the Debian mirror +infrastructure around the globe. The strain would be even higher if +the models change often, which luckily as far as I can tell they do +not. The small model, which according to its creator is most useful +for English and in my experience is not doing a great job there +either, is 462 MiB (deb is 414 MiB). The medium model, which to me +seem to handle English speech fairly well is 1.5 GiB (deb is 1.3 GiB) +and the large model is 2.9 GiB (deb is 2.6 GiB). I would assume +everyone with enough resources would prefer to use the large model for +highest quality. I believe the models themselves would have to go +into the non-free part of the Debian archive, as they are not really +including any useful source code for updating the models. The +"source", aka the model training set, according to the creators +consist of "680,000 hours of multilingual and multitask supervised +data collected from the web", which to me reads material with both +unknown copyright terms, unavailable to the general public. In other +words, the source is not available according to the Debian Free +Software Guidelines and the model should be considered non-free.</p> + +<p>I asked the Debian FTP masters for advice regarding uploading a +model package on their IRC channel, and based on the feedback there it +is still unclear to me if such package would be accepted into the +archive. In any case I wrote build rules for a +<a href="https://salsa.debian.org/deeplearning-team/openai-whisper-model">OpenAI +Whisper model package</a> and +<a href="https://github.com/openai/whisper/pull/1257">modified the +Whisper code base</a> to prefer shared files under <tt>/usr/</tt> and +<tt>/var/</tt> over user specific files in <tt>~/.cache/whisper/</tt> +to be able to use these model packages, to prepare for such +possibility. One solution might be to include only one of the models +(small or medium, I guess) in the Debian archive, and ask people to +download the others from the Internet. Not quite sure what to do +here, and advice is most welcome (use the debian-ai mailing list).</p> + +<p>To make it easier to test the new packages while I wait for them to +clear the NEW queue, I created an APT source targeting bookworm. I +selected Bookworm instead of Bullseye, even though I know the latter +would reach more users, is that some of the required dependencies are +missing from Bullseye and I during this phase of testing did not want +to backport a lot of packages just to get up and running.</p> + +<p>Here is a recipe to run as user root if you want to test OpenAI +Whisper using Debian packages on your Debian Bookworm installation, +first adding the APT repository GPG key to the list of trusted keys, +then setting up the APT repository and finally installing the packages +and one of the models:</p> +<p><pre> +curl https://geekbay.nuug.no/~pere/openai-whisper/D78F5C4796F353D211B119E28200D9B589641240.asc \ + -o /etc/apt/trusted.gpg.d/pere-whisper.asc +mkdir -p /etc/apt/sources.list.d +cat > /etc/apt/sources.list.d/pere-whisper.list &lt;&lt;EOF +deb https://geekbay.nuug.no/~pere/openai-whisper/ bookworm main +deb-src https://geekbay.nuug.no/~pere/openai-whisper/ bookworm main +EOF +apt update +apt install openai-whisper +</pre></p> + +<p>The package work for me, but have not yet been tested on any other +computer than my own. With it, I have been able to (badly) transcribe +a 2 minute 40 second Norwegian audio clip to test using the small +model. This took 11 minutes and around 2.2 GiB of RAM. Transcribing +the same file with the medium model gave a accurate text in 77 minutes +using around 5.2 GiB of RAM. My test machine had too little memory to +test the large model, which I believe require 11 GiB of RAM. In +short, this now work for me using Debian packages, and I hope it will +for you and everyone else once the packages enter Debian.</p> + +<p>Now I can start on the audio recording part of this project.</p> + <p>As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p> @@ -331,31 +470,66 @@ activities, please send Bitcoin donations to my address - Debian still an excellent choice for Lego builders - https://people.skolelinux.org/pere/blog/Debian_still_an_excellent_choice_for_Lego_builders.html - https://people.skolelinux.org/pere/blog/Debian_still_an_excellent_choice_for_Lego_builders.html - Sun, 24 Oct 2021 07:10:00 +0200 - <p>The Debian Lego team saw a lot of activity the last few weeks. All -the packages under the team umbrella has been updated to fix -packaging, lintian issues and BTS reports. In addition, a new and -inspiring team member appeared on both the -<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-lego-team">debian-lego-team -Team mailing list</a> and -<a href="irc://irc.debian.org/%23debian-lego">IRC channel -#debian-lego</a>. If you are interested in Lego CAD design and LEGO -Mindstorms programming, check out the -<a href="http://wiki.debian.org/LegoDesigners">team wiki page</a> to -see what Debian can offer the Lego enthusiast.</p> - -<p>Patches has been sent upstream, causing new upstream releases, one -even the first one in more than ten years, and old upstreams was -released with new ones. There are still a lot of work left, and the -team welcome more members to help us make sure Debian is the Linux -distribution of choice for Lego builders. If you want to contribute, -join us in the IRC channel and become part of -<a href="https://salsa.debian.org/debian-lego-team/">the team on -Salsa</a>.</p> - + rtlsdr-scanner, software defined radio frequency scanner for Linux - nice free software + https://people.skolelinux.org/pere/blog/rtlsdr_scanner__software_defined_radio_frequency_scanner_for_Linux____nice_free_software.html + https://people.skolelinux.org/pere/blog/rtlsdr_scanner__software_defined_radio_frequency_scanner_for_Linux____nice_free_software.html + Fri, 7 Apr 2023 23:10:00 +0200 + <p>Today I finally found time to track down a useful radio frequency +scanner for my software defined radio. Just for fun I tried to locate +the radios used in the areas, and a good start would be to scan all +the frequencies to see what is in use. I've tried to find a useful +program earlier, but ran out of time before I managed to find a useful +tool. This time I was more successful, and after a few false leads I +found a description of +<a href="https://www.kali.org/tools/rtlsdr-scanner/">rtlsdr-scanner +over at the Kali site</a>, and was able to track down +<a href="https://gitlab.com/kalilinux/packages/rtlsdr-scanner.git">the +Kali package git repository</a> to build a deb package for the +scanner. Sadly the package is missing from the Debian project itself, +at least in Debian Bullseye. Two runtime dependencies, +<a href="https://gitlab.com/kalilinux/packages/python-visvis.git">python-visvis</a> +and +<a href="https://gitlab.com/kalilinux/packages/python-rtlsdr.git">python-rtlsdr</a> +had to be built and installed separately. Luckily '<tt>gbp +buildpackage</tt>' handled them just fine and no further packages had +to be manually built. The end result worked out of the box after +installation.</p> + +<p>My initial scans for FM channels worked just fine, so I knew the +scanner was functioning. But when I tried to scan every frequency +from 100 to 1000 MHz, the program stopped unexpectedly near the +completion. After some debugging I discovered USB software radio I +used rejected frequencies above 948 MHz, triggering a unreported +exception breaking the scan. Changing the scan to end at 957 worked +better. I similarly found the lower limit to be around 15, and ended +up with the following full scan:</p> + +<p><a href="https://people.skolelinux.org/pere/blog/images/2023-04-07-radio-freq-scanning.png"><img src="https://people.skolelinux.org/pere/blog/images/2023-04-07-radio-freq-scanning.png" width="100%"></a></p> + +<p>Saving the scan did not work, but exporting it as a CSV file worked +just fine. I ended up with around 477k CVS lines with dB level for +the given frequency.</p> + +<p>The save failure seem to be a missing UTF-8 encoding issue in the +python code. Will see if I can find time to send a patch +<a href="https://github.com/CdeMills/RTLSDR-Scanner/">upstream</a> +later to fix this exception:</p> + +<pre> +Traceback (most recent call last): + File "/usr/lib/python3/dist-packages/rtlsdr_scanner/main_window.py", line 485, in __on_save + save_plot(fullName, self.scanInfo, self.spectrum, self.locations) + File "/usr/lib/python3/dist-packages/rtlsdr_scanner/file.py", line 408, in save_plot + handle.write(json.dumps(data, indent=4)) +TypeError: a bytes-like object is required, not 'str' +Traceback (most recent call last): + File "/usr/lib/python3/dist-packages/rtlsdr_scanner/main_window.py", line 485, in __on_save + save_plot(fullName, self.scanInfo, self.spectrum, self.locations) + File "/usr/lib/python3/dist-packages/rtlsdr_scanner/file.py", line 408, in save_plot + handle.write(json.dumps(data, indent=4)) +TypeError: a bytes-like object is required, not 'str' +</pre> + <p>As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p> @@ -363,180 +537,49 @@ activities, please send Bitcoin donations to my address - Hvilke partier støttet datalagringsdirektivet 2 og 3? - https://people.skolelinux.org/pere/blog/Hvilke_partier_st_ttet_datalagringsdirektivet_2_og_3_.html - https://people.skolelinux.org/pere/blog/Hvilke_partier_st_ttet_datalagringsdirektivet_2_og_3_.html - Fri, 10 Sep 2021 08:35:00 +0200 - <p>Relativt stille har Stortinget den siste perioden vedtatt -<a href="https://no.wikipedia.org/wiki/Datalagringsdirektivet">datalagringsdirektivet</a> versjon to og tre, og slik økt -overvåkningstrykket på Internett i Norge betraktelig. Det blir mer og -mer viktig å <a href="https://www.torproject.org/">bruke Tor</a> og -god kryptering for å sikre sin privatsfære på Internett.</p> - -<p>Først ut var -<a href="https://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/?p=79451">ny -etterretningstjenestelov</a> vedtatt 2020-06-11, der samtlige partier -på stortinget (Arbeiderpartiet, Fremskrittspartiet, Høyre, Kristelig -Folkeparti, Miljøpartiet De Grønne, Senterpartiet, Sosialistisk -Venstreparti, Venstre og et forhenværende Fremskrittspartimedlem) -unntatt Rødt støttet loven i sin helhet da den ble vedtatt. - -<p>Dernest kom -<a href="https://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/?p=84446">ny -ekomlov</a> vedtatt 2021-06-08 med støtte fra Arbeiderpartiet, -Fremskrittspartiet, Høyre, Kristelig Folkeparti, Senterpartiet, -Venstre og et forhenværende Fremskrittspartimedlem mot stemmene fra -Sosialistisk Venstreparti, Miljøpartiet De Grønne og Rødt.</p> - -<p>Intet parti som støtter slike inngrep i privatsfæren får min støtte -i valg. Heldigvis er det mange parter også utenfor Stortinget som kan -ha nytte av den økonomiske støtten som følger av hver stemme de får i -stortingsvalget i år, selv om de ikke kommer inn på Stortinget i denne -omgang.</p> - -<p>Som et annet målepunkt på hvor mye vern av privatsfæren betyr for -stortingspartiene kan jeg fortelle at ikke et eneste av partiene på -Stortinget har besvart -<a href="http://people.skolelinux.org/pere/blog/Hva_mener_partiene_om_vern_av_privatsf_ren_og_sporing_av_befolkningen_.html">brevet -med spørsmål rundt vern av privatsfæren</a> som de fikk i sommer.</p> - -<p>Hvis du lurer på hva som er problemet med datalagringsdirektivet, -anbefaler jeg å lese <a href="http://www.uhuru.biz/?cat=84">artiklene -fra Jon Wessel-Aas</a> om temaet.</p> - -<p>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 -<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>. -Merk, betaling med bitcoin er ikke anonymt. :)</p> - - - - - - Mechanic's words in five languages, English, Norwegian and Northern Sámi editions - https://people.skolelinux.org/pere/blog/Mechanic_s_words_in_five_languages__English__Norwegian_and_Northern_S_mi_editions.html - https://people.skolelinux.org/pere/blog/Mechanic_s_words_in_five_languages__English__Norwegian_and_Northern_S_mi_editions.html - Wed, 4 Aug 2021 15:30:00 +0200 - <p>Almost thirty years ago, some forward looking teachers at Samisk -videregående skole og reindriftsskole teaching metal work and Northern -Sámi, decided to create a list of words used in Northern Sámi metal -work. After almost ten years this resulted in a dictionary database, -published as the book -"<a href="https://ovttas.no/nb/girji_mekanikerord">Mekanihkkársánit : -Mekanikerord = Mekaanisen alan sanasto = Mechanic's words</a>" in -1999. The -<a href="http://www.skuvla.info/skolehist/sveinl-n.htm">story of this -work</a> is available from the pen of Svein Lund, one of the leading -actors behind this effort. They even got the dictionary approved by -the Sámi Language Council as the recommended metal work words to use.</p> - -<p>Fast forward twenty years, I came across this work when I recently -became interested in metal work, and started watching educational and -funny videos on the topic, like the ones from -<a href="https://yewtu.be/channel/UCKLIIdKEpjAnn8E76KP7sQg">mrpete222</a> -and <a href="https://yewtu.be/channel/UC5NO8MgTQKHAWXp6z8Xl7yQ">This -Old Tony</a>. But they all talk English, but I wanted to know what -the tools and techniques they used were called in Norwegian. Trying -to track down a good dictionary from English to Norwegian, after much -searching, I came across the database of words created -almost thirty years ago, with translations into English, Norwegian, -Northern Sámi, Swedish and Finnish. This gave me a lot of the -Norwegian phrases I had been looking for. To make it easier for the -next person trying to track down a good Norwegian dictionary for the -metal worker, and because I knew the person behind the database from -my Skolelinux / Debian Edu days, I decided to ask if the database -could be released to the public without any usage limitations, in -other words as a Creative Commons licensed data set. And happily, -after consulting with the Sámi Parliament of Norway, the database is -now available with the Creative Commons Attribution 4.0 International -license from -<a href="https://gitlab.com/petterreinholdtsen/mekanikerord">my gitlab -repository</a>.</p> - -<p>The dictionary entries look slightly different, depending on the -language in focus. This is the same entry in the different editions. - -<p><em>English</em></p> - -<blockquote> -<dl> - <dt><strong>lathe</strong></dt> - - <dd><p>dreiebenk (nb) várve, várvenbea&#331;ka, jorahanbea&#331;ka, vátnanbea&#331;ka (se) svarv (sv) sorvi (fi) </p></dd> - -</dl> -</blockquote> - -<p><em>Norwegian</em></p> - -<blockquote> -<dl> - <dt><strong>dreiebenk</strong></dt> - - <dd><p>lathe (en) várve, várvenbea&#331;ka, jorahanbea&#331;ka, - vátnanbea&#331;ka (se) svarv (sv) sorvi (fi) </p></dd> - - <dd><p>(nb): sponskjærande bearbeidingsmaskin der ein med - skjæreverktøy lausgjør spon frå eit roterande - arbetsstykke</p></dd> - -</dl> -</blockquote> - -<p><em>Northern Sámi</em></p> - -<blockquote> -<dl> - <dt><strong>várve, várvenbea&#331;ka, jorahanbea&#331;ka, vátnanbea&#331;ka</strong></dt> - - <dd><p>dreiebenk (nb) lathe (en) svarv (sv) sorvi (fi) </p></dd> - - <dd><p>(se): ma&#353;iidna mainna &#269;uohppá vuolahasaid jorri - bargoávdnasis</p></dd> - - <dd><p>(nb): sponskjærande bearbeidingsmaskin der ein med - skjæreverktøy lausgjør spon frå eit roterande - arbetsstykke</p></dd> - -<dl> -</blockquote> - -<p>The database included term description in both Norwegian and -Northern Sámi, but not English. Because of this, the Northern Sámi -edition include both descriptions, the Norwegian edition include the -Norwegian description and the English edition lack a descripiton.</p> - -<p>Once the database was available without any usage restrictions, and -armed with my experience in publishing books, I decided to publish a -Norwegian/English dictionary as a book using the database, to make the -data set available also on paper and as an ebook. Further into the -project, it occurred to me that I could just as easily make an English -dictionary, and talking to Svein and concluding that it was within -reach, I decided to make a Northern Sámi dictionary too.</p> - -<p>Thus I suddenly find myself publishing a Northern Sámi dictionary, -even though I do not understand the language myself. I hope it will -be well received, and can help revive the impressive work done almost -thirty years ago to document the vocabulary of metal workers. If I -get some help, I might even extend it with some of the words I find -missing, like collet, rotary broach, carbide, knurler, arbor press and -others. But the first edition build from a lightly edited version of -the original database, with no new entries added. If you would like -to check it out, visit -<a href="http://www.hungry.com/~pere/publisher/">my list of published -books</a> and consider -<a href="https://www.lulu.com/search?contributor=Petter+Reinholdtsen">buying -a paper or ebook copy from lulu.com</a>. The paper edition is only -available in hardcover to increase its durability in the workshop.</p> - -<p>I am very happy to report that in the process, and thanks to help -from both Svein Lund and Børre Gaup who understand the language, the -docbook tools I use to create books, dblatex and docbook-xsl, now -include support for Northern Sámi. Before I started, these lacked the -needed locale settings for this language, but now the patches are -included upstream.</p> - + OpenSnitch available in Debian Sid and Bookworm + https://people.skolelinux.org/pere/blog/OpenSnitch_available_in_Debian_Sid_and_Bookworm.html + https://people.skolelinux.org/pere/blog/OpenSnitch_available_in_Debian_Sid_and_Bookworm.html + Sat, 25 Feb 2023 20:30:00 +0100 + <p>Thanks to the efforts of the OpenSnitch lead developer Gustavo +Iñiguez Goya allowing me to sponsor the upload, +<a href="https://tracker.debian.org/pkg/opensnitch">the interactive +application firewall OpenSnitch</a> is now available in Debian +Testing, soon to become the next stable release of Debian.</p> + +<p>This is a package which set up a network firewall on one or more +machines, which is controlled by a graphical user interface that will +ask the user if a program should be allowed to connect to the local +network or the Internet. If some background daemon is trying to dial +home, it can be blocked from doing so with a simple mouse click, or by +default simply by not doing anything when the GUI question dialog pop +up. A list of all programs discovered using the network is provided +in the GUI, giving the user an overview of how the machine(s) programs +use the network.</p> + +<p>OpenSnitch was uploaded for NEW processing about a month ago, and I +had little hope of it getting accepted and shaping up in time for the +package freeze, but the Debian ftpmasters proved to be amazingly quick +at checking out the package and it was accepted into the archive about +week after the first upload. It is now team maintained under the Go +language team umbrella. A few fixes to the default setup is only in +Sid, and should migrate to Testing/Bookworm in a week.</p> + +<p>During testing I ran into an +<a href="https://github.com/evilsocket/opensnitch/issues/813">issue +with Minecraft server broadcasts disappearing</a>, which was quickly +resolved by the developer with a patch and a proposed configuration +change. I've been told this was caused by the Debian packages default +use if /proc/ information to track down kernel status, instead of the +newer eBPF module that can be used. The reason is simply that +upstream and I have failed to find a way to build the eBPF modules for +OpenSnitch without a complete configured Linux kernel source tree, +which as far as we can tell is unavailable as a build dependency in +Debian. We tried unsuccessfully so far to use the kernel-headers +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.</p> + <p>As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>