]> 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>Lets make hardware dongles easier to use in Debian</title>
11 <link>http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html</guid>
13 <pubDate>Wed, 9 Jan 2013 15:40:00 +0100</pubDate>
14 <description>&lt;p&gt;One thing that annoys me with Debian and Linux distributions in
15 general, is that there is a great package management system with the
16 ability to automatically install software packages by downloading them
17 from the distribution mirrors, but no way to get it to automatically
18 install the packages I need to use the hardware I plug into my
19 machine. Even if the package to use it is easily available from the
20 Linux distribution. When I plug in a LEGO Mindstorms NXT, it could
21 suggest to automatically install the python-nxt, nbc and t2n packages
22 I need to talk to it. When I plug in a Yubikey, it could propose the
23 yubikey-personalization package. The information required to do this
24 is available, but no-one have pulled all the pieces together.&lt;/p&gt;
25
26 &lt;p&gt;Some years ago, I proposed to
27 &lt;a href=&quot;http://lists.debian.org/debian-devel/2010/05/msg01206.html&quot;&gt;use
28 the discover subsystem to implement this&lt;/a&gt;. The idea is fairly
29 simple:
30
31 &lt;ul&gt;
32
33 &lt;li&gt;Add a desktop entry in /usr/share/autostart/ pointing to a program
34 starting when a user log in.&lt;/li&gt;
35
36 &lt;li&gt;Set this program up to listen for kernel events emitted when new
37 hardware is inserted into the computer.&lt;/li&gt;
38
39 &lt;li&gt;When new hardware is inserted, look up the hardware ID in a
40 database mapping to packages, and take note of any non-installed
41 packages.&lt;/li&gt;
42
43 &lt;li&gt;Show a message to the user proposing to install the discovered
44 package, and make it easy to install it.&lt;/li&gt;
45
46 &lt;/ul&gt;
47
48 &lt;p&gt;I am not sure what the best way to implement this is, but my
49 initial idea was to use dbus events to discover new hardware, the
50 discover database to find packages and
51 &lt;a href=&quot;http://www.packagekit.org/&quot;&gt;PackageKit&lt;/a&gt; to install
52 packages.&lt;/p&gt;
53
54 &lt;p&gt;Yesterday, I found time to try to implement this idea, and the
55 draft package is now checked into
56 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/&quot;&gt;the
57 Debian Edu subversion repository&lt;/a&gt;. In the process, I updated the
58 &lt;a href=&quot;http://packages.qa.debian.org/d/discover-data.html&quot;&gt;discover-data&lt;/a&gt;
59 package to map the USB ids of LEGO Mindstorms and Yubikey devices to
60 the relevant packages in Debian, and uploaded a new version
61 2.2013.01.09 to unstable. I also discovered that the current
62 &lt;a href=&quot;http://packages.qa.debian.org/d/discover.html&quot;&gt;discover&lt;/a&gt;
63 package in Debian no longer discovered any USB devices, because
64 /proc/bus/usb/devices is no longer present. I ported it to use
65 libusb as a fall back option to get it working. The fixed package
66 version 2.1.2-6 is now in experimental (didn&#39;t upload it to unstable
67 because of the freeze).&lt;/p&gt;
68
69 &lt;p&gt;With this prototype in place, I can insert my Yubikey, and get this
70 desktop notification to show up (only once, the first time it is
71 inserted):&lt;/p&gt;
72
73 &lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-09-hw-autoinstall.png&quot;&gt;&lt;/p&gt;
74
75 &lt;p&gt;For this prototype to be really useful, some way to automatically
76 install the proposed packages by pressing the &quot;Please install
77 program(s)&quot; button should to be implemented.&lt;/p&gt;
78
79 &lt;p&gt;If this idea seem useful to you, and you want to help make it
80 happen, please help me update the discover-data database with mappings
81 from hardware to Debian packages. Check if &#39;discover-pkginstall -l&#39;
82 list the package you would like to have installed when a given
83 hardware device is inserted into your computer, and report bugs using
84 reportbug if it isn&#39;t. Or, if you know of a better way to provide
85 such mapping, please let me know.&lt;/p&gt;
86
87 &lt;p&gt;This prototype need more work, and there are several questions that
88 should be considered before it is ready for production use. Is dbus
89 the correct way to detect new hardware? At the moment I look for HAL
90 dbus events on the system bus, because that is the events I could see
91 on my Debian Squeeze KDE desktop. Are there better events to use?
92 How should the user be notified? Is the desktop notification
93 mechanism the best option, or should the background daemon raise a
94 popup instead? How should packages be installed? When should they
95 not be installed?&lt;/p&gt;
96
97 &lt;p&gt;If you want to help getting such feature implemented in Debian,
98 please send me an email. :)&lt;/p&gt;
99 </description>
100 </item>
101
102 <item>
103 <title>New IRC channel for LEGO designers using Debian</title>
104 <link>http://people.skolelinux.org/pere/blog/New_IRC_channel_for_LEGO_designers_using_Debian.html</link>
105 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_IRC_channel_for_LEGO_designers_using_Debian.html</guid>
106 <pubDate>Wed, 2 Jan 2013 15:40:00 +0100</pubDate>
107 <description>&lt;p&gt;During Christmas, I have worked a bit on the Debian support for
108 &lt;a href=&quot;http://mindstorms.lego.com/en-us/Default.aspx&quot;&gt;LEGO Mindstorm
109 NXT&lt;/a&gt;. My son and I have played a bit with my NXT set, and I
110 discovered I had to build all the tools myself because none were
111 already in Debian Squeeze. If Debian support for LEGO is something
112 you care about, please join me on the IRC channel
113 &lt;a href=&quot;irc://irc.debian.org/%23debian-lego&quot;&gt;#debian-lego&lt;/a&gt; (server
114 irc.debian.org). There is a lot that could be done to improve the
115 Debian support for LEGO designers. For example both CAD software
116 and Mindstorm compilers are missing. :)&lt;/p&gt;
117
118 &lt;p&gt;Update 2012-01-03: A
119 &lt;a href=&quot;http://wiki.debian.org/LegoDesigners&quot;&gt;project page&lt;/a&gt;
120 including links to Lego related packages is now available.&lt;/p&gt;
121 </description>
122 </item>
123
124 <item>
125 <title>Lenker for 2013-01-01</title>
126 <link>http://people.skolelinux.org/pere/blog/Lenker_for_2013_01_01.html</link>
127 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lenker_for_2013_01_01.html</guid>
128 <pubDate>Tue, 1 Jan 2013 09:20:00 +0100</pubDate>
129 <description>&lt;p&gt;Her er noen lenker til tekster jeg har satt pris på å lese den
130 siste måneden.&lt;/p&gt;
131
132 &lt;ul&gt;
133
134 &lt;li&gt;2012-12-07
135 &lt;a href=&quot;http://www.idg.no/computerworld/article262047.ece&quot;&gt;Myter og
136 FUD om fri programvare&lt;/a&gt; av min venn Christer Gundersen som
137 kommenterer noen av de påstandene som er spredt via Computerworld
138 Norge de siste månedene.&lt;/li&gt;
139
140 &lt;li&gt;BankID er et opplegg der utsteder (dvs. banken eller dens
141 leverandør) sitter på alt som trengs for å bruke BankID, men har
142 lovet å ikke bruke den unntatt på oppdrag fra deg. Det er greit nok
143 for banktjenester, der banken allerede har full kontroll over
144 resultatet, men problematisk når det gjelder tilgang til
145 helseopplysninger og avtaleinngåelse med andre enn banken. Jeg
146 håper protestene brer om seg.
147
148 &lt;ul&gt;
149
150 &lt;li&gt;2012-12-11 &lt;a href=&quot;http://www.aftenposten.no/meninger/debatt/BankID-blottlegger-helseopplysninger-7067148.html&quot;&gt;BankID
151 blottlegger helseopplysninger&lt;/a&gt;&lt;/li&gt;
152
153 &lt;li&gt;2012-12-07 &lt;a href=&quot;http://www.nrk.no/nyheter/norge/1.9695027&quot;&gt;-
154 Helseopplysningene ikke sikre med Bank-ID&lt;/a&gt;&lt;/li&gt;
155
156 &lt;li&gt;2012-12-07
157 &lt;a href=&quot;https://www.bankid.no/Presse-og-nyheter/Nyhetsarkiv/2012/Papeker-alvorlige-men-kjente-utfordringer/&quot;&gt;Påpeker
158 alvorlige, men kjente utfordringer&lt;/a&gt; er den offisielle
159 holdningen til de som lager BankID.&lt;/li&gt;
160
161 &lt;li&gt;2012-12-08
162 &lt;a href=&quot;http://www.tnp.no/norway/panorama/3419-ntnu-researcher-warns-against-security-of-bank-id-password&quot;&gt;NTNU
163 Researcher Warns against Security of Bank ID Password&lt;/a&gt;
164
165 &lt;/ul&gt;
166
167 &lt;li&gt;2012-12-11 &lt;a href=&quot;http://www.aftenposten.no/nyheter/iriks/Norske-elever-er-darligst-i-Europa-pa-algebra-7066752.html&quot;&gt;Norske elever er dårligst i Europa på algebra&lt;/a&gt;
168
169 &lt;li&gt;2012-12-11
170 &lt;a href=&quot;http://www.aftenposten.no/meninger/debatt/Realfagsdodaren-7067173.html&quot;&gt;Realfagsdødaren&lt;/a&gt;
171
172 &lt;li&gt;2012-12-21
173 &lt;a href=&quot;http://www.bt.no/nyheter/innenriks/112/--Forventningene-er-for-hoye-2816450.html&quot;&gt;-
174 Noen må bli skuffet&lt;/a&gt; - Politiet i Bergen forteller hvor lavt de
175 prioriterer hverdagskriminalitet.&lt;/li&gt;
176
177 &lt;li&gt;2012-05-03
178 &lt;a href=&quot;http://e24.no/jobb/kripos-ansatt-doemt-for-snoking-for-venn/20208585&quot;&gt;
179 Kripos-ansatt dømt for snoking for venn&lt;/A&gt; - viser hvor svak
180 reaksjonen blir når politiet misbruker innsamlet informasjon. En
181 forvarsel på konsekvensene av nasjonal brev- og besøkskontroll -
182 ofte kalt Datalagringsdirektivet.&lt;/li&gt;
183
184 &lt;li&gt;2012-12-14
185 &lt;a href=&quot;http://www.dagbladet.no/2012/12/14/kultur/debatt/kronikk/jul/ensomhet/24838541/&quot;&gt;Å
186 smøre en forskjell&lt;/a&gt; - om ensomhet og jul.&lt;/li&gt;
187
188 &lt;li&gt;2012-12-18
189 &lt;a href=&quot;http://www.aftenposten.no/meninger/kronikker/n-krise-av-gangen_-takk-7072452.html&quot;&gt;Én
190 krise av gangen, takk!&lt;/a&gt;
191
192
193 &lt;li&gt;2012-12-17
194 &lt;a href=&quot;http://www.aftenposten.no/meninger/NAV-Et-mangehodet-monster--7072165.html&quot;&gt;NAV:
195 Et mangehodet monster&lt;/a&gt;&lt;/li&gt;
196
197 &lt;li&gt;2011-01-12
198 &lt;a href=&quot;http://www.dagbladet.no/2011/01/12/kultur/debatt/kronikk/personvern/15027203/&quot;&gt;Pasienter
199 uten vern&lt;/a&gt; - forteller litt om hvordan Norsk Pasientregister og
200 andre helseregister raderer bort pasienters privatsfære.&lt;/li&gt;
201
202
203 &lt;li&gt;2012-12-19
204 &lt;a href=&quot;http://www.aftenposten.no/meninger/debatt/Hvorfor-er-barnefamilier-fattige-7073951.html&quot;&gt;Hvorfor
205 er barnefamilier fattige?&lt;/a&gt;&lt;/li&gt;
206
207 &lt;li&gt;2012-12-25
208 &lt;a href=&quot;http://www.aftenposten.no/meninger/spaltister/Den-skjulte-minoriteten--konservative-kristne-i-Norge-7075518.html&quot;&gt;Den
209 skjulte minoriteten – konservative kristne i Norge&lt;/a&gt; - kronikk av
210 Bjørn Stærk fra aftenposten&lt;/li&gt;
211
212 &lt;li&gt;2009-05-04
213 &lt;a href=&quot;http://deltemeninger.no/-/bulletin/show/303429_folkebiblioteket-2-0?ref=checkpoint&quot;&gt;Folkebiblioteket
214 2.0&lt;/a&gt; - Min venn Sturle om opphavsrett og Internett, i debatt med
215 Olav Torvund.&lt;/li&gt;
216
217 &lt;/ul&gt;
218
219 &lt;p&gt;Og et godt nytt år til dere alle!&lt;/p&gt;
220 </description>
221 </item>
222
223 <item>
224 <title>A Christmas present for Skolelinux / Debian Edu</title>
225 <link>http://people.skolelinux.org/pere/blog/A_Christmas_present_for_Skolelinux___Debian_Edu.html</link>
226 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_Christmas_present_for_Skolelinux___Debian_Edu.html</guid>
227 <pubDate>Fri, 28 Dec 2012 09:20:00 +0100</pubDate>
228 <description>&lt;p&gt;I was happy to discover a few days ago that the
229 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux / Debian Edu&lt;/a&gt;
230 project also this year received a Christmas present from Another
231 Agency in Trondheim. NOK 1000,- showed up on our donation account
232 December 24th. I want to express our thanks for this very welcome
233 present. As the Debian Edu / Skolelinux project is very short on
234 funding these days, and thus lack the money to do regular developer
235 gatherings, this donation was most welcome. One developer gathering
236 cost around NOK 15&amp;nbsp;000,-, so we need quite a lot more to keep the
237 development pace we want. Thus, I hope their example this year is
238 followed by many others. :)&lt;/p&gt;
239
240 &lt;p&gt;The public list of donors can be found on
241 &lt;a href=&quot;http://www.linuxiskolen.no/slxdebianlabs/donations.html&quot;&gt;the
242 donation page&lt;/a&gt; for the project, which also contain instructions if
243 you want to donate to the project.&lt;/p&gt;
244 </description>
245 </item>
246
247 <item>
248 <title>How to backport bitcoin-qt version 0.7.2-2 to Debian Squeeze</title>
249 <link>http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html</link>
250 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html</guid>
251 <pubDate>Tue, 25 Dec 2012 20:50:00 +0100</pubDate>
252 <description>&lt;p&gt;Let me start by wishing you all marry Christmas and a happy new
253 year! I hope next year will prove to be a good year.&lt;/p&gt;
254
255 &lt;p&gt;&lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;Bitcoin&lt;/a&gt;, the digital
256 decentralised &quot;currency&quot; that allow people to transfer bitcoins
257 between each other with minimal overhead, is a very interesting
258 experiment. And as I wrote a few days ago, the bitcoin situation in
259 &lt;a href=&quot;http://www.debian.org/&quot;&gt;Debian&lt;/a&gt; is about to improve a bit.
260 The &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;new debian source
261 package&lt;/a&gt; (version 0.7.2-2) was uploaded yesterday, and is waiting
262 in &lt;a href=&quot;http://ftp-master.debian.org/new.html&quot;&gt;the NEW queue&lt;/A&gt;
263 for one of the ftpmasters to approve the new bitcoin-qt package
264 name.&lt;/p&gt;
265
266 &lt;p&gt;And thanks to the great work of Jonas and the rest of the bitcoin
267 team in Debian, you can easily test the package in Debian Squeeze
268 using the following steps to get a set of working packages:&lt;/p&gt;
269
270 &lt;blockquote&gt;&lt;pre&gt;
271 git clone git://git.debian.org/git/collab-maint/bitcoin
272 cd bitcoin
273 DEB_MAINTAINER_MODE=1 DEB_BUILD_OPTIONS=noupnp fakeroot debian/rules clean
274 DEB_BUILD_OPTIONS=noupnp git-buildpackage --git-ignore-new
275 &lt;/pre&gt;&lt;/blockquote&gt;
276
277 &lt;p&gt;You might have to install some build dependencies as well. The
278 list of commands should give you two packages, bitcoind and
279 bitcoin-qt, ready for use in a Squeeze environment. Note that the
280 client will download the complete set of bitcoin &quot;blocks&quot;, which need
281 around 5.6 GiB of data on my machine at the moment. Make sure your
282 ~/.bitcoin/ directory have lots of spare room if you want to download
283 all the blocks. The client will warn if the disk is getting full, so
284 there is not really a problem if you got too little room, but you will
285 not be able to get all the features out of the client.&lt;/p&gt;
286
287 &lt;p&gt;As usual, if you use bitcoin and want to show your support of my
288 activities, please send Bitcoin donations to my address
289 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&amp;label=PetterReinholdtsenBlog&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
290 </description>
291 </item>
292
293 <item>
294 <title>A word on bitcoin support in Debian</title>
295 <link>http://people.skolelinux.org/pere/blog/A_word_on_bitcoin_support_in_Debian.html</link>
296 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_word_on_bitcoin_support_in_Debian.html</guid>
297 <pubDate>Fri, 21 Dec 2012 23:59:00 +0100</pubDate>
298 <description>&lt;p&gt;It has been a while since I wrote about
299 &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;bitcoin&lt;/a&gt;, the decentralised
300 peer-to-peer based crypto-currency, and the reason is simply that I
301 have been busy elsewhere. But two days ago, I started looking at the
302 state of &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;bitcoin in
303 Debian&lt;/a&gt; again to try to recover my old bitcoin wallet. The package
304 is now maintained by a
305 &lt;a href=&quot;https://alioth.debian.org/projects/pkg-bitcoin/&quot;&gt;team of
306 people&lt;/a&gt;, and the grunt work had already been done by this team. We
307 owe a huge thank you to all these team members. :)
308 But I was sad to discover that the bitcoin client is missing in
309 Wheezy. It is only available in Sid (and an outdated client from
310 backports). The client had several RC bugs registered in BTS blocking
311 it from entering testing. To try to help the team and improve the
312 situation, I spent some time providing patches and triaging the bug
313 reports. I also had a look at the bitcoin package available from Matt
314 Corallo in a
315 &lt;a href=&quot;https://launchpad.net/~bitcoin/+archive/bitcoin&quot;&gt;PPA for
316 Ubuntu&lt;/a&gt;, and moved the useful pieces from that version into the
317 Debian package.&lt;/p&gt;
318
319 &lt;p&gt;After checking with the main package maintainer Jonas Smedegaard on
320 IRC, I pushed several patches into the collab-maint git repository to
321 improve the package. It now contains fixes for the RC issues (not from
322 me, but fixed by Scott Howard), build rules for a Qt GUI client
323 package, konqueror support for the bitcoin: URI and bash completion
324 setup. As I work on Debian Squeeze, I also created
325 &lt;a href=&quot;http://lists.alioth.debian.org/pipermail/pkg-bitcoin-devel/Week-of-Mon-20121217/000041.html&quot;&gt;a
326 patch to backport&lt;/a&gt; the latest version. Jonas is going to look at
327 it and try to integrate it into the git repository before uploading a
328 new version to unstable.
329
330 &lt;p&gt;I would very much like bitcoin to succeed, to get rid of the
331 centralized control currently exercised in the monetary system. I
332 find it completely unacceptable that the USA government is collecting
333 transaction data for almost all international money transfers (most are done in USD and transaction logs shipped to the spooks), and
334 that the major credit card companies can block legal money
335 transactions to Wikileaks. But for bitcoin to succeed, more people
336 need to use bitcoins, and more people need to accept bitcoins when
337 they sell products and services. Improving the bitcoin support in
338 Debian is a small step in the right direction, but not enough.
339 Unfortunately the user experience when browsing the web and wanting to
340 pay with bitcoin is still not very good. The bitcoin: URI is a step
341 in the right direction, but need to work in most or every browser in
342 use. Also the bitcoin-qt client is too heavy to fire up to do a
343 quick transaction. I believe there are other clients available, but
344 have not tested them.&lt;/p&gt;
345
346 &lt;p&gt;My
347 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html&quot;&gt;experiment
348 with bitcoins&lt;/a&gt; showed that at least some of my readers use bitcoin.
349 I received 20.15 BTC so far on the address I provided in my blog two
350 years ago, as can be
351 &lt;a href=&quot;http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;seen
352 on the blockexplorer service&lt;/a&gt;. Thank you everyone for your
353 donation. The blockexplorer service demonstrates quite well that
354 bitcoin is not quite anonymous and untracked. :) I wonder if the
355 number of users have gone up since then. If you use bitcoin and want
356 to show your support of my activity, please send Bitcoin donations to
357 the same address as last time,
358 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&amp;label=PetterReinholdtsenBlog&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
359 </description>
360 </item>
361
362 <item>
363 <title>Piratpartiet på opphavs-retrett?</title>
364 <link>http://people.skolelinux.org/pere/blog/Piratpartiet_p__opphavs_retrett_.html</link>
365 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Piratpartiet_p__opphavs_retrett_.html</guid>
366 <pubDate>Wed, 19 Dec 2012 13:10:00 +0100</pubDate>
367 <description>&lt;p&gt;Jeg ble overrasket over å se at Piratpartiet i
368 &lt;a href=&quot;http://www.aftenposten.no/kultur/Piratpartiet-stiller-til-Stortingsvalget-7073298.html&quot;&gt;Aftenposten&lt;/a&gt;
369 er referert på følgende:&lt;/p&gt;
370
371 &lt;blockquote&gt;
372 Når det gjelder retten til opphavsrett for kulturproduktene, mener
373 Piratpartiet av levetid + 14 år er tilfredsstillende.
374 &lt;/blockquote&gt;
375
376 &lt;p&gt;Det betyr en vernetid langt ut over det kommersielle livet til de
377 aller fleste opphavsrettsbeskyttede verker, og er i strid med slik i
378 hvert fall jeg har tolket punkt 5 i
379 &lt;a href=&quot;http://people.opera.com/howcome/2012/piratpartiet/kjerneprogram.html&quot;&gt;kjerneprogrammet
380 til Piratpartiet&lt;/a&gt;:&lt;/p&gt;
381
382 &lt;blockquote&gt;
383 &lt;p&gt;&lt;strong&gt;5: Åndsverk og patenter: tilbake til start&lt;/strong&gt;&lt;/p&gt;
384
385 &lt;table border=&quot;1&quot;&gt;
386 &lt;tr&gt;&lt;th&gt;forslag:&lt;/th&gt;&lt;td&gt;14 års opphavsrett og ingen
387 programvarepatenter&lt;/td&gt;&lt;/tr&gt;
388
389 &lt;tr&gt;&lt;th&gt;grunn:&lt;/th&gt;&lt;td&gt;Den første loven om opphavsrett spesifiserte 14
390 års vernetid. Senere har mediabransjens lobbyister stadig presset
391 loven mot lengre vern, nå er det 70 år etter forfatters død. Dette
392 gjør at mange verk glemmes og går tapt, noe som er skadelig for norsk
393 språk og kultur. Vi til tilbake til start: 14 års
394 vernetid. Patentloven sier klart at dataprogrammer ikke kan
395 patenteres. Likevel klarer patentadvokater å lure gjennom
396 programvarepatenter. Slike patenter gjør dingsene våre dyrere og kan i
397 enkelte tilfelle stoppe dem helt.&lt;/th&gt;&lt;/tr&gt;
398 &lt;/table&gt;
399 &lt;/blockquote&gt;
400
401 &lt;p&gt;Den opprinnelige opphavsretten var på 14 år totalt, ikke 14 år
402 etter opphavspersonens død. Jeg tenkte først dette kanskje var
403 feilsitering fra Aftenposten, men jeg finner samme påstand i en &lt;a
404 href=&quot;http://piratpartietnorge.org/om-gramo-og-piratpolitikken/&quot;&gt;bloggpost
405 fra Geir Aaslid&lt;/a&gt; på Piratpartietes offisielle nettsider. Der
406 skriver han følgende:&lt;/p&gt;
407
408 &lt;blockquote&gt;
409 Hva vi gjør med opphavsretten er mer komplisert fordi den omfavner så
410 mange bransjer, med ulike behov. Enhver reform er en forbedring men
411 det er nærliggende å anta at en opphavsrett på levetid + 14 år er
412 fullt ut tilfredstillende for musikk, film, litteratur og spill.
413 &lt;/blockquote&gt;
414
415 &lt;p&gt;Det virker dermed på meg som om Piratpartiet allerede har gjort
416 retrett fra sin beundringsverdige holdning om at det holdt med 14 års
417 total vernetid, til sin nye som tar utgangspunkt i levetiden til
418 opphavspersonen. Jeg håper det baserer seg på en misforståelse hos
419 piratlederen som blir korrigert tilbake til 14 års total vernetid før
420 partiet stiller til valg.&lt;/p&gt;
421
422 &lt;p&gt;Hvis du lurer på hvilke problemer lang vernetid bringer med seg,
423 anbefaler jeg å lese boken &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free
424 Culture&lt;/a&gt; av Lawrence Lessig. Jeg og en liten gruppe andre er igang
425 med å
426 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;oversette
427 boken til bokmål&lt;/a&gt; og tar gjerne imot hjelp med oversettelse og
428 korrekturlesing.&lt;/p&gt;
429
430 &lt;p&gt;&lt;strong&gt;Oppdatering 2012-12-20&lt;/strong&gt;: Oppdaget at
431 &lt;a href=&quot;http://piratpartietnorge.org/om-gramo-og-piratpolitikken/&quot;&gt;bloggposten
432 til Geir Aaslid&lt;/a&gt; er endret siden i går, og nå inneholder følgende
433 avsnitt i stedet for det jeg siterte over:&lt;/p&gt;
434
435 &lt;blockquote&gt;
436 Hva vi gjør med opphavsretten er mer komplisert fordi den omfavner så
437 mange bransjer, med ulike behov. Enhver reform er en forbedring men
438 det er nærliggende å anta at en opphavsrett lik levetiden, evt + 14 år
439 er fullt ut tilfredstillende for mange skapere av musikk, film,
440 litteratur og spill. Det er for det meste de store forlagene som er
441 imot enhver reform.
442 &lt;/blockquote&gt;
443
444 &lt;p&gt;I tillegg har det dukket opp en setning nederst &quot;Dette dokumentet
445 er et utkast til svar på et angrep på Piratpartiet fra Gramo. Det
446 endrer seg derfor over tid og den endelige versjonen er det som blir
447 publisert på Hardware.no&quot;, som tyder på at originalformuleringen ikke
448 var veloverveid og sitatet i Aftenposten kanskje var basert på en
449 misforståelse.&lt;/p&gt;
450 </description>
451 </item>
452
453 <item>
454 <title>Ledger - double-entry accounting using text based storage format</title>
455 <link>http://people.skolelinux.org/pere/blog/Ledger___double_entry_accounting_using_text_based_storage_format.html</link>
456 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Ledger___double_entry_accounting_using_text_based_storage_format.html</guid>
457 <pubDate>Tue, 18 Dec 2012 23:30:00 +0100</pubDate>
458 <description>&lt;p&gt;A few days ago I came across
459 &lt;a href=&quot;http://joeyh.name/blog/entry/hledger/&quot;&gt;a blog post from Joey
460 Hess&lt;/a&gt; describing &lt;a href=&quot;http://ledger-cli.org/&quot;&gt;ledger&lt;/a&gt; and
461 hledger, a text based system for double-entry accounting. I found it
462 interesting, as I am involved with several organizations where
463 accounting is an issue, and I have not really become too friendly with
464 the different web based systems we use. I find it hard to find what I
465 look for in the menus and even harder try to get sensible data out of
466 the systems. Ledger seem different. The accounting data is kept in
467 text files that can be stored in a version control system, and there
468
469 are at least &lt;a href=&quot;https://github.com/ledger/ledger/wiki/Ports&quot;&gt;five
470 different implementations&lt;/a&gt; able to read the format. An example
471 entry look like this, and is simple enough that it will be trivial to
472 generate entries based on CVS files fetched from the bank:&lt;/p&gt;
473
474 &lt;blockquote&gt;&lt;pre&gt;
475 2004-05-27 Book Store
476 Expenses:Books $20.00
477 Liabilities:Visa
478 &lt;/pre&gt;&lt;/blockquote&gt;
479
480 &lt;p&gt;The concept seemed interesting enough for me to check it out and
481 look for others using it. I found blog posts from
482 &lt;a href=&quot;http://blog.spang.cc/posts/hledger_rocks_my_world/&quot;&gt;Christine
483 Spang&lt;/a&gt;,
484 &lt;a href=&quot;http://bugsplat.info/2010-05-23-keeping-finances-with-ledger.html&quot;&gt;Pete
485 Keen&lt;/a&gt;,
486 &lt;a href=&quot;http://blog.andrewcantino.com/blog/2010/11/06/command-line-accounting-with-ledger-and-reckon/&quot;&gt;Andrew
487 Cantino&lt;/a&gt; and
488 &lt;a href=&quot;http://blog.iphoting.com/blog/2012/11/29/command-line-double-entry-accounting/&quot;&gt;Ronald
489 Ip&lt;/a&gt; describing how they use it, as well as a post from
490 &lt;a href=&quot;https://groups.google.com/forum/?fromgroups=#!topic/ledger-cli/r0oWjwbQ9Bo&quot;&gt;Bradley
491 M. Kuhn&lt;/a&gt; at the Software Freedom Conservancy. All seemed like good
492 recommendations fitting my need.&lt;/p&gt;
493
494 &lt;p&gt;The &lt;a href=&quot;http://packages.qa.debian.org/l/ledger.html&quot;&gt;ledger&lt;/a&gt;
495 package is available in Debian Squeeze, while the
496 &lt;a href=&quot;http://packages.qa.debian.org/h/haskell-hledger.html&quot;&gt;hledger&lt;/a&gt;
497 package only is available in Debian Sid. As I use Squeeze, ledger
498 seemed the best choice to get started.&lt;/p&gt;
499
500 &lt;p&gt;To get some real data to test on, I wrote a
501 &lt;a href=&quot;http://www.nuug.no/tools/lodo2ledger&quot;&gt;web scraper&lt;/a&gt; for
502 &lt;a href=&quot;http://www.lodo.no/&quot;&gt;LODO&lt;/a&gt;, the accounting system used by
503 the &lt;a href=&quot;http://www.nuug.no/&quot;&gt;NUUG&lt;/a&gt; association, and started to
504 play with the data set. I&#39;m not really deeply into accounting, but I
505 am able to get a simple balance and accounting status for example
506 using the &quot;&lt;tt&gt;ledger balance&lt;/tt&gt;&quot; command. But I will have to
507 gather more experience before I know if the ledger way is a good fit
508 for the organisations I am involved in.&lt;/p&gt;
509 </description>
510 </item>
511
512 <item>
513 <title>61 kommuner lenker nå til FiksGataMi fra sine nettsider</title>
514 <link>http://people.skolelinux.org/pere/blog/61_kommuner_lenker_n__til_FiksGataMi_fra_sine_nettsider.html</link>
515 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/61_kommuner_lenker_n__til_FiksGataMi_fra_sine_nettsider.html</guid>
516 <pubDate>Tue, 11 Dec 2012 23:55:00 +0100</pubDate>
517 <description>&lt;p&gt;For noen dager siden omfavnet nok en kommune NUUGs
518 &lt;a href=&quot;http://www.fiksgatami.no/&quot;&gt;FiksGataMi&lt;/a&gt;. Med 61 kommuner
519 som lenker til FiksGataMi fra sine hjemmesider er «markedsandelen» 14%
520 (av 429 kommuner). Siden
521 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/59_kommuner_omfavner_n__FiksGataMi.html&quot;&gt;siste
522 oppdatering i november&lt;/a&gt; har kommunene Re og Vågsøy kommet til og
523 slår følge med kommunene Askim, Askøy, Audnedal, Aure, Balestrand,
524 Bærum, Eide, Farsund, Flekkefjord, Folldal, Gran, Grue, Hadsel,
525 Halden, Halsa, Hamar, Hobøl, Holtålen, Hægebostad, Høyanger,
526 Kongsberg, Kristiansund, Kvinesdal, Kviteseid, Levanger, Lindesnes,
527 Luster, Lyngdal, Løten, Mandal, Marnardal, Moss, Namsos, Nissedal,
528 Nordreisa, Randaberg, Rindal, Sel, Sirdal, Skiptvet, Sortland,
529 Spydeberg, Stange, Stjørdal, Stord, Søgne, Sør-Odal, Tolga, Trysil,
530 Tynset, Tysvær, Ullensvang Herad, Utsira, Vennesla, Verdal, Vågan,
531 Vågå, Våler og Åseral. Oppdatert liste er tilgjengelig fra
532 &lt;a href=&quot;http://wiki.nuug.no/grupper/fiksgatami/positivemottakere&quot;&gt;NUUGs
533 wiki&lt;/a&gt;. Kartet er dog ikke oppdatert med de siste kommunene.&lt;/p&gt;
534
535 &lt;p&gt;Kanskje du bør høre med din kommune om de vil bli mer aktive
536 brukere av FiksGataMi? Se
537 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/40_kommuner_lenker_n__til_FiksGataMi_fra_sine_nettsider___gj_r_din_.html&quot;&gt;en
538 tidligere bloggpost&lt;/a&gt; med tips om hvordan det kan gjøres.&lt;/p&gt;
539
540 &lt;p&gt;I snitt rapporteres det nå via FiksGataMi ca. 60 meldinger fra
541 innbyggerne i uka om feil på offentlig infrastruktur.&lt;/p&gt;
542 </description>
543 </item>
544
545 <item>
546 <title>Scripting the Cerebrum/bofhd user administration system using XML-RPC</title>
547 <link>http://people.skolelinux.org/pere/blog/Scripting_the_Cerebrum_bofhd_user_administration_system_using_XML_RPC.html</link>
548 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Scripting_the_Cerebrum_bofhd_user_administration_system_using_XML_RPC.html</guid>
549 <pubDate>Thu, 6 Dec 2012 10:30:00 +0100</pubDate>
550 <description>&lt;p&gt;Where I work at the &lt;a href=&quot;http://www.uio.no/&quot;&gt;University of
551 Oslo&lt;/a&gt;, we use the
552 &lt;a href=&quot;http://sourceforge.net/projects/cerebrum/&quot;&gt;Cerebrum user
553 administration system&lt;/a&gt; to maintain users, groups, DNS, DHCP, etc.
554 I&#39;ve known since the system was written that the server is providing
555 an &lt;a href=&quot;http://en.wikipedia.org/wiki/XML-RPC&quot;&gt;XML-RPC&lt;/a&gt; API, but
556 I have never spent time to try to figure out how to use it, as we
557 always use the bofh command line client at work. Until today. I want
558 to script the updating of DNS and DHCP to make it easier to set up
559 virtual machines. Here are a few notes on how to use it with
560 Python.&lt;/p&gt;
561
562 &lt;p&gt;I started by looking at the source of the Java
563 &lt;a href=&quot;http://cerebrum.svn.sourceforge.net/viewvc/cerebrum/trunk/cerebrum/clients/jbofh/&quot;&gt;bofh
564 client&lt;/a&gt;, to figure out how it connected to the API server. I also
565 googled for python examples on how to use XML-RPC, and found
566 &lt;a href=&quot;http://tldp.org/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-python.html&quot;&gt;a
567 simple example in&lt;/a&gt; the XML-RPC howto.&lt;/p&gt;
568
569 &lt;p&gt;This simple example code show how to connect, get the list of
570 commands (as a JSON dump), and how to get the information about the
571 user currently logged in:&lt;/p&gt;
572
573 &lt;blockquote&gt;&lt;pre&gt;
574 #!/usr/bin/env python
575 import getpass
576 import xmlrpclib
577 server_url = &#39;https://cerebrum-uio.uio.no:8000&#39;;
578 username = getpass.getuser()
579 password = getpass.getpass()
580 server = xmlrpclib.Server(server_url);
581 #print server.get_commands(sessionid)
582 sessionid = server.login(username, password)
583 print server.run_command(sessionid, &quot;user_info&quot;, username)
584 result = server.logout(sessionid)
585 print result
586 &lt;/pre&gt;&lt;/blockquote&gt;
587
588 &lt;p&gt;Armed with this knowledge I can now move forward and script the DNS
589 and DHCP updates I wanted to do.&lt;/p&gt;
590 </description>
591 </item>
592
593 </channel>
594 </rss>