Search Results: "ag"

7 February 2007

Christian Perrier: fr: 99.817%, cs: 92.667%

No change..:-) Some more activity today, launching the NMU proposals for some packages

Stefano Zacchiroli: vim-script news

vim-scripts maintenance Mixed research meeting in which universities get in touch with big companies are fun, especially at the end, when the planning phase is reached and different, often conflicting, interests show up: academic fellows pulling the blanket from one side (trying to postpone deadlines, planning paper submissions, ...) and industry hard-workers pulling it to the opposite site (which results when, press releases, ...) But the mutual presentations at the beginning of those meetings are sooooo boring, especially when you (as an academic) have to listen at the company presentation: buzzwords, organizational charts, quadrillions of $ invested in R&D in the last years, bla bla bla. What's better to occupy that time slots than Debian hacking? So this morning I proudly uploaded a new version of vim-scripts (7.0.5) which is itself proud to be the version with the longest changelog entry in the package history (49 lines). Among the most notable changes you can find: Enjoy vim-scripts now!

Clint Adams: Statement from the fambly of the nut

[astronut arrested] The family of Benjamin Seidenberg released this statement today: The family will not be granting interviews at this time, but does want to issue the following statement in response to numerous media requests. We are naturally saddened and extremely concerned about the serious allegations being made against Benjamin. We love it very much, and right now, our primary focus is on its health and well-being. Benjamin is a very intelligent, accomplished individual. As an honorary pamp-commando of the International Bacalao Organization (IBO) and dubbed the Lauren Jarrett of the Cornell Orthodox Union Dining Society, it has resisted the evil temptation of search engines for over 18 years with a mildly-blemished record. Benjamin attained the rank of Golancipel, and sailed as a Hackergotchi Specialist aboard the Good Ship Lollipop in August 2003. Personally, Benjamin is an extremely caring and dedicated sibling and loinfruit to its brother and parents, respectively, although we amended our life insurance policies to remove him as a beneficiary last week. Considering both its personal and academic life, these alleged events are completely out of character and have come as a tremendous shock to our family. We are anxious to allow the facts to develop so that we can better understand what happened, and why. We hope that the public will keep an open mind about what the facts will eventually show and that the legal system will be allowed to run its course. Finally, we are very grateful for the expressions of love and support that we have received from family and friends, and we ask for your continued thoughts and prayers for our family.

Roland Mas: Camsync, now with mass storage support

As already mentioned (Camsync is shaping up), I've been working on a script to automate part of the workflow of digital photography (the part where pictures go from the camera to the computer and get registered into the photo management program). This script was PTP-only so far, since my other, older, USB mass storage digital camera was broken. I eventually found the time and willpower to tackle it with the usual method: So I converted my Contax U4R back from an expensive SD-card reader into a working camera (even if the autofocus seems to be less accurate than it used to be). Anyway. My point is: I've updated my camsync script (and the related Synchronisation scripts for digital cameras page) so it can now handle USB mass storage cameras, as long as they can be accessed through an automounter. I haven't tried it on a memory card reader, but it may just work. As usual, feel free to use, hack, send patches, and report your experiences.

Meike Reichle: Planet weirdness or Dear Lazyweb

Should you be reading this blog via planet.debian.org, you may have noticed, that since a few days my posts stay on top of the page much longer than they should, usually for a few hours, and then start wandering down with the rest. The problem is: I am not editing my posts. Checking my rss feed shows a pubDate, e.g. Tue, 06 Feb 2007 20:26:00 CEST for my last post, and that pubDate doesn't change. Could it be a problem, that the pubDate is in CEST rather than, say, UTC? Or that it doesn't give the offset? I am using blosxom and this began happening when I removed the until then unconfigured timezone plugin from /etc/blosxom/plugins/ because I wanted the date of my posts to be at my local time and that (actually) works without having the timezone plugin, so I thought I wouldn't need it. I've now replaced it and set the timezone to CEST. This didn't affect the pubDate of my rss, but maybe it will fix my planet problem. If not, any other ideas how to fix this would be most welcome. UpdateAs I've been made aware by several people, we currently have CET, not CEST. Thanks for mentioning :) I am still trying to find the reason for all this. In the meantime, please excuse my planet b0rking.

