Search Results: "bab"

15 January 2006

Matthew Palmer: Evolution vs Revolution

To rewrite, or not to rewrite, that is the question. If there's one thing programmers seem to love doing, it's rewriting a piece of software from scratch. Which is funny, because "the industry" spends a lot of time bemoaning duplication of effort and generally touting "reusability" and "component-based software development". Joel on Software has a fairly good treatise on why rewriting software, in general, is a Bad Thing. I may not agree with him all the time, Joel is always worth a read, and I certainly can't fault his reasoning on this issue. My primary experience with rewriting software, as with most things software-related, is in the Free Software world. Although I've been involved in (or led) rewrites of proprietary software in the past, I've seen a lot more "let's rewrite it all" death-marches in FOSS. While I wouldn't characterise them universally as "failures", they don't seem to have the beneficial effect the authors were probably hoping for. What does seem to happen, in these FOSS projects, is that the developers squirrel themselves away in their backyard labs, using the latest and greatest in software engineering processes and tools, to produce... the same end result. (If you produce something totally different, it's not a rewrite, it's a new piece of software that does much the same things as the old one). When I say "the same end result", I mean exactly that -- it does the same thing, the code is still subject to coderot over time, and so on. It doesn't seem like much useful output has been produced. So why do we do it? Joel gives some good reasons (and why they're not such good reasons). Rewrites always take a very, very long time to do. It's in their nature. They're also very demoralising -- you're not really creating anything new, you're just recreating existing functionality. In the beginning, though, it's amazingly exciting -- a whole new world of bugfree code, an engineering marvel, something for the annals of software history. But several months later, as your new code is becoming cruftier by the day, and you're just duplicating functionality that already exists, you get bored. And boredom is the death knell of FOSS projects. I presume that this excitement-fading-to-boredom progression is why everyone starts rewrites, but they're often abandoned (or, at least, take a lot longer to complete than estimated). I'd make a comparison to that favourite target of unfair comparisons, marriage, but I know my wife reads my blog, so I won't. <grin>. This boredom factor is what has affected the python-appserver backed rewrite of IRM (from php3-style PHP). I took on maintenance of the existing PHP codebase over a year ago, and the rewrite had been in progress for a while at that point. IRM now has a bunch of useful new features, and there still isn't any indication of a useable tarball emerging from the rewrite. A rewrite in progress is a terrible thing. It tends to make people wary of working on the existing codebase, if it's going to be a deadend. Without something to work on, they'll tend to wander off to other projects. However, sometimes (due to existing deployments), users will work on the deadend. If the developers have been more-or-less neglecting the existing codebase while they take on their glorious rewrite, then the rest of the world is going to have been playing with and tweaking the existing code, adding their own improvements and modifications. The result of this, when the new rewrite finally releases, is that there's great wodges of third-party code that's incompatible with the rewrite, and a large chunk of your userbase says "stuff it" and sticks with what they know. This is what looks like happening in the world of SysCP. A few days ago, I found out that they're planning on doing a rewrite from the functional-spaghetti-PHP of the current version to the cult-of-MVC-PHP. This is nice, but their current estimate is of a first RC release in February. I take this estimate with a boulder of salt -- for the full collection of usual reasons (boredom, real life, overoptimism, etc). The fact that there's not a huge amount of movement on the commit log doesn't inspire confidence, either, and despite early claims of a massive development team, only one person has been committing recently. In the meantime, I'm tasked with adding a number of small features to the current SysCP codebase, which we need for work. When the rewrite comes out, it's highly unlikely that there will be a business case for rewriting my features for the new code, and it's not likely that the features we need will make it into core. So, SysCP will probably fork -- the old, featureful, crufty codebase, vs the new, shiny codebase. If there's sufficient new features to warrant an upgrade, we'll take the plunge, but what SysCP does now is very close to what we want, so it'll take a fair amount of shiny! to get us to move. This is a general issue of software development in FOSS -- if you take your eye off the ball, for any reason, someone else will probably pick it up and run with it. Your rewrite will be a completely new project, and you'll get some of the users and the fork of your old codebase will continue to live on in another guise. Let's face it, though -- your code is going to accumulate cruft. Over time, it morphs into this bletcherous pile of huge functions, multi-purpose classes, and reams and reams of bug reports. How do you deal with this cruft? Surely at some point it's easier just to throw it out and start again? Reality says no. Joel gave the key advice in the article linked above (go read it if you haven't already -- seriously), and it's strongly hinted in my article title. Don't revolt; instead, evolve your codebase. Tweak it, evolve it, move it slowly (and compatibly) towards your utopian ideal of perfect code. You won't get there, but you'll almost certainly get closer by gradual and continuous improvement than you would be going back to the start line and walking in a different direction. There's one big question that's nagging at me, though -- what happens when you want to switch languages? I'm loving Ruby on Rails at the moment, and so are several other people at work, but we've got (both personally and professionally) huge swathes of code in PHP (and other second-rate languages) that needs to be dealt with. It's a lot harder to evolve code into a different language than apply a gradual degunking. I have a number of ideas on this point, but I'd love to hear your ideas too. In a few months, I'll have a lot better idea of what works and what doesn't in massive PHP to Rails conversions, and I'm sure everyone out there in the blogosphere will hear about them in due time.

