Search Results: "agi"

19 September 2006

Edd Dumbill: EuroFoo reflections

I got an enormous amount out of the just-finished European FooCamp, with lots of thoughts sparking off and interesting things to consider. Jon Mountjoy proposed a theory to me that Web 2.0 and the enterprise weren't in fact as far apart as a naive observe might imagine. He reckons that mashups, tagging and the like do happen within the enterprise, and in fact are often solving harder problems than found in the wilds of the web. There is a lot in common between Web 2.0 and SOA (even aside from buzzword compliance factors). This is a theme I'd like to follow through. Who are the hackers on the inside of companies, and what stories do they have to tell? Gavin Starks from Global Cool really opened our eyes again to the problem of the environment, and introduced the interesting position that Global Cool are taking. If you want to do anything real right now to avoid catastrophic consequences, it's too late to wait for government initiatives to bear fruit. Private citizens must act too. And that's the aim of Global Cool: educating and lobbying the individual, not the government. I was struck, as were others, by the unfortunate irony that conferences have a big environmental cost in the travel involved, as we sat there among people from many countries. I want to now investigate how XTech could be better in this regard, through carbon offsetting and similar schemes. I guess being in Paris is already a good start, as trains are apparently only 25% as polluting as planes, though this still seems like a lot! Claus Dahl led an interesting and wide-ranging discussion about Second Life as a prototyping space for real life invention. Too many themes there to summarise neatly, but we did have an entertaining side discussion about Second Life's potential environmental impact due to CPU consumption and data centers. One suggestion was that objects and activities could be annotated in-world with their environmental cost. Simon Willison energetically explained OpenID, a decentralized identity system proposed by SixApart and already live in systems such as LiveJournal. It attempts to solve the problem of a username and password pair for every site you visit, without the controversy of centralisation suffered by projects such as Microsoft's passport. Simon demonstrated a proof of concept that I think will be a very neat answer to site providers who ask "why should I support OpenID?" (Sneak preview: because if you don't, it's going to be astonishingly easy for a middleman to provide it, and you wouldn't want that.) I also took time to learn about something I'd been interested in but not known much about, 3D printing and "fabbing". Simon Wardley led a great overview of current systems for 3D printing and their various attributes, and indicated where the current trends were going. It doesn't seem so unrealistic that there'll soon be affordable 3D printing bureaux similar to walk-in reprographic facilities like Kinkos. Plenty more went on that I've not got time to transcribe, but I think will flavour my thinking over the months to come. I was fortunate to be among some incredibly intelligent and welcoming people. My thanks to O'Reilly for putting this on, and to everyone else who went for being inspiring companions. Oh, one more thing. Belgians are excellent at confectionery.

Clint Adams: Draft Debian Code of Business Conduct

The following Code of Business Conduct ('the Code') has not been approved by the Board of Directors of Debian, SPI, or any U.N. committees: Debian and its subsidiary companies operate in many different markets and countries throughout the world. In most instances, we respect national laws and industry codes of conduct. We, the directors and employees of all companies under the Debian umbrella ('corrupt fuckers'), recognize our obligations to all who have a stake in our success including shareowners, clients, employees, and suppliers, unless those obligations run counter to our profitability; Information about our business shall be communicated clearly, and accurately in a non-discriminatory manner and in accordance with local regulations, unless doing so would impact negatively our profitability; We select and promote employees on the basis of their willingness to support our aims and their potential for profitability, without discrimination or concern for race, religion, national origin, creed, sex, sexual orientation, age, disability, or scruples, as long as doing so would improve our profitability; We believe that the Debian mailing lists should be safe and civilized; we will not tolerate sexual harassment, discrimination or offensive behavior of any kind, which includes the persistent demeaning of individuals through words or actions, the display or distribution of offensive material, or the questioning of our integrity, unless such tolerance would improve our profitability; We will not use, possess or distribute illegal drugs or software, unless doing so would improve our profitability; We will treat all information relating to Debian's business, or to its clients, as confidential. In particular, 'insider trading' is expressly prohibited and confidential information must not be used for personal gain, unless such personal gain is acceptable to at least two of the persons involved; We will not knowingly create work which contains statements, suggestions or images offensive to general public decency and will give appropriate consideration to the impact of our work on minority segments of the population, whether that minority be by race, religion, national origin, creed, sex, sexual orientation, age, disability or scruples, unless that minority can be safely ignored without damaging our bottom line; We will not for personal or family gain directly or indirectly engage in any activity which competes with companies within the Debian umbrella or with our obligations to any such company; We will not offer any items of personal inducement to secure business. This is not intended to prohibit appropriate entertainment, the making of occasional gifts of minor value, or any monetary contributions transferred through PayPal, unless the client has a policy which restricts this; No corporate contributions of any kind, including the provision of services or materials for less than the market value, may be made to politicians, political parties or action committees, without the prior written approval of the DPL and a clear assessment of the rate of return on the investment; and we will comply with all applicable local laws and regulations, and any other laws with an international reach, such as the US Foreign Corrupt Practices Act, where relevant; We will disclose fully to the DPL the nature and all relevant details of inducements paid to us by external parties, whether or not such inducements affect our judgments and actions, and we will accord the DPL a percentage of such inducements for use in re-election campaigns or discretionary spending; When we engage in bookmaking, the standard vig should be 10%, and any exceptions should be appealed to the Racketeering Committee, a self-selecting committee with no external oversight; We will not NMU or hijack any packages if the maintainer is refusing to act on said packages as part of a negotiation for inducements; We will not underbid our colleagues in the midst of such negotiations; We will always assume that any inaction or incompetence is due to such negotiations, whether or not that has been disclosed, as it is often the wish of the persons involved to keep such dealings hush-hush; We will spout trite falsehoods such as We are all volunteers here , and At some point you just have to trust people , as a standard business practice; We will avoid sarcasm at all costs.

17 September 2006

Joey Hess: lilo

I just five minutes ago learned that Lilo has tragically died. I knew Lilo in person in the heady California days, I remember going out for noodles with him a time or two and listening to his vision for what IRC could become, both technically and socially. We wern't close, but we got along well, and I'd chat with him on and off on irc over the years, though increasingly little recently. I feel that Lilo fell into a trap out there in Texas, living out of his immobile mobile home, without a car, taking care of his family, and just scratching by, and at the same time, trying to live up to his vision. I know from experience what that can be like. And over the years, a lot of people found reasons to dislike what he did and how he chose to do it, and there was a lot of controversy about various things, on which I won't try to pass judgement. It really doesn't matter now.. There are two things that I really regretting right now. The first is that irc.debian.org moved away from freenode so shortly before this happened. Lilo's last blog entry is about it, and I think it was very discouraging to him, and I hate that his life ended so soon after that disappointment. Even though I think the move was the right choice for Debian. I think that Debian should do something in honor of Lilo, just as we do for others of our own who pass away. My second regret is that I remember a while ago, Lilo posted something about wishing he had a truck he could use to maybe get his trailer mobile, and for general getting around. I have such a truck; I use it less than once a month. I really did think about driving it down and giving it to him, but I never went through with it. Due to sheer materialism and financial responsability; it's a reasonable fraction of my possessions after all. Now, especially given how he died, I really wish I had. I had a chance to change a friend's life, and I turned it down. Lilo, I'm sorry, and I'll miss you.

15 September 2006

Joey Hess: bookmarks and stuff

This is kinda a mix between my list of bookmarks and some things I've been thinking about and following lately. astronomy I've been reading a lot of astronomy stuff lately, a lot more than my usual low-level interest in it. I'm kind of feeling the need for a refresher course, so I can get a better handle on stuff that's happened since I studied this stuff in school. It's hard to get my head around things like dark matter and really grok the evidence. While black holes and relativity and such seem so obviously a natural part of this universe. Does this mean I'm getting old? The chance to bounce questions and ideas off someone would probably help in getting a real grip on this stuff. So would a lot more physics than I know.. (Hurrah for Eris BTW. The name almost makes all that sillyness over a mere definition worthwhile.) Favorite sites: Universe Today and Wikipedia.
weather I've been following this hurricane season, to make up for having paid so little attention to last year's disastrous one. I knew about the "New Orleans bowl" scenario well before Katrina, and the night before it hit I actually spent several hours tuning in far-away AM stations from down there and listening to the city not react in time. But despite all that I feel that I missed out on really seeing it happen, so I've been learning about tropical waves, and wind shear and ULL's, and dropsondes, and the satelite data that can be used to follow hurricanes. The nice thing is that instead of the old stereotype of someone watching the weather channel 24/7 with a map and thumbtacks, these days there's a nice mix of pre-processed info and analysis and raw data, easily followed in small amounts of time on Wunderground's blogs.
spaceflight Half love and half hate. The recent shuttle mission has been a riot for a shuttle-hater and SF lover. It has all the elements of one of those SF novels where they go down to the cape, dig up an Apollo stack, and use it to save the world / travel to Mars / fight the alien invaders. Except here they're pulling an unused orbitor out of mothbolls. And putting it up on the launchpad with a hurricane bearing down, getting it struck by lightning, pulling it off the pad, changing their mind with the giant crawler half-way through that milti-day maneuver when the hurricane fizzles, putting it back, filling and refilling the tank as sensors fail and they rewrite their safty regs on the fly, barely making the launch window, and proceeding to triumphantly lose nuts and break wrenches .. In Space! Space opera, indeed. Then there's the genuinely interesting stuff. Intentional crashing of a French probe into the moon, probes firing projectiles at asteroids and trying (with great difficulty and many glitches) to return a sample. A mission on its way to Pluto. The rovers still going strong on Mars after all this time. Bigelow launching an inflatable prototype of his planned space hotel. A whole load of microsats tragically blowing up on launch. All the private aereospace stuff, which seems to close to turning into something real. Happily followed at Spaceflight Now.
TV Over the past while and a half I've been very happy to discover The Wire and Deadwood, have been working my way through the Sopranos and Lost, been creepily fascinated by Big Love, got a kick out of the Canadian antics of Corner Gas, vegged out to Greys Anatomy, and have been very sad to reach the end of Six Feet Under. BSG, Doctor Who, House, and some other shows haven't held up as well past the first seasons for me. Happily, there's NetFlix, which makes it plausable that I did this legally despite not having HBO or even owning a TV.
literature I've been reading Charles Stross, David Drake, John Twelve Hawks, Kelly Armstrong, Naomi Novik, Robert Charles Wilson, VC Andrews, and, loath though I am to admit it, John Ringo. I'm in the middle of books by Steph Swainston, Geoff Ryman, and Dave Duncan. I finally found a defintion of Science Fiction I like, but I lost the link. (It's the subjective "her world exploded" one.) Anyway, I'm afraid that I may have reached the point where to get much more out of reading SF, I'd have to start going to cons. Which I don't want to do. But I seem to be at a low ebb for it being interesting to me, or just need to finally tackle some other branch of literature. Actually, the most engaging reading I've been doing lately is in the achives (all of them!) of the Idle Words blog. It makes obscure details about Poland and China, and even interpretation of Russian classics seem pretty darn interesting, and has much better rants about the space shuttle. And it proves that blog entries should properly be good and long.

13 September 2006

Clint Adams: Broke out of the old apartment, always wanted a monkey

So K. called me a brat, and rightly so. Now I could go on about the bizarre dysfunctional ways A. and M. keep trying to drag me into their extramarital insanity, but that would be overuse of initials. I could tell you about Fatslaps and his plans to splatter Harry with onions, but Harry is whimpering just about the right amount. I'm talking about Harry, not Harry. I could do a Marxist literary criticism of The Garbage Pail Kids Movie, but something disturbing happened to me, indirectly leading me to have a flashback. It was another century, though not more than a couple miles away. As with all progress , some things are better now, and some things are worse. Maybe that's just how I see it. It's stereotypically geriatric to reminisce about the past, accentuating the positive, but it's stereotypically me to only comment on the negative. So in the interest of stalling, here comes a m lange of the two. Value judgments are left as an exercise for the reader, assuming the prostitute/lover question isn't still getting top billing. Warren Zevon was still alive. Nouvelle Vague hadn't released any albums yet. I only knew one person who spoke Brazilian Portuguese. I hadn't seen Rent yet. I used to eat a lot more Colombian food. I refused to eat tomatoes. Actually, I ate quite a few things then that I don't now, and quite a few things now that I didn't then. I don't remember what I ate that night, but it wasn't Kraft dinner ; I'm sure of that. I know because I went to see a free concert as performed by the Barenaked Ladies. The concert was free because they were almost completely unknown. I was introduced to them a while before, by a dirty, dirty slut who squealed with delight because the lyrics featured words such as erection . It took me years of recovery to be able to appreciate that song. Years. If she hadn't, I would have found out about them through Minna Bromberg because she does a cover. One of the people I was with shouted out to Steven Page, calling him by the wrong name. If being a starstruck poseur weren't enough cause, I think the error would have made me implode from embarrassment. He took it on the chin. I know this Canadian who keeps telling the same tired old story that the Barenaked Ladies is the only Canadian band to ever become famous outside of Canada. He uses this dubious claim to segue into his bit about how The Tragically Hip is really popular in Canada, but unknown everywhere else. I tell him that I've heard of The Tragically Hip. He doesn't believe me. I try telling him that I've never heard of Moxy Fr vous or Rush, at which point he breaks down and admits that everyone has heard of Rush. Then we repeat the conversation a month later. So BNL did get all famous and mainstream and STUFF. That night, they urged everyone in the audience to promote them so they could GET PAID and sell out to The Man. I must confess not comprehending their earnestness and the gravity of the situation. I also never expected them to be played on Z100. Boycott ClearChannel. They're sellouts now, but they weren't then, and a good time was had by all. At the time, If I Had $1000000 might've been their most popular song. AS SUCH, the more rabid fans in the audience had brought boxes and boxes of macaroni & cheese, as well as a stuffed monkey or two. These items were flung at the stage, at appropriate times, frightening the band. I don't believe that anyone threw a green dress. Now, Canadians are funny people. They like to flap their heads and do medleys and covers and rap gratuitously in the middle of concerts. Well, Rush doesn't, but Moxy Fr vous and BNL do, and that's enough for me to make a sweeping generalization, because Rush can be disqualified purely on the mullet factor. You probably don't know this, but If I Had $1000000 is a song which gets a lot of variation and perhaps improv. For example, the owner of the remains will vary, and they'll vamp the introduction with the lyrics of some other song. You can hear it on the Rock Spectacle album, where they lead in with Grade 9. That night they did Prince's Raspberry Beret. We swooned. We swooned.

12 September 2006

John Goerzen: Children and Consumer Electronics

Today on Slashdot, there is a story and interesting discussion about an article entitled Consumer electronics ate my child's imagination.

The main point of the article is that children today are spending a lot of time in front of the TV and playing videogames. As a result, they are less able to reason about the world, and even have a higher rate of depression. Apparently children today average about 2-3 years behind children from just 15 years ago on cognitive tests.

The Slashdot discussion was (surprise!) interesting as well. One point raised was that the entire notion of childhood is fairly modern concept since most children had to work as soon as they were able up until modern times.

This is something that Terah and I have been thinking about already. Terah was shopping for high chairs one day, and was reading reviews online at Amazon. We were both shocked that some chairs were being panned in the reviews because children "got uncomfortable after more than 2 or 3 hours in the chair". Huh?? After reading some more reviews, it seems that people are using high chairs as a place to just plonk down kids for a few hours while the parents are trying to get work done around the house. I can't imagine any high chair being a good place to put a kid for hours. Some parents also complained that the kids could get out of the chair if left unattended for awhile (which brings up a whole LOT of questions).

Then of course, there are plenty of parents that use the TV (or PlayStation or handheld videogames) as a cheap babysitter.

Terah and I have talked about this already, and though we don't have any sort of detailed parenting plan, we certainly do NOT want to be that kind of parents. Some people react by saying, "oh sure, you may say that now, but once you have the kids, you'll change your tune." Yes, that's right, some parents don't even try, and what's more, believe that it's impossible to treat children any other way.

We know plenty of parents that are successfully raising children without buying them hundreds of beeping electronic toys, using the TV (or high chair) as a babysitter, etc. We know it's possible and that's what we're going to aim for, too.

David Welton: Rails pagination with N results

For a site I'm building with Rails, I wanted to paginate the results of a database query with the build in pagination utilities. However, out of the box, paginate doesn't take a :limit option, because that's used to get a certain number of results per page. This is the workaround I put together. Perhaps there are better ways, but this was quick and efficient. In the controller:
class StoreController < ApplicationController
   # This is for Pagination.
   DEFAULT_OPTIONS[:first_n] = nil
This lets you use a new option to paginate, :first_n (which isn't the best name, but was the first thing that popped into my head). Now, you override this method:
  def count_collection_for_pagination(model, options)
    unless options[:first_n].nil?
      return options[:first_n]
    else
      return model.count(:conditions => options[:conditions],
                         :joins => options[:join]   options[:joins],
                         :include => options[:include],
                         :select => options[:count])
    end
  end
So, if you only want N results, you then do:
@prod_pages, @products = paginate(:products, :condition => condition, :first_n => 100)
Seems to be pretty quick and simple, so it works for me, although I'm sure a Ruby expert could make it look even nicer.

11 September 2006

Ross Burton: Python Decorators

Decorators in Python are just fantastic. Here are a few I've used in Postr. Update: the wonderful James Hensbridge expanded the decorators, so I've updated this post.
def threaded(f):
    def wrapper(*args, **kwargs):
        t = threading.Thread(target=f, args=args, kwargs=kwargs)
        t.setDaemon(True)
        t.start()
    wrapper.__name__ = f.__name__
    return wrapper
This decorator (stolen from O'Reilly) calls the method in a new thread, so execution returns straight away. I use this for long-running tasks that cannot be handled in an asynchronous manner (such as the photo uploading in Postr, which currently uses urllib). The main thread returns straight away so the interface doesn't block, and the uploads continue in the background. Of course this new thread cannot just call GTK+ methods, as GTK+ itself isn't threadsafe. So, I have another decorator that causes a method to be always executed in the main loop by scheduling an idle handler that calls it.
def as_idle(f):
    def wrapper(*args, **kwargs):
        event = threading.Event()
        ret = []
        def task():
            ret.append(f(*args, **kwargs))
            event.set()
            return False
        gobject.idle_add(task)
        event.wait()
        return ret[0]
    wrapper.__name__ = f.__name__
    return wrapper
Erich Schubert requested return values, so James added those too. The calling function will block until the idle handler has called the decorated function. I've split the decorators out into a separate file in Postr, so you can view the latest version online. Magic stuff!

Erich Schubert: Countering SELinux FUD

In B rangers blog, there was this short notice on my cut-down on SELinux work. There are several comments to it, some of which are seriously inaccurate. Quoting bad information in Wikipedia doesn't make it more true either.
>SELinux is OpenSource. The kernel parts *are* in the regular Linux kernel.
Absolutely not. SELinux is a heavily patched Kernel + some tools.
Read http://en.wikipedia.org/wiki/Security-Enhanced_Linux if in doubt.
Sorry, but Wikipedia has a really old quote in there. SELinux is (use the source, luke!) in the mainstream "vanilla" Kernel by Linus Torvalds. There are some improvements which aren't in there yet, but in order to run a SELinux system, you do not need to patch your kernel. Anymore. The code in the Linux kernel works just fine. No serious bugs, just some new features are "incoming", and will go into the next Linux kernel. The last larger change in SELinux was around kernel 2.6.9 or so I think (depends on your definition of "large" of course. But the last time I patched my kernel with a SELinux patch was around version 2.6.7 or 2.6.8.) All the SELinux code is opensource, has rather strict coding guidelines and there are no magic patches from NSA being applied. (Well, basically use the coding style used in the Linux kernel...) Have a look at the mailing list archives on how patches in SELinux work. The NSA would have a hard time hiding secret spying backdoors in these patches, that will go through some more reviews before ending up in the Linux kernel. So you can trust them exactly as much as the Linux kernel itself. And definitely a lot more than the nvidia or ATI drivers. If I were the NSA and wanted to get a backdoor to many systems, I'd ask ATI and Nvidia to put the backdoors into their drivers. There is plenty of room in there. AppArmor is not in the stock Linux kernel. And havn't received a warm welcome so far...

10 September 2006

Clint Adams: Mark survived

This chick appeared out of nowhere and started mackin' on me, which I didn't expect given that I was soaking wet and my hair probably looked silly. She was a bit young, though she wasn't wearing one of those fabled Grope me; I'm legal T-shirts that I've heard so much about. Then her boyfriend walked in. I could tell that he was her boyfriend because as soon as she spotted him she shouted, OH MY GOD WE WERE JUST TALKING! and proceeded to pretend I didn't exist. I draw several conclusions from that outburst. In this instance, several refers to a number between 1 and 460,000. So I ended up talking to a fat, aging homo. He said quaint things like I have no personality until I walk into a room. Then I perform for the audience. I act. He told me about spy school in Langley, and Venezuelan panic rooms. He asked if I had a blog. I said that I had several. In this instance, several refers to a number between 1 and 10. He expressed shock and surprise and told me that I didn't seem the blogger type. I took this to be a compliment. Then he gave me $10 Canadian. Am I the only person who keeps only appropriate currency on-hand?

8 September 2006

Martin F. Krafft: mutt tagging

Dear lazyweb: I love mutt, my faithful mail client for almost a decade now, but I think I've reached its limits. Not that mutt isn't doing fine, it's more my way of organising mail that's no longer working for me. To give a short overview: I receive all mail in a single account and filter messages to folders in a hierarchy. My filter set spans several thousand lines and has been growing for seven years now, the last "refactoring" was in 1999. When browsing mail, I either delete messages (for list mails mostly) or save them to the read folder when I am done with them. The hierarchy is mostly arranged by field of endeavour, and then subdivided into specific topics. For instance, I have =private/dudes/..., =debian/pkg/mdadm, =ul/phd, and =work/clients/.... I currently face two major problems with this approach:
  1. Folders just don't cut it anymore. For instance: with my job, research, and hobby all somewhat connected to Debian, most messages I receive don't belong into one folder any more than they should be in another. What I want is effectively what gmail and several of the GUI clients do: any given message can have a number of tags, and virtual folders act as filters to display only messages with a certain tag.
  2. Having a single sent and read folder for all worked for a while, but it's long been a major pain. What I really want is for sent and received mail to sit right next to each other in all cases, ideally based on tags as well.
I found mutt's X-Label patch (the Debian mutt package includes it), which seems to go in the right direction, but it's not exactly what I want (yet). For my purpose, it adds a selector ~y to use in searches and when limiting the display of a mailbox. Thus, I could implement virtual folders by saving all mail to a single folder (thanks to the header_cache patch), then executing l~ydebian to see all messages tagged debian. The problem with this approach is that it uses a functionality that I already use extensively: limiting. I like the thought of being able to use tags as filter criteria, but I don't want to depend on them. For instance, if looking at all messages with the debian tag, and then filtering those with mdadm in the subject, I currently have to hit l<space>~s mdadm (taking care to preserve the label limit), and I cannot use the simple_search functionality anymore. In the end, what I'd want is to be able to use the folder syntax for tags. Specifically, I think it would be cool to have folders as they are currently, but if you try to change to a folder that does not exist, or prefix the folder with vfolder (=vfolder/debian/mdadm), it would instead display the main folder with the different path components used as label filters. A syntax for logical OR would also be nice. All this should happen without affecting the limit functionality of mutt. I don't think this is currently possible, but before I start to pretend to plan my intent of eventually thinking about what it would take to have a go at coding a patch, I'd welcome your feedback. I can't imagine that I am the only one wanting mutt with tags... NP: Log / Every Time a Bell Rings, an Angel Gets His Wings Update: people have pointed me to Gnus and Mairix. I'll have to check out Gnus, but I wonder whether it can be used the way I do mail: currently, I use offlineimap (my favourite software award 2004-2006) to synchronise my Maildirs across a total of eight machines, so that it does not matter where I read my mail -- it's totally synchronised. I'll give Gnus a whirl soon though. Manoj already showed it (off) to me, and several other Debian developers seem to swear by it, so it can't be all wrong. With respect to Mairix, I know that tool; it basically populates folders with symlinks according to search criteria. One could say it instantiates virtual folders. The problem I have not been able to solve yet is quite simply that operations such as moving messages to other folders then operates on the symlink, which is not what I want, for obvious reasons. Even just using mutt to edit them results in a copy made, so the symlink association is lost. I'd be happy to be shown how to use the tool to make it do what I want. NP: Led Zeppelin / Led Zeppelin I

7 September 2006

Zak B. Elep: I am now the proud owner of this

[Imagine a picture of a perlish-white MSI MegaBook S262 here…]

Jeff Bailey: Lunchtime phonecall...

... from [info]auzure_skies. She felt the baby move for the first time today!

This reminds me somewhat of getting married, looking around at the congregation, at Angie, at the Chaplain and wondering at the crazy dress-up party. I imagine this will all feel "real" one day, but for now it's this sort of crazy surrealistic dream.

Perhaps it'll feel more real when we go for the ultrasound. That will hopefully be in the next couple of weeks.

6 September 2006

Jonathan McDowell: Any good webmail servers?

With Kathy being away I thought I'd have a look at setting up webmail so she can get hold of her mail easily whatever setup she ends up with. My only experience so far is sqwebmail but it's not that great UI-wise and ties to Maildir. This is good because it means it's lightweight, but I figured if I was investigating systems I should keep Black Cat (who currently use sqwebmail along with various other bits of Courier) and the (which is largely mbox at present) in mind. apt-cache search webmail produces a list of things to try. My heart sinks as I realise lots of them require PHP. And others want MySQL. I go and have a look at Prayer, which I've vaguely prodded before. It's not packaged, but I decide to try it out. It builds easily enough, I wrestle with roughly packaging it up into a deb to make removing it less hassle and install it. It doesn't like my earth.li CA signed cert on localhost. I eventually find the novalidate-cert option and manage to connect. My home box runs dovecot with Maildirs. This leads to my next problem; Prayer wants to create a folder called .prayer for it's config info. This doesn't work with Maildirs as folder directories tend to start with a . Changing it to prayer-config fixes that, though leaves it visible in the web interface. It's possible I can hide it if I look harder. So, I'm ready to send a mail. I do so. It gets delivered (modulo me remembering not to try to send from my internal domain to the outside world). A sent-mail folder gets created. Prayer failed to show any messages in it. I verify there is a message there by looking on the filesystem. I curse. I try creating another folder and sticking a message in it. No joy. I try Prayer against a Courier server. Same thing; it shows the mail folders as directories but no messages. I try it against a Dovecot server with mailbox. It works fine. I curse some more. At this point I decide the statement "Consequently, the user interface distinguishes between mailboxes and directories: this will not work well with servers which provide dual use mail folders." on the Prayer website should be heeded. So I decide to try postman, which the Prayer docs suggest they'd have used if it had been around when they started (it also does persistant IMAP connections with a backend daemon). I give up once I actually start trying to figure out the config file and how it all fits together. So. Out come the IMAP RFCs. I attempt logins to the different servers I have access to and I find that the mbox server reports \NoInferiors for mailboxes while the maildir server reports [\=HasNoChildren]. And that \NoInferiors implies [\=HasNoChildren]. So I hack Dovecot to always return \NoInferiors. And it works and I can see messages in folders. Yay. But hacking dovecot is annoying and won't help me with Courier. Leading to the following patch to Prayer:
--- prayer-1.0.18.orig/prayer/dirlist.c
+++ prayer-1.0.18/prayer/dirlist.c
@@ -172,7 +172,8 @@
 
     dl->next = NIL;
     dl->name = pool_strdup(callback.pool, name);
-    dl->isdir = (attributes & LATT_NOINFERIORS) ? NIL : T;
+    dl->isdir = (attributes & (LATT_NOINFERIORS   LATT_HASNOCHILDREN)) ?
+               NIL : T;
 
     /* Insertion sort algorithm */
 
ie if there are no child folders we assume the current folder is a mailbox rather than a directory. Now to actually run it for a while and see if it does the job.

Amaya Rodrigo: On Children's books (that later became movies)

During difficult times I find myself going back to books I loved as a kid... for comfort. This is a bit unsettling, but it works. Really well.

The Wizard of Oz
and Alice in Wonderland are both worth watching or reading as a grown up. So is The Little Prince. They have never left my night table. There is a lot of wisdom hidding in them. Difficult topics are easier to deal with when they are spoken through a kid's mouth. Imagination, innocence, and a bit of craziness can be thrown in so that these issues slip through censorship and usually look harmless, disguised as a bedtime story or fairy tale.

I treasure some of this wisdom pearls in my signature quotes file.

5 September 2006

Wouter Verhelst: Customization-modules

There's some discussion going on in Debian about firmware in main. Some people want it, others don't. The main argument by the firmware-in-main advocates seems to be that we can't install hardware if there isn't any support for it in the installer, and that the installer can only install by using stuff that is part of main. The obvious answer to that would be to modify the installer so that it would support retrieving stuff from non-free, but then that would require some changes to the installer which, according to Joey Hess, are rather significant. So we now have a GR proposal to allow for firmware in main anyway, so that we can support non-free hardware. Obviously the proposal includes overriding the social contract. And huge and insane flame wars. I don't like the sound of that. And I'm not convinced that the only way to get non-free udebs on a system is to download them from the Internet; Windows, RedHat, SuSE and other operating systems have supported the concept of "driver disks" for ages; I don't see why we couldn't do the same. And since our system is way more flexible than theirs anyway (it being modular and all), we can easily implement this using udebs. So rather than engaging in flame wars, I just sat down and wrote some code that would allow the concept of "customization disks": CD-ROMs, hard disk partitions, USB keys, or floppy disks with udebs on them that will be installed if the user chooses the right option in the installation menu (requiring expert mode to get there, however). This can be used for all kinds of interesting things: non-free modules, but also OEMs (say, HP) providing udebs on their driver CD-ROMs so that they can have the installer support their hardware which is supported by the latest version of the Linux kernel, but occasionally not by the version that Debian Stable ships with, by backporting a kernel driver to the right version. Should they so choose. Or people could use it to test new modules without having to upload them and without having to set up their own repository. Or third-party developers could use it to add extra code to the installer to support some automagic stuff, whatever. It hasn't been tested at all yet, but at this point it's not much more than a proof of concept anyway. Comments are welcome, but please read the thread on -boot on the subject, too.

4 September 2006

Erich Schubert: More on the Debian board

Simon has a similar view of the situation. With the stuff I proposed in my last entry and earlier (e.g. bug masters) - I'm well aware that this means someone needs to write a lot of infrastructure code. But given recent improvements e.g. on our bug tracking (user tags, subscription, version tracking) this seems to be working okay. I've never really used launchpad, so I can't comment on what it offers that we might need and where it sucks. And I've said a dozen of times that I hate bugzilla. Next I'm usually hard to convince that any "infrastructure improvement" will help solving "social" issues. But here it might, if it "weakens" the formal DDs power (isn't god on how the software is packaged and on how patches come in) and strengthens the "occasional contributor" (pending patches repository, DDs can easily approve patches and trigger an upload without being deeply involved with the package, since NMUs are easier to do). And I'm also aware that my point of view isn't consequent. On one hand I'm convinced that any big "steering" won't work anyway, and those who do the job (read: write the code, write patches) will largely be those who set the direction. Linus didn't just pick a VCS and decide that everyone will have to use it, but actually wrote his own to suit his needs. And others liked it, picked it up, improved it. On the other hand I'm asking people to use packaging practises that allow others to easily contribute. I almost suggested to make it policy to use debhelper and CDBS... Well, it's one of the things I've learned myself: make it easy for others to contribute - and you'll enjoy it more, because more people will contribute. If it's hard to contribute, people will complain, will file bugs, will argue. If it's easy to contribute, they are more likely to send patches and enhancements. Read: more fun. It's also one of the reasons I blame for my SELinux work being not too rewarding: it's hard to get going, it's hard to contribute (well, that has improved with the public readable SVN repository for the policy). Less people, less contributions, less fun. Anyway, I don't see the need for any steering or "global picture". We're not lacking the big goals, but the low-level fun at development. That doesn't mean I'm strongly "opposed" to the commitee. I just don't see the benefits (but certain costs for electing it. Do we take group applications and vote among groups? Then we could just have the DPL nominate the steering comitee. Or will we vote on individuals, with the top n becoming the board? Then we'll have lots of platforms to read (=boring, not fun), and we'll probably have the same problems at a different level, different opinions in the board. And, given that the DPL has no real power, will the board have any? We also have a technical comittee. Does it have any power (well, it's supposed to, but was it ever enforced)? Did anyone ask it about something recently?

Erich Schubert: Debian board

The "Debian board" has been discussed a lot recently. I'm not so convinced it will improve matters that much. I don't think Debian is lacking a central authority to keep the vision. Most people have some overall vision; these visions might disagree on some points, but a board is bound to have the same disagreements. What is taking the fun out for me is not that some technical matters don't work out the way I want them too, but usually it's lack of manpower in certain files of particular interest to me. For example SELinux has been rather frustrating for me, since I felt like fighting alone on a lost position. Often applications would change faster than the policy could be updated etc. And trying to support sarge made that even more so. Sometimes bugs were fixed upstream, but the packages in Debian weren't updated yet, etc. When I was maintaining galeon back then, the must frustrating things were that on one hand, you had lots of people complaining about galeon 2 being different from galeon 1 (and not accepting that galeon 1 was dead upstream, I preferred galeon 2 and so obviously packaged galeon 2) - and on the other hand that there were tons of open bug reports noone even had time to verify. Working on such a package can be very frustrating. I've been keeping out of flamewars and such for quite some time, so I'm not so much bothered by that. I've blogged about that before. But I don't see where a "board" or "steering commitee" would come in helpful. Especially not in comparison to DPL-named release managers etc. IMHO it would be helpful to bring more people in. Our process of becoming a DD is very demotivating, and actually we could use more people - especially - for things like bug verification. Contributing to Debian can be demotivating for several reasons: Stuff I've been enjoing: What I'd love to see on the long run is some kind of central package repoistory. Many other distributions use some kind of huge version control system for managing all their packages. Maybe we could have something like this with two "default" branches. With very little effort you can get write access to the "public" branch, and only full developers can pull patches over to the "authorative" branch. Packages should be built from that branch, and use some uniform way for this (e.g. debian/patches/ directories!) But people with more experience in team maintainance, e.g. the Gnome team, can hopefully comment more on this.

Biella Coleman: On Mole-ville, a Public Service Announcement, and the Internet.

In a recent post I mentioned that my scalp is adorned with 14 titanium staples. While some may think that I have them because an odd accident incurred during my recent move, I have them because I live in mole-ville and some of them were causing a small disturbance in the hood. Living here means I have a lot of moles on my body and well, these little masses of brown pigment, while they can be somewhat attractive, and unproblematic, can be unruly creatures that can change on short notice and cause a lot of problems. Now I usually don’t blog about personal things like my moles, but I thought it is worth writing about this as a public service announcement… So if there are any other readers who live in a crowded mole-ville, this is little reminder to check up on your moles, sooner than later. I have never had a problem with my moles and there is no history of problems in my family but I do have more than the average number of them. In fact, anyone who has met me knows this because they are all over my face, and there is one distinct one, under my left eye that is shaped like a tear, and often mistaken for dirt, more graciously as a tattoo, and most oddly as that black stuff that football players smear under their eyes. About a year ago, after one of my friends was diagnosed with melanoma (thankfully he is ok), I started checking my moles more frequently and did a full check at the dermatologist. All was ok and when I went to another dermatologist in February, all looked good. Then this summer, as I was running my hands through my hair, I felt a mole and started obsessing over it. I was pretty sure I did not have it a year ago as it was not on my chart and if was, it was probably flat and since I could feel it, it had changed, which is not a good sign… I was traveling most of the summer and it was first in South Africa where I had it checked in a fancy dermatological office in Durban. They dermatologist took a close look and said, looks fine but have it removed because you can’t track it. That made me feel a lot better so I enjoyed the rest of my time there and then as soon as I got back I saw a RN at a dermatology office in NJ (it is near to impossible to get a derm appointment without a month’s wait in the US but since they had RNs, I could see someone quick.. More on this in a second). This person also confirmed what the dermatologists in SA had said but also decided to remove it because I could not track it. A week later a pathology report came back that showed it was dysplastic and that the cells were changing, and thus considered abnormal. Some dermatologists consider this as pre-cancerous, some don’t, but it seems to be that there is more likelihood that this type of mole can turn into cancer. So the “treatment” is a full excision where they remove 1cm all around the mole. I got word of the report around the 8th of August and the only time they could fit me in for surgery was the 25th, a day after I was supposed to leave for Edmonton, which changed my moving plans (and explains why I arrived here so late, making getting my stuff complicated given school is in session and parking is tight). I then scheduled an appointment for a a full body check and removed another mole that once biposed was confirmed as dysplastic and though not as abnormal as the other, the recommendation was to also remove the surrounding dermis. Now, when I called the surgical coordinators, they could not fit me in another time slot to expand my appointment for 2 surgeries because they were “full” even though I explained I was moving away from the U.S. They said that it was up to the surgeon to decide whether to operate on the second area and since I was leaving to Canada the NEXT day, he would probably agree but no guarantees.
So of course, I wanted the stuff out because I was not sure how to go about getting the procedure done in Canada. My insurance does kick in the second I sign up and there is no Bull-Sh*t pre-existing clause stuff here but because I could not get an appointment in time, I would probably have to go to a medicenter that performed these operations and not all do. Though I was confident I could get it done eventually, it would take a lot of inquiring and after a 7 day drive and all that follows a big move, I decided it was not the thing I wanted to do. So I got to the office early on the 25th and one of the first things that comes out of my mouth when I saw the nurse was that I was leaving the next day to Canada and I did not know when I could get care there. Of course the first phrase that pops to mind for many Americans when you say Canada and health care is “socialized medicine” which most people in the U.S. associate with bad healthcare and long waits. Now on the one hand, I have to admit I, to some degree, share those fears, which is one of the reasons I wanted the extra dermis removed asap. On the other hand, I think that the claim is a big fat red herring because in fact for many Americans, they *do* have to wait a long time for many procedures (dermatology is classic for this, and even my first procedure took a 3 week wait and if I wanted to schedule the second one, it would have taken 5 weeks) or worse, they have no insurance, which KEEPS many people from going to a doctor in the first place. So American medicine is not necessarily “fast track” and in a dual sense: in the literal sense because HMO healthcare is like socialized medicine with capitalist prices, and because many people without insurance also probably avoid the doctors until they are in bad shape… And even though I have insurance, they would not pre-approve anything as I am in some awful pre-existing clauses because my insurance had lapsed for 2 months this year. And even though I have never had a problem with a mole in my life and did not even see one doctor in the 6 months before I got my insurance (which is when the pre-existing diagnosis would pertain to) and even saw a dermatologist in my HMO network in February who found nothing wrong, the insurance wants to make sure to add as many roadblocks as possible in the hopes of never paying up. Great. Now I am very grateful the nurse at the derm office proceeded to get the doctor to perform the 2nd surgery and he also was more than ok to do it. I wanted to give them big fat hugs after the procedure but you know, you just don’t do that type of move in your blue robe after the surgery. Before the surgery I naturally “hit” the net to gather a lot of information on moles, cancer etc… I join the millions around the world who–for better or for worse–use the Internet to supplement (some I am sure supplant) their doctor’s medical advice. In fact, a key part of my second project on psychiatric survivors looks at how patient communities are building a sphere of amateur but expert medical knowledge exchange. It is an enormous sphere of vibrant peer-to-peer knowledge production but one that many are uncomfortable portraying as such because it involves a lot more risks and ambiguities than exchange knowledge about, you know, how to get your blue tooth working…. But if we bracket the realm of alternative remedies (which admittedly is a HUGE part of this type of exchange), I think in fact, patients are pretty savvy and are engaging in risk-averse behavior by going on the net and illness forums. A lot of what is exchanged are warnings about side-effects, detailed accounts of experiences with procedures, and yet a lot of red flag raising that one’s experience may not match another persons but may be still helpful. It is a lot of information that often may be missed during the exchange with the doctor and derives from what is another type of expert knowledge: one’s bodily experiences with medicine, illness, and other related procedures. But I have to say that when researching melanoma and moles on the Internet, I was somewhat stumped. There is just too much variation out there to make informed judgments and abnormal but non-malignant moles have the same characteristics as melanomas. The Internet, in this case, seemed helpful to provide some baseline information and then just served to freak me out more than necessary so I turned away for the time being. For now I am just adjusting to the staples, which come out in another week. The procedure did not hurt much but the first week after the removal my head was much more sore than I had expected. Not so fun when on a marathon road trip, which is finally over!

Gunnar Wolf: What does a DPL lead mean?

Rapha l: I mostly agree with your post. Having something closer to a steering committee seems saner than having a single leader for projects such as Debian, due to a single person not able to fully follow everything such a large and diverse mass of people works on. I was among the supporters of Project Cabal^W^Wthe DPL team experiment, and of our 2IC role.
However, you state that a release should determine the time a DPL team (call it committee, cabal or whatnot. I like the title, in fact: "I am an Elected Member of the Whatnot of Debian". Whee!) - I disagree on this one. Like the fact DPL is not chosen for technical but for political work - The DPL (and so should the team) mediates between parties, brings order (controversial, sometimes) to discussions, pushes forward some controversial decisions, reports on the general status of the project - That should be the Whatnot Team work (hmmm... Should I file for trademark on that name?).
In any case... Were we to change our model towards this formal DPL team thingie, I advocate slow changes over strong ones - I prefer a board like this one to be replaced one person at a time, at rates not more frequent than one month, and having them there for a fixed amount of time.
Of course, this would lead to a mess on managing the voting, and each vote being less important for the developers. Besides, we have had DPL elections with as little as two candidates, and topping at seven IIRC - Do we have enough people interested in being responsable for our administrative chores? Would this scheme work? Or would it lead us closer to administrative stagnation? Quoting our not-very-beloved-but-anyways-wise dictator (for the 1876-1910 period) Porfirio D az: "If I want something done, I do it myself. If I want it to take some time, I appoint a delegate to do it. If I don't want it ever done, I form a committee".

Next.

Previous.