Search Results: "nic"

11 January 2010

Gunnar Wolf: Engineer? Scientist?

Looking over some articles in the March 2009 issue of the Communications of the ACM magazine, I found a very good piece column (Is software engineering engineering?, Denning, Peter J., and Riehle Richard D. , Communications of the ACM, 03/2009, Volume 52, Number 3, p.24-26, (2009) ). Quoting from it:
The search for an alternative to the programmer image is already a generation old. In 1989 we asked: Are we mathematicians? Scientists? Engineers? We concluded that we are all three. We adopted the term "computing", an analogue to the European "informatics", to avoid bias towards any one label or description. (...) Predictable outcomes (principle of least surprise) Engineers believe that unexpected behaviors can be not only costly, but dangerous; consequently, they work hard to build systems whose behaviorthey can predict. In software engineering, we try to eliminate surprises by deriving rigurous specifications from well-researched requirements, then using tools from program verification and process management to assure that the specifications are met. The ACM Risks Forum documents a seemingly unending series of surprises from systems on which such attengion has been lavished. Writing in ACM SIGSOFT in 2005, Riehle suggested a cultural side of this: where researchers and artists have a high tolerance, if not love, for surprises, engineers do everything in their power to eliminate surprises. Many of our software developers have been raised in a research tradition, not an engineering tradition.
It would be an interesting excercise to find how people rate themselves in this regard in a large group of developers, and find the differences in their coding styles, or how varied (in developer profiles) are each of the sub-groups.

10 January 2010

Robert Collins: Announcing testrepository


For a while now I ve been using subunit as part of my regular development workflow. I would pipe test results to a file, use subunit to report on failures from that file, and be able to inspect all the failures at my leisure without rerunning tests or copy and pasting from far back in my history. However this is a bit adhoc, and its not trivial to get good pipelines together while its not hard, its not obvious either. And commands like tee are less readily available for Windows users. So during my holidays I started a small project to automate this workflow. I didn t get all that much done due to a combination of travel and coming down with a nasty bug near the end of my holidays which I m now recovering from. Yay health returning + medicines. If only we had medichines :) . However, I managed to get a reasonable first release out the door this evening. Grab it from launchpad or pypi. Testrepository has a few deps all listed in INSTALL.txt. Folk on Ubuntu Lucid should be able to just apt-get them all (sudo apt-get install subunit will be enough to run testrepository). If you re not on Lucid you can grab the debs manually, or use the subunit ppa (sudo add-apt-repository ppa:subunit), though I ve noticed just today that that karmic subunit build there only works with python 2.5, not the default of 2.6 I will fix that at some point. Using Testrepository is easy if you are developing python code:
$ testr init
$ python -m subunit.run project.tests.test_suite   testr load
id: 0 tests: 114
This will report any failures that occur. To see them again:
$ testr last
id: 0 tests: 114
The actual subunit streams are stored in .testrepository in sequentially numbered files (for now at least). So its very easy to get at them (for instance, subunit-stats < .testrepository/12). If you are not using python, you can still use subunit easily if you are using shunit, check or cppunit . subunit ships with bindings for shunit and cppunit, and check uses libsubunit with the CK_SUBUNIT output mode. TAP users can use tap2subunit to get a subunit stream from a TAP based testsuite. It s still early days but I m finding this much nicer than the adhoc subunit management I was doing before.

Russell Coker: The Lenovo U1 Hybrid an example of how Proprietary OSs Suck

