Search Results: "ina"

23 November 2006

John Goerzen: hpodder to be multithreaded... done right.

I'll be hacking on my hpodder program this weekend. hpodder is a full-featured podcast aggregator that runs on the command line, and has many features over other command-line podcatchers like bashpodder, and even over GUI tools like iPodder.

I originally envisioned hpodder to be something that I'd cron up and run in the background. But I have tended to run it in the foreground more than in the background. Some others have too, and the #1 requested hpodder feature is parallel downloads.

So I am working on that. I already have code working, in fact, that will parallelize both the hpodder update (downloading the feeds) and the hpodder download (downloading the actual episodes) commands.

Unlike ipodder, my code will make sure that no more than 1 thread will ever be downloading from a given server at a given time. ipodder had the terribly annoying habit of pointing all of its threads at a single server, thus pounding it while also providing little benefit for someone with a pipe fatter than the server's.

Before all this multithreaded stuff could be written, I needed to write my own status bar code instead of just letting curl display its own status bar. (That wouldn't work when there are 5 curls running at once)

I decided that I would write some generic status bar code, rather than something specific to hpodder. I took the apt-get status bar as an example, and whipped one up in Haskell and added it to my MissingH Haskell library.

But a status bar just begged for another feature: a generalized progress tracker. Something that could keep track of where a task (and its sub-tasks) are, calculate ETA, estimated time remaining, speed, etc. So I wrote that and made the status bar use it.

AND, a status bar begged for a generalized numeric formatter: something that could render 512 as 512, 2048 as 2K, 1048576 as 1M, etc. So I wrote that, and it's general enough that it can render into both SI and "binary" units by default (and others that users may want).

Finally, I wrote a function to take a number of seconds and render it in something friendly like 23m5s like apt uses, and shoved that in MissingH as well.

So now hpodder will have a status bar, and any other Haskell program can use the same status bar code in minutes because it's all generic. Or if someone just needs to render a number in megabytes, they can do that.

I really enjoy it when a program needs a solution that is generic enough to put in a larger library. I try to put as much of my Haskell code in MissingH as I can, so as to make it useful to others (and my other programs).

Jurij Smakov: Net neutrality

For quite some time I’ve been hearing about some “net neutrality” issue, but never cared enough to figure out what the fuss was all about. That is, until I’ve seen this advertisement, paid for by National Cable and Telecommunications Association (NCTA). It was trying so hard to discredit the idea of “net neutrality” without actually explaining what it was, that I just had to spend some time educating myself on the issue. And I glad I did, because my final opinion turned out to be completely opposite to the one, promoted by NCTA’s unsubstantiated claims.

Frank Lichtenheld: Searching for pbbuttonsd i386 users

For about five months now the Debian package of pbbuttonsd builds a package on i386, too, since it might actually be useful to have these available on MacBook (Pro) machines as well. What I don't know (since up until now I never actually used or even saw a MacBook with Linux installed) is whether any significant part of the functionality is working there or if it all depends on hardware that was specific to the PowerBooks and iBooks (e.g. PMU). I've decided that I will remove the i386 binary again before etch if nobody claims that it has proven useful too him. So if there are any users out there that would actually miss that package, please speak up now...

22 November 2006

Frank Lichtenheld: Searching for pbbuttonsd i386 users

For about five months now the Debian package of pbbuttonsd builds a package on i386, too, since it might actually be useful to have these available on MacBook (Pro) machines as well. What I don't know (since up until now I never actually used or even saw a MacBook with Linux installed) is wether any significant part of the functionality is working there or if it all depends on hardware that was specific to the PowerBooks and iBooks (e.g. PMU). I've decided that I will remove the i386 binary again before etch if nobody claims that it has proven useful too him. So if there are any users out there that would actually miss that package, please speak up now...

Gunnar Wolf: O mighty Tezcatlipoca, we bow before you!


Tezcatlipoca, the smoking mirror, was (quoting from Wikipedia) the god of the night, the north, temptation, sorcery, beauty and war. He was known by other descriptive names, such as Titlacauan (We His Slaves), Ipalnemoani (He by whom we live), Necocyaotl (Sower of Discord on Both Sides) and Tloque Nahuaque (Lord of the Near and Nigh) and Yohualli ecatl (Night, Wind). And today, I strongly feel as being born his servant. Why? Because today I took courage and started working on the integration of our ~20 print servers into a single, smarter scheme, with user control and printer assignment done by a central server. I cannot, of course, say that in the course of a day my troubles are over - No, no, quite far from it... But at least, I managed to grasp how to send the CUPS generic Postscript driver as the default driver for W2K/XP clients (no, I haven't worked on older ones yet - and yes, we still have many W98 machines around). I'm quite used to the fact that things in a Unix system are just easy to understand. Yes, sometimes it takes some time, sometimes you have to dig into the manuals, but all in all things can be finally understood. Today, after a couple of hours sticking my nose into the extremely extensive Official Samba HOWTO and Reference guide (chapters 21 and 22) and having my attention drift over the quite interesting Implementing CIFS book in a vain attempt to fully understand what goes on behind the curtains, after trying to debug my Windows-Linux communication issues by grokking what Wireshark finds over the wire... I can only understand that CUPS is pure black magic, although quite well documented. Samba is elegant and feels nice and easy, but really begs to be debugged with the Malleus Maleficarum at hand. CIFS (also here) is the subtle utterance of a dark spell pronounced by a stuttering sorcerer. And the way Windows integrates with it all is... Bah.

Jonathan McDowell: Nominet leftist conspiracy?

What The Register doesn't tell you about the Nominet EGM today is the evil leftist elements that are controlling it. No less than 3 of the 5 board members present are left handed. Muhahahaha. We're taking over the world you know. Plus, it appears that deprived of the school market turkey twizzlers now have a new role being provided by hotels for conferences. And finally, once again, if you're a Nominet member, I hope you bloody voted.

Simon Richter: I do not think you have thought your cunning plan all the way through.

I can see that calling terminate on people who leave objects around with a reference count greater than zero is a good thing. Calling the one that you can't place a breakpoint on easily because its symbol is shadowed is a bit on the edge, though.

21 November 2006

Matt Brown: MyVFX first impressions

There has been a lot of interest recently in the VFX VoIP service launched by WorldXchange (WXC), no doubt partly driven by the fact that there is no monthly charge until April 2007. I had a spare Linksys PAP2T so I thought I would try the service out to see how it performed. The signup process didn’t go anywhere near as smoothly as it did when I signed up for my WXC DSL connection. The online signup form tried to force me to select a new WXC DSL Plan (I don’t want to do that, I want to keep my old plan with free National traffic). Despite trying several times and making sure that the only checkbox ticked was VFX each time, it refused to let me go any further. Giving up on the web form, I rang the WXC helpdesk who answered promptly. It is easy to see why WXC won the 2006 award for best call centre. Every time I deal with them over the phone it is a pleasant experience. This time was no exception. The CSR I was talking to explained that the webform was dying because I tried to use a VFX username that differed from my WXC DSL username. There was no mention of this restriction on the website! Anyway, 15 minutes later, with my MAC address taken down and my voice recording completed, I was told we were all done and that I would receive my welcome email and account details with 2 working days! 24 hours later I received the email with the details, followed promptly by a phone call from WXC CSR who was ready to talk me through the process of setting up my PAP2. Configuring the PAP2 was a simple procedure, I had to copy and paste a URL into the Provisioning Rule field of the web interface and reboot the device. It then downloads configuration information directly from WXC (based off the device MAC adddress) and configures itself. I was up and running with dial-tone about 2 minutes after receiving the email. Very smooth. I understand that the process is even easier if you purchase a pre-configured PAP2. The downside to the whole scheme is that in trying to make the process as simple as possible WXC has locked the entire system down very tightly and remove a lot of the flexibility that I would desire. In particular my PAP is now completely locked, I can’t access any of the web interfaces, and even the dial-in prompt on the PAP2 replies with a curt “cancelled” before hanging up. There is no way for me to configure the second line of the device to talk to a second SIP provider. Apparently WXC will create a custom configuration for me so that I can still use the second line, but I imagine this requires giving them all my account details for my second SIP provider, which I’m not sure I’m comfortable doing. It also appears that WXC has an arrangement with Linksys such that every PAP2 now sold in New Zealand comes pre-configured to be used with WXC. I haven’t had a chance to look at one of these PAP2s yet, but if it were to turn out that I had to contact WXC to remove the locking on my PAP2 before I was able to use it with another VoIP provider I would be fairly annoyed. The MyVFX portal is very underwhelming. It insists on opening itself in a new browser window, and isn’t integrated with the rest of the WXC/VFX website. From what I can make out it’s just a branded frontend on to the management system that WXC has purchased. The user interface is reminiscent of the design of the 1990s. I think there is a lot of potential for WXC to improve the experience in this area and I doubt that the average user would be comfortable updating settings via MyVFX in its present state. On the technical side of things the VFX service seems to be fairly well designed and secured. The devices are provisioned and configured using the Linksys/Sipura provisioning tools, which appear to encrypt all conversations with the device. The setup process downloaded two configuration files and a firmware file (v 3.1.10) to my PAP2. Both of the configuration files were binary and appear to be encrypted. Interestingly it appears that WXC downgraded the firmware from 5.1.1 to 3.1.1 during the provisioning process. The MyVFX portal and SIP server appear to be using some sort of BroadWorks device. The device fetches it’s configuration file from the WXC server every time it is powered on, so it will be easy for WXC to push out updates and configuration changes as they desire. The VoIP side of things is performed using SIP, which appears to be using standard HTTP Digest authentication. The username and passsword for this being hidden inside the encrypted configuration files which are downloaded to the device. The voice data uses the G.729 codec inside an RTP stream, and from a few short calls seems to be relatively good quality. Conclusion
Overall, VFX seems like a very easy to use and simple service. Simple being the keyword. By locking down the devices so securely and preventing people from using softphones and devices other than Linksys equipment I imagine many people like myself are excluded from the potential market. I can’t see myself keeping the service after I have to start paying money for it. But I would definitely recommend it to friends and family who are looking for a simple, easy to use VoIP system.

Biella Coleman: A spirited debate on the liberal frame of mind

This morning I came across Michael Berube’s response to Jodi Dean’s critique of Berube’s book What’s Liberal about the Liberal Arts?: Classroom Politics and Bias in Higher Education… It is a fascinating interchange worthy of a close read or two but without first-hand knowledge of the book, I hesitate to pledge my allegiance on either side. But I will hopefully to do so. The only thing that surprised me was that there was no mention of the grand master of the critique of liberalism, Stanely Fish… Not sure why but he seems like an obvious place to start. These ppst happened to really captured my attention this morening given I found them after reading the Chronicle of Higher Education piece Input or Intrusion? which examines the recent attacks against scholars deemed as “anti-Israel/pro-Palestine,” including against Nadia Abu El-Haj who happened to be on my dissertation committee… It will be very interesting to see how this all pans out and I am sure many of us are watching closely. And as an added bonus, here is a student’s thoughtful perspective on the Berube book.

Joachim Breitner: Unicode Hack

(No, this is not security related. Some people call screensavers hacks . But I did get your attention, didn t I?) Whenever I happen to run gucharmap, I like to just browse and have a look at all those weird characters other people, especially asian, are using: A lot of them look really cool. So I thought: This would be a great screensaver.After some API digging I created that screensaver. It uses fontconfig to open the FreeSans and the DejaVu Sans fonts, selects a random glyph from these and display s it full screen. Below, the unicode code point and characer name are printed. After a few seconds, the next character is displayed nothing else, nothing hectic, quite relaxing.When you download the code, you will find a file uncode.c , which is the hack itself, a file unicode-names.h , which is taken from gucharmap and only slightly modified, as well as a buch of files from the xscreensaver distribution. To re-compile the binary, use the script compile , which runs gcc with flags I stole from the xscreensaver Makefile. I know this build system is everything but correct or sensible, but it works for me...Unfortunately I don t think it can be included in xscreensaver, as it depends on libfontconfig. If someone would rewrite it using only libX11, this might be possible, so if you like it, feel free to steal the idea.

Piotr Roszatycki: Lost and Found in NEW packages

Yesterday I uploaded new ossp-uuid packages. Today I was worried why they weren't in incoming.debian.org nor archived in sid... I forgot that new upstream brought new binary package (libossp-uuid15), so it came to NEW and BYHAND packages queue. The Iceweasel stucked there for 90 minutes. My package is still in queue for 15 hours. All packages are equal, but some packages are more equal than others :)

Biella Coleman: These two services I am prepared to acknoweldge, but I do not know of any others

So I am housed in University of Alberta Department of Philosophy as my supervisor is a philosopher and there is no seperate STS department. And this “academic housing” certainly has its advantages, like for example, learning about probably one of the most audacious (and frankly amusing) statments on religion ever… by Bertrand Russell:
My own view on religion is that of Lucretius. I regard it as a diseaese born of fear and and as a source of untold misery to the human race. I cannot, however, deny that it has made some contributions to civilizaion. It helped in early days to fix the calendar, and it caused Egyptian priests to chronicle eclipses with such care that in time they became able to predict them. These two services I am prepared to acknoweldge, but I do not know of any others. Bertand Russel. “Why I am not a Christian” p. 24
I am sure he turned over in his grave when his daughter said:
“He was the most fascinating man I have ever known, the only man I ever loved, the greatest man I shall ever meet, the wittiest, the gayest, the most charming. It was a privilege to know him, and I thank God he was my father.” Katharine Tait, My Father Bertrand Russell, NY: Harcourt Brace Jovanovich, 1975, p. 202.

Evan Prodromou: 29 Brumaire CCXV

Well, I finally got around to doing it -- I signed up for an i-name on 2idi. i-names are a universal identification format for the Internet -- kind of like OpenID, but a lot more centralized and a lot more authoritative. My i-name, for example, is =evan.prodromou -- a brief little string that doesn't really say that much. But you can make it an URI with an "xri:" prefix, and it can be resolved at http://xri.net/=evan.prodromou is the canonical link to my blog, and =evan.prodromou/(+work) is the canonical link to my work. I can change the forwarding when I change blogs (or work, or whatever). It's a neat system, and I guess it's pretty complimentary with OpenID. OpenID 2.0 will support i-names for login, although I'm not sure how well it works. I'm going to be upgrading Wikitravel to use the new OpenID libraries soon, so it'll be i-names capable... and I'll need a testing account, of course. tags:

ikiwiki supports OpenID Ikiwiki is a wiki/blog/CMS engine by the unstoppable hacker Joey Hess. He just announced that he's made an OpenID plugin for ikiwiki. I think that's pretty cool. tags:

20 November 2006

Ben Armstrong: Towards a Debian Jr. Live CD

Debian Jr. development revived Recently there has been some lively discussion on the Debian Jr. list about how to arrange an account for a child of 1 to 3 years of age. Suggestions included using set-top box software like Freevo, tailoring DEs with panels and large buttons, using simpler WMs like fvwm, or using an “activity centre” app like Gcompris. Now, I respect those parents who hold that a child this young should interact more with the “real world”. While I wouldn’t go so far as to outright prohibit my young ones from computer use, I can see the wisdom in keeping it to a minimum. But, for better or worse, our family is one of several who have some experience helping our youngest members use our Debian systems. We would like to share what we’ve learned through the Debian Jr. project. Getting started with live.debian.net To that end, last week I was inspired to follow the Debian Live ISO Howto to produce my first rough draft of a Debian Jr. live CD built from scratch on Etch. For the final product, we’ll want to use a local partial Debian archive mirror, as it not only optimizes fetching packages for several build iterations, but also can be kept stable, which is important as we near release. But for this draft, I ran into trouble building the complete package list to populate the partial mirror, as cdebootstrap, which make-live uses, has no handy --print-debs switch like debootstrap does. So for now, I rely on approx to cache packages for optimization only. A straightforward process to create a working live CD The rest of the process was straightforward: using live-package, I created a package list1 containing Gnome and the Debian Jr. metapackages, I configured /etc/make-live.conf to point at my proxy, and then I ran the make-live script on the package list. The end result was ./debian-live/binary.iso, which successfully booted under qemu. At this stage, there is not much to show. To be truly useful, the live CD needs to be set up so that children and their guides can immediately find and use the material intended for them. We will need not only one live CD user, but four, varying in age range and role. (More about this in a future article.) However, it is an encouraging start, and shows that we may be able to produce something usable by the time Etch releases.

1 For this exercise, I simply combined /usr/share/make-live/lists/gnome with the junior-* metapackages in Etch, and added mozilla-firefox-gnome-support to satisfy Gnome’s web browser dependency and cut down on redundancy, resulting in the following list.

junior-art
junior-doc
junior-games-card
junior-games-gl
junior-games-net
junior-games-sim
junior-games-text
junior-gnome
junior-internet
junior-kde
junior-math
junior-programming
junior-puzzle
junior-sound
junior-system
junior-toys
junior-typing
junior-writing
mozilla-firefox-gnome-support
eject sudo
console-common locales
gdm gdm-themes gnome-desktop-environment gnome-cups-manager gnome-screensaver
gnome-themes-extras
rhythmbox synaptic
x-window-system-core

Mario Iseli: ipw3945 & wpa_supplicant

This weekend my boss installed Debian Etch on his notebook and was very happy, he gave it to me because he couldn’t get ipw3945 run. Ok, it was really not as simple as I thought because I had to pick up some packages from unstable, but finally everything worked fine. Thanks to all the people who worked on this! Hmm, then I had a second idea of what I could try, we have a very proprietary network with Cisco Accesspoints which authenticate against an ActiveDirectory. Ok, after some miuntes (with an almost empty configuration) my wpa_supplicant daemon worked, so I tried out wpa_gui and kwlan to configure it. Configured… But it didn’t work and I didn’t get any useful messages about what’s going wrong. :-( Has anyone experience with this wpa_supplicant in a proprietary Cisco network using LEAP? I would be really happy about configuration files, because on the internet I can’t find useful ones.

19 November 2006

Jos Parrella: Elections in Venezuela

In two weeks (Dec 3rd) there will be presidential elections in Venezuela. This will be the third time where Hugo Chavez, the current President, will be participating in the elections. The first time, in 1998, he won by 62%, then dropped to 59% in 2000 and currently some polls are giving him between 50 and 60 percent of vote intention. Since 1998, we’ve got a very active electoral movement and controversial situations which have raised very diverse opinions about our electoral system. If I recall correctly, in 1998 people voted using optic forms. In that moment, spanish Indra was the company in charge for the machines and most of the technology used in the elections. That was the time where the Supreme Electoral Council depended on the Executive power, i.e., the President. In 1999, Chavez proposed to rewrite the Constitution, and the National Electoral Council became an independent power. This Constitution was approved in two referenda in 1999, where touchscreen machines were used. In 2000, after the new Constitution was approved, new presidential elections were made. The same touchscreen machines were used and we made a transition between Indra and a multinational holding named Smartmatic. In 2004, after two millions and a half of signatures were gathered to recall Chavez presidency, the revocatory referendum was made, using the Smartmatic machines. Almost six million people voted to maintain Chavez in power. Of course, after eight years of the same party in the power, as well as other problems (namely a national strike and a Coup d’Etat in 2002), several ideas arised regarding the legitimacy of the election process.
Today, the National Electoral Council released a flyer in the press, where they try to issue these topics. I must recognize that, being a newbie voter, I was unaware of several of the things they published today. For example, 8 of every 10 venezuelans over 18 are signed for voting in the elections. That’s one of the higher percentages of public awareness about elections in Latin America, higher than, for example, Colombia. That means 16 million people are able to vote, and we’re used to get around 60 percent of participation. We do vote with touchscreen machines, and the results are completely computerized. The military guards all the equipment, and provides security to the randomly elected civilian which work as temporary personnel. Members of every involved party are present in all the election centers, as well as national and international observers. After you’re checked to vote, you have to give your fingerprint in a special biometric device. This is transmitted live, were possible, avoiding two people voting in the same day. After you vote, your finger is marked with silver nitrate, which goes away after two days or so. Of course, you’re only allowed to vote if you don’t have the mark in your fingers. The touchscreen machines prints a paper which you put into the traditional box. After the voting has concluded, more than half of the boxes will be opened and checked against the information in the machine. The boxes subject to this check are randomly selected, as well. A brief thought about the software used in the machines. In 2004 or so, we (the Free Software Community in Venezuela) struggled and made pressure to the National Electoral Council to reveal the code and publish it wide open. This has been achieved until some point, since every interested person or organization is allowed to take a peek at the code. Dozens of organizations have already done so and are impressed by the features that are now present in the code. Before the first vote is registered, the machine prints a zero-vote confirmation, and then subsequently randomizes the order of the votes registered in memory. Only after all the election centers are closed, the machines start transmitting information. This year, three hours past the closing time we’ll have the results. The final and most important, from my point of view, argument held to support our election system is the random queue organization at the election centres. The registry is sorted by ID number, the votes are randomly stored in the memory and the biometric device is used in a per-arrival basis. Therefore, since nobody takes the same time to vote, the queues will be unarranged therefore making it quite difficult to determine a possible vote sequence. This has been certified lately by the European Union, the Organization of American States and other organizations. Whoever wins this election, I’m quite confident about our election system. I just hope that other institutions in our Country start using reliable systems (for example, the national ID office) in order to give at least the feeling of being in a rightful State.

Jeff Bailey: Google for your Domain

I've been playing with Google for your Domain over the past couple of weeks for Angie and my's email. A few observations so far:

1) Still a bit worried that Google now has a pile of my data. I don't know that there's a way to resolve this. I'm wondering if there's a way of doing GPG overlays onto gmail? For the most part I don't really care, but it would be nice to preserve the option of doing a local decryption.

2) It's nice to use my email address for my Jabber account finally. No more having to remember to check the gmail account from time to time to see if someone decided sending an email there would be a good idea. I should probably do the same with my hotmail account.

3) Google talk and Orkut don't play along with GfyD.

