Search Results: "ag"

4 April 2006

MJ Ray: Psst, wanna invest?

I received a message asking if I knew anything about a company [...] and today I got a pretty funny follow-up: "my friend had put me down as a contact, so these people called me up over the weekend and offered to meet up. I did, and it was the most amusing meeting. ... [more on my page]

MJ Ray: KohaCon 2006, 2-3 May, Paris

"We'd like to extend an invitation to libraries, developers, media and library supporters to attend our first conference. This event is the first formal gathering of the wider Koha community, including developers, users and supporters [...] Registration is free but essential." [link to conference web page]

Simon Richter: My plans for the easter weekend

I have a number of things I'd like to get moving in Debian. One of them is the idea of splitting the Depends: field into This helps at two places: it allows, together with an ABI: tag, to handle transitions mostly automatic, even without the need to alter the names of library packages, and it allows packages to support being installed into a root filesystem with a different architecture. The former s

Andree Leidenfrost: I'm on Planet Debian!

Thanks to the indefatigable and ever helpful Amaya, I'm now on Planet Debian! Thank you also for your nice introduction, Amaya! :-)

Just to drop a few words about myself and what I do:

I am an expatriate German and have lived in lovely Sydney for almost seven years now. I work as an IT professional mainly programming and maintaining SAP systems.

I have been a Debian user for about a decade now and finally decided to become a maintainer almost two years ago when I started to get involved with the mindi and mondo packages that form the quite neat, flexible and versatile disaster recovery suite Mondo Rescue.

It turns out that I got sucked into Mondo Rescue upstream development reasonably heavily mainly because it is quite a low-level tool and thus needs reasonably extensive tweaking to get it to work properly on Debian (or any other distribution for that matter). Upstream (at the time) wasn't all too fond of Debian, but I was given CVS commit access pretty early on which suited my fine as I could commit my fixes directly upstream.

Since about half a year ago, upstream has become much more active, mainly thanks to Bruno Cornec (sorry no link), the new lead developer. So, hopefully for Etch, we will have a much cleaned-up codebase and fully operational RAID and LVM2 support! In the meantime, give Mondo Rescue a go - it is quite cool as it is right now! ;-)

Hopefully, there will be some time soon to look after a few more (maybe less demanding) packages and to get more involved in Debian in general. Oh, and hopefully I'll be a real Debian developer soon - DAM approval on 27 Mar looks promising - thanks, Joerg! ;-)

Erich Schubert: Intel PRONoMgr.exe

Whoever came up with that name, he really made me think that Windows box had some trojan on it. But the "PRONoMgr.exe" doesn't handle P0rn, but is for managing the Intel gigabit e1000 adapter. I don't think it matters if you kill it, it probably only displays that icon in your system tray.

Matthew Palmer: Rewriting in Rails -- A Practical Examination

