]> pere.pagekite.me Git - homepage.git/blob - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
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">
3 <channel>
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" />
8
9 <item>
10 <title>Litt statistikk over offentlige anbud annonsert via Doffin siden 2008</title>
11 <link>http://people.skolelinux.org/pere/blog/Litt_statistikk_over_offentlige_anbud_annonsert_via_Doffin_siden_2008.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Litt_statistikk_over_offentlige_anbud_annonsert_via_Doffin_siden_2008.html</guid>
13 <pubDate>Mon, 11 Feb 2013 14:40:00 +0100</pubDate>
14 <description>&lt;p&gt;For et halvt år siden
15 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/SQL_database_med_anbud_publisert_p__Doffin.html&quot;&gt;satte
16 jeg opp et system for å lage en database&lt;/a&gt; med informasjon om
17 offentlige anbud fra &lt;a href=&quot;http://www.doffin.no/&quot;&gt;Doffin&lt;/a&gt; ved
18 &lt;a href=&quot;https://scraperwiki.com/scrapers/norwegian-doffin/&quot;&gt;hjelp av
19 Scraperwiki&lt;/a&gt;. Nå er databasen så vidt jeg kan se komplett, med
20 data helt tilbake til 2008. Her er litt statistikk over
21 &lt;a href=&quot;https://api.scraperwiki.com/api/1.0/datastore/sqlite?format=htmltable&amp;name=norwegian-doffin&amp;query=select%20strftime(%22%25Y-%25m%22%2C%20publishdate)%20as%20publishmonth%2C%20count(*)%20from%20%60swdata%60%20group%20by%20publishmonth%20order%20by%20publishmonth%20desc&quot;&gt;antall
22 anbud publisert hver måned&lt;/a&gt;:&lt;/p&gt;
23
24 &lt;p&gt;&lt;table border=&quot;1&quot;&gt;
25 &lt;tr&gt; &lt;th&gt;Publiseringsmåned&lt;/th&gt; &lt;th&gt;Antall&lt;/th&gt; &lt;/tr&gt;
26 &lt;tr&gt; &lt;td&gt;2013-01&lt;/td&gt; &lt;td&gt;1015&lt;/td&gt; &lt;/tr&gt;
27 &lt;tr&gt; &lt;td&gt;2012-12&lt;/td&gt; &lt;td&gt;756&lt;/td&gt; &lt;/tr&gt;
28 &lt;tr&gt; &lt;td&gt;2012-11&lt;/td&gt; &lt;td&gt;979&lt;/td&gt; &lt;/tr&gt;
29 &lt;tr&gt; &lt;td&gt;2012-10&lt;/td&gt; &lt;td&gt;1093&lt;/td&gt; &lt;/tr&gt;
30 &lt;tr&gt; &lt;td&gt;2012-09&lt;/td&gt; &lt;td&gt;1023&lt;/td&gt; &lt;/tr&gt;
31 &lt;tr&gt; &lt;td&gt;2012-08&lt;/td&gt; &lt;td&gt;951&lt;/td&gt; &lt;/tr&gt;
32 &lt;tr&gt; &lt;td&gt;2012-07&lt;/td&gt; &lt;td&gt;1103&lt;/td&gt; &lt;/tr&gt;
33 &lt;tr&gt; &lt;td&gt;2012-06&lt;/td&gt; &lt;td&gt;1334&lt;/td&gt; &lt;/tr&gt;
34 &lt;tr&gt; &lt;td&gt;2012-05&lt;/td&gt; &lt;td&gt;1435&lt;/td&gt; &lt;/tr&gt;
35 &lt;tr&gt; &lt;td&gt;2012-04&lt;/td&gt; &lt;td&gt;1169&lt;/td&gt; &lt;/tr&gt;
36 &lt;tr&gt; &lt;td&gt;2012-03&lt;/td&gt; &lt;td&gt;1573&lt;/td&gt; &lt;/tr&gt;
37 &lt;tr&gt; &lt;td&gt;2012-02&lt;/td&gt; &lt;td&gt;1335&lt;/td&gt; &lt;/tr&gt;
38 &lt;tr&gt; &lt;td&gt;2012-01&lt;/td&gt; &lt;td&gt;1147&lt;/td&gt; &lt;/tr&gt;
39 &lt;tr&gt; &lt;td&gt;2011-12&lt;/td&gt; &lt;td&gt;1045&lt;/td&gt; &lt;/tr&gt;
40 &lt;tr&gt; &lt;td&gt;2011-11&lt;/td&gt; &lt;td&gt;1114&lt;/td&gt; &lt;/tr&gt;
41 &lt;tr&gt; &lt;td&gt;2011-10&lt;/td&gt; &lt;td&gt;1230&lt;/td&gt; &lt;/tr&gt;
42 &lt;tr&gt; &lt;td&gt;2011-09&lt;/td&gt; &lt;td&gt;1165&lt;/td&gt; &lt;/tr&gt;
43 &lt;tr&gt; &lt;td&gt;2011-08&lt;/td&gt; &lt;td&gt;966&lt;/td&gt; &lt;/tr&gt;
44 &lt;tr&gt; &lt;td&gt;2011-07&lt;/td&gt; &lt;td&gt;1148&lt;/td&gt; &lt;/tr&gt;
45 &lt;tr&gt; &lt;td&gt;2011-06&lt;/td&gt; &lt;td&gt;1410&lt;/td&gt; &lt;/tr&gt;
46 &lt;tr&gt; &lt;td&gt;2011-05&lt;/td&gt; &lt;td&gt;1536&lt;/td&gt; &lt;/tr&gt;
47 &lt;tr&gt; &lt;td&gt;2011-04&lt;/td&gt; &lt;td&gt;1350&lt;/td&gt; &lt;/tr&gt;
48 &lt;tr&gt; &lt;td&gt;2011-03&lt;/td&gt; &lt;td&gt;1574&lt;/td&gt; &lt;/tr&gt;
49 &lt;tr&gt; &lt;td&gt;2011-02&lt;/td&gt; &lt;td&gt;1370&lt;/td&gt; &lt;/tr&gt;
50 &lt;tr&gt; &lt;td&gt;2011-01&lt;/td&gt; &lt;td&gt;1049&lt;/td&gt; &lt;/tr&gt;
51 &lt;tr&gt; &lt;td&gt;2010-12&lt;/td&gt; &lt;td&gt;992&lt;/td&gt; &lt;/tr&gt;
52 &lt;tr&gt; &lt;td&gt;2010-11&lt;/td&gt; &lt;td&gt;1089&lt;/td&gt; &lt;/tr&gt;
53 &lt;tr&gt; &lt;td&gt;2010-10&lt;/td&gt; &lt;td&gt;1110&lt;/td&gt; &lt;/tr&gt;
54 &lt;tr&gt; &lt;td&gt;2010-09&lt;/td&gt; &lt;td&gt;1132&lt;/td&gt; &lt;/tr&gt;
55 &lt;tr&gt; &lt;td&gt;2010-08&lt;/td&gt; &lt;td&gt;883&lt;/td&gt; &lt;/tr&gt;
56 &lt;tr&gt; &lt;td&gt;2010-07&lt;/td&gt; &lt;td&gt;1126&lt;/td&gt; &lt;/tr&gt;
57 &lt;tr&gt; &lt;td&gt;2010-06&lt;/td&gt; &lt;td&gt;1440&lt;/td&gt; &lt;/tr&gt;
58 &lt;tr&gt; &lt;td&gt;2010-05&lt;/td&gt; &lt;td&gt;1236&lt;/td&gt; &lt;/tr&gt;
59 &lt;tr&gt; &lt;td&gt;2010-04&lt;/td&gt; &lt;td&gt;1249&lt;/td&gt; &lt;/tr&gt;
60 &lt;tr&gt; &lt;td&gt;2010-03&lt;/td&gt; &lt;td&gt;1556&lt;/td&gt; &lt;/tr&gt;
61 &lt;tr&gt; &lt;td&gt;2010-02&lt;/td&gt; &lt;td&gt;1256&lt;/td&gt; &lt;/tr&gt;
62 &lt;tr&gt; &lt;td&gt;2010-01&lt;/td&gt; &lt;td&gt;1140&lt;/td&gt; &lt;/tr&gt;
63 &lt;tr&gt; &lt;td&gt;2009-12&lt;/td&gt; &lt;td&gt;1013&lt;/td&gt; &lt;/tr&gt;
64 &lt;tr&gt; &lt;td&gt;2009-11&lt;/td&gt; &lt;td&gt;1220&lt;/td&gt; &lt;/tr&gt;
65 &lt;tr&gt; &lt;td&gt;2009-10&lt;/td&gt; &lt;td&gt;1320&lt;/td&gt; &lt;/tr&gt;
66 &lt;tr&gt; &lt;td&gt;2009-09&lt;/td&gt; &lt;td&gt;1294&lt;/td&gt; &lt;/tr&gt;
67 &lt;tr&gt; &lt;td&gt;2009-08&lt;/td&gt; &lt;td&gt;953&lt;/td&gt; &lt;/tr&gt;
68 &lt;tr&gt; &lt;td&gt;2009-07&lt;/td&gt; &lt;td&gt;1162&lt;/td&gt; &lt;/tr&gt;
69 &lt;tr&gt; &lt;td&gt;2009-06&lt;/td&gt; &lt;td&gt;1605&lt;/td&gt; &lt;/tr&gt;
70 &lt;tr&gt; &lt;td&gt;2009-05&lt;/td&gt; &lt;td&gt;1568&lt;/td&gt; &lt;/tr&gt;
71 &lt;tr&gt; &lt;td&gt;2009-04&lt;/td&gt; &lt;td&gt;1522&lt;/td&gt; &lt;/tr&gt;
72 &lt;tr&gt; &lt;td&gt;2009-03&lt;/td&gt; &lt;td&gt;1599&lt;/td&gt; &lt;/tr&gt;
73 &lt;tr&gt; &lt;td&gt;2009-02&lt;/td&gt; &lt;td&gt;1376&lt;/td&gt; &lt;/tr&gt;
74 &lt;tr&gt; &lt;td&gt;2009-01&lt;/td&gt; &lt;td&gt;1080&lt;/td&gt; &lt;/tr&gt;
75 &lt;tr&gt; &lt;td&gt;2008-12&lt;/td&gt; &lt;td&gt;1028&lt;/td&gt; &lt;/tr&gt;
76 &lt;tr&gt; &lt;td&gt;2008-11&lt;/td&gt; &lt;td&gt;949&lt;/td&gt; &lt;/tr&gt;
77 &lt;tr&gt; &lt;td&gt;2008-10&lt;/td&gt; &lt;td&gt;1047&lt;/td&gt; &lt;/tr&gt;
78 &lt;tr&gt; &lt;td&gt;2008-09&lt;/td&gt; &lt;td&gt;965&lt;/td&gt; &lt;/tr&gt;
79 &lt;tr&gt; &lt;td&gt;2008-08&lt;/td&gt; &lt;td&gt;725&lt;/td&gt; &lt;/tr&gt;
80 &lt;tr&gt; &lt;td&gt;2008-07&lt;/td&gt; &lt;td&gt;1015&lt;/td&gt; &lt;/tr&gt;
81 &lt;tr&gt; &lt;td&gt;2008-06&lt;/td&gt; &lt;td&gt;1304&lt;/td&gt; &lt;/tr&gt;
82 &lt;tr&gt; &lt;td&gt;2008-05&lt;/td&gt; &lt;td&gt;323&lt;/td&gt; &lt;/tr&gt;
83 &lt;/table&gt;&lt;/p&gt;
84
85 &lt;p&gt;Her er tilsvarende
86 &lt;a href=&quot;https://api.scraperwiki.com/api/1.0/datastore/sqlite?format=htmltable&amp;name=norwegian-doffin&amp;query=select%20strftime(%22%25Y%22%2C%20publishdate)%20as%20publishyear%2C%20count(*)%20from%20%60swdata%60%20group%20by%20publishyear%20order%20by%20publishyear%20desc&quot;&gt;tall
87 per år&lt;/a&gt;, som viser en liten nedgang i antall anbud:&lt;/p&gt;
88
89 &lt;table border=&quot;1&quot;&gt;
90 &lt;tr&gt; &lt;th&gt;Publiseringsår&lt;/th&gt; &lt;th&gt;Antall&lt;/th&gt; &lt;/tr&gt;
91 &lt;tr&gt; &lt;td&gt;2012&lt;/td&gt; &lt;td&gt;13898&lt;/td&gt; &lt;/tr&gt;
92 &lt;tr&gt; &lt;td&gt;2011&lt;/td&gt; &lt;td&gt;14957&lt;/td&gt; &lt;/tr&gt;
93 &lt;tr&gt; &lt;td&gt;2010&lt;/td&gt; &lt;td&gt;14209&lt;/td&gt; &lt;/tr&gt;
94 &lt;tr&gt; &lt;td&gt;2009&lt;/td&gt; &lt;td&gt;15712&lt;/td&gt; &lt;/tr&gt;
95 &lt;tr&gt; &lt;td&gt;2008&lt;/td&gt; &lt;td&gt;7356&lt;/td&gt; &lt;/tr&gt;
96 &lt;/table&gt;&lt;/p&gt;
97
98 &lt;p&gt;Jeg troppet den ufullstendige måneden og året fra tabellen. Se
99 lenken for oppdaterte tall.&lt;/p&gt;
100 </description>
101 </item>
102
103 <item>
104 <title>Sleep until morning - home automation for the kids</title>
105 <link>http://people.skolelinux.org/pere/blog/Sleep_until_morning___home_automation_for_the_kids.html</link>
106 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sleep_until_morning___home_automation_for_the_kids.html</guid>
107 <pubDate>Sun, 10 Feb 2013 12:50:00 +0100</pubDate>
108 <description>&lt;p&gt;&lt;img align=&quot;left&quot; style=&quot;margin-right:25px;&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2013-02-10-morning-light.jpeg&quot;&gt;&lt;/p&gt;
109
110 &lt;p&gt;With kids in the house, one challenge is getting them to sleep
111 during the night and wake up when it is morning. I mean, when I
112 believe it is morning, and not two hours earlier. In our household we
113 have decided that 07:00 is the turning point, but getting the kids to
114 sleep until 07:00 is a small challenge every day. They have adapted
115 quite well, and rarely wake up at 05:00 any more, but some times wake
116 up at times like 05:50, 06:15, 06:30 or 06:45, and it is hard to put
117 the awake one to bed again without disturbing and waking the rest.
118 And I understand perfectly well that they fail to sleep until 07:00
119 some times, as there is no way for them to know if it is before or
120 after the magic moment without coming and asking us parents.&lt;/p&gt;
121
122 &lt;p&gt;But yesterday I came up with a method to solve this problem. It
123 involve home automation. A few years ago I bought a
124 &lt;a href=&quot;http://www.telldus.se/products/tellstick&quot;&gt;Tellstick&lt;/a&gt; and RF
125 switches at the local &lt;a href=&quot;http://www.clasohlson.com/&quot;&gt;Clas
126 Ohlson&lt;/a&gt; shop, allowing me to control lights and other electrical
127 gadgets using my Linux server. When I moved from the old flat to a
128 small house, I put away all this equipment as most of the lighting in
129 the house was not using wall sockets and thus not easy to connect to
130 the gadgets I had. But recently I bought a
131 &lt;a href=&quot;http://www.telldus.se/products/tellstick_net&quot;&gt;Tellstick
132 Net&lt;/a&gt; to be able to read sensor input as well as control power
133 sockets. I want to control ovens in the basement to avoid the pipes
134 to freeze, and monitor the humidity to detect flooding. The default
135 setup for Tellstick Net is to be controlled by the vendor web service,
136 which to me is a security problem, but it is also possible to build
137 ones own
138 &lt;a href=&quot;http://developer.telldus.com/blog/2012/03/02/help-us-develop-local-access-using-tellstick-net-build-your-own-firmware&quot;&gt;firmware
139 with local access&lt;/A&gt; instead of being controlled by a Swedish
140 company, thanks to the release of the GPL licensed firmware source
141 code. I plan to get that running before I let it control anything
142 important. But while working on this, one idea to make it easier for
143 the kids came to me yesterday. We can set up a night light controlled
144 by the computer, and turn it automatically on at 07:00. The kids can
145 then check the light in the morning to know if they are supposed to
146 get up or not. They joined me in setting everything up, and I
147 repeated the concept several times before bed times to make sure they
148 remembered to check the light before getting up in the morning.&lt;/p&gt;
149
150 &lt;p&gt;We tested it this morning, and all the kids stayed in bed until
151 after 07:00, and every one of them commented on the fact that the
152 &quot;morning light&quot; was turned on and signalled that the morning had
153 arrived. So this look like a success, and I am excited to see how
154 this develops the next few days. :) I really hope this can allow us
155 all to sleep a bit longer in the morning.&lt;/p&gt;
156
157 &lt;p&gt;A nice advantage of this setup is that we can remote control when
158 to tell the kids to get up. We do not have to wait until 07:00, and
159 can also delay it if we want to.&lt;/p&gt;
160 </description>
161 </item>
162
163 <item>
164 <title>Hva stemte hver stortingsrepresentant i voteringene om datalagringsdirektivet?</title>
165 <link>http://people.skolelinux.org/pere/blog/Hva_stemte_hver_stortingsrepresentant_i_voteringene_om_datalagringsdirektivet_.html</link>
166 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Hva_stemte_hver_stortingsrepresentant_i_voteringene_om_datalagringsdirektivet_.html</guid>
167 <pubDate>Sat, 9 Feb 2013 18:10:00 +0100</pubDate>
168 <description>&lt;p&gt;Nytt stortingsvalg er på trappene, og folket får igjen mulighet til
169 å påvirke sammensetningen i vår lovgivende forsamling. Da er det
170 relevant å vite hvilke representanter og partier som har støttet
171 innføringen av brev- og besøkskontroll av hele den norske
172 befolkningen, det vil si datalagringsdirektivet.&lt;/p&gt;
173
174 &lt;p&gt;Hvis du vil vite hva hver enkelt stortingsrepresentant har stemt i
175 stortingsvoteringene om datalagringsdirektivet, så har nettstedet til
176 &lt;a href=&quot;http://www.holderdeord.no/&quot;&gt;Holder De Ord&lt;/a&gt; den (så vidt jeg
177 vet) eneste komplette oversikten på sin temaside om
178 &lt;a href=&quot;http://beta.holderdeord.no/issues/innfore-datalagringsdirektivet&quot;&gt;innføringen
179 av datalagringsdirektivet&lt;/a&gt;. Den har detaljene fra de 11 relevante
180 forslagene som har vært fremmet så lagt. De har vært votert over
181 2011-04-04, 2011-04-11, 2012-06-11, 2012-10-05 og 2012-12-06.&lt;/p&gt;
182
183 &lt;p&gt;Hvis du lurer på hva som er problemet med datalagringsdirektivet,
184 anbefaler jeg å lese &lt;a href=&quot;http://www.uhuru.biz/?cat=84&quot;&gt;artiklene
185 fra Jon Wessel-Aas&lt;/a&gt; om temaet, samt informasjon fra foreningen
186 &lt;a href=&quot;http://www.digitaltpersonvern.no/&quot;&gt;Digitalt
187 Personvern&lt;/a&gt;.&lt;/p&gt;
188 </description>
189 </item>
190
191 <item>
192 <title>Økt overvåkning applauderes igjen av Arbeiderpartiet, Høyre og Fremskrittspartiet</title>
193 <link>http://people.skolelinux.org/pere/blog/_kt_overv_kning_applauderes_igjen_av_Arbeiderpartiet__H_yre_og_Fremskrittspartiet.html</link>
194 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/_kt_overv_kning_applauderes_igjen_av_Arbeiderpartiet__H_yre_og_Fremskrittspartiet.html</guid>
195 <pubDate>Mon, 4 Feb 2013 00:30:00 +0100</pubDate>
196 <description>&lt;p&gt;Jeg ser med gru at Arbeiderpartiet, Høyre og Fremskrittspartiet
197 &lt;a href=&quot;http://www.aftenposten.no/nyheter/iriks/Positive-til-mer-smuglerovervaking-7110348.html&quot;&gt;applauderer
198 tollvesenets forslag&lt;/a&gt; om å øke overvåkningen i Norge nok et hakk.
199 Det er ikke så rart, da de som uttaler seg jo også har støttet
200 innføringen av datalagringsdirektivet eller i hvert fall ikke veldig
201 aktivt har motarbeidet det. Innføringen av datalagringsdirektivet er
202 en lovendring som innebærer brev og besøkskontroll for hele
203 befolkningen.&lt;/p&gt;
204
205 &lt;p&gt;&lt;a href=&quot;http://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/?p=48717&quot;&gt;Datalagringsdirektivet&lt;/a&gt;
206 har vært oppe til votering i stortinget tre ganger så langt. Det ble
207 &lt;a href=&quot;http://svartelisten.org/&quot;&gt;vedtatt første gang 2011-04-04&lt;/a&gt;
208 og
209 &lt;a href=&quot;https://github.com/holderdeord/hdo-folketingparser/blob/master/data/votering-2011-04-11.xml&quot;&gt;andre
210 gang 2011-04-11&lt;/a&gt; (lovendringer voteres to ganger), og forslag om å
211 stoppe loven ble
212 &lt;a href=&quot;http://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/Voteringsoversikt/?p=53844&amp;dnid=1&quot;&gt;nedstemt
213 2012-12-06&lt;/a&gt; (se også
214 &lt;a href=&quot;http://beta.holderdeord.no/issues/innfore-datalagringsdirektivet&quot;&gt;oversikt fra Holder De
215 Ord&lt;/a&gt;).&lt;/p&gt;
216
217 &lt;p&gt;Jan Bøhler i Arbeiderpartiet stemte for å innføre
218 datalagringsdirektivet i lovverket i første votering, var ikke
219 tilstede i andre votering og støttet loven i tredje votering. André
220 Oktay Dahl i Høyre var ikke til stede i første og andre votering men
221 støttet loven i tredje votering. Ulf Leirstein i Fremskrittspartiet
222 stemte mot loven i første votering men var ikke til stede i andre og
223 tredje votering.&lt;/p&gt;
224
225 &lt;p&gt;Hvis du lurer på hva som er problemet med datalagringsdirektivet,
226 anbefaler jeg å lese &lt;a href=&quot;http://www.uhuru.biz/?cat=84&quot;&gt;artiklene
227 fra Jon Wessel-Aas&lt;/a&gt; om temaet, samt informasjon fra foreningen
228 &lt;a href=&quot;http://www.digitaltpersonvern.no/&quot;&gt;Digitalt
229 Personvern&lt;/a&gt;.&lt;/p&gt;
230
231 &lt;p&gt;&lt;strong&gt;Oppdatering 2013-03-09&lt;/strong&gt;: Endret lenke til Holder De
232 Ord, som har byttet mange lenker i forbindelse med import av
233 voteringsdata for 2010-2011.&lt;/p&gt;
234 </description>
235 </item>
236
237 <item>
238 <title>Bitcoin GUI now available from Debian/unstable (and Ubuntu/raring)</title>
239 <link>http://people.skolelinux.org/pere/blog/Bitcoin_GUI_now_available_from_Debian_unstable__and_Ubuntu_raring_.html</link>
240 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Bitcoin_GUI_now_available_from_Debian_unstable__and_Ubuntu_raring_.html</guid>
241 <pubDate>Sat, 2 Feb 2013 09:00:00 +0100</pubDate>
242 <description>&lt;p&gt;My
243 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html&quot;&gt;last
244 bitcoin related blog post&lt;/a&gt; mentioned that the new
245 &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;bitcoin package&lt;/a&gt; for
246 Debian was waiting in NEW. It was accepted by the Debian ftp-masters
247 2013-01-19, and have been available in unstable since then. It was
248 automatically copied to Ubuntu, and is available in their Raring
249 version too.&lt;/p&gt;
250
251 &lt;p&gt;But there is a strange problem with the build that block this new
252 version from being available on the i386 and kfreebsd-i386
253 architectures. For some strange reason, the autobuilders in Debian
254 for these architectures fail to run the test suite on these
255 architectures (&lt;a href=&quot;http://bugs.debian.org/672524&quot;&gt;BTS #672524&lt;/a&gt;).
256 We are so far unable to reproduce it when building it manually, and
257 no-one have been able to propose a fix. If you got an idea what is
258 failing, please let us know via the BTS.&lt;/p&gt;
259
260 &lt;p&gt;One feature that is annoying me with of the bitcoin client, because
261 I often run low on disk space, is the fact that the client will exit
262 if it run short on space (&lt;a href=&quot;http://bugs.debian.org/696715&quot;&gt;BTS
263 #696715&lt;/a&gt;). So make sure you have enough disk space when you run
264 it. :)&lt;/p&gt;
265
266 &lt;p&gt;As usual, if you use bitcoin and want to show your support of my
267 activities, please send Bitcoin donations to my address
268 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&amp;label=PetterReinholdtsenBlog&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
269 </description>
270 </item>
271
272 <item>
273 <title>Welcome to the world, Isenkram!</title>
274 <link>http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html</link>
275 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html</guid>
276 <pubDate>Tue, 22 Jan 2013 22:00:00 +0100</pubDate>
277 <description>&lt;p&gt;Yesterday, I
278 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html&quot;&gt;asked
279 for testers&lt;/a&gt; for my prototype for making Debian better at handling
280 pluggable hardware devices, which I
281 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html&quot;&gt;set
282 out to create&lt;/a&gt; earlier this month. Several valuable testers showed
283 up, and caused me to really want to to open up the development to more
284 people. But before I did this, I want to come up with a sensible name
285 for this project. Today I finally decided on a new name, and I have
286 renamed the project from hw-support-handler to this new name. In the
287 process, I moved the source to git and made it available as a
288 &lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=collab-maint/isenkram.git&quot;&gt;collab-maint&lt;/a&gt;
289 repository in Debian. The new name? It is &lt;strong&gt;Isenkram&lt;/strong&gt;.
290 To fetch and build the latest version of the source, use&lt;/p&gt;
291
292 &lt;pre&gt;
293 git clone http://anonscm.debian.org/git/collab-maint/isenkram.git
294 cd isenkram &amp;&amp; git-buildpackage -us -uc
295 &lt;/pre&gt;
296
297 &lt;p&gt;I have not yet adjusted all files to use the new name yet. If you
298 want to hack on the source or improve the package, please go ahead.
299 But please talk to me first on IRC or via email before you do major
300 changes, to make sure we do not step on each others toes. :)&lt;/p&gt;
301
302 &lt;p&gt;If you wonder what &#39;isenkram&#39; is, it is a Norwegian word for iron
303 stuff, typically meaning tools, nails, screws, etc. Typical hardware
304 stuff, in other words. I&#39;ve been told it is the Norwegian variant of
305 the German word eisenkram, for those that are familiar with that
306 word.&lt;/p&gt;
307
308 &lt;p&gt;&lt;strong&gt;Update 2013-01-26&lt;/strong&gt;: Added -us -us to build
309 instructions, to avoid confusing people with an error from the signing
310 process.&lt;/p&gt;
311
312 &lt;p&gt;&lt;strong&gt;Update 2013-01-27&lt;/strong&gt;: Switch to HTTP URL for the git
313 clone argument to avoid the need for authentication.&lt;/p&gt;
314 </description>
315 </item>
316
317 <item>
318 <title>First prototype ready making hardware easier to use in Debian</title>
319 <link>http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html</link>
320 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html</guid>
321 <pubDate>Mon, 21 Jan 2013 12:00:00 +0100</pubDate>
322 <description>&lt;p&gt;Early this month I set out to try to
323 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html&quot;&gt;improve
324 the Debian support for pluggable hardware devices&lt;/a&gt;. Now my
325 prototype is working, and it is ready for a larger audience. To test
326 it, fetch the
327 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/&quot;&gt;source
328 from the Debian Edu subversion repository&lt;/a&gt;, build and install the
329 package. You might have to log out and in again activate the
330 autostart script.&lt;/p&gt;
331
332 &lt;p&gt;The design is simple:&lt;/p&gt;
333
334 &lt;ul&gt;
335
336 &lt;li&gt;Add desktop entry in /usr/share/autostart/ causing a program
337 hw-support-handlerd to start when the user log in.&lt;/li&gt;
338
339 &lt;li&gt;This program listen for kernel events about new hardware (directly
340 from the kernel like udev does), not using HAL dbus events as I
341 initially did.&lt;/li&gt;
342
343 &lt;li&gt;When new hardware is inserted, look up the hardware modalias in
344 the APT database, a database
345 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=markup&quot;&gt;available
346 via HTTP&lt;/a&gt; and a database available as part of the package.&lt;/li&gt;
347
348 &lt;li&gt;If a package is mapped to the hardware in question, the package
349 isn&#39;t installed yet and this is the first time the hardware was
350 plugged in, show a desktop notification suggesting to install the
351 package or packages.&lt;/li&gt;
352
353 &lt;li&gt;If the user click on the &#39;install package now&#39; button, ask
354 aptdaemon via the PackageKit API to install the requrired package.&lt;/li&gt;
355
356 &lt;li&gt;aptdaemon ask for root password or sudo password, and install the
357 package while showing progress information in a window.&lt;/li&gt;
358
359 &lt;/ul&gt;
360
361 &lt;p&gt;I still need to come up with a better name for the system. Here
362 are some screen shots showing the prototype in action. First the
363 notification, then the password request, and finally the request to
364 approve all the dependencies. Sorry for the Norwegian Bokmål GUI.&lt;/p&gt;
365
366 &lt;p&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-1-notification.png&quot;&gt;
367 &lt;br&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-2-password.png&quot;&gt;
368 &lt;br&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-3-dependencies.png&quot;&gt;
369 &lt;br&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-4-installing.png&quot;&gt;
370 &lt;br&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-5-installing-details.png&quot; width=&quot;70%&quot;&gt;&lt;/p&gt;
371
372 &lt;p&gt;The prototype still need to be improved with longer timeouts, but
373 is already useful. The database of hardware to package mappings also
374 need more work. It is currently compatible with the Ubuntu way of
375 storing such information in the package control file, but could be
376 changed to use other formats instead or in addition to the current
377 method. I&#39;ve dropped the use of discover for this mapping, as the
378 modalias approach is more flexible and easier to use on Linux as long
379 as the Linux kernel expose its modalias strings directly.&lt;/p&gt;
380
381 &lt;p&gt;&lt;strong&gt;Update 2013-01-21 16:50&lt;/strong&gt;: Due to popular demand,
382 here is the command required to check out and build the source: Use
383 &#39;&lt;tt&gt;svn checkout
384 svn://svn.debian.org/debian-edu/trunk/src/hw-support-handler/; cd
385 hw-support-handler; debuild&lt;/tt&gt;&#39;. If you lack debuild, install the
386 devscripts package.&lt;/p&gt;
387
388 &lt;p&gt;&lt;strong&gt;Update 2013-01-23 12:00&lt;/strong&gt;: The project is now
389 renamed to Isenkram and the source moved from the Debian Edu
390 subversion repository to a Debian collab-maint git repository. See
391 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html&quot;&gt;build
392 instructions&lt;/a&gt; for details.&lt;/p&gt;
393 </description>
394 </item>
395
396 <item>
397 <title>Thank you Thinkpad X41, for your long and trustworthy service</title>
398 <link>http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html</link>
399 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html</guid>
400 <pubDate>Sat, 19 Jan 2013 09:20:00 +0100</pubDate>
401 <description>&lt;p&gt;This Christmas my trusty old laptop died. It died quietly and
402 suddenly in bed. With a quiet whimper, it went completely quiet and
403 black. The power button was no longer able to turn it on. It was a
404 IBM Thinkpad X41, and the best laptop I ever had. Better than both
405 Thinkpads X30, X31, X40, X60, X61 and X61S. Far better than the
406 Compaq I had before that. Now I need to find a replacement. To keep
407 going during Christmas, I moved the one year old SSD disk to my old
408 X40 where it fitted (only one I had left that could use it), but it is
409 not a durable solution.
410
411 &lt;p&gt;My laptop needs are fairly modest. This is my wishlist from when I
412 got a new one more than 10 years ago. It still holds true.:)&lt;/p&gt;
413
414 &lt;ul&gt;
415
416 &lt;li&gt;Lightweight (around 1 kg) and small volume (preferably smaller
417 than A4).&lt;/li&gt;
418 &lt;li&gt;Robust, it will be in my backpack every day.&lt;/li&gt;
419 &lt;li&gt;Three button mouse and a mouse pin instead of touch pad.&lt;/li&gt;
420 &lt;li&gt;Long battery life time. Preferable a week.&lt;/li&gt;
421 &lt;li&gt;Internal WIFI network card.&lt;/li&gt;
422 &lt;li&gt;Internal Twisted Pair network card.&lt;/li&gt;
423 &lt;li&gt;Some USB slots (2-3 is plenty)&lt;/li&gt;
424 &lt;li&gt;Good keyboard - similar to the Thinkpad.&lt;/li&gt;
425 &lt;li&gt;Video resolution at least 1024x768, with size around 12&quot; (A4 paper
426 size).&lt;/li&gt;
427 &lt;li&gt;Hardware supported by Debian Stable, ie the default kernel and
428 X.org packages.&lt;/li&gt;
429 &lt;li&gt;Quiet, preferably fan free (or at least not using the fan most of
430 the time).
431
432 &lt;/ul&gt;
433
434 &lt;p&gt;You will notice that there are no RAM and CPU requirements in the
435 list. The reason is simply that the specifications on laptops the
436 last 10-15 years have been sufficient for my needs, and I have to look
437 at other features to choose my laptop. But are there still made as
438 robust laptops as my X41? The Thinkpad X60/X61 proved to be less
439 robust, and Thinkpads seem to be heading in the wrong direction since
440 Lenovo took over. But I&#39;ve been told that X220 and X1 Carbon might
441 still be useful.&lt;/p&gt;
442
443 &lt;p&gt;Perhaps I should rethink my needs, and look for a pad with an
444 external keyboard? I&#39;ll have to check the
445 &lt;a href=&quot;http://www.linux-laptop.net/&quot;&gt;Linux Laptops site&lt;/a&gt; for
446 well-supported laptops, or perhaps just buy one preinstalled from one
447 of the vendors listed on the &lt;a href=&quot;http://linuxpreloaded.com/&quot;&gt;Linux
448 Pre-loaded site&lt;/a&gt;.&lt;/p&gt;
449 </description>
450 </item>
451
452 <item>
453 <title>How to find a browser plugin supporting a given MIME type</title>
454 <link>http://people.skolelinux.org/pere/blog/How_to_find_a_browser_plugin_supporting_a_given_MIME_type.html</link>
455 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_find_a_browser_plugin_supporting_a_given_MIME_type.html</guid>
456 <pubDate>Fri, 18 Jan 2013 10:40:00 +0100</pubDate>
457 <description>&lt;p&gt;Some times I try to figure out which Iceweasel browser plugin to
458 install to get support for a given MIME type. Thanks to
459 &lt;a href=&quot;https://wiki.ubuntu.com/MozillaTeam/Plugins&quot;&gt;specifications
460 done by Ubuntu&lt;/a&gt; and Mozilla, it is possible to do this in Debian.
461 Unfortunately, not very many packages provide the needed meta
462 information, Anyway, here is a small script to look up all browser
463 plugin packages announcing ther MIME support using this specification:&lt;/p&gt;
464
465 &lt;pre&gt;
466 #!/usr/bin/python
467 import sys
468 import apt
469 def pkgs_handling_mimetype(mimetype):
470 cache = apt.Cache()
471 cache.open(None)
472 thepkgs = []
473 for pkg in cache:
474 version = pkg.candidate
475 if version is None:
476 version = pkg.installed
477 if version is None:
478 continue
479 record = version.record
480 if not record.has_key(&#39;Npp-MimeType&#39;):
481 continue
482 mime_types = record[&#39;Npp-MimeType&#39;].split(&#39;,&#39;)
483 for t in mime_types:
484 t = t.rstrip().strip()
485 if t == mimetype:
486 thepkgs.append(pkg.name)
487 return thepkgs
488 mimetype = &quot;audio/ogg&quot;
489 if 1 &lt; len(sys.argv):
490 mimetype = sys.argv[1]
491 print &quot;Browser plugin packages supporting %s:&quot; % mimetype
492 for pkg in pkgs_handling_mimetype(mimetype):
493 print &quot; %s&quot; %pkg
494 &lt;/pre&gt;
495
496 &lt;p&gt;It can be used like this to look up a given MIME type:&lt;/p&gt;
497
498 &lt;pre&gt;
499 % ./apt-find-browserplug-for-mimetype
500 Browser plugin packages supporting audio/ogg:
501 gecko-mediaplayer
502 % ./apt-find-browserplug-for-mimetype application/x-shockwave-flash
503 Browser plugin packages supporting application/x-shockwave-flash:
504 browser-plugin-gnash
505 %
506 &lt;/pre&gt;
507
508 &lt;p&gt;In Ubuntu this mechanism is combined with support in the browser
509 itself to query for plugins and propose to install the needed
510 packages. It would be great if Debian supported such feature too. Is
511 anyone working on adding it?&lt;/p&gt;
512
513 &lt;p&gt;&lt;strong&gt;Update 2013-01-18 14:20&lt;/strong&gt;: The Debian BTS
514 request for icweasel support for this feature is
515 &lt;a href=&quot;http://bugs.debian.org/484010&quot;&gt;#484010&lt;/a&gt; from 2008 (and
516 &lt;a href=&quot;http://bugs.debian.org/698426&quot;&gt;#698426&lt;/a&gt; from today). Lack
517 of manpower and wish for a different design is the reason thus feature
518 is not yet in iceweasel from Debian.&lt;/p&gt;
519 </description>
520 </item>
521
522 <item>
523 <title>What is the most supported MIME type in Debian?</title>
524 <link>http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html</link>
525 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html</guid>
526 <pubDate>Wed, 16 Jan 2013 10:10:00 +0100</pubDate>
527 <description>&lt;p&gt;The &lt;a href=&quot;http://wiki.debian.org/AppStreamDebianProposal&quot;&gt;DEP-11
528 proposal to add AppStream information to the Debian archive&lt;/a&gt;, is a
529 proposal to make it possible for a Desktop application to propose to
530 the user some package to install to gain support for a given MIME
531 type, font, library etc. that is currently missing. With such
532 mechanism in place, it would be possible for the desktop to
533 automatically propose and install leocad if some LDraw file is
534 downloaded by the browser.&lt;/p&gt;
535
536 &lt;p&gt;To get some idea about the current content of the archive, I decided
537 to write a simple program to extract all .desktop files from the
538 Debian archive and look up the claimed MIME support there. The result
539 can be found on the
540 &lt;a href=&quot;http://ftp.skolelinux.org/pub/AppStreamTest&quot;&gt;Skolelinux FTP
541 site&lt;/a&gt;. Using the collected information, it become possible to
542 answer the question in the title. Here are the 20 most supported MIME
543 types in Debian stable (Squeeze), testing (Wheezy) and unstable (Sid).
544 The complete list is available from the link above.&lt;/p&gt;
545
546 &lt;p&gt;&lt;strong&gt;Debian Stable:&lt;/strong&gt;&lt;/p&gt;
547
548 &lt;pre&gt;
549 count MIME type
550 ----- -----------------------
551 32 text/plain
552 30 audio/mpeg
553 29 image/png
554 28 image/jpeg
555 27 application/ogg
556 26 audio/x-mp3
557 25 image/tiff
558 25 image/gif
559 22 image/bmp
560 22 audio/x-wav
561 20 audio/x-flac
562 19 audio/x-mpegurl
563 18 video/x-ms-asf
564 18 audio/x-musepack
565 18 audio/x-mpeg
566 18 application/x-ogg
567 17 video/mpeg
568 17 audio/x-scpls
569 17 audio/ogg
570 16 video/x-ms-wmv
571 &lt;/pre&gt;
572
573 &lt;p&gt;&lt;strong&gt;Debian Testing:&lt;/strong&gt;&lt;/p&gt;
574
575 &lt;pre&gt;
576 count MIME type
577 ----- -----------------------
578 33 text/plain
579 32 image/png
580 32 image/jpeg
581 29 audio/mpeg
582 27 image/gif
583 26 image/tiff
584 26 application/ogg
585 25 audio/x-mp3
586 22 image/bmp
587 21 audio/x-wav
588 19 audio/x-mpegurl
589 19 audio/x-mpeg
590 18 video/mpeg
591 18 audio/x-scpls
592 18 audio/x-flac
593 18 application/x-ogg
594 17 video/x-ms-asf
595 17 text/html
596 17 audio/x-musepack
597 16 image/x-xbitmap
598 &lt;/pre&gt;
599
600 &lt;p&gt;&lt;strong&gt;Debian Unstable:&lt;/strong&gt;&lt;/p&gt;
601
602 &lt;pre&gt;
603 count MIME type
604 ----- -----------------------
605 31 text/plain
606 31 image/png
607 31 image/jpeg
608 29 audio/mpeg
609 28 application/ogg
610 27 image/gif
611 26 image/tiff
612 26 audio/x-mp3
613 23 audio/x-wav
614 22 image/bmp
615 21 audio/x-flac
616 20 audio/x-mpegurl
617 19 audio/x-mpeg
618 18 video/x-ms-asf
619 18 video/mpeg
620 18 audio/x-scpls
621 18 application/x-ogg
622 17 audio/x-musepack
623 16 video/x-ms-wmv
624 16 video/x-msvideo
625 &lt;/pre&gt;
626
627 &lt;p&gt;I am told that PackageKit can provide an API to access the kind of
628 information mentioned in DEP-11. I have not yet had time to look at
629 it, but hope the PackageKit people in Debian are on top of these
630 issues.&lt;/p&gt;
631
632 &lt;p&gt;&lt;strong&gt;Update 2013-01-16 13:35&lt;/strong&gt;: Updated numbers after
633 discovering a typo in my script.&lt;/p&gt;
634 </description>
635 </item>
636
637 </channel>
638 </rss>