Search Results: "ag"

23 March 2007

Uwe Hermann: Measuring the energy consumption of everything you own

Voltcraft Energy Check 3000 Inspired by this post from Lars Wirzenius, I recently bought an electricity meter (or energy meter) and measured the energy consumption of everything I could find in my flat. I did not yet perform any long-term tests, i.e. measuring the average consumption over multiple days or so, only some quick ad-hoc checks. I just recorded the number of watts the respective device used when powered on. Here are the results: Kitchen stuff: Computer stuff: By removing all devices which draw more than 0 watts in stand-by mode, I was able to reduce the overall (useless) energy consumption (and costs!) quite a bit. I also replaced a bunch of 40 W and 60 W lightbulbs with energy saving lightbulbs which are equally bright, but only consume 8 W or 12 W respectively. On the long run you can save quite some amount of energy (and money) with them. They do cost a little bit more than normal lightbulbs, but save lots of electricity costs and they also last a lot longer (8000-15000 hours vs. 1000 hours according to Wikipedia).

David Welton: Javascript hacking

I wouldn't have thought it several years ago, but I've actually been hacking on some Javascript, for Stuff to Do. My immediate need was to make the system work better with IE6, which had problems with the previous way of doing things, which involved big updates to large portions of the page. Now, with Javascript, I do most of the work that way, and rails only has to make note of the new task priorities in the database. In terms of UI changes, I also flattened the task boxes down just a bit, something that a user requested. Hopefully it's reasonably stable, as I will have very, very little hacking time until we are unpacked in our new place in Innsbruck!

22 March 2007

Russell Coker: power saving

Adrian von Bidder made an interesting post in response to my post about Spanish wind power. He correctly points out that power sources that have seasonal variations and which may vary during the course of a day can not be used as the sole power source.

The ideal design would be to have wind power stations that are designed to have a peak power that is greater than the expected use for the country. Then when wind power is slightly below peak the entire use for the country could still be satisfied.

There are a number of power sources that can quickly ramp up, this includes hydro-electric and gas-fired power stations. Such forms of power generation could be used as backup for when wind and solar power are limited. Incidentally one thing to note about Solar power is that it is most effective during the day in summer - which is when there is the highest demand for electricity to run cooling systems. There is also an option for having the sun heat up rocks which can be used for generating electricity at night or at periods of peak demand. So eventually we could have all our energy needs supplied by solar and wind power.

If wind power was designed to exceed the demand at windy times there are a number of ways that it could be used. The first thing to do is to implement billing systems that vary the cost according to the supply. This information could be provided to customers via X10 (or a similar technology). Home appliances could take note of this information and perform power-hungry operations when it's cheap. Your freezer could cool itself to -30C when electricity is cheap and allow the temperature to rise to -5C when it's expensive. You could program your washing machine to start when electricity becomes cheap - usually a few hours delay before starting the washing is no inconvenience.

Ideally home power generation from solar and wind sources would be used. There is significant loss in the power lines that lead from power plants to the consumer, so there are efficiency benefits in generating power locally. A wind turbine for a home will give highly variable amounts of power, and the electricity use of a home also varies a lot. So batteries to store the power are required. When you have local battery storage you could use your batteries to power your home when electricity is expensive and use mains power when it's cheap. Also if it was possible to feed power back to the main grid then home battery systems could be used to help power the main grid at expensive times (if the electricity company reimburses you for putting power back in the grid then you want such reimbursement to be done at the highest rate).

Adrian also mentioned turning devices off when leaving home. It is common practice in hotels that when entering your room you will insert your key in a holder by the door which acts as a master switch for all lights and some other electrical devices (such as the TV).

This same idea could be adopted for home use, not based on key storage (although this would be an option) but instead on a switch near the front door. Push a button and all lights turn off as do human-focussed appliances such as the TV and DVD player turn off (not the VCR), etc. There could also be a night option which would turn off the TV, DVD player, and most lights. Obviously at night you want bedroom and bathroom lights to still work but many things can be turned off.