[Note: this article was mostly written some weeks ago; I left it in my "to be edited" box and then promptly forgot about it. So any and all temporal references are way out of whack. Since originally writing this article, I have commenced an incremental rewrite of an in-house business management application from crazy-PHP (a common -- some may say overwhelmingly so -- dialect of the language noted for it's complete lack of any sort of good software development practices, such as the creation and use of functions (!)) into Rails. Articles on this effort will be appearing presently.] Almost immediately after I'd finished writing my previous discussion on why rewriting software is evil, I decided to make a little experiment. What I did was take a fairly well factored PHP application, and rewite (a portion of) it in Rails. My intent in this was not to produce a production-quality rewrite. I have no interest in proliferating yet more functionally equivalent clones on the world. Instead, I undertook the work simply to get a feel for (a) writing a whole, traditional, Rails app in a short space of time, (b) how quick Rails really was to produce an application, and (c) whether wholesale rewrites really are as boring and life-sucking as I imagined them to be. My methodology was this: with a small amount of knowledge of the target application (SysCP), the existing database schema and templates, and a weekend, rewrite as much of SysCP as I could in a close-as-possible reproduction of critical SysCP functionality. My summary results are: rewrites are as boring as I thought they would be, Rails is powerful but fairly complex and slightly buggy when you get down into it (especially if you're working from an existing -- possibly suboptimal -- database schema), but overall, Rails is Way Good Stuff. On the boredom aspect -- I had two days to write code. I had some domestic duties to attend to (walk the dog, visit the hardware store, help my wife with attaching a new bag rack to her bike, mow the lawn, etc) but on the whole, it was dedicated to programming. I've spent whole days (hell, 40 hour marathon stretches) cutting code before. I knew this wasn't a six-month deathmarch, but only a weekend experiment. Despite that, I feel that my motivation levels were lower than they normally are when coding. I can only imagine what it must feel like, two weeks into several months of hard core coding, knowing that you'll end up with what you had before, functionally speaking. If you are going to do the rewrite thing (and may the Flying Spaghetti Monster have mercy on your soul if you do), then pick the right project. SysCP is large masses of tangled PHP (is there any other kind?) but it has a fair amount of local and global structure once you get down to it -- for instance, it's quite well factored into business logic and display, and the code is broken down fairly logically by action handler, so you get entire source files that look like this:
  if ($action == 'edit')
   
    // 150 lines of twisty passage PHP
   
  else if ($action == 'new')
   
    // Another 150 lines
   
  // repeat for another few actions
and so on. The nice thing about this is that, if you have to look for how something works, you can almost certainly find it in one place in the source. Deciphering it might be another matter, but at least you've got something to start from. As I mentioned, the display in SysCP is pretty nicely split off from the logic -- a large number of templates, with common header/footer files, with some small parts in common templatettes. Some HTML is still generated within the actions, but due to the above action-based structure, it's usually fairly easy to identify all of the HTML that will be associated with a particular action and turn it into a coherent Rails template. I would dread doing a rewrite of the presentation layer of, say, IRM. It's idea of well-factored presentation is to separate print statements from logic by a blank line. To my great shame, I've had the reins of IRM for a year, and it's still this bad. I claim it's because I hate HTML coding with a vengeance, but I think I'm actually just scared to try and tame that particular monster. (Update: Martin Stevens has been doing some good work turning IRM's HTML into Savant templates. The only downside is that I can hear his manic laughter -- caused by IRM's insanity slowly infecting him -- all the way from England, and it's keeping me awake at night). I also had to re-learn that most hated but most important of lessons -- that, no matter how much reading you may have done, until you've cut chunks of code in a language or environment, you have no idea how it actually behaves in your brain. Specifically, I spent a fair amount of my alloted rewrite time learning a few little lessons in how Rails actually behaves, and all of it's cool little features. Of course, everyone is going to have this pain, and I've suffered it in every language that I've done any appreciable amount of programming in, but it's always a shock to the system that -- after all this time programming -- a new language still makes my brane tingle curiously for a while. Luckily, I'd read and digested all of both the Pickaxe (Programming Ruby) and AWDWR (Agile Web Development with Rails) so I knew what was possible, I just usually wasn't sure how exactly, so I spent a lot of time with my head in the books. Rails' little foibles also bit me in the bum more than once. For example, I spent over an hour (a no foolin' hour) trying to hunt down what I was doing stupid in my code to make Rails completely forget about the value of a couple of my fields. The answer turned out to be to restart Webrick (Rails' internal webserver for development testing), and the problem cleared right up. You could hear my screams of anguish from the moon (even through the vacuum of space -- it was a lot of anguish). Rails isn't the Final And Ultimate Solution To The Webapp Problem, but it's a good start. There is near-zero administrative bumf when you're writing a Rails app. Rails is fairly intelligent about working out what you want done from the world around it. Code generators (which produces sensible, minimalist templates -- not the ugly, unmaintainable behemoths produced by Visigoth Studio, which has given the whole code generation world a bad name) handle a lot of the low-level "oh bugger, I have to add a new file" feeling. It's very, very anal about project structure, but (in contrast to many other bondage-and-discipline frameworks I've looked at in the past) this structure seems almost comforting (maybe I'm just getting old and turning into a satisficer). What all this means is that you (a) don't write much code unless it moves you toward your goal, and (b) Common structure means that any Rails app will be fairly familiar to an incoming programmer. Unfortunately it also means that cunning wankers will, sooner or later, work out a whole pile of ugly tricks and contortions to get themselves out of Rails' comfortable-but-no-doubt-incompatible-with-many-people's-ways-of-thinking straitjacket, which I will (sooner or later) end up maintaining. Like many of Rails' (and Ruby's) features, though, I don't see them being any more abusable than most features of any programming language or environment -- and at least they're powerful and useful (unlike, say, register_globals, magic_quotes_gpc, magic single-character variables, mandatory indenting, or banning tabs as indent characters -- I thought I'd spread the slagging amongst lots of languages). Productivity-wise, although I was only just kicking off my Rails webapp knowledge, I felt I was doing fairly well. From experience, what I produced in my weekend was roughly on par with what I could produce in PHP in the same amount of time, had the situation been reversed. Considering that I have about 3 weeks of Ruby/Rails knowledge, and about 5 years of PHP experience, I think that's a big win. (Update: I've since produced a DNS management applet for work in about 6 hours billable time, and a virtual mail account application in about 12 hours, both using Rails. There isn't a hope in hell that I could have performed a similar feat in PHP, especially with the same amount of inherent flexibility that the Rails solutions contain). Overall, my impression of wholesale rewrites as being soul-sucking experiences stands. I suggest they be approached with the greatest of care, and only be permitted after an appropriate period of psychological counselling. There is plenty of code that needs rewriting (but why do I always have to find it?) but replacing it by doing an rm -rf on the source tree and starting again is not the answer.

Erich Schubert: Windows fileservers suck

... give me samba, please! I've recently been fighting windows file servers. They run on totally oversized hardware (P4-HT, 8 SATA drives in a 7-active-1-hotspare RAID-5 set) but still don't perform reasonably. (2.5 MB/s write performance is really bad, read performance is somewhat okay, though) And then it's so easy to confuse windows... seems like Windows can't handle directories ending with a dot. But you can easily create such folders over the network with SMB... name a folder "foo." and windows can't handle it any more. Or "...". Windows can't delete or rename it. And I'm talking NTFS, not plain old legacy FAT. So if you're going to hide data on a windows box, just store it using SMB in such a folder. And if you want to be really evil, write a script that autodiscovers writeable network shares around you and creates "You suck." folders there. Windows users will start running around screaming, but obviously you can't be the culprit, since you can't access Windows shares, can you? I've also been porting a python app to Windows. Python is so nice, and PyGTK works like a charm on windows. Now if Windows just wouldn't suck as much... for example, it doesn't have os.fork(). And it's I/O charset semantics are a complete mess. Once you don't use only 7-bit ASCII you're likely to go crazy. Seems like the console on Windows always uses codepage 437. The filesystem probably cp 1252. Windows internally claims to use 16-bit unicode. So if you want a python script to run on windows: I can recommend python for cross-platform coding however. The PyGTK GUIs are really nice, much nicer than all that java stuff out there. And these "issues" with windows aren't really Pythons fault, but Windows.

John Goerzen: Dupes really fixed now

Thanks to some assistance from Garvin (lead Serendipity developer), it looks like the bug that Planet dislikes so intensely is indeed the <slash:comments> tag. I don't believe this is a bug in Serendipity bug rather in Planet.

(There is still, IMHO, a pubDate bug in Serendipity, but it appears to be unrelated)

So, the dupes you were seeing from me really are gone now. I hope.

The fix is to edit the file templates/default/feed_2.0.tpl and remove the line that provides the <slash:comments> tag.

BTW, seems that Planet Haskell also ran afoul of this.

NOKUBI Takatsugu: libTextCat - guess language

To make search engine with international support, languages are big problem. I maintain Namazu, it is focused to only Japanese and English, but I want to support more languages. In the past, I found TextCat, a perl implementation of language guesser. And yesterday, I can found a new implementation, libTextCat, a C implementation. So I packaged it and placed to:
deb http://www.daionet.gr.jp/~knok/debian ./
deb-src http://www.daionet.gr.jp/~knok/debian/source ./
I'll consider to ITP it.

David Nusinow: Monolith == Zombie

So you may be wondering why there's no modular Xorg in unstable. The reason is that there was a security update with -5 that went out. That update failed to build on mips(el). As a result, it didn't go in to testing. I asked the secure testing people to handle it, and Micah Anderson bravely stepped up to the task, and got it moving. Just before he was about to finish though, I was informed that without a new upload of xorg building on all arches, any packages on amd64 that needed X wouldn't enter testing. This is because amd64's new testing archive didn't have any X packages, so it needed mine to allow them to transition. So, my allowing the mips(el) stuff to continue to fail to build required a new fixed upload, which will be going in early tomorrow.

Just as a note, I now hate the monolith and was basically guilted in to doing it so I wouldn't be the one holding up amd64, which is even more important to Debian right now than modular X. Once that transition is done, I'll go ahead with modular Xorg. I'm pretty frustrated that it's not done yet, but at least the delay was for a good reason. Be ready though, because modular is coming and it may well break plenty of things that I can't forsee.

Gunnar Wolf: On Daylight Savings Time

Joey Hess blogs about possible dangerous ways to exploit the daylight savings time. Well, for the tenth year in a row (if I am not mistaken), we central-Mexicans can proudly announce we are GMT-5. When I was a kid, we were always told that daylight savings are a very important way to save energy in non-tropical areas, such as the North-Western states, USA, Canada and Europe. We understood that, as tropical beings, we didn't have to worry about that, as it would have neglegible effects for us.
Ten years (eleven?) ago, this changed, and we became first-class world citizens, together with the emotion of shifting the clock's hands twice a year. Of course, we all did stupid things once or thrice - The first time we got back to GMT-6, I moved to GMT-4 instead. We were laughing at the fools who forgot to move the watch. I went to the movies with Nadezhda, and was confronted by a less-than-amused clerk that had to explain the same to too many people along the day. At least he smiled when he noticed we were stupider than most.
Well, today I am a big fan of daylight savings. I simply like having sunlight up to 20:00, sometimes even 21:00 - But I have reversed the old logic I was taught at school. We Mexicans have very little variation in our clocks - We go from maybe 11 to maybe 13 hours of daylight comparing Summer and Winter. Ok, make it 10 and 14, to make it sound more dramatic. Having the sun raise at 6AM makes sense, no matter what time of year it is. Most electricity is spent in the early night (8-10PM)... So it makes a lot of sense. Even for the people in the USA, maybe even Canada, and most of Europe. But...
Why do Nordic countries adhere to daylight savings? I mean... You vary from 4 to 20 hours of sunlight a day - What difference does one hour make anyway? Why follow the hassle we all regular humans have to go through? I can't imagine people in Narvik and Rovaniemi trying to squeeze that little glimpse of sun they have during the winter, and trying to align their sleeping time to the exact the sun is only half-visible in Summer.

Ross Burton: Sound Juicer "It's Not Very Pretty I Tell Thee" 2.14.1

Sound Juicer "It's Not Very Pretty I Tell Thee" 2.14.1 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. Lots of bug fixes here: Translators: Ales Nyakhaychyk (be), Clytie Siddall (vi), Daniel Nylander (sv), Ivar Smolin (et), Kostas Papadimas (el), Petr Tome (cs), Theppitak Karoonboonyanan (th), Vladimer Sichinava (ka).

3 April 2006

Martin F. Krafft: Merger synergy?

Last weekend, Lufthansa finally annexed Swiss, which is now a regular member of Star Alliance. My flight to Copenhagen was booked with Scandinavian (SAS). Troubles already started on Friday morning when the SAS folks in Zurich sent me to the Swiss counter for check-in, yet they didn't know anything about passengers to Copenhagen. But we managed to board the plane eventually and traveled safely to Copenhagen, on Swiss. Today, my flight out of Copenhagen was again with SAS at 17:40, but when we arrived at the airport, the flight was canceled. The SAS people rebooked me on a Swiss flight at 20:05, but the Swiss counter did not open until two hours prior to departure -- and when it did, they did not know about rebooked passengers. What had happend was that SAS decided to simply cancel all flights from Copenhagen (and possibly other Scandinavian airports) to Switzerland and the UK, and to book passengers onto the next available Swiss flights, but without telling Swiss. Merger synergy?

Martin F. Krafft: Windows kiosks

They have kiosk PCs here at the airport, running Windows 2003 over Citrix MetaFrame. Apart from being ass-slow, these systems attempt to be highly "secured": only Internet Explorer is running, the task manager is disabled, and the Citrix MetaFrame apparently sits behind a fascist firewall, which seems to integrate with Windows to a point where Putty could not establish an SSH connection to a server running sshd on port 443 (HTTPs). What the system administrators of course did not realise (and neither does Microsoft), is that Internet Explorer is such an insecure piece of crap that it's effectively no problem to do whatever you want through its holes and bugs. It tooks me only about twenty minutes until I had access to my USB stick, and another five until Putty was negotiating SSH with the help of the Internet Explorer Java Console, which happily relayed my traffic as coming from the iexplore.exe process. I always tend to smile when people talk about locking down Windows, and I regularly find new reasons to do so.

Martin F. Krafft: The design does not allow it

During my trip to Copenhagen, Denmark last weekend, I was booked into a fancy hotel described all over the Internet as the in-hotel of the city (it wasn't my choice). The building had just been converted from a department store to a hotel. After checking in to my room, I noticed that my bathroom lacked a shower curtain, so I promptly went to the front desk to ask them to change that. The guy behind the desk was so incredibly stupid as he smiled at me and answered: "that's because of the design; a shower curtain would not fit the design." He was probably previously selling underwear in the department store and had his role recast without any training. Unfortunately I failed to take a picture of the bathroom, but if there really was some design at work, it was so subtle that you couldn't notice: a regular bathtub, a sink, a toilet, a mirror, and two towel-hangers... nothing more. Oh, and there was one of those blue lines on the otherwise white tiles approximately two metres from the floor. You know, one of those "designs" that you will find in almost every bathroom built in the last five years. Anyway the lack of shower curtains is only one of several reasons why I would never check in to that hotel again, nor recommend it to anyone.

Amaya Rodrigo: New head in the headcount!

I just added Andree Leidenfrost to the Planet Debian feed. H ctor and I have been sponsoring his packages for mondo and mindi for a long time now, his New Maintainer proccess is currently in DAMnation and I think he will be a great maintainer one day (hopefully very soon). Andree is from Sydney, New South Wales, Australia, has a cat, and is a pleasure to work with.

Everybody say hi!

Clint Adams: Sick sigma tolerances

I miss the days when people would get fired for this level of incompetence.
On 2006-03-30 the developer CVS server had a substantial system failure. Due to the implementation of the CVS service, there is a single point of failure with multiple points of recovery (there is more than one data source we could potentially recover from if there is any data loss as a result of the failure). This outage currently affects developer CVS access directly, but we have disabled tarball updates and data syncs from the developer CVS server to the anonymous pserver/ViewCVS hosts as an additional level of precaution. Our main focus since the outage was detected has been to safegaurd all data on the developer CVS server as well as possible. We are currently attempting to backup the data on the host, which is taking longer than we initially anticipated it would, but is a necessary step to fully safegaurd the host's data. Next, we are going to perform some data validation to ensure the data set appears valid. Pending successful completion of those steps, we'll reenable developer CVS access. A few days after, we'll reenable CVS tarballs and syncs to anonymous CVS. In the mean time, we're currently advancing plans for a CVS architecture change based upon the knowledge we gained during Subversion deployment to eliminate the single point of failure that developer CVS currently has, add horizontal scalability and overall service resiliance. However, we still do not have an estimate on when developer CVS services will be restored, but we have been, and currently are actively working to restore access to CVS. We appreciate your patience with us while we work to properly resolve this major outage. On 2006-03-30 the developer CVS server had a hardware issue that required us to take the service offline. We are actively working on this problem and hope to have it back up soon. There is not a current estimate for the duration of this outage, but when we get one, it will be posted on the site status page (this page). We currently expect this outage to last 48 hours, at minimum.

Julien Danjou: Xen howto update

I just updated my Xen 3 for Debian howto, because it was still talking about Xen 2. Now it relies on official Debian packages.

MJ Ray: That Bloody MPL Non-Summary Again

Don't trust everything you read so much. That [MPL] draft summary was written by a [summary] newbie after practically no discussion. The MPL isn't [...]

Pierre Habouzit: @debian.org and Spam (#3) alioth

Following my recent posts about SPAM in our wonderful project, Rapha l Hertzog asked me to improve alioth mail configuration to use my suggestions. Thanks to him, the improvements I've suggested are now all in place, since roughly 12 hours. Alioth Exim's configuration had a couple of problems, and was in a not very satisfying shape. Here is the list of the improvements I've suggested, and that now are in place (hopefuly for our best comfort) : Moreover greylisting has been made more efficient: before, we only greylisted on the pair (sender_ip, sender_domain) which is suboptimal: spammers always forge sender addresses from the same domains (aol, hotmail, ). So in half an hour, aol.com, hotmail.com, were whitelisted, and spammers could just get through, unannoyed. Whereas occasionnal senders on not very widespread domains were always caught. Now, greylisting uses the full sender_address, which is the mildest way to do greylisting. The hard way would be to use the usual triplet (sender-ip, sender-address, recipient-address), but given the fact that alioth does not delivers to that many recipients, not taking it into consideration is a good compromise to avoid a too huge database, with almost the same results. I hope to be able to deliver some nice curves based on alioth's traffic in about 10 days, to see if that worked as expected. Thanks again to Rapha l that made it possible.



for those who are interested, the exim4.conf snipplet to do conditionnal greylisting is :
    # acl that tell if we will greylist or not
    acl_greylist:
        # Check if EHLO greeting is resolvable
        deny
            !verify = helo
        # Deny if the host is blacklisted
        deny
            log_message = match $dnslist_domain
            dnslists = cbl.abuseat.org : dul.dnsbl.sorbs.net : dynablock.njabl.org
        # Deny if the sender address can't be verified
        deny
            !verify = sender/callout=30s,connect=5s,defer_ok
        accept
        accept
            acl = acl_greylist
Notes [1] I really think we sould also check that the helo line is either an IP or a FQDN, but that can come later

Next.

Previous.