Search Results: "ag"

24 May 2006

Andres Salomon: Actually, they re kinda bland till you scoop sugar on em.

Last night, I opened up a jar of Mott’s Apple Sauce and proceeded to eat half the jar. At some point, I looked at the ingredients; basically apples, high fructose corn syrup, and water. Just how much high fructose corn syrup? I looked at the nutrition facts and realized that I was eating 25g of sugar *per serving*. 5 servings (which is how many are in the jar) would have amounted to eating 125 sugar packets! I tossed the rest of the jar in the garbage. The apple sauce was a lot more appealing when I thought it might actually be healthy. [edit] No, I don’t normally eat a jar of apple sauce; the rest of the food is packed away in boxes, however. Looking at the unsweetened apple sauce, it looks like it has 12g of sugar in the apples themselves. So to correct my figures, eating the jar would have amounted to eating 65 sugar packets, plus some apples.

Baruch Even: Debian in Google Summer of Code 2006

Congratulations to all whose projects were accepted, Debian received 60 eligible proposals, many of those were great projects which we would have loved to accept but we only had 10 slots that are paid for by Google so the competition was tough. The accepted projects are: All the accepted projects received email to them and their mentor, if you are a student whose project wasn't accepted, we'd still be happy if you will do the project even without the funding, if you need a helping hand or a mentor we will surely be happy to help you out, contact me at baruch@debian.org. The plan is that students who have a blog or setup one for the Summer of Code will be added to Planet Debian so everyone can follow their progress on their quest to help Debian improve. Cheers and thanks to everyone who helped make this happen!
Baruch Even
Debian SoC coordinator

Wouter Verhelst: Duck with whisky

One of the classic recepies that get forwarded by mail over and over again to me is the following. It's usually in Dutch, but I've translated it: Get yourself a duck of about 1.5 to 2kg, and two large bottles of Scottish whisky, bacon strips and a bottle of olive oil.
Put the bacon around the duck, and treat the inside with pepper and salt.
Preheat the oven for 10 minutes at 180 degrees Celcius.
Fill a large glass with whisky.
Drink the whisky while the oven is preheating.
Put the duck on a fireproof platter and fill out a second glass of whisky.
Drink out the second glass of whisky and put the duck in the oven.
After 20 minutes, put the oven to 200 degrees celsius and vill 2 glazzes of whisky.
Drink out the glazzes and pick ub the piecez of the first glazz
Fill anozzer half glazz and drinkit.
After halven our, open the ovven to cheq the duck.
Fetch the burninjury oindmend in the bathrthroom and pud it on the ubber zide of the lef thand.
Vill anozzer two glazzez of whiskey.
Open the ovven after the first glazz izz embdy and biggub the bladder.
Pud the oindmend on the inner zide o the righdhand.
Biggub the dug.
Biggub the dug again and use a towel to rrremovve the oindmend from the dug.
Degreaze th hand with visky and biggub the oindmend dube whisj is laying onthe ground.
Clean ub the brokan glazz and put the dug bag in the ovven.
Pig ub the dug and open the ovve firs.
Open the segond boddle of bisk and pud id straight ub again.
Get ub from the fllloorr and puz the bagon under ve cabined.
Geddub again and siddown aniwey.
Pud the boddle on the flooj.
Dring fromve boddle since the glazzez are borken or unreadjable.
Switch ovv the ovven, gloze your eyez, and ffffall over. No, I didn't try it. But it might sound like something nice for a DebConf in Edinburgh...

Simon Richter: Back & shipping

So, I'm back from Mexico, and already massively offended. :-/ Why the hell does anybody still use DHL as a carrier when they admit on the phone that they are unable to reroute a parcel, or even tell where it is? "We have so many parcels, it is impossible to tell that". WTF? Isn't that what you have been fricking paid for? Well, I've mostly switched away from them. I only wish other people would do that as well. FedEx, on the other hand, has left a positive image on me. Despite the sabotage attempts of the reception staff at Oaxtepec (they told the courier that I had left weeks ago) they managed to get my stuff to me. How they did that? The person on the phone was able to find the parcel and call the driver and ask where he was, then schedule a meeting.

Matthew Palmer: Testing the Testing of Your Tests