This is all possible with today's technology, small changes to usage patterns, and spending a little more money on technology. Currently you can get a basic solar power system for your house for about $10,000. That isn't much when you spend $300,000 or more buying the house!

Russell Coker: thinkpad back from repair

On Tuesday my Thinkpad was taken for service to fix the problem described in this post.

The problems I described were overheating, wear on the keyboard (from a minimum of 8 hours a day 7 days a week use) and a missing rubber foot on the base. The statement of work includes a replaced system-board, keyboard, CPU fan, and "cover(s)" (not that I can see any difference in that regard). No new rubber foot. Also they upgraded the BIOS.

It's interesting to note that in the list of "diagnostics performed" they listed "HDD" - of course I removed the hard drive before giving it to them.

Anyway 2 days turn-around is pretty good service and I'll ask them to post me a new rubber foot so I can stick it on myself.

Update:
The IBM support team were quite helpful about this and now have a set of misc small parts being couriered to me - it may arrive tomorrow or Monday.

It's a minor annoyance that they didn't fix everything when they had it, but shipping me a set of small parts is great service. With a bit of luck I'll get some other parts that will be useful to me at some future time too. ;) My Thinkpad leaves warranty in a few months and I'll be on my own for all future repairs.

For the first time I am actually considering paying for extra warranty support. I think that I'm one of the more expensive IBM customers in terms of warranty support. I typically go through one keyboard and one system-board per Thinkpad that I own. I guess that IBM make the most money from managers who have laptops always sitting on their desk. People like me who take their laptops everywhere, use them extensively, and wear things out (doing what laptops are designed to do) would be less profitable.

Isaac Clerencia: Bloodhound Gang gig, Sheffield crazyness, holidays in America

Last weekend my workmate Javi and I attended a Bloodhound Gang show in Sheffield, UK. It was quite cool and we got the chance to see Jimmy Pop and Evil Jared live. I also had the chance to see this amazingly crazy poster at Sheffield bus station. In unrelated news I’m leaving tomorrow towards the United States, I am going on holidays to New York and Boston for a couple of weeks with a group of friends, I hope it to be great :)

Fabio M. Di Nitto: PUMP UP THE VOLUME!

Two of these toys just landed on my laps:

QLogic Fibre Channel HBA Driver
qla2xxx 0000:03:04.0: Found an ISP2422, irq 69, iobase 0xf6000000
qla2xxx 0000:03:04.0: Configuring PCI space...
qla2xxx 0000:03:04.0: Configure NVRAM parameters...
qla2xxx 0000:03:04.0: Verifying loaded RISC code...
qla2xxx 0000:03:04.0: Allocated (1061 KB) for firmware dump...
qla2xxx 0000:03:04.0: Waiting for LIP to complete...
qla2xxx 0000:03:04.0: Cable is unplugged...
scsi3 : qla2xxx
qla2xxx 0000:03:04.0:
QLogic Fibre Channel HBA Driver: 8.01.03-k
QLogic QLA2460 - PCI-X 2.0 to 4Gb FC, Single Channel
ISP2422: PCI (66 MHz) @ 0000:03:04.0 hdma-, host#=3, fw=4.00.27 [IP]

more FC-HBA! more fun! My Niagara T2000 has now 4 (3 PCI-E + 1 PCI-X) FC-HBA controllers topping what my ancient SAN can really do considering the age and the few parts branded Digital, but best of all is the above dmesg coming from a J5000 pa-risc machine. The Qlogic controller was the first one to actually pass the POST (opposite to the Emulex that hangs everything hard). One cluster, 5 different architectures, 7 machines. This project is becoming interesting to stress portability of things like OCFS2 or GFS2 and their user land tools. Sometimes i wish to have a few pcmcia -> FC-HBA to plug a ppc laptop and an amiga 1200 m86k :)

Bastian Venthur: Dear SoC enthusiasts,

