]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Ny oppføring.
[homepage.git] / blog / index.rss
index 71b5d8029a97c50ce24f7b47be7d42cdac3e7c15..72a53d841f3ffbd06bef22c9cbb338ce74f5818c 100644 (file)
@@ -6,6 +6,129 @@
                 <link></link>
                 <atom:link href="index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>Two projects that have improved the quality of free software a lot</title>
+               <link>Two_projects_that_have_improved_the_quality_of_free_software_a_lot.html</link>
+               <guid isPermaLink="true">Two_projects_that_have_improved_the_quality_of_free_software_a_lot.html</guid>
+                <pubDate>Sat, 2 May 2009 15:00:00 +0200</pubDate>
+               <description>
+&lt;p&gt;There are two software projects that have had huge influence on the
+quality of free software, and I wanted to mention both in case someone
+do not yet know them.&lt;/p&gt;
+
+&lt;p&gt;The first one is &lt;a href=&quot;http://valgrind.org/&quot;&gt;valgrind&lt;/a&gt;, a
+tool to detect and expose errors in the memory handling of programs.
+It is easy to use, all one need to do is to run &#39;valgrind program&#39;,
+and it will report any problems on stdout.  It is even better if the
+program include debug information.  With debug information, it is able
+to report the source file name and line number where the problem
+occurs.  It can report things like &#39;reading past memory block in file
+X line N, the memory block was allocated in file Y, line M&#39;, and
+&#39;using uninitialised value in control logic&#39;.  This tool has made it
+trivial to investigate reproducible crash bugs in programs, and have
+reduced the number of this kind of bugs in free software a lot.
+
+&lt;p&gt;The second one is
+&lt;a href=&quot;http://en.wikipedia.org/wiki/Coverity&quot;&gt;Coverity&lt;/a&gt; which is
+a source code checker.  It is able to process the source of a program
+and find problems in the logic without running the program.  It
+started out as the Stanford Checker and became well known when it was
+used to find bugs in the Linux kernel.  It is now a commercial tool
+and the company behind it is running
+&lt;a href=&quot;http://www.scan.coverity.com/&quot;&gt;a community service&lt;/a&gt; for the
+free software community, where a lot of free software projects get
+their source checked for free.  Several thousand defects have been
+found and fixed so far.  It can find errors like &#39;lock L taken in file
+X line N is never released if exiting in line M&#39;, or &#39;the code in file
+Y lines O to P can never be executed&#39;.  The projects included in the
+community service project have managed to get rid of a lot of
+reliability problems thanks to Coverity.&lt;/p&gt;
+
+&lt;p&gt;I believe tools like this, that are able to automatically find
+errors in the source, are vital to improve the quality of software and
+make sure we can get rid of the crashing and failing software we are
+surrounded by today.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>No patch is not better than a useless patch</title>
+               <link>No_patch_is_not_better_than_a_useless_patch.html</link>
+               <guid isPermaLink="true">No_patch_is_not_better_than_a_useless_patch.html</guid>
+                <pubDate>Tue, 28 Apr 2009 09:30:00 +0200</pubDate>
+               <description>
+&lt;p&gt;Julien Blache
+&lt;a href=&quot;http://blog.technologeek.org/2009/04/12/214&quot;&gt;claim that no
+patch is better than a useless patch&lt;/a&gt;.  I completely disagree, as a
+patch allow one to discuss a concrete and proposed solution, and also
+prove that the issue at hand is important enough for someone to spent
+time on fixing it.  No patch do not provide any of these positive
+properties.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>EU-parlamentet raner fellesskapet for musikk</title>
+               <link>EU_parlamentet_raner_fellesskapet_for_musikk.html</link>
+               <guid isPermaLink="true">EU_parlamentet_raner_fellesskapet_for_musikk.html</guid>
+                <pubDate>Sun, 26 Apr 2009 08:30:00 +0200</pubDate>
+               <description>
+&lt;p&gt;Slashdot melder at EU-parlamentet har vedtatt
+&lt;a href=&quot;http://www.europarl.europa.eu/news/expert/infopress_page/058-54192-111-04-17-909-20090422IPR54191-21-04-2009-2009-false/default_en.htm&quot;&gt;å
+øke vernetiden for musikkopptak fra 50 til 70 år&lt;/a&gt;, og dermed rane
+fellesskapet for 20 år med musikk som ville vært tilgjengelig uten
+bruksbegresninger.  Mon tro hvor mye musikk som vil gå tapt pga. at
+ingen tar vare på den (opphavsrettsinnehaver er forsvunnet), mens
+ingen andre har lov til å kopiere og distribuere den.  Mon tro hvor
+mange musikkstykker som ikke kan brukes uten bruksbegresninger av
+folket, som skulle falt i det fri men som i stedet forblir under
+rettighetshavers monopol.  Opphavsrettslovgivingen blir mer og mer
+urimelig.  Tenke seg til at vernetiden startet i USA med 7 år og
+mulighet for forlengelse med 7 år.  Nå er den 95 år der, og en stor
+mengde verk blir foreldreløse og umulig å få tak i.  Har ikke lykkes
+med å finne ut hvor lang opphavsretten var i utgangspunktet i Norge.
+I dag er den 70 år.&lt;/p&gt;
+
+&lt;p&gt;Jeg er glad det finnes &lt;a href=&quot;http://www.jamendo.com/&quot;&gt;så mye
+musikk tilgjengelig uten bruksbegresninger&lt;/a&gt; at en kan klare seg
+uten musikk med bruksbegresninger.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>Hvor flyter Microsofts penger?</title>
+               <link>Hvor_flyter_Microsofts_penger_.html</link>
+               <guid isPermaLink="true">Hvor_flyter_Microsofts_penger_.html</guid>
+                <pubDate>Fri, 24 Apr 2009 11:10:00 +0200</pubDate>
+               <description>
+&lt;p&gt;Dagens nyhet er at omsetningen til Microsoft for første gang er
+synkende.  Ikke spesielt uventet med den generelle nedgangen i
+økonomien som vi ser verden over.  Det fikk meg dog til å tenke på en
+ting fra noen år tilbake.&lt;/p&gt;
+
+&lt;p&gt;Da jeg besøkte en kamerat i Beijing sommeren 2000, ble jeg fortalt
+at påstanden til Microsoft om at de brakte inn enorme pengesummer til
+USA nok var litt overdrevet, da de fleste inntektene fra lisenssalg
+rundt om i verden ble kanalisert inn til skatteparadiset
+&lt;a href=&quot;http://en.wikipedia.org/wiki/Cayman_Islands&quot;&gt;Cayman
+Island&lt;/a&gt;.  Jeg har aldri lykkes med å få bekreftet dette påstanden,
+men tok i dag en titt på hvilke selskaper som eier de norske delene av
+Microsoft som jeg kjenner til, dvs.
+&lt;a href=&quot;http://www.proff.no/proff/search/companyRoles.c?freeText=microsoft&amp;bc=0&amp;c=Z001YP4Y&amp;org=957485030&quot;&gt;Microsoft
+Norge AS&lt;/a&gt; og
+&lt;a href=&quot;http://www.proff.no/proff/search/companyRoles.c?freeText=fast&amp;bc=348&amp;c=Z0HR5KDT&amp;org=979158831&quot;&gt;FAST,
+A Microsoft Subsidiary&lt;/a&gt; (tidligere FAST Search &amp; Transfer ASA).&lt;/p&gt;
+
+&lt;p&gt;Førstnevnte er eid av &quot;Microsoft International Holdings Spain
+S.R.L.&quot;, mens sistnevnte i følge Wikipedia nå eies av
+Microsoft-underselskapet &quot;MACS Holdings Limited&quot;.  Jeg har ikke klart
+å finne mer informasjon om noen av disse.  Mon tro om noen av dem
+sender pengene til Cayman Island?  Finner det jeg tror er
+&lt;a href=&quot;http://www.informacion-empresas.com/Empresa_MICROSOFT-INTERNATIONAL-HOLDINGS-SPAIN.html&quot;&gt;informasjon
+om spaniaselskapet på spansk&lt;/a&gt;, men jeg kan ikke lese spansk. :(&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>Hvorfor jeg ikke bruker eFaktura</title>
                <link>Hvorfor_jeg_ikke_bruker_eFaktura.html</link>
@@ -56,7 +179,7 @@ og Kopinor har gjort en avtale&lt;/a&gt; som gjør at eldre bøker kan gjøres
 digitalt tilgjengelig fra nasjonalbiblioteket mot at Kopinor får 56
 øre for hver side som legges ut.  Utvalget er litt merkelig: 1790-,
 1890- og 1990-tallet.  Jeg synes det er absurd hvis det er slik at
-Kopinor skal ha betalt for utlegging av bøker som ikke legger er
+Kopinor skal ha betalt for utlegging av bøker som ikke lenger er
 beskyttet av opphavsretten.  Jeg antar her at det er mer enn 90 år
 siden forfatterne av bøker som ble publisert 1790-1799 døde, slik at
 disse bøkene er falt i det fri og enhver kan kopiere så mye de vil fra
@@ -214,150 +337,5 @@ rettet mot seg.&lt;/p&gt;
 </description>
        </item>
        
-       <item>
-               <title>Recording video from cron using VLC</title>
-               <link>Recording_video_from_cron_using_VLC.html</link>
-               <guid isPermaLink="true">Recording_video_from_cron_using_VLC.html</guid>
-                <pubDate>Sun, 5 Apr 2009 10:00:00 +0200</pubDate>
-               <description>
-&lt;p&gt;One think I have wanted to figure out for a along time is how to
-run vlc from cron to do recording of video streams on the net.  The
-task is trivial with mplayer, but I do not really trust the security
-of mplayer (it crashes too often on strange input), and thus prefer
-vlc.  I finally found a way to do it today.  I spent an hour or so
-searching the web for recipes and reading the documentation.  The
-hardest part was to get rid of the GUI window, but after finding the
-dummy interface, the command line finally presented itself:&lt;/p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;URL=http://www.ping.uio.no/video/rms-oslo_2009.ogg
-SAVEFILE=rms.ogg
-DISPLAY= vlc -q $URL \
-  --sout=&quot;#duplicate{dst=std{access=file,url=&#39;$SAVEFILE&#39;},dst=nodisplay}&quot; \
-  --intf=dummy&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;The command stream the URL and store it in the SAVEFILE by
-duplicating the output stream to &quot;nodisplay&quot; and the file, using the
-dummy interface.  The dummy interface and the nodisplay output make
-sure no X interface is needed.&lt;/p&gt;
-
-&lt;p&gt;The cron job then need to start this job with the appropriate URL
-and file name to save, sleep for the duration wanted, and then kill
-the vlc process with SIGTERM.  Here is a complete script
-&lt;tt&gt;vlc-record&lt;/tt&gt; to use from &lt;tt&gt;at&lt;/tt&gt; or &lt;tt&gt;cron&lt;/tt&gt;:&lt;/p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;#!/bin/sh
-set -e
-URL=&quot;$1&quot;
-SAVEFILE=&quot;$2&quot;
-DURATION=&quot;$3&quot;
-DISPLAY= vlc -q &quot;$URL&quot; \
-  --sout=&quot;#duplicate{dst=std{access=file,url=&#39;$SAVEFILE&#39;},dst=nodisplay}&quot; \
-  --intf=dummy &lt; /dev/null &gt; /dev/null 2&gt;&amp;1 &amp;
-pid=$!
-sleep $DURATION
-kill $pid
-wait $pid&lt;/pre&gt;&lt;/blockquote&gt;
-</description>
-       </item>
-       
-       <item>
-               <title>Standardize on protocols and formats, not vendors and applications</title>
-               <link>Standardize_on_protocols_and_formats__not_vendors_and_applications.html</link>
-               <guid isPermaLink="true">Standardize_on_protocols_and_formats__not_vendors_and_applications.html</guid>
-                <pubDate>Mon, 30 Mar 2009 11:50:00 +0200</pubDate>
-               <description>
-&lt;p&gt;Where I work at the University of Oslo, one decision stand out as a
-very good one to form a long lived computer infrastructure.  It is the
-simple one, lost by many in todays computer industry: Standardize on
-open network protocols and open exchange/storage formats, not applications.
-Applications come and go, while protocols and files tend to stay, and
-thus one want to make it easy to change application and vendor, while
-avoiding conversion costs and locking users to a specific platform or
-application.&lt;/p&gt;
-
-&lt;p&gt;This approach make it possible to replace the client applications
-independently of the server applications.  One can even allow users to
-use several different applications as long as they handle the selected
-protocol and format.  In the normal case, only one client application
-is recommended and users only get help if they choose to use this
-application, but those that want to deviate from the easy path are not
-blocked from doing so.&lt;/p&gt;
-
-&lt;p&gt;It also allow us to replace the server side without forcing the
-users to replace their applications, and thus allow us to select the
-best server implementation at any moment, when scale and resouce
-requirements change.&lt;/p&gt;
-
-&lt;p&gt;I strongly recommend standardizing - on open network protocols and
-open formats, but I would never recommend standardizing on a single
-application that do not use open network protocol or open formats.&lt;/p&gt;
-</description>
-       </item>
-       
-       <item>
-               <title>Returning from Skolelinux developer gathering</title>
-               <link>Returning_from_Skolelinux_developer_gathering.html</link>
-               <guid isPermaLink="true">Returning_from_Skolelinux_developer_gathering.html</guid>
-                <pubDate>Sun, 29 Mar 2009 21:00:00 +0200</pubDate>
-               <description>
-&lt;p&gt;I&#39;m sitting on the train going home from this weekends Debian
-Edu/Skolelinux development gathering.  I got a bit done tuning the
-desktop, and looked into the dynamic service location protocol
-implementation avahi.  It look like it could be useful for us.  Almost
-30 people participated, and I believe it was a great environment to
-get to know the Skolelinux system.  Walter Bender, involved in the
-development of the Sugar educational platform, presented his stuff and
-also helped me improve my OLPC installation.  He also showed me that
-his Turtle Art application can be used in standalone mode, and we
-agreed that I would help getting it packaged for Debian.  As a
-standalone application it would be great for Debian Edu.  We also
-tried to get the video conferencing working with two OLPCs, but that
-proved to be too hard for us.  The application seem to need more work
-before it is ready for me.  I look forward to getting home and relax
-now. :)&lt;/p&gt;
-</description>
-       </item>
-       
-       <item>
-               <title>Time for new  LDAP schemas replacing RFC 2307?</title>
-               <link>Time_for_new__LDAP_schemas_replacing_RFC_2307_.html</link>
-               <guid isPermaLink="true">Time_for_new__LDAP_schemas_replacing_RFC_2307_.html</guid>
-                <pubDate>Sun, 29 Mar 2009 20:30:00 +0200</pubDate>
-               <description>
-&lt;p&gt;The state of standardized LDAP schemas on Linux is far from
-optimal.  There is RFC 2307 documenting one way to store NIS maps in
-LDAP, and a modified version of this normally called RFC 2307bis, with
-some modifications to be compatible with Active Directory.  The RFC
-specification handle the content of a lot of system databases, but do
-not handle DNS zones and DHCP configuration.&lt;/p&gt;
-
-&lt;p&gt;In &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu/Skolelinux&lt;/a&gt;,
-we would like to store information about users, SMB clients/hosts,
-filegroups, netgroups (users and hosts), DHCP and DNS configuration,
-and LTSP configuration in LDAP.  These objects have a lot in common,
-but with the current LDAP schemas it is not possible to have one
-object per entity.  For example, one need to have at least three LDAP
-objects for a given computer, one with the SMB related stuff, one with
-DNS information and another with DHCP information.  The schemas
-provided for DNS and DHCP are impossible to combine into one LDAP
-object.  In addition, it is impossible to implement quick queries for
-netgroup membership, because of the way NIS triples are implemented.
-It just do not scale.  I believe it is time for a few RFC
-specifications to cleam up this mess.&lt;/p&gt;
-
-&lt;p&gt;I would like to have one LDAP object representing each computer in
-the network, and this object can then keep the SMB (ie host key), DHCP
-(mac address/name) and DNS (name/IP address) settings in one place.
-It need to be efficently stored to make sure it scale well.&lt;/p&gt;
-
-&lt;p&gt;I would also like to have a quick way to map from a user or
-computer and to the net group this user or computer is a member.&lt;/p&gt;
-
-&lt;p&gt;Active Directory have done a better job than unix heads like myself
-in this regard, and the unix side need to catch up.  Time to start a
-new IETF work group?&lt;/p&gt;
-</description>
-       </item>
-       
         </channel>
 </rss>