I'm writing an application in Ruby that makes heavy use of XMLRPC (the application of XMLRPC-over-Unix-socket fame), and so I'm using Mock Objects to mock out the XMLRPC client proxy and provide an interface that doesn't involve having a whole other infrastructure running on my laptop so I can run my test suite. For those who don't know, mock objects are objects which look and superficially act like the real objects you might use to communicate with an external service, but don't actually do the communication -- instead, they return canned responses to your calls. Why is this useful? Well, imagine that the real object talks to a SOAP service on the 'net (such as the Google search API). It means that every time you run your test suite, you need access to the Internet. The external service may also cost something everytime you talk to it -- or it may be impossible to use to test, since there's statistics generation or something going on that means that hammering it for test purposes is just impractical. In addition to returning values to your application, mock objects will usually record what has been called, so that after your test run is complete, you can also verify that all of the methods you wanted called have actually been called. This means that you can have a good idea that what you wanted to happen to the service actually would have been done. Handy. Some people have a (justified) ditrust of Mocks, because it's easy to make a mock object that doesn't perform like the real one (and hence invalidate your tests), but they provide a necessary evil in cases where you just can't use the real object when running your test suite. The XMLRPC proxy I'm using has a bit of a quirk. Everything runs through one method on that object -- XMLRPC::Client#call(). This seems really limiting, especially in a wonderfully dynamic language like Ruby. In reality, it's not too bad -- it makes the object interface easier to mock, and you couldn't emulate the whole thing with method_missing anyway, because you can have various Ruby-illegal characters in XMLRPC method names. The downside to this all-in-one-method thing, though, is that simply verifying that #call() has been invoked a dozen times doesn't really tell me much about whether the mock was used the way I wanted it to be used. My chosen mock object suite, Test::Unit::MockObject, whilst otherwise excellent, is (or rather, was) missing the ability to verify the arguments that are passed to your calls -- you can say "I need methods x(), y(), and z() called", but you couldn't say "I need the call y('foo', 'bar', 42) made". Of course, this change the mock object class is non-trivial, and needs to be tested itself (it'd be pretty lame if a class intended to facilitate automated testing lacked a test suite of it's own). I added a bunch of tests to the test suite, and got some good results. I had a couple of false starts, where I wasn't checking most of the corner cases (where bugs lurk in the shadows), but eventually I got a test suite that was fairly complete, which drove the new features I needed to a good place. So I carted my newly enhanced mock object class across to my production project, and off I went. Except that I was getting some downright weird failure messages when my code wasn't invoking the mock object the right way. Why? Because I hadn't tested that my failure messages were appropriate. Why was that? Because the assert_raise assertion in Test::Unit doesn't have a facility to make sure that you're passing back the right exception message, only that you're passing back the right exception class. Whisky, Tango, Foxtrot? Over. (This space intentionally left blank for me to insert the correction to this claim that the lazyweb is sure to provide) So I had to write a new assertion (assert_exception_message) which checked that both the right class and the right message came back. This code, of course, needs to be tested too, because otherwise you can't be sure that your test code is performing right. At this point, I was writing test code to test a new assertion I'd written so I could test the mock object class I had modified so I could test my application. At this point, things got a bit "meta". It got a bit difficult to separate out the tests from the tests' tests. But I fought through the brain melt, and shortly thereafter came out the other end with a properly working piece of actual application, and all was well in the world. By now, a certain Mr. Tendys is probably rubbing his hands with glee, as he gets ready to espouse at length about how this whole post just proves how utterly useless test-first programming (or even testing in general) is for producing economically-viable software. Let me analyse what I "spent" on getting all this functionality, though -- about 3 train trips home -- maybe 4 hours of time total, including writing the extra tests in my application to use the wonderful new features I'd made. That's not much, in the grand scheme of things. I've wasted that much time in a day skiving off work in the past because I was frustrated with what I was trying (and failing) to program, usually because I was swamped with bugs. What did that four hours of my time buy me? Heaps. I can now better verify my software works as anticipated. I have confidence that my software is a lot more robust than it was before. My tests identified several issues that passed my eyeball check, but blew up when I tried to actually use them in a particular way. But with the help of my tests, I identified the problems quickly and went on my way. Since I was working in a localised area of the application, I was immediately familiar with the code, and could stomp the bug almost immediately. If I'd only done end-to-end testing at the end of development (or worse, released it with the bugs still in there), the debugging would have been much harder because I'd forgotten little details about the code. I reckon that benefit, alone, has probably saved me 4 hours already, since I've spent whole days hunting down little bugs in an ad-hoc fashion in the past. I'm fairly sure most any programmer can empathise with me there.