please stop writing mails asking me whether I’d like to mentor your yet-another-reportbug-alternative project. It’s not that I’m opposed to the idea of rewriting reportbug(-ng) for gtk or as a webapp — really. I just don’t see why your project needs to be part of SoC. I know working for/with google is kinda sexy nowadays and as a student you can even get some money — but be honest: what was Debian’s benefit of last year’s SoC projects? My question which of last year’s projects failed and which succeeded is still unanswered. So no, I’m not yet jumping on this bandwagon everybody seems to be so exited about. Don’t get me wrong: I don’t hate google or the SoC, I’m just not convinced of the success of our last year’s projects, plus I don’t think we need such an event to write useful tools for Debian. NP: The Beatles — Happiness Is a Warm Gun

Eddy Petrișor: Dear lazyweb I am looking for IRC proxy...

I know that I have seen somebody blogging about irc proxies and I remember that somebody said that there was a better alternative than dircproxy, but I can't find that article, although I know I flagged it...

So, dear lazyweb, do you know of a good irc proxy which is better than dircproxy and is packaged in Debian (Etch)? I am especially interested in one that can connect to multiple networks and which doesn't force me to change my IRC client (so I don't care about screen+some_console_irc_client). Oh, yes, it must not need a degree in rocket science to configure (dircproxy is ok).

Alastair McKinstry: Dear LazyWeb: Openid in PyBlosxom

OK, Having agreed that Openid is a good idea to solve the multiple-login-issue, i've been looking at enabling it on the python-based projects I work with. Harder than it looks, for no apparent reason. Firstly, I've succeeded in enabling an Openid Server in my Pyblosxom blog. Just google to pyblosxom+openid+server and install. It works. Now I can log into openid sites with my blog address http://blog.scealnetworks.com. Alternatively, I can openid-enable the comments login on the blog by installing the openid comments plugin. Unfortunately this seems to conflict with the server above, and both seem to conflict with Debians python-openid. All three seem to have a common original codebase that has diverged, but I haven't had time to do any software genealogy and figure out which codebase is out of date. Any ideas anybody ? (other than emailing everyone involved). Secondly, I'd like to share the logins with my MoinMoin wiki. Again, a patch has been written for this, but to share the logins between pyblosxom and MoinMoin will need co-ordination. My current plan is to try and get all related openid sites to share /srv/www/openid-store on the server to share identities. This'll need patches, and probably justify making Debian packages out of the plugins. Finally, I'm working on a Plone website for IFAS, for observation tracking and co-ordination (see aop.irishastronomy.org and aop-test.irishastronomy.org if you're interested). Here, all the users already have logins on a related system in PHPBB on a different host. It would be nice to integrate them : query the SQL database on the PHPBB site? give them openid identities from the PHPBB machine?

Simon Richter: Early rising and spring cleaning

In the last weeks I've focused more on doing things than writing about them. I've (for the most part) managed to become an early riser, getting up at 5 o'clock each morning, and gotten a number of things sorted in the two hours between breakfast and going to work. The time for this got taken away from the part of the evening where I'm too tired to do anything meaningful and so end up reading emails. This, of course, means that I will have less time for reading mail, and so I've changed my mail setup so that list mail no longer goes into my inbox. This was long overdue, and it is a good thing that the blue "message" LED now only lights up for mail addressed to me (and spam, but I'm going to deal with that later).

John Goerzen: More on Git, Mercurial, and Bzr

I've been writing a lot about this lately, I know, but it's an interesting landscape.

I had previously discarded git, but in light of git-cvsserver (which provides a plausible way for Windows people to participate), I gave it a try.

The first thing I noticed is that git documentation, in general, is really poor. Some tutorials that claim to cover git actually cover cogito. Still others use commands that are much more complex than those in the current git -- and these just the ones linked to from the git homepage.

git's manpages aren't much better. There are quite a few git commands (such as log) that take arguments that other git commands accept. Sometimes this fact is documented with a pointer to these other commands, but often not; a person is left guessing what the full range of accepted arguments are.