MJ Ray: Gov: Kewstoke: February

Last Monday (5 Feb), I observed a meeting of Kewstoke Parish Council I mentioned the forthcoming North Somerset Cycle Forum but most of the public contributions were about the Cygnet Hospital. The hospital was accused of breaking promises given last year to the village and the police, namely: They also have some faulty light timers, floodlighting neighbouring houses from 1am to 6am every day. That's both antisocial and wasteful. A terrible way for Cygnet to keep their neighbours awake. Is it any wonder that there's an outcry? Regardless of what I think about the above promises, Cygnet should do what they said and not behave antisocially, or be punished. Fine them a century per night per house for the lights and they'd soon fix them, I'm sure! There was also some comeback on the Kewstoke toll road farce. The district council's panel has asked the officers to reexamine the options, after they noticed the creative accounting of including road maintenance (which must be done whether or not the road has a toll) in the toll cost. There was a reporter from the Mercury present, so maybe this will appear in their edition later this week.

Eddy Petrișor: Debian Live HOWTO

In order to make a Debian Live image these are the steps you have to make (as root):

Really, no lies! just make sure you replace $ DIST , $ PACKLIST and $ MIRROR .



DIST can be etch or sid. I didn't try sarge.
PACKLIST is one of the ones in /usr/share/make-live/lists/ or you can make your own and place it there.

By default, these are available:

ls /usr/share/make-live/lists/
gnome kde kde-extra-i18n minimal x11
gnome-core kde-core kde-full minimal-net x11-core
gnome-full kde-core-i18n kde-full-i18n standard xfce
gnustep kde-extra kde-i18n standard-i18n

MIRROR is easy and it can be a local mirror

Martin F. Krafft: Web 2.0 ... The Machine is Us/ing Us

This video, titled Web 2.0 ... The Machine is Us/ing Us doesn't really provide any new insights for those who've left their beds and sat at computers (or used computers in their beds) over the last few years, but I am sharing it with you because I thought it was really well-made. (Via Boing Boing) NP: Agalloch / Ashes Against the Grain

Lars Wirzenius: Rant: Fonecta, part 2, a letter template