Erich Schubert: Debtags AI tagger accepted for summer of code

Congratulations to Alex de Landgraaf. His proposal "Debtags, using AI classifiers for automating the tagging of Debian packages" made it into the list of projects that have been accepted into the Google Summer of Code. There were others with a similar proposal, but Alex' was most convincing. The SELinux projects didn't make it into our slots - a pity. But I hope that we'll get SELinux into etch somehow anyway. We would have liked to take twice as many projects; but that would mean some other organization gets a slot less. I think we got a good set of projects.

Norbert Tretkowski: Worst jet lag ever

When I came back from DebConf6 on Monday, I went to bed at about 22:00 in the evening. I couldn't really sleep in the plane, so I stand up 18 hours later, Tuesday at 16:00 in the afternoon. Today I woke up at 07:00 in the morning and couldn't sleep any longer, after I went to bed at 04:00 in the night. Guess what... I feel tired. Looks like I'm getting old, this is the worst jet lag I ever had.

Adam Rosi-Kessel: Cell Phones and Search Costs

I am one of the unfortunate hundreds of thousands of Verizon customers who eagerly ran out to buy the Motorola v710 Bluetooth phone when it first came out a couple of years ago. (For a short period of time, I could really turn heads with my wireless earpiece—now you look like an antiquarian if you don’t have a Bluetooth headset). It turns out that Verizon disabled all of the most useful Bluetooth features on the phone, and a class action lawsuit ensued, which predictably settled on terms quite beneficial to counsel, but less so to the affected class. The settlement provided several options for Verizon subscribers who had purchased the v710, only one of which had a substantial monetary value—namely, a $200 credit toward a new phone (or whatever the actual price we paid for the phone, assuming we still have receipts). The settlement period expires at the end of the month, so tonight I finally got around to cashing in on the victory. I was quickly reminded of how much I hate shopping for cell phone technology. Verizon provides more than a dozen options for cell phones, each of them mediocre in its own different way. (I should also mention that the Verizon Wireless website is, itself, mediocre in many different ways.) Cell phones have been around for long enough that it ought to be fairly mature technology; instead, you have to figure out which annoying shortcoming bothers you the least. The most expensive of the non-Pocket PC models, the Samsung SCH-a630, despite having a 2 megapixel built-in camera, has a lower image quality than the cheaper “LG the V” (better known as the LG VX9800), as well as crippled Bluetooth like the v710. I ended up settling on “LG the V,” despite its silly name and hefty form factor, because it seems to be the one model that Verizon decided not to cripple Bluetooth on. Apparently, it has complete OBEX support, and works quite well with Linux. It gets worse shopping for Bluetooth headsets. None of the top headsets recommended by cnet are even offered by Verizon. So instead you’re stuck perusing endless message board postings for threads with names like Which Bluetooth Headset is best for VX9800? trying to figure out which, in fact, is the best Bluetooth Headset for the VX9800. While some aspects of a Bluetooth headset are obviously personal preferences based on, for example, the shape of your earlobe, how often you drive in a convertible with the top down while talking on your cell, and whether you like to wear your headset to bed, I would really appreciate some objective metrics and brand uniformity. There’s no way to predict, for example, whether a particular model of Motorola, Jabra, or Logitech headset will be any good—some seem to be well received, while others have glaring design flaws. As a trademark lawyer, I’m disappointed by this state of affairs. I’d like to be able to identify a brand that I can trust and just go with it. This is especially true where it’s difficult to evaluate the quality of an item on first inspection (or over the Internet) and it’s an item you’ll keep for at least a while (two or three years for cell equipment). As things stand, there seem to be few real winners, and the search costs are inordinately high. Hopefully the invisible hand will eventually fix this situation, but I’m not going to bet on it.

Alexander Schmehl: When we arrived at home...

