Search Results: "ag"

28 June 2007

MJ Ray: Tour de France on ITV and others

Despite their TV trailers and it being only 10 days away, there's still nothing on the itv sport site about the Tour de France coverage, but I can see the early stage details on tvtv now. The bulk of the coverage is on itv4 with some highlights repeated around midnight on itv1 and itv4. Unusually, the first stage is also on itv1, so terrestial analogue viewers can see what the fuss is really about, instead of the ceremonial final stage. Eurosport International is being good and covering everything live and in highlights, as ever. (Eurosport Analogue is free-to-air in English and German; Eurosport Digital is FTA in German.) The British Eurosport schedule seems something between the International and itv schedules described below. Strangely, it seems that the weekend afternoon live coverage is also on itv4, which doesn't usually start transmission until 18:00. I guess itv play or citv may be closing down early to make space. In detail: Presentation of the teams - Friday 6 July, live on itv4 from 18:30 (preceded by Liege-Bastogne-Liege highlights at 18:00), repeated on itv1 00:00, on itv4 00:30. Eurosport show it recorded 10:45-11:15 Saturday morning. Prologue - Saturday 7 July, live on itv4 14:45-19:00, live on Eurosport 15:00-18:30, highlights on itv4 00:30 Stage 1 - Sunday 8 July, live on itv4 from 10:30-16:10, live on itv1 10:50-11:50 and 15:15-16:00, live on Eurosport 10:00-16:00, highlights on itv4 19:00, repeated on itv4 00:30 As far as I can see so far, weekday stages look likely to be live on Eurosport from 13:00-16:30 (covering the start live at whatever time and maybe with highlights between that and the main live coverage) with highlights on itv4 19:00, repeated on itv4 after 23:30, highlights on Eurosport after 21:00. I expect most weekends to be a similar coverage pattern to the Prologue and the final stage to be covered like Stage 1, similar to last year's final stage. Also, France 2/3, ARD/ZDF (listings) and maybe RTBFSat will cover the race live too. Any other free-to-air satellite coverage?

MJ Ray: Last Chance for the Working Draft of the Web Content Accessibility Guidelines 2.0

As a result of commenting on some problems in CUBA's Jam Busting June site I was made aware of the Working Draft of WCAG 2.0 or the Not-Working Draft, as I think it could be called. If you want to comment on it yourself, you had until the end of 27 June 2007 (US EDT, I assume). Put simply, it's too confusing for both web developers and site managers. Even the Quick Reference is rather long for practical use. It's very indirect - it's not even clear whether xhtml over HTTP is preferred. I submitted a comment about that - also rather disappointing to find that W3C appear to fail to use stripslashes() when needed. I submitted another comment about the backwards step of allowing Javascript-required sites to be called accessible. Javascript is dangerous for accessibility and bad for power consumption. What the blue blazes is an AJAX-only webmail doing as one of the accessibility examples? I see that notable sites have already criticised WCAG 2.0. While I don't necessarily agree with everything they say, this is a very disappointing situation. Will WCAG 2 be rescued? Are accessible-friendly webmasters screwed if WCAG 1.0 is replaced by 2.0 in our national standards? It lets all the Flash-only cowboys claim WCAG-conformance as long as they note their site relies upon Flash. (Question: is a site still WCAG-2.0-accessible if it requires Flash to view the note that says it requires Flash?) Should we start looking towards MACCAWS, WHATWG, expanding IETF to cover the web, or starting another democratic/meritocratic standards body?

27 June 2007

Mike O'Connor: A sign that I really don't know what I'm doing