Axel Beckert: Next planned shell efficiency talks

Today is the deadline for proposing talks for this year’s LinuxTag (3rd to 6th of May, Wiesbaden, Germany) and last week was the deadline for talk proposals for this year’s Chemnitzer Linux-Tage (CLT, 4th and 5th of March 2006, Chemnitz, Germany). For both events I submitted my already at other events held Shell Efficiency talk. For LinuxTag I marked the proposal as “German preferred, English possible”, so if they ask for the English version, I’ll offer the slides in English, too, of course. I’ll probably also build a DocBook version of the talk, since LinuxTag prefers the DocBook format. But even if these both talk proposals are not accepted, I’ll be on both events together with the rest of the Symlink crew and have fun! ;-) Additionally I will hold the talk a few days before CLT on Thursday the 2nd of March 2006 at the New Thinking Store in Berlin-Mitte, Tucholskystraße 48 at 19:30 (which is unfortunately in parallel to this year’s German Perl Workshop from 1st to 3rd of March 2006 in Bochum). The entrance to the talk is free. (Thanks to Sven Guckes for suggesting this talk and bringing me in contact with New Thinking.)

Now Playing: Jethro Tull — Orion

14 January 2006

Bartosz Fenski aka fEnIo: Debian GNU/kFreeBSD

When I bought notebook I had to find out some use for previous box. It was great opportunity to test etch installer (and my Polish translation at the same time) so I did it several times using miscellaneous settings. Eventually it was time to find out some real use for this box. I decided to try out some non-Linux port of Debian. The most stable and actively developed seemed to be kFreeBSD.
I installed it about month ago. I must admit it works great despite some initial stability problems related to buggy mount, quickly workarounded with help from people from #gnu-kbsd channel. (thanks!)
I use it mainly as a backup machine and small www server, but since it handles it without a hitch I'm probably going to make it also print and Samba server.
I was sceptical to GNU userland used with non-Linux kernels, but admittedly we're getting closer and closer to the day when switching between kernels would be piece of cake ;)
(fenio@kfbsd)~#uptime
 15:36:57 up 21 days,  6:23,  1 user,  load average: 0.23, 0.08, 0.04
(fenio@kfbsd)~#
As you can see it works. It lays in one of my wardrobe, without the case and unplugged from any external devices. I couldn't remove graphic card due to some weird BIOS limits, so it has some PCI card worth less than the beer I'm drinking now ;)
Here's its photo. Sorry for quality, but I don't have any camera around, so it's made with my cellphone.
bsd
If someone wondered if non-Linux Debian ports are worth try, then I have to say YES, THEY ARE!
Using this opportunity I would like to thank everyone involved in their development. Keep up the good work!
Now it's time to give a try to Debian GNU/Hurd... have to start gathering the hardware for that ;)

Brett Parker: New Django Packages