Lenovo have announced their innovative new U1 Hybrid laptop [1]. It consists of a tablet-style device with a resistive touch-screen that runs Linux on a 1GHz ARM processor which attaches to a base computer that has a keyboard and a Core2 processor running Windows 7. They apparently have some special software to synchronise web browsing on both computers so you can maintain your web sessions when you detach the computers. How they manage to use the power of the Core2 CPU for javascript and flash intensive web sites while allowing the active browser sessions to migrate to a different OS must be a neat technical trick. Revision3 have a youtube review of the U1 which shows what it can do in terms of the hardware interface [2] Running two computers requires having two batteries, motherboards, etc which means more weight or means less battery life for the weight, whichever way you think of it the user is losing because of this choice. The idea of having two computers in one is one of these cool technical ideas which just won t provide a benefit for the users. The best thing for the users would be to have a single light-weight computer that provides an adequate amount of performance. A 1GHz ARM processor should give good performance when running Linux for most tasks (web browsing, office applications, and most games). So it seems that a good tablet with some USB ports and a matching USB keyboard would be a better option. Maybe you could have a spare battery integrated with the keyboard as most times when you want a full sized keyboard weight isn t such a big problem. The problem with MS-Windows in regard to such machines is that performance is poor and processors other than i386 and AMD64 have never really been supported (sure you can buy MS-Windows-based PDAs that have ARM and PPC CPUs, but the application support for them is minimal). These problems will never be solved. MS wants to compel users to continually upgrade their software, this requires always adding new features (bloat) while an older or less featureful OS is often a better option for lesser hardware. Vendors of proprietary applications will never support the range of CPU architectures that a free software distribution such as Debian or NetBSD supports (not that NetBSD is an ideal tablet OS but it does demonstrate what can be done if you want a portable OS). These inherent flaws in the proprietary software environment lead to some unusual hardware being designed to work around them such as the Lenovo U1. I don t have any reason to believe that the Lenovo is a bad machine, it sounds like a reasonable work-around for some of the problems that MS-Windows has forced on the industry. But I believe that it would be a much better machine if it was lighter, had a better battery life, and had a choice of keyboards all of which would have been achieved if it was designed as an ARM-only tablet machine that you can connect to an external keyboard. They could even have used a multi-core ARM CPU. But the market for such systems apparently isn t large enough for Lenovo (or anyone else) to ship ARM laptops for serious use. There have been a couple of netbooks released recently with CPUs that don t support the i386 or AMD64 instruction set, but they were aimed at web browsing use not general purpose computing. Almost everything that I do on computers could be done at least as well with a CPU that doesn t run an Intel-based instruction set, the only exception is virtualisation which doesn t seem to be well supported on architectures other than AMD64 nowadays.

Joey Hess: please set up tor bridges

Here is a great talk from the Chaos Communication Congress about Tor and censorship: lessons learned. It's the inside scoop from the Tor guys on how they're keeping Tor usable inside China, Iran, etc despite attempts to block it. clients per day Chinese tor users via bridges If you're like me, you have resources and would like to help Tor, but the exposure of running a exit node is way too high, and even running an non-exit node seems risky. Now there's a third option, running a bridge which can be used to get to the Tor network. The great thing about doing this is that you can be pretty sure anyone using your Tor bridge is the kind of person you want to help (and not some spammer or worse). There's little reason to use a Tor bridge unless your ISP/Government is repressing you. Also, the worst thing that is likely to happen to your bridge is that $COUNTRY discovers its IP and blocks it. So the benefits seem focused and high, and the risks easily managed.

9 January 2010

Erich Schubert: Facebook Scam Groups

Facebook seems to have little interest in protecting its users from a huge flow of common scam/spam. Sure they do get active when accounts are mass hacked, and I havn't seen a "Facebook virus" for some time. Their JavaScript filtering is pretty neat, and they have implemented dereferrer pages they can use to quickly stop URLs from spreading.However, some of my friends keep on joining very dubious groups and installing very dubios applications. No wonder "FarmVille" is sometime nicknamed "ScamVille". There still is a lot of money to make in dubious ways.The big problem with Facebook is that everyone can set up groups and applications that look like they might be real. This is why people keep on installing "Mafia wars gifts" applications that have nothing to do with the actual game except the name. And sometimes not even realize they don't actually get these gifts in the real game.Even worse are the "pimp" groups. It's a classic pyramid scheme. Invite all your friends to the group, then you get extra Mafia points. Facebook really needs to stop that.A quick search for "invite proof" - these groups usually require you to post "proof" of having invited all your friends - turns up 246 groups, almost all of which promise you Mafia stuff.Searching for "getElementsByTagName" in Facebook turns up "over 500" groups. This string is a JavaScript command commonly used to auto-invite all your friends to a group. A typical mass-spread group will use this in its "join instructions".Facebook needs to combat this kind of spam/scam. And it's not too hard. Just actually check user complaints/reports, do simple searches like the ones I posted above, and have some employee go through them and just delete all these dubious mass-join groups. Pyramid schemes likely violate the Facebook TOS, and they definitely are illegal in at least Germany.

Jo Shields: directhex-grub-themes 00000001 release announcement.