I decided it was finally time to go digging in our boxes of books to find my old Xlib manual. We haven't unpacked any of our books since we moved in August, they are all sitting in boxes in our basement. I went through every box I could find, and, of course, the book I was looking for was really in the very last box in the stack. This was a blessing and curse. A curse for the obvious reason that I had to look through every box, a blessing in that I got to pull out a couple of other books that I've been meaning to get my hands on, such as a couple of key birding books, and my NCJOHB. Anyway, I return to the couch with my Xlib Programming Manual (which is from R5, but I'm sure is going to answer some questions I have). I of course turn right to the section on window manager, only to find in the first paragraph:
This chapter is not primarily for window manager writers, as those are a rare breed. There are several good customizable window managers available, and there is very little reason for users or application writers to want to write their own. Only a few people in the X community are going to be actively involved in writing window managers, and chances are good they already know all of what is described here"
Heh, what have I gotten myself into?

Neil Williams: back home

Not just back home but with a working internet connection too - at least within the constricted definition of "working" that apply to my ridiculous BT line. 1.1 miles from the exchange by car (I have to drive passed it twice a day), 5.2 miles line length. Ugh?

Initially, a (presumably) stale connection was giving me about 5kb every hour. (No kidding - it took 2 hours to load the ISP webpage in Lynx.) Really annoying because it would cause things like apt and ssh to just timeout every single time.

Still, after waiting on the line for 25minutes, the ISP tech support was able to identify the problem and cause the login to be reset.

Just completed the keysigning caff process (so lots of people are about to get lots of caff mail) and now I can actually get back to my packages. Yippee!

Jacobo Tarrío Barreiro: All Mexico All

For several days now, I have been seeing messages like this in my logcheck output:
Jun 27 19:24:07 maestro postfix/smtpd[14339]: warning: malformed domain name in resource data of MX record for neolookups.com: *.mx.*
Obviously, the MX entry for the domain neolookups.com (and all its subdomains, apparently) is 0 *.mx.* . It turns out that you cannot search for *.mx.* on Google, so I ask you, dear Lazyweb, is this one of the latest tricks spammers use to try and thwart antispam countermeasures?

Rob Taylor: the taste of sweet crack

I’ve been gradually pushing on in my free time on gobject-introspection, so I can make the dbus-glib bindings decent. A couple of months ago back I started hacking up a code scanner to generate the introspection xml,using code from gtk-doc, but using perl regexps to parse C just made me feel dirty… Johan Dahlin pointed me at Sparse, a front-end parser for c developed by some of the kernel guys. The only problem is that it doesn’t have language bindings (or even, seemingly, a stable abi). So I’ve just submitted a patch to sparse that adds an executable ‘c2xml‘. c2xml will dump the parse tree of the input file as a simple xml structure, suitable for manipulation by some python or suchlike. That could then be used to, say, generate c api descriptions, documentation and language bindings or make code navigation or refactoring tools. I like it!

Martin F. Krafft: Contact forms and idiot corporations

Every now and then I must get in touch with a company whose client I am. With that I mean that the company has my record in their customer database and that I can log in to their webpages with the associated account. Since companies generally don't consider their clients' comfort, they'll usually make you click about a dozen times through mazes of silly questions until you reach a HTML form you can use to send your message on the way. If you take a wrong turn anywhere in the maze, you'll be dropped into a list of frequently asked questions and have to start from scratch your quest for the contact form. I understand the motivation, which is to shield the understaffed customer support department from just those frequently asked questions. However, never has my issue been adequatly answered in those shielding documents. For instance, with Lufthansa, I've had to request ticket changes because they had screwed up (and not my travel agent), or request replacement member cards. And in the Case of Cablecom, I've been trying for months to hear their statement on why my 3500/350 kbps cable connection only ever delivers around 1500/250 (as established in a long-term trial over almost seven weeks), and to get them to stop sending several pages of advertisements about the same products with each and every invoice I get. In none of these cases could I find any useful information online, so I had to embark on the painful journey to the contact form, formulate my request into a tiny text box that would often not even be able to show start and end of a single sentence without scrolling (this is German after all), nor respect line breaks, and then hit the "send" key with a drop of sweat on my forehead because you never know what kind of crack the CGI on the other hand had smoked just a minute ago. What pisses me off most of all is, however, that in the two cases of Lufthansa and Cablecom (this list is not exhaustive, I'm sure, Sunrise is another offender), you have to login to your customer account in order to be able to fill out the contact form, where they ask you for all your contact details again. I don't understand why they want gender, birthdate, postal address, phone number, email address and whatever else for a simple support request one means of contact so they can get their answer to you should be enough. But what I surely don't understand is why they can't just use your login cookie to retrieve all those data from their data store. It sure seems like they're not really in control of their own infrastructure. And this list is not exhaustive. NP: Dredg: Live at the Fillmore

Martin F. Krafft: Dog control theory

For the next two weeks, I am proud owner of a dog. Or well, at least care taker:
Zeno and myself
Zeno, that's his name, is absolutely convinced that he is the centre of the universe, the "l'ombelico del mundo", as Jovanotti would sing. So it's very incomprehensible to him if I do anything but play with him and he follows me even to the toilet to make sure I don't miss a chance. Apart from having learnt to type single-handedly now (the other hand petting him), what's really amusing is his never-ending, asymptotic quest for perfect comfort. Enter the sequence at any point:
  1. if not being petted, walk up to martin
  2. strike paw against whatever body part is available.
  3. if martin does not react, bite into his thigh, lightly.
  4. repeat 1-3 until martin reacts and starts petting.
  5. slowly start to lie down, thereby leaving martin's circle of reach
  6. wait a second so as to not arouse suspicion
  7. stand up, continue at 1.
I find this extremely reminiscent of control theory or a crap PID controller. You'd think dogs are intelligent until you witness the 20th iteration. I am not exaggerating. And I still love that dog. NP: Gazpacho: When Earth Lets Go

Adam Rosi-Kessel: Email Disclaimer Enforceable?

If you’ve received email from an attorney in the last five years, you’ve probably seen some version of a boilerplate warning/disclaimer in the message footer, indicating that the message may be privileged (or in some cases, asserting that the message is privileged!) and telling the receiver to destroy and/or return all copies if they are not the proper recipient. In the last couple of years, almost everyone has also added a statement to the effect that this email does not contain illegal tax advice (or if it does contain such advice, you shouldn’t use it!) Cumulatively, I’m sure we’ve used gigabytes if not terabytes of bandwidth attaching this text to every email sent. My question to the world: is anyone aware of such an email disclaimer ever being enforced or held enforceable?

Martin F. Krafft: Removing background from images

Every now and then, I want to remove the background from an image and replace it with transparency. Instead of painful pixel work with the select tool, the following Gimp recipe does the job quite well, provided the background is a single colour:
  1. Choose Layer->Transparency->Colour to Alpha and select the background colour in the dialog box. Then click OK.
  2. Use the magic wand tool (Z) to select the contiguous region around your object. Make sure to use a sufficiently high threshold such that the selection line coincides with the image's silhouette.
  3. Press Ctrl-I to invert the selection.
  4. Choose Select->Shrink and shrink the selection by a pixel or two.
  5. Create a new, transparent layer. The selection should still be active.
  6. Make the background colour you previously converted to transparent your foreground colour and choose Edit->Fill with FD Colour from the menu.
  7. Switch the two layers such that the current one moves behind the one containing your image.
The method isn't perfect, but it certainly saves me a lot of time. For instance, my new hackergotchi a tribute to Scotland and the local team of DebConf7 only took me a few minutes to get ready. Suggestions still welcome. NP: Barclay James Harvest: Everyone Is Everybody Else

Russell Coker: Strange SATA Disk Performance

Below is a GNUPlot graph of ZCAV output from a 250G SATA disk. The disk has something wrong with it (other disks of the same brand in machines of the same configuration give more regular graphs). The expected graph will start high on the Y scale (MB/s) and steadily drop as the reads go to shorter tracks near the spindle. The ZCAV results page has some examples of the expected results. If you have any ideas as to what might cause this performance result then please make a comment on this blog post. strange-sata

Martin F. Krafft: Keysigning in Edinburgh

At DebConf7, I took part in the keysigning party. Since keysigning is not about authenticating government-issued IDs, I took only my Transnational Republic identity card to the event. The reactions I got were multifarious:
  • some (most) people had heard the story from last year and joyfully checked off my name.
  • a number of people challenged me to present a "real" ID, which I refused to do. They then told me they could not sign my key. I asked each to consider what it is they're signing: a statement about their perception of my identity, or a statement about their trust in the governments issuing "official" IDs. Given a second or two, most people would check off my name anyway. What's alarming is that in those cases I had the impression that they simply succumbed to my pressure without thinking about what I actually asked.
  • several people didn't need to see my ID and checked off my name after I answered the question about having checked the hashes (which is also rather pointless).
  • very few people checked off my name without knowing me or questioning the ID.
  • two people smiled and checked the ID, but placed an X or question mark on their sheet.
  • one person refused to inspect my ID and crossed out my name.
All in all, I am satisfied with the results and happy to see many more people questioning the web of trust, or at least the way in which we pretend to secure it. Yet, I have come to the point where I will not take part in keysigning events anymore. The value of the web of trust is overrated, and with every single keysigning party, we just make things worse. It was a good idea to separate folks into groups around well-connected keys to speed up the process, but the groups were still too large to allow for experienced people to pass knowledge to the lesser-experienced ones. Instead of taking part in the event with a critical eye, I saw people present three forms of identification ("does that mean you are really you, or just that you have more money than the other identify fraudsters?") or asking "trick questions" to verify the birthdate written on these documents ("someone ready to deceive an identity who went through the trouble to fake documents will surely have remembered their data"). I shall, in the future, only sign keys of people I already know, and with whom I've interacted before on a level to know bits about their life, personality, and project involvement. I will not require an ID to be presented. If this goes against your idea of the web of trust, please edit your trust database accordingly. My keys are 0x330c4a75 and 0x667c7088 (not yet used). NP: Proto-Kaw: Before Became After

Bastian Venthur: What does it take to break rng?

Actually just a small change in the html code of our BTS. The problem was easy to fix and the new version is already uploaded, but this shows again how fragile the connection between BTS’ html output and rng is. I’ve heard other tools where affected too — just one reason more to switch to SOAP as soon as possible. An unfortunate side effect of today’s upload: In the last weeks I tried very hard to finally get rng into testing by not uploading as often as I wanted to. The problem aren’t RC bugs, but archs like SPARC or ARM which seem to have problems keeping up with the build queue. Being of priority extra doesn’t help very much, since packages with higher priorities (like: all other packages but rng) always jump the queue. Unfortunately my request to fix the override disparity I filed two weeks ago wasn’t processed yet and the only one who could fix this is currently on vacation. In fact others could fix this too, but it looks like they’re on vacation too. I guess I’ll just exclude both archs in one of the next uploads until things run smoother again. But not everything is dark: with the current upload, a Dutch, a Frech, a Norwegian and a Polish pony found a new home. Update: Looks like the override disparity has been fixed. Whoever fixed this, thank you! Rng should be available on all our archs by tomorrow and in testing in 10 days!

Kartik Mistry: USB Drive

* I got new 4GB USB pen drive yesterday. While waiting for my piece at Lemington Road Shoppe, I remembered the day when 256 MB pen drive cost me 1250 INR. This 4GB (~3.8 GB actually!) cost me 1650 INR :) * Baby is named ‘Kavin’ (gu: , hi: ), which means handsome (also in Tamil!).

Evan Prodromou: 7 Messidor CCXV

Someone in the #mediawiki channel the other day asked, "Would it be possible to have easy-to-parse error messages?" and I thought, "Wow, that sounds like a microformat in the making." Probably one of the most common HTML patterns in Web applications is error messages. We see them all the time on the Web: login errors, form validation errors, backend errors and user input errors. But what if this common pattern was standardized? If HTML error messages all followed a similar format, we could have browser plugins that recorded and analyzed the errors that come up. They could either feed back this structured error data when we needed it -- say, when filing a bug report -- or use the error data to help us find workarounds or documentation online. I brought the idea up in the #microformats channel on Freenode, and it got a good response, so I took the next step and created a list of error message examples and some error message brainstorming on the microformats wiki. Hopefully this can be the start of some interesting feedback loops in software errors. tags:

Joey Hess: ditto Keith

Like everyone else with an Intel graphics chipset and some X bug at DebConf, I was happy to have Keith there to debug it. But I'd go one step futher, and recommend anyone who doesn't have an Intel graphics chipset and some X bug, to go find one of each (and Keith). It's worth the price of admission just to experience his debugging process. If your experience is anything like mine, you'll have a lot of fun. You'll learn about some graphics-related thing, such as PCI configuration space and the LCD brightness register. And you might learn some new things about debugging. How twenty years of experience do come in handy at diagnosing what kind of crash happened, at a glance. That it's possible to still have fun working on something after those twenty years of experience. How to keep the bug submitter involved by letting them follow your thoughts as the problem is debugged, and letting them handle some of the skut-work. How to teach them what they need to do to handle the skut-work, without talking down, or wasting any time. How important it can be to have things like good hardware documentation. And probably lots more that I missed.

26 June 2007

Nico Golde: Installing molly-guard

Yeah I now did an aptitude install molly-guard (I guess most sysadmins know this tool, thanks mika for the hint) after I
halt'ed modprobe.de by accident (Strato dedicated server). I was also able to reboot my file server at home 2 times last week because of.... ssh, well and of course bad shell prompts, inattention etc.

The tool is basically a replacement for halt, reboot and shutdown to prevent such accidents. To give you an impression what this looks like:

[root@bone] /home/nion/ halt
W: molly-guard: SSH session detected!
Please type in hostname of the machine to halt:

UPDATE from madducks comment:
Please note that etch's molly-guard has a bug that hits people running shutdown -h: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426107.

I suggest to install version 0.3-1 from testing, which shall be in etch r2 soon.

Martin F. Krafft: 60 efficient minutes of Intel

I arrived at DebConf7 with my X40, which would randomly freeze on any video-related event. I even reinstalled everything without copying /etc from the old installation onto a fresh harddisk without success. I tried various kernels, including Ubuntu kernels which rendered my system unbootable. I swore, I kicked and screamed, I contemplated throwing it out of several windows at once and buying a non-IBM replacement, I think I even had bad dreams about it. I did not cry just yet though. I was unable to work on it, neither locally nor via external monitor. In fact, my solution for the first week was to occupy one of the spare desktop machines, link up the original laptop harddisk by way of a great PATA/SATA to USB converter, which Hanspeter gave me for Christmas, boot off the encrypted filesystems, bring up X, and finally ssh into the laptop, where I did the actual work. Trust me, it was ugly. But at least I was able to make progress on netconf. I called Lenovo and they agreed to send a technician out to the venue. Yay for on-site support. That was Friday though, so I'd have to wait until Monday, which was of course when my talk on netconf was to take place. Suddenly, or not so suddenly, but it happened in real-time: in walks Keith Packard, developer of the Intel graphics chips driver for X, and I swear he had "bring me broken X40s!!!!!!" written on his forehead and BIOS latency timeout values as pupils like a popular comic character's eyes may be made off a dollar sign when excited. Ask Matthew Garrett if you don't believe me. So I approached him and handed over the X40 and had him even more excited when I mentioned i855 and it was all downhill from there. I left him with password for root and the encrypted filesystem (he's a Debian developer after all, so he has root on all my machines anyway ) and wandered off for some organisational stuff. It feels great to be at DebConf without your laptop to come back to. So great even that in a moment of genius I decided to do my laundry, and off I went, back to the hostel. Get stuff from hostel B, convince staff from hostel A that I am in fact allowed to wash there as hostel B has no laundry facilities, buy tokens and detergent, dump stuff, find couch and sleep gosh was I tired, but not anymore, when my phone rings to announce the end of the washing cycle. Retrieve, return to hostel B, hang stuff all over the room (we all know each other and these are clean clothes), return to hostel A to say thank you (I actually did), fetch lunch at Subway, arrive at venue, return to desk to find laptop but no Keith. Look confused. Look around to find Keith smiling at me and that the patch to my problem had already made it to the upstream repository. Sit, relax, think, breathe, wow. 60 damn efficient minutes. Let my next machine have Intel chips, please? (call Lenovo, "suspend" the call. Lucky for them, or imagine the ripples of the on-site technician suggesting to try to reproduce the problem with Windows). PS: Unfortunately, the problems aren't all gone. There still seem to be some DPMS-related crashes, and suspending to RAM from X leaves a black display on resume (some might say it's good that this is happening to me too), but I am definitely a lot more peaceful now. Thanks, Keith. NP: Threshold: Critical Mass

