]> pere.pagekite.me Git - homepage.git/blob - blog/archive/2017/06/06.rss
Generated.
[homepage.git] / blog / archive / 2017 / 06 / 06.rss
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
3 <channel>
4 <title>Petter Reinholdtsen - Entries from June 2017</title>
5 <description>Entries from June 2017</description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7
8
9 <item>
10 <title>Updated sales number for my Free Culture paper editions</title>
11 <link>http://people.skolelinux.org/pere/blog/Updated_sales_number_for_my_Free_Culture_paper_editions.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Updated_sales_number_for_my_Free_Culture_paper_editions.html</guid>
13 <pubDate>Mon, 12 Jun 2017 11:40:00 +0200</pubDate>
14 <description>&lt;p&gt;It is pleasing to see that the work we put down in publishing new
15 editions of the classic &lt;a href=&quot;http://www.free-culture.cc/&quot;&gt;Free
16 Culture book&lt;/a&gt; by the founder of the Creative Commons movement,
17 Lawrence Lessig, is still being appreciated. I had a look at the
18 latest sales numbers for the paper edition today. Not too impressive,
19 but some buyers still exist. All the revenue from the books are sent
20 to the &lt;a href=&quot;https://creativecommons.org/&quot;&gt;Creative Commons
21 Corporation&lt;/a&gt;, and they receive the largest cut if you buy directly
22 from Lulu. Most books are sold via Amazon, with Ingram second and
23 only a small fraction directly from Lulu. The ebook edition is
24 available for free from
25 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Github&lt;/a&gt;.&lt;/p&gt;
26
27 &lt;table border=&quot;0&quot;&gt;
28 &lt;tr&gt;&lt;th rowspan=&quot;2&quot; valign=&quot;bottom&quot;&gt;Title / language&lt;/th&gt;&lt;th colspan=&quot;3&quot;&gt;Quantity&lt;/th&gt;&lt;/tr&gt;
29 &lt;tr&gt;&lt;th&gt;2016 jan-jun&lt;/th&gt;&lt;th&gt;2016 jul-dec&lt;/th&gt;&lt;th&gt;2017 jan-may&lt;/th&gt;&lt;/tr&gt;
30
31 &lt;tr&gt;
32 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;Culture Libre / French&lt;/a&gt;&lt;/td&gt;
33 &lt;td align=&quot;right&quot;&gt;3&lt;/td&gt;
34 &lt;td align=&quot;right&quot;&gt;6&lt;/td&gt;
35 &lt;td align=&quot;right&quot;&gt;15&lt;/td&gt;
36 &lt;/tr&gt;
37
38 &lt;tr&gt;
39 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Fri kultur / Norwegian&lt;/a&gt;&lt;/td&gt;
40 &lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;
41 &lt;td align=&quot;right&quot;&gt;1&lt;/td&gt;
42 &lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
43 &lt;/tr&gt;
44
45 &lt;tr&gt;
46 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html&quot;&gt;Free Culture / English&lt;/a&gt;&lt;/td&gt;
47 &lt;td align=&quot;right&quot;&gt;14&lt;/td&gt;
48 &lt;td align=&quot;right&quot;&gt;27&lt;/td&gt;
49 &lt;td align=&quot;right&quot;&gt;16&lt;/td&gt;
50 &lt;/tr&gt;
51
52 &lt;tr&gt;
53 &lt;td&gt;Total&lt;/td&gt;
54 &lt;td align=&quot;right&quot;&gt;24&lt;/td&gt;
55 &lt;td align=&quot;right&quot;&gt;34&lt;/td&gt;
56 &lt;td align=&quot;right&quot;&gt;31&lt;/td&gt;
57 &lt;/tr&gt;
58
59 &lt;/table&gt;
60
61 &lt;p&gt;A bit sad to see the low sales number on the Norwegian edition, and
62 a bit surprising the English edition still selling so well.&lt;/p&gt;
63
64 &lt;p&gt;If you would like to translate and publish the book in your native
65 language, I would be happy to help make it happen. Please get in
66 touch.&lt;/p&gt;
67 </description>
68 </item>
69
70 <item>
71 <title>Release 0.1.1 of free software archive system Nikita announced</title>
72 <link>http://people.skolelinux.org/pere/blog/Release_0_1_1_of_free_software_archive_system_Nikita_announced.html</link>
73 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Release_0_1_1_of_free_software_archive_system_Nikita_announced.html</guid>
74 <pubDate>Sat, 10 Jun 2017 00:40:00 +0200</pubDate>
75 <description>&lt;p&gt;I am very happy to report that the
76 &lt;a href=&quot;https://github.com/hiOA-ABI/nikita-noark5-core&quot;&gt;Nikita Noark 5
77 core project&lt;/a&gt; tagged its second release today. The free software
78 solution is an implementation of the Norwegian archive standard Noark
79 5 used by government offices in Norway. These were the changes in
80 version 0.1.1 since version 0.1.0 (from NEWS.md):
81
82 &lt;ul&gt;
83
84 &lt;li&gt;Continued work on the angularjs GUI, including document upload.&lt;/li&gt;
85 &lt;li&gt;Implemented correspondencepartPerson, correspondencepartUnit and
86 correspondencepartInternal&lt;/li&gt;
87 &lt;li&gt;Applied for coverity coverage and started submitting code on
88 regualr basis.&lt;/li&gt;
89 &lt;li&gt;Started fixing bugs reported by coverity&lt;/li&gt;
90 &lt;li&gt;Corrected and completed HATEOAS links to make sure entire API is
91 available via URLs in _links.&lt;/li&gt;
92 &lt;li&gt;Corrected all relation URLs to use trailing slash.&lt;/li&gt;
93 &lt;li&gt;Add initial support for storing data in ElasticSearch.&lt;/li&gt;
94 &lt;li&gt;Now able to receive and store uploaded files in the archive.&lt;/li&gt;
95 &lt;li&gt;Changed JSON output for object lists to have relations in _links.&lt;/li&gt;
96 &lt;li&gt;Improve JSON output for empty object lists.&lt;/li&gt;
97 &lt;li&gt;Now uses correct MIME type application/vnd.noark5-v4+json.&lt;/li&gt;
98 &lt;li&gt;Added support for docker container images.&lt;/li&gt;
99 &lt;li&gt;Added simple API browser implemented in JavaScript/Angular.&lt;/li&gt;
100 &lt;li&gt;Started on archive client implemented in JavaScript/Angular.&lt;/li&gt;
101 &lt;li&gt;Started on prototype to show the public mail journal.&lt;/li&gt;
102 &lt;li&gt;Improved performance by disabling Sprint FileWatcher.&lt;/li&gt;
103 &lt;li&gt;Added support for &#39;arkivskaper&#39;, &#39;saksmappe&#39; and &#39;journalpost&#39;.&lt;/li&gt;
104 &lt;li&gt;Added support for some metadata codelists.&lt;/li&gt;
105 &lt;li&gt;Added support for Cross-origin resource sharing (CORS).&lt;/li&gt;
106 &lt;li&gt;Changed login method from Basic Auth to JSON Web Token (RFC 7519)
107 style.&lt;/li&gt;
108 &lt;li&gt;Added support for GET-ing ny-* URLs.&lt;/li&gt;
109 &lt;li&gt;Added support for modifying entities using PUT and eTag.&lt;/li&gt;
110 &lt;li&gt;Added support for returning XML output on request.&lt;/li&gt;
111 &lt;li&gt;Removed support for English field and class names, limiting ourself
112 to the official names.&lt;/li&gt;
113 &lt;li&gt;...&lt;/li&gt;
114
115 &lt;/ul&gt;
116
117 &lt;p&gt;If this sound interesting to you, please contact us on IRC (#nikita
118 on irc.freenode.net) or email
119 (&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
120 mailing list).&lt;/p&gt;
121 </description>
122 </item>
123
124 <item>
125 <title>Idea for storing trusted timestamps in a Noark 5 archive</title>
126 <link>http://people.skolelinux.org/pere/blog/Idea_for_storing_trusted_timestamps_in_a_Noark_5_archive.html</link>
127 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Idea_for_storing_trusted_timestamps_in_a_Noark_5_archive.html</guid>
128 <pubDate>Wed, 7 Jun 2017 21:40:00 +0200</pubDate>
129 <description>&lt;p&gt;&lt;em&gt;This is a copy of
130 &lt;a href=&quot;https://lists.nuug.no/pipermail/nikita-noark/2017-June/000297.html&quot;&gt;an
131 email I posted to the nikita-noark mailing list&lt;/a&gt;. Please follow up
132 there if you would like to discuss this topic. The background is that
133 we are making a free software archive system based on the Norwegian
134 &lt;a href=&quot;https://www.arkivverket.no/forvaltning-og-utvikling/regelverk-og-standarder/noark-standarden&quot;&gt;Noark
135 5 standard&lt;/a&gt; for government archives.&lt;/em&gt;&lt;/p&gt;
136
137 &lt;p&gt;I&#39;ve been wondering a bit lately how trusted timestamps could be
138 stored in Noark 5.
139 &lt;a href=&quot;https://en.wikipedia.org/wiki/Trusted_timestamping&quot;&gt;Trusted
140 timestamps&lt;/a&gt; can be used to verify that some information
141 (document/file/checksum/metadata) have not been changed since a
142 specific time in the past. This is useful to verify the integrity of
143 the documents in the archive.&lt;/p&gt;
144
145 &lt;p&gt;Then it occured to me, perhaps the trusted timestamps could be
146 stored as dokument variants (ie dokumentobjekt referered to from
147 dokumentbeskrivelse) with the filename set to the hash it is
148 stamping?&lt;/p&gt;
149
150 &lt;p&gt;Given a &quot;dokumentbeskrivelse&quot; with an associated &quot;dokumentobjekt&quot;,
151 a new dokumentobjekt is associated with &quot;dokumentbeskrivelse&quot; with the
152 same attributes as the stamped dokumentobjekt except these
153 attributes:&lt;/p&gt;
154
155 &lt;ul&gt;
156
157 &lt;li&gt;format -&gt; &quot;RFC3161&quot;
158 &lt;li&gt;mimeType -&gt; &quot;application/timestamp-reply&quot;
159 &lt;li&gt;formatDetaljer -&gt; &quot;&amp;lt;source URL for timestamp service&amp;gt;&quot;
160 &lt;li&gt;filenavn -&gt; &quot;&amp;lt;sjekksum&amp;gt;.tsr&quot;
161
162 &lt;/ul&gt;
163
164 &lt;p&gt;This assume a service following
165 &lt;a href=&quot;https://tools.ietf.org/html/rfc3161&quot;&gt;IETF RFC 3161&lt;/a&gt; is
166 used, which specifiy the given MIME type for replies and the .tsr file
167 ending for the content of such trusted timestamp. As far as I can
168 tell from the Noark 5 specifications, it is OK to have several
169 variants/renderings of a dokument attached to a given
170 dokumentbeskrivelse objekt. It might be stretching it a bit to make
171 some of these variants represent crypto-signatures useful for
172 verifying the document integrity instead of representing the dokument
173 itself.&lt;/p&gt;
174
175 &lt;p&gt;Using the source of the service in formatDetaljer allow several
176 timestamping services to be used. This is useful to spread the risk
177 of key compromise over several organisations. It would only be a
178 problem to trust the timestamps if all of the organisations are
179 compromised.&lt;/p&gt;
180
181 &lt;p&gt;The following oneliner on Linux can be used to generate the tsr
182 file. $input is the path to the file to checksum, and $sha256 is the
183 SHA-256 checksum of the file (ie the &quot;&lt;sjekksum&gt;.tsr&quot; value mentioned
184 above).&lt;/p&gt;
185
186 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
187 openssl ts -query -data &quot;$inputfile&quot; -cert -sha256 -no_nonce \
188 | curl -s -H &quot;Content-Type: application/timestamp-query&quot; \
189 --data-binary &quot;@-&quot; http://zeitstempel.dfn.de &gt; $sha256.tsr
190 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
191
192 &lt;p&gt;To verify the timestamp, you first need to download the public key
193 of the trusted timestamp service, for example using this command:&lt;/p&gt;
194
195 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
196 wget -O ca-cert.txt \
197 https://pki.pca.dfn.de/global-services-ca/pub/cacert/chain.txt
198 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
199
200 &lt;p&gt;Note, the public key should be stored alongside the timestamps in
201 the archive to make sure it is also available 100 years from now. It
202 is probably a good idea to standardise how and were to store such
203 public keys, to make it easier to find for those trying to verify
204 documents 100 or 1000 years from now. :)&lt;/p&gt;
205
206 &lt;p&gt;The verification itself is a simple openssl command:&lt;/p&gt;
207
208 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
209 openssl ts -verify -data $inputfile -in $sha256.tsr \
210 -CAfile ca-cert.txt -text
211 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
212
213 &lt;p&gt;Is there any reason this approach would not work? Is it somehow against
214 the Noark 5 specification?&lt;/p&gt;
215 </description>
216 </item>
217
218 <item>
219 <title>Når nynorskoversettelsen svikter til eksamen...</title>
220 <link>http://people.skolelinux.org/pere/blog/N_r_nynorskoversettelsen_svikter_til_eksamen___.html</link>
221 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/N_r_nynorskoversettelsen_svikter_til_eksamen___.html</guid>
222 <pubDate>Sat, 3 Jun 2017 08:20:00 +0200</pubDate>
223 <description>&lt;p&gt;&lt;a href=&quot;http://www.aftenposten.no/norge/Krever-at-elever-ma-fa-annullert-eksamen-etter-rot-med-oppgavetekster-622459b.html&quot;&gt;Aftenposten
224 melder i dag&lt;/a&gt; om feil i eksamensoppgavene for eksamen i politikk og
225 menneskerettigheter, der teksten i bokmåls og nynorskutgaven ikke var
226 like. Oppgaveteksten er gjengitt i artikkelen, og jeg ble nysgjerring
227 på om den fri oversetterløsningen
228 &lt;a href=&quot;https://www.apertium.org/&quot;&gt;Apertium&lt;/a&gt; ville gjort en bedre
229 jobb enn Utdanningsdirektoratet. Det kan se slik ut.&lt;/p&gt;
230
231 &lt;p&gt;Her er bokmålsoppgaven fra eksamenen:&lt;/p&gt;
232
233 &lt;blockquote&gt;
234 &lt;p&gt;Drøft utfordringene knyttet til nasjonalstatenes og andre aktørers
235 rolle og muligheter til å håndtere internasjonale utfordringer, som
236 for eksempel flykningekrisen.&lt;/p&gt;
237
238 &lt;p&gt;Vedlegge er eksempler på tekster som kan gi relevante perspektiver
239 på temaet:&lt;/p&gt;
240 &lt;ol&gt;
241 &lt;li&gt;Flykningeregnskapet 2016, UNHCR og IDMC
242 &lt;li&gt;«Grenseløst Europa for fall» A-Magasinet, 26. november 2015
243 &lt;/ol&gt;
244
245 &lt;/blockquote&gt;
246
247 &lt;p&gt;Dette oversetter Apertium slik:&lt;/p&gt;
248
249 &lt;blockquote&gt;
250 &lt;p&gt;Drøft utfordringane knytte til nasjonalstatane sine og rolla til
251 andre aktørar og høve til å handtera internasjonale utfordringar, som
252 til dømes *flykningekrisen.&lt;/p&gt;
253
254 &lt;p&gt;Vedleggja er døme på tekster som kan gje relevante perspektiv på
255 temaet:&lt;/p&gt;
256
257 &lt;ol&gt;
258 &lt;li&gt;*Flykningeregnskapet 2016, *UNHCR og *IDMC&lt;/li&gt;
259 &lt;li&gt;«*Grenseløst Europa for fall» A-Magasinet, 26. november 2015&lt;/li&gt;
260 &lt;/ol&gt;
261
262 &lt;/blockquote&gt;
263
264 &lt;p&gt;Ord som ikke ble forstått er markert med stjerne (*), og trenger
265 ekstra språksjekk. Men ingen ord er forsvunnet, slik det var i
266 oppgaven elevene fikk presentert på eksamen. Jeg mistenker dog at
267 &quot;andre aktørers rolle og muligheter til ...&quot; burde vært oversatt til
268 &quot;rolla til andre aktørar og deira høve til ...&quot; eller noe slikt, men
269 det er kanskje flisespikking. Det understreker vel bare at det alltid
270 trengs korrekturlesning etter automatisk oversettelse.&lt;/p&gt;
271 </description>
272 </item>
273
274 </channel>
275 </rss>