Thursday, 2 September 2010

pterjan's diary
pterjan
Pascal Terjan - The most unusable branch locator I have seen so far

Today I wanted to locate an HSBC branch in London, close to either the office or my home. Thanks to HSBC I got upset before 8.

That starts fine, they have an "interactive map" or allow you to enter your postcode. Unfortunately they use only the beginning of the postcode (SW in my case) and then list you many towns in this area. Using the map stops at the same level. Then you click one of them (I should do all of them as I don't know some which may be close) and get No branch exists in ...

Is it so hard to list the closest ones from the given postcode or place them on a map? And what about just removing from the list the places without a branch?

2 September 2010, 07:29

Wednesday, 1 September 2010

Eugeni's blog» mandriva
eugeni
Eugeni Dodonov - KDE Hacking

So, after a take on Metacity , I just went ahead and implemented the same quick workspace switching feature for KDE (namely, kwin) – with great help from Nicolas Lécureuil (a.k.a. Neoclust) of course!

Basically, it works essentially like the same feature in xfwm4 – when you switch to a different workspace via a keyboard shortcut, and press the same shortcut again while on this workspace, it will bring you back to the previous one. So you can press ctrl-f2 to switch to from workspace 1 workspace 2, and when you press ctrl-f2 again kwin will recognize that you want switch back, to whatever workspace you were before, and will do it. An extremely handy quirk which I cannot live without anymore :) .

I have to assume that I have never ever coded anything for KDE until yesterday, but it turned out to be extremely simple. KDE has its flaws, its infrastructure with billions of libraries and processes everywhere is hard to understand, but I actually was surprised on how easy it was.

So, without further words, the patch for kdebase4-workspace which adds this functionality follows (sorry for the formatting, but kde has some very long lines of code..):

diff -p -up kdebase-workspace-4.5.65svn1165394/kwin/kcmkwin/kwindesktop/main.cpp.switchback kdebase-workspace-4.5.65svn1165394/kwin/kcmkwin/kwindesktop/main.cpp
--- kdebase-workspace-4.5.65svn1165394/kwin/kcmkwin/kwindesktop/main.cpp.switchback 2010-09-01 09:10:02.000000000 -0300
+++ kdebase-workspace-4.5.65svn1165394/kwin/kcmkwin/kwindesktop/main.cpp    2010-09-01 09:21:13.000000000 -0300
@@ -184,6 +184,7 @@ void KWinDesktopConfig::init()
     connect( m_ui->popupHideSpinBox, SIGNAL(valueChanged(int)), SLOT(changed()));
     connect( m_ui->desktopLayoutIndicatorCheckBox, SIGNAL(stateChanged(int)), SLOT(changed()));
     connect( m_ui->wrapAroundBox, SIGNAL(stateChanged(int)), SLOT(changed()));
+    connect( m_ui->switchBackBox, SIGNAL(stateChanged(int)), SLOT(changed()));
     connect( m_editor, SIGNAL(keyChange()), SLOT(changed()));
     connect( m_ui->allShortcutsCheckBox, SIGNAL(stateChanged(int)), SLOT(slotShowAllShortcuts()));
     connect( m_ui->effectComboBox, SIGNAL(currentIndexChanged(int)), SLOT(changed()));
@@ -252,6 +253,8 @@ void KWinDesktopConfig::defaults()

     m_ui->wrapAroundBox->setChecked( true );

+    m_ui->switchBackBox->setChecked( false );
+
     m_editor->allDefault();

     emit changed(true);
@@ -285,6 +288,9 @@ void KWinDesktopConfig::load()
     KConfigGroup windowConfig( m_config, "Windows" );
     m_ui->wrapAroundBox->setChecked( windowConfig.readEntry<bool>( "RollOverDesktops", true ) );

+    // Quick switching back to previous desktop
+    m_ui->switchBackBox->setChecked( windowConfig.readEntry<bool>( "SwitchBackDesktops", false ) );
+
     // Effect for desktop switching
     // Set current option to "none" if no plugin is activated.
     KConfigGroup effectconfig( m_config, "Plugins" );
@@ -341,6 +347,9 @@ void KWinDesktopConfig::save()
     // Wrap Around on screen edge
     KConfigGroup windowConfig( m_config, "Windows" );
     windowConfig.writeEntry( "RollOverDesktops", m_ui->wrapAroundBox->isChecked() );
+    //
+    // Quickly back to previous desktop
+    windowConfig.writeEntry( "SwitchBackDesktops", m_ui->switchBackBox->isChecked() );

     // Effect desktop switching
     KConfigGroup effectconfig( m_config, "Plugins" );
diff -p -up kdebase-workspace-4.5.65svn1165394/kwin/kcmkwin/kwindesktop/main.ui.switchback kdebase-workspace-4.5.65svn1165394/kwin/kcmkwin/kwindesktop/main.ui
--- kdebase-workspace-4.5.65svn1165394/kwin/kcmkwin/kwindesktop/main.ui.switchback  2010-09-01 09:09:59.000000000 -0300
+++ kdebase-workspace-4.5.65svn1165394/kwin/kcmkwin/kwindesktop/main.ui 2010-09-01 09:59:02.000000000 -0300
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>572</width>
-    <height>310</height>
+    <height>334</height>
    </rect>
   </property>
   <layout class="QHBoxLayout" name="horizontalLayout">
@@ -141,6 +141,16 @@
          </property>
         </widget>
        </item>
+       <item>
+        <widget class="QCheckBox" name="switchBackBox">
+         <property name="whatsThis">
+          <string>Enable this option if you want to remember and recall previous desktop when switching via keyboard shortcuts. E.g., if you switched to desktop 2 by pressing its shortcut, pressing it again while on desktop 2 will bring you back to the previous desktop.</string>
+         </property>
+         <property name="text">
+          <string>Remember and recall previous desktop when switching via keyboard shortcuts</string>
+         </property>
+        </widget>
+       </item>
        <item>
         <widget class="QGroupBox" name="groupBox_3">
          <property name="title">
diff -p -up kdebase-workspace-4.5.65svn1165394/kwin/kwin.kcfg.switchback kdebase-workspace-4.5.65svn1165394/kwin/kwin.kcfg
--- kdebase-workspace-4.5.65svn1165394/kwin/kwin.kcfg.switchback    2010-09-01 09:10:56.000000000 -0300
+++ kdebase-workspace-4.5.65svn1165394/kwin/kwin.kcfg   2010-09-01 09:16:20.000000000 -0300
@@ -41,6 +41,7 @@
   <entry key="ShadeHover" type="Bool" />
   <entry key="GeometryTip" type="Bool" />
   <entry key="RollOverDesktops" type="Bool" />
+  <entry key="SwitchBackDesktops" type="Bool" />
   <entry key="FocusStealingPreventionLevel" type="Int" />
   <entry key="Placement" type="String" />
   <entry key="AutoRaise" type="Bool" />
diff -p -up kdebase-workspace-4.5.65svn1165394/kwin/options.cpp.switchback kdebase-workspace-4.5.65svn1165394/kwin/options.cpp
--- kdebase-workspace-4.5.65svn1165394/kwin/options.cpp.switchback  2010-09-01 09:12:09.000000000 -0300
+++ kdebase-workspace-4.5.65svn1165394/kwin/options.cpp 2010-09-01 09:26:40.000000000 -0300
@@ -87,6 +87,8 @@ unsigned long Options::updateSettings()

     rollOverDesktops = config.readEntry("RollOverDesktops", true);

+    switchBackDesktops = config.readEntry("SwitchBackDesktops", false);
+
     legacyFullscreenSupport = config.readEntry( "LegacyFullscreenSupport", false );

 //    focusStealingPreventionLevel = config.readEntry( "FocusStealingPreventionLevel", 2 );