4) Google's incremental improvements are cool. In the past week they added customised start pages, which means that I can see my mail and calendar from a start page. The start page isn't as fully featured as the original start page (historical searches, various customer applets, etc. don't work), but looks alot like it did awhile ago.

5) gmail doesn't have a way of filtering on mailing lists. This annoyed me at first, but now is more of a reminder that I should unsubscribe from lists that I don't actually read anyway. The volume on the rest is low enough that I can continue to filter by hand.

Update: It seems that gmail *can* filter on mailing lists, it's just not documented. I've just setup a filter for listid:bug-gnulist.gnu.org and it seems to work. Use it in the "Has the words" section of the filter. Bug #83778177 filed with gmail for an update to http://mail.google.com/support/bin/answer.py?answer=7190

18 November 2006

Evan Prodromou: 27 Brumaire CCXV

Amita June got her 12-month vaccinations two days ago. She had to get four shots -- two in each chubby little thigh. She's really building up a phobia about going to the doctor's office, screaming her head off each time we go in. Maj thinks it's a bad memory from the time she was sick and Maj took her to the nurse for an emergency checkup, which required getting her temperature taken... from the wrong direction. After her 12-month appointment (earlier last week), Maj bought her the book about Caillou going to visit the doctor, and a little doctor's bag that she waddles around the apartment clutching. We did some practice "shots" with the syringe from the toy doctor's bag, and played with the stethoscope and such. I think it helped a little bit, but still... 4 shots in one day is too much for anybody. Chuck Norris doesn't get 4 shots in one day without a few tears. The worst part, I think, is that the vaccinations give her a little bit of a fever, and she's supposed to get some chicken-pox spots next week sometime. She's been a bit irritable -- easy to understand -- which has made everyone in the house a little tense. When the baby's mad, we're alllllll mad. She's not sleeping well? We're not sleeping well, then. Anyways, hopefully this passes soon. tags:

Web server twiddling for dummies Two fun things I did on my server today. First, I finally got around to installing mod_redir_to_servname, which turns out to be rockingly simple and useful. Thanks to Simon Richter for the good insight. The other thing I did was set up awstats for each of the domains hosted on the server. Much more fantastic than my grungy old Webalizer configuration, that's for sure. Even if it doesn't give me everything I want, it's pretty darn good. tags:

PmWiki upgrade Another thing I did today was move the SonaUiki to my main server, and upgrade it from PmWiki 1.0 to version 2.1. That's something I've been waiting to do for a while -- the site has been really carpet-bombed by spammers, and I haven't been able to add any anti-spam extensions since the version was so old. The upgrade process was pretty painless, and the site is now cookin' with gas. I'd like to go back and update some of the PmWiki Cookbook extensions I wrote a few years ago, like the 404-caching extension and the Dublin Core metadata one. PmWiki's a neato piece of software -- well-crafted, compact, easy to extend and use. If someone bothered to configure Wikiwyg to work with it, I'd give it a serious thumbs-up. tags:

Video interview in The Deal I forgot to mention that there's an interview with me in the The Deal Blogs, the blog network for The Deal magazine. It's a pretty tough crowd at The Deal, so I'm pretty glad I came out looking as good as I did. We'll see how the print article looks, but for now I think I'm pretty OK. tags:

