<link>http://people.skolelinux.org/pere/blog/</link>
<atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
+ <item>
+ <title>SOAP based webservice from Dell to check server support status</title>
+ <link>http://people.skolelinux.org/pere/blog/SOAP_based_webservice_from_Dell_to_check_server_support_status.html</link>
+ <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/SOAP_based_webservice_from_Dell_to_check_server_support_status.html</guid>
+ <pubDate>Fri, 1 Jun 2012 15:20:00 +0200</pubDate>
+ <description><p>A few years ago I wrote
+<a href="http://people.skolelinux.org/pere/blog/Checking_server_hardware_support_status_for_Dell__HP_and_IBM_servers.html">how
+to extract support status</a> for your Dell and HP servers. Recently
+I have learned from colleges here at the
+<a href="http://www.uio.no/">University of Oslo</a> that Dell have
+made this even easier, by providing a SOAP based web service. Given
+the service tag, one can now query the Dell servers and get machine
+readable information about the support status. This perl code
+demonstrate how to do it:</p>
+
+<p><pre>
+use strict;
+use warnings;
+use SOAP::Lite;
+use Data::Dumper;
+my $GUID = '11111111-1111-1111-1111-111111111111';
+my $App = 'test';
+my $servicetag = $ARGV[0] or die "Please supply a servicetag. $!\n";
+my ($deal, $latest, @dates);
+my $s = SOAP::Lite
+ -> uri('http://support.dell.com/WebServices/')
+ -> on_action( sub { join '', @_ } )
+ -> proxy('http://xserv.dell.com/services/assetservice.asmx')
+ ;
+my $a = $s->GetAssetInformation(
+ SOAP::Data->name('guid')->value($GUID)->type(''),
+ SOAP::Data->name('applicationName')->value($App)->type(''),
+ SOAP::Data->name('serviceTags')->value($servicetag)->type(''),
+);
+print Dumper($a -> result) ;
+</pre></p>
+
+<p>The output can look like this:</p>
+
+<p><pre>
+$VAR1 = {
+ 'Asset' => {
+ 'Entitlements' => {
+ 'EntitlementData' => [
+ {
+ 'EntitlementType' => 'Expired',
+ 'EndDate' => '2009-07-29T00:00:00',
+ 'Provider' => '',
+ 'StartDate' => '2006-07-29T00:00:00',
+ 'DaysLeft' => '0'
+ },
+ {
+ 'EntitlementType' => 'Expired',
+ 'EndDate' => '2009-07-29T00:00:00',
+ 'Provider' => '',
+ 'StartDate' => '2006-07-29T00:00:00',
+ 'DaysLeft' => '0'
+ },
+ {
+ 'EntitlementType' => 'Expired',
+ 'EndDate' => '2007-07-29T00:00:00',
+ 'Provider' => '',
+ 'StartDate' => '2006-07-29T00:00:00',
+ 'DaysLeft' => '0'
+ }
+ ]
+ },
+ 'AssetHeaderData' => {
+ 'SystemModel' => 'GX620',
+ 'ServiceTag' => '8DSGD2J',
+ 'SystemShipDate' => '2006-07-29T19:00:00-05:00',
+ 'Buid' => '2323',
+ 'Region' => 'Europe',
+ 'SystemID' => 'PLX_GX620',
+ 'SystemType' => 'OptiPlex'
+ }
+ }
+ };
+</pre></p>
+
+<p>I have not been able to find any documentation from Dell about this
+service outside the
+<a href="http://xserv.dell.com/services/assetservice.asmx?op=GetAssetInformation">inline
+documentation</a>, and according to
+<a href="http://iboyd.net/index.php/2012/02/14/updated-dell-warranty-information-script/">one
+comment</a> it can have stability issues, but it is a lot better than
+scraping HTML pages. :)</p>
+
+<p>Wonder if HP and other server vendors have a similar service. If
+you know of one, drop me an email. :)</p>
+</description>
+ </item>
+
+ <item>
+ <title>Veileder fra DIFI om publisering av offentlige data</title>
+ <link>http://people.skolelinux.org/pere/blog/Veileder_fra_DIFI_om_publisering_av_offentlige_data.html</link>
+ <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Veileder_fra_DIFI_om_publisering_av_offentlige_data.html</guid>
+ <pubDate>Fri, 1 Jun 2012 10:40:00 +0200</pubDate>
+ <description><p>På onsdag rakk jeg såvidt innom
+<a href="http://www.meetup.com/osloopendata/">Oslo Open Data Forums</a>
+møte, og fikk lagt hendene mine på DIFIs helt nye veileder
+"<a href="http://veileder.data.norge.no/">Åpne data. Del og skap
+verdier. Veileder i tilgjengeliggjøring av offentlig data</a>" (også
+<a href="http://www.difi.no/filearchive/veileder-i-tilgjengeliggjoring-av-offentlig-data-web.pdf">tilgjengelig
+som PDF</a> fra DIFI).</p>
+
+<p>Veilederen er veldig bra, og nevner viktige problemstillinger og
+skisserer f.eks. både verdiskapningspotensialet og formatmulighetene
+som en bør ha i bakhodet når en publiserer offentlig informasjon på
+maskinlesbart format. Kildekoden til veilederen er
+<a href="https://github.com/difi/veileder-opnedata">tilgjengelig via
+github</a>, og en kan rapportere tilbakemeldinger og forslag til
+forbedringer der (eller via epost og twitter for de som ønsker
+det).</p>
+
+<p>Det eneste jeg virkelig savnet i veilederen var omtale av
+<a href="http://www.w3.org/DesignIssues/LinkedData.html">w3cs
+stjerneklassifisering</a> av åpne datakilder, som jeg tror ville være
+nyttige mentale knagger for de som vurderer å publisere sin
+informasjon på som åpne data. Jeg har
+<a href="https://github.com/difi/veileder-opnedata/issues/1">rapportert
+en github-bug</a> om dette, så får vi se hvordan den blir behandlet.</p>
+
+<p>Det slo meg at det var veldig lite konkret i veilederen om valg av
+bruksvilkår ved publisering (aka lisens), men jeg er ikke sikker på om
+det hører hjemme der, da det er et vanskelig tema som kanskje heller
+hører hjemme i sin egen veileder. Uansett, anbefaler alle å ta en
+titt på veilederen og sikre at alle offentlige etater en har kontakt
+med får en kopi.</p>
+</description>
+ </item>
+
+ <item>
+ <title>First monitor calibration using ColorHug</title>
+ <link>http://people.skolelinux.org/pere/blog/First_monitor_calibration_using_ColorHug.html</link>
+ <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_monitor_calibration_using_ColorHug.html</guid>
+ <pubDate>Thu, 31 May 2012 22:10:00 +0200</pubDate>
+ <description><p>A few days ago my color calibration gadget
+<a href="http://www.hughski.com/index.html">ColorHug</a> arrived in the
+mail, and I've had a few days to test it. As all my machines are
+running Debian Squeeze, where
+<a href="http://packages.qa.debian.org/c/colorhug-client.html">the
+calibration software</a> is missing (it is present in Wheezy and Sid),
+I ran the calibration using the Fedora based live CD. This worked
+just fine. So far I have only done the quick calibration. It was
+slow enough for me, so I will leave the more extensive calibration for
+another day.</p>
+
+<p>After calibration, I get a
+<a href="http://en.wikipedia.org/wiki/ICC_profile">ICC color
+profile</a> file that can be passed to programs understanding such
+tools. KDE do not seem to understand it out of the box, so I searched
+for command line tools to use to load the color profile into X.
+xcalib was the first one I found, and it seem to work fine for single
+monitor setups. But for my video player, a laptop with a flat screen
+attached, it was unable to load the color profile for the correct
+monitor. After searching a bit, I
+<a href="http://ubuntuforums.org/showthread.php?t=1347896">discovered</a>
+that the dispwin tool from the argyll package would do what I wanted,
+and a simple</p>
+
+<p><pre>
+dispwin -d 1 profile.icc
+</pre></p>
+
+<p>later I had the color profile loaded for the correct monitor. The
+result was a bit more pink than I expected. I guess I picked the
+wrong monitor type for the "led" monitor I got, but the result is good
+enough for now.</p>
+</description>
+ </item>
+
<item>
<title>Hvor samles det inn bensinpriser for Norge?</title>
<link>http://people.skolelinux.org/pere/blog/Hvor_samles_det_inn_bensinpriser_for_Norge_.html</link>
<dt>Dinside.no nettside</dt>
<dd>Nettavisen dinside startet for noen år siden en dugnad for å
-<ahref="http://www.dinside.no/1931/her-faar-du-billigst-bensin-diesel">samle
+<a href="http://www.dinside.no/1931/her-faar-du-billigst-bensin-diesel">samle
inn drivstoffpriser</a>. Tjenesten samler inn med et nettsideskjema
der en må registrere seg for å delta. En SMS-tjeneste har visst
eksistert tidligere, men er ute av drift 2012-05-31. Listen over
innsamlede bensinpriser er tilgjengelig som nettside i litt over 24
timer etter registrering. Antall innsamlede priser pr. dag ligger i
området 10-35, og jeg har startet på
-<ahref="https://scraperwiki.com/scrapers/dinside-bensinpriser/">en
+<a href="https://scraperwiki.com/scrapers/dinside-bensinpriser/">en
database over de publiserte prisene</a> hos Scraperwiki.</dd>
<dt>Bitfactorys mobilapp</dt>
<dd>I fjor lanserte
-<ahref="http://www.bitfactory.no/bensinpris.html">selskapet Bitfactory
+<a href="http://www.bitfactory.no/bensinpris.html">selskapet Bitfactory
sin landsdekkende mobilapp</a> (først for iphone, siden også for
Android) for å samle inn drivstoffpriser og gjøre det enkelt å finne
billigste stasjon i nærområdet ved hjelp av smarttelefon. Den
innsamlede informasjonen er ikke publisert på web, men dagens priser
kan hentes ut ved hjelp av et
-<ahref="http://people.skolelinux.org/pere/blog/Litt_informasjon_om_Bitfactorys_Bensinpris_API.html">web-API
+<a href="http://people.skolelinux.org/pere/blog/Litt_informasjon_om_Bitfactorys_Bensinpris_API.html">web-API
som jeg har dokumentert med reversutvikling</a>. Stasjonslisten
inneholder geografiske koordinater for fremvisning på kart. Antall
innsamlede priser pr. dag ser ut til å ligge rundt 200.</dd>
<dt>NAF Bergens nettside og iphone-app</dt>
-<dd>I år lanserte NAF Bergen <ahref="http://www.drivstoffpriser.no/">en
+<dd>I år lanserte NAF Bergen <a href="http://www.drivstoffpriser.no/">en
landsdekkende iphone-app</a> koblet til NAF Bergens tjeneste for å
samle inn og varsle brukerne om bensinpriser. Nettstedet har
publisert listen over bensinstasjoner, men ikke en komplett oversikt
<p>I tillegg er jeg kjent med drivstoffguiden.no som ser ut til å være
nedlagt, og at SSB som del av beregningen av konsumprisindeksen samler
inn driftstoffpriser hver måned og
-<ahref="http://www.ssb.no/petroleumsalg/">legger dem ut i
+<a href="http://www.ssb.no/petroleumsalg/">legger dem ut i
PDF-format</a>.</p>
<p>Det jeg ikke forstår er hvorfor det stadig opprettes nye nett- og
<tr>
<th>Tjeneste</th>
-<th>Offentlig stasjonsliste</th>
+<th>Offentlig stasjons-liste</th>
<th>Publisert stasjons-geopunkt</th>
<th>Publisert API for inn-legging</th>
<th>Publisert API for ut-henting</th>
løsning mangler publisering av all innsamlet informasjon og API for
innlegging og uthenting av informasjon.</p>
-<p>Jeg har nylig spurt folkene bak dinside.no oversikt og
+<p>Jeg har nylig spurt folkene bak dinside.nos oversikt og
drivstoffpriser.no om de er villige til å gi ut sine innsamlede data
uten bruksbegresninger og tilby et dokumentert og publisert API for å
legge inn og hente ut informasjon. Så får vi se hva de sier.</p>
<tr><td>2</td><td>Pris for blyfri 95 oktan, flyttall med punktum som desimalskille.</td></tr>
<tr><td>3</td><td>Klokkeslett da prisen ble oppdatert, format HH:MM. </td></tr>
<tr><td>4</td><td>Telefon-ID på formen Android-123456789012345 eller hex-kodet streng/MD5-sum</td></tr>
-<tr><td>5</td><td>tall, uviss betydning. muligens relatert til day-verdien.</td></tr>
+<tr><td>5</td><td>tall, uviss betydning. muligens relatert til day-verdien. <b>Oppdatering 2012-06-02: Denne verdien er antall bekreftelse en gitt pris har fått.</td></tr>
<tr><td>6</td><td>Pris for blyfri 98-oktan?</td></tr>
<tr><td>7</td><td>samme som felt 3</td></tr>
<tr><td>8</td><td>samme som felt 4</td></tr>
</description>
</item>
- <item>
- <title>ColorHug - USB and free software based screen color calibration</title>
- <link>http://people.skolelinux.org/pere/blog/ColorHug___USB_and_free_software_based_screen_color_calibration.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/ColorHug___USB_and_free_software_based_screen_color_calibration.html</guid>
- <pubDate>Fri, 18 May 2012 10:00:00 +0200</pubDate>
- <description><p>In january, I
-<a href="http://blog.cihar.com/archives/2012/01/17/colorhug-has-arrived/">discovered
-the ColorHug</a>, a USB dongle from
-<a href="http://www.hughski.com/index.html">Hughski</a> to calibrate
-the color on a computer screen. The software required is
-<a href="http://packages.qa.debian.org/c/colorhug-client.html">included
-in Debian</a>, and I decided back then to preorder from the next
-batch. Yesterday I finally heard back from them, and got the
-opportunity to order. Today I ordered mine, and eagerly await the
-delivery. I hope it arrive next week, as I got a confirmation that it
-should go in the mail on monday. :)</p>
-
-<p>If you want to ensure the colors on the screen match the intended
-colors, I suggest you check out this cheap tool with free software
-drivers. :)</p>
-</description>
- </item>
-
- <item>
- <title>Dør Unix, eller lever den videre som Linux?</title>
- <link>http://people.skolelinux.org/pere/blog/D_r_Unix__eller_lever_den_videre_som_Linux_.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/D_r_Unix__eller_lever_den_videre_som_Linux_.html</guid>
- <pubDate>Tue, 15 May 2012 10:20:00 +0200</pubDate>
- <description><p>Peter Hidas fra Gartner melder i Computerworld at
-<a href="http://www.idg.no/computerworld/article245011.ece">Unix
-nedkjempes av Linux og Windows</a>. For meg er påstanden meningsløs,
-da Linux er en variant av Unix, og hele diskusjonen om Linux er Unix
-eller ikke er utdatert og uinteressant. Jeg ser at Helge Skrivervik
-deler mitt syn på saken i sin kommentar fra i går om at
-"<a href="http://www.mymayday.com/blogs/2012/unix-linux">Unix vs. Linux
-= uinteressant"</a>.</p>
-
-<p>I <a href="http://www.nuug.no/">NUUG</a>-sammenheng møter jeg av og
-til folk som tror NUUG er for avdankede folk som driver med den samme
-Unix-varianten som Peter Hidas skriver om i sin kommentar, og dermed
-er en foreningen for avdankede teknologer interessert i døende
-teknologi. Intet kunne være lengre fra sannheten.</p>
-
-<p>NUUG er en forening for oss som har sans for fri programvare, åpne
-standarder og Unix-lignende operativsystemer, som Ubuntu, FreeBSD,
-Debian, Mint, Gentoo, Android, Gnome, KDE, LXDE, Firefox, LibreOffice,
-ODF, HTML, C++, ECMA-Script, etc. Kort sagt der nyskapning skjer på
-IT-fronten i dag. Det innebærer selvfølgelig også de som er
-interessert i de "gamle" Unix-ene som Solaris og HP-UX, men de er bare
-et lite mindretall blant NUUGs medlemmer. De aller fleste medlemmene
-har i dag fokus på Linux.</p>
-</description>
- </item>
-
- <item>
- <title>Debian Edu interview: Jürgen Leibner</title>
- <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__J_rgen_Leibner.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__J_rgen_Leibner.html</guid>
- <pubDate>Sun, 13 May 2012 20:30:00 +0200</pubDate>
- <description><p>It has been a few busy weeks for me, but I am finally back to
-publish another interview with the people behind
-<a href="http://www.skolelinux.org/">Debian Edu and Skolelinux</a>.
-This time it is one of our German developers, who have helped out over the
-years to make sure both a lot of major but also a lot of the minor
-details get right before release.
-
-<p><strong>Who are you, and how do you spend your days?</strong></p>
-
-<p>My name is Jürgen Leibner, I'm 49 years old and living in
-Bielefeld, a town in northern Germany. I worked nearly 20 years as
-certified engineer in the department for plant design and layout of an
-international company for machinery and equipment. Since 2011 I'm a
-certified technical writer (tekom e.V.) and doing technical
-documentations for a steam turbine manufacturer. From April this year
-I will manage the department of technical documentation at a
-manufacturer of automation and assembly line engineering.</p>
-
-<p>My first contact with linux was around 1993. Since that time I used
-it at work and at home repeatedly but not exclusively as I do now at
-home since 2006.</p>
-
-<p><strong>How did you get in contact with the Skolelinux/Debian Edu
-project?</strong></p>
-
-<p>Once a day in the early year of 2001 when I wanted to fetch my
-daughter from primary school, there was a teacher sitting in the
-middle of 20 old computers trying to boot them and he failed. I helped
-him to get them booting. That was seen by the school director and she
-asked me if I would like to manage that the school gets all that old
-computers in use. I answered: "Yes".</p>
-
-<p>Some weeks later every of the 10 classrooms had one computer
-running Windows98. I began to collect old computers and equipment as
-gifts and installed the first computer room with a peer-to-peer
-network. I did my work at school without being payed in my spare time
-and with a lot of fun. About one year later the school was connected
-to Internet and a local area network was installed in the school
-building. That was the time to have a server and I knew it must be a
-Linux server to be able to fulfil all the wishes of the teachers and
-being able to do this in a transparent and economic way, without extra
-costs for things like licence and software. So I searched for a
-school server system running under Linux and I found a couple of
-people nearby who founded 'skolelinux.de'. It was the Skolelinux
-prerelease 32 I first tried out for being used at the school. I
-managed the IT of that school until the municipal authority took over
-the IT management and centralised the services for all schools in
-Bielefeld in December of 2006.</p>
-
-<p><strong>What do you see as the advantages of Skolelinux/Debian
-Edu?</strong></p>
-
-<p>When I'm looking back to the beginning, there were other advantages
-for me as today.</p>
-
-<p>In the past there were advantages like:</p>
-
-<p><ul>
-
-<li>I don't need to buy it so it generates no costs to the school as
-they had little money to spent for computers and software.</li>
-
-<li>It has a licence which grands all rights to use it without
-cost.</li>
-
-<li>It was more able to fit all requirements of a server system for
-schools than a Microsoft server system, even if there are only Windows
-clients because of it's preconfigured overall concept of being a
-infrastructure solution and community for schools, not only a
-server</li>
-
-<li>I was able to configure the server to the needs of the
-school.</li>
-
-</ul></p>
-
-<p>Today some of the advantages has been lost, changed or new ones
-came up in this way:</p>
-
-<p><ul>
-
-<li>Most schools here do have money to buy hardware and software
-now.</li>
-
-<li>They are today mostly managed from central IT departments which
-have own concepts which often do not fit to Debian Edu concepts
-because they are to close to Microsoft ideology.</li>
-
-<li>With the Squeeze version of Debian Edu which now uses GOsa² for
-management I feel more able to manage the daily tasks than with the
-interfaces used in the past.</li>
-
-<li>It is more modular than in the past and fits even better to the
-different needs.</li>
-
-<li>The documentation is usable and gets better every day.</li>
-
-<li>More people than ever before are using Debian Edu all over the
-world and so the community, which is an very important part I think,
-is sharing knowledge and minds.</li>
-
-<li>Most, maybe all, of the technical requirements for schools are
-solved today by Debian Edu. </li>
-
-</ul></p>
-
-<p><strong>What do you see as the disadvantages of Skolelinux/Debian
-Edu?</strong></p>
-
-<p><ul>
-
-<li>There are too few IT companies able to integrate Debian Edu into
-their product portfolio for serving schools with concepts or even
-whole municipality areas.</li>
-
-<li>Debian Edu has beside other free and open software projects not
-enough lobbyists which promote free and open software to
-politicians.</li>
-
-<li>Technically there are no disadvantages I'm aware of.</li>
-
-</ul></p>
-
-<p><strong>Which free software do you use daily?</strong></p>
-
-<p>I use Debian stable on my home server and on my little desktop
-computer. On my laptop I use Debian testing/sid. The applications I
-use on my laptop and my desktop are Open/Libre-office, Iceweasel,
-KMail, DigiKam, Amarok, Dolphin, okular and all the other programs I
-need from the KDE environment. On console I use newsbeuter, mutt,
-screen, irssi and all the other famous and useful tools.</p>
-
-<p>My home server provides mail services with exim, dovecot, roundcube
-and mutt over ssh on the console, file services with samba, NFS,
-rsync, web services with apache, moinmoin-wiki, multimedia services
-with gallery2 and mediatomb and database services with MySQL for me
-and the whole family. I probably forgot something.</p>
-
-<p><strong>Which strategy do you believe is the right one to use to
-get schools to use free software?</strong></p>
-
-<p>I believe, we should provide concepts for IT companies to integrate
-Debian Edu into their product portfolio with use cases for different
-countries and areas all over the world.</p>
-</description>
- </item>
-
</channel>
</rss>