My complaint that git is overly complex still exists. They've made progress, but still have a serious issue here. Part is because of the docuemtnation, and part is because of the interface. I wanted to export to diffs all patches on the current branch in a repo. I asked on #git, and someone suggested using the revision specifier ..HEAD. Nope, didn't work. A few other git experts chimed in, and none could come up with the correct recipe. I finally used -500, which worked but is hackish.

git's lack of even offering support for a human to indicate renames also bothers me, though trustworthy people have assured me that it doesn't generally cause a problem in practice.

git does have nicer intra-repo branching than Mercurial does, for the moment. But the Mercurial folks are working on that anyway, and branching to new directories still works fine for me.

But in general, git's philosophy is to make things easy for the upstream maintainer, and doesn't spend much effort making things easy for contributors (except to make it mildly easier to contribute to a large project like Linux). Most of my software doesn't have a large developer community, and I want to make it as easy as possible for new developers to join in and participate. git still utterly fails on that.

I tried bzr again. It seems that every time I try it, after just a few minutes, I am repulsed. This time, I stopped when I realized that bzr doesn't support tags and has no support for emailing changesets whatsoever. As someone that has really liked darcs send (and even used tags way back with CVS!), this is alarming. The tutorial on the bzr website referenced a command "bzr help topics", which does not work.

So I'll stick with my mercurial and darcs combination for now.

I announced the first version of a hg send extension yesterday as well. I think Mercurial is very close to having a working equivalent to darcs send.

Andrew McMillan: Seamless Monitor Hotplugging with X Windows

There are times when you want to track the bleeding edge of a particular project, and having a new laptop is often one of those moments... I've recently bought an HP Compaq nx6320 and while most of it is working, one of the reasons I got it was because of Keith Packard's work on the RandR extensions for X. Well, I was definitely seeing this bug but with a small patch I can get the latest (experimental) packages for xserver-xorg-video-intel to work, and now with a few magic tweaks to my xorg.conf I can make my desktop expand to another monitor when I unsuspend at work, and contract back to just the laptop screen when I resume somewhere else. The Magic Expanding X Config First of all, when I got the driver to actually work, xrandr explained to me that my maximum resolution was 1400x1400:
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1400 x 1400
VGA disconnected (normal left inverted right)
LVDS connected 1400x1050+0+0 (normal left inverted right) 305mm x 228mm
   1400x1050      60.0*+
   1280x800       60.0  
   1280x768       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right)
Using a few clues from Ross Burton I managed to get that "maximum 1400x1400" to increase. The trick is to add a "Virtual" setting for screen size into your "Screen" Section, like so:
Section "Screen"
        Identifier      "Default Screen"
        Device          "Intel 945GM/GMS/940GML"
        Monitor         "Laptop Panel"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Virtual         2680 1050
        EndSubSection
EndSection
The downside of this is that if you set the width greater than 2048 (as I have here) then DRI won't work, so you won't get 3d stuff. I guess I can manage without ice-cream, just so long as I get my cake! Once I have the "Virtual" setting, when I resume at the office I can:
xrandr --output VGA --mode 1280x1024 --pos 1400x0
And then when I resume somewhere without the external monitor, I can:
xrandr --output VGA --off
Quibbles All of these features are kind of under development, but Xorg 7.3 will support this stuff, and then Gnome and suchlike will have to start thinking about how to deal with it. The dynamic screen changing is not something these environments are completely ready for. One example is that while I know that monitor is always on the RHS of my docking station, X wants it to be the primary monitor and Gnome moves both panels onto that screen. Perhaps that's not a choice that can be made automatically. Someone who had an external keyboard plugged into their docking station might want the opposite behaviour, and there is certainly no way the environment can magically know whether that monitor is left or right of my laptop screen. Eventually I expect that Gnome will recognise this monitor, and will make the panels and location automatically set the RandR environment to match the way I set it last time. It is also somewhat annoying that I have to actually choose the virtual size. No doubt this configuration will disappear in due course and it is not really surprising to see it for something which is admittedly quite bleeding edge! I noticed at LCA that Keith had his own screen set for a Virtual size of 2048x2048, and now I know why: that's the maximum size that is supported for DRI, so if I expand my desktop onto a 1280x1024 screen I'm going to have some overlap. In fact I could almost configure my external monitor to be above my normal screen and use it that way, but it would feel pretty weird I think. In the meantime I've gone back to "blank screen" for my screen saver which admittedly is currently the only application for 3d acceleration on my desktop. Remaining Problems with this Laptop The only outstanding issues for me with this laptop are: That's about the best Linux compatibility I have had for any of my last five laptops within a month of buying it. Most of them have had much more significant stuff less supported even after three years of use!

