Search Results: "ean"

22 March 2007

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

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! :-)

20 March 2007

Benjamin Mako Hill: PHLanthropy

Last week, I had planned to travel from Boston to Tampa with a connection in Philadelphia. I landed in Philadelphia without a problem but an ice storm descended on the airport and, after five hours of our flight's departure time being pushed back, the entire airport was closed and all flights for that day were canceled. When I arrived back at PHL the next day, two hours before the scheduled departure of my flight home -- my trip to Tampa was, by this point, called off entirely -- the airport was in chaos. Flights were still being canceled, airport information displays were inaccurate or switched off entirely and stranded travelers were everywhere. US Airways had deactivated the automatic ticket machines and there were thousands of people in scores of lines hoping for new tickets and assistance. But unlike the day before, we all knew that planes were theoretically going to be leaving and that, stuck outside, we were not going to be on them. People wanted boarding passes and they wanted them desperately. But the lines were not moving and nobody -- or almost nobody -- was going anywhere. Meanwhile, the four teams of TSA workers at the security station were standing idly talking to themselves like attendants at a light night gas station. The only people inside the terminal were those that had slept there or flown in that morning. After finding the end of a line, I asked someone what their line was for. Nobody knew, but each hoped it lead to someone who would assist with their particular problem. Usually they merely wanted to check in. Several people I asked had been waiting in line for five hours that morning only to find out that their line was, in fact, not a line at all but merely a mass of people leading nowhere or simply dissolving into other lines. Nobody knew what else to do so, I, like everyone else, queued up and hoped for the best. An impeccably dressed and obviously wealthy woman asked what I was in line was for. I told her that I didn't know but, like everyone else, hoped it would lead to a boarding pass. She wanted the same thing. She asked if there was a separate queue for first class and I pointed out that it seemed unlikely, in the chaos, that first class was getting special treatment. I pointed out that I also had a first class ticket -- it was the only seat available when the harried agent rebooked me the day before and I had not paid extra for this, but I did not tell her this. She nodded to me in camaraderie. She stood pensively next to me for five minutes and then fumbled for her wallet and ticket. She asked me if I would hold her place in line and I agreed. Five minutes later she reappeared with a boarding pass in her hand. Surprised, I asked her how she had obtained it. She stated, quietly so as not be overhead by the other would-be passengers but matter of factly, that she'd found a baggage handler and flashed a twenty dollar bill and her itinerary. She mentioned that the man she had paid had left but that, "any of them will do it." Sure enough, I was in the terminal less than ten minutes, and twenty dollars, later. Despite growing up partially in the third world, I've only personally bribed a person once before -- also in the United States. Like my previous experience, I didn't feel good about buying my way out of what seems to have, in fact, devolved into a racket. I have spent a lot of time reflecting on the situation and my action in the last several days. Everyone, or nearly everyone, outside the Philadelphia airport terminal had twenty dollars and most of them would have happily paid it to escape their predicament. The reason that most people did not pay off baggage workers is not because they found it prohibitively distasteful, although certainly some of them would have, but because most of us, and I include myself, would have spent the whole day frustrated, desperate, and standing line after line without even considering a bribe as an option. While we know it on some intellectual, reflective level, the vast majority of us do not, in practice, imagine that we can use money as a way to manipulate people into special treatment. As a result, even in situations like that morning in Philadelphia, I simply don't even think of the twenty in my wallet as a way to solve my problem. It's true that wealthy people, like the woman in line behind me, get what they want because they can pay lots of money for products and services. But it is not quite this simple. Some wealthy, powerful people get what they want in part because they think to use money in ways that the rest of us do not. Perhaps this is because this type of spending is frequently not an option for most of us or, we tell ourselves, perhaps even truthfully, because we find it distasteful and immoral. The difference between being inside or outside the terminal last Saturday was not about having or not having money. It was, in fact, about having a particular relationship to money and, through money, to other people. It was not about the value conferred by money but about a set of values that can result from having it in abundance.

Jeff Bailey: Go Vegan, feel less guilty about driving a car.

A Business Week Article points out that Ethanol fuels in the US face opposition because of rising corn prices. Since 25% of the US' corn supply winds up going to Ethanol, that apparently leaves less for livestock.

