X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/8107e228ba61faa5ffcd0fec9574341abe60cd8f..79a2dc82881e483abc18900de789d987f912b0f0:/blog/index.html diff --git a/blog/index.html b/blog/index.html index 8b7c219658..fbebdf1efc 100644 --- a/blog/index.html +++ b/blog/index.html @@ -19,6 +19,44 @@ +
+
I.F. Stone - an inspiration for us all
+
13th April 2016
+

I first got to know I.F. Stone when I came across an article by Jon +Schwarz on The Intercept +about +his extraordinary contribution to investigative journalism in +USA. The article is about a new documentary in two parts +(part one is 12 minutes and +part two is 30 minutes), and +I found both truly fascinating. It is amazing what he was able to +find by digging up public sources and government papers. He +documented lots of government abuse and cover ups, and I find +his weekly news letters +inspiring to read even today.

+ +

+All governments are run by liars and nothing they say should be believed. +
- I. F. Stone +

+ +

His starting point was that reporters should not assume governments +and corporations are telling the truth, but verify all their claims as +much as possible. I wonder how many Norwegian reporters can be said +to follow the principles of I. F. Stone. They are definitely in short +supply. If you, like me half a year ago, have never heard of him, +check him out.

+
+
+ + + Tags: english, offentlig innsyn. + + +
+
+
+
A French paperback edition of the book Free Culture by Lawrence Lessig is now available
12th April 2016
@@ -1097,88 +1135,6 @@ command line.

-
-
Using appstream in Debian to locate packages with firmware and mime type support
-
4th February 2016
-

The appstream system -is taking shape in Debian, and one provided feature is a very -convenient way to tell you which package to install to make a given -firmware file available when the kernel is looking for it. This can -be done using apt-file too, but that is for someone else to blog -about. :)

- -

Here is a small recipe to find the package with a given firmware -file, in this example I am looking for ctfw-3.2.3.0.bin, randomly -picked from the set of firmware announced using appstream in Debian -unstable. In general you would be looking for the firmware requested -by the kernel during kernel module loading. To find the package -providing the example file, do like this:

- -
-% apt install appstream
-[...]
-% apt update
-[...]
-% appstreamcli what-provides firmware:runtime ctfw-3.2.3.0.bin | \
-  awk '/Package:/ {print $2}'
-firmware-qlogic
-%
-
- -

See the -appstream wiki page to learn how to embed the package metadata in -a way appstream can use.

- -

This same approach can be used to find any package supporting a -given MIME type. This is very useful when you get a file you do not -know how to handle. First find the mime type using file ---mime-type, and next look up the package providing support for -it. Lets say you got an SVG file. Its MIME type is image/svg+xml, -and you can find all packages handling this type like this:

- -
-% apt install appstream
-[...]
-% apt update
-[...]
-% appstreamcli what-provides mimetype image/svg+xml | \
-  awk '/Package:/ {print $2}'
-bkchem
-phototonic
-inkscape
-shutter
-tetzle
-geeqie
-xia
-pinta
-gthumb
-karbon
-comix
-mirage
-viewnior
-postr
-ristretto
-kolourpaint4
-eog
-eom
-gimagereader
-midori
-%
-
- -

I believe the MIME types are fetched from the desktop file for -packages providing appstream metadata.

-
-
- - - Tags: debian, english. - - -
-
-
-

RSS feed