1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries from February
2013</title>
5 <description>Entries from February
2013</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
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><p
>For et halvt år siden
15 <a href=
"http://people.skolelinux.org/pere/blog/SQL_database_med_anbud_publisert_p__Doffin.html
">satte
16 jeg opp et system for å lage en database
</a
> med informasjon om
17 offentlige anbud fra
<a href=
"http://www.doffin.no/
">Doffin
</a
> ved
18 <a href=
"https://scraperwiki.com/scrapers/norwegian-doffin/
">hjelp av
19 Scraperwiki
</a
>. Nå er databasen så vidt jeg kan se komplett, med
20 data helt tilbake til
2008. Her er litt statistikk over
21 <a href=
"https://api.scraperwiki.com/api/
1.0/datastore/sqlite?format=htmltable
&name=norwegian-doffin
&query=select%
20strftime(%
22%
25Y-%
25m%
22%
2C%
20publishdate)%
20as%
20publishmonth%
2C%
20count(*)%
20from%
20%
60swdata%
60%
20group%
20by%
20publishmonth%
20order%
20by%
20publishmonth%
20desc
">antall
22 anbud publisert hver måned
</a
>:
</p
>
24 <p
><table border=
"1">
25 <tr
> <th
>Publiseringsmåned
</th
> <th
>Antall
</th
> </tr
>
26 <tr
> <td
>2013-
01</td
> <td
>1015</td
> </tr
>
27 <tr
> <td
>2012-
12</td
> <td
>756</td
> </tr
>
28 <tr
> <td
>2012-
11</td
> <td
>979</td
> </tr
>
29 <tr
> <td
>2012-
10</td
> <td
>1093</td
> </tr
>
30 <tr
> <td
>2012-
09</td
> <td
>1023</td
> </tr
>
31 <tr
> <td
>2012-
08</td
> <td
>951</td
> </tr
>
32 <tr
> <td
>2012-
07</td
> <td
>1103</td
> </tr
>
33 <tr
> <td
>2012-
06</td
> <td
>1334</td
> </tr
>
34 <tr
> <td
>2012-
05</td
> <td
>1435</td
> </tr
>
35 <tr
> <td
>2012-
04</td
> <td
>1169</td
> </tr
>
36 <tr
> <td
>2012-
03</td
> <td
>1573</td
> </tr
>
37 <tr
> <td
>2012-
02</td
> <td
>1335</td
> </tr
>
38 <tr
> <td
>2012-
01</td
> <td
>1147</td
> </tr
>
39 <tr
> <td
>2011-
12</td
> <td
>1045</td
> </tr
>
40 <tr
> <td
>2011-
11</td
> <td
>1114</td
> </tr
>
41 <tr
> <td
>2011-
10</td
> <td
>1230</td
> </tr
>
42 <tr
> <td
>2011-
09</td
> <td
>1165</td
> </tr
>
43 <tr
> <td
>2011-
08</td
> <td
>966</td
> </tr
>
44 <tr
> <td
>2011-
07</td
> <td
>1148</td
> </tr
>
45 <tr
> <td
>2011-
06</td
> <td
>1410</td
> </tr
>
46 <tr
> <td
>2011-
05</td
> <td
>1536</td
> </tr
>
47 <tr
> <td
>2011-
04</td
> <td
>1350</td
> </tr
>
48 <tr
> <td
>2011-
03</td
> <td
>1574</td
> </tr
>
49 <tr
> <td
>2011-
02</td
> <td
>1370</td
> </tr
>
50 <tr
> <td
>2011-
01</td
> <td
>1049</td
> </tr
>
51 <tr
> <td
>2010-
12</td
> <td
>992</td
> </tr
>
52 <tr
> <td
>2010-
11</td
> <td
>1089</td
> </tr
>
53 <tr
> <td
>2010-
10</td
> <td
>1110</td
> </tr
>
54 <tr
> <td
>2010-
09</td
> <td
>1132</td
> </tr
>
55 <tr
> <td
>2010-
08</td
> <td
>883</td
> </tr
>
56 <tr
> <td
>2010-
07</td
> <td
>1126</td
> </tr
>
57 <tr
> <td
>2010-
06</td
> <td
>1440</td
> </tr
>
58 <tr
> <td
>2010-
05</td
> <td
>1236</td
> </tr
>
59 <tr
> <td
>2010-
04</td
> <td
>1249</td
> </tr
>
60 <tr
> <td
>2010-
03</td
> <td
>1556</td
> </tr
>
61 <tr
> <td
>2010-
02</td
> <td
>1256</td
> </tr
>
62 <tr
> <td
>2010-
01</td
> <td
>1140</td
> </tr
>
63 <tr
> <td
>2009-
12</td
> <td
>1013</td
> </tr
>
64 <tr
> <td
>2009-
11</td
> <td
>1220</td
> </tr
>
65 <tr
> <td
>2009-
10</td
> <td
>1320</td
> </tr
>
66 <tr
> <td
>2009-
09</td
> <td
>1294</td
> </tr
>
67 <tr
> <td
>2009-
08</td
> <td
>953</td
> </tr
>
68 <tr
> <td
>2009-
07</td
> <td
>1162</td
> </tr
>
69 <tr
> <td
>2009-
06</td
> <td
>1605</td
> </tr
>
70 <tr
> <td
>2009-
05</td
> <td
>1568</td
> </tr
>
71 <tr
> <td
>2009-
04</td
> <td
>1522</td
> </tr
>
72 <tr
> <td
>2009-
03</td
> <td
>1599</td
> </tr
>
73 <tr
> <td
>2009-
02</td
> <td
>1376</td
> </tr
>
74 <tr
> <td
>2009-
01</td
> <td
>1080</td
> </tr
>
75 <tr
> <td
>2008-
12</td
> <td
>1028</td
> </tr
>
76 <tr
> <td
>2008-
11</td
> <td
>949</td
> </tr
>
77 <tr
> <td
>2008-
10</td
> <td
>1047</td
> </tr
>
78 <tr
> <td
>2008-
09</td
> <td
>965</td
> </tr
>
79 <tr
> <td
>2008-
08</td
> <td
>725</td
> </tr
>
80 <tr
> <td
>2008-
07</td
> <td
>1015</td
> </tr
>
81 <tr
> <td
>2008-
06</td
> <td
>1304</td
> </tr
>
82 <tr
> <td
>2008-
05</td
> <td
>323</td
> </tr
>
83 </table
></p
>
85 <p
>Her er tilsvarende
86 <a href=
"https://api.scraperwiki.com/api/
1.0/datastore/sqlite?format=htmltable
&name=norwegian-doffin
&query=select%
20strftime(%
22%
25Y%
22%
2C%
20publishdate)%
20as%
20publishyear%
2C%
20count(*)%
20from%
20%
60swdata%
60%
20group%
20by%
20publishyear%
20order%
20by%
20publishyear%
20desc
">tall
87 per år
</a
>, som viser en liten nedgang i antall anbud:
</p
>
89 <table border=
"1">
90 <tr
> <th
>Publiseringsår
</th
> <th
>Antall
</th
> </tr
>
91 <tr
> <td
>2012</td
> <td
>13898</td
> </tr
>
92 <tr
> <td
>2011</td
> <td
>14957</td
> </tr
>
93 <tr
> <td
>2010</td
> <td
>14209</td
> </tr
>
94 <tr
> <td
>2009</td
> <td
>15712</td
> </tr
>
95 <tr
> <td
>2008</td
> <td
>7356</td
> </tr
>
96 </table
></p
>
98 <p
>Jeg troppet den ufullstendige måneden og året fra tabellen. Se
99 lenken for oppdaterte tall.
</p
>
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><p
><img align=
"left
" style=
"margin-right:
25px;
" src=
"http://people.skolelinux.org/pere/blog/images/
2013-
02-
10-morning-light.jpeg
"></p
>
110 <p
>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.
</p
>
122 <p
>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 <a href=
"http://www.telldus.se/products/tellstick
">Tellstick
</a
> and RF
125 switches at the local
<a href=
"http://www.clasohlson.com/
">Clas
126 Ohlson
</a
> 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 <a href=
"http://www.telldus.se/products/tellstick_net
">Tellstick
132 Net
</a
> 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
138 <a href=
"http://developer.telldus.com/blog/
2012/
03/
02/help-us-develop-local-access-using-tellstick-net-build-your-own-firmware
">firmware
139 with local access
</A
> 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.
</p
>
150 <p
>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 "morning light
" 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.
</p
>
157 <p
>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.
</p
>
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><p
>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.
</p
>
174 <p
>Hvis du vil vite hva hver enkelt stortingsrepresentant har stemt i
175 stortingsvoteringene om datalagringsdirektivet, så har nettstedet til
176 <a href=
"http://www.holderdeord.no/
">Holder De Ord
</a
> den (så vidt jeg
177 vet) eneste komplette oversikten på sin temaside om
178 <a href=
"http://beta.holderdeord.no/issues/innfore-datalagringsdirektivet
">innføringen
179 av datalagringsdirektivet
</a
>. 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.
</p
>
183 <p
>Hvis du lurer på hva som er problemet med datalagringsdirektivet,
184 anbefaler jeg å lese
<a href=
"http://www.uhuru.biz/?cat=
84">artiklene
185 fra Jon Wessel-Aas
</a
> om temaet, samt informasjon fra foreningen
186 <a href=
"http://www.digitaltpersonvern.no/
">Digitalt
187 Personvern
</a
>.
</p
>
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><p
>Jeg ser med gru at Arbeiderpartiet, Høyre og Fremskrittspartiet
197 <a href=
"http://www.aftenposten.no/nyheter/iriks/Positive-til-mer-smuglerovervaking-
7110348.html
">applauderer
198 tollvesenets forslag
</a
> 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.
</p
>
205 <p
><a href=
"http://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/?p=
48717">Datalagringsdirektivet
</a
>
206 har vært oppe til votering i stortinget tre ganger så langt. Det ble
207 <a href=
"http://svartelisten.org/
">vedtatt første gang
2011-
04-
04</a
>
209 <a href=
"https://github.com/holderdeord/hdo-folketingparser/blob/master/data/votering-
2011-
04-
11.xml
">andre
210 gang
2011-
04-
11</a
> (lovendringer voteres to ganger), og forslag om å
212 <a href=
"http://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/Voteringsoversikt/?p=
53844&dnid=
1">nedstemt
213 2012-
12-
06</a
> (se også
214 <a href=
"http://beta.holderdeord.no/issues/innfore-datalagringsdirektivet
">oversikt fra Holder De
215 Ord
</a
>).
</p
>
217 <p
>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.
</p
>
225 <p
>Hvis du lurer på hva som er problemet med datalagringsdirektivet,
226 anbefaler jeg å lese
<a href=
"http://www.uhuru.biz/?cat=
84">artiklene
227 fra Jon Wessel-Aas
</a
> om temaet, samt informasjon fra foreningen
228 <a href=
"http://www.digitaltpersonvern.no/
">Digitalt
229 Personvern
</a
>.
</p
>
231 <p
><strong
>Oppdatering
2013-
03-
09</strong
>: Endret lenke til Holder De
232 Ord, som har byttet mange lenker i forbindelse med import av
233 voteringsdata for
2010-
2011.
</p
>
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><p
>My
243 <a href=
"http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html
">last
244 bitcoin related blog post
</a
> mentioned that the new
245 <a href=
"http://packages.qa.debian.org/bitcoin
">bitcoin package
</a
> 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.
</p
>
251 <p
>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 (
<a href=
"http://bugs.debian.org/
672524">BTS #
672524</a
>).
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.
</p
>
260 <p
>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 (
<a href=
"http://bugs.debian.org/
696715">BTS
263 #
696715</a
>). So make sure you have enough disk space when you run
266 <p
>As usual, if you use bitcoin and want to show your support of my
267 activities, please send Bitcoin donations to my address
268 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
&label=PetterReinholdtsenBlog
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>