Adam Rosi-Kessel: Ralph s World, More Music For Children

For those who care about kids... I recently blogged about TMBG s marketing genius in releasing kids albums that adults who grew up to TMBG will love and buy. Another good example of kids music that you, too, can enjoy is Ralph s World. It's not quite as ironic or odd as TMBG, but still a good listen. Check out, for example, the RealAudio clips for Clean-Up (much better than the Barney version!), Baa-Baa Black Sheep, and The Coffee Song. Speaking of Barney, apparently his music has been used to torture Iraqi detainees. Technorati Tags: ,

21 March 2007

Wouter Verhelst: OpenID

I figured this new shiny OpenID thing was cool enough to start using it. There's just this one problem: I didn't want to have to go through the "register on a website and remember yet another password" dance once more; and since I have this marvellous Kerberos realm set up which works for authenticating against my webserver, too, why not use that? So I downloaded the JanRain PHP OpenID library, and went hacking. It's not all that hard, really:
diff -ruN ./lib/actions.php /svr/www/openid.grep.be/data/lib/actions.php
--- ./lib/actions.php	2006-12-08 23:56:22.000000000 +0100
+++ /svr/www/openid.grep.be/data/lib/actions.php	2007-03-08 14:18:32.000000000 +0100
@@ -88,17 +88,24 @@
     if (!isset($input['openid_url']))  
         $errors[] = 'Enter an OpenID URL to continue';
      
-    if (!isset($input['password']))  
-        $errors[] = 'Enter a password to continue';
+    if (!isset($input['password']) && !isset($_SERVER["REMOTE_USER"]))  
+        $errors[] = 'Enter a password to continue, or log in using an ' .
+			'apache logon method';
      
     if (count($errors) == 0)  
         $openid_url = $input['openid_url'];
         $openid_url = Auth_OpenID::normalizeUrl($openid_url);
-        $password = $input['password'];
-        if (!checkLogin($openid_url, $password))  
-            $errors[] = 'The entered password does not match the ' .
-                'entered identity URL.';
-         
+	if(isset($_SERVER["REMOTE_USER"]))  
+	    if(!checkUser($openid_url, $_SERVER["REMOTE_USER"]))  
+	       $errors[] = 'The apache user does not match the openid URL';
+	     
+	  else  
+           $password = $input['password'];
+           if (!checkLogin($openid_url, $password))  
+               $errors[] = 'The entered password does not match the ' .
+                   'entered identity URL.';
+            
+	 
      
     return array($errors, $openid_url);
  
@@ -166,4 +173,4 @@
     return sites_render($sites);
  
 
-?>
\ No newline at end of file
+?>
diff -ruN ./lib/render/login.php /svr/www/openid.grep.be/data/lib/render/login.php
--- ./lib/render/login.php	2006-12-08 23:56:22.000000000 +0100
+++ /svr/www/openid.grep.be/data/lib/render/login.php	2007-03-08 14:53:56.000000000 +0100
@@ -3,6 +3,7 @@
 require_once "lib/session.php";
 require_once "lib/render.php";
 
