Search Results: "ag"

20 October 2005

Alexander Wirt: Its a long time ago

I haven't blogged for a long time and much things happened like then... Even more work than before and HE is now a fresh student:

More news later :-)

MJ Ray: Selling, the web, chipping and bloody hacking

The Internet Advertising Bureau thinks the UK spend could be over a billion for the first time. It's now 5.8% of the national advertising spend and is growing at a pretty remarkable rate. Is Christmas coming early for online? OSCommerce - the future will be templated. We're doing more OSCommerce work and 2.2 MS2 is a fairly typical PHP application, with some structure, but also lots of spaghetti code. The next version is looking a lot better, including this announcement from the lead developer. Templating and styling has to be the most-requested work. I find it a little worrying that OSCommerce is not more openly developed, but it'll be good when the new release ships. Jakob Neilsen has announced the top ten web design mistakes of 2005 and "Legibility Problems" are number one. This isn't a surprise to me. Many websites, including some big names, are totally broken if your browser defaults are light text on a dark background, because that's easier on your eyes. I once spotted the Disability Rights Commission getting this wrong. Even planet.debian.org is missing a:link color: ... . The second top mistake is bad linking, including:
"In particular, don't open pages in new windows"
.which is another thing which I find irritating on many sites. If I want a new window, I'll pick the link for a "new window" from the context menu, or by shift-clicking. Does Mozilla or Firefox or something have an "ignore _blank link targets" option yet? It's only a matter of time. My own company's web site has been updated and I've tried to take these on board. We don't do any of the worst things, but there are always things we can do better. Our site isn't that high a priority - there's so much else to do. The W3C's internationalisation working group has issued a note on working with time zones. I get a lot of unusual time zone requests while programming, but I'll remember these explanations and I think I usually follow the recommendations in s1.5 anyway. Also from W3C is a Working Draft of "Mobile Web Best Practices 1.0" which they'd like feedback on, if you use or develop for mobile web devices. At first glance, it seems that many of the items are stronger versions of the Web Content Accessibility Guidelines. PlayStation chipping is legal in Australia but not in the UK, where it was ruled illegal last year. Chipping is the practice of adding a part to the games console so that it can play imported titles. If the chipping and the risk of breaking it costs less than the difference between imported and domestic releases, some people will want to do it. It's competition between markets. I remember similar things for the old cartridge-based machines of my youth. UK law-makers seem to be trying to kill off that trade in favour of foreign companies that want to tightly control the consoles long after they've been sold. The ruling from Australia might bring the start of a backlash against the increasingly restrictive UK laws, but it's more likely that the EU, US and others will press Australia to fall into line. Copyright seems to be one of the few areas where free trade is being reduced, rather than increased. And finally, I remember the feeling of getting sparc32 Linux working.

Adam Rosi-Kessel: Menino v. Hennigan Debate

A couple of weeks ago, I asked why the Boston mayoral debate video wasn’t available online. It turns out that that the great folks at WGBH, our public television station do have a streaming copy on their website, but it doesn’t show up in a few Google searches. So here it is—the Boston mayoral debate between Tom Menino and Maura Hennigan.

19 October 2005

Clint Adams: Not a saguaro, I imagine

I want to see a 5 cactus.

Scott James Remnant: Parallel Peer Programming

Here at Canonical Towers we have several staff who worship at the altar of Extreme Programming, and as such many of the methodologies and rituals prescribed by that religion find their way into our day-to-day working practices. A few of these came together in an interesting way a few weeks ago, and it was suggested by a cow-orker that I blog about it so he could give the URL to people. The first ritual is that of the sprint, I don’t think this is orthodox XP but rather something inspired from it that we picked up from the Python community. With all of the Canonical developers scattered across the globe mostly working from their own homes, it’s become a useful tool; particularly for the Launchpad team. The basic idea for those that haven’t heard of it is simple, and perhaps obvious; you get a selection of the team together in one place, sit them around the same table with particular goals to complete. In effect it’s highly compressed facetime and high bandwidth interaction to nail those tasks that need it, before you head off again and work at a more sedate pace. The second is directly from XP doctrine and is that peculiar observance known as pair programming, something that is often coupled with sprints. For anybody who hasn’t encountered this before, it’s something I’ve always found rather odd. You get two programmers together, both itching to code, and you take one of them’s laptop away; and you don’t just force them to fight over the keyboard either, the laptop-less soul isn’t allowed to touch it. The theory here is that it frees the deprived individual of the hassle of coding and allows them to direct the programmer in ways that may not be immediately obbious, or alternately think about the next bit of work that needs doing. Another interesting side-effect is it can be an interesting way to learn code you’ve not worked with before, if you’re the one doing the coding and you’re being guided what to do by a sage who already knows it. I have a funny story here, so I’m going to digress from the main stream for a moment to tell it. A few months ago I was working in the London office, Mark had been up all night coding and had then given me responsibility to get his changes landed onto the Launchpad mainline. I’m not that hot on quite a bit of Launchpad, and fade to utterly clueless the nearer the code gets to the web application itself; and when trying to merge the two there were conflicts which I needed Mark’s help to resolve. Now as anybody who’s met Mark knows, he’s a pretty good example of a Type-A personality, yet he suggested that we do a spot of pair programming to get the code in and I’d be the one with the laptop as it’d help me get to grips with the affected parts. This hilighted something I’ve always seen as a problem with pair programming, dealing with it when the a person with the keyboard has a totally different way of working to you. In particular, I’m an emacs user, whereas Mark is a die-hard vim user; but also right down to the working directory I would work from, how I test results, etc. When you’re the one without the laptop, this can be quite infuriating, as you know exactly how to solve a problem and the idiot with the keyboard is dithering about doing things you don’t understand just to get there. If you’re a Type-A personality, you generally snatch the laptop away at this point and do it yourself; or at least you would, if you could drive the strange editor the other person uses. I swear Mark was sulking as he gave the laptop back and let me do it. Anyway, there is some relevance to that and we’ll come to it in a moment. The third and final methodology is the concept of unit tests and more specifically test driven development. For anyone who hasn’t come across this before, I highly recommend it; I was suspicious too when Robert Collins took it upon himself to teach me the true way, but now I’m sold. Simply the idea is that if you have any code that doesn’t have another piece of code in a test suite that checks that it’s working correctly, that code is broken. More particularly unit testing involves checking just one feature or requirement at a time, and stacking them together to test all of the code paths. I’ve actually found that this improves the APIs I design, as I write the code in small blocks and functions to make them easier to test. Test driven development takes it even further, you write the unit tests first, before you write the code they’re supposed to test; usually one or two at a time. Obviously these tests will fail at first, it’s then your job to write as little code as possible to make them pass. If your code isn’t right, you add a unit test that will fail, and modify the code to make it pass. This really comes into its own when you’re fixing bugs later, once you’ve identified the bug you write a test case or two that cause the problem; these will of course fail. You can then modify the code to make them pass, and at the same time be sure you’ve not broken other functionality because of the existing test suite. I’ve also found it really useful for particularly complicated or tricky pieces of code, especially those intricate algorithms that do particularly heavy lifting. So onto the event itself, this was a sprint in our London office to indoctrinate Gustavo Niemeyer with the various projects he’d be working on. The goal for this sprint was decided to start the conversion of HCT to Bazaar-NG, and to do this Gustavo and I would pair program. Now my last experience of pair programming had been that story with Mark (see, it had some relevance) and I knew I’d be just as bad if I wasn’t allowed to have the keyboard. I was also acutely aware that if Gustavo was just sitting by and watching, he wouldn’t get much benefit from it either, so he needed to be actively involved in the coding so he could learn the things he’d be working on. I came to what I thought was a pretty neat, and obvious, solution to these problems. We set up my laptop with the code we’d be working on, and on my display were two side-by-side terminals both running screen sessions. Gustavo then set up two same-sized terminals on his, ssh’d into my laptop from both of them and joined the screen sessions. In the left-hand one he ran vi, and in the right-hand one I ran emacs. Thus we both had keyboards, and both had editors, yet could see each other working and even steal the keyboard without danger of violence. We didn’t just sit side-by-side and code on different things though, that’s not pair programming and is just ordinary programming with a bit of a voyeuristic twist. What we did was: in my terminal I started writing the test cases for the code we needed, it was Gustavo’s job to write the code that would make them pass. We actually added a third terminal in which we could run the test cases themselves; so I could run them when I’d added something that would fail, and Gustavo could run them when he thought he’d made them pass again. This turned out to be a rather fun way to work, and at one point I was almost able to try and convince myself that the code was writing itself to pass the test cases I was writing. It also got me thinking that it’d be really neat to use genetic algorithms to breed code to pass test cases.

Steinar H. Gunderson: Firefox emacs keybindings

Robert: A quick Google search on Firefox emacs key bindings gives you what you want. (Bonus points to Google for finding a page that mentions keybindings when I asked it for key bindings .)

Robert McQueen: Comments

Just a quick post to reply to the comments I’ve had on some previous posts. On Missing entropy on my server box, I received lots of comments on how to feed random other stuff into the entropy pool or make it bigger or other hacks, but Alexander Reelsen pointed me to the real cause — a kernel bug in older 2.4 kernels which causes the entropy pool to deadlock on SMP systems, and never get refilled. There is a patch from RedHat which backports the fix from 2.6, and is included in recent 2.4 kernels. On the topic of kernels, now I’ve upgraded from 2.4.29-rc1 to 2.4.32-rc1 I get lots of errors like hw tcp v4 csum failed in my syslog. I’m using the e100 driver which as far as I can see hasn’t changed between versions, but there have been some changes to TCP checksumming code which I havn’t quite been able to grok. Google finds mailing list posts with other people asking what the cause is, but nobody answering. Anyone know what’s going on there? On Windows accessibility, many people seem to not listened to the first couple of minutes of the tasteless song I linked to, and hence taken my comment completely seriously. Thanks to everyone who told me about sticky keys etc in comments, but I did already know about the existence of Windows accessibility support (warning: mjg59 in furious anger mode). :D On the topic of blog comments, how do I cut down on the comment spam I have to moderate without requiring people to go through a completely unaccessible captcha image thing, or the annoyance of registering and acknowledging an e-mail? Would prohibiting comments and URIs containing words like ‘mortgage’, ‘casino’ and ‘ringtone’ ever cause false positives?

Peter Van Eynde: telenet and proxy errors

My bother had severe problem with telenet (the local cable company) and he actually called the helpdesk while I was with him. I noticed the error they made and so could correct it. Normally they ask you to configure http://pac.telenet.be:8080 as pac file. The pack file is:


/* PAC FILE: VERSION MANAGEMENT WITH CVS
* USE CVSWEB FOR UPDATING !!!
*
* Proxy autoconfig file
*
* $Revision: 1.29 $
* $Date: 2004/04/01 06:58:30 $
*
*/

function FindProxyForURL(url, host)
> <br><br/>
return "DIRECT";
> <br><br/>

Notice that there is no proxy configured. When this did not work they asked to configure proxy.telenet.be:8080 as a proxy without disabling the pac stuff. This also did not work. After the long call on the expensive helpdesk I tried configuring the proxy and disabling the pac. That worked.

Of course as he was using an inferior operating system as a first step he had reinstalled everything, and lost some data he had forgotten to backup.

I wonder when they will fix the pac file...

Peter Van Eynde: Gains and losses

I've removed the hoary and hoary24 sections of the CL package repository I host on p.d.o.
On the other hand I and David D. Smith will adopt the clisp and libsigsegv packages that Will Newton took good care off up until now. We will coordinate the work through the darcs archives on cl-debian.alioth.debian.org.

Benjamin Mako Hill: Ubuntu Talk at BLU

Last night, I decided to check out the Boston Linux Unix webpage to find out when the next meeting would be and what the talk would be on. To my surprise, the talk is tomorrow and is slated to be given by none other than Benjamin Mako Hill. Hmmm. I vaguely remember agreeing to give a talk like this in general sense but don't remember ever agreeing to a specific day. In any case, I'm not one to disappoint and am working on my slides. If you're interested in some post-Breezy action in Boston, please show up! If you can't make it, I'm trying to arrange a proper release party for some point after I receive my Breezy CDs (a week or two I guess). I'm sorry for the short notice. Of course, I'm giving the talk on short notice so I'm not too sorry. Additionally, I am missing both a class and a Media Lab sponsors dinner that I was already double booked for. You should be able to cancel up to one of your prior engagements to attend. Information on the talk is on the BLU website. The talk will be held at MIT in E51-315.

Martin 'Joey' Schulze: Oldenburger GNU/Linux-Information-Tag

A small regional event covering Free Software and GNU/Linux took place here in Oldenburg on Saturday. It comprised a Debian installations party, two tracks of interesting talks and a small exhibition. There were about 500 visitors, I guess. Circa 40 people listened to the Debian talk in which I presented the goals of the Debian project, its internal structure, explained how the distribution is developed and by whom and demonstrated why well defined dependencies are so important. Several visitors came to our booth which was located in a classroom together with 9 other small booths. The exhibition room wasn't crowded ever, but it wasn't too boring either. Even during the talks there were always a couple of visitors lingering around in the exhibition.

Clint Adams: What ever happened to the second person?

If I'm in Times Square, why is there a sign that says Sex Kino Ganz in Farbe? And if I'm wearing a tuxedo, why am I holding a paper Air France bag? And if my hair is curly, why is it red? And if the Horned King is watching the Telmarines amass an army, why am I going to Belgrade? And if I'm in Belgrade, why am I entertaining 12 people for $170? No, why am I entertaining 17 people for $40? Why am I entertaining anyone if I have the Horned King to worry about? If that was Bob Arctor, why wasn't he wearing his scramble suit? If I'm flying above the city, carried on the wings of angels, why is some little boy telling me that I'm distasteful? If I'm in a heated argument about Tim Burton movies, why in the hell is someone claiming that Magnolia is worth watching? And if I'm blogging, why in God's name am I not talking about keyboards?

John Goerzen: Control Room

Have you ever wondered why so many Arabs hate Americans? Why they view us as occupiers? Why they want to be rid of both Saddam Hussein and us? We watched Control Room tonight. What a fascinating documentary. There was no narration. Just journalists talking. Arab journalists, American journalists, Pentagon spokesmen. Lots of different viewpoints. Lots of insight. It was hard to watch at times -- they showed footage of how events were covered in different countries, and it was graphic sometimes. They also showed the journalists talking about why they covered things in a certain way. It was very moving, and thought-provoking. Sometimes it is useful to have a view from an outsider (to America) or an insider (to the Middle East).

Joey Hess: argh

My laptop's power input is broken. Not too badly yet since it seems to still get power in more positions than not, but I've been here before and I know it can go nstily downhill from here. I think I know how I broke it, it's a dimly remembered farce from the morning before last that involved getting up to let the cat out, tripping over the laptop cord, putting the laptop back up only to trip over it again on the return trip. There's a good chance it's the coord and if so I could just spend another $50 for third power brick and problem solved. My memory sucks and I forgot why I had to buy the second power brick, but I have a blog, so I know that it was a short in the cord before. Now, I've been thinking about getting another laptop anyway, but it would just be a cheap used laptop off of ebay to use for d-i testing and development. The IBM thinkpads are nice, but just don't grip me and somehow this pokey laptop with its not very good outdoors screen still makes me happy, and I'd hate for this to be the bit that killed it. I think I'll invest in a multimeter first so I can find out what the problem is.

Steinar H. Gunderson: VLC makes a lot of sense

Studying signal processing, I'm a lot more happy to work with VLC-based streaming than anything else I've come across so far (not that I've worked a lot with it, but hey): It makes so much more sense to deinterlace video at the client side than the server side, and it makes so much more sense to stretch an anamorphic signal to 16:9 on the client side than on the server side. VLC lets us do this fairly painless, and both the image quality and delay seems to be markedly better than Windows Media. (I wish it was all a bit better documented, though, I wish the Debian packages would include XViD support out-of-the-box, and I wish the Vorbis sound output wouldn't have odd screeching in its output from time to time.) Now, if I could only stream this to WMP and keep the sanity... :-/ (Oh, and that mplayer, Totem, Xine and whatnot would also take the streams, but that's really secondary.)

18 October 2005

Clint Adams: If this were San Francisco, they would gibber very differently

I'm gonna be brave, said the man in the striped Ralph Lauren shirt, as he cut into the bland and non-threatening grana padano. Every time you say Anita , I'm gonna say hummer . the yuppie hipster chortled. Anita Hummer! His aging female companion shoved him playfully. No musical chairs! shouted the man in the striped Ralph Lauren shirt. Howdy, I'm Spike MacLure, said the man claiming to be Spike MacLure. Yes, that's my real name, said the man claiming to be Spike MacLure. It really is, said the man claiming to be Spike MacLure. Let there be blue! cackled the man in the striped Ralph Lauren shirt. I've got a backyard, said the man claiming to be Spike MacLure. This is my house! lied the man in the striped Ralph Lauren shirt.

Joachim Breitner: Cell phone stolen, camera bought

Isn’t it ironic: I just wrote Tapu, a game for my mobile phone and spend quite some time typing 450 playing cards for it - and then, before ever having played the game, my cell phone, a SonyEricsson T630, gets stolen! And that in a very bold way: At night, from my dorm room, while I was sleeping there. And since the theif did not take my laptop or other expensice stuff, I assume he was not planning on stealing, therefore he (or she) is most likely from my dorm. Which makes me uncomfortable.Also uncomfortable is the Siemens S35 that I still got lying around here, and so is the fact that I had to order a new SIM card, that I had to notify the loss at the police station and that I lost some contacts on the phone.Out of frustration (ok, it was planned for a while now, but this gave me the rest), I bought myself a new camera (the old one went to pieces, as previously blogged). Now I own a shiny new Panasonic Lumix DMC-FZ5. It’s not a pocket size camera any more, but the 12x zoom and the large lense was just too tempting. It was actually at DebConf 5 when Ralph Amissah enthuiastically showed me his Lumix, making me interested in this kind of Camera.
I uploaded a few pictures, though nothing special yet. Have a look at this zoomed in picture versus this wide angle picture for a demonstration of the 12x zoom and compare these two pictures, both fully zoomed in, first one with image stabilizer, second one without. Again, for zoom demonstration, the wide angle view.

Sam Hocevar: Opening my non-blog

I have been avoiding blogs as much as I could ever since they became fashionable. I found them uninteresting. Most of them were slight variations of the everlasting alternation of friends (or children s, or pets ) pictures and reports of how the day before (or yesterday s movie, or life) was great (or sucked, or was utterly boring). I did not read them, but they started invading my life nonetheless, spamming search engines and diluting information. But I could cope with the Google noise and just ignore blogs. Then, blogs started to carry opinions, not just feelings. They are now seen by many as a new kind of journalism, yet most of them suffer from the obvious bias that the entry poster is the same person as the comment moderator. Having been banned countless times from Slashdot for bashing moderators or simply attacking the general groupthink, I was not surprised at all to see a few of my comments removed from many blogs. How could I not hate blogs as a means of communication? In mailing-lists or on Usenet, when people disagree with you, they answer and argue, they don t remove your messages. Blogs have become the most selfish variation of the web bulletin board. But I could still cope with the spread of flawed information and just ignore blogs. Then, blogs started to build communities. You can only be part of the community if you are a blogger. Well, it would prove astonishingly difficult for me to care less about blogger communities (though I might try). If the community is about having a blog, then I am perfectly happy with the numerous communities I am a part of that are not about me having a blog and I can just ignore blogs. But today, I have a problem. Even within tech-savvy communities such as the Debian developers, discussions can occur that are not taking place in the common channels (such as the mailing-lists) but on blogs. There are people who are following Planet Debian but not the debian-devel mailing-list. And the reason can definitely not be that debian-devel is full of noise or flamewars: it is incredibly easy to kill a thread in a mailing-list, whereas it is virtually impossible to filter out the new fucking blog meme that spreads everywhere and about which I do not care. Also, people no longer subscribe to mailing-lists, it seems too tedious. Instead, they prefer to hammer RSS feeds every fucking five seconds to know whether something new just happened. So, here it is, my non-blog. My RSS-feed-without-a-blog. You can subscribe to it if you are too lazy to get informed through the other channels about libcaca releases, my Debian bugs, PWNtcha development, my work on VideoLAN, the next talk I am giving. It appears nowhere on my webpage but you can still subscribe to it.

Uwe Hermann: EFF cracks the DocuColor Tracking Dot code

If you haven't yet read about it, some printer brands place tiny, almost invisible yellow dots on every page you print. These dots encode certain information (date, time, printer serial number, or similar things). I think you can easily imagine the security and privacy implications. The EFF has now cracked the DocuColor Tracking Dot code. They have also written a program which decodes the dot patterns. The code is released under the terms of the GPL. (via Boing Boing and CCC)

MJ Ray: Central Trains to die

The Department for Transport has announced how it will reshuffle the English midlands railways currently operated by Central Trains, Midland Mainline and Silverlink. There will be east and west midlands railways, with other routes transferred to cross-country (currently Virgin) and possibly Trans-pennine Express and Chiltern. For East Anglia, this means Norwich-Peterborough-beyond will transfer to the new east midlands railway, while Birmingham-Peterborough-Cambridge-Stansted will transfer to an expanded cross-country. This is probably good. Every time I've used the Birmingham service, it's been crowded and slow (but comfortable if you get a seat, at least recently). The cross-country unit runs some InterCity trains, so maybe Stansted might get bigger, faster trains.

Next.

Previous.