]> pere.pagekite.me Git - homepage.git/blob - blog/archive/2010/09/index.html
Generated.
[homepage.git] / blog / archive / 2010 / 09 / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <title>Petter Reinholdtsen: entries from September 2010</title>
6 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css">
7 <link rel="alternate" title="RSS Feed" href="09.rss" type="application/rss+xml">
8 </head>
9 <body>
10 <!-- XML FEED -->
11
12 <div class="title">
13 <h1>
14 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
15
16 </h1>
17
18 </div>
19
20 <p>Entries from September 2010.</p>
21
22
23 <div class="entry">
24 <div class="title">
25 <a href="http://people.skolelinux.org/pere/blog/My_first_perl_GUI_application___controlling_a_Spykee_robot.html">My first perl GUI application - controlling a Spykee robot</a>
26 </div>
27 <div class="date">
28 2010-09-01 21:00
29 </div>
30
31 <div class="body">
32
33 <p>This evening I made my first Perl GUI application. The last few
34 days I have worked on a Perl module for controlling my recently
35 aquired Spykee robots, and the module is now getting complete enought
36 that it is possible to use it to control the robot driving at least.
37 It was now time to figure out how to use it to create some GUI to
38 allow me to drive the robot around. I picked PerlQt as I have had
39 positive experiences with the Qt API before, and spent a few minutes
40 browsing the web for examples. Using Qt Designer seemed like a short
41 cut, so I ended up writing the perl GUI using Qt Designer and
42 compiling it into a perl program using the puic program from
43 libqt-perl. Nothing fancy yet, but it got buttons to connect and
44 drive around.</p>
45
46 <p>The perl module I have written provide a object oriented API for
47 controlling the robot. Here is an small example on how to use it:</p>
48
49 <p><pre>
50 use Spykee;
51 Spykee::discover(sub {$robot{$_[0]} = $_[1]});
52 my $host = (keys %robot)[0];
53 my $spykee = Spykee->new();
54 $spykee->contact($host, "admin", "admin");
55 $spykee->left();
56 sleep 2;
57 $spykee->right();
58 sleep 2;
59 $spykee->forward();
60 sleep 2;
61 $spykee->back();
62 sleep 2;
63 $spykee->stop();
64 </pre></p>
65
66 <p>Thanks to the release of the source of the robot firmware, I could
67 peek into the implementation at the other end to figure out how to
68 implement the protocol used by the robot. I've implemented several of
69 the commands the robot understand, but is still missing the camera
70 support to make it possible to control the robot from remote. First I
71 want to implement support for uploading new firmware and configuring
72 the wireless network, to make it possible to bootstrap a Spykee robot
73 without the producers Windows and MacOSX software (I only have Linux,
74 so I had to ask a friend to come over to get the robot testing
75 going. :).</p>
76
77 <p>Will release the source to the public soon, but need to figure out
78 where to make it available first. I will add a link to
79 <a href="http://wiki.nuug.no/grupper/robot/">the NUUG wiki</a> for
80 those that want to check back later to find it.</p>
81
82 </div>
83 <div class="tags">
84
85
86
87 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/robot">robot</a>.
88
89 </div>
90 </div>
91 <div class="padding"></div>
92
93 <div class="entry">
94 <div class="title">
95 <a href="http://people.skolelinux.org/pere/blog/Some_notes_on_Flash_in_Debian_and_Debian_Edu.html">Some notes on Flash in Debian and Debian Edu</a>
96 </div>
97 <div class="date">
98 2010-09-04 10:10
99 </div>
100
101 <div class="body">
102
103 <p>In the <a href="http://popcon.debian.org/unknown/by_vote">Debian
104 popularity-contest numbers</a>, the adobe-flashplugin package the
105 second most popular used package that is missing in Debian. The sixth
106 most popular is flashplayer-mozilla. This is a clear indication that
107 working flash is important for Debian users. Around 10 percent of the
108 users submitting data to popcon.debian.org have this package
109 installed.</p>
110
111 <p>In the report written by Lars Risan in August 2008
112<a href="http://wiki.skolelinux.no/Dokumentasjon/Rapporter?action=AttachFile&do=view&target=Skolelinux_i_bruk_rapport_1.0.pdf">Skolelinux
113 i bruk – Rapport for Hurum kommune, Universitetet i Agder og
114 stiftelsen SLX Debian Labs</a>»), one of the most important problems
115 schools experienced with <a href="http://www.skolelinux.org/">Debian
116 Edu/Skolelinux</a> was the lack of working Flash. A lot of educational
117 web sites require Flash to work, and lacking working Flash support in
118 the web browser and the problems with installing it was perceived as a
119 good reason to stay with Windows.</p>
120
121 <p>I once saw a funny and sad comment in a web forum, where Linux was
122 said to be the retarded cousin that did not really understand
123 everything you told him but could work fairly well. This was a
124 comment regarding the problems Linux have with proprietary formats and
125 non-standard web pages, and is sad because it exposes a fairly common
126 understanding of whose fault it is if web pages that only work in for
127 example Internet Explorer 6 fail to work on Firefox, and funny because
128 it explain very well how annoying it is for users when Linux
129 distributions do not work with the documents they receive or the web
130 pages they want to visit.</p>
131
132 <p>This is part of the reason why I believe it is important for Debian
133 and Debian Edu to have a well working Flash implementation in the
134 distribution, to get at least popular sites as Youtube and Google
135 Video to working out of the box. For Squeeze, Debian have the chance
136 to include the latest version of Gnash that will make this happen, as
137 the new release 0.8.8 was published a few weeks ago and is resting in
138 unstable. The new version work with more sites that version 0.8.7.
139 The Gnash maintainers have asked for a freeze exception, but the
140 release team have not had time to reply to it yet. I hope they agree
141 with me that Flash is important for the Debian desktop users, and thus
142 accept the new package into Squeeze.</p>
143
144 </div>
145 <div class="tags">
146
147
148
149 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>, <a href="http://people.skolelinux.org/pere/blog/tags/web">web</a>.
150
151 </div>
152 </div>
153 <div class="padding"></div>
154
155 <div class="entry">
156 <div class="title">
157 <a href="http://people.skolelinux.org/pere/blog/Navteq_bruker_3_12_m__neder__OpenStreetmap_org_trenger_noen_dager.html">Navteq bruker 3-12 måneder, OpenStreetmap.org trenger noen dager</a>
158 </div>
159 <div class="date">
160 2010-09-07 21:40
161 </div>
162
163 <div class="body">
164
165 <p>Jeg ble riktig fascinert av
166 <a href="http://www.aftenposten.no/nyheter/iriks/article3800967.ece">en
167 artikkel i Aftenposten</a> om hvor hardt Navteq jobber for å oppdatere
168 kartene som brukes i navigasjons-GPSer, der det blant annet heter at
169 "på grunn av teknikken tar det alt fra tre til tolv måneder før
170 kartene er oppdatert". Når en kjenner hva slags oppdateringshastighet
171 som er tilgjengelig på
172 <a href="http://www.openstreetmap.org/">OpenStreetmap</a> som
173 oppdateres på dugnad, blir det litt trist å se hva noe av det beste en
174 kan kjøpe for penger får til.</p>
175
176 <p>Fra en endrer kartdataene i databasen til OpenStreetmap tar det
177 ca. 15 minutter før endringen er synlig på kartet som alle kan se på
178 web. Dernest overføres det daglig til en kartdump som lastes ned av
179 personen som lager Garmin-kart for Norge ca. en gang i uken. Med
180 OpenStreetmap.org og <a href="http://www.frikart.no/">Frikart.no</a>
181 kan en altså ha korreksjonene på plass i sin Garmin-GPS i løpet av en
182 uke. Det er også av tekniske årsaker at det tar så langt tid.
183 Jobbene som tegner kartene, henter ut kartdumpene og konverterer til
184 Garmin-format tar minutter og timer å gjennomføre, slik at de ikke
185 gjøres kontinuerlig men kun regelmessing.</p>
186
187 </div>
188 <div class="tags">
189
190
191
192 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/kart">kart</a>, <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>.
193
194 </div>
195 </div>
196 <div class="padding"></div>
197
198 <p style="text-align: right;"><a href="09.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS Feed" width="36" height="14"></a></p>
199
200
201
202 <div id="sidebar">
203
204 <h2>Archive</h2>
205 <ul>
206
207 <li>2010
208 <ul>
209
210 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
211
212 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
213
214 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
215
216 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
217
218 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
219
220 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
221
222 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
223
224 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
225
226 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (3)</a></li>
227
228 </ul></li>
229
230 <li>2009
231 <ul>
232
233 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
234
235 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
236
237 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
238
239 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
240
241 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
242
243 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
244
245 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
246
247 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
248
249 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
250
251 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
252
253 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
254
255 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
256
257 </ul></li>
258
259 <li>2008
260 <ul>
261
262 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
263
264 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
265
266 </ul></li>
267
268 </ul>
269
270
271
272 <h2>Tags</h2>
273 <ul>
274
275 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (11)</a></li>
276
277 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
278
279 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
280
281 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (10)</a></li>
282
283 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (36)</a></li>
284
285 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (44)</a></li>
286
287 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (60)</a></li>
288
289 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (1)</a></li>
290
291 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (8)</a></li>
292
293 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (4)</a></li>
294
295 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (8)</a></li>
296
297 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (2)</a></li>
298
299 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
300
301 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (6)</a></li>
302
303 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (78)</a></li>
304
305 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (102)</a></li>
306
307 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (14)</a></li>
308
309 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (16)</a></li>
310
311 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (10)</a></li>
312
313 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (3)</a></li>
314
315 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
316
317 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (14)</a></li>
318
319 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (3)</a></li>
320
321 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (13)</a></li>
322
323 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (1)</a></li>
324
325 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (11)</a></li>
326
327 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (1)</a></li>
328
329 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (8)</a></li>
330
331 </ul>
332
333 </div>
334 </body>
335 </html>