There s been a fair deal of talk on the intertubes lately about prettifying the boot process. The first I saw was a post from Lasse Havelund regarding a proposal for Ubuntu Lucid, and the second was regarding a forked version of GRUB2 called BURG, which adds some theming abilities. A tiny bit of research revealed that despite the existence of BURG, the regular upstream GRUB2 project already has graphical theme support, courtesy of a Google Summer of Code project by Colin Bennett (albeit with a few less features at time of writing). Since Lasse had gone to the hard work of actual design, I decided to try my hand at chopping his design up into a usable GRUB2 theme, and the result can be seen here. I ended up speaking with the upstream GRUB2 team (which has certainly lead to a strange alliance in one case) about Colin s GSOC themes, and as it turns out, the main reason there s no theme supplied with GRUB2 is that Colin s themes use non-Free elements (proprietary fonts like Helvetica are used heavily). Since I had learnt the theme format to a basic degree in doing my Ubuntu theme, I proposed making a genuinely Free theme starting with a Debian theme, and moving on to a generic GRUB2 theme afterwards. As I went along, I found a handful of bugs and feature oddities, which have almost all been fixed with incredible turnaround by Vladimir Serbinenko, the current maintainer of the gfxmenu code (there remain some questions regarding RTL support in themes, and how to gracefully deal with different aspect ratios) and I want to extend my thanks to him for his help. However, at this point in time, I m pleased to announce a theme I d consider ready for public consumption. It s obviously not perfect, and it uses the old visual style from Debian Lenny, but it s a fully Free starting point, which hopefully can be deconstructed by others seeking to make their own themes. It ought to scale fully to any 4:3 resolution. And it may explode and eat your disk on any version of GRUB2 Experimental other than r1499. Generally, the README is a good starting point. Oh yes, an URL. Try http://retro.apebox.org/grubthemes/ I ve been speaking with some folks on deviantART regarding using their Debian-themed wallpaper in future releases of my themes package, but for now, this should be enough for gfxmenu to get a little more exposure and a little more testing. And, hopefully, shift artist focus back from the theme-incompatible BURG fork to the real GRUB2 project.

Russell Coker: Another Hot Summer

Yesterday was ~30C in my area, today was well over 30C during the day (although cooler in the evening). They forecast 33C for tomorrow in Melbourne, but that means where I live it will probably be about 36C (it s always a few degrees hotter than the overall forecast for the city). Monday is predicted to be 41C and Tuesday may be 32C. I turned off my SE Linux Play Machine this morning and will probably leave it off until at least Tuesday evening. The hardware I use for the Play Machine is fairly energy efficient, but it s in a confined space with some other electronic stuff so it s best not to take chances. I ll probably leave it offline for about half the duration of January and February. I miss Amsterdam and London weather.

Adrian von Bidder: Industry Standard

Wow. I just stumbled over the SIL Fonts, which I haven't heard of before. Looks like an absolutely great project. Not only are these fornts released under an open license (I haven't read it myself, but many of these fonts are in Debian...), but above all I really liked the selection of supported systems with icons by each entry: The Old Windows 3.1 Windows flag stands for tested on Windows , the very old rainbow colored apple for tested on Mac , our official (and current :-) familiar swirl not only for tested on Debian, but for Debian package available . I mean: while it's not uncommon today to see some kind of Linux support in software (or other downloads), explicit Debian support is not that widespread. And seeing this side by side with the two very outdated logos for the two other mainstream OSs (and Ubunut not even being mentioned on this page) is ... what, exactly? Wishful thinking? An ironic comment on how the (conputing) landscape should look like? Made me smile, in any case.

MJ Ray: Anyone with TLC for Mac VLC?

VLC is free and open source portable media player software that supports a lot of formats and inputs and can also convert and stream. I think it s been pretty useful for users who didn t like MPlayer for whatever reason. Nicole Engard writes that VLC for Mac has no more developers. I don t like or use MacOS and definitely don t have the skills to maintain VLC on it, but if you do, can you try to help it, please?

Andrew Pollock: [life/americania] TransLink, the Bay Area's best kept public transportation secret?

We're not huge users of Caltrain, because frankly, it sucks. It's way slower than driving to San Francisco, and by the time you've paid for two return tickets, you might as well have driven and paid for parking. That said, we do use it from time to time. One of the things I noticed when we first moved over here was this intriguing box on a pole, to the side of the normal ticket vending machine. It looked all battered and faded, kind of like a deprecated form of ticketing that had been phased out years ago. Except it looked too high-tech to be phased out. Fast forward to four years later, and we're using Caltrain to get back from SFO after returning from Atlanta for Christmas, and there's this "Don't forget to tag off" TransLink poster inside the carriage. I'm now officially intrigued. I did some browsing of their website on the journey home. How could this be? Hong Kong's MTR has the Octopus Card. London's Tube has the Oyster Card, and the Bay Area has TransLink? Why the hell isn't this thing being pimped out more? It's awesome! I mentioned it to a co-worker the other day, who's been in the Bay Area for 7 years, and he'd never heard of it. So I signed up for it for myself and Sarah, and two cards promptly arrived. If you sign up with an autoload of $20 or more, there's no cost for cards at all. So from now on, whenever we need to ride Caltrain (or BART or Muni, which are the public transport networks we're ever likely to use) we can just wave these cards at something and never have to worry about a ticket ever again. It's awesome. Apparently VTA is coming on board with it later this year, so that'll round things out nicely. It sounds like it's been an epic implementation, starting back in 1999, and still rolling out ten years later. Better late than never. The added bonus will be for our visitors. When they come, we can just give them these cards, and they won't have to deal with BART's utterly confusing (for casual riders) fare system. One of my favourite things about Hong Kong was the MTR and the Octopus Card. Now we just need awesome mass transit for the Bay Area. Somehow, I think that's going to take even longer than TransLink.

Andrew Pollock: [life/americania] First encounter with the police

I was driving home from a late night at work recently, and I was almost home, when the car behind me lit up like a Christmas tree. My immediate reaction was, "Oh crap, I'm tired and I wasn't paying attention to my speed". So I pulled over. To my relief, it wasn't my speed that was the problem, my left-hand tail light was out. The officer was very nice about the whole thing, but he gave me a fix-it ticket. He told me I had until I think some time in February to fix the problem, then I had to get a police officer to sign off that it had been fixed. I thought that was the end of it, and continued on my way home. The other day, I got this official looking letter in the mail the Superior Court of California, County of Santa Clara. My initial thought was, "ha, the fools have issued me a jury summons like they did for Sarah. Can't they tell I'm an alien? Nanoo Nanoo." So I open the letter and start scanning it. It's a courtesy notice. The first actual sentences I run into start with "Failure to respond to this notice by the due date may result in your bail being increased...". Huh? Bail? What? It turns out that there's a bit more to the fix-it ticket story. Not only do I have to get a police officer to sign off that I've had the tail light fixed, to avoid going to court, I have to pay a $25 "dismissal fee" (also known as California is broke and needs every dollar it can get). Today was the first day that either of us have had any time to scratch ourselves, so we trekked off to Toyota. The guy yanked off the cover inside the boot, and was poking around to show us where to change the bulb, when lo and behold, it started working again. So it was just a loose connector. Dammit. So now I have to track down a police officer. Preferably under the cover of darkness, as we've tinted the front windows of the Prius, which is apparently cause for another fix-it ticket. Although I'm struggling to find the wording that specifically says that.

8 January 2010

Steve Kemp: For the record, that's a question you never have to ask.

