Search Results: "ag"

9 January 2006

Colin Watson: Killer apps: bzr shelve

Working on free software has made me fairly revision control system-agnostic; I can't afford to get too wedded to any one system because as soon as I do somebody will invent something new and I'll have to convert again, so I just work with whatever other people on the same project are using. Even CVS doesn't make a lot of difference to the way I work as long as I'm working online and have cvsps handy. And of course I usually don't bother with revision control if I'm just tweaking somebody else's Debian source package a bit (in which case I just use debdiff for paranoia). Using bzr at work, though, I think I just found my killer app in Michael Ellerman's shelve plugin. My working style generally involves alternating between doing lots and lots of stuff in the one working copy and (after testing) going through and committing it in logical chunks. This is fine if everything's in separate files (most revision control systems let you commit just some files), but if several of the chunks are in the one file then I'm reduced to saving diffs and manually editing out the bits I don't want to commit yet, which is obviously pretty tedious and error-prone. bzr shelve presents each diff hunk in your working copy to you in turn and asks you whether you want to keep it. If you say no, that hunk gets unapplied and goes into a "shelf", where bzr unshelve can later reapply it. In the meantime commits act as though the shelved hunks didn't exist. This doesn't help if you want to defer only one of two immediately adjacent changes that end up in the same hunk, of course, but it vastly reduces the scale of the problem. I suppose it would be easy enough to write a shelve-a-like for any other system; it's just that I haven't seen it for any other system yet. If working with systems that lack it really starts to annoy me, I may have to rip out the guts of shelve and figure out how to make it generic.

Wouter Verhelst: Prospective talks for the Debian Devroom @ FOSDEM2006