+if(!isset($_SERVER["REMOTE_USER"]))  
 define('login_form_pat',
        '<div class="form">
   <p>
@@ -31,6 +32,33 @@
   </form>
 </div>
 ');
+  else  
+define('login_form_pat',
+       '<div class="form">
+  <p>
+    Enter your identity URL into this form to log in to this server. This
+    server must be configured to accept your identity URL. Since you already
+    logged on through an Apache method, entering a password is not required
+  </p>
+
+  <form method="post" action="%s">
+    <table>
+      <tr>
+        <th><label for="openid_url">OpenID URL:</label></th>
+        <td><input type="text" name="openid_url"
+                   value="%s" id="openid_url" /></td>
+      </tr>
+      <tr>
+        <td colspan="2">
+          <input type="submit" value="Log in" />
+          <input type="submit" name="cancel" value="Cancel" />
+        </td>
+      </tr>
+    </table>
+  </form>
+</div>
+');
+ 
 
 define('login_needed_pat',
        'You must be logged in as %s to approve this request.');
@@ -62,4 +90,4 @@
      
     return sprintf("<ul class=\"error\">\n%s</ul>\n", $text);
  
-?>
\ No newline at end of file
+?>
diff -ruN ./lib/session.php /svr/www/openid.grep.be/data/lib/session.php
--- ./lib/session.php	2006-12-08 23:56:22.000000000 +0100
+++ /svr/www/openid.grep.be/data/lib/session.php	2007-03-08 14:34:49.000000000 +0100
@@ -129,6 +129,16 @@
  
 
 /**
+ * Check whether the logged-on user matches the specified OpenID URL
+ */ 
+function checkUser($openid_url, $user)
+ 
+    global $openid_user_urls;
+    return isset($openid_user_urls[$openid_url])
+        && $user = $openid_user_urls[$openid_url];
+ 
+
+/**
  * Get the openid_url out of the cookie
  *
  * @return mixed $openid_url The URL that was stored in the cookie or
@@ -202,4 +212,4 @@
 
  
 
-?>
\ No newline at end of file
+?>
It expects an array in config.php like so:
openid_user_urls = array(
	"http://wo.uter.be/" => "wouter@GREP.BE"
);
(in the case of kerberos; if you use a different authentication method, the syntax of that array will most likely be different, too) It's still not perfect; all my changes really do is bypass the password check if it notices that apache has already authenticated the remote user; but I still need to "log on" at the PHP level, which also requires me to enter my OpenID URL. A somewhat cooler implementation would pre-enter the OpenID URL in the form. A really cool implementation would not even show me the logon form, but go straight to the "logged on" state, using the OpenID URL as given by the consumer, and the information apache provides us on the remote user. But it's a start. Adding OpenID capabilities to my blog comment entry script is proving slightly more challenging, however. More on that later.

Paul van Tilburg: Technical Stuff

Hobix There were some issues concerning Hobix and the new Ruby (1.8.6) that entered Sid recently. I’ve solved the problem, as you can see, and uploaded a Subversion snapshot package to experimental. Update: It seems that hobix 0.5~svn20070319-1 accidently was uploaded without share data. This was spotted and fixed by Arnaud, thanks! A new version (0.5~svn20070319-2) is on its way to experimental! Ruby D-Bus A few weeks ago I wrote to Arnaud Cornet about the fact that it is quite amazing that there is no up-to-date implementation of D-Bus for Ruby at all after such a long time. This resulted a few days ago in our Ruby D-Bus project. Some stuff is working already, quite low-level still, but really nice. I’m looking forward to designing the high-level API. I found out that other people had the same thoughts as us and also started to work on an implementations on their own without telling anyone. So, it seems there are three implementions now (as far as I know) that all have specific features working. I hope we can merge everything into one project. We’ll see what happens… OpenID I have taken some interest into OpenID, having to register some accounts on arbitrary forums. I ran into the fact that Rails recently got OpenID support and that support for phpBB is coming up, which is nice. Finally it could be over with all the logins and all the password. At the moment I haven’t found a statisfactory identity provider yet, so I started working on my own service. Ruby OpenID has an example server implementation which I am working on to become FLOIDS: the Free Luon OpenID Service. Koditoj Recently, I inventoried all the programs I authored or co-authored in the past 8 years. There is some stuff in there that maybe deserves a second life or at least some description. So, in a series of posts that I’ll call ‘Koditoj’ (free translatable from Esperanto to ‘things that have been coded’) I want to go over all these programs and libraries and give them some attention. More to come soon…

Adrian von Bidder: Wind power

Call me pessimist, but I can't see how wind power works as a civilisation's main power source without massive backup by either energy storage or alternative energy sources for those times when there's just no wind. There are only few (if any) locations with winds which blow 24*7 at enough strength. So our world needs, even more than wind power, any technology that reduces power consumption (which can mean, in many cases, fall back to some old-fashioned technology. Like a proper on-off switch instead of a standby mode. /me would probably vote in favor of a law mandating on-off switches on all electrical devices.)) (Oh, and to Joey, in case he didn't notice: Winter's back! :-)

Ross Burton: GTK+ Secrets

In the last week or so I've discovered a couple of GTK+ tricks I didn't know, so I thought I'd share them.
  1. Control-Backspace in an entry deletes from the cursor to the beginning of the text. I had previously hacked up custom binding for Control-u, but this is bound by default. Thanks Emmanuale for pointing this out. Update: as proof that my fingers are still using C-u, Control-Backspace actually deletes a word and not the entire entry.
  2. Middle-clicking on a scroll bar will move directly to that point, instead of moving towards that point by a page. Very useful, I'm glad Mitch mentioned this in a bug.
NP: Didn't It Rain, Songs:Ohia

Fabio M. Di Nitto: When your upstream rocks!

Working on cluster testing is not easy and debugging can be extremely more complicated that you can think of given the distributed nature of the software you are running. So RedHat Cluster guys (Patrick and Lon) and I have been sitting together on IRC for the past couple of days trying to figure out what the hell was wrong with this bug that did block services from being switched from one node on the cluster to the other that is sort of vital functionality for a cluster itself. Everything turned up to be a kernel race condition in the DLM (Distributed Lock Manager) that we were able to workaround in userland by changing the way the resource manager tells the kernel (via libdlm2) to de-allocate the lock_space with a one liner. So what's the point? Simple.. these guys could have just turned me down and send me away since we were testing on Ubuntu, but they didn't. They have been of great help (nevermind that you can really have a good time working with them) and extremely responsive. They really rock hard. Clearly.. get to know your upstream! it's vital for your activity as Ubuntu Developer. Get to know what you are working on! Packaging is not just a matter of creating a debian/ dir in your source to build the code and ship a .deb. You have to know what's in that code and how things work. Upstream can always help you, but you need to be helpful to upstream too and let them understand that you are not just another packager for yet another distribution.

Erich Schubert: Gnomeish

I'm now a Gnome contributor; not a foundation member, but I have an account and a SVN Repository for Dbus-inspector at Gnome now. Thanks go to Riccardo for following up on the SVN and account creation! I've just committed my current version of dbus-inspector. It doesn't differ from my previous blog post on dbus-inspector; it does include the hotfix for working around python-dbus vs. tracker incompabilities (by just skipping tracker if the python-dbus version is known to crash). There is still a lot of things I need to find out (e.g. how to setup a proper project web page, how to properly offer tarballs for downloading); and I don't know when I'll find time to search for the appropriate documentation on everything. A repository for my "dbus-hook" project was also created, however I don't have any code (except the dbus-inspector stuff) that is ready to be shown yet. It's mostly an idea of mine so far, and I'll need to sit down and properly plan it's implementation.

20 March 2007

Alexander Schmehl: Nice!

During the Chemnitzer Linux-Tage I did a workshop about the creation of Debian packages. Now one of my attendees contacted me and asked to review and sponsor hist first package! After the correction of a small mistake in debian/copyright (done in less than one hour) I uploaded it. Cool :)

Next.

Previous.