Last year at Opus, someone had brought along signs that said "Support Your Soybean Farmers", followed by a URL http://thankachicken.com/. While it was funny, it was an interesting reminder that vegans really *aren't* the target of North American soybean producers.

According to a the Wikipedia article on Environment Vegetarianism, "the inefficiencies of meat, milk and egg production range from a 4:1 energy input to protein output ratio up to 54:1". Perhaps the solution to driving our cars as much as we want on clean fuel is to go vegan? What do you suppose would give first, our car addiction, or our meat addiction?

Eddy Petrișor: commit mails, made simple OR integration of services

Collab-maint never ceases to amaze me. And Subversion, too (all dvcs fans, stop now! I know, I use darcs, is cool). I always find more and more interesting this about Subversion.

And, no, this is not about Subversion or some VCS, is about integration of services. We need more of that. generally speaking. I am also thinking about look and feel of different services (BTW, I have found a nice pretext to motivate my halt on the work for the Debian wiki theme :-D - see current state of work, if you care).


Why did I wrote this? I had this conversation (trimmed for the sake of brevity):
goneri wrote:
> On Tue, Mar 20, 2007 at 03:42:56AM +0200, Eddy Petri or wrote:
>> goneri-guest@users.alioth.debian.org wrote:
>>> -use lib "/usr/share/svn-buildpackage";
>>> +#use lib "/usr/share/svn-buildpackage";
> Yes, you're right.
>
> How do you have the commit messages?

I subscribed in PTS - see "Subscription - Package Tracking System" and choose "Adanced Mode"
instead of "Subscribe", check the corresponding check boxes ;-) .

/me will blog about this.

Sune Vuorela: Debian vote sponsorships?

As I am not a DD yet, I don’t have vote rights. That means I cannot vote in the DPL election. The only way I can influence the decision is to influence other people and try to make them vote the right way (or alternatively, just vote what I would have done) Is there a vote sponsorship page anywhere? <big smiley> If anyone got a spare vote, you are most welcome to send in my ballot:
- - -=-=-=-=-=- Don't Delete Anything Between These Lines =-=-=-=-=-=-=-=-
e0acebd2-71f1-4df8-ae4d-50355ad7aa81
[2] Choice 1: Wouter Verhelst
[7] Choice 2: Aigars Mahinovs
[2] Choice 3: Gustavo Franco
[1] Choice 4: Sam Hocevar
[5] Choice 5: Steve McIntyre
[6] Choice 6: Raphael Hertzog
[8] Choice 7: Anthony Towns
[4] Choice 8: Simon Richter
[3] Choice 9: None Of The Above
- - -=-=-=-=-=- Don't Delete Anything Between These Lines =-=-=-=-=-=-=-=-
And yes, jcristau, Myon, Q_ and others - I need to get back to my application.

Biella Coleman: Soft Core, Hard Core, or something else

Awhile back, one of my favorite bloggers, Philip Dawdy of Furious Seasons, deviated from his usual posts that place a big fat critical magnifying glass under the marketing (and other shady) tactics of Big Pharma and wrote a very thoughtful, (also furious) account of Web 2.0 claiming:
this whole Web 2.0, social networking, virtual community business is essentially a pornography of the self a projected, fictionalized self that is then worshipped by the slightly less-perfect self.
It is a little off the top at times but makes some really good points that I agree with (and generated a really interesting discussion). It merits reading alongside Danah Boyd’s recent rumination on the very same topic, fame, narcissism and MySpace, where she seeks to address narcissism but she deflects blame the suite of technologies and places it instead on the broader set of cultural practices that sustain this accentuated inward focus:
My view is that we have trained our children to be narcissistic and that this is having all sorts of terrifying repercussions; to deal with this, we’re blaming the manifestations instead of addressing the root causes and the mythmaking that we do to maintain social hierarchies. Let’s unpack that for a moment.
These two read nicely with an older piece in Harpers Attack of the superzeroes: why Washington, Einstein, and Madonna can t compete with you . The author, Thomas de Zengotita claims “Being famous isn’t what it used to be” because new technologies of mediation and reflexivity (and by new, he means a lot more than web 2.0, it includes reality shows, focus groups, karaoke, the hyper-representation of the real stars, alongside the usual suspects) and concludes that we life as if we were always on stage, concluding somewhat disparagingly “We are all method actors now.” Of course, this is an important part of the story but not the whole story. There are times, for example, these social technologies help to patch up what is arguably as common in North America as is this narcissistic self, which is the fragmented self, that comes into being, for example because many of us, migrate here and the, for example, for work. So a social networking site like Facebook, provides somewhat of a stable point of reference, where there are individuals collected, in the same place, even though the people are no longer really in the same place. It is at least a recognition of certain relationships whose “local” face has now passed but instead of completely completely fading into the realm of memory, the past lives on, albeit in transformed ways, within a virtual space. This facet of social networking is not particularly narcissistic, but is building new technologies of memory that I think works somewhat against the conditions that fragment the self. And while the patching up of the person may make an individual “whole” and “individuated” it seems it is a form that is much more mundane than the “pornography” or “narcissism,” explored above, though of course, they do abound–but karaoke, that is always pornography of the self. But… porn can be fun.