diff -p -up kdebase-workspace-4.5.65svn1165394/kwin/options.h.switchback kdebase-workspace-4.5.65svn1165394/kwin/options.h
--- kdebase-workspace-4.5.65svn1165394/kwin/options.h.switchback    2010-09-01 09:12:07.000000000 -0300
+++ kdebase-workspace-4.5.65svn1165394/kwin/options.h   2010-09-01 09:22:14.000000000 -0300
@@ -215,6 +215,11 @@ class Options : public KDecorationOption
          */
         bool rollOverDesktops;

+        /**
+         * whether or not quick switching back to previous desktop is allowed via keyboard shortcuts
+         */
+        bool switchBackDesktops;
+
         // 0 - 4 , see Workspace::allowClientActivation()
         int focusStealingPreventionLevel;

diff -p -up kdebase-workspace-4.5.65svn1165394/kwin/workspace.cpp.switchback kdebase-workspace-4.5.65svn1165394/kwin/workspace.cpp
--- kdebase-workspace-4.5.65svn1165394/kwin/workspace.cpp.switchback    2010-05-20 08:42:10.000000000 -0300
+++ kdebase-workspace-4.5.65svn1165394/kwin/workspace.cpp   2010-09-01 10:10:02.000000000 -0300
@@ -95,6 +95,7 @@ Workspace::Workspace( bool restore )
     , desktopGridSize_( 1, 2 ) // Default to two rows
     , desktopGrid_( new int[2] )
     , currentDesktop_( 0 )
+    , prevDesktop_( 0 )
     , desktopLayoutDynamicity_( false )
     , tilingEnabled_( false )
     // Unsorted