I've just finished uploading new django packages to my repository, the python-django packages are now 0.91, so if you're using 0.90 beware! There are backward incompatable changes, it's probably worth reading http://www.djangoproject.com/weblog/2006/jan/11/091/ and then follow the links for the 5 backwards incompatable changes and fix your apps to the new system. I've also updated the python-django-magic-removal packages to the latest svn (or it was the latest svn when I built them ;). Oh, and a symlink has been added to both packages to link in to the admin-media nicely (OK - so I got bored of editing the python each release to point to the /usr/share location, and this works nicely and simply, I hope. Thanks for the pointer James! :) Oh, one other thing, there's a patch in the debian 0.91 version that means that the startproject part actually generates a settings.py with the "right" timezone and language. I haven't patched the magic removal branch with this (hey, if you're using that, I'm sure you can edit the settings.py and catch those yourself ;) Play, have fun, report bugs at me! (or something)

Christian Perrier: Perfect Major meme

Well, shame on me, this is again a meme I participated in, probably because Axel mentioned that this quizz gives more interesting results. It appears that I should be a Chemistry major, which I actually am (my career in computing began after a PhD in Materials Science and a the french equivalent of a Master in Chemistry).. I should also by graduated in Linguistics, what a surprise...:-) Also scored 75% for Theater which kind of a surprise as I'm sometimes a bit shy in public. Art and Dance scores are very low which is not a surprise at all as well. Quite an accurate quizz indeed.
You scored as Chemistry. You should be a Chemistry major! As if that isnt clear enough, you are deeply passionate about Chemistry, and every single chemical reaction and concept fascinates you. Pursue that!

Chemistry
83%
Linguistics
75%
Theater
75%
Engineering
58%
English
58%
Sociology
58%
Biology
50%
Journalism
50%
Psychology
42%
Philosophy
42%
Mathematics
42%
Anthropology
42%
Art
33%
Dance
17%

What is your Perfect Major? (PLEASE RATE ME!!<3)
created with QuizFarm.com

John Goerzen: You remind me of a story...

It seems that lately my presence seems to remind people of stories of me as a child. I heard a new one tonight from the person that was my Bible School teacher in 2nd or 3rd grade. Apparently, each day of Bible School, one child would bring in something for show and tell. There were toys, dolls, maybe a pet. When it was my turn, I brought in something I was very proud of: my adding machine. She asked me if I remembered this. "Nope, but it sounds like something I would have done." I told Terah this story. She said, "You probably just brought the adding machine because your parents didn't want to have to carry the whole computer to church." I remind people of other stories too. My mom likes to mention that, when I was maybe 2 years old, I wanted to sleep with a real light bulb instead of some stuffed animal. She was a bit concerned about the safety of that, and apparently was only able to convince me to stop when she found an eraser in the shape of a light bulb that I accepted as a substitute. Mom also likes to talk about my birthday or Christmas requests at that age: a "good-quality vacuum cleaner" and 12 ceiling fans. My uncle tells me of the time I had a conversation with a math professor, when I was maybe preschool or kindergarten age. I had no idea who he was, but apparently was quite proud that my new calculator had a square root key, and told him how important it was to have that on a calculator. It's not really fair, though -- Terah doesn't call up lots of stories in people's memory. So I have to help out a bit. I mention her underwear rotation system, or this story: Terah has always been a big fan of deserts, and especially ice cream. Apparently her parents had a lot of trouble when the ice cream truck came around -- Terah always really, really wanted lots of ice cream. They thought that if they started calling it the "yuck truck" that Terah might think it only had nasty food. Nope, didn't work. She just started getting excited about the yuck truck. I also have no problem hiding gifts from Terah. She knows exactly where I keep them, but she's concerned that maybe that particular room can't keep out mice very well. So, to her, I keep gifts in the "rodent closet". Although she'd really like to snoop, she just can't bring herself to do it. Very handy as far as I'm concerned.

Axel Beckert: Quiz'n'Meme time again: What's your Perfect Major?

Although the recent Inner European quiz meme is currently much more popular on Planet Debian, the following quiz somehow shows how the result of such a quiz should look like and what the quiz system, which the Inner European quiz used, misses: Having more than only bit-like answers. With answers like this, neither I would have had to change answers to see how close I was to different answer nor would have Christian Perrier had to do the quiz with worst fitting answers.
You scored as Engineering. You should be an Engineering major!

Engineering
100%
Philosophy
92%
Journalism
92%
Art
83%
Mathematics
75%
English
75%
Biology
75%
Chemistry
75%
Theater
75%
Psychology
67%
Sociology
67%
Linguistics
50%
Dance
42%
Anthropology
25%