19 March 2007

Thom May: Ian Murdock and Sun

This is what I just wrote on Mark’s blog about Ian’s move to Sun:
“To some extent I m quite excited by what this might mean for OpenSolaris going forward, but Nexenta have been pushing the OS/Debian (or Ubuntu, more accurately) integration kick for some while without actually seeming to get any (public) traction within Sun
I ve also been disappointed by how little Ian seems to be in touch with how linux development works these days, but that s mostly from what he s been writing in public, rather than any particularly interaction with him, so hopefully that s not a fair summary.
I really hope that Sun can actually make this work.”
I thought I’d expand on this a bit, especially in light of my past moaning about Solaris and the installer and package management in the installer specifically.
What I really, really want, is a modern OS, which has an easily extensible and controllable installer, with good visibility and debugging infrastructure, which is very easy to manage on a grand scale - by which I mean hundreds or thousands of machines up to date, secure and consistent. At present, Ubuntu comes closest: However, there are some definite areas where Ubuntu or Debian (or Linux in general) struggle compared to Solaris – the sheer engineering resources that Sun can throw at a problem, and the talent they have available to them do result in fantastic results when they correctly identify a problem space. They also “own” Solaris – there’s no need for them to try and build awareness of a problem, and the correct solution, over a number of disparate communities.
ZFS and DTrace are the hackneyed and obvious projects here, but from a sysadmin perspective I think FMA, while far less sexy, is one of the best things Solaris10 has. And this is what I mean when I say operating system visibility.
The integration of Zones is also far better than Zen on Linux can offer currently, although both Red Hat and skx are working hard to fix this.
I’m really looking forward to the day when I get an OS that solves all these problems…

Erich Schubert: What the B in blog stands for

Rumor: the B in "blog" actually means beta. Original text of this post: You know you've been exposed to too many Web 2.0 applications when you start to think the B in the blogger.com logo is for "beta". I was like WTF, are they making "beta" to be all of their logo now? And yes, I know about it being a shortened version of "weblog", likely coming from the pun "we blog".

Evan Prodromou: 28 Vent se CCXV

We're spending the week in Surfside, TX enjoying a bit of post-SXSW de-connectivity before plunging back into the fray. I'm catching up on some software projects for Wikitravel and some other projects as well. It's pretty fun. Surfside is really beautiful -- fine white sand, gentle waves from the Gulf, flocks of brown pelicans passing by our deck in the morning. There's been some damage to the village due to Hurricane Rita and long-term erosion, but it's still really fun. And not particularly over-run, even during Spring Break this weekend. We've got a few hundred yards of beautiful beach in front of our house practically to ourselves. The downside has been that the vacation home we rented doesn't have the WiFi coverage we'd hoped for. We had the Mayor of Surfside (!) over at our house yesterday trying to set up a directional antenna so we could get a bitstream from the volunteer fire department, but no luck. So I'm doing updates at the restobar on the main street, and then editing offline at home. It's been great playing in the sand and waves with Amita June. This is her first time really playing on the beach, and she's having a great time. tags:

Montreal Gazette article A few weeks ago I met with local reporter Steve Faguy about Wikitravel, living in Montreal, and wikis and technology in general. He wrote a great profile of me and Wikitravel, a sidebar about my blog (!), a description of wiki and a list of good wikis. I like the story; it's well-written, and Steve knows enough about technology to write a good article while still making it accessible for non-professionals. I also like the image of me; that's a pretty good shot of me. The one omission I am kicking myself for was failing to note that Montreal will be the location of not one but two Wiki conferences this year. RoCoCoCamp is 18-20 May, and WikiSym is in October. Ray King calls Portland (Oregon) "Wiki City, USA", but I think Montreal is giving it a run for its money on the international scene. tags:

Twitter 2007 == Friendster 2003 So, I'm really concerned about Twitter's performance and stability problems since SXSW. Remember Friendster, the social networking platform of 2003? The site failed to support a surge of traffic in mid-2003, about a year into the service. The deluge of users meant that pages wouldn't serve, images timed out, and edits were impossible. Consequently, the social networking market was fractured as users went to smaller services like Tribe.net, MySpace, Orkut and LinkedIn. The other services might not have all your friends on them, but at least they worked. It was a phenomenal fumble by Friendster that was entirely attributable to failure to scale. Would other social networks have come up anyways? Probably. But there's a network effect to social networking, and people would probably have stuck with Friendster a lot more than they actually did. I think Obvious Corp. has got to get on the ball if they're going to capitalize on the success of Twitter. There's a similar network effect advantage for Twitter-like services, and if they can execute well, they're going to Pwn. But the software and interface are pretty easy to replicate, and there are other services like Twitter out there already. Better keep an eye on your lunch, fellas. tags:

MJ Ray: Environment: A blog test (2)

An anonymous commenter wrote about the environment test:
"50C water temperature? Quite a bad idea http://en.wikipedia.org/wiki/Legionella"
which is confirmed by Legionella at Reliance Worldwide with the advice:
"Keep stored hot water above 60C"
Thanks for the info! If someone has a livejournal account, can you let the original poster know, please? etbe: fluorescent lights and why it's worth saving resources mentions dimmers, but I've written about dimmable flourescents before (summary: only 110V have traditional dimmers, but there are integrated-controller ones in Europe and specialist bulbs ) Lars Wirzenius: Energy meter is a good idea. I've also seen clamp-meters which mean you avoid unplugging, but they're much more expensive.

John Goerzen: Mercurial & Git

About two weeks ago, I wrote about my thoughts on Mercurial and how I was switching to it from Darcs.

At the time, I had skipped Git because of its lack of Windows support. I have some contributors to pieces of Free Software that I write that use Windows, and that seemed a pretty big flaw.

But I recently discovered git-svn and git-svnimport, both of which look like great tools for working with our friends using svn that haven't yet gotten ahold of the DVCS light. Then I noticed that Git has a CVS server emulation tool, which means that Windows users can use TortoiseCVS to interact with it. Nice.

I spent some time today learning Git. This was a lot easier having already learned Mercurial. Git and Mercurial have very similar philosophies to a number of things, but the Mercurial documentation explains all this far better than the Git documentation does.

I'm going to have to try both of them out more and see what I think. But git-svn (which is bi-directional) certainly looks like a very nice thing.

Neither of them have something as nice as darcs send, though.

Erich Schubert: Swing rules the world