Enrico Zini: pbuilder-tips

pbuilder tips Many thanks to Arnaud Fontaine for providing me with the solutions to all pbuilder problems I had during the last years. This is what happens to me: someone reports a bug in debtags, and it turns out that the bug needs fixing in libwibble. I start by fixing libwibble, then I need to recompile libtagcoll2-dev, then use it to recompile libept-dev, which I can finally use to rebuild debtags. A normal pbuilder setup would only take dependencies from apt sources, so I need to create an APT source with the packages I just built and feed it to pbuilder. Now, thanks to Arnaud's suggestion, I have the easy way to create the APT repository:
$ cat update-aptsource
#!/bin/sh
cd /var/cache/pbuilder/result
dpkg-scanpackages . /dev/null   gzip -9 > Packages.gz
echo "Running pbuilder update..."
su -c "pbuilder update"
Since pbuilder works in a chroot environment, the easiest way of making it access the repository is via http. First I put the new repository online:
ln -s /var/cache/pbuilder/result /var/www/debian
Then I add it to /etc/pbuilderrc:
OTHERMIRROR="deb http://localhost/debian/ ./"
Then I tell pbuilder to update the configuration inside the chroots:
pbuilder update --override-config
And finally I can build my stack of packages. This is probably not rocket science for many DDs. What I'm really appreciating here is using the minimum amount of pbuilder customization and of lines of code of extra infrastructure to maintain. Now, at every compile round, I just need to run that update-aptsource script to inject into the system the dependencies that I have just built. Update: Josh Triplett sent the configuration options to avoid using an HTTP server and use pbuilder's bind-mount facility:
OTHERMIRROR="deb file:/var/cache/pbuilder/result/ ./"
BINDMOUNTS="/var/cache/pbuilder/result/"

Andreas Metzler: anti RFID wallet

Mako asks for a RFID-proof, vegan wallet. This is what I have been using for a couple of years:
cigarette case I started using it since my maestro/credit/whatever cards broke frequently, being RFID proof is just a nice side effect. The obvious downside is that I need to carry change separately in my pocket, but I wouldn't want a wallet big enough to carry the huge Euro coinage anyway.

Next.

Previous.