Five years ago I spent an hour wandering around a large department store looking to buy a kettle & a set of bathroom scales. Much to the amusement of the woman I was shopping with I spent a very long time trying to find the cheapest available set of scales. (We're talking at least 20 minutes, due to the nature of the store and the crowds.) Once I'd selected the cheapest possible set of bathroom scales we walked over to the kitchen section of the store. I glanced over all the available kettles and picked up the one that looked the nicest (in terms of size, shape, and handle design) with no regard for the price at all. Why? A set of bathroom scales I use maybe twice a year. A kettle I use in excess of ten times a day. Something you use that often should be right. Even if over time you take it for granted and forget about it. (FWIW the scales were 6.50 and the kettle cost me 39.95 - John Lewis 15/03/2005 - I kept the reciept!) I'll haggle and quibble over prices for a lot of things, trying to ensure that I don't pay too much. But there are items which are worth paying for (and I don't just mean that "expensive == good" idea some people seem to have). On that basis I'll think nothing of paying 150 for a pair of shoes for example, even though I'll go out of my way to save 5- 10 on a DVD player. Because shoes are important, used very very often, and DVD players just aren't. (ObReference: I have one pair of shoes. I have five pairs of boots. I might pretend I don't but I also have a pair of sandals. Sshhh it'll be our little secret. ;) Anyway today my kettle broke. I had to buy a new one at short notice. I did so and the replacement is obviously more advanced. It boils quickly and quietly which is technically an advangtage but in practise is actually a drawback. Generally speaking I'll fill the kettle, turn it on, then wander away. I'll only return to the kitchen to make my delicous beverage when I hear the "click" signaling that the kettle's job is done. This new one? From outside the kitchen I cannot hear it at all... In conclusion: Technology and progress is all around us. Sometimes a technical step forward "being quiet" is a bad thing. In other news I'm fighting with IPv6 & a head cold. Both suck. ObTitle: Alias

7 January 2010

Adnan Hodzic: Lone developer

I ve been around Debian for some time, however am not a official Debian Developer and I can t become overnight because country I live in (Bosnia) and I have no one to sign my key. I doubt I could easily do it in Croatia or Serbia my neighboring countries. This is definitely another reason why I m pursuing to have DebConf11 in Balkans (read: Bosnia). I didn t get my key signed on DebConf9 since I hesitated whether to keep my old DSA 768 bit key or not. However by the end of this month I m planning to visit some friends on TUWIEN and planing to meet up with some DD from Vienna and get my key signed. Btw I d like to use this opportunity to call all DD residing in Vienna (Rhonda?) to contact me Smile So what am talking about after all? Thunderbird 3.0 was released 29 ago, Icedove 3.0 is in experimental but only arm and i386 arch. and I m using amd64. After I kept bothering nice people at #debian-buildd they told me to make my own, and once I built my own I don t have permissions to upload it to ftp-mater there s no sense I upload it through mentors
So I m making my Icedove amd64 packages available if you want them: http://foolcontrol.org/deb/icedove-3.0_3.0~rc2-2_amd64.deb
http://foolcontrol.org/deb/icedove-3.0-gnome-support_3.0~rc2-2_amd64.deb
http://foolcontrol.org/deb/icedove-3.0-dbg_3.0~rc2-2_amd64.deb I didn t even change the maintainer name, I kept it all as original package, except it s now available for amd64 architecture, hopefully we ll see these on Debian servers as well Smile

Jonathan McDowell: Prettifying Debian boot output

Being a bit of a freak I actually tend to read my boot output. Well, when I'm not using that time to go grab a cup of coffee first thing on a Monday morning. However I don't always find Debian's default output as clear as I'd like (especially when I haven't had that coffee yet, or when I'm half watching a remote machine boot over its serial console). ISTR that RedHat had much nicer boot output (I'm talking about text based here, not the fancy Plymouth stuff) with a row of OK/FAILED etc down the right hand side that made it nice and obvious what was happening. Of course we can do that with Debian, at least for packages that use the lsb-base logging functions. Drop the following into /etc/lsb-base-logging.sh and enjoy a slightly prettier boot. I'm slowly filing wishlist bugs with patches for those bits and pieces I use that don't use lsb-base for their init script logging.

# Colour our init scripts output
# int log_end_message (int exitstatus)
log_end_msg ()  
    # If no arguments were passed, return
    if [ -z "$ 1:- " ]; then
        return 1
    fi
    retval=$1
    log_end_msg_pre "$@"
    # Only do the fancy stuff if we have an appropriate terminal
    # and if /usr is already mounted
    if log_use_fancy_output; then
        RED= $TPUT setaf 1 
        GREEN= $TPUT setaf 2 
        YELLOW= $TPUT setaf 3 
        NORMAL= $TPUT sgr0 
        $TPUT hpa $(( $TPUT cols  - 12))
    else
        RED=''
        GREEN=''
        YELLOW=''
        NORMAL=''
    fi
    if [ $1 -eq 0 ]; then
        /bin/echo -e " [   $ GREEN OK$ NORMAL    ]"
    elif [ $1 -eq 255 ]; then
        /bin/echo -e " [$ YELLOW WARNING!$ NORMAL ]"
    else
        /bin/echo -e " [ $ RED FAILED$ NORMAL  ]"
    fi
    log_end_msg_post "$@"
    return $retval
 
log_action_end_msg ()  
    log_action_end_msg_pre "$@"
    if [ -z "$ 2:- " ]; then
        end=""
    else
        end=" ($2)"
    fi
    /bin/echo -n "$ end "
    # Only do the fancy stuff if we have an appropriate terminal
    # and if /usr is already mounted
    if log_use_fancy_output; then
        RED= $TPUT setaf 1 
        BLUE= $TPUT setaf 4 
        NORMAL= $TPUT sgr0 
        $TPUT hpa $(( $TPUT cols  - 12))
    else
        RED=''
        BLUE=''
        NORMAL=''
    fi
    if [ $1 -eq 0 ]; then
        /bin/echo -e " [  $ BLUE DONE$ NORMAL   ]"
    else
        /bin/echo -e " [ $ RED FAILED$ NORMAL  ]"
    fi
    log_action_end_msg_post "$@"
 


(This is mostly for my own future reference, because I keep trying to search for details on it and not finding exactly what I want. I forget where I even found the basis for this, though there are lots of similar snippets out there. I've not tried it with a concurrency based boot so it may well look horrible under that.)

6 January 2010

Christine Spang: configuring Gnome screensaver for unicode-screensaver

I love unicode. You should too. For the unicode-lover out there, Joachim Breitner recently created an xscreensaver hack called unicode and uploaded it to debian. [1] I didn't like the default colourscheme of black text on a white background, so I hacked it to support colour configurability. The patches are in the Debian package as of version 0.2-1. If you're using xscreensaver, you can configure it using the xscreensaver configuration dialog for a subset of the available colours. If you want different colours, you can edit ~/.xscreensaver by hand. Gnome screensaver, however, does not have a configuration UI, opting instead to present a simpler interface and also allow administrators to lock down the screensaver configuration if desired. You can still configure the screensaver on unlocked systems without a GUI. Here's how to do it. [2] At a terminal:
mkdir -p .local/share/applications/screensavers
cp /usr/share/applications/screensavers/unicode.desktop .local/share/applications/screensavers
editor .local/share/applications/screensavers
There's an Exec line in the file that should look like this:
Exec=/usr/lib/xscreensaver/unicode -root
Change it to look like this:
Exec=/usr/lib/xscreensaver/unicode -root -background <bgcolor> -foreground <fontcolor>
Swap the two colours with any X11 colour of your choice. Make sure to quote any multiple-word colour names. I like black as a background, with white or firebrick or another non-jarring bright colour as the font colour. If you want, you can also change the "Name" field in the file, but it's not necessary for things to work. Now, open up gnome-screensaver-preferences and select the new screensaver. U+2673: RECYCLING SYMBOL FOR TYPE-1 PLASTICS Lastly, leave your laptop strategically with the screensaver on to geek out all your friends with your unicode prowess. [1] Thanks Joachim! [2] There is actually another way to do it, if you prefer to interact graphically. For the other method, get /usr/share/applications/screensavers/unicode.desktop, edit it to your taste, and then drag-and-drop it onto gnome-screensaver-preferences, which will automatically put it in the right place in .local. You may need to restart gnome-screensaver preferences in order to see the new screensaver in the selection box. The feedback isn't very good.

John Goerzen: It s Time (or, how the ancient Greeks interfered with American sanitation)

Had you been on our yard tonight, you would have seen a strange sight. Me, dressed warmly (but not quite warmly enough), jumping on the icy and snowy hood of my pickup. Some maniacal fit? An obscure part of my 3-day-long taking out the trash routine? Not exactly. Before I tell you why I was doing such a strange thing and almost in the dark I feel compelled to take a detour through ancient Greek poetry. You heard right. I ve been reading ancient Greek poetry lately. Those Greeks were forever running around receiving signs and portents from the gods. If ever a bird flew by carrying a live snake, and you saw the snake bite the bird while looking over your left shoulder, you knew Zeus was telling you not to attack the enemy that day. Or something. And if you, fool that you are, attacked the enemy that day anyway, you should be not in the least surprised to find a spear through your shoulder in just a few pages time. If ever someone received a sign from Zeus in modern times, surely it was I, tonight. I say that because, as I was trying to close the hood on my pickup after charging its battery, the hood nearly snapped in two. The hood is supported by some spring-loaded brackets in the back, so to close it, you have to push down on the front. I did so, and was surprised that it was going down so easily. Then I realized, apparently in the nick of time, that only the front was going down. The back was staying put, aiming up in the air as ever. So I tried to straighten the hood back out. I then tried to get it down by pulling at it halfway back, but just couldn t get enough leverage to make it budge. So what next? Why, jump on it of course. I got it most of the way closed that way, then jumped/slid down, latched it in front, then crawled back up there to push down the sort of rusty mountaintop that had formed halfway down the hood where it was buckling. OK, sorted. So to recap By this point, I ve had the battery charging for 24 hours, inflated the tire, removed the bungee cord around the brake pedal, removed the battery charger, coerced the hood shut. Time to start it. I hop in, pump the accelerator a few times, and turned the key to start. I heard the sickening aaaaaaaaRRRRRRRRRRRRuuuuumphhh . of a weak battery. So it wasn t charged enough to crank fast enough to have any hope of starting in winter. So I go get the car, pull it up close, being careful to leave myself enough room to maneuver between it and the electric fence. I get out the jumper cables. Then it occurs to me: I have to open the hood again. DOH! I open it just a bit, and hook up the jumper cables. It turns over a bit faster. For just a bit. I get a small sputtering of life from it, but it fades faster than an enemy of Hector at the battle for Troy. So I have Terah come out and put her foot on the accelerator of the car while I try to start the pickup. This too proves futile. So I disconnect the jumper cables, close the pickup s hood with significantly less care than a 31-year-old rusty and nearly-broken hood deserves, roll the window back up, and go for plan B: 4 trips to the road with stuff in my car trunk, and leave the giant cardboard boxes that are covered with snow in the pickup bed for next month. Obviously I have displeased the gods. Forgotten to offer up a sacrifice to Penzoil, feared goddess of internal combustion, perhaps? Or perhaps it was just a sign that I need a new pickup? I m so convinced of the latter that I didn t even bother to replace the bungee cord. Postscript Terah walked in, and said, Ah, I thought I heard you writing a blog post. Yep. It s about pickups and the Greek gods. <very slight pause> Oh, of course it is.

5 January 2010

Russell Coker: Which is Better, Original DVD or Pirate MP4?

For a long time it has been obvious that in all cases anti-piracy technologies discourage purchases and in many cases encourage piracy. I first discovered the significance of this in about 1991 when I attended a public lecture by a senior employee of Borland and a member of the audience claimed that the Borland product he bought didn t function correctly due to anti-piracy measures. The Borland employee firmly stated that Borland did not use anti-copying technology on any of it s products, didn t have any plans to do so, and the problem in question must have been caused by something else. Of all the hostile questions that were asked, this was the only one that caused the speaker to appear agitated so it was obviously an issue that was considered to be important within Borland. In the late 80 s anti-piracy measures were mostly based around creating floppy disks that couldn t be easily copied (violations of various aspects of the disk formatting standards). This meant that you couldn t make a backup copy of the data, so it wasn t uncommon for people to seek pirate copies of their commercial software for daily use to avoid wearing out their valuable original floppy disks. Then the dongle was invented and people who bought software sometimes sought pirate copies so that they could use their printer and their commercial software without having to change plugs on their PC. But in those cases the benefits to uncrippled software to the users were small. Now a large part of the battle on copy protection concerns DVDs. If you had a DVD of a recent movie and an MP4 which would you rather watch? Would you prefer to be forced to watch some anti-piracy rubbish for a couple of minutes at the start of the movie (with fast-forward disabled) or would you prefer to just start watching it? Would you prefer to be able to pre-program the sections of the movie that you watch (as some parents desire to skip the sex and/or violence in movies for their teenagers) or would you prefer to be forced to watch the movie straight-through with only a manual fast-forward to skip sections? Would you prefer to have a DVD that can t be played properly on many (most?) computers because of the CSS encoding or an MP4 that plays on everything from PCs to mobile phones without an issue? Would you rather have 100 movies in the spare space on your laptop hard drive when you travel and 1000 movies on your desktop system or the much smaller number of boxed DVDs that you can store? I think that in most cases a pirate MP4 will give a better experience than a DVD. So the question is, why pay for a DVD when in most cases you get a lesser experience than you will get from a MP4 file downloaded by bittorrent? One reason for buying the DVD is to support the film industry. But I doubt that such a profitable industry will get much sympathy in today s economy. Another reason is the morality, some people consider piracy to be theft (it isn t by definition theft requires that for at least a moment the property be completely in the possession of the thief) and therefore avoid it. One technical reason for buying a DVD is the fact that it may have multiple languages supported, it will have subtitles, it may have an audio track with the creators giving a commentary, and it may have extra scenes that were cut from the main release. I believe that work on adding subtitles to the video file formats is a work in progress, so it s only a matter of time before the DVD rips include all this extra data. Really the content creators should focus on making a product that meets the needs of users and that they want to pay for. Pirating books is technically possible, but almost no-one does it. Some successful authors such as Charles Stross freely publish significant parts of their work and Cory Doctorow freely publishes all his work in electronic form. Books just work well, they meet the needs of users and people want to buy them. Sure they can sell them second hand, lend them to other people, and it s technically possible to pirate them, but they remain profitable. On my documents blog I have a page of links to free short stories that I liked [1] and a page of links to free books [2]. It seems to me that creators of other copyright content should consider how they can be of service to their customers. We are all familiar with corporations and misguided individuals who get whiny about the supposed losses due to piracy. Bruce Everiss has unfortunately joined this trend and demanded the disconnection of Internet users based on unproven accusations of game piracy [3]. I don t know whether the game buying experience sucks as badly as the DVD buying experience, but based on the reports of locked-down consoles that have to be cracked before they run Linux I expect that the modern game industry is doing at least as badly as the movie industry. They need to provide things that users want! One thing to note is that a Windows or console game player who uses pirate games will probably buy some games at some future time, while someone like me who uses free software both by principle and because it gives a better user experience will probably never pay for a game (I haven t got time to play all the free games so I probably wouldn t even buy a Linux game).

Rapha&#235;l Hertzog: 5 years of Freexian

5 years ago I founded my own company Freexian SARL with the goal to make a living out of my free software experience. I marketed the company as being specialized on the Debian distribution in the hope to combine my Debian work and my professional work. Given that Freexian is still alive I think I met the first goal. My free software experience allowed me to complete many projects: a large number of development projects for embedded devices running a custom Linux distribution (usually built with debian udebs), the development of a Debian derivative (SLIS) and some recurring tasks of remote system administration. However, even if I use Debian daily for all my work, very few of the projects that I complete for customers have direct results in terms of improvements for Debian (except some bugreports and some related fixes). And even when I m able to contribute something back to Debian, it s usually not in areas that I care about. My focus within Debian is on the technical and organizational infrastructure of the project: as a dpkg/dpkg-dev maintainer I try to improve the packaging infrastructure, as a QA member I maintain the Package Tracking System to ease collaboration, as an Alioth admin I ensure all DD can host VCS repositories for their Debian related projects, as a developers-reference co-maintainer I try to share good packaging practices, etc. Given this bias, it s difficult to find customer projects that would let me contribute in those areas. Thus I think I need to try another approach: the simplest solution would be to find sponsors for some of my own Debian-related projects (if you have something else to suggest, please leave a comment either in the blog or by mail). That said finding sponsors looks like a difficult task in itself. While I can imagine (for example) a company using Debian on embedded devices that would like to sponsor the rewrite of update-alternatives in C in order to get rid of the perl dependency in the dpkg package (if you know such a company, get in touch with me!), I don t see who would have an interest in sponsoring the time that I need to contribute new sections to the developers-reference manual. But who knows maybe I should just try and publicly solicit sponsorship for some of the projects that I care about. In any case, suggestions and comments are welcome! Partagez cet article / Share This

1 January 2010

Thorsten Glaser: RCBD #1

My first RC Bug-squashing Day (or rather night): I picked all of them mostly randomly from the list Zack gave me, and except dietlibc they are packages I had not even heard of before. The first one begun easily (track down licencing information, pimp debian/copyright, but I ended up fixing compiler and lintian warnings and even wrote a manpage for it while there (but for this one, I didn t bump the Standards-Version). The second one was only the second one to complete because the others took longer; it s basically a change of a d mon to use two instead of one listening socket, to work with a doble stack OS instead of just a dual stack OS by not using v4-mapped IPv6 addresses (I considered if to use select(2) or poll(2), or to just fork and have two d mons running, but that seemed too ressource-consuming to me so I chose the less-complicated poll(2) method, looking at popa3d(8) s source code (inherited from OpenBSD) in the MirBSD tree since I could not find my network programming book. The third one was basically communicating with upstream; the bug can be blosed with no change to the package. The fourth one took me a while; luckily I have qemu 0.11.0 on MirBSD, and aurel32 s mipsel qemu images helped a great deal; however, cowbuilder --create failed for me, so I ended up waiting almost the entire night for a-g d-u to finish; in the end, it was simply a bug in upstream s configure.ac which is only exposed due to a toolchain bug on mips(el). To do: my AM Zack needs to upload the NMUs (after checking, of course); I need to communicate some of the fixes upstream (the gidentd upstream is NXDOMAIN ), produce a very small testcase for the mipsel toolchain bug, maybe fix some more mipsel FTBFSen as I have a working qemu instance now, but maybe I ll do that at the BSP when I can t find IPv6 bugs or so that I feel I can fix (I also want to do an mksh release which has to be prepared first RSN, and there s still the need to formally publish the MirBSD-current bi-arch snapshot and make another ISO out of it for BT and prepare the multi-BSD USB stick for allbsd.de ). Annoyances: a-g d-u could ask me things at the start before working for some four+ hours instead of in the middle, and the same questions several times (PAM restart). The sid kernel doesn t boot today but did yesterday, the lenny kernel produces this:
Starting the hotplug events dispatcher: udevdudevd[320]: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly
(I hate udev.) And, worst of all, these annoying fireworks (some sounded like originating from inside our staircase, I pity the neighbour s cats) when one wants to hack Finally, I *loathe* CDBS. Debhelper v5 rules! Oh, and I also was under the impression that Firstname LASTNAME was a French thing, and to a much lesser extent Asian. (@bubulle)

31 December 2009

Robert Millan: Gnote 0.7.0


I was very glad today to discover (yes, shame on me for not noticing earlier) that the Gnote project has come back to activity. A new maintainer, Debarshi Ray, has just released 0.7.0. I m very pleased to see that Gnote continues being maintained. It s even more important now, as Fedora ships it in its default GNOME desktop, and so does gNewSense (the 100% free GNU/Linux distribution). It s nice to see that the community doesn t let down those who, for one reason or another, committed to Gnote and put their weight on it. As for me, now that 0.6.2 has migrated to testing, I ll get back to rolling out package updates. Expect 0.7.0 to land in Debian sid soon!

Next.

Previous.