@@ -1403,6 +1404,15 @@ bool Workspace::setCurrentDesktop( int n
     StackingUpdatesBlocker blocker( this );

     int old_desktop = currentDesktop();
+
+    // Eugeni: are we trying to switch back to previous desktop?
+    if (options->switchBackDesktops && (old_desktop == new_desktop ) && (prevDesktop() > 0) )
+        {
+        // go back to previous desktop
+        new_desktop = prevDesktop();
+        kDebug(1212) << "Switching back to " << new_desktop;
+        }
+
     if (new_desktop != currentDesktop() )
         {
         ++block_showing_desktop;
@@ -1413,6 +1423,7 @@ bool Workspace::setCurrentDesktop( int n
         ObscuringWindows obs_wins;

         currentDesktop_ = new_desktop; // Change the desktop (so that Client::updateVisibility() works)
+        prevDesktop_ = old_desktop;

         for( ClientList::ConstIterator it = stacking_order.constBegin();
             it != stacking_order.constEnd();
diff -p -up kdebase-workspace-4.5.65svn1165394/kwin/workspace.h.switchback kdebase-workspace-4.5.65svn1165394/kwin/workspace.h
--- kdebase-workspace-4.5.65svn1165394/kwin/workspace.h.switchback  2010-08-11 07:08:13.000000000 -0300
+++ kdebase-workspace-4.5.65svn1165394/kwin/workspace.h 2010-08-31 23:34:01.000000000 -0300
@@ -245,6 +245,10 @@ class Workspace : public QObject, public
          */
         int currentDesktop() const;
         /**
+         * @returns The ID of the previous desktop.
+         */
+        int prevDesktop() const;
+        /**
          * Set the current desktop to @a current.
          * @returns True on success, false otherwise.
          */
@@ -314,6 +318,7 @@ class Workspace : public QObject, public
         QSize desktopGridSize_;
         int* desktopGrid_;
         int currentDesktop_;
+        int prevDesktop_;
         QString activity_;
         bool desktopLayoutDynamicity_;

@@ -1142,6 +1147,11 @@ inline int Workspace::currentDesktop() c
     return currentDesktop_;
     }

+inline int Workspace::prevDesktop() const
+    {
+    return prevDesktop_;
+    }
+
 inline int Workspace::desktopAtCoords( QPoint coords ) const
     {
     return desktopGrid_[coords.y() * desktopGridSize_.width() + coords.x()];

comments | 1 September 2010, 13:42

Tuesday, 31 August 2010

Shlomi Fish - Is the web becoming fragmented?

Peteris Krumins writes:

So I participated in the 48 hour Node.js Knockout competition together with James Halliday and Joshua Holbrook. Our team was called Dark Knights and we created an online chess application called Node Chess.

Oh, and it works only [on] Chrome. Ancient-browsers-please-be-gone!

My question is: how can you call Firefox, whose latest stable release was on the 23 of July this year and which has perfectly usable and nightly builds ancient?

It is highly possible that due to the recent hype surrounding HTML 5 and its mutually partial implementation by the different browsers, that we are entering a situation where many sites or demos will only work on particular browsers. This didn't start with Peteris' post - naturally. Previously, someone from the Israeli Internet Society referred me to some demos that said required a WebKit-based browser, and during a presentation about HTML 5 in an "Alphageeks" meeting, the presenter had to use three different browsers, because all the features he wanted to demonstrate did not work on all of them. And this is without taking the account Apple's block of non-"Apple Safari" browsers from its HTML 5 demos and the fact that www.spice-space.org obnoxiously redirects you to "This site requires JavaScript" page if JavaScript is disabled, and many other sites do not function properly without JavaScript enabled.

And as a commenter on Reddit for a web demo said, while the demoscene people have been trying to produce demos that utilise the most out of the computer's resources, the web demos have come to waste a lot of resources in creating anachronistic demos, whose only selling point is that they run inside a browser. As Joel on Software notes: Combined with the speed and responsiveness from Ajax, FogBugz has almost reached the level of speed and fluidity of my dry cleaner's DOS 2.0 character mode database application. And that's pretty darn responsive for a web app.

Are we headed into another "Best viewed with Netscape 2.0", "Best viewed with Internet Explorer 4.0", etc. era of web fragmentation, because we opened the Pandora box of HTML 5? As for me, if I were a judge on that competition that Peteris took part of, I would fail his project due to not being capable of running on my ancient browser.

comments | 31 August 2010, 11:44

Wednesday, 25 August 2010

Shlomi Fish - Perl Debugger Tip: A Session Startup File

Here's a small Perl debugger tip: in order to have a file whose commands will be executed at the start of the debugging session (for example in order to get to a certain point in the code) - a session startup file, similar to gdb's --command=cmds.gdb flag - one can do the following:

First of all write a file with the debugger commands you want (let's call it cmds.perldb) and then when inside the perl debugger say:

source cmds.perldb

This will execute all the commands.

I noticed that after a while the perl debugger stores it inside the history (assuming you're using Term-ReadLine-Gnu), so you can recall it with s and then pressing the history-search-forward and history-search-backward that were set up (Mandriva assigns them to Page Up and Page Down).

Enjoy and I'm sorry for having neglected this blog for a long while!

comments | 25 August 2010, 19:12

Stéphane Téletchéa - Your own local repository for Mandriva

Nowadays, RPMs are mostly downloaded from internet. Since accessing RPMs from the hard drive is still faster, we will see in this little article some tips and tricks to use a local repository on your system, either using an entire mirror of the distribution or using the DVD edition as a local source.

Setting up your own mirror

The easiest way is to use rsync to keep your local mirror up-to-date, for instance to grab the entire tree for the 2010 Spring release under the i586 architecture:

su -
mkdir /var/ftp
exit (no need to be super-user for the command hereafter)
rsync -rav --delete-after rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/2010.1/i586/ /var/ftp

The initial download time will depend of your internet connection (beware, if you have a bandwith constraint, this command will download around 25 GB of data...).

If you use the mirror seldomly you can issue the command manually, otherwise you can put it in a cron task (see http://en.wikipedia.org/wiki/Cron).

Using the DVD as an additionnal media

The iso image is lying on your hard disk, waisting space. A good way of using it is to mount it as a loop:

su -
mount -o loop /path/to/mandriva-linux-free-2010-spring-i586.iso /var/ftp

Do not forget to change /path/to/ for the real pathway to the iso file.

If you wish to do it permanently, add this entry to the /etc/fstab file:

/path/to/mandriva-linux-free-2010.1-i586.iso /var/ftp iso9660 ro,loop=/dev/loop0 0 0

Adding the mirror/iso to your local media definitions

You will now add the media definitions to the list of existing media (it will not erase them):

su -
urpmi.addmedia --distrib /var/ftp

You can now safely install programs. If the desired version is present locally, it will install it from the local hard drive, otherwise urpmi/rpmdrake will pick it from the internet.

If you do not have other internet media, use http://easyurpmi.zarb.org to have them automatically installed for you.

25 August 2010, 08:31

Thursday, 19 August 2010

Reinouts' Nerdy Notes
reinouts
Reinout van Schouwen - NS: verkapte prijsverhogingen in 2011

Ik had het nieuws even gemist maar de NS heeft de nieuwe tarieven voor 2011 bekendgemaakt.

Meisje bij kaartautomaat

Foto: marketingfacts (cc-by-nc)


Leest u even mee:

Kaartsoorten uit het assortiment
De volgende kaartsoorten verdwijnen uit het assortiment omdat hetzij de belangstelling minimaal is, hetzij hun toegevoegde waarde ten opzichte van andere mogelijkheden verdwenen is:

  • 5-retourkaart. Alle NS-kaartautomaten bieden inmiddels de mogelijkheid meer exemplaren van ieder kaartje in één keer aan te schaffen.
  • Weekendretour. Wie op verschillende dagen heen en terug wil reizen, is net zo voordelig uit met 2 enkele reizen.
  • Rondreis en omwegbewijs. Worden bijna niet meer verkocht.

Die 5-retourkaart, daar kan ik inkomen. De afschaffing van het weekendretour is eigenaardiger. De argumentatie dat het weekendretour geen toegevoegde waarde meer heeft omdat het even duur is als twee enkele reizen, gaat namelijk ook op voor het dagretour, dat niet wordt afgeschaft (maar wel duurder gemaakt)! Iets zegt me dat het de NS er eigenlijk om te doen is dat de malafide reiziger een ongeknipt kaartje niet twee keer in een weekend kan gebruiken. De enige juiste oplossing daarvoor is natuurlijk gewoon vaker een conducteur laten langskomen. Ondertussen zal iemand die nog niet weet of ‘ie de laatste nachttrein of de eerste ochtendtrein terug gaat nemen zich natuurlijk wel twee keer bedenken voordat ‘ie een retour koopt. Hoe dan ook moet de feestganger die naar huis wil er in aangeschoten toestand nog wel even aan denken een enkeltje terug te kopen of voldoende saldo op zijn ov-chipkaart te hebben om te kunnen inchecken.

Het afschaffen van de rondreis en het omwegbewijs is al helemaal een verkapte prijsverhoging. Het omwegbewijs komt van pas als je trajectkaarthouder bent (vaste klant dus van de NS): Als je normaal met een trajectkaart tussen Rotterdam en Leiden reist, zoals ik, maar een enkele keer van Leiden voor een afspraak in Utrecht moet zijn en vanaf daar weer naar Rotterdam wilt, dan scheelt een omwegbewijs je het opstaptarief plus een aanzienlijk kilometertarief ten opzichte van een enkeltje Leiden-Rotterdam via Utrecht. Dat omwegbewijzen weinig verkocht worden ligt nogal voor de hand als je bedenkt dat de kaartjesautomaat ze niet kent en de loketmedewerkers je verschrikt aankijken als je erom vraagt.
De rondreis kent de kaartautomaat (nog) wel, daarvoor moet je een retourtje met een via-station aan de automaat vragen (dat moet je ook maar weten). Wie dus een keer meerdere familiebezoekjes op een dag wil afleggen mag minimaal een dubbel opstaptarief gaan betalen.
Het argument dat deze kaartsoorten bijna niet worden verkocht snijdt geen hout: ieder verkocht kaartje is er één en het kost de NS toch niets extra’s om de kaartautomaat deze kaartjes te laten uitgeven?

Kortom, de service gaat achteruit en vaste klanten worden in de kou gezet. Zoals ze op Twitter zeggen: #NS #FAIL.

P.S. Zeg ROVER, wat vinden jullie hier eigenlijk van?

» Plaats op eKudos

19 August 2010, 23:26

Tuesday, 17 August 2010

AdamW on Linux and more » Mandriva
adamw
Adam Williamson - In the interests of balance (or, Good job, Canonical!)

Yes, don’t fall out of your chairs yet.

Here’s Canonical being rather decent about upstreaming.

Multitouch seems like exactly the kind of thing Canonical ought to be working on, and they’re taking this upstream at the right time and with the right approach, AFAICS. That’s exactly what I was talking about in this other post. I can’t tell whether the proposal is awesome or crack, I’ll leave that to the experts. But the process here looks awesome. So nice job with that one.

comments | 17 August 2010, 20:41

heliocastro's blog
heliocastro
Helio Castro - We're looking for passionate Qt and KDE developers !!

So, as looking that everyone is in the hiring mode...

Yes, Collabora is hiring. So if you are passionate for open source, want join a company that share the same passion as well, want to work from any place in the world and have at least some of these skills below, then we want to know you.

  • KDE
  • Qt
  • Qml ( Qt Quick )
  • C++
  • WM and Graphics(3D, GL/GLES, X, Mesa) as a plus

Consider yourself a serious KDE hacker? Don't be shy, we want to know you too ! KDE is an important part of our lives now.

Then, what are you waiting for ?
Share your hacking ninja code skills contacting us at our hiring info channel, also known as email Smiling.

comments | 17 August 2010, 12:13

Monday, 16 August 2010

Frederic Crozat blog
fcrozat
Frederic Crozat - Some boot time comparison : MeeGo is ahead

I've got a brand new netbook to test MeeGo images I'm generating and I thought it could be useful to have some comparisons data regarding boot speed across the various distributions available, on the same hardware (even if it is considered as a low-entry system, it shares the same kind of hardware as most netbooks around)

Hardware : eMachines M350 : CPU : Intel Atom N450 1.66GHz, 1GB memory, 160GB hard-disk

Test was done with system running on AC power and with Ethernet cable plugged. Each distribution was installed then updated to latest bugfix / security updates and rebooted several time to ensure readahead (or similar mecanism) were working properly (when available)



Values there are not extremely precise (I used my watch to measure them) but bootcharts data (measured with each distribution integrated bootchart tool, which explains why they don't display the same data) are available at http://www.gnome.org/~fcrozat/bootchart/

  • Win XP preinstalled with the netbook:
    • 56s : user interface visible (but still stuff running in the background)
    • 1min27s : ready
  • JoliCloud 1.0 :
    • 36s to get to gdm
    • 1min 16s (to get from grub to main interface ready, in autologin mode)
  • Mandriva 2010 Spring (GNOME)
    • 34s to get to gdm
    • 48s (to get from grub to main interface ready, in autologin mode)
  • Fedora 13 :
    • 41s to get gdm
    • 55s (grub to main interface ready, autologin, with readahead enabled)
  • Ubuntu 10.04 Netbook
    • 25s to gdm
    • 36s (grub to main interface "ready", mouse cursor no longer busy), but interface visible and usable at 26s
  • Ubuntu 10.04 Desktop (GNOME)
    • 22s to gdm
    • 27s (grub to main interface "ready", mouse cursor no longer busy)
  • openSUSE 11.3 (GNOME) (with preload working)
    • 37s to gdm
    • 55s (grub to system ready)
  • Intel MeeGo 1.0.2 :
    • 25s (after first boot)
    • 18s (bootloader to system ready) with sreadahead working
  • SUSE Meego 1.0:
    • 24s (bootloader to system ready), without prelink
    • 20s (bootloader to system ready), without prelink when sreadahead is done
    • 17s (bootloader to system ready), with prelink + sreadahead

16 August 2010, 17:37

Chmouel Blog
chmouel
Chmouel Boudjnah - Sunday bike ride in London

This post is literally to test the embedding track feature from Garmin Connect …..

This is a easy bike ride, it start from Ealing to to Decathlon in Canada water and stop in Parsons-Green on my way back to watch Liverpool-Arsenal at mates place before coming back home, my pace was kind of slow since I have a broken thumb and I am trying to respect London traffic now and stop at traffic lights ;-)

Garmin Forerunner 305 is awesome device by the way if you are doing a lot of outdoor Running / Cycling, I have just ordered the footpod accessory to track my workout when I play football or on a treadmill.

comments | 16 August 2010, 09:45

Sunday, 15 August 2010

pterjan's diary
pterjan
Pascal Terjan - Google Geolocation API

I found today the API documentation to use http://www.google.com/loc/json in order to get a location from the seen wifi APs or GSM/CDMA cells.

It is very easy to use:

$ curl -X POST -d '{
  "version": "1.1.0",
  "host": "perdu.com",
  "request_address": true,
  "address_language": "en_GB",
  "wifi_towers": [
    {
      "mac_address": "56:7a:e8:68:15:4B"
    }
  ]
}' https://www.google.com/loc/json
{"location":{"latitude":48.868646,"longitude":2.355392,"address":{
"country":"France","country_code":"FR","region":"Ile-de-France","county":"Paris",
"city":"Paris","street":"Rue Sainte-Apolline","street_number":"2","postal_code":"75003"
},"accuracy":150.0},"access_token":"2:yWOkYM4kI79VH1Bj:cvMZFkJhXSflywZB"}

I guess this is what was used for this attack, and this seems to be used by Firefox and Chrome geolocation features.

Update: I found on http://code.google.com/p/gears/wiki/GeolocationAPI the following note: "Note that the JSON protocol described here and at http://code.google.com/apis/gears/geolocation_network_protocol.html is published to allow developers to provide their own network location server for use through the Gears API. Google's network location server is only to be used through the Gears API", so this is nice but you can't use it.

15 August 2010, 14:05

Friday, 13 August 2010

Jérome Quelin - supply your own perlcriticrc to dzil test plugin

if you wanted the ability to supply your own perlcriticrc while using dist-zilla-plugin-critictests, then stephen scaffidi is your hero of the day. indeed, he just implemented this - and i had to do the tedious work of typing "dzil release". oh well, i can say that life is difficult. :-)

13 August 2010, 20:13

Thursday, 12 August 2010

pterjan's diary
pterjan
Pascal Terjan - Supermarkets in London

As I now know my future address in London, I was looking for supermarkets around and found no easy way to find all the available ones. After looking on each supermarket website I decided to gather the information.

So, I collected positions of ASDA, Tesco, Morrison, Sainsbury's, Poundland and Waitrose (with opening times for some) and pushed them into a Google map.

I actually have info for all UK but if Google map paginates it becomes unusable as you need to go through all pages to know the supermarkets in your area. If someones knows a way to restrict the list to current view on "static" maps, I am interested.

12 August 2010, 08:56

Wednesday, 11 August 2010

Juan Luis Baptiste - KDE 4.5 final available for Mandriva 2010 Spring !!

The stable release of KDE 4.5 was released yesterday and again thanks to neoclust, we have packages for Mandriva 2010 Spring since the same day !! Packages for both i586 and x86_64 are available. Here are the upgrade instructions:

First, if you have added the repositories for any previous version, remove them with the following command:

urpme.removemedia kde-4.5rc3

or whatever name you gave to the repository. Second, add the KDE 4.5 repository, please try to use another mirror to leverage some load from KDE's main FTP server. For 32 bit systems use the following urpmi command (as root):

urpmi.addmedia kde-4.5 ftp://ftp.kde.org/pub/kde/stable/4.5.0/Mandriva/2010.1/i586/

For 64 bits systems use the following urpmi command (as root):

urpmi.addmedia kde-4.5 ftp://ftp.kde.org/pub/kde/stable/4.5.0/Mandriva/2010.1/x86_64/

Then update the repositories and download all the packages before actually installing them to make sure that the installation is possible (as root):

urpmi --auto-update --auto-select --test

When all packages finish downloading and you see a message at the end saying that the installation is possible, you can now run the same command without the --test parameter to now perform the installation (as root):

urpmi --auto-update --auto-select

After the packages installation finishes, logout and log back in, That's it. If you have any problem with the upgrade, the first thing to do to tryo to solve it is to log out, move away your .kde4 directory and log back in.

11 August 2010, 16:27

Nicolas Lécureuil - kdepim 4.4.92

Hi,

i added on kde ftp the rpms of kdepim 4.4.92 for mandriva 2010.1  you just need to wait the ftp to sync

Enjoy

PS: Rpms for mdv 2011.0 will maybe come later

comments | 11 August 2010, 09:40

Tuesday, 10 August 2010

Nicolas Lécureuil - kde 4.5.0

Hello all,

we can from today find on kde ftp the rpms or kde 4.5.0 final  ( released today ) for mandriva 2010.1. I provided at the same time the rpms for bluedevil.

Enjoy this new kde release

comments | 10 August 2010, 15:34

Shlomi Fish - Report on August Penguin 2010

Hi all. This is a report on the August Penguin 2010 conference, which I've attended and enjoyed. I decided to write it in English due to the proliferation of Hebrew reports, out of convenience, and in order to publicise the Israeli open source activity abroad. So here goes nothing.

First of all, an apology: I wanted to publicise the conference more intensively, but I got distracted by the fact that the opening paragraph in the site was supposed to be fixed (and I did not know how to fix it because I'm not a Drupal expert and there was no edit button there), and that I started working intensively on a for-pay project (and a Perl and Catalyst one at that) shortly before the conference, which turned out to be time-consuming and also distracted me. So I apologise if it resulted in fewer people attending the conference, and I'll try to keep it in mind for next year.

In any case, I posted an E-mail to the mailing list asking for a ride, and Omer Zak (a.k.a "TDDPirate") volunteered to give me a ride. After negotiating an hour, I realised I needed to wake up at 06:00 AM, in order to catch the ride. The alarm woke up me up and I had relatively little trouble to get up. I made some preparations, ate something, and started playing a deal of Freecell in PySolFC (which later on during the day motivated me to find a performant scan for Freecell Solver to solve it), and didn't finish in time. Then I went to meet Omer.

He picked me up on Keren Kayemet Boulevard a long stretch before the designated meeting place. Apparently he was early (or I was a bit late), and had to diverge from the main road. So we drove all the way to Weizmann Institute where the August Penguin conference took place. The ride was relatively uneventful, there were no substantial traffic jams, but we saw another car with some FOSS-related stickers on the way (probably going to the conference as well). We arrived early before the doors of the hall were open, but other people got there too and I've talked with them a little and also posed for a photograph with my name.

After they opened the doors, I helped carry some food and stuff from the cars, and then ate some of the pastries that were brought and drank some assorted juices - all of which were good. (I think I had eaten too much during the conference, because later on, I didn't have too much appetite for the midday meal).

In any case, I met a few old and new people during the conference. One of them told me he met me on Freenode's #perl, where I guided him a bit and that he was on Freenode often. He brought an Archlinux-based laptop, and also said he's been writing some Perl scripts for various tasks. I've also met Dor for the first time as he was volunteering in the Ubuntu-Israel stand.

I should note that I had volunteered to guide a blind attendee and she eventually arrived and I showed her where everything was in the hall. During one of the breaks, I also showed her where Ori was. She asked me to escort her to the bus station in order, but eventually someone else volunteered to escort her a short time before I went out of the hall to do so.

I enjoyed several of the presentations there especially the ones about the 0AD game (which looked great based on the screenshots and screencasts), and the Open Knesset (= the Israeli parliament) project. I stayed up to the giving of the Hamakor prize, where I was invited to the stage to receive the third place for the communal prize for the Israeli Perl Mongers.

Omer eventually gave me a ride back home after wrapping up the transcripting business there.

So the conference was very nice and I enjoyed it a lot. Here's to next year's conference, and hope to see you in the upcoming Tel Aviv Open Source Club meeting this Thursday.

comments | 10 August 2010, 11:46

Saturday, 7 August 2010

Shlomi Fish - TelFOSS Meeting: Kaltura, the Open Source Video Platform

The Tel Aviv Open Source Club will host a presentation about Kaltura, the Open Source Video Platform by Zohar Babin on Thursday, 12-August-2010, at 19:00 in Shenkar College in Ramat Gan (12 Ann Frank St.) room 300 (note the change of time and place from the previous meetings - we are now meeting in Shenkar College, on a Thursday and on 19:00.). There's a map with directions on the Shenkar College's site. Further details, maps for arrival, etc. can be found on the Wiki.

Attendance is free, it is not necessary to RSVP and everyone are welcome.

With any other problems, feel free to contact the organiser.

Abstract

Kaltura (also see its Wikipedia entry) allows publishers of all sizes to easily, quickly, and cost effectively enhance their web site with video and interactive rich-media functionalities, including video management, searching, uploading, importing, editing, annotating, remixing, sharing, and advertising.

Unlike the alternative proprietary solutions, Kaltura’s platform is completely flexible, extensible and free! Web publishers, value-added-resellers, and integrators use our software development kit to customise a unique rich media experience that fits their specific purposes, and seamlessly integrates with many popular content management systems. Moreover, Kaltura’s reference implementations and growing library of applications, extensions and plug-ins allow publishers to select off the shelf solutions for rapid self-serve deployments that can be fully enabled within minutes.

Visit Kaltura.org for the community site, forums and all the open source projects that are part of the Kaltura Platform.

In the lecture

  • We will cover all major aspects of online video and why a platform to handle the various tasks is required.
  • We will learn about ways to install the Kaltura CE v2.x, and use it to deploy your own video website/RIA.
  • There will be an open discussion about using and extending Kaltura for personal use, academic use and enterprise solutions for rich-media knowledge management.

This lecture is an open invitation to learn more, try out and become a part of this fast growing and exciting open source solution.

About the Lecturer

Passionate about people, ideas, technology and video; Always ready to chat about innovative ideas or creative solutions, Zohar is a community technology activist and programmer. Among his interests are the study of communities, collaboration, open source, digital art, Video and 3D.

Zohar works at Kaltura where he heads Developer Relations & Community.

He is a fellow manager of flashoo.co.il, the Israeli Flash Platform developer community, founder of WebiTalks the Israeli web developer community and frequently speaks at web events worldwide.

Twitter: @zohar And his fresh new Blog

A video artist by heart, developer by night. :)


We are always looking for people who will volunteer to give presentations on various topics that are related to open source code and to computers. In case you are interested to give a talk, or that you have a suggestion for a talk that interests you, we'll be happy to hear from you.

comments | 7 August 2010, 10:32

Thursday, 5 August 2010

AdamW on Linux and more » Mandriva
adamw
Adam Williamson - Finishing up controversial crap week: What Canonical ought to do

Okay, just one more I need to get out of my system. =)

Edit: forgot to include the normal disclaimer: as usual, this is all my personal opinion and in no way representative of Red Hat (or anyone else, for that matter).

Second edit: I’ve had a few Canonical contributions pointed out to me which to some extent cover the areas I’ve identified. I’ll update the post more extensively soon, but for now, just bear in mind that Canonical is actually active in a few more areas than I identified, and that is certainly awesome.

Reading the comments on my previous post, Greg’s posts, and some of the replies to both, it seems clear that quite a few readers aren’t exactly sure what it is I (and some others in the debate) are suggesting. The top layer of the debate is fairly simple – Canonical is/is not contributing to $FOO – but I guess it might help to spend a bit more time spelling out the implications.

One thing a lot of people seem to assume is that this is some form of jealousy or sour grapes – we’re just hatin’ on Canonical because they are, in some way, beating us (where ‘us’ is Red Hat or Fedora or whatever). But really, that’s not it at all. Red Hat and Fedora don’t really compete with Canonical at all in their main wheelhouse – the end-user desktop; Fedora’s target user (and overall raison d’etre) is rather different from Ubuntu’s, and they can coexist perfectly happily. Yes, Canonical is making initial moves towards the enterprise market, but they’re pretty early. Novell is a far more significant enterprise competitor to Red Hat, yet no-one ever seems to suggest that RH staff are jealous of Novell (or vice versa), and the relations between RH and Novell are pretty fine.

So, no, I’m not just bitching because I hate Canonical and want to score points off them, or something. The point is that Canonical has established itself as a big player in the F/OSS world, and to make the F/OSS world better for everyone in it – including Canonical – it’s important that everyone contributes; not just to marketing or UX design or whatever, but to the fundamental engineering. The argument isn’t ‘Canonical doesn’t contribute to $FOO so they’re a bunch of losers, nee ner nee ner!’, it’s ‘Canonical doesn’t contribute to $FOO and it would really be better for everyone if they did’.

Look at it this way. (Again, this is my personal reading of the situation, not Official Red Hat Gospel). When Red Hat identifies something lacking in the F/OSS world that goes into the distribution that it sell services around, broadly speaking, it works to make sure it gets resolved. Usually, that boils down to ‘hire someone to write the thing’. Take virtualization. It was obvious that this was going to be a major need for the companies that actually use Red Hat products and buy Red Hat services, so RH backed Xen. When it became clear that Xen wasn’t working out so great, especially in terms of kernel integration, RH bought out Qumranet and bankroll the development of KVM. It’s important to note that the basic theme here is self-interest. There is idealism in how RH operates, definitely – there are all sorts of ways RH could perfectly legally make it much trickier for others to leverage our work, make it much harder for Unbreakable Linux or CentOS or Scientific Linux or whatever to exist – but doesn’t. But in so far as actually writing the code goes, in a way, RH would be dumb not to do it. *Not* working on a good virt layer, and sitting back and hoping someone else will write it so RH can use their work, just wouldn’t fly very well. There’s pages and pages of examples of this, but the shape of the story is simple: figure out what it is that needs to be in RHEL, then write the code, and contribute it properly.

This is what Canonical needs to do – for the benefit of the overall F/OSS world, yes, but also for the benefit of Canonical. And there *are* some ways in which they seem to get this. The cardinal example of a significant Canonical code contribution is upstart, and that’s a legitimate one to be sure. It’s a properly organized open project which is funded by Canonical but accepts contributions from others and genuinely works to be integrated into other projects, and it’s been a pretty broad success, with other distros taking it up (though Fedora is currently planning to move to systemd with F14, but that kinda thing happens, it doesn’t invalidate the value of upstart). Their usability work (including work on next-gen desktop concepts like Unity) is indeed an example of the same right way of thinking, though in some ways they’ve been doing it wrong (ignoring XDG standards in their new notification system, for instance, so that it only works with apps that Canonical custom patches in Ubuntu, and they have to ship the standard system anyway to handle apps they haven’t got around to patching yet; it doesn’t work out well from any angle). But the overall idea is right – they’ve identified usability as an area where improvement would be a significant benefit to the product they want to make a living selling services around, so they’re trying to do that work, and – even if not optimally – they are trying to share that work. So, again, that’s an area where broadly they’ve been getting it right.

That’s about all the examples I can think of, though. EDIT: David Treumann correctly points out Simple Scan as another good Canonical project. I’d love for SS to get into the GNOME suite in future. Clicking around from there, I see the SS developer is also involved in a display manager (we sure need another of those…) and something called Omsk that’s listed as proprietary. Huh. Never heard of that. Has anyone else? I looked around. Nothing on the Google. You can find this mysterious page in Launchpad: https://launchpad.net/omsk . It’s a Canonical OEM Project. Lots of people seem to be involved with it. There’s no code you can see. Judging by the couple of bugs marked as affecting it, it seems to be some sort of secret OEM customized Ubuntu variant. Curious…) So here’s some simple suggestions: these are the things it would be best for everyone, including Canonical themselves, to step up and contribute to.

1. Audio. Thanks to Lennart Poettering for pointing this out. Sound is one of the fundamental bits of just about any consumer desktop. Most desktop users aren’t going to use a computer that can’t play sound, or has problems with it. Yet Linux audio is *massively* understaffed. Lennart says there are three people in the world who are paid to work on Linux audio – there may be others Lennart and I don’t know about or are forgetting, but there sure aren’t a lot. Red Hat employs Lennart to write PulseAudio (though he does other stuff too) and Jaroslav Kysela to work on ALSA. Novell pays Takashi Iwai to work, in part, on ALSA (though this isn’t his full time job). Canonical doesn’t pay anybody to do any work on this area. It’s almost ironic – Novell and Red Hat would cope far better in a world where Linux audio was completely neglected than would Canonical. I don’t sell RHEL so I’m not the most informed, but I rather suspect that the vast majority of Red Hat’s and Novell’s significant customers couldn’t really give a toss whether their servers can play Lady Gaga or not. But Canonical’s users are far far more likely to be worried about audio functionality. So why are RH and Novell supporting this vital area of infrastructure – even if not really to the extent it needs – and Canonical isn’t doing it at all? It would help everyone, but Canonical as much as or more than anyone else, for Canonical to find two or three people who can grok kernel hacking and signal processing and pay them to work full time on ALSA and PulseAudio and desktop sound integration. Hell, I can suggest one person for starters (though I’m not sure if he’s free to take a job with Canonical) – Colin Guthrie, who’s been a contributor to PulseAudio for a while.

Edit: Colin and also Daniel Chen pointed out to me that there actually are a couple of Canonical developers working on audio, something that I managed to miss while looking stuff up for this post. :) I’m looking into this more closely to rewrite the section above, but for now, please note that Canonical does indeed seem to be making some efforts in this area, which is great.

2. Graphics. Same story as audio, pretty much. Red Hat and Novell both employ major upstream X.org contributors. Intel pays people to work on the intel drivers. AMD has a few people on staff who contribute to the ATI driver work. Heck, Mandriva has/had pcpa on staff (not sure if he’s still around) and tried to make sure he had some spare time for upstream work. Canonical has one X developer on staff (Bryce Harrington), and he has no time for upstream contributions; he simply works full time on packaging X for Ubuntu and managing bug reports. Yet again, same story as audio: Canonical stands to lose the most if graphics development is neglected. Again, many of Red Hat’s and Novell’s customers could probably get by with vesa without really losing that much; Canonical’s users are the ones who need proper accelerated drivers with 3D and video playback acceleration support. So why is Canonical contributing nothing to this development? Why would they trust a vital component of their product to people who work for other companies, or volunteers, and not take a stake in X development at all? How is that good for them in the long term? There’s a ton of qualified people Canonical could hire here.

3. Networking. Starting to sound like a broken record, but yet again this is an area which is more vital to Canonical than other companies, yet Canonical contributes less. Infamously, Canonical has no-one making significant contributions to the kernel, where network drivers live; Red Hat and Novell both employ kernel developers (not sure whether Novell has network driver developers, off hand, Red Hat has at least David Miller, who’s in overall charge of the networking stack, and John Linville, who is in charge of the wireless stack). Red Hat pays Dan Williams to run, and write most of the code for, the NetworkManager project (which Ubuntu uses). Canonical…well, all I can find is one set of commits to NetworkManager back in October 2008 from a guy called Alexander Sack. Yet again, this is an area that’s arguably more important to Canonical than anyone else, at least in parts. Probably most big Red Hat and Novell customers are mostly using ethernet, which is a fairly static area and doesn’t require a lot of coding work; a new driver every now and again for a new chipset, but there’s far fewer new ethernet chipsets than wifi chipsets, and the manufacturers often provide the drivers themselves these days. The areas of networking which really need development are, yet again, consumer focussed ones: wifi and mobile broadband. This is stuff Ubuntu users really really want to work; wireless networking is one of the classic knocks against desktop Linux, mobile broadband is up and coming. Yet, again, it’s not Canonical staff doing the work here. Dan Williams has done almost all the work on implementing mobile broadband support into NetworkManager; the kernel level stuff for mobile broadband and wifi is done by a range of people from a range of companies, but no Canonical involvement. Yet again, why isn’t Canonical contributing to this area that’s so vital to its interests? Why can’t they hire three or four engineers to contribute to writing drivers for new networking hardware and help out with improving NetworkManager? Yet again, it would help them as much as or more than anyone else.

4. Desktop applications. This one’s a little different, since everyone could stand to improve a lot here. The other big vendors don’t do a huge amount of work on typical, non-infrastructure apps; the big ones like Firefox and OpenOffice.org are mostly supported by non-Linux vendors, small apps tend to be written by small companies, independent developers, or even Linux vendor staff working mostly on their own time. There are significant exceptions – Novell pays people to work on Banshee, OpenOffice, and Evolution (actually Novell probably does more than anyone else in this area), Red Hat supports the development of Totem and Rhythmbox to a degree, and has one or two others working in this area (RH has an Evolution developer on staff, I think, probably a few others I’m forgetting). But really, the story of major vendor support for Linux desktop app development is pretty crappy, and yet again, it’s Canonical that’s losing out the most. Yet again, RH and Novell’s customers can get by without this stuff; Canonical’s users really can’t. Again, you’ll notice I’m focussing on the classic big knocks against the Linux desktop here, and this is one of the biggies. All down the years, we’ve heard that big apps are missing. These days, the classics that get pulled out all the time are graphics editing and video editing, and there’s a lot of truth in that. GIMP is good but it’s missing stuff that Photoshop users rely on; our video editing story is terrible.

Perhaps the best contrast here isn’t one of the other Linux vendors, but Apple. Apple realized back at the start of the OS X era that providing desktop apps that people really want to use is a great way to sell your desktop. Apple develops and supports the development of a lot of the best OS X apps, and bundles them in with OS X – the best example being Garage Band – or sells them relatively cheap. So, why isn’t Canonical doing this? Canonical needs the Linux desktop to be an attractive choice for its business model of selling services to Linux desktop users to work; sure, it won’t make any money directly by funding the development of a kick-ass open source video editor, but it _needs there to be_ a kick-ass open source video editor for its plan to make money to actually work. This is the conceptual leap Canonical needs to make more often, in a nutshell. Red Hat doesn’t make any money directly from funding the development of bits of the Linux kernel, but it needs that development to happen for its business plan to work. Canonical needs to go out there, find the people working in scraps of spare time on promising but fundamentally incomplete or broken desktop apps, hire them, and polish those things till they gleam. Go out and find the best attempt at a Linux video editor, hire the top five developers, give them an office and let them develop the project – not in secret in Launchpad, but right out on its existing project page. In the end, as long as Ubuntu is the leading desktop Linux distro, it’s still ultimately going to be Ubuntu that sees the benefit more than anyone else, even if everyone else gets to use it too. Find the top five contributors to GIMP, hire them, go do a survey of Photoshop users and find out what it is they need in an open source photo editor, and damn well give it to them. Hire the top contributors to Audacity, Jack, Hydrogen, Rosegarden and all the other jumble of disconnected Linux audio creation apps and frameworks, stick them together in an office, and build a kickass integrated audio creation suite. Just go out and read those articles about the key desktop applications Linux is missing, and hire some people to write them. It ain’t rocket science, and ultimately, it’s self-interest as much as anything else. But it’s the right thing for Canonical and the right thing for the rest of the F/OSS world.

The President of the U.S. famously said something about lipstick and pigs. Yes, Canonical’s steps towards usability and interface work are important, but the prettiest interface in the world to a desktop operating system isn’t enough if the underlying hardware support isn’t there, or the applications that people to need to run aren’t available. It’s Canonical that needs these things to exist, more than anyone else; so why wouldn’t Canonical want to be the ones to get them done? Hoping that other companies or volunteers will write them for you is not the best plan, it really isn’t.

comments | 5 August 2010, 19:51

AdamW on Linux and more » Mandriva
adamw
Adam Williamson - More controversial crap, or: where did all the Linux netbooks go?

So, I’ve been involved in a long discussion here and on IT Wire with just the most charming and polite adversary one could wish for, Mr. Telic. This has actually caused me to go out and do some boring research on stuff which I had a feel for but hadn’t really put any hard data to, and which is fairly depressing. (There’s a summary at the bottom for impatient types: search for ‘tl;dr’ – that’s ‘too long; didn’t read’, for anyone else who was baffled by that cryptic little snippet as long as I was).

So, netbooks. Mr. Telic holds out the netbook market as the counter to my theory that Linux is doing pretty crappily in the traditional operating system ‘market’. He cites numbers mainly drawn from 2008 and 2009, when Acer and Asus executives were on record as saying they were shipping 20% and “30 percent to 40 percent” of systems, respectively, with Linux installed, and one analyst said that 32% of netbooks shipped in 2009 ran Linux, and predicted that the majority would run Linux by 2012.

On the face of it, hey, that’s a pretty strong argument. On my Canonical-hatin’ sidetrack I did note that neither Acer nor Asus shipped Ubuntu on their netbooks – Asus uses/used Xandros and Acer uses/used Linpus, a Fedora derivative – which makes Mr. Telic’s point rather weaker in support of the theory that Ubuntu’s doing all the work of promoting Linux for ordinary people. (Only Dell of the major-tier manufacturers has shipped netbooks with Ubuntu pre-installed; the other major tier vendor we’ve discussed, HP, ships/shipped SUSE). But really, what I’m interested in with this post is the question of how Linux is doing.

So, here’s the thing. Are we really on the smooth track from 32% (claimed, at least – I suspect that figure was actually a little optimistic) in 2009 to a majority in 2012? Well, not to put too fine a point on it, I don’t think we are, no.

The obvious question to ask was ‘what’s the figure for 2010?’ Interestingly, I can’t find one. Not from any analyst. Especially not from ABI, the firm that was very loud about its survey which gave the 32% figure for 2009 and the ‘majority’ extrapolation for 2012. This year they have released a new study which seems to mush things up a bit, and consider netbooks, smartbooks, tablets and basically anything else in between a laptop and a phone as one big market segment – they talk about ‘Linux-based mobile devices’. The press release for the study (you can’t read the study for free, of course) is noticeably lighter on big headline numbers than the little publicity tour they sent one of the authors of the 2009 Linux-on-netbooks study. The only number the press release cites is right up there in the first paragraph – “ABI Research anticipates that Linux-enabled mobile devices, led by the success of Google’s Android and upcoming Chrome OSs, will comprise 62% of the operating systems shipping in all (non-smartphone) mobile devices by 2015.” (Again, my pesky Canonical-bashin’ muscles note that ‘led by Google’s Android and upcoming Chrome OSs’…and while I’m at it, let me bash analysts by cynically noting that their 2009 press tour didn’t really mention Android much at all. Boy, those analysts sure are great at predictions).

I Googled around and checked a few other analyst firms, but no-one seems to be giving any numbers on operating system share for netbooks for 2010. (Best I can find is a cheery prediction from December 2009, fairly typical of the genre around then, in which “mobile computing expert and Web entrepreneur Sascha Pallenberg” reckons that 50-70% of netbooks in 2010 will be running Android. Hmm.)

So, in the absence of that kind of data, and related to some back-and-forth nitpicking with Mr. Telic, I went out looking for netbooks with Linux preloaded instead. What I found was, well, a wasteland.

Let’s go with the big dogs first. Asus! The company that introduced the netbook (and whose first models *only* came with Linux). The company that was shipping 40% Linux models in 2008, and expected it to stay at 30% after that. Now, Asus has about sixty bajillion very slightly different models listed on its website, and life’s frankly too short to go through all of those. Let’s look at what you can actually buy. So, to Best Buy!

As of writing this, Best Buy offers 16 Asus netbooks through its website. How many come with Linux pre-installed? That would be none. Yup, it’s Windows all the way – a couple with XP Home, the rest with 7 Starter.

Well, that ain’t so good. Still, Best Buy’s not the only retailer, right? Let’s go with somewhere a little more geek-friendly. How ’bout NewEgg? Surely they’ll have at least a token system or two for the geeks, right? Well, uh, nope. NewEgg lists 21 Asus netbooks. 21 of ‘em come with Windows.

Well, hey, that’s just the U.S., y’know, the biggest computer market in the world. No biggy. Let’s check some other countries. Canada? Well, uh, nope. Future Shop doesn’t sell Eee’s, oddly enough. Best Buy Canada sells one, with Windows. Netlink, where I buy my stuff, sells (or at least lists, half of them probably aren’t really available any more) 42 models – every bloody one with Windows. The UK? Nope. Dixons lists two Asuses, both with Windows. Dixons lists two Asuses, both with Windows. Dixons lists two Asuses, both with Windows. Dixons lists two Asuses, both with Windows. Comet has five, all with Windows.

Well, okay, then. Asus obviously fell a bit out of love with Linux. Still, they’re yesterday’s news. Even though they introduced the sector, Acer rules it; they ship the most netbooks of any manufacturer. Best Buy doesn’t list any Aspire Ones on its US website (odd), so I went with CDW, who list 17…all with Windows. NewEgg, 8, Windows. Best Buy Canada, 5, all Windows. Future Shop, 3, Windows. Netlink, 8, Windows. Dixons, one, Windows. Comet, two – both with Windows pre-loaded, but one (it comes in a couple of colors, so there’s two search results, if you’re duplicating my results) with an Android dual boot! Finally!

So, Acer goes 1 for 44. Hey, that’s one better than Asus. Swing, batter batter…

So, well, hey, we’re not doing so great with the market leaders. Still, Mr. Telic is keen on HP and (especially) Dell, so let’s take a look at them, shall we?

So, Dell. Yes, Dell sells Ubuntu. Three current models with a current Ubuntu release, a netbook, a laptop, a desktop, all at reasonably competitive prices. That’s not horrible. It’s about as well as any distributor has done for a major OEM deal. So, moderate kudos to Canonical there. Yes. Now, excuse me while I pile on.

One, do you know how Dell expects you to get to that page? You go to www.dell.com, where you see precisely no mention of anything remotely to do with Linux. You then click on ‘For Home’ (but not any of the drop-down options under it, none of them gets you anywhere you can buy an Ubuntu system). This takes you to a big, busy page, where you may notice the bold-face, fairly prominent strapline reading “Windows® . Life without WallsTM . Dell recommends Windows 7.” What you’re going to have to work harder to notice is the third section of the sidebox labelled “Essential PC Links”, which is headed “PC Operating Systems” (you’ll have to scroll down to see it, unless you have a very high resolution and/or very small fonts). Here, under four different types of Windows, is a link called “Open-Source PCs” (and if that doesn’t scream “Buy Me!” to the average PC buyer, I don’t know what does!) Click this, and you get taken through a buffer page which starts out “We’re glad you found Dell’s Ubuntu website.” (well, yes, you *did* make it quite an excursion, I think the pat on the back is deserved…) and which has a small ‘Shop for Ubuntu’ button right at the bottom (I missed it the first two times I saw the page) which takes you, finally, to the page I linked to right off the top, where you can actually *buy* Dell systems with Ubuntu pre-loaded.

Whew. You think the above causes Microsoft to lose huge amounts of sleep? I’m betting no.

The models sold here are the Mini 10n, the Studio XPS 7100 n-Series, and the Inspiron 15n (‘n’ seems to be Dell shorthand for ‘comes with Ubuntu’). Try this. Pull down the ‘Laptops & Netbooks’ menu and click ‘Mini – Netbooks’. You get the Mini 10 and Mini 10v Nickelodeon Edition. Do you get the Mini 10n? No, you do not. The only way you get the Mini 10n is to find your way to the Ubuntu ghetto page. Try it for the laptop – ‘Laptops and Netbooks -> Inspiron’. Again, you see the non-n, Windows-y models; you don’t see the n, Ubuntu models. Only with the 7100 is there a ‘Looking for Ubuntu?’ button under the ‘Customize’ button for the Windows config. Dell really doesn’t seem to try at all to make it easy to buy an Ubuntu system unless you go looking for it, it seems. (For bonus fun, go to the Ubuntu ghetto and click on the picture of the Mini 10n system, rather than the ‘Personalize’ button. It takes you to the main Mini page…where the 10n isn’t listed. Same deal if you click ‘Product details’. *headdesk* no cookies for you! It’s like they fill the page with booby-trapped links which pull you out of the tiny tiny sliver of the Dellverse where you can actually buy an Ubuntu system…)

Quick price check. The base config of the 10n is $299, with 1GB of RAM, a 160GB hard disk, 802.11n wireless, a webcam, and a 3-cell battery. The base config of the Mini 10, with Windows 7 Starter, is $299 for identical specs – except you get a 6-cell battery. So the Windows model is slightly better, for the same price. The 15n costs $579; the $529 model of the Inspiron 1545, with Windows 7 Home Premium, has a bigger hard disk (500GB vs. 250GB), more RAM (4GB vs. 3GB), and a better battery (6 cell vs. 4 cell). So the Windows model is $50 less with better specs. The XPS 7100n, again, is the best story: the Ubuntu model is $459, versus a Windows model with exactly identical tech specs for $499. Finally.

So Dell’s netbook story is a single model with inferior specs to the Windows model, which you can only find on a rather well-hidden special page, for the same price as the Windows model. It has a laptop which costs more for worse specs, and only the single desktop model seems to have positive elements to it. Isn’t it sad that this is the *best* we’ve managed?

Finally on this little tour of depression, HP is up. As far as I can find, HP offers a single netbook model with Linux pre-loaded – the Mini 2102, in its build-to-order incarnation. (They previously offered the Mi editions of three other models, and the 2133, but these are no longer available; they have an ARM-based smartbook with Android pre-loaded coming up). I can’t find *anything* that discusses Linux for non-server machines on hp.com, anywhere – clicking through I see nothing, searching for ‘Linux’ or ‘SUSE’ just brings up a bunch of server-related pages clearly aimed at enterprise server purchasers. I was only able to track this system down through the third party Linux Netbook site, which has handy listings of pretty much every Linux netbook that’s ever existed. If you go to the main Mini 2102 page – not sure if that link will work, it’s one of those crazy ones full of numbers, but it’s what I’ve got – there’s no indication that Linux is available on it, though on the general Mini page there’s a small mention of “SUSE Linux Enterprise 11″ and “FreeDOS” in the Operating System box. To actually buy it with SUSE, you have to click ‘Configure your model’, then ‘Configure PC’ (why there’s so many freaking pages to click through on major vendor sites I will never figure out), which takes you to the Small Business site, where you click ‘Configurable’, then ‘Configure and Buy’. You can probably short-circuit that a bit by going straight in through the Small Business site, but jesus. Here you can change the operating system to SUSE Linux, take out the OS Label and EnergyStar Label (yikes, big loss), and arrive – finally – at a Mini 2102 configuration with SUSE Linux preloaded, for…$461. If you ditch Bluetooth, you can get down to $452. Now, if you reverse all those steps and take the cheapest pre-configured Windows Mini 2102 model, you get the exact same specs – with Bluetooth – for $329. That means you’re paying a ‘Linux tax’ (huh?) of $132 if you buy the model with SUSE installed. Boy, that’s gonna get ‘em stampeding through the doors, that is.

tl;dr summary: where the hell did all the Linux netbooks go? In 2007 you couldn’t buy a netbook with Windows; in 2008 to 2009 you could still walk into a big box store just about anywhere and pick from a few with Linux; now, you can buy one from one store in England with an Android dual boot, one from a hidden page on Ubuntu’s site with an inferior configuration to its equally-priced Windows equivalent, and one from a very well hidden bit of HP’s site with a $132 premium over its identically-specified Windows equivalent. Yes, please do go ahead and point out the ones I’ve missed in the comments – I had a quick look at MSI but not much else – but it ain’t gonna be much compared to the flood of Windows I found here.

This is a freaking far cry from having the majority of the market by 2012. It makes me wonder why there hasn’t been more shouting, aside from this SJVN article back in May. If the netbook is the forefront of Linux’s assault on the general computing market…well, yikes. Look, I know this is pretty depressing, and not in itself terribly productive. But I think it’s important to have a clear-eyed view of things. The Linux press has a tendency to report the good news and ignore the bad; there was a lot of trumpeting of those 30-40% numbers back in 2008-2009, but it seems no-one’s too keen to note how things haven’t been going so well since then. It’s important to have a clear view of where we are, and right now, where we are – for Linux in the traditional consumer computing market – is not a very good place. I’m not claiming to have the answers for how to make it better, and I know it’s a hard thing to sort out; the cynical side of me can come up with a lot of explanations as to where all those pre-loads went, and all of them involve large amounts of money going out of Microsoft bank accounts. In a way I’m fortunate that the fortunes of Red Hat and Fedora aren’t really tied up in this hellhole of a market. But if you do have a keen interest in that market…pay attention.

comments | 5 August 2010, 02:54

Wednesday, 4 August 2010

AdamW on Linux and more » Mandriva
adamw
Adam Williamson - clarification

Short thought: I’ve posted some things that are fairly harsh on Canonical, here and in other places, over time. There’s one thing I’d like to make clear. I think Canonical is a far, far better player and contributor to the F/OSS community than most other companies. Sometimes people have suggested that I (and others) are being overly harsh on Canonical compared to companies that are way worse, and to a degree that’s a reasonable criticism. So here’s a bit of balance. The reason I don’t complain much about Microsoft or Apple or Google is that I pretty much consider them lost causes. They exist to make a buck, and they have cultures that are more or less fundamentally at odds with proper collaborative F/OSS development. Even with Google, Android is pretty much a manual on how not to run a proper F/OSS project, and their ultimate goal appears to be to own every piece of information about everyone in the world, which frankly creeps me the hell out. I don’t expect anything more than minimal legal compliance with open source licenses from Google and Apple and Microsoft, and most other software companies. Whenever we see anything else I get pleasantly surprised. I get passionate about Canonical precisely *because* they’re not as bad as those companies – they’re definitely not a lost cause, they do a lot of good stuff, and they have a great opportunity to do even more really good and constructive work. Mostly I see Canonical as being on the Side Of Justice and my bitching is hoping they can do a better job at stuff, not hating on them because they’re on the Side Of Evil. I try not to spend too much time worrying about the companies that just don’t get it, because it’s not going to get anyone anywhere.

So, yeah, despite my carping, I think Canonical is trying to do the right thing, whether they get it wrong sometimes or not, and there’s a lot of good people there doing good work. I moan out of love, honest. =)

comments | 4 August 2010, 05:32