What is your Perfect Major?
created with QuizFarm.com
Since I always saw computer science more as an engineering discipline than a derivative of mathematics (at least the way I studied and like it ;-), I seem to have taken the right major. But also most of the other highscorers aren’t that unfamiliar:
Philosophy
Well, if you see how much philosophy is behind open source or politics, being engaged in open source software and interested in politics doesn’t seem to be that wrong. ;-)
Journalism
I like journalism somehow and I sometimes think about if this could have also been (or even be) a nice profession for me, especially since I managed to combine journalism and computer science in being an editor at Symlink.ch, a Swiss based and German written news and discussion site all around Open Source, IT politics and privacy. Sure, it’s no professional journalism and also not classical journalism, since it’s built on the same ideas (and software) as Slashdot.
Art
If I would have more time and leisure, I probably would also try to draw, paint or sculpture more again as I did during my school time. And since my brother and my mother are both active artists I expect that the results wouldn’t be that bad either. ;-) On the other hand, I also like to design CSS styles which IMHO can also satisfy my artistic bone…
Mathematics
Although I see more the engineering than the mathematics in computer science, mathematics still was one of my two majors in school (the other was physics) and in comparison to many other people I can say that I like maths.
English
That’s the only thing IMHO not fitting in here in such a high position since I’m neither good at foreign languages (see my English in the blog… ;-) nor do I like studying languages. And even if I should see that as “Literature” or “German” (my mother tongue) instead, it just doesn’t seem to fit. (Ok, journalism also has to do with language(s)…)
Biology
Biology was the voluntary science course at school I took until I finished school. At university it became my minor subject. I wonder why it’s that deep down in the statistics?
Chemistry
That was my second voluntary science course at school, but I dropped it before I finished school.
Theater
Well, no, I don’t think that actor would be good idea for me…
Psychology
I’m not sure, if sometimes being glad not to understand how my brain works is a good base for diving into psychology. (On the other hand: Would I write so much text about this quiz, if I’m not at least a little bit interested in psychology? ;-)
Sociology
That’s again more interesting.
Linguistics
If this can include computer linguistics, than it’s definitely something interesting for me, since it usually involves artifical intelligence and I wrote my diploma thesis about an AI subject and our research group did work a lot in the area of computer linguistics.
Dance
No. I’m glad it’s that far down there. Just wonder how it got even 42%.
Anthropology
Well, that’s again an interesting subject, but probably not a subject I would work in. So being that far down is completely ok.
So in general, I think the quiz works mostly fine as well as I probably did choose the right subjects for me. *grin* Only thing I missed in this quiz was Physics as a possible result since I don’t think, it’s impossible (especially compared to the rest of the result) that I haven’t scored for anything typical for physicians.

Now Playing: Falco — Mutter, der Mann mit dem Koks ist da!

13 January 2006

Ross Burton: Webcam

This week I gave in and bought a cheap webcam (a Logitech QuickCam for Notebooks Deluxe or something), primarily for the upcoming OpenedHand VOIP service (update: this is not a public service, just SIP addresses for OH employees!), but also to record what Henry is up to when we leave (we want to know how long he cries for when we go out). Happily it worked straight out of the box with Ubuntu Dapper (using the spca5xx module): Me! It works well in GnomeMeeting too, so all I need now is a good simple tool to record from the webcam to disk, ideally in Ogg Theora. Any suggestions? A GStreamer pipeline would probably do the job for now, as I can wrap that up in a nice Python UI if I need to. NP: Storm, Heather Nova

Guido Trotter: Great discovery!


Your Inner European is Italian!


Passionate and colorful.You show the world what culture really is.
Who’s Your Inner European?
I usually refrain from publishing test results, but this time I couldn’t resist, since the result was kind of interesting: it seems in fact that my inner european is Italian… Of course I’m actually Italian, so that may have something to do with it! ;) Update: It seems me and Christian are similar: Answering the european test with reverted answers as he does the result is the same: I’m definitely not spanish too… Probably because of my allergy to dances and too-loud parties! :)

12 January 2006

Antti-Juhani Kaijanaho: John Ringo: Princess of Wands