... yesterday evening, we fell into bed. Interesting: Although I managed to sleep very well in the airplane for something near to 10 hours (and so did alphascorpii), we still slept for another 16 hours when we got home. I think I'm getting old; that's the worst jet lag I ever had. So here is a list of things you can do at 3:00 AM in the morning, when you can't sleep because of jet lag problems: Perhaps I just finish reading The Da Vinchi code before someone, who went to the movie, spoils the ending. See you in... wherever DebConf7 will be.

23 May 2006

Meike Reichle: Back home from DC6

So, I am back home. After a 24 hour journey we arrived at Tolimar's place Sunday night, after a journey that sadly was not as nice as the one to .mx. First we departed about 1/2hr late from Oaxtepec since the backpack of a fellow traveler was ridden over by a car. Than our taxi driver charged us 900MXN for the trip to the airport, although we had agreed on 800 before we left.
Once in the airplane our machine had an engine problem and could not take off. We waited for about 2.5hrs while the inside of the plane steadily got hotter and hotter. Due to this we also missed our connecting flight at Heathrow and were rebooked on a later flight. Probably due to this Tolimar's luggage didn't make it on the same flight and had to be delivered to his house on the next day. Once we had finally reached Frankfurt we went to bed and slept for 16hrs straight. Got back up at about 5pm today, took the train to Hildesheim and am now finally home! No DebConf6 conclusions yet. I am in full EndOfEvent/jet lag mode and feel deader than the frozen chicken (Chicken! Of all things!) I just dug out the icebox of my otherwise totally cleared out fridge. At the moment the predominant feeling is a mixture of "Wow, that was a trip!", profound tiredness and regret about all the things I had planned to do but found no time then. PS: Bubulle, flattery won't help you. I'll get you for this! PPS: Time to write postcards. ;) PPPS: I'm freezing!!

Edd Dumbill: So, you missed XTech?

If you missed being at XTech 2006, no need to worry, there's some great coverage out on various blogs right now.Suw Charman has some detailed transcripts of sessions she attended. Find them via the "related entries" bit of her XTech wrap-up post. I'd not had the pleasure of meeting Suw before last week, and I was enormously happy that she came to speak at the conference and contributed so generously in her blogging.(I also had a very interesting conversation with Suw about venues in London, which is all I'll say for now, but watch this space for news of a plot I'm cooking up for later this year.) Thomas Vander Wal has also written about his XTech experiences. It thrills me to bits that we were able to challenge and stimulate established web experts and newcomers alike.I'm really grateful to everybody who has blogged about XTech. It really improves the experience for everyone, and reaches out to those who were unable to attend. Through Planet XTech we were all able to get instant feedback and reflection on the conference. I've tried to read every word that has been written, good and bad, and will fold what I've learned into the planning for next year's event. And now is not the time to rest. XTech 2007 will be held in Paris, in May 2007. I will very shortly be announcing the theme and confirming exact dates and venue.

Steve Kemp: The grabbing hands grab all they can

xen-tools can now create images of centos, and other RPM based distributions:
xen-create-iamge --hostname=test.my.flat \
  --ip=192.168.1.123 --dist=centos4 --rpmstrap