Roger Cicero will be going for germany to the Eurovision song contest. With his song "Frauen regier'n die Welt" ("Women rule the world"), which he sings with the impression of being able to himself rule any woman. :-) His mix is very uncommon: it's swing, but with german lyrics, about love and life, flirting and with a well-dosed amount of macho in it, but not serious but always joking and cool. YouTube has some video clips with his music. Note that I don't think "Frauen regier'n die Welt" is his best song. Scroll down at least to "Murphys Gesetz" ("Murphys Law", and congrats for not incorrectly adding an apostrophe, it's correct this way...) Last.FM has some excerpts from songs I like better. I don't know if 'we' have any chance with him (last years' winner was Lordi, some 'schocker' hard-rock-heavy-metal band dressing up like halloween monsters), but he won't come out last for sure. Demographics of the Eurovision contest aren't too favourable for germany, nor are are European relations. But being a swing dancer, this is just really cool, because it gives my hobby a wider audience. :-) P.S. If you want to learn Swing dancing in Munich: the Lindy Hop course at Boogie-Bären starts again this tuesday, and I can also recommend the classes of Swing and the city (thats Cat and Chris); there is a beginners and intermediate workshop next weekend with world champions Markus & Bärbel together with Cat and Chris. And of course every monday there is a teaser class at Cord. P.P.S. I'd really love to see Roger Cicero perform together with some good Lindy dancers as show act. Probably a different song then, though.

18 March 2007

Erich Schubert: Enhanced network monitoring

So far, all network monitoring solutions I've tested suck. What I'm looking for is a network monitoring solutions, which Pretty much every monitoring solution I've seen so far is great at collecting tons of data, but doesn't help me with actually handling this amount of data. Anyone has a recommendation for a good network monitoring tool? I'd be really interested in doing the last point - a real statistical analysis for network monitoring. This would be so useful... predicting peaks in network usage, predicting when a system will be overloaded or a disk full... but I'm phasing out of network administration; so my interest here is mostly in being able to give advice to others. [Update: no, you don't need to point me to Cacti. It's just another grapher and data collector that doesn't actually do what I would call 'monitoring'. It also seems to not have a smart scheduler, and is written in PHP (which is bad!) I was also told a non-success story with OpenNMS which just crashed when adding a host to be monitored with a totally unhelpful stack trace. I had a look at their online demo, but it felt very complex and not very useful to me...]

Erich Schubert: Debian and SELinux in the Summer of Code

Debian is participating in the Google Summer of Code again. Russell Coker offers to mentor SELinux projects, and so do I. I'm available for mentoring SELinux and Debtags related projects in particular. This years idea pool in the Debian Wiki. Make sure to also check last years idea pool (some of which will no longer be open, though). And of course your idea doesn't need to be on these pages already; we're of course interested in anything that goes beyond that. One thing with SELinux I'm particularly interested in is install scripts. That is quite some work to do, and you might want to automate it somewhat. Debian install scripts can be quite complex. Some things are obvious such as restarting services on upgrade. But some scripts do much more. SELinux uses a deny by default approach (which is the only sane security approach, btw.); in particular this means that many Debian install scripts will be failing. Right now, package postinst scripts are being run with the full permissions of the apt-get domain. It would be good to reduce that to a "postinst" domain. It would be a possible GSoC project to analyze which permissions package postinst scripts need, and if we can e.g. add a "postinst extended" domain for just a few postinst scripts that really need extended permissions. An example for extended postinst tasks in Debian (I don't think Redhat, Fedora or Gentoo does that yet): precompiling all python modules for all installed python versions (and to avoid having programs try to precompile them on demand, which will result in audit errors and such). I wrote a module for that called python-support. It adds a restricted domain which can exactly do this task of precompiling Python. But there is other such stuff, such as updating the menus, managing alternatives etc. But feel free to suggest your own ideas.

Neil Williams: roaming SMTP in sylpheed

After finally getting wireless connectivity whilst on hols, the only thing left was email. I'd already configured fetchmail by copying the fetchmailrc from my email server before I left but I'd forgotten to do procmail maildrop. Some reason, can't seem to get maildrop to work with maildir (which is what sylpheed uses for 'local' email accounts) so I'm filtering messages manually for now. Adding a custom action to sylpheed to run 'fetchmail -s' is nice but it would be even better is sylpheed could call that action when checking for email. (I feel a wishlist bug coming on.)

SMTP was initially more of a problem - SMTP AUTH was available via the excellent ukfsn so creating a new Roaming account in sylpheed allows the configuration of SMTP AUTH just for that account. Problems with forwarded email addresses (like codehelp at d.o) and mailing list subscriptions meant that I'm now using a private server but ukfsn were perfectly usable for non-mailing list usage of 'normal' email accounts. It's only my own, overly complicated, forwarding and greylisting systems that made mailing list submissions into a problem.

The remaining problem is power consumption - the wireless connection on this iBook (Airport Extreme internal) seems very power hungry. All the testing and configuring that was needed for the above cut my battery life in half. I can normally get 4hrs plus of 'average workload'. This will have implications for using wireless at DebConf etc. Even if sylpheed could call a custom Action (like fetchmail) automatically, it wouldn't be wise to keep the original 10minute checks without AC power.

17 March 2007

Russell Coker: fluorescent lights and why it's worth saving resources

A common criticism of fluorescent lights is the inability to use dimmers, as mentioned in Julien Goodwin's blog.

However with some thought at the time the lights are installed this problem can be solved. The first thing to keep in mind is that an infinite number of levels of illumination (analogue scale) is not really required. In most cases two or three levels should do.

If you have two compact fluorescent lights that use 5W and 10W then you have the options of 5W, 10W, and 15W. If you have a large room to light (such as a lounge room) which needs 30W of fluorescent lighting for full illumination then you could have six 5W globes dispersed and have anything from one to six of them turned on to give different levels of illumination.

Of course if you don't plan electrical work then it's easiest to just use incandescent lights in those areas. As long as the areas that use the most light for the longest time have fluorescent lighting it shouldn't make too much difference.

In response to a post on Planete Beranger, saving energy DOES matter. Sure you saving a few KWh isn't going to make much difference on it's own, but when a million other people do the same it all adds up.

The lack of public transport in the US causes more problems for the country than just environmental damage. It hurts the economy by making it more difficult for people to get to work. It will hurt the defence forces in the (unlikely) event of an invasion (trains are the best way of moving large numbers of troops, heavy weapons, and military supplies. It also hurts the national interest in decreasing the ability to react to civil emergencies. For example the entire population of New Orleans could have been evacuated in time using a single platform of a European station. If every city had multiple stations that had a reasonable number of platforms and multiple redundant train lines then evacuating civilians and bringing in emergency equipment and workers would be very easy. In the Netherlands train lines often run on top of dikes, this means that the dikes are very strong (if they can sustain the weight of a freight train then they aren't going to be washed away by a wave) and that trains can still operate while flood waters are rising. If New Orleans is to be rebuilt to it's former glory then the Americans should consider a similar design.

Large cars are a temporary issue. As fuel prices rise people will choose smaller cars. Also hopefully people will start to realise that 4WD and SUV vehicles are actually less safe than cars and stop buying them for perceived safety.

The Chinese government doesn't worry about the same environmental issues, however they have more agressive targets for renewable energy use than most countries. It's not a matter of being nice (they aren't), but of looking out for their own self interest. It's a pity that the governments of the US, Australia, and EU countries have not yet done the same - but it will happen eventually.

As for supermarkets using open fridges, if the vent the heat outside the building then it will be just part of the building air-conditioning system. Every adult dissipates about 100W of heat when at rest, when shopping it would be more than 100W. Get 100 people in a supermarket (not the peak business time) and 10KW would have to be removed by the A/C system without counting heat from lights (fluorescent lights dissipate about half their energy as heat, they are much more efficient than incandescent lights but much less than LEDs),
and heat from other machinery.

Finally, if you want to see changes in government policy then join your local Green party!

Steve Kemp: Change my pitch up

6 weeks since my last post here, which I guess sums up how busy I am with things, primarily off-line but with a reasonable amount of development work coming out too. Thanks to Radu Spineanu xen-shell made it into the archive, and work has restarted on a multi-dom0 Xen control panel. So far there is a node daemon, a central server, and a shell-based admin tool, all written in Ruby. Coming soon a web-based control panel, implemented in Ruby on Rails. Exciting times.

Daniel Burrows: Package management usability

[UPDATE: I'm closing comments on this post, because the spammers have discovered it -- dnb]

Lars says:


The uncomfortability of Synaptic may be partly due to the fact that it is
a different model from Windows: you get all your programs from one place,
instead of anywhere on the Internet, partly due to just not using Synaptic
much at all, and partly due to Synaptic not being perhaps as easy to
understand as possible. I personally find Synaptic to be very nice, and
use it regularly, but I am biased by having used Debian package managers
for over a decade.


Now, synaptic is a lot nicer for users than scary console frontends like aptitude. But it's really a tool for "power users". Here's a quick list just of what I see when I start it (bearing in mind that my UI design skills suck):



So much for superficial observations. There are a few more things that I see that are worth more discussion.

Mechanics of selecting packages

To change the state of a package, you click on the unlabeled little box to its left, then select the correct option from a list containing "Unmark", "Mark for Installation", "Mark for Upgrade", "Mark for Reinstall"...you get the idea. Even if only one option is valid, the menu still appears with all but one option grayed out, and you have to select the one you want.

This is complicated, cumbersome, and surprising. It also introduces terminological confusion, since "Unmark" isn't really what you think of when you go to cancel an installation or whatever.

The best option I can think of here is a pulldown menu (which I believe the GTK+ list widget (god, I almost wrote "control") supports). The menu should default to the current state, e.g., "not installed", and should have options that describe what will be done with the package, e.g., "install", and so on. Only valid actions should appear on the menu. The Package menu should probably adapt in the same way as you select packages. I don't recall offhand how GTK+ menus work, but if possible commonly used commands like "remove" should be closer to the mouse when the menu appears than uncommon commands like "reinstall".

Another choice I can see, if you want to avoid menus, would be something like this: have two checkboxes, one for "install" and one for "upgrade". "install" would be checked for installed packages and not checked for not-installed packages. Checking or clearing it would mark packages for installation or deletion. "upgrade" would mark or unmark packages that were installed for upgrade. Of course, this introduces a redundant column for not-installed packages, which I don't like. It also seems to me that it would be less obvious what's going on for new users. But it would be more efficient for power users (who should all be using aptitude anyway ;-) ).

Progress bar madness

I haven't extensively used synaptic, but several core misfeatures of apt and our archive pretty much guarantee that if it displays progress bars for key operations like loading the cache or updating the package lists, the progress bars either run multiple times (i.e., don't actually tell you how close to finishing you are) or actually go BACKWARDS -- yes, BACKWARDS.

The great package hunt

Maybe the biggest problem is that unless you know what package you're looking for, basically all our package interfaces are useless. There are lots of fancy searching features you could add, but actually a quick test in synaptic suggests to me that this would be going in the wrong direction. Unlike aptitude, synaptic includes descriptions, and searches for stuff users might actually want (like, say, "burn CD") seem to turn up relevant results (i.e., software that burns CDs).

I'm sure the search algorithm could be improved (with inexact matching, better indexing (a package description suffix tree?), etc), but the big problem I see is that you tend to get back several dozen results, many of which are libraries, development packages, command-line software or software that doesn't work; some of the other software is software that can burn CDs but whose purpose is not to burn CDs (e.g., backup software).

How can we solve this? The first thing that springs to mind for me is to use popularity-contest data to weight the list. I know it's not terribly accurate, and it has some skewing problems (stuff in the default install will be favored), but I suspect it would greatly bias the results in terms of software that's useful to many people (using the "recently used" tallies might especially help here).

I don't have many other good ideas on the searching problem; I've seen vague suggestions of counting reverse dependencies, but this doesn't seem like a good metric of useful software to me; trying to extract more information from the short and sometimes inaccurate package descriptions seems like a really hard problem to me. (Google can do cool statistical analysis partly because it has so much data to work with AIUI; even a single Web page typically has orders of magnitude more information than a package description)

Another issue is the problem of finding related software once you've installed one piece. We have "suggests" and "enhances", but they aren't exactly displayed in a prominent or easy-to-understand way by any frontend. I think it might be good to display a clickable list of suggested packages somewhere visible (e.g., at the top of the description box) when the user has selected a package for installation. We could even display a little bar, like on (eg) Amazon: "Debian suggests installing these packages..." ;-)

It might also be interesting (if this is considered acceptable; since the data is anonymous I don't see a problem) to analyze the popcon data to find out what packages are being installed in tandem. I don't know if we have enough information to do it, but it could turn out to be really useful to be able to click on a package and see other packages that are popular with users who installed that package. Going back to online stores again, those "other people who bought 'Types and Programming Languages' also bought 'Introduction to Category Theory'" links are amazingly useful, and something similar would probably be a big help in Debian.

Next.

Previous.