Search Results: "bod"

2 February 2006

Pablo Lorenzzoni: My girlfriend enters, I leave

Since January 13th I am on my last vacation-time of my last year as a Radiology resident. I've received my certificate and have already been hired to work as a radiologist! Things are going fine and I even enjoyed some summer days on the beach. Pictures for these will be posted to my gallery soon.

Yesterday was my girlfriend first day as a Public Health-Social Worker resident and we gave her a "surprise party" both in celebration for this and for her birthday (that was on Jan 26th). We've planned this party this whole month, and since she is "too aware of everything around" it was not an easy task. She was really surprised and have not suspected anything. Pictures are already in my gallery. So, for the next two years, it's her turn to be somebody's slave. My residency took me three years (since radiology program is a bit longer than public health), and in the exact moment I finally stepped out, she steps in. All the patience that the last three years demanded from her are now my task, since I'll be demanded the same.

I am just too happy for her. Being a social worker without a residency in Brazil is living with an unfair sallary and a whole lot of poverty around. After these two years, things will be better for her (and for us), at least wrt the sallary.

Meanwhile, I've been working in flumotion and icecast2 for the Free Software Television - thanks wingo and karlH, for your patience -, watched the launch of another free software based internet TV called YSTV, released more videos from fisl6.0, and helped the Program Committee of fisl7.0.

WRT this last, we've closed the papers review process which is mainly driven by a computer calculated score based on reviews given by selected people. We do not interfere with the process, except that some of us were reviewers also for some tracks. We've notified the chosen and within this week they have to confirm, then we'll start publishing a partial program... We're using a home made free software we keep in our subversion called papers.

Steve Kemp: SuSE / Novell?

If anybody working at Novell / SUSE is reading this and wishes to donate a free license key/username + password for SuSE Enterprise Server 9 that would be great! This would make up for : I suspect that we’ll be moving to RedHat in the future… Other free stuff is always welcome too ;)

1 February 2006

Erinn Clark: Standby passengers love me

Usually waking up an hour after your flight has left is a bad sign -- like, a sign of imminent doom, that things are about to get horribly worse. At least, that's how it usually feels and this being the third 6:25am flight I missed in 2005, I was well-accustomed to that feeling. Luckily I got re-routed through Tampa, then Los Angeles, and I finally ended up in my San Jose, CA destination with a lovely Val awaiting me. She seemed shocked; said I was far shorter than she expected, then she realized I was walking with a group of Stanford basketball players and that, though they dwarfed me, I still managed to have at least an inch on her. (Val is "5'9 and three quarters!", according to her.) A lot of the visit was a bit of a blur. After arriving, I quickly showered, and was promptly told by Val that my skater rat apparel just wouldn't do and that our New Year's Eve party was meant to be dressy. A black shirt and some funky necklace managed to placate her, luckily, as well as my excuse of having just flown in from out of town with no instructions to dress pretty. Off to the party, where I met a load of brilliant and entertaining people, including Lina who was positively heartbroken by the lack of fireworks.
Lina and me in the ballpit The next day included eating vegan duck for breakfast, visiting Google offices for fun (not profit), getting lost with Val in some frightening redwood forest, Indian food in SF with Janet, Jen, and Val. Actually, the Indian food might deserve an entry of its own -- the owner of the restaurant actually spoonfed me, which was bizarre and funny. Afterwards, we went to visit Kristal and laughed at various things, including the most hilarious website ever. "Oh yeah baby, check out my throughput." Of course, that feeling of imminent doom was not entirely wrong. I contracted some kind of California Plague while there and spent my flight back doubled over with body aches, fever, and chills. Overall, well worth it. Happy New Year, everyone!

31 January 2006

Edd Dumbill: GObject subclassing in Ruby

Thanks to everybody who wrote in with suggestions following on from my initial Ruby GNOME investigations yesterday. After talking at cross purposes for some time in a bug report with a Ruby GNOME developer, I was pointed to a good example of how to do what I wanted: subclassing a GObject in Ruby. This is something that the Mono Gtk# bindings do so well, I'd forgotten the required mechanics. Here's a simple subclass of button. I've highlighted the required magic in bold.
class MyButton < Gtk::Button
attr_accessor :hitcount
# tell the GLib object system this is a new type
type_register

def initialize(text)
super("label" => text)
self.hitcount = 0
end

# rather than overriding 'clicked', we must
# override the signal_do_clicked method
def signal_do_clicked(*args)
self.hitcount+=1
super
end
end
The type_register call registers the new class with the GLib type system (something the Mono bindings do for you automatically).  The second key was knowing the name of the default signal handler, which turns out to be of the form signal_do_signalname. So, to follow up yesterday, I hadn't found a bug, merely a gap in the documentation. Thanks to Masao Mutoh for taking the time to answer my questions. For comparison, here's the same implementation in Gtk#. There are pros and cons of both languages. Ruby's succinct attr_accessor is balanced by the neat GObject-aware subclassing and the constructor inheritance of C#.
class MyButton : Button  
private int hitcount;

public MyButton (string text) : base (text)

hitcount = 0;


protected override void OnClicked ()

hitcount++;
base.OnClicked ();


public int HitCount
get

return hitcount;

set

hitcount = value;


Ross Burton: Hard Drive Spindown

To reduce the noise generated by my NAS device (a LinkStation hacked to run Debian) I'm using hdparm -S 120 (spindown after 10 minutes). This seems to work, but now I'm getting this when (I think) it spins back up:
Jan 31 10:29:22 localhost kernel: hda: drive_cmd: status=0x51   DriveReady SeekComplete Error  
Jan 31 10:29:22 localhost kernel: hda: drive_cmd: error=0x04   DriveStatusError  
      
Anybody know why this is, and if I can stop it? I'd ignore it but smartd mails me every time it happens...

Uwe Hermann: Beagle 0.2.1 released - fancy desktop search tool for Linux

Beagle screenshot 1 Beagle 0.2.1 is out. Beagle is a very useful desktop search engine for GNOME (but you can use it with KDE, too, or even without any desktop environment like I do). Despite the low version number it is already quite stable and usable, and has lots of features. It can index all kinds of files and information on your computer (txt, pdf, doc, emails, IM logs, IRC logs, source code, images, music, and whatnot) and provides a very nice (new) search interface (see screenshot). Yes, Google Desktop Search and Spotlight do the same thing, but neither is available for Linux, and neither of them is Free Software. They can "phone home" without telling you and do other funny things. With Beagle you can easily check what it does (use the source, Luke!). Oh, and Beagle can now also parse Ruby files, a simple filter I had written and submitted has been included in the latest release (well, actually it was there in 0.2.0 already, but I didn't tell anybody ;-)).

29 January 2006

Dirk Eddelbuettel: BHL, as reviewed by the NY Times

Having lived in France for a few years in the early nineties, it was hard not to notice BHL. Also called Bernhard-Henry L vy. In France, if you are somebody, you get called by your initials. BHL, the philosopher turned into a media-savvy writer and journalist was just about everywhere. Even I ended buying one of his tomes. [For those unaware of the cult of BHL, compare the very lengthy and admiring French Wikipedia article with the disclaimer-sporting short and sceptical English counterpart, or even, for completeness, the barely existing German one.] Well, fast-forward a dozen years and who marches onto Jon Stewart's stage at the Daily Show this Wednesday: Bingo, BHL himself. In the usual uniform: suit, spotless white shirt, perfect hair, though less of it than in the days. In rather passable English he gets to plug his new book on travelling the States. Of course, it's tough to be French and to write about the US as de Tocqueville is the inevitable comparison... So tough that the comparison has to turn into a take-down somewhere. Today's NY Times has a review of said book that is so highly entertaining that I cannot help but recommend it most highly, even if you never heard of BHL before. If the Times is this vitriolic, I can't even begin to imagine what a review in the WSJ would do to the poor man...

28 January 2006

Holger Levsen: Kernel 2.4 for etch or not

This is a blog entry I wanted to write for about six weeks now, but I was busy with other stuff. In December 2005 I got curious why 2.4.32 wasn't packaged for Debian and investigated the situation a bit.

There are several reasons why 2.4 is still interesting:

- Kernel 2.6 is still a moving target...

- Some hardware is only supported with 2.4, for example older laptops which need APM and don't work with ACPI. Also some non-i386 machines.

- According to popcon, 6-7% of the i386 users have a kernel-2.4 image installed.

Unfortunatly, nobody from the kernel team is really interested in working on 2.4 anymore. They do security fixes for the 2.4 kernels in woody and sarge, for which I'm very thankful, but that's about it.

Even though 2.4 is moving very slowly nowadays (mostly security updates, very seldom new drivers are including), this is more work than needed, because every fix needs to be backported to 2.4.27 (and 2.4.18 for woody).

Of course there are some issues which need to be taken into consideration when thinking about whether it's worthwhile to have 2.4.3x in Etch:

- it needs gcc-3.3 to compile, gcc-4.0 won't work. Period. So gcc-3.4 also needs to supported during etch's lifetime - which will be something like 2009 when etch+1 will become oldstable (by current release cycles)...

- it's not sensible to have powerpc and amd64 flavors, and probably others. So this kernel package will not be arch any. (Which is not really a problem, but unusual.)

- Both kernel 2.4 and 2.6 contain non-free firmware and drivers. I seriously doubt people want to deal with this issue and solve it for 2.4. For 2.6 it will be done, but for 2.4 ? As I see it, this is the biggest showstopper for 2.4 in etch, I would be happy to be proven wrong. As a starting point, you can look at this investigation by Bill Allombert about the the situation in 2.4.25.

Removing those files would be an option, but maybe we can also "borrow a better solution" from 2.6...?!

- if 2.4.32 or .33 shall be used in d-i/g-i, work on this integration needs to be started real soon now.

I have done some work on creating a linux-2.4.32 package which is based on the new kernel packaging. I got busy with videos for debconf-es2, so I didn't finish and commit this.

Horms made a presentation about the kernel packaging in debian for LCA and gave two options: a.) support and backport fixes for 2.4.27 or b.) go with 2.4.32. Somehow he did not consider the option of dropping 2.4 even if he calls it legacy ;-)

Besides technical reasons (security fixes handled by upstream, some driver updates and very few new ones) I think we should not forget that most people have no idea that 2.4.27 in debian is far closer to 2.4.32 than to .27, and therefore will think debian ships an outdated 2.4 kernel. So I think we should simply go for 2.4.3x, if it is sensible to support 2.4 in etch at all.

It "just" needs to be done, and I volunteer to do it (with the help of the kernel team, the porters and anybody else who wants to join), if this work will not be in vain.

Please send comments to the debian-kernel-mailinglist, where I posted this blog entry before. Thanks.

27 January 2006

Benjamin Mako Hill: <cite>Grave Matters</cite> by E. R. Shushan

Last weekend I was in New York again which meant that I had an opportunity to engage in what was, while I was living there, tied with Belgian beer for the status of my favorite vice: one dollar books. One of my more intriguing finds was a Grave Matters: a book consisting wholly of epitaphs. The book was a fun and very quick read In terms of the content, the epitaphs are more than able to speak for themselves. A sampling might include... There are people who seems glad to go, like Lydia Snow:
Gladly I quit this vile, decrepit clay,
To rise in endless youth, in endless day.
Wellfleet, Massachusetts 1816
There are folks like John Young or Richard Hind whose epitaphs are written by "friends" who were being perhaps a bit too honest:
JOHN YOUNG
Those who knew him best deplored him most.
[unverified]

Here lies the body of Richard Hind,
Who was neither ingenious, sober, or kind.
Chestnut, England, c. 1880
There are epitaphs that are just plain confusing like Nicholas Round's:
Here lies the body of Nicholas Round
Who was lost at sea & never found.
Great Yamouth, England, c. 1790
Additionally, the book is full of warnings and clever rhymes -- not of all which seem completely appropriate for a gravestone. While I still suspect it's a little premature, I'd like to borrow from Thomas Greenhill at least in part for my own epitaph:
Earth to earth's shovel up is shut,
A Hill into a Hole is put.

David Moreno Garza: Yes

I just told my boss. I'm moving to Venezuela. It's now official. Everybody knew, except for my boss and he supports me completely: He rocks. Well, it somewhat depends on the definition of 'moving', but I'll be there for more than a couple of months, call it whatever you want.

I'm pretty excited. Time to get tickets. And time to plan actually, again, going to DebConf, which is, from an specific point of view, quite funny Laughing.

For all of them who have asked me for some spare space at my place in Mexico City, it'll be available from May 4th to 24th. But feel free to mail me or drop a line on IRC if you need some space somewhere before or after that period, I have plenty of friends (both geeky and not Tongue out) who would like to host people for a few days.

Now, should I start a petition online in order to abrotman gets decided and come to DebConf?  Wink

Uwe Hermann: Unmaintained Free Software is back (again)

Yeah, it's that time of the year (again)... Unmaintained Free Software is a wiki which collects and categorizes orphaned Free Software projects, in order to find new maintainers for the projects — just in case you didn't know or guess that already ;-) Well, the site was down for weeks (again), hosting support was non-responsive, slow and not very helpful (again), so I moved the domain to another, more pricey server (again), I waited for the domain transfer for a small eternity (again), and finally installed backups and put the site up (again) today. Email is not working yet on the new server, I still need to setup Postfix or something. But other than that everything should work fine, please report any issues you notice. Oh, and I plan for some more neat (technical) stuff soonish, e.g. https/SSL support and a properly signed certificate thanks to CAcert (got me some assurance points at 22C3, thanks to everybody who assured me!). Shameless plug: If you happen to know of any unmaintained project, just add it (it's a wiki). If you have too much time on your hands, go ahead and adopt one of the orphaned projects and eternal fame will be yours!

26 January 2006

Axel Beckert: Athen plans to ban SUVs from the city

According to this Spiegel Online article Athen plans to “ban offroaders” from the centre of the city with the beginning of September 2006. Since the Greek governments argues about the traffic space these cars need, their drivers “only being posers” that have “nothing to do than driving around all the day”, I suspect, they mean SUVs and not offroaders. At least here in Germany, you usually don’t see offroaders in the cities, but a lot of Sport Utiliy Vehicles which usually just pretend to be an offroader (Wired, Guardian) but are perfect for parking with one or two tires on the sidewalk. As outrageous as this sounds — it may have a real and reasonable reason: SUVs are usually bigger than other cars (especially in Europe), they need more parking space and have bad turning circles. They often have to back just to turn left or right in Athen’s narrow alleyways. Because of this, they are accused to cause most of the traffic jams in the centre of Athen I’m still not sure, if I should believe this news, although SUVs are some kind of enemy concept for me. Why only SUVs? Why (AFAIK) also small offroaders like the Suzuki LJ or SJ? Why not being consequent and taking the Paris of ’50s (or ’60s? Can’t remember and Google and Wikipedia didn’t help…) as an example and creating a Zone Bleue (“Blue Zone”), in which only cars may enter, which have appropriate dimensions. “Zone Bleue”? Back in the decades after WWII, Paris had problems with big lorries in the city, so Paris’ introduced the Zone Bleue (AFAIR) in the inner city, which was restricted to vehicles with a floor space less than 5m² or 6m² or so, so even some French car makers started build special “Zone Bleue” versions of their delivery vans with bumpers closer to the van body, tunneled rear lights and rolling shutter instead of outside lying sliding doors. And often high roofs for raising their capacity. (The only “Zone Bleue” van I found pictures of on the net was this Citroën HY Zone Bleue Pickup. You can best see the unusual rear bumper and the tunneled rear lights on the lower left picture.) But back to Athen: Another reason which makes me sceptical about that news is that neither the Englisch Google News nor the the German Google News (also tried several other search terms…) finds any other news about this except the above mentioned Spiegel article. Found via Ignoranz.ch.

Edd Dumbill: Google web authoring stats: less spin please

I've been looking with interest at the Google Web Authoring Statistics report, having just completed an overview for IBM developerWorks of the two contenders pushing forward on HTML, WHATWG and XHTML. A snapshot of HTML tags in use tells us a lot about the current usages of HTML and the take-up of future pathways such as XHTML. That said, I'm quite disappointed with the ways these results have been presented. Firstly, the report as published has no author attribution. From the writing and other sources, I am given to understand it's Ian Hickson, the prime proponent behind WHATWG, but nowhere is this made plain. A date of publication would also be useful on the document. Secondly, the graphs are given as SVG, which is laudable, but leaves those using IE or pre-1.5 Firefox browsers out in the cold. There's nothing in the data that means they couldn't be presented as PNG images. This is simply making a statement about browsers. Thirdly, the report mixes political viewpoints about the HTML standard in with observations about the data. The report references WHATWG's HTML5 in various places without setting it in the context of the various ways forward. Hickson's views over XHTML 1.0 and the text/html media type were presented without recognition of it at least being a contentious issue, rather than a matter of fact. If authorship were attributed, this bias could be contextualised somewhat, but as it is it can only be construed as Google's endorsement of a particular viewpoint. Don't get me wrong, I think this survey is highly valuable and congratulate Google's staff on the work done. I enjoyed reading the commentary very much, within the context I was able to place it in. However, I think Google needs to raise their game here, by attributing authorship and separating the editorialising from the presentation of the results. The exclusion of non-SVG capable browsers from the results is also inexcusable, and rather against the general spirit of scholarship and the web. Fascinating and enlightening as the current report is, without some basic information such as authorship it's hard to take it seriously as an addition to the body of research on the web.

25 January 2006

Matthew Palmer: LCA 2006: The Hackfest

There's a fairly standard set of activities that go on at linux.conf.au each year -- keynotes, tutorials, seminars, miniconfs, BOFs, lightning talks, keysigning, etc. The hackfest is a standard part of the program, but one which (in the past) maybe hasn't gotten the attention it deserves. I think this is because, in 2004 and 2005, the hackfest was a fairly narrow task -- in Adelaide (2004) contestants had to write a tetrinet client (fairly complex), and in Canberra (2005) contestants had to write either a GUI or an AI for spellcast (a fairly esoteric game that nearly nobody has ever heard of). Prior to this year, I'd never participated in a hackfest. I've never played tetrinet in my life, and I knew I had no hope of writing an AI for spellcast. Also, since the contest in both cases ran for most of the week, to be competitive I figured you had to spend all of your spare time working on your program, and there was beer to be drunk, so I decided it was a bad use of my time. This year, though -- phwoar. A totally different problem set, a new way of running the hackfest. Far more approachable for a much broader collection of hackers, and since it was a 4-hour session, you knew how much time you had to invest up-front. I really appreciated that there was something for pretty much every type of competent programmer. One task, for instance, was to build a config GUI for the ccontrol tool, another was to write a Sudoku puzzle generator. These aren't simple problems, but I'd say that most people I'd call a programmer could make a good showing at one (or both) of these problems. At the same time, though, there were some really low-level problems (like optimising a C program or turning some PPC64 assembly code back into the original C function). These were interesting for me, as it's not something that I'd ever touch myself in the normal world, so it was nice to be able to submerge into something like this for a little while. There were even a couple of problems that didn't require much programming skill -- fix a corrupted gzip archive, and fix a corrupted filesystem image. These are difficult problems, but don't (necessarily) require the production of reams of code to solve. To be able to win the competition, though, you need to have a broad range of skills. This is entirely appropriate (although it rules me out of the running) as a true hacker is adaptable to new problems. With the previous competitions, if you happened to luck out and be a tetrinet or spellcast guru, you had the competition in the bag. This competition will slightly favour someone who is a PPC assembly expert over someone who doesn't know much about anything, for example, but your PPC guru (who can't do much else) is going to get 0wz0red by the problem-solving, google-loving generalist. The time limit aspect was a very, very good move as well. It meant that I could accurately estimate, up front, my total time commitment to the game. I didn't have to worry about getting flogged by someone who dedicated themselves day and night to cracking the problems while I was out stonegrilling my dinner and emptying barmates. Now I only have to worry about getting flogged by people who are just Better Hackers -- which I have no problem with. It was also great to be able to switch on the iRiver and bury myself in the problem for a few hours, instead of putting it off all week and then bodging up a poor solution in the last few hours. So, kudos to Chris and the rest of the team who ran this year's hackfest. I really enjoyed this year's competition, and I hope that next year will be equally interesting.

Brett Parker: ARGH! No no no no no no no... Please god *NO*.

From: newsdesk@broadcast.shareholder.com
To: Brett Parker 
Subject: Disney to Acquire Pixar
What? Nooo! Disney aren't allowed to do that! Disney mostly suck, PIXAR entirely rock, PIXAR under Disney control? That's going to be very broken. I'm not liking this idea at all... OK - there's a copy of the evil mail of doom at http://www.sommitrealweird.co.uk/pixar/disney-to-aquire-pixar.txt. Change bad, someone fix it!

24 January 2006

Steve Kemp: Take me to that place I love

Coding
I have resolved to actually sit down and keep working on GNUMP3d until I have:
  • Refactored all incoming request parsing.
  • Updated all HTML templates to use the HTML::Template module.
  • Reorganised each available theme such that it may be easily displayed in multiple languages.
Each of these things has needed doing for a while, but I find it hard to be enthusiastic. Still the addition of new test cases should make it more interesting, and is liable to make the code correct too.
Xen-Tools
It looks like the current version of xen-tools is moving to testing today which means I should be able to upload a new revision tonight. Maybe I should stop obsessing over the migration to testing of packages? I’m not too sure if I’m helping people by trying to make sure there is a “recent” version of each package in Testing before uploading to unstable. (Mostly because I don’t run testing, never have, and know nobody locally who has told me they do.)
Games-Devel
There is a new project interested in group-maintainership of Debian games: details here. I uploaded two packages to the shared SVN repository, but otherwise haven’t done anything. It seems like lots of people have grandiose ambitions, I guess we’ll see how it works out.

22 January 2006

David Pashley: Web logs considered disturbing

I installed awstats today for the first time on my personal domain and reading though the search terms is always amusing, but I got concerned by people finding my site searching for "bonnie langford naked" and "naked bonnie langford". Turns out I was talking about Bonnie Langford in a post about Charlie and the Chocolate Factory and the naked thing was to do with body scanners on the London Underground. But what really worried me was the search for "scott james remnant naked".

David Moreno Garza: On fire alarms

It's actually a bit funny to find some differences on the behaviour of people in other countries. I missed Paul's post about, between other things, fire alarms. It's funny how we act ourselves on the office when the fire alarms sounds.

The very first time it actually sounded it was a peaceful and quiet day at the office. I don't remember exactly what I was doing since it doesn't matter. Suddenly, the alarms started flashing and making a light blink, together with a noisy sound, there it was the fire alarm. What did all of us do? Did we organize ourselves to gather next to the stairs? Did we leave all things and ran outside? Of course not, some of us just raise the sight to see the little thing flashing, saw ourselves like asking: "What do we have to do?", but nobody actually did a shit. The fucking building could be on fire, people could be burning in the 1st floor (we're on the 6th) and we don't know since we are lazy fucking bastards. Some guy, me, put his earphones back in place and kept on playing frozen bubble, some others kept on calling or whatever.

Hours later we knew the fire alarm was activated because, just as with Paul, some asshole was smoking in the halls. What's shocking is how we are not used to do the right thing on emergency cases, we don't care, which is a worrying case.

Even more shocking is that the alarm has been activated like 5 times a week since then and nobody in the building has done anything, when a real fire catches the building, hopefully never, the alarm will be activated, we will ignore it and we all gonna die in fire. This is so different than in Europe.

BTW: Stop titling your mails or blog posts as "For those who care about..." is now boring.

Holger Levsen: On workrave and workplaces

Thanks to David Pashley I have discovered workrave, a tool with the aim to help you prevent RSI. I find it really useful, though in the beginning it sometimes feels annoying, for example when you're in the middle of doing something. After two days of using it, I'm slowly changing my habbit of clicking on the "postpone" button in those cases, as this a.) leads to another interrupt soon and b.) means even more finger movements (to click on the button and getting back to work).

Taking the breaks as adviced (I've only changed the defaults slightly) is really relaxing in my experience and even if I'm in the middle of doing something, I don't loose my concentration if I pause for 25 seconds and relax. I do loose more of my concentration if I do use the postpone or skip button :-)

And it's also not only helping preventing RSI but also back pains (which are related in my opinion / experience as one of the core causes for RSI is bad posture which also leads to back pains) and those breaks also help not to forget to eat and drink, which sometimes happens during hacking sessions.

So I'm a happy workrave user now, even though I'm still annoyed by bug 348845 - which I would happily fix myself if the sources for the images were available...

Which brings me to the topic of content being unsuitable for "the" workplace, because it offends people. I am offended, but not really surprised, how many people (and workplaces) seem to be offended by mentioning lesbians, but not for sensible reasons but because of the sexual reference. Heck, even Microsofts CEO seems to happily get along with gays, lesbians, bisexuals and transgenders even though Microsoft as an american company has to fear those (christian) talibans, which is not the case for Debian.

And you really shouldn't blame anybody else except yourself if you visit non-work related URLs during your working hours.

Edd Dumbill: Firebug: neutralizes nasty niffs

Sometimes, coding for the web is like having a co-worker with a body odor problem. Everyone's far too polite to say anything, so you all put up with it and nobody tells the poor smelly soul. Meanwhile, they sense something's wrong but don't know what. Web browsers are so insanely great at making sense of tag soup, that if you code only for the end-result--a reasonable strategy, adopted by most when starting out--you can get into all sorts of tangles. Misery ensues: you're stuck with days of fiddling in the dark. You know something's up, but it's hard to see what's going wrong. In that sense, browsers are lousy at one half of Postel's law. They get the "liberal in what you accept" bit right, but they don't help the developer one bit in implementing "be conservative in what you do." Using three or four different validators for HTML, CSS, etc. often helps a lot, but the state of the browser as an integrated development platform leaves something to be desired. Firebug is a Firefox extension that goes a long way to providing integrated web application debugging. It is a full-featured error console that shows your errors in Javascript, CSS (a godsend!) and XML. Not only that, but it does full logging for XMLHttpRequest calls, so it's a powerful tool for debugging AJAX applications as well. Firebug also manages to bundle in a DOM inspector, and a command line for evaluating Javascript. With these features, Firebug should let me throw out about four separate extensions I already had installed that do a similar thing. The final star turn in Firebug's act is a Javascript call to log information to its console, the equivalent of the all important debugging printf() call in C. I hope this means this will make it easier to deploy things such as unit test frameworks for AJAX applications. Firebug in action on the BBC home page Although its author Joe Hewitt cautions us to remember that Firebug is still an alpha release, I'd still recommend rushing to install it. If you're developing anything for the web browser this year, it's the most important tool you'll find. While it won't rid you of the problems of cross-browser compatibility, Firebug will speed you in uncovering the smelly bits of your web application.

Next.

Previous.