Benjamin Mako Hill: Joining the FSF Board of Directors

When I was 12 years old, I discovered free software. That discovery changed my life and I've never recovered. Over what is now more than half of my life, I have looked to the Free Software Foundation for vision, guidance, and an example of a free world and I have rarely been disappointed. The list of directors of the FSF -- Richard Stallman, Eben Moglen, Lawrence Lessig, Henri Poole, Jerry Sussman, Hal Abelson, and Geoffrey Knauth -- doubles as a list of some of my greatest heroes and role models. As such, I lack the words to describe how it feels that, just yesterday, I was elected to the board of directors of the Free Software Foundation. With Moglen having stepped down I have staggeringly large shoes to fill. I'm more than a little intimidated. At 26 years old, I suspect that I'll be the youngest person on the board by quite a bit. This means I'll have to try and make up with hard work and passion what I lack in experience and wisdom. It's a challenge I look forward to. With free software becoming increasingly successful and widespread, we've already begun to see push back. I suspect that in the next years, we'll see much more. We reaching the dangerous part of the, "first they ignore you, then they laugh at you, then they fight you, then you win" progression. I'll do what I can to defend freedom until we've won. In order to ensure that I have the time necessary, I'm going to be resigning from the board of Software Freedom International and will consider reducing and resigning some of my other commitments as well. If you want to support my work with the foundation, you can become an associate member.

Steve Kemp: Other things just make you swear and curse

I find myself in need of a simple "blogging system" for a small non-dynamic site I'm putting together. In brief I want to be able to put simple text files into "blog/", and have static HTML files build from them, with the most recent N being included in an index - and each one individually linked to. At a push I could just read "entries/*.blog", then write a perl script to extract a date + title and code it myself - but I'm sure such a thing must already exist? I vaguely remember people using debian/changelog files as blogs a while back - that seems similar? Update: NanoBlogger it is.

Next.

Previous.