By request: Here's a list of people who've confirmed they're going to give a talk in the Debian Devroom at the next FOSDEM. This list isn't final yet (there are some more people who've asked for a time slot but did not confirm yet; and I didn't assign slots yet, either) but it might be interesting for those who are coming to have a preview of the subjects that will be available. Well then.
Lars Wirzenius: Nobody expects the Finnish Inquisition: Confessions of a package torturer
Piuparts tests that .deb packages can be installed, upgraded, and removed without problems. Lars uses it to torture all the packages he can get his hands on. This talk will explain how to use it on your packages before uploading them, and thus improving their quality and not having them suffer in Lars's hands.
Martin Zobel-Helas: Debian-Volatile - behind the scenes
This talk will give an overview of how packages are handled for Debian-volatile; what changes are allowed, how security is handled.
Martin F. Krafft: Improving workflow in Debian through process integration
This talk will be about the same subject as Martin's doctorate thesis. The abstract for that is:
This research paper/project details the technical challenges the Debian project faces as it continues its tremendous growth in size and popularity. It describes a research endeavour designed to increase the use of version control within the project for improved coordination of globally distributed teams of volunteers working on the software packages that make up the system. The research primarily focuses on the integration and consolidation of the involved processes. With tools already available for some parts of these processes as well as the coordination of teams, the goal is not to reinvent the wheel, but rather to reuse and improve these tools, to better integrate them, and to make them more accessible by providing abstraction wrappers with interfaces intuitive to Debian developers. It is further the intent for these tools to be optional and fully compatible to existing practices, thus not forcing developers to adapt. The research starts with process analysis and studies of the work habits on the side of the developers, and targets the final output of tools, which implement improved workflow in Debian package management through meaningful integration of existing (and proven) methods
Enrico Zini: Debtags, and what you can do with it today
This talk will introduce the Debtags project, what it has accomplished so far and the wonderful advanced tools that are now available, using debtags, to make sense of the huge package archive.
Bill Allombert: Inside the Debian menu system
The debian menu system transparently keeps the menus in sync with the list of installed applications; so transparently, in fact, that a lot of developers do not know how the system really works. This talk will detail the various components of the system, what the technical challenges are and how they are solved.
Frans J. Pop: Debian Installer internals
An introduction to the inner workings of Debian Installer. Starting with what happens when the installer boots, the talk will go on to discuss how the dynamic menu structure allows the installer to be adapted for different architectures and installation methods. Other subjects will include the special nature of udebs, the contents of a D-I initrd, how cdebconf knits everything together and allows the use of different frontends, preseeding and the use of hooks. If time allows, a short introduction into the build system and CD building may be provided. Some knowledge of Debian package management (like priorities and dependencies) is assumed in this talk.
Aurelien Jarno: The Debian GNU/kFreeBSD port
Debian GNU/kFreeBSD is a port of Debian using the FreeBSD kernel and a GNU libc library. It is currently the most advanced non-Linux port in terms of packages ported.
This talk gives an overview of GNU/kFreeBSD, and a quick comparison between the FreeBSD and the Linux kernel, to give users the necessary information to let them find how the FreeBSD kernel could fill their needs. It then describes the status of the port and the choices made concerning the architecture of the port (libc, threading library, etc.). It will continue by giving the various ways to try out this port and to give help, giving pointers to useful documentation and some useful hints.
Best portability practices are also covered, for both the Debian packaging and the upstream code. It will be based on real examples of non-portable code, and will show the best way to change it into portable code.
Summing the times that people gave me, I'll have anywhere between 5h25 and 6h00 of talks already, and two more people who've shown real interest in doing something in the Debian devroom (but who haven't sent me the information I ask for to be able to confirm their talk; please do so!). I'll probably get 9 hours in all (10 if I squeeze a little bit; but then I might have some issues with the key signing party, which I'm also co-organizing), so there is still some time left for interested parties. However, if you're interested in giving a talk, you shouldn't wait too long anymore!

Benjamin Mako Hill: Principles, Software and Freedom

Apologies to anyone that finds this preachy or holier-than-thou. I don't consider myself immune to this criticism: my mobile phone still runs non-free software. I realize that what I describe here is a process for everyone. I'm just trying to make sure nobody gets too comfortable with the status quo. It's been interesting to see non-hackers finding inspiration in the free/open source software movement. In particular, I've been watching this phenomena for a couple years in the the non-profit and NGO sector. Folks in these groups are often very philosophically aligned with the freedom movement behind free software and there are a number of organizations that are involved in promoting free software and the ideas behind it to NGOs and beyond. What's amazing to me is that in many situations, major advocates of free and open source software in these areas -- people who are advocating the software because of the freedom and not only for the pragmatic benefits -- don't actually use free software on their desktops or in other places they could. Sure, everyone uses Firefox. Sure, everyone uses Apache and GNU/Linux for their web servers. Sure, everyone uses Drupal, Mambo, Plone, or another free CMS. But one can't help but notice that Firefox, Apache, and free CMSs are higher quality, more featureful, and easier to use than the proprietary alternatives. People arguing for free software from a principled position need to remember that principled positions are sometimes inconvenient. Free software is no exception. It's frequently different, sometimes incompatible and a bit more work. In some situations (dare I say it?), it's not as good as the proprietary alternatives. We all need to remember that living a principled life is not always the easiest path. If you take a principled position against GMO foods or in favor of organic produce, you'll probably spend more and shop farther from your house. Your favorite fruit may not be in season year-round. If you only buy fair-trade clothing, your garment choices will be cut down in ways that will sometimes be inconvenient. It's nice when taking a principled position also means you get to do what is most convenient. But there's little principle in taking a principled position only when it's convenient. Yes. There are problems -- often major -- with free software: usability, documentation and otherwise. There are also ways to address these problems. Few of them require that you be or become hacker but almost all of them involve using the software first. I don't have to think hard to recall all of the times I've received contributions (e.g., documentation, suggestions, translations, patches, etc.) from people who don't use my software. If you don't think that spreading free software is an ethical act, you can happily ignore me. If you agree that it's the right thing, think hard about your principles and challenge yourself to take the next step -- whatever that is.

Enrico Zini: Server crashes

I manage to tame my crashing server quite a bit. When I phoned the shopkeeper asking about the terms for getting the motherboard replaced, he asked me what SATA hard drive am I using. He told me that Maxtor harddrives have big problems with NForce chipsets (in this forum there's also something). Of course I had a damn Matrox DiamondMax Plus 9 harddrive mounted on that damn SATA port. Now I disconnected the harddrive, then run 8 kernel compiles in parallel together with this small C program:
#include <stdlib.h>
#include <stdio.h>
#define SIZE 1000000000
main()
 
   char* buf = malloc(SIZE);
   int i;
   printf("allocated\n");
   while (1)
    
      for (i = 0; i < SIZE; i++)
         buf[i]++;
      printf("filled\n");
      sleep(1);
    
   return 0;
 
the C program is to make sure that the swap is used, otherwise even 8 kernel compiles in parallel would happily fit in 1Gb RAM. I run this kind of heavy load for 3 hours and I only had some timeouts in some network services (load was like 25!) and this error twice:
Jan 9 14:58:46 eddie kernel: ----------- [cut here ] --------- [please bite here ] --------- Jan 9 14:58:46 eddie kernel: Kernel BUG at lib/radix-tree.c:372 Jan 9 14:58:46 eddie kernel: invalid operand: 0000 [1] Jan 9 14:58:46 eddie kernel: CPU 0 [...blah blah blah...]
Since the error happened twice and in the exact same position, and since I previously wanted to try the latest drivers and the kernel is a too new 2.6.15, I'd blame those errors to a normal kernel bug. That code seems to be a nasty bit which already gave problems on 64bit systems. Now it's time to get that hard drive replaced. This is so time consuming, but at least things are improving.

Adam Rosi-Kessel: Postal Increase to Pay for Military Retirement

There has been a lot of news about the two cent U.S. postage increase that goes into effect today, but little explanation of why the increase is required. Some reports mention that the increase is needed for a $3 billion “escrow fund,” but do not explain what the escrow fund is for. In case anyone is wondering, Congress required the Postal Service to create the escrow fund to prepay retiree health benefits and fund the military portion of retirement benefits for postal workers who had served in the military. (At least according to postalwatch.org. Who knew there was a postalwatch.org?). I realize this is fairly off topic for my blog, but I was wondering about the explanation, so maybe one or two of my readers were as well. If you’re looking for a more topical connection, perhaps we can blame the postal increase on the War in Iraq.

Gergely Nagy: Social dysfunction

Your Social Dysfunction:
Schizotypal


You display social deficits and oddities of thinking. Your perception and communication are similar to those of a schizophrenic.

Take this quiz at QuizGalaxy.com

Please note that we aren't, nor do we claim to be, psychologists. This quiz is for fun and entertainment only. Try not to freak out about your results.
Seems fitting... *grins*

Andrew Pollock: [life] We're currently a rabbit foster home

As previously mentioned, Sarah is doing some volunteer work at a local animal shelter. Somehow a baby rabbit arrived at the shelter. Rumour has it that it was the offspring of a stray, but that still doesn't explain how it ended up there. Anyway, apparently there was a sign up in the tea room or something, asking if anyone could take it for a few weeks until it got big enough to be re-homed. So we have a rabbit for a few weeks. I don't mind rabbits, but give me a cat any day. We babysat our Canberra neighbours' pet dwarf lop on a number of occasions. Three weeks will probably be long enough for the novelty value to wear off having this one, though. Rabbits just aren't interactive enough. They don't vocalise. Being prey, they're genetically flighty at the best of times. They also tend to chew cables, so you have to supervise them when they're out of their cage. Anyway, we've named her Maybelline, because she has panda eyes, as if she's had eyeliner on and it's run. She's very small and cute. She's rapidly becoming more used to us, and tolerating being patted and handled. Maybelline the rabbit Maybelline the rabbit

Andrew Pollock: [life] An outing on the light rail

Today, we took a day off unpacking and ventured to San Jose on the light rail, of which Whisman station is an easy walk from our place. It was quite a fun outing. An adult "single trip" ticket cost $1.75, and was a good 2 hours travel. So technically, if you could get to where you were going and back again in 2 hours, more power to you. The light rail itself is like a hybrid tram/train sort of thing. It's two cars long, and sometimes goes onto the road, and other times is separate to the road (but always on rails). It stops only when required to pick up passengers, or when a passenger on board indicates they'd like to get off, so presumably this makes the timetable as variable as a bus. On the way to San Jose it didn't stop at a lot of stations. It also has cool bike racks on board. You stow your bike vertically, hanging it from the front wheel. I foresee a few further-afield cycling excursions in the future. The trip to downtown San Jose took about 50 minutes each way, and took us through a real who's who of Silicon Valley. We saw so many names... In San Jose, we popped into The Tech, just to see if it was open next Monday (Martin Luther King holiday), as we will have a guest with us, and discovered that today had free entry as SBC was paying for everyone to come in, so we thought we might as well go in, being free and all. There seemed to be a few more exhibits on line compared to last time I went with Michael, and Sarah enjoyed herself. We also had the obligatory Segway ride, and then headed home.

Amaya Rodrigo: Please Box me!

Ask me stupid black-or-white questions, and then tell I am normal. Heh!





Your Social Dysfunction:
Normal



Being average in terms of how social you are, as well as the amount of self-esteem you have, you re pretty much normal. Good on you.





Take this quiz at QuizGalaxy.com


Please note that we aren t, nor do we claim to be, psychologists. This quiz is for fun and entertainment only. Try not to freak out about your results.




Yours freak-outedly...

8 January 2006

Moray Allan

Some of the books I read in 2005:

Bruce Feiler, Walking the Bible: A Journey by Land Through the Five Books of Moses
Georges Perec, Species of Spaces and other pieces
Bob McCulloch, My Fare City: A Taxi Driver's Guide to Edinburgh
Origen, On First Principles (translated by G. W. Butterworth)
Sin-leqi-unninni, Gilgamesh: a new English version by Stephen Mitchell
Vladimir Nabokov, Pale Fire
Richard Fletcher, The Conversion of Europe: from paganism to Christianity 371–1386 AD
M. A. Screech, Laughter at the Foot of the Cross
Oliver Sacks, The Man Who Mistook His Wife for a Hat
Otto Friedrich, The Kingdom of Auschwitz
Nicholas Barton, The Lost Rivers of London: a study of their effects upon London and Londoners, and the effects of London and Londoners upon them
Anton Chekhov, The Steppe and Other Stories (translated by Ronald Hingley)
George Orwell, Down and Out in Paris and London
Otto F. A. Meinardus, Coptic Saints and Pilgrimages
Aleksandr Solzhenitsyn, One Day in the Life of Ivan Denisovich
R.W.B. Lewis, Dante: a life
Miles Glendinning and Aonghus MacKechnie, Scottish Architecture
Arturo P rez-Reverte, The Flanders Panel
John Chadwick, The Decipherment of Linear B (second edition)
Bart D. Ehrman, Lost Christianities: the battles for Scripture and the faiths we never knew
Plato, Timaeus and Critias (translated by Desmond Lee)
Albert Camus, The Outsider
Tim Wallace-Murphy and Marilyn Hopkins, Rosslyn: guardian of the secrets of the Holy Grail
Ginevra Lovatelli, Secret Rome
Dauvit Brown and Thomas Owen Clancy (editors), Spes Scotorum: Hope of Scots: Saint Columba, Iona and Scotland
Plato, Phaedrus and Letters VII and VIII (translated by Walter Hamilton)
William Chester Jordan, Europe in the High Middle Ages (The Penguin History of Europe)
J. M. Coetzee, Disgrace
Giovanni Boccaccio, Famous Women (translated by Virginia Brown)
Kazuo Ishiguro, An Artist of the Floating World
Georges Perec, A Void (translated by Gilbert Adair)
Saul Bellow, The Victim
Franz Kafka, The Trial
George Orwell, Nineteen Eighty-Four
J. K. Rowling, Harry Potter and the Half-Blood Prince
Francesco Colonna, Hypnerotomachia Poliphili: The Strife of Love in a Dream (translated by Joscelyn Godwin)
Italo Calvino, Our Ancestors (The Cloven Viscount; Baron in the Trees; The Non-Existent Knight) (translated by Archibald Colquhoun)
Eusebius, The History of the Church (translated by G. A. Williamson)
Flynt Leverett, Inheriting Syria: Bashar's trial by fire
Paul Auster, The New York Trilogy (City of Glass; Ghosts; The Locked Room)

Jonathan McDowell: On previous posts.

I suppose I should really update the status of various things I've mentioned in the past. xsm: I gave up and just added the appropriate magic to my xinitrc to start my common apps. I tried fluxbox again for a while, but although it could cope with one of each app it didn't seem to do too well with half a dozen xterms. Maybe with a little effort it could, but xinitrc does the trick well enough. RSS reader: I've settled on Liferea for the moment, with my evil lj-openid-fetch script fetching LJ posts for me. Netgear DG834G: I wrote up a page of info about this, just to have something static. Unfortunately it seems that the Marvell 88E6060 switch chip used only supports port based vlans, which I think means you can split the switch up so that you can have completely separate ports, but doesn't allow the creation of a wan port on the device. This is a shame, as it means I can't use it to handle my setup unaided (I need wan, lan, wireless + adsl ports). X11 programming: I ended up using SDL, which gave me a framebuffer to play with. I suspect I could easily convert the code to run on /dev/fb0 directly, which is nice, though I should look at how to do the same with X again at some point.

Michael Janssen: It doesn't mean they aren't out to get me.

Your Social Dysfunction:
Paranoid


You show pervasive and unwarranted suspiciousness, and mistrust of others. You are overly sensitive and prone to jealousy.

Take this quiz at QuizGalaxy.com

Please note that we aren't, nor do we claim to be, psychologists. This quiz is for fun and entertainment only. Try not to freak out about your results.
I honestly don't see how some of the questions are relevant. Meh.

Martin F. Krafft: Gmail sucks stinky goblin toes

I have used up my Gmail space. What now? I decide to delete the oldest few thousand mails. But how? The UI clearly sucks for this purpose (who needs to delete with 2 Gb of space?), but Gmail fortunately allows POP3 access. So I put together this script as a quick hack (thanks Clint for the tip about coproc -- bash does not seem to be able to do this...):
#!/bin/zsh -e
send()
 
  echo $@ >&p
  echo "sending: $@" >&2
 
recv()
 
  read line <&p
  echo "received: $line" >&2
  echo $line
 
coproc openssl s_client -connect pop.googlemail.com:995
while ! recv   grep -q '^\+OK'; do sleep 0.001; done
send user $1
recv > /dev/null
send pass $2
recv > /dev/null
send stat
set --  recv 
for i in  1..$2 ; do
  send dele $i
  recv > /dev/null
done
send quit
recv > /dev/null
exit 0
and off I go. The POP3 server only ever gives you access to a few hundreds of your mails, so I figured I'd just call this script a couple of times, until my inbox would be a little less full. (I should have used python and a POP3 module for this. :)) Yeah, but forget it. Deleting messages from the POP server doesn't delete the messages from the inbox. Not even If I set it in my preferences. Great. New Gmail account created, my mission: fill their servers to the brim. Update: apparently the bug has been fixed. Now messages deleted via POP3 are moved to the trash, where they remain for 30 days, or until I manually delete them. Magnificent, back to the old problem. Will you please give me 5Gb additional space, Google?

Julien Danjou: I am happy !!!

Your Social Dysfunction:
Happy


You're a happy person - you have a good amount of self-esteem, and are socially healthy. While this isn't a social dysfunction per se, you're definitely not normal. Consider yourself lucky: you walk that fine line between 'normal' and being outright narcissistic. You're rare - which is something else to be happy about.

Take this quiz at QuizGalaxy.com

Please note that we aren't, nor do we claim to be, psychologists. This quiz is for fun and entertainment only. Try not to freak out about your results.
This test is crap.

Eric Dorland: I *knew* this quiz was out to get me...

Your Social Dysfunction:
Paranoid


You show pervasive and unwarranted suspiciousness, and mistrust of others. You are overly sensitive and prone to jealousy.

Take this quiz at QuizGalaxy.com

Please note that we aren't, nor do we claim to be, psychologists. This quiz is for fun and entertainment only. Try not to freak out about your results.

Tollef Fog Heen: Social dysfunction: happy

I have no idea how happy can be a social dysfunction, but here we go:
Your Social Dysfunction:
Happy


You're a happy person - you have a good amount of self-esteem, and are socially healthy. While this isn't a social dysfunction per se, you're definitely not normal. Consider yourself lucky: you walk that fine line between 'normal' and being outright narcissistic. You're rare - which is something else to be happy about.

Take this quiz at QuizGalaxy.com

Please note that we aren't, nor do we claim to be, psychologists. This quiz is for fun and entertainment only. Try not to freak out about your results.

Andrew Pollock: [debian] Secure APT and the new archive key

I think it needs to be more widely publicised that you need to do something like:
apollock@icarus:~$ GET http://ftp-master.debian.org/ziyi_key_2006.asc   sudo apt-key add -
gpg: no ultimately trusted keys found
OK
to get APT to continue to be able to verify packages.

Andrew Pollock: [tech] Arooga! Potential feed disruption coming soon

I think tomorrow I'll reconfigure Blosxom's idea of what timezone my posts are in from Australia/Canberra to US/Pacific. Carnage and mayhem will undoubtedly follow on the odd few Planet's that I am aware of being aggregated by.

Andrew Pollock: [life] I don't think we're in any danger of running out of Vegemite any time soon...

Vegemite bottles of various sizes Somehow we've managed to accumulate a variety of Vegemite bottles. So many, that we should have enough to last us until next time we get a chance to restock.

Andrew Pollock: [life] Gadgetry arriving en masse

Today our new DVD player arrived, as did the Linksys thingy to connect us up to Vonage. Nothing worse than having two new things to play with at once. The DVD player is cheap and nasty (you can flex the drawer) but it plays all regions and converts from PAL to NTSC, so it'll play all of our DVDs. It also does composite video, as does the cheapish and nasty LCD TV we bought, so it's all good. Minor wrestling with the TV and DVD player had them both agreeing to fill the entire screen (or thereabouts) with a movie. Vonage, on the other hand, took a bit more work to get up and going. It wasn't immediately obvious from their website what ports I needed to NAT through my firewall, and my home network is far from what they'd expect the typical customer to have, so I had to call up their support number. After about 3 layers too many of their automatic menu system, and too long on hold, I got to speak to a hard to understand Indian guy, who fortunately was able to tell me without too much prompting, that I needed to allow UDP ports 10,000 to 20,000 through. All good. Next, I was having problems logging in to their website. I'd requested a password reset via the site a few times to no avail, so another call to their support line, and another round of the pushing buttons and waiting on hold got me another hard to understand Indian who after trying to reset my password a few more times declared he was only good for "basic" support, and needed to put me through to the "advanced" people. The advanced guy reset my password again, and swore black and blue that he could log in as me. At this point, I twigged, and tried Internet Explorer instead of Mozilla Firefox. Worked fine. So I can't believe that
  1. in this day and age, Firefox isn't supported for some stupid reason
  2. it isn't a known issue, and they didn't ask
Being a naturally curious and networky kind of guy, I ran a tcpdump of the entire initial setup, from when I first turned the Linksys doodad on, but I'll save writing about that for another time.

Next.

Previous.