There are two outstanding problems: rpmstrap doesn’t seem to install the RPM of centos-release so you must either manually fetch it, or edit the /etc/yum.repos.d/CentOS-Base.repo file before “yum install foo” works correctly. (The rpmstrap command line handling is broken (#368648) so –include=centos4-release doesn’t help. Plus it wouldn’t work for the other distributions.) OpenSSH is not installed automatically because of the first problem. Anybody who is wishing to test other targets supported by rpmstrap such as mandriva, suse, etc, or is capable of helping me fix this yum problem should look at the xen-tools CVS repository or homepage. With a bit of feedback there could be a 1.5 release early next week.

Alexander Schmehl: You know, that you are back home...

... when: But the best sign, telling you, you are finally arrived at your home, is:
You are on your toilette, wondering where the bucket has gone, and what to do with the paper!

Biella Coleman: Mexican Bribes

Another Debconf has come and passed. This was my 3rd conference and surely to be one of the more memorable, partly because I showed up for the whole time (and am now traveling with 4 other DD’s in Mexico) and partly because of a few problems that plagued my visit. There is no doubt that I had a wonderful time but some of my attention was drawn away from enjoyment toward crisis management. For the first few days, it was due to computer problems (now sort of fixed) and then the last few days I had “Biella Hardware” problems in the form of one of the worst combo sore throats/ body aches that I have had in recent memory (now sort of fixed but not entirely). Now that I am in Oxaca, I hope to spend a little time blogging about this year’s Debconf but before I wanted to pass along what I think has been one of the more amusing experiences thus far in Mexico. So yesterday a group of us (Jeroeun, Martin K, Micah, Vagrant) rented a car to head off to the Southern city of Oxaca. I have actually never rented a car in a foreign country, and I was a little concerned about everything from price to roads to cops. Amid my nervousness, the employee at Thrify was sort of reassuing and quite nice but he gave us some unfortunate news: he warned us that as we reached this one particular circular intersection in Mexico City we would be stopped by a cop (because we are tourists) and basically bribed. This was not surprising news to be but I was surprised at how upset this made me. (maybe because I have never had such an experience and thought I would mangle it when the time came to pass off the money or offset the bribe or whatever). Anyway, after we packed 5 bodies and copious luggage into our compact Nissan, we headed off somewhat prepared to face off the cop and decided it was best I drive as I was the Spanish speaker. We made our way through the congested streets and headed toward the intersection and as we got closer, I thought to myself how are they going to spot us within all this traffic? But you see, the thing about this intersection is as soon as you make the turn left, you hit a light and need to stop for a long time. And you see, this gives the cop ample time to switch on the tourist radar and spot the noticeable white bodies. Sure enough, within 30 seconds of stopping at the intersection, a Mexican cop walks over and there is where the fun began. So he basically told me that I did not use my signal lights for turning when I made a left and that this infraction would cost me US $120. At this point I started to get a little freaked (I already dropped too much money on a rental car) but I remained calm and told him basically in Spanish With all respect, officer, I think I used my light because I am in a foreign country and am very aware that I must follow all traffic rules. After a little back and forth, I moved on to the bribe stage. While we were told that 100 pesos (10 US) was the typical bribe, we, being cheapskates, just offered 5 US. And then, magically, at that point, the officer said, ok just go ahead and be careful not to repeat the offense next time. I was shocked. I mean there was some money being offered right there and I was sure he was going to ask for a little more. But he backed off. Why? I think it was a combination of factors. Ok so perhaps he was surprised that I knew what was going on. Perhaps he was uncomfortable that I knew Spanish. But I think he the tipping point was due to cultural factors. I think he found it odd that there was this little woman driving a car with 4 grown and pretty large men. Given the gender dynamics in the country, this was just beyond his cultural comfort zone and he realized that I was badassss, and he just backed off. Ok, so I don’t really know if that is what happened but I like the explanation and am glad I got off the hook :-)

Wouter Verhelst: Jazz' Oops.

wouter@jazz:~$ ps aux   grep [k]swapd
root         4  0.1  0.0      0     0 ?        Z    Apr26  63:19 [kswapd] <defunct>
wouter@jazz:~$ dmesg   tail -n 23
Warning: kfree_skb passed an skb still on a list (from 000e4416).
Negative d_count (-1) for sparc32/soft-fp
Unable to handle kernel NULL pointer dereference at virtual address 00000000
Oops: 00000000
PC: [<00027c16>]
SR: 2004  SP: 043f9f24  a2: 043f8000
d0: 0000002d    d1: 00000001    d2: 04181f50    d3: fffffbd5
d4: 000001af    d5: 00140d6c    a0: 00000014    a1: 0000003a
Process kswapd (pid: 4, stackpage=043f9000)
Frame format=7 eff addr=043f9f4c ssw=0485 faddr=00000000
wb 1 stat/addr/data: 0005 00027c0e 0010e024
wb 2 stat/addr/data: 0085 00000000 00000000
wb 3 stat/addr/data: 0005 00000000 00000000
push data: 0010e024 ffffffff 01d33ae0 04181fb0
Stack from 043f9f8c:
        01b97300 00000001 00027da8 04181f50 00000001 00000005 00000030 00000005
        00000001 00000002 043f8000 00002000 04371830 00191ff8 00028070 000005d9
        ffffffff 00000020 00019740 00000005 00000030 00000000 00000005 00000000
        000197f6 00000030 00002980 000029b4 00000000
Call Trace:
        [<00027da8>] [<00002000>] [<00028070>] [<00019740>]
        [<000197f6>] [<00002980>] [<000029b4>]
Code: 265f 285f 4e75 2f0c 2f0b 286f 000c 41ec 0018 b1d0 
That's bad, right? I guess I'll have to reboot it when I get anywhere near it. In the mean time, I've had to shut down its buildd, since not running kswapd is wreaking havoc with the load on jazz. And while I'm at it, might try to install 2.6 on the box, too, see whether that works yet. Only that has a different set of issues; it doesn't seem to be possible to generate initrd images for 2.6 kernels while you're running 2.2. And I'm not compiling my own kernels; Debian's kernels are just fine. If I can get them to work. Suggestions, anyone?

Bdale Garbee: Debian LWN Subscriptions

I just discovered that at least some of the requests for access to LWN.net under the group subscription Debian paid for by HP have ended up in the wrong mailbox for a few weeks. Sorry about that, it's entirely my fault. I believe I've now caught up and given everyone access who asked for it and meets the requirements. If I missed any, please re-send the request. If you're a DD and don't know what I'm talking about, you can find details about LWN and how to get added to the Debian group subscription in this message in the Debian mailing list archives. For what it's worth, there are now 427 DD's subscribed to LWN as part of this group subscription.

Ian Murdock: Nat Friedman, CFO

Tectonic: “Friedman recalls going to the ATM after the $2 million was deposited and getting a statement. ‘It ran off the edge of the page!’ He then tried to transfer the $2 million from one account to another through the ATM, which the system couldn’t handle. Eventually with a good queue growing behind him Friedman moved the money in $500 000 increments. A week later they hired a CFO, who banned them from moving millions of dollars around through the ATM.”

Steve Kemp: Let me show you the world in my eyes

I’ve just finished recovering from an unexpected few days away to York. Unexpected because I had only intended to spend one night there, but there was some work being carried out on the trainlines over the weekend so in the end I spent three nights there, and barely staggered home on Monday morning in time to start work at 9:30. Still nice to spend three days with my sister, her husband, and their new cat Nero. Once I got back I uploaded a new revision of xen-tools, so the Debian package is now bugfree. There might be more movement in that software soon. I’m currently experimenting with rpmstrap which can be used to install non-Debian distributions. Nifty. In other news, despite valuable suggestions, I’ve managed to install cfengine on 69 hosts and do useful things with it. So far I’m mostly copying files around, restarting services, and running simple jobs from it. (e.g. installing nullmailer, setting up syslog-ng to log to a central host, etc.) Still it is all going well.

NOKUBI Takatsugu: File-MMagic 1.27

Today I uploaded File-MMagic-1.27.tar.gz to CPAN, tt has two minor bug fix.

Christine Spang: Physics Day 06

Today was Physics Day. I.e. all the physics students around Central New York took a field trip to Six Flags Darien Lake and pretended to do a lab while riding roller coasters. Some of them may have actually done the lab at the amusement park. Others only attempted to. Still others didn’t even attempt. It was fairly nice out, albeit really, really cold. It definitely did not hit 60 ever during the day, and we almost had frost the night before (is it really late May?). The AP (advanced placement) classes made T-shirts for the trip (note the hoodies underneath): Physics Day Group On the back they have physics-ish greek letters on them, though some of them are combined in strange combinations that have absolutely no relevance whatsoever to actual physics. E.g. picking one’s initials, or spelling out “pow”. Mine’s a sort of joke on my second-in-the-class-ranked GPA: Beta! Here are a few people in the “attempted to do lab while in park” category: Attempting to do the lab I definitely had a good time. It sort of felt like the weekend never ended; tomorrow’s going to seem strange. Plus, with our Fine Arts Department end-of-the-year concert on Thursday with small ensembles getting out very early to rehearse at the Syracuse Civic Center, and Friday being a snow day give-back, this week is incredibly short. Word. In productivity news, I finally finished P&P part II this weekend after putting it off for an entire month-ish. Don’t I feel accomplished.

Next.

Previous.