Daniel, here you go:
Asun osoitteessa $ADDRESS. En halua puhelinluetteloita, mutta ne oli ty nnetty postiluukustani. En halua heitt niit paperinker ysastiaan, koska se lis taloyhti n j tekuluja. Olkaa hyv ja tulkaa hakemaan luettelonne pois. Puhelinnumeroni on $PHONE.
Or, in English:
I live at address $ADDRESS. I do not want phone books. but they were pushed through my mail box. I do not want to throw them into paper recycling since that would increase the waste costs of my apartment building. Please come and get them. My phone number is $PHONE.
The e-mail address is info@fonecta.com (it's mailto: on their pages as well). No response to my e-mail yet. I'm not optimistic: companies who don't mind wasting natural resources usually don't care about non-customers, either. Remeber, phone users are not the customers of phone book companies, advertisers are.

Joey Hess: graphs

voltage graph This graph by itself is enough to justify the cost of buying a UPS for me. I guess those voltage dips at night are neighbors' heating systems.

Adrian von Bidder: Numbers in blurred images

Antti, you need to read this article on recovering blurred images. Especially since the font on the machine readable part of your ID card is designed to be really legible even when the camera is bad.

Christian Perrier: fr: 99.817%, cs: 92.667%

These are the current translation ratios for French and Czech in unstable, after 20 days of "blitz l10n NMU". No blog entry yesterday, sorry for those of you who like the "bubulle fights the dragon" adventures. I was travelling from Paris to Badajoz/Spain for the Free Software World Conference. Frans Pop, Wookey, Martin Michlmayr, Knut Yrvin and I will give a common talk about the results of the "Extremadura work sessions" funded by the regional government of Extremadura last year. My net connection will be jerky as we have a very good connection at the conference site, but nothing at the hotel (except a ridiculously expensive Telefonia wireless, which can't even be circumvented with IP-over-DNS). viewvc is to be uploaded by ender very soon. No news for dpkg-cross. A NMU is pretty likely now. I just uploaded a few more NMU's today as I got network again:

Evan Prodromou: 17 Pluvi se CCXV

I got in late last night, and I've been trying to get caught up on all the various aspects of my life. I spent some time on the plane writing up my RecentChangesCamp 2007 notes, which aren't yet done. But I hit the ground running today. All charged up from a weekend of wiki talk, I decided to exercise some DoOcracy and organize this month's Wiki Wednesday here in Montreal. It wasn't really that hard -- I just made sure that the great meeting space at La Bande-passante was available, then updated the Montreal Wiki Wednesday page and sent out a link to the RoCoCo discussion list for good measure. I'm pretty excited to start discussions about RoCoCo, the Montreal RecentChangesCamp coming up May 18-20. We're about 3 months out, and although Anne and Antoine have done a ton of prep work, we still have a lot to do to get ready. tags:

Wiki Wednesday Portland Speaking of WW, I find it hard to believe that Portland, the so-called "Wiki City", doesn't have its own Wiki Wednesday event. I'm sure everyone there is burnt out right now, but it'd still be really useful. tags:

OpenID and CardSpace So, it seems like everybody and their dog is nattering about Bill Gates's announcement that Microsoft will be supporting the OpenID single sign-on solution in some future version of CardSpace. This is probably quite good for people who are using Microsoft desktop platforms, and obviously very good for those of us who already have OpenID deployed (like Wikitravel does). But I wonder if Windows Live ID users will be able to fully participate in the already growing world of OpenID-enabled sites. It would be cool if a Live Spaces URL, like http://evanprodromou.spaces.live.com/, it's possible someone smart is going to create a Live-ID-to-OpenID bridge, like idproxy is for Yahoo IDs. tags:

Biella Coleman: Visualize the web

Wathching this video I was reminded that the image can quite often trump the power of the written word. Made by anthropologist Michael Wesh, I could not help but smile at his visual essay on the web, even though I am not all that rah-rah over Web 2.0 and the unbelievable proliferation of …. everything …. . But I immediately identified with most of the images and so there was something quite comforting in seeing a set of images that if nothing else, captures the everyday experiences of many folks hunched over their computers for hours everyday. I think it would have been good, however, to include at least a small splash of the dysptopic in this representation, because even for its biggest enthusiasts, I imagine there is always a set of frustrations and downsides, like for example, taking over 3 weeks to catch up with your blogroll (and mine is pretty modest) because of this extreme explosion of well … everything… and all the organzing tools like tagging and citation software while are really “cool” in that gadget-gizmo sense are just not enough to soften the downsides of a really heavy (information-over) load.

Meike Reichle: Second and third day in Luxembourg

Right, back from Luxembourg and here's how the other two days went: I woke up pretty early on Friday. Damn sportsmen, seems they all jump out of bed at 6 am, to happily (and noisily) engage in their respective sports. Horrible. I've never heard so many people be in such a good mood at such an early hour.
Breakfast was great though! I spent the rest of the day at the LinuxDays site. It was situated in the ground floor of the Centre de Recherche Public Henri Tudor and consisted of two rooms for talks and workshops and a tiny exhibition area with tables from Lilux, CAcert and a book shop. (Oooh, the temptation!!) It was also possible, to sit in the nearby cafe, which was right next to the exhibition area. Unfortunately LinuxDays.lu don't provide any kind of hacking centre (read: chair + table + power plugs), but the friendly people from CAcert offered me a seat at their booth/table so I could do some work. My talk went quite good. I didn't feel as comfortable giving it as I usually do, since it weren't my slides. But I still think it went quite well and there were some interesting questions afterwards. There aren't any recordings of the talk, but the slides can as usually be found in the talks section of my homepage. The third day started as the second one, but this time I stayed in bed and watched the Sendung mit der Maus instead of getting up at such an inappropriately early hour. I had actually planned to travel back to Hildesheim by train, but the very nice guys from quintessenz.at offered me a ride to Mannheim, which made my journey back home a lot more pleasant and also much more comfortable, since I could then take a direct train from Mannheim to Hildesheim. Concluding, I'd like to thank the organisers of LinuxDays.lu for the really good service! (I've never before been at a Linux Day where speakers were provided with such a lot of stuff. (Free hotel, travel reimbursement, free food AND a book from the book shop! Yay!) It's been really fun, speaking at this event and I can recommend it to anyone. LinuxDays.lu may not be the biggest or most popular Linux Day, but it's a really nice local event and very professionally organised! PS: So, where are the pictures I promised?
They are in a directory on my home machine, and this will remain the only place they're at until I've found a simple script to generate web galleries (such as album, galrey, jigl, shalbum ...) that manages to generate a gallery that doesn't use tables but CSS or I found the time to rewrite or produce an according template for any of these scripts. Grrr.

David Nusinow: We've Moved!

For several months now, the XSF has been discussing, planning, and preparing to move from our old reliable svn repository to our new distributed git repositories on git.debian.org. As of a few minutes ago, that move is complete.

I'd like to thank the Alioth admins for setting up git.debian.org and letting us hammer it with the whole xorg codebase. Also deserving the lion's share of the credit for this move is Thierry Reding, who wrote the infrastructure and did a lot of debugging of the conversion script that came with git to let us make this move. It was a huge task, and I'm still amazed at how quickly he managed to pull it off.

I'm really excited that this is finally done. I've been wanting to have our codebase in some sort of distributed system ever since I started working on xorg a while back. Because I was deriving packages from Ubuntu, who was in turn deriving packages from us, it seemed like having the whole thing in a distributed system would have made my life a lot easier. It would also potentially make it easier on other derivatives who customize the X packages, like Knoppix. For a while I thought we were going to move to mercurial, but once X.org itself moved to git, it only made sense to follow suit. I'm excited at the benefits that this move will provide us, which will hopefully translate to faster updates and higher quality packages for Debian users. And this is only the beginning of what's going to come during the Lenny release cycle.

6 February 2007

Lars Wirzenius: Rant: Fonecta spams me

It's that time of the year again when the homes in Helsinki get delivered no less than two sets of phone books. There's two competing companies producing them, so of course everyone should both sets, they think. Personally, I think it is ecologically irresponsible. I don't have any use for even one set: I find numbers faster and easier and more accurately on the web, and likewise maps on the web are better. Up until a few years ago, the phone books were delivered to grocery stores and people would pick them up from there. I could then happily ignore them. Then they decided to start delivering them directly to the doors of people's homes. This meant that I had to answer the door bell up to four times and tell them I don't want it. That's twice per company, since they would re-try delivery if they didn't succeed the first time. "No thank you" counts as not succeeding, of course. This year, Fonecta, one of the companies, has decided to produce the books in a size that fits through the mail slots in apartment buildings. When I came home today, I had a pile of useless, harmful crap on my doorstep. That's a good way to make potential customers happy, Fonecta, thank you very much indeed. I've e-mailed info@fonecta.com to ask them to come fetch them back. I don't want to throw them away, that just increases the garbage bill for my apartment building. If you, too, live in the Helsinki area and think that paper phone books are an outdated relic of the past, please join me in mailing Fonecta. I can't believe I'm the only one, yet both companies seem to claim every year that no-one complains.

David Welton: Popouts with Rails

In a previous article about Stuff To Do, my ajaxified priority queue program, I talked about how best to keep track of the user's state of activity, should they so desire. I opted for the popup, as that was the best compromise between simplicity, and ease of use for the end user. From an end-user point of view, it's similar to how gtalk can detach from gmail if you want to run it in its own window. The trick was to implement the popup/popout in Rails, which actually ended up being pretty easy, and, all things considered, is a pretty cool technique. It's neat to pop stuff in and out of a web page. The easy part is popping out the window:
<%= link_to_remote("Pop out " + image_tag('popout', :border => 0),
                    :url =>   :controller => 'tasks', :action => 'popout'    ,
                   :title => 'Pop the status window into a popup window') -%>
Which subsequently calls popup.rjs:
page.replace_html('status', "<i><small>status in popup window</small></i></br>" +
                  link_to_remote("<small>Restore</small>",
                                  :url =>   :controller => 'tasks', :action => 'popin'  ,
                                 :title => 'Restore the status window'))
page << 'statuspopup();'
Which is pretty simple - the first call replaces the html in the status div, and the second calls the javascript function statuspopup. This lets us replace what was in the status window with some placeholder text and a 'restore' link in case things get screwy and the user wants to simply restore the old content of the div in question. It's worth noting that we also store the popped out status in session[:popped_out] in order to let the application know that the window is "popped out". This doesn't actually pop the window itself up. The statuspopup function in javascript (located in application.js) takes care of that:
function statuspopup()  
  window.newwindow = window.open('/tasks/openstatus','status',
                                 'height=10,width=210,status=no');
  return false;
 
And then the openstatus action opens the same rails partial that the regular page does:
<%= render(:partial => '/tasks/status', ...
Meaning that you don't have to rewrite the same code in two places. So, that's all it takes to pop up a new window, and replace the contents of the old div in the html page giving the user the sense of having popped a piece of the page out into a popup. So far so good. Now what happens when the user closes the popup? Luckily, we get a reference to the window that opened the popup called window.opener that we can use to comunicate with the main window. For instance, in our case we set up an event listener to fire when the window closes:
window.addEventListener("unload", statusClosed, false);
And this, in turn, takes care of popping the window back into the main page:
function statusClosed()  
new Ajax.Request('/tasks/popin',   method: 'get', asynchronous: false  )
$('popoutlink').style.display = 'inline';
w = window.opener;
target = w.window.document.getElementById('status');
code = $('onidle').childNodes[1].innerHTML;
target.innerHTML = $('status').innerHTML;
target.style['backgroundColor'] = '#bbddbb';
target.style['backgroundColor'] = '#bbddbb';
w.eval(code);
 
Once again, pretty simple. What's happening: We also fix up the color just a bit, to mark the user as active. All in all, it's pretty useful for time tracking. In Linux, it's ver easy to set the new popup to follow you around the screen, making it so that it's not a bother at all to wave the mouse at it to let the application know you're online. All you do is set the 'on top' and 'always on visible workspace' options - at least in Gnome.

Mark Brown: In plain sight

Even worse than the usual multipart/alternative messages with a contentless text/plain part are messages like that when there quite clearly is a text/plain version of the message (for example, as another option when you sign up for a list) but it’s not been included and this unhelpful “error” has been included. This annoys me: my text mode mail reader is perfectly capable of coping with both multipart/alternative and (via whatever run-mailcap gives it) text/html messages; the error here is entirely in the sending software. It should either include the text/plain version which the sender is already going to the trouble of producing as an alternative in a multipart message or just not bother with the alternative at all. Given the general quality of implementation one finds the reasoning behind providing the alternative is probably that there’s some widely deployed piece of software out there which explodes horribly if it sees HMTL outside of a multipart/alternative wrapper. There are probably some users who are sufficiently keen on seeing the HTML version of the message to mean that they would actively wish to avoid using a plain version of it but there can’t be many - I expect the actual reasoning behind not putting it in is ease of implementation.

Ross Burton: Xrandr 1.2

Since I got my 20" widescreen monitor in the summer, I discovered how bad X's support for resizing displays is. I wanted to have the ability to plug my laptop into the 20" display in the office and expand the desktop to 1680x1050, or remove the 20" display and shrink the desktop back down to the native resolution of 1024x768. It turns out that a number of factors were stopping this, and the only way to do it would have been to restart X. Because of this I ended up using the display at 1024x768 when I did use it, but mostly I stayed on the sofa. Then I heard about xrandr 1.2, the all-singing all-dancing revision of the X Resize and Rotate extension. Basically, it would solve my problem, and as luck would have it my laptop has an Intel chipset and the people hacking on it work at Intel. Yesterday after lots of poking I finally made it all work for this. This involved a lot of poking and a little black magic. The first step is getting an X server new enough. First, you'll need to update some X protocol headers. We'll start with the easy ones that have had releases (grab the latest release you can find): Then you'll need to update various other bits of X: Once this is done and X still works, it's time to brave the perilous world of git. If you've never used git before, it's quite simple for this. Go to the git browser and find the module you want to check out. Click on it, and you'll see two URLs: you want the anongit one. Do git clone [url], and then if I've specified a branch other than master, cd into the directory and do git checkout [branch]. For example:
git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel
cd xf86-video-intel
git checkout modesetting
You'll need to grab: Build it all in that order. The order is important as if you build the Intel driver against randr 1.0 instead of 1.2, it won't do what you want. By now you should have an X that looks no different. But...
$ xrandr
Screen 0: minimum 320 x 240, current 1024 x 768, maximum 1680 x 1050
VGA disconnected 0mm x 0mm
LVDS connected 1024x768+0+0 246mm x 185mm
   1024x768       50.0 +   60.0*    40.0  
   800x600        60.3  
   640x480        60.0     59.9  
TV disconnected 0mm x 0mm
Now that is clever. Here you can see that I don't have anything connected via VGA, my LVDS (no idea what this stands for, but it means the laptop's panel) has a preferred mode of 1024x768 (thats what the * means), and I have nothing connected to the TV output (because Lenovo didn't wire it up). Now if I plug something into the VGA and run xrandr -s 0 (select default screen size), the external display should power on. Xrandr doesn't try to be too clever, it will leave that to desktop daemons, but by default it will try and make something appear on all of the connected displays. In this case, my 20" TFT gets a clone of my laptop panel, at 1024x768. That is no good though, I want to turn off the laptop panel (as I'll be shutting the laptop) and switch the external display to 1680x1050. This is where the black magic starts... Currently the Intel driver cannot resize the physical framebuffer in memory after X has started, so it defaults to a framebuffer of 1200x1024 (IIRC). That isn't big enough to hold 1680x1050. Also the Intel driver doesn't detect any modes from the TFT. This may be Dell being stupid, or the EDID parser in the driver being too restrictive, I don't know. Luckily we can still use modelines in xorg.conf so I added this:
Section "Monitor"
        Identifier "Dell TFT"
        # This is a standard modeline for 1680x1050 at 60Hz
        Modeline "1680x1050" 149.00  1680 1760 1944 2280  1050 1050 1052 1089
EndSection
        
Section "Screen"
        Identifier      "Screen"
        Device          "Intel"
        Monitor         "Monitor"
        # This says that when using a monitor on the output called VGA, use the
        # settings in the monitor "Dell TFT"
        Option "monitor-VGA" "Dell TFT"
        DefaultDepth    24
        SubSection "Display"
                Depth 24
                # This tells the screen to allocate a frame buffer up to
                # 1680x1050.
                Virtual 1680 1050
        EndSubSection
EndSection
With this, everything just works. If I xrandr with various displays plugged in I can see what they support and can switch modes. To make everything nice and easy I wrote a small script that I bound to an unused function key:
if xrandr -q   grep -q  "VGA connected"; then
  xrandr --output LVDS --off --output VGA --mode 1680x1050
else
  xrandr --output VGA --off --output LVDS --mode 1024x768
fi
(thanks to Eric for pointing out that I don't need to use the hex values). Simple! As you can see the new xrandr is very powerful. If you want to do Xinerama-style dual screen you can do that too: xrandr 1.2 encompasses that behaviour. The final thing to point out is how glad I am that GNOME seems to handle the screen resizing like this so nicely already. When the desktop shrinks Metacity moves windows so they are visible, and when the desktop expands the panel applets on the right stay on the right instead of sitting in the middle. The script I run when I change screens does more than I pasted here: it changes the wallpaper to match the aspect ratio, and also changes the fonts. I hope this has made sense, I know there are a few people out there who were waiting for me to test this before they gave it a go. If anything is too vague, leave a comment and I'll expand it. I should also mention that I've got Ubuntu Edgy packages for everything here in my repository. NP: Animal Magic, Bonobo

Next.

Previous.