1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/' xmlns:
atom=
"http://www.w3.org/2005/Atom">
4 <title>Petter Reinholdtsen
</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
7 <atom:link href=
"http://people.skolelinux.org/pere/blog/index.rss" rel=
"self" type=
"application/rss+xml" />
10 <title>Språkkoder for POSIX locale i Norge
</title>
11 <link>http://people.skolelinux.org/pere/blog/Spr_kkoder_for_POSIX_locale_i_Norge.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Spr_kkoder_for_POSIX_locale_i_Norge.html
</guid>
13 <pubDate>Fri,
11 Apr
2014 21:
30:
00 +
0200</pubDate>
14 <description><p
>For
12 år siden, skrev jeg et lite notat om
15 <a href=
"http://i18n.skolelinux.no/localekoder.txt
">bruk av språkkoder
16 i Norge
</a
>. Jeg ble nettopp minnet på dette da jeg fikk spørsmål om
17 notatet fortsatt var aktuelt, og tenkte det var greit å repetere hva
18 som fortsatt gjelder. Det jeg skrev da er fortsatt like aktuelt.
</p
>
20 <p
>Når en velger språk i programmer på unix, så velger en blant mange
21 språkkode. For språk i Norge anbefales følgende språkkoder (anbefalt
22 locale i parantes):
</p
>
25 <dt
>nb (nb_NO)
</dt
><dd
>Bokmål i Norge
</dd
>
26 <dt
>nn (nn_NO)
</dt
><dd
>Nynorsk i Norge
</dd
>
27 <dt
>se (se_NO)
</dt
><dd
>Nordsamisk i Norge
</dd
>
30 <p
>Alle programmer som bruker andre koder bør endres.
</p
>
32 <p
>Språkkoden bør brukes når .po-filer navngis og installeres. Dette
33 er ikke det samme som locale-koden. For Norsk Bokmål, så bør filene
34 være navngitt nb.po, mens locale (LANG) bør være nb_NO.
</p
>
36 <p
>Hvis vi ikke får standardisert de kodene i alle programmene med
37 norske oversettelser, så er det umulig å gi LANG-variablen ett innhold
38 som fungerer for alle programmer.
</p
>
40 <p
>Språkkodene er de offisielle kodene fra ISO
639, og bruken av dem i
41 forbindelse med POSIX localer er standardisert i RFC
3066 og ISO
42 15897. Denne anbefalingen er i tråd med de angitte standardene.
</p
>
44 <p
>Følgende koder er eller har vært i bruk som locale-verdier for
45 "norske
" språk. Disse bør unngås, og erstattes når de oppdages:
</p
>
47 <p
><table
>
48 <tr
><td
>norwegian
</td
><td
>-
> nb_NO
</td
></tr
>
49 <tr
><td
>bokmål
</td
><td
>-
> nb_NO
</td
></tr
>
50 <tr
><td
>bokmal
</td
><td
>-
> nb_NO
</td
></tr
>
51 <tr
><td
>nynorsk
</td
><td
>-
> nn_NO
</td
></tr
>
52 <tr
><td
>no
</td
><td
>-
> nb_NO
</td
></tr
>
53 <tr
><td
>no_NO
</td
><td
>-
> nb_NO
</td
></tr
>
54 <tr
><td
>no_NY
</td
><td
>-
> nn_NO
</td
></tr
>
55 <tr
><td
>sme_NO
</td
><td
>-
> se_NO
</td
></tr
>
56 </table
></p
>
58 <p
>Merk at når det gjelder de samiske språkene, at se_NO i praksis
59 henviser til nordsamisk i Norge, mens f.eks. smj_NO henviser til
60 lulesamisk. Dette notatet er dog ikke ment å gi råd rundt samiske
62 <a href=
"http://www.divvun.no/
">Divvun-prosjektet
</a
> en bedre
65 <p
><strong
>Referanser:
</strong
></p
>
69 <li
><a href=
"http://www.rfc-base.org/rfc-
3066.html
">RFC
3066 - Tags
70 for the Identification of Languages
</a
> (Erstatter RFC
1766)
</li
>
72 <li
><a href=
"http://www.loc.gov/standards/iso639-
2/langcodes.html
">ISO
73 639</a
> - Codes for the Representation of Names of Languages
</li
>
75 <li
><a href=
"http://std.dkuug.dk/jtc1/sc22/wg20/docs/n897-
14652w25.pdf
">ISO
76 DTR
14652</a
> - locale-standard Specification method for cultural
77 conventions
</li
>
79 <li
><a href=
"http://std.dkuug.dk/jtc1/sc22/wg20/docs/n610.pdf
">ISO
80 15897: Registration procedures for cultural elements (cultural
82 <a href=
"http://std.dkuug.dk/jtc1/sc22/wg20/docs/n849-
15897wd6.pdf
">(nytt
83 draft)
</a
></li
>
85 <li
><a href=
"http://std.dkuug.dk/jtc1/sc22/wg20/
">ISO/IEC
86 JTC1/SC22/WG20
</a
> - Gruppen for i18n-standardisering i ISO
</li
>
93 <title>S3QL, a locally mounted cloud file system - nice free software
</title>
94 <link>http://people.skolelinux.org/pere/blog/S3QL__a_locally_mounted_cloud_file_system___nice_free_software.html
</link>
95 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/S3QL__a_locally_mounted_cloud_file_system___nice_free_software.html
</guid>
96 <pubDate>Wed,
9 Apr
2014 11:
30:
00 +
0200</pubDate>
97 <description><p
>For a while now, I have been looking for a sensible offsite backup
98 solution for use at home. My requirements are simple, it must be
99 cheap and locally encrypted (in other words, I keep the encryption
100 keys, the storage provider do not have access to my private files).
101 One idea me and my friends had many years ago, before the cloud
102 storage providers showed up, was to use Google mail as storage,
103 writing a Linux block device storing blocks as emails in the mail
104 service provided by Google, and thus get heaps of free space. On top
105 of this one can add encryption, RAID and volume management to have
106 lots of (fairly slow, I admit that) cheap and encrypted storage. But
107 I never found time to implement such system. But the last few weeks I
108 have looked at a system called
109 <a href=
"https://bitbucket.org/nikratio/s3ql/
">S3QL
</a
>, a locally
110 mounted network backed file system with the features I need.
</p
>
112 <p
>S3QL is a fuse file system with a local cache and cloud storage,
113 handling several different storage providers, any with Amazon S3,
114 Google Drive or OpenStack API. There are heaps of such storage
115 providers. S3QL can also use a local directory as storage, which
116 combined with sshfs allow for file storage on any ssh server. S3QL
117 include support for encryption, compression, de-duplication, snapshots
118 and immutable file systems, allowing me to mount the remote storage as
119 a local mount point, look at and use the files as if they were local,
120 while the content is stored in the cloud as well. This allow me to
121 have a backup that should survive fire. The file system can not be
122 shared between several machines at the same time, as only one can
123 mount it at the time, but any machine with the encryption key and
124 access to the storage service can mount it if it is unmounted.
</p
>
126 <p
>It is simple to use. I
'm using it on Debian Wheezy, where the
127 package is included already. So to get started, run
<tt
>apt-get
128 install s3ql
</tt
>. Next, pick a storage provider. I ended up picking
129 Greenqloud, after reading their nice recipe on
130 <a href=
"https://greenqloud.zendesk.com/entries/
44611757-How-To-Use-S3QL-to-mount-a-StorageQloud-bucket-on-Debian-Wheezy
">how
131 to use S3QL with their Amazon S3 service
</a
>, because I trust the laws
132 in Iceland more than those in USA when it come to keeping my personal
133 data safe and private, and thus would rather spend money on a company
134 in Iceland. Another nice recipe is available from the article
135 <a href=
"http://www.admin-magazine.com/HPC/Articles/HPC-Cloud-Storage
">S3QL
136 Filesystem for HPC Storage
</a
> by Jeff Layton in the HPC section of
137 Admin magazine. When the provider is picked, figure out how to get
138 the API key needed to connect to the storage API. With Greencloud,
139 the key did not show up until I had added payment details to my
142 <p
>Armed with the API access details, it is time to create the file
143 system. First, create a new bucket in the cloud. This bucket is the
144 file system storage area. I picked a bucket name reflecting the
145 machine that was going to store data there, but any name will do.
146 I
'll refer to it as
<tt
>bucket-name
</tt
> below. In addition, one need
147 the API login and password, and a locally created password. Store it
148 all in ~root/.s3ql/authinfo2 like this:
150 <p
><blockquote
><pre
>
152 storage-url: s3c://s.greenqloud.com:
443/bucket-name
153 backend-login: API-login
154 backend-password: API-password
155 fs-passphrase: local-password
156 </pre
></blockquote
></p
>
158 <p
>I create my local passphrase using
<tt
>pwget
50</tt
> or similar,
159 but any sensible way to create a fairly random password should do it.
160 Armed with these details, it is now time to run mkfs, entering the API
161 details and password to create it:
</p
>
163 <p
><blockquote
><pre
>
164 # mkdir -m
700 /var/lib/s3ql-cache
165 # mkfs.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
166 --ssl s3c://s.greenqloud.com:
443/bucket-name
168 Enter backend password:
169 Before using S3QL, make sure to read the user
's guide, especially
170 the
'Important Rules to Avoid Loosing Data
' section.
171 Enter encryption password:
172 Confirm encryption password:
173 Generating random encryption key...
174 Creating metadata tables...
184 Compressing and uploading metadata...
185 Wrote
0.00 MB of compressed metadata.
186 #
</pre
></blockquote
></p
>
188 <p
>The next step is mounting the file system to make the storage available.
190 <p
><blockquote
><pre
>
191 # mount.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
192 --ssl --allow-root s3c://s.greenqloud.com:
443/bucket-name /s3ql
193 Using
4 upload threads.
194 Downloading and decompressing metadata...
204 Mounting filesystem...
206 Filesystem Size Used Avail Use% Mounted on
207 s3c://s.greenqloud.com:
443/bucket-name
1.0T
0 1.0T
0% /s3ql
209 </pre
></blockquote
></p
>
211 <p
>The file system is now ready for use. I use rsync to store my
212 backups in it, and as the metadata used by rsync is downloaded at
213 mount time, no network traffic (and storage cost) is triggered by
214 running rsync. To unmount, one should not use the normal umount
215 command, as this will not flush the cache to the cloud storage, but
216 instead running the umount.s3ql command like this:
218 <p
><blockquote
><pre
>
221 </pre
></blockquote
></p
>
223 <p
>There is a fsck command available to check the file system and
224 correct any problems detected. This can be used if the local server
225 crashes while the file system is mounted, to reset the
"already
226 mounted
" flag. This is what it look like when processing a working
227 file system:
</p
>
229 <p
><blockquote
><pre
>
230 # fsck.s3ql --force --ssl s3c://s.greenqloud.com:
443/bucket-name
231 Using cached metadata.
232 File system seems clean, checking anyway.
233 Checking DB integrity...
234 Creating temporary extra indices...
235 Checking lost+found...
236 Checking cached objects...
237 Checking names (refcounts)...
238 Checking contents (names)...
239 Checking contents (inodes)...
240 Checking contents (parent inodes)...
241 Checking objects (reference counts)...
242 Checking objects (backend)...
243 ..processed
5000 objects so far..
244 ..processed
10000 objects so far..
245 ..processed
15000 objects so far..
246 Checking objects (sizes)...
247 Checking blocks (referenced objects)...
248 Checking blocks (refcounts)...
249 Checking inode-block mapping (blocks)...
250 Checking inode-block mapping (inodes)...
251 Checking inodes (refcounts)...
252 Checking inodes (sizes)...
253 Checking extended attributes (names)...
254 Checking extended attributes (inodes)...
255 Checking symlinks (inodes)...
256 Checking directory reachability...
257 Checking unix conventions...
258 Checking referential integrity...
259 Dropping temporary indices...
260 Backing up old metadata...
270 Compressing and uploading metadata...
271 Wrote
0.89 MB of compressed metadata.
273 </pre
></blockquote
></p
>
275 <p
>Thanks to the cache, working on files that fit in the cache is very
276 quick, about the same speed as local file access. Uploading large
277 amount of data is to me limited by the bandwidth out of and into my
278 house. Uploading
685 MiB with a
100 MiB cache gave me
305 kiB/s,
279 which is very close to my upload speed, and downloading the same
280 Debian installation ISO gave me
610 kiB/s, close to my download speed.
281 Both were measured using
<tt
>dd
</tt
>. So for me, the bottleneck is my
282 network, not the file system code. I do not know what a good cache
283 size would be, but suspect that the cache should e larger than your
284 working set.
</p
>
286 <p
>I mentioned that only one machine can mount the file system at the
287 time. If another machine try, it is told that the file system is
290 <p
><blockquote
><pre
>
291 # mount.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
292 --ssl --allow-root s3c://s.greenqloud.com:
443/bucket-name /s3ql
293 Using
8 upload threads.
294 Backend reports that fs is still mounted elsewhere, aborting.
296 </pre
></blockquote
></p
>
298 <p
>The file content is uploaded when the cache is full, while the
299 metadata is uploaded once every
24 hour by default. To ensure the
300 file system content is flushed to the cloud, one can either umount the
301 file system, or ask S3QL to flush the cache and metadata using
304 <p
><blockquote
><pre
>
305 # s3qlctrl upload-meta /s3ql
306 # s3qlctrl flushcache /s3ql
308 </pre
></blockquote
></p
>
310 <p
>If you are curious about how much space your data uses in the
311 cloud, and how much compression and deduplication cut down on the
312 storage usage, you can use s3qlstat on the mounted file system to get
315 <p
><blockquote
><pre
>
317 Directory entries:
9141
320 Total data size:
22049.38 MB
321 After de-duplication:
21955.46 MB (
99.57% of total)
322 After compression:
21877.28 MB (
99.22% of total,
99.64% of de-duplicated)
323 Database size:
2.39 MB (uncompressed)
324 (some values do not take into account not-yet-uploaded dirty blocks in cache)
326 </pre
></blockquote
></p
>
328 <p
>I mentioned earlier that there are several possible suppliers of
329 storage. I did not try to locate them all, but am aware of at least
330 <a href=
"https://www.greenqloud.com/
">Greenqloud
</a
>,
331 <a href=
"http://drive.google.com/
">Google Drive
</a
>,
332 <a href=
"http://aws.amazon.com/s3/
">Amazon S3 web serivces
</a
>,
333 <a href=
"http://www.rackspace.com/
">Rackspace
</a
> and
334 <a href=
"http://crowncloud.net/
">Crowncloud
</A
>. The latter even
335 accept payment in Bitcoin. Pick one that suit your need. Some of
336 them provide several GiB of free storage, but the prize models are
337 quite different and you will have to figure out what suits you
340 <p
>While researching this blog post, I had a look at research papers
341 and posters discussing the S3QL file system. There are several, which
342 told me that the file system is getting a critical check by the
343 science community and increased my confidence in using it. One nice
345 "<a href=
"http://www.lanl.gov/orgs/adtsc/publications/science_highlights_2013/docs/pg68_69.pdf
">An
346 Innovative Parallel Cloud Storage System using OpenStack’s SwiftObject
347 Store and Transformative Parallel I/O Approach
</a
>" by Hsing-Bung
348 Chen, Benjamin McClelland, David Sherrill, Alfred Torrez, Parks Fields
349 and Pamela Smith. Please have a look.
</p
>
351 <p
>Given my problems with different file systems earlier, I decided to
352 check out the mounted S3QL file system to see if it would be usable as
353 a home directory (in other word, that it provided POSIX semantics when
354 it come to locking and umask handling etc). Running
355 <a href=
"http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html
">my
356 test code to check file system semantics
</a
>, I was happy to discover that
357 no error was found. So the file system can be used for home
358 directories, if one chooses to do so.
</p
>
360 <p
>If you do not want a locally file system, and want something that
361 work without the Linux fuse file system, I would like to mention the
362 <a href=
"http://www.tarsnap.com/
">Tarsnap service
</a
>, which also
363 provide locally encrypted backup using a command line client. It have
364 a nicer access control system, where one can split out read and write
365 access, allowing some systems to write to the backup and others to
366 only read from it.
</p
>
368 <p
>As usual, if you use Bitcoin and want to show your support of my
369 activities, please send Bitcoin donations to my address
370 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
&label=PetterReinholdtsenBlog
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>
375 <title>EU-domstolen bekreftet i dag at datalagringsdirektivet er ulovlig
</title>
376 <link>http://people.skolelinux.org/pere/blog/EU_domstolen_bekreftet_i_dag_at_datalagringsdirektivet_er_ulovlig.html
</link>
377 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/EU_domstolen_bekreftet_i_dag_at_datalagringsdirektivet_er_ulovlig.html
</guid>
378 <pubDate>Tue,
8 Apr
2014 11:
30:
00 +
0200</pubDate>
379 <description><p
>I dag kom endelig avgjørelsen fra EU-domstolen om
380 datalagringsdirektivet, som ikke overraskende ble dømt ulovlig og i
381 strid med borgernes grunnleggende rettigheter. Hvis du lurer på hva
382 datalagringsdirektivet er for noe, så er det
383 <a href=
"http://tv.nrk.no/program/koid75005313/tema-dine-digitale-spor-datalagringsdirektivet
">en
384 flott dokumentar tilgjengelig hos NRK
</a
> som jeg tidligere
385 <a href=
"http://people.skolelinux.org/pere/blog/Dokumentaren_om_Datalagringsdirektivet_sendes_endelig_p__NRK.html
">har
386 anbefalt
</a
> alle å se.
</p
>
388 <p
>Her er et liten knippe nyhetsoppslag om saken, og jeg regner med at
389 det kommer flere ut over dagen. Flere kan finnes
390 <a href=
"http://www.mylder.no/?drill=datalagringsdirektivet
&intern=
1">via
391 mylder
</a
>.
</p
>
395 <li
><a href=
"http://e24.no/digital/eu-domstolen-datalagringsdirektivet-er-ugyldig/
22879592">EU-domstolen:
396 Datalagringsdirektivet er ugyldig
</a
> - e24.no
2014-
04-
08
398 <li
><a href=
"http://www.aftenposten.no/nyheter/iriks/EU-domstolen-Datalagringsdirektivet-er-ulovlig-
7529032.html
">EU-domstolen:
399 Datalagringsdirektivet er ulovlig
</a
> - aftenposten.no
2014-
04-
08
401 <li
><a href=
"http://www.aftenposten.no/nyheter/iriks/politikk/Krever-DLD-stopp-i-Norge-
7530086.html
">Krever
402 DLD-stopp i Norge
</a
> - aftenposten.no
2014-
04-
08
404 <li
><a href=
"http://www.p4.no/story.aspx?id=
566431">Apenes: - En
405 gledens dag
</a
> - p4.no
2014-
04-
08
407 <li
><a href=
"http://www.nrk.no/norge/_-datalagringsdirektivet-er-ugyldig-
1.11655929">EU-domstolen:
408 – Datalagringsdirektivet er ugyldig
</a
> - nrk.no
2014-
04-
08</li
>
410 <li
><a href=
"http://www.vg.no/nyheter/utenriks/data-og-nett/eu-domstolen-datalagringsdirektivet-er-ugyldig/a/
10130280/
">EU-domstolen:
411 Datalagringsdirektivet er ugyldig
</a
> - vg.no
2014-
04-
08</li
>
413 <li
><a href=
"http://www.dagbladet.no/
2014/
04/
08/nyheter/innenriks/datalagringsdirektivet/personvern/
32711646/
">-
414 Vi bør skrote hele datalagringsdirektivet
</a
> - dagbladet.no
415 2014-
04-
08</li
>
417 <li
><a href=
"http://www.digi.no/
928137/eu-domstolen-dld-er-ugyldig
">EU-domstolen:
418 DLD er ugyldig
</a
> - digi.no
2014-
04-
08</li
>
420 <li
><a href=
"http://www.irishtimes.com/business/sectors/technology/european-court-declares-data-retention-directive-invalid-
1.1754150">European
421 court declares data retention directive invalid
</a
> - irishtimes.com
422 2014-
04-
08</li
>
424 <li
><a href=
"http://www.reuters.com/article/
2014/
04/
08/us-eu-data-ruling-idUSBREA370F020140408?feedType=RSS
">EU
425 court rules against requirement to keep data of telecom users
</a
> -
426 reuters.com
2014-
04-
08</li
>
431 <p
>Jeg synes det er veldig fint at nok en stemme slår fast at
432 totalitær overvåkning av befolkningen er uakseptabelt, men det er
433 fortsatt like viktig å beskytte privatsfæren som før, da de
434 teknologiske mulighetene fortsatt finnes og utnyttes, og jeg tror
435 innsats i prosjekter som
436 <a href=
"https://wiki.debian.org/FreedomBox
">Freedombox
</a
> og
437 <a href=
"http://www.dugnadsnett.no/
">Dugnadsnett
</a
> er viktigere enn
440 <p
><strong
>Update
2014-
04-
08 12:
10</strong
>: Kronerullingen for å
441 stoppe datalagringsdirektivet i Norge gjøres hos foreningen
442 <a href=
"http://www.digitaltpersonvern.no/
">Digitalt Personvern
</a
>,
443 som har samlet inn
843 215,- så langt men trenger nok mye mer hvis
445 ikke Høyre og Arbeiderpartiet bytter mening i saken. Det var
446 <a href=
"http://www.holderdeord.no/parliament-issues/
48650">kun
447 partinene Høyre og Arbeiderpartiet
</a
> som stemte for
448 Datalagringsdirektivet, og en av dem må bytte mening for at det skal
449 bli flertall mot i Stortinget. Se mer om saken
450 <a href=
"http://www.holderdeord.no/issues/
69-innfore-datalagringsdirektivet
">Holder
451 de ord
</a
>.
</p
>
456 <title>ReactOS Windows clone - nice free software
</title>
457 <link>http://people.skolelinux.org/pere/blog/ReactOS_Windows_clone___nice_free_software.html
</link>
458 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/ReactOS_Windows_clone___nice_free_software.html
</guid>
459 <pubDate>Tue,
1 Apr
2014 12:
10:
00 +
0200</pubDate>
460 <description><p
>Microsoft have announced that Windows XP reaches its end of life
461 2014-
04-
08, in
7 days. But there are heaps of machines still running
462 Windows XP, and depending on Windows XP to run their applications, and
463 upgrading will be expensive, both when it comes to money and when it
464 comes to the amount of effort needed to migrate from Windows XP to a
465 new operating system. Some obvious options (buy new a Windows
466 machine, buy a MacOSX machine, install Linux on the existing machine)
467 are already well known and covered elsewhere. Most of them involve
468 leaving the user applications installed on Windows XP behind and
469 trying out replacements or updated versions. In this blog post I want
470 to mention one strange bird that allow people to keep the hardware and
471 the existing Windows XP applications and run them on a free software
472 operating system that is Windows XP compatible.
</p
>
474 <p
><a href=
"http://www.reactos.org/
">ReactOS
</a
> is a free software
475 operating system (GNU GPL licensed) working on providing a operating
476 system that is binary compatible with Windows, able to run windows
477 programs directly and to use Windows drivers for hardware directly.
478 The project goal is for Windows user to keep their existing machines,
479 drivers and software, and gain the advantages from user a operating
480 system without usage limitations caused by non-free licensing. It is
481 a Windows clone running directly on the hardware, so quite different
482 from the approach taken by
<a href=
"http://www.winehq.org/
">the Wine
483 project
</a
>, which make it possible to run Windows binaries on
486 <p
>The ReactOS project share code with the Wine project, so most
487 shared libraries available on Windows are already implemented already.
488 There is also a software manager like the one we are used to on Linux,
489 allowing the user to install free software applications with a simple
490 click directly from the Internet. Check out the
491 <a href=
"http://www.reactos.org/screenshots
">screen shots on the
492 project web site
</a
> for an idea what it look like (it looks just like
493 Windows before metro).
</p
>
495 <p
>I do not use ReactOS myself, preferring Linux and Unix like
496 operating systems. I
've tested it, and it work fine in a virt-manager
497 virtual machine. The browser, minesweeper, notepad etc is working
498 fine as far as I can tell. Unfortunately, my main test application
499 is the software included on a CD with the Lego Mindstorms NXT, which
500 seem to install just fine from CD but fail to leave any binaries on
501 the disk after the installation. So no luck with that test software.
502 No idea why, but hope someone else figure out and fix the problem.
503 I
've tried the ReactOS Live ISO on a physical machine, and it seemed
504 to work just fine. If you like Windows and want to keep running your
505 old Windows binaries, check it out by
506 <a href=
"http://www.reactos.org/download
">downloading
</a
> the
507 installation CD, the live CD or the preinstalled virtual machine
513 <title>Debian Edu interview: Roger Marsal
</title>
514 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Roger_Marsal.html
</link>
515 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Roger_Marsal.html
</guid>
516 <pubDate>Sun,
30 Mar
2014 11:
40:
00 +
0200</pubDate>
517 <description><p
><a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
>
518 keep gaining new users. Some weeks ago, a person showed up on IRC,
519 <a href=
"irc://irc.debian.org/#debian-edu
">#debian-edu
</a
>, with a
520 wish to contribute, and I managed to get a interview with this great
521 contributor Roger Marsal to learn more about his background.
</p
>
523 <p
><strong
>Who are you, and how do you spend your days?
</strong
></p
>
525 <p
>My name is Roger Marsal, I
'm
27 years old (
1986 generation) and I
526 live in Barcelona, Spain. I
've got a strong business background and I
527 work as a patrimony manager and as a real estate agent. Additionally,
528 I
've co-founded a British based tech company that is nowadays on the
529 last development phase of a new social networking concept.
</p
>
531 <p
>I
'm a Linux enthusiast that started its journey with Ubuntu four years
532 ago and have recently switched to Debian seeking rock solid stability
533 and as a necessary step to gain expertise.
</p
>
535 <p
>In a nutshell, I spend my days working and learning as much as I
536 can to face both my job, entrepreneur project and feed my Linux
539 <p
><strong
>How did you get in contact with the Skolelinux / Debian Edu
540 project?
</strong
></p
>
542 <p
>I discovered the
<a href=
"http://www.ltsp.org/
">LTSP
</a
> advantages
543 with
"Ubuntu
12.04 alternate install
" and after a year of use I
544 started looking for an alternative. Even though I highly value and
545 respect the Ubuntu project, I thought it was necessary for me to
546 change to a more robust and stable alternative. As far as I was using
547 Debian on my personal laptop I thought it would be fine to install
548 Debian and configure an LTSP server myself. Surprised, I discovered
549 that the Debian project also supported a kind of Edubuntu equivalent,
550 and after having some pain I obtained a Debian Edu network up and
551 running. I just loved it.
</p
>
553 <p
><strong
>What do you see as the advantages of Skolelinux / Debian
554 Edu?
</strong
></p
>
556 <p
>I found a main advantage in that, once you know
"the tips and
557 tricks
", a new installation just works out of the box. It
's the most
558 complete alternative I
've found to create an LTSP network. All the
559 other distributions seems to be made of plastic, Debian Edu seems to
560 be made of steel.
</p
>
562 <p
><strong
>What do you see as the disadvantages of Skolelinux / Debian
563 Edu?
</strong
></p
>
565 <p
>I found two main disadvantages.
</p
>
567 <p
>I
'm not an expert but I
've got notions and I had to spent a considerable
568 amount of time trying to bring up a standard network topology. I
'm quite
569 stubborn and I just worked until I did but I
'm sure many people with few
570 resources (not big schools, but academies for example) would have switched
571 or dropped.
</p
>
573 <p
>It
's amazing how such a complex system like Debian Edu has achieved
574 this out-of-the-box state. Even though tweaking without breaking gets
575 more difficult, as more factors have to be considered. This can
576 discourage many people too.
</p
>
578 <p
><strong
>Which free software do you use daily?
</strong
></p
>
580 <p
>I use Debian, Firefox, Okular, Inkscape, LibreOffice and
581 Virtualbox.
</p
>
584 <p
><strong
>Which strategy do you believe is the right one to use to
585 get schools to use free software?
</strong
></p
>
587 <p
>I don
't think there is a need for a particular strategy. The free
588 attribute in both
"freedom
" and
"no price
" meanings is what will
589 really bring free software to schools. In my experience I can think of
590 the
<a href=
"http://www.r-project.org/
">"R
" statistical language
</a
>; a
591 few years a ago was an extremely nerd tool for university people.
592 Today it
's being increasingly used to teach statistics at many
593 different level of studies. I believe free and open software will
594 increasingly gain popularity, but I
'm sure schools will be one of the
595 first scenarios where this will happen.
</p
>
600 <title>Dokumentaren om Datalagringsdirektivet sendes endelig på NRK
</title>
601 <link>http://people.skolelinux.org/pere/blog/Dokumentaren_om_Datalagringsdirektivet_sendes_endelig_p__NRK.html
</link>
602 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Dokumentaren_om_Datalagringsdirektivet_sendes_endelig_p__NRK.html
</guid>
603 <pubDate>Wed,
26 Mar
2014 09:
50:
00 +
0100</pubDate>
604 <description><p
><a href=
"http://www.nuug.no/
">Foreningen NUUG
</a
> melder i natt at
605 NRK nå har bestemt seg for
606 <a href=
"http://www.nuug.no/news/NRK_viser_filmen_om_Datalagringsdirektivet_f_rste_gang_2014_03_31.shtml
">når
607 den norske dokumentarfilmen om datalagringsdirektivet skal
608 sendes
</a
> (se
<a href=
"http://www.imdb.com/title/tt2832844/
">IMDB
</a
>
609 for detaljer om filmen) . Første visning blir på NRK2 mandag
610 2014-
03-
31 kl.
19:
50, og deretter visninger onsdag
2014-
04-
02
611 kl.
12:
30, fredag
2014-
04-
04 kl.
19:
40 og søndag
2014-
04-
06 kl.
15:
10.
612 Jeg har sett dokumentaren, og jeg anbefaler enhver å se den selv. Som
613 oppvarming mens vi venter anbefaler jeg Bjørn Stærks kronikk i
614 Aftenposten fra i går,
615 <a href=
"http://www.aftenposten.no/meninger/kronikker/Autoritar-gjokunge-
7514915.html
">Autoritær
616 gjøkunge
</a
>, der han gir en grei skisse av hvor ille det står til med
617 retten til privatliv og beskyttelsen av demokrati i Norge og resten
618 verden, og helt riktig slår fast at det er vi i databransjen som
619 sitter med nøkkelen til å gjøre noe med dette. Jeg har involvert meg
620 i prosjektene
<a href=
"http://www.dugnadsnett.no/
">dugnadsnett.no
</a
>
621 og
<a href=
"https://wiki.debian.org/FreedomBox
">FreedomBox
</a
> for å
622 forsøke å gjøre litt selv for å bedre situasjonen, men det er mye
623 hardt arbeid fra mange flere enn meg som gjenstår før vi kan sies å ha
624 gjenopprettet balansen.
</p
>
626 <p
>Jeg regner med at nettutgaven dukker opp på
627 <a href=
"http://tv.nrk.no/program/koid75005313/tema-dine-digitale-spor-datalagringsdirektivet
">NRKs
628 side om filmen om datalagringsdirektivet
</a
> om fem dager. Hold et
629 øye med siden, og tips venner og slekt om at de også bør se den.
</p
>
634 <title>Public Trusted Timestamping services for everyone
</title>
635 <link>http://people.skolelinux.org/pere/blog/Public_Trusted_Timestamping_services_for_everyone.html
</link>
636 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Public_Trusted_Timestamping_services_for_everyone.html
</guid>
637 <pubDate>Tue,
25 Mar
2014 12:
50:
00 +
0100</pubDate>
638 <description><p
>Did you ever need to store logs or other files in a way that would
639 allow it to be used as evidence in court, and needed a way to
640 demonstrate without reasonable doubt that the file had not been
641 changed since it was created? Or, did you ever need to document that
642 a given document was received at some point in time, like some
643 archived document or the answer to an exam, and not changed after it
644 was received? The problem in these settings is to remove the need to
645 trust yourself and your computers, while still being able to prove
646 that a file is the same as it was at some given time in the past.
</p
>
648 <p
>A solution to these problems is to have a trusted third party
649 "stamp
" the document and verify that at some given time the document
650 looked a given way. Such
651 <a href=
"https://en.wikipedia.org/wiki/Notarius
">notarius
</a
> service
652 have been around for thousands of years, and its digital equivalent is
654 <a href=
"http://en.wikipedia.org/wiki/Trusted_timestamping
">trusted
655 timestamping service
</a
>.
<a href=
"http://www.ietf.org/
">The Internet
656 Engineering Task Force
</a
> standardised how such service could work a
657 few years ago as
<a href=
"http://tools.ietf.org/html/rfc3161
">RFC
658 3161</a
>. The mechanism is simple. Create a hash of the file in
659 question, send it to a trusted third party which add a time stamp to
660 the hash and sign the result with its private key, and send back the
661 signed hash + timestamp. Both email, FTP and HTTP can be used to
662 request such signature, depending on what is provided by the service
663 used. Anyone with the document and the signature can then verify that
664 the document matches the signature by creating their own hash and
665 checking the signature using the trusted third party public key.
666 There are several commercial services around providing such
667 timestamping. A quick search for
668 "<a href=
"https://duckduckgo.com/?q=rfc+
3161+service
">rfc
3161
669 service
</a
>" pointed me to at least
670 <a href=
"https://www.digistamp.com/technical/how-a-digital-time-stamp-works/
">DigiStamp
</a
>,
671 <a href=
"http://www.quovadisglobal.co.uk/CertificateServices/SigningServices/TimeStamp.aspx
">Quo
673 <a href=
"https://www.globalsign.com/timestamp-service/
">Global Sign
</a
>
674 and
<a href=
"http://www.globaltrustfinder.com/TSADefault.aspx
">Global
675 Trust Finder
</a
>. The system work as long as the private key of the
676 trusted third party is not compromised.
</p
>
678 <p
>But as far as I can tell, there are very few public trusted
679 timestamp services available for everyone. I
've been looking for one
680 for a while now. But yesterday I found one over at
681 <a href=
"https://www.pki.dfn.de/zeitstempeldienst/
">Deutches
682 Forschungsnetz
</a
> mentioned in
683 <a href=
"http://www.d-mueller.de/blog/dealing-with-trusted-timestamps-in-php-rfc-
3161/
">a
684 blog by David Müller
</a
>. I then found
685 <a href=
"http://www.rz.uni-greifswald.de/support/dfn-pki-zertifikate/zeitstempeldienst.html
">a
686 good recipe on how to use the service
</a
> over at the University of
687 Greifswald.
</p
>
689 <p
><a href=
"http://www.openssl.org/
">The OpenSSL library
</a
> contain
690 both server and tools to use and set up your own signing service. See
691 the ts(
1SSL), tsget(
1SSL) manual pages for more details. The
692 following shell script demonstrate how to extract a signed timestamp
693 for any file on the disk in a Debian environment:
</p
>
695 <p
><blockquote
><pre
>
698 url=
"http://zeitstempel.dfn.de
"
699 caurl=
"https://pki.pca.dfn.de/global-services-ca/pub/cacert/chain.txt
"
700 reqfile=$(mktemp -t tmp.XXXXXXXXXX.tsq)
701 resfile=$(mktemp -t tmp.XXXXXXXXXX.tsr)
703 if [ ! -f $cafile ] ; then
704 wget -O $cafile
"$caurl
"
706 openssl ts -query -data
"$
1" -cert | tee
"$reqfile
" \
707 | /usr/lib/ssl/misc/tsget -h
"$url
" -o
"$resfile
"
708 openssl ts -reply -in
"$resfile
" -text
1>&2
709 openssl ts -verify -data
"$
1" -in
"$resfile
" -CAfile
"$cafile
" 1>&2
710 base64
< "$resfile
"
711 rm
"$reqfile
" "$resfile
"
712 </pre
></blockquote
></p
>
714 <p
>The argument to the script is the file to timestamp, and the output
715 is a base64 encoded version of the signature to STDOUT and details
716 about the signature to STDERR. Note that due to
717 <a href=
"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
742553">a bug
718 in the tsget script
</a
>, you might need to modify the included script
719 and remove the last line. Or just write your own HTTP uploader using
720 curl. :) Now you too can prove and verify that files have not been
723 <p
>But the Internet need more public trusted timestamp services.
724 Perhaps something for
<a href=
"http://www.uninett.no/
">Uninett
</a
> or
725 my work place the
<a href=
"http://www.uio.no/
">University of Oslo
</a
>
731 <title>Video DVD reader library / python-dvdvideo - nice free software
</title>
732 <link>http://people.skolelinux.org/pere/blog/Video_DVD_reader_library___python_dvdvideo___nice_free_software.html
</link>
733 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Video_DVD_reader_library___python_dvdvideo___nice_free_software.html
</guid>
734 <pubDate>Fri,
21 Mar
2014 15:
25:
00 +
0100</pubDate>
735 <description><p
>Keeping your DVD collection safe from scratches and curious
736 children fingers while still having it available when you want to see a
737 movie is not straight forward. My preferred method at the moment is
738 to store a full copy of the ISO on a hard drive, and use VLC, Popcorn
739 Hour or other useful players to view the resulting file. This way the
740 subtitles and bonus material are still available and using the ISO is
741 just like inserting the original DVD record in the DVD player.
</p
>
743 <p
>Earlier I used dd for taking security copies, but it do not handle
744 DVDs giving read errors (which are quite a few of them). I
've also
746 <a href=
"http://people.skolelinux.org/pere/blog/Ripping_problematic_DVDs_using_dvdbackup_and_genisoimage.html
">dvdbackup
747 and genisoimage
</a
>, but these days I use the marvellous python library
749 <a href=
"http://bblank.thinkmo.de/blog/new-software-python-dvdvideo
">python-dvdvideo
</a
>
750 written by Bastian Blank. It is
751 <a href=
"http://packages.qa.debian.org/p/python-dvdvideo.html
">in Debian
752 already
</a
> and the binary package name is python3-dvdvideo. Instead
753 of trying to read every block from the DVD, it parses the file
754 structure and figure out which block on the DVD is actually in used,
755 and only read those blocks from the DVD. This work surprisingly well,
756 and I have been able to almost backup my entire DVD collection using
757 this method.
</p
>
759 <p
>So far, python-dvdvideo have failed on between
10 and
760 20 DVDs, which is a small fraction of my collection. The most common
762 <a href=
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
720831">DVDs
763 using UTF-
16 instead of UTF-
8 characters
</a
>, which according to
764 Bastian is against the DVD specification (and seem to cause some
765 players to fail too). A rarer problem is what seem to be inconsistent
766 DVD structures, as the python library
767 <a href=
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
723079">claim
768 there is a overlap between objects
</a
>. An equally rare problem claim
769 <a href=
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
741878">some
770 value is out of range
</a
>. No idea what is going on there. I wish I
771 knew enough about the DVD format to fix these, to ensure my movie
772 collection will stay with me in the future.
</p
>
774 <p
>So, if you need to keep your DVDs safe, back them up using
775 python-dvdvideo. :)
</p
>
780 <title>Norsk utgave av Alaveteli / WhatDoTheyKnow på trappene
</title>
781 <link>http://people.skolelinux.org/pere/blog/Norsk_utgave_av_Alaveteli___WhatDoTheyKnow_p__trappene.html
</link>
782 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Norsk_utgave_av_Alaveteli___WhatDoTheyKnow_p__trappene.html
</guid>
783 <pubDate>Sun,
16 Mar
2014 09:
30:
00 +
0100</pubDate>
784 <description><p
>Det offentlige Norge har mye kunnskap og informasjon. Men hvordan
785 kan en få tilgang til den på en enkel måte? Takket være et lite
786 knippe lover og tilhørende forskrifter, blant annet
787 <a href=
"http://lovdata.no/dokument/NL/lov/
2006-
05-
19-
16">offentlighetsloven
</a
>,
788 <a href=
"http://lovdata.no/dokument/NL/lov/
2003-
05-
09-
31">miljøinformasjonsloven
</a
>
790 <a href=
"http://lovdata.no/dokument/NL/lov/
1967-
02-
10/
">forvaltningsloven
</a
>
791 har en rett til å spørre det offentlige og få svar. Men det finnes
792 intet offentlig arkiv over hva andre har spurt om, og dermed risikerer en
793 å måtte forstyrre myndighetene gang på gang for å få tak i samme
794 informasjonen på nytt.
<a href=
"http://www.mysociety.org/
">Britiske
795 mySociety
</a
> har laget tjenesten
796 <a href=
"http://www.whatdotheyknow.com/
">WhatDoTheyKnow
</a
> som gjør
797 noe med dette. I Storbritannia blir WhatdoTheyKnow brukt i
798 <a href=
"http://www.mysociety.org/
2011/
07/
01/whatdotheyknows-share-of-central-government-foi-requests-q2-
2011/
">ca
799 15% av alle innsynsforespørsler mot sentraladministrasjonen
</a
>.
800 Prosjektet heter
<a href=
"http://www.alaveteli.org/
">Alaveteli
</A
>, og
801 er takk i bruk en rekke steder etter at løsningen ble generalisert og
802 gjort mulig å oversette. Den hjelper borgerne med å be om innsyn,
803 rådgir ved purringer og klager og lar alle se hvilke henvendelser som
804 er sendt til det offentlige og hvilke svar som er kommet inn, i et
805 søkpart arkiv. Her i Norge holder vi i foreningen NUUG på å få opp en
806 norsk utgave av Alaveteli, og her trenger vi din hjelp med
807 oversettelsen.
</p
>
809 <p
>Så langt er
76 % av Alaveteli oversatt til norsk bokmål, men vi
810 skulle gjerne vært oppe i
100 % før lansering. Oversettelsen gjøres
811 på
<a href=
"https://www.transifex.com/projects/p/alaveteli/
">Transifex,
812 der enhver som registrerer seg
</a
> og ber om tilgang til
813 bokmålsoversettelsen får bidra. Vi har satt opp en test av tjenesten
814 (som ikke sender epost til det offentlige, kun til oss som holder på å
815 sette opp tjenesten) på maskinen
816 <a href=
"http://alaveteli-dev.nuug.no/
">alaveteli-dev.nuug.no
</a
>, der
817 en kan se hvordan de oversatte meldingen blir seende ut på nettsiden.
818 Når tjenesten lanseres vil den hete
819 <a href=
"https://www.mimesbrønn.no/
">Mimes brønn
</a
>, etter
820 visdomskilden som Odin måtte gi øyet sitt for å få drikke i. Den
821 nettsiden er er ennå ikke klar til bruk.
</p
>
823 <p
>Hvis noen vil oversette til nynorsk også, så skal vi finne ut
824 hvordan vi lager en flerspråklig tjeneste. Men i første omgang er
825 fokus på bokmålsoversettelsen, der vi selv har nok peiling til å ha
826 fått oversatt
76%, men trenger hjelp for å komme helt i mål. :)
</p
>
831 <title>Freedombox on Dreamplug, Raspberry Pi and virtual x86 machine
</title>
832 <link>http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html
</link>
833 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html
</guid>
834 <pubDate>Fri,
14 Mar
2014 11:
00:
00 +
0100</pubDate>
835 <description><p
>The
<a href=
"https://wiki.debian.org/FreedomBox
">Freedombox
836 project
</a
> is working on providing the software and hardware for
837 making it easy for non-technical people to host their data and
838 communication at home, and being able to communicate with their
839 friends and family encrypted and away from prying eyes. It has been
840 going on for a while, and is slowly progressing towards a new test
841 release (
0.2).
</p
>
843 <p
>And what day could be better than the Pi day to announce that the
844 new version will provide
"hard drive
" / SD card / USB stick images for
845 Dreamplug, Raspberry Pi and VirtualBox (or any other virtualization
846 system), and can also be installed using a Debian installer preseed
847 file. The Debian based Freedombox is now based on Debian Jessie,
848 where most of the needed packages used are already present. Only one,
849 the freedombox-setup package, is missing. To try to build your own
850 boot image to test the current status, fetch the freedom-maker scripts
852 <a href=
"http://packages.qa.debian.org/vmdebootstrap
">vmdebootstrap
</a
>
853 with a user with sudo access to become root:
856 git clone http://anonscm.debian.org/git/freedombox/freedom-maker.git \
858 sudo apt-get install git vmdebootstrap mercurial python-docutils \
859 mktorrent extlinux virtualbox qemu-user-static binfmt-support \
861 make -C freedom-maker dreamplug-image raspberry-image virtualbox-image
864 <p
>Root access is needed to run debootstrap and mount loopback
865 devices. See the README for more details on the build. If you do not
866 want all three images, trim the make line. But note that thanks to
<a
867 href=
"https://bugs.debian.org/
741407">a race condition in
868 vmdebootstrap
</a
>, the build might fail without the patch to the
869 kpartx call.
</p
>
871 <p
>If you instead want to install using a Debian CD and the preseed
872 method, boot a Debian Wheezy ISO and use this boot argument to load
873 the preseed values:
</p
>
876 url=
<a href=
"http://www.reinholdtsen.name/freedombox/preseed-jessie.dat
">http://www.reinholdtsen.name/freedombox/preseed-jessie.dat
</a
>
879 <p
>But note that due to
<a href=
"https://bugs.debian.org/
740673">a
880 recently introduced bug in apt in Jessie
</a
>, the installer will
881 currently hang while setting up APT sources. Killing the
882 '<tt
>apt-cdrom ident
</tt
>' process when it hang a few times during the
883 installation will get the installation going. This affect all
884 installations in Jessie, and I expect it will be fixed soon.
</p
>
886 <p
>Give it a go and let us know how it goes on the mailing list, and help
887 us get the new release published. :) Please join us on
888 <a href=
"irc://irc.debian.org:
6667/%
23freedombox
">IRC (#freedombox on
889 irc.debian.org)
</a
> and
890 <a href=
"http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss
">the
891 mailing list
</a
> if you want to help make this vision come true.
</p
>