Somehow John Ringo’s latest, Princess of Wands, reminds me of another book he’s written recently. Both have the overtones of some sort of literary self-congratulation. In Ghost’s case, I counted that as a fault. In Princess of Wands‘ case, I count it as a strength. Both books are also episodic rather than regular novels, but the similarities end here. One problem in reviewing this book is that one cannot really discuss much of the setup without writing major spoilers. The cover blurb takes one approach: describe what the reader learns within the first five pages, who cares that the picture that gives one of the book is completely wrong. Unfortunately, the cover blurb is so misleading that it can make people ignore this book even though they should have picked it up. The genre is urban fantasy. The main character is a devout Christian soccer mom who finds herself in an adventure. The magic system and the ontology are quite interesting. There are battles with evil. There is a con. The publishing house itself, Pier… erm… Baen Books, as well as some of its authors, make an appearance onstage. (In fact, if you aren’t a barfly, you’re going to miss some of the fun like I probably missed a lot of it, never having visited a con where Baen people gather.) I found it a satisfying read, especially the middle episode. The final episode was so short that it didn’t feel well balanced, but it’s a minor issue. However, I would probably hesitate to recommend this book to a certain kind of Christans: if you think Harry Potter is evil, don’t come near this book. Overall, I’ll rate this book 4/5.

Sam Hocevar: TERROR ON THE DESKTOP

I could not help but add my little contribution to the fantastic Hot-Babe debate.

Sam Hocevar: No subject

Wow, one year and a half without any entry in this public place. I'm still maintaining my private diary, but since people complained I wasn't updating this one, here are some news: I now live in Paris, somewhere between Tour Eiffel and Arc de Triomphe. Cute place. Still haven't got my diploma, but everything should be finished on Tuesday. Ex-gf going out with absolute moron, which should theoretically suck generous amounts of raw eggs, but actually I don't care. Going to ride da world on a snowboard in 2 weeks. ph34r! And if everything goes well I'll start my PhD in less than two months. ph34r t00! Going to FOSDEM tomorrow. Coding. Drinking beer. Making fun of RMS. Giving my GPG fingerprint to people I'll never ever see again. Drinking beer. Bwahahahaha. I closed 22 of my Debian bugs tonight. I should be happy, but since some of them were more than one year old I think I probably deserve a kick in the butt instead... VLC 0.5.0 is out, and it's awesome. Shitloads of new codecs, DVD navigation, support for transcoding, remultiplexing, remulticasting, an UGLY METAL SKIN on OS X (because Steve said metal was good), a thread-safe Mozilla plugin, and it even works under retarded systems like BeOS, Hurd and WinCE. Cool.

Sam Hocevar: No subject

Debian: posted 10 ITPs for various packages I had been using or packaging for a while. I'll probably retract one of them (dgen) since I was pointed out that it wasn't as free as I though it was. Gnome: lines of Gnome fr.po files corrected: 27,334 -- lines of Gnome fr.po files still to check: 166,148. Ouch. School: my BOFH anti-doubleclick campaign seems to work pretty well. No complaints yet, and almost 30,000 daily hits on the empty-banner generator. Leisure: played powermanga during all the night. A really nice oldschool vertical shoot'em'up. And it's free, madam !

Amaya Rodrigo: How cute can it get?

For fun and profit^W insomnia...

Back to my usual state where I can t sleep *at all* at night , browsing through the xlibs-dev transition bugs, I came across #346764, where upstream for xbubble submits a patch himself to help in the transition. Let me repeat that: upstream sending patch for Debian transition!

Even upstreams are on our side! Beautiful! Can anyone beat that?

BTW, upstream says: Note that the last one is not really needed (libxt-dev) by the build, but only by the .configure I use as upstream maintainer and that I should probably fix. Any help welcome on this one, too ;). So ladies, gentlemen, el bal n ahora est en nuestro tejado, or the ball is on our court now.

(Shameless plug: Still waiting for help in packaging newest upstream gtk+extra, see #347397).

11 January 2006

Brett Parker: Woo!

We have a new django release, 0.91... I'll package it RSN... but here's some forewarning for those of you out there using the python-django packages... there's some backwards incompatible changes from 0.90 to 0.91, it's probably worth reading http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges if you are using django. The next real little boy^W^Wrelease will have the magic-removal branch merged in, so that'll be another set of backwards incompatible changes (if you want to stay ahead of the game though, as I said in my previous blog entry, there are some packages for that branch too ;) Fun fun fun fun fun!

MJ Ray: Phone Companies and bad selling

Martyn is having trouble with Orange and their minions over his mobile phone. I've had trouble with British Telecom (and again) following leaving them in 2004. I'm not writing more about it yet, because it's still ongoing, but I'm also having trouble with the company I moved to after BT, who used a similar sharp contract renewal practice to the one troubling Martyn, as far as I can tell. I do have a good solution for fixed lines and I'll write more here once it's ready. My advice to anyone who finds themselves on the receiving end of these bad contract attempts: Get leaflet OFT 143 on Unfair Contract Terms from the Office of Fair Trading web site. If you've never had details of the minimum term of the contact, it's probably void. Finally, if you want a better mobile phone deal, try the Consumer Association's Switch with Which site.

MJ Ray: The Walks and Cycling

The Walks Management Forum meets on Thursday 12th January at 6pm at the council's main offices meeting room 1. I think it's open to public viewing (like most council meetings), but the public can't speak (like most council meetings - grrr), only members. Send me any comments that you have on: Internal Drainage Board works on the Gaywood River; landscaping works in St James Park; bat "mitigation" measures; or foundation design for the new kiosk and footbridge; and I'll pass them on. As part of the Walks project, I'm trying to get the potholed, overgrown and sometimes awkward cycleways brought up to standard. The Walks has three long off-road paths which offer vital "greenway" connections from residential and industrial areas to parts of the town centre, including the rail and bus stations, cinema and library. Here's the last draft I have for a current tricky junction: St John's/Blackfriars cycleway junction proposal The "mini-roundabout" effect will probably be lost, to use the effect of missing markings to make people slow down. If you have comments on this, especially if it links to Sustrans advice, please email it to me (follow permalink for address).

MJ Ray: Hallenfu ball and the FA Cup

England's football fans had the pleasure of random football scores last weekend: the FA Cup. Why is there so much expectation of upsets? I think it's partly because the match is at an ideal time to help level things out, especially if it's at a non-league ground:
League clubs
  • usually full-time
  • 4 or 5 games over the holidays
  • mostly still negotiating new players
  • some of their players seem to expect it to be easy
  • usually play on expensive, well-kept pitches
Non-league clubs
  • often part-time
  • 3 games over the holidays
  • often introduce new players in the cup match
  • many of their players relish playing a top club
  • probably have a pitch more damaged by winter
Meanwhile, the German Bundesliga closed before Christmas for a winter break until the end of January. During the break, Bundesliga teams take part in indoor football tournaments, some of which can be seen on DSF. It developed independently on demand and so the rules are a bit different to 5-a-side, powerleague or futsal. I still don't understand them all, but it plays like a cross between ice hockey and football. I found a bit about its history in a discontinued Bundesliga FAQ. Once the Bundesliga restarts, I expect it'll be back on Sgorio. Finally, watch English league cup (which isn't FA Cup) semi-finals free-to-air on German DSF...

10 January 2006

Brett Parker: Some Shiny New Packages!

I've just packaged the django magic removal branch (well, kinda, it's more or less the same build system as the other django packages I made, so these aren't quite right, but they're good enough for the time being). They're in the same place as the other django debs, and compiled for sarge and sid... for those without the previous URL...
deb http://www.sommitrealweird.co.uk/debian stable django
deb-src http://www.sommitrealweird.co.uk/debian stable django
or
deb http://www.sommitrealweird.co.uk/debian unstable django
deb-src http://www.sommitrealweird.co.uk/debian unstable django
The package for the 0.90 release is called python-django, for the magic removal branch it's called (unsuprisingly) python-django-magic-removal. The magic-removal packages conflict with the other packages because they plonk their files in the same place, so if you're trying to 'upgrade' between the 2, you'll probably need to use some magic (or apt-get install python-django-magic-removal python-django-). I'll try to update these reasonably often (like whenever I get a spare moment or 2 to build them). That should cover it for now.

Jonathan McDowell: Welcome to the suck

Matthew, I saw a poster for this today and thought of you. JD will probably welcome you when you get there.

Next.

Previous.