Search Results: "ag"

30 May 2006

Clint Adams: The Alaskan pipeline

Joey, zsh does the subshell on the left side of the pipe. This is aggravating in far fewer cases than the right-hand way. In times past, this would lead to confusion when one would try piping the output of the jobs builtin to, well, anything. That's why jobs is now special-cased to magically work in a subshell.

Philipp Kern: bcm43xx wireless

Oh yeah, time to get rid of that silly USB WLAN device I had to carry with me for Linux wireless networking. Ubuntu Dapper supports BCM43xx almost out of the box, heck it is even displayed correctly in d-i, albeit not working (or at least I did not try it). After enabling universe, fetching bcm43xx-fwcutter, running the provided script (/usr/share/bcm43xx-fwcutter/install_bcm43xx_firmware.sh) and a reboot I have WLAN working on my iBook. How nice. The signal strength displayed by both iwconfig and network-manager is sticky at 100%, though.

Christine Spang: got UROP? (well, sort of)

It’s occurred to me that I haven’t ever actually blogged that yes, I accepted enrollment at MIT. Hence the preparing to move from Camillus, New York, a little suburb outside of Syracuse, to Cambridge, Massachusetts. (I.e. the Cambridge where you get to pick your email!) Not only that, but I have a job. A job at the MIT Media Lab, Tangible Media Group. They use Gentoo (on cygwin…), but I forgive them at least for now since it’s a heck of a lot more interesting a job than the crap retail jobs that my friends are queueing up for the summer. Though it means that I won’t be able to party with them for the last summer before university, since I won’t be home. Why I have the job is mostly Mako’s fault. So, I was staying at him and Mika’s place when I was down visiting MIT, and I met him outside the Media Lab the night I arrived since it’s right across the road from East Campus, where my undergrad student host lives. I got an awesome tour, got to check out the shiny toys, and got introduced to a few people. A day after I get home, I have forwarded email from Mako in my inbox from one of the people I was introduced to (another grad student at the Lab), who’s looking for people to hire this summer. Zing, nifty. The position’s basically a temporary UROP, hence the post title. A month and a bit later, I’ve paid my June rent for my sublet in Cambridge and am making lists of stuff to go shopping for. If you want to be helpful, tell me something you took to college and never used. Though keeping in mind that I’m in a small, rented house for 2.5 months until I move into my dorm in late August. Or, point me to quick and easy recipes. I’ve never really done a lot of cooking before, so I’ll be using the kamikaze “cook or don’t eat!” method here. I have 9 days of high school left until classes let out for exams, and I’m pumped. I’ll only have one final exam this year since the only classes I’m taking that have ‘em are Economics and AP Physics, but I managed to cut through the numerous layers of red tape necessary to get out of taking the New York State physics regents exam since it’s given on the very last day of testing, and I am leaving before then. (I’m heading down on June 19th; it was supposed to be the 22nd.) Seriously, red tape. Talk to guidance counselor, talk to academic dean, talk to guidance counselor again, talk to admissions officer from MIT whom I’m acquainted with, give guidance counselor his phone number so she can fulfill the school politics requirement of having official confirmation of okay-ness, get the go-ahead from guidance counselor afterward. The economics exam is on the first day of tests, w00t (June 12th, IIRC). Commencement is June 17th. Walk across the stage (I’m giving a speech!), then drive across the Northeast to the rest of life.

Evan Prodromou: 10 Prairial CCXIV

I've been very interested in the development of semantic markup in HTML pages over the last few years. I find it particularly interesting, since I've been invested a lot of time putting RDF features into MediaWiki, which has paid off with some interesting features on Wikitravel (see wt:Wikitravel:RDF). I think further semantic markup could be very useful to Web users. Encapsulating semantic info into HTML is not a new idea, but it's picking up steam and I think it will 'tip' as major systems start using it, and with built-in browser tools like Flocktails. But I'm worried about competing efforts to make semantic-data-in-HTML work; I've written an essay on the subject in RDFa vs microformats.

29 May 2006

Arnaud Fontaine: Planet debian package

These days, i have worked on planet debian package. At first glance, it seemed easy to package but actually it wasn't, mainly due to debconf and FHS problems. A package is temporarily available at this address. The main features of the package is the usage of debconf to configure cron interval and also handles /etc/planet.conf for main options. Any comments are obviously welcome.

Martin F. Krafft: Shell sucks

Shell programming must be the most depressive waste of time out there, and if only because things sometimes just don't work the way you'd expect from a scripting language. Take the following simple examples in bash (3):
for i in 1 2 3; do
  echo $i
  exit 1
done
echo END
==> 1
echo -e "1\n2\n3"   while read i; do
  echo $i
  exit 1
done
echo END
==> 1
==> END
WTF? The result of the first -- the whole script exits entirely after the first iteration -- is what I expect. After all, I did not call break, but exit. The result of the second is totally unexpected. I understand that for and while each execute their iterations in a subshell, but why don't these behave in the same way? The fix here is a exit $? following the done keyword. Urks! Here's another one: the task is simply to output the number of 1's in the output (yeah, I realise grep -c can do this too):
cnt=0
echo -e "2\n1\n3\n1"   while read i; do
    case $i in
      1) cnt=$((cnt + 1));;
    esac
  done
echo $cnt
==> 0
The reason? The while subshell receives a copy of the caller environment, so when it updates $cnt, it only updates a copy of the actual variable, leaving the original untouched. Similarly, a variable defined inside the subshell won't be available after the while loop is done. I cannot find a fix that's not bash specific. Of course, it works fine when I replace the while loop by a for loop:
cnt=0
for i in 2 1 3 1; do
    case $i in
      1) cnt=$((cnt + 1));;
    esac
  done
echo $cnt
==> 2
Great, isn't it? And I am not surprised that zsh gets it right. Why would anyone actually want to use bash? Update: here's Joey's explanation for the behaviour, and Clint's account for why zsh does it right. I still can't figure out how to count the 1's. Update ^2: Axel Liljencrantz sent in this message. Update ^3: Alexander Sieck showed me that process substitution ("<(command)") instead of the pipe does work (for both cases):
while read i; do
  echo $i
  exit 1
done < <(echo -e "1\n2\n3")
echo END
Of course that's nowhere near POSIX compliance... Update ^4: my solution, which allows for spaces in the lines:
IFSOLD=$ IFS:- 
IFS='
' # yes, a newline
for i in $(the_command): do
  IFS=$IFSOLD
  ...
done
What a hack!

Norbert Tretkowski: Remaining photos uploaded

As promised before, I uploaded the medium and high quality photos from DebCamp, DebConf, the daytrips to Teotihuacan and Xochicalco, and LUG Camp into my gallery. Have fun. Update: Unfortunately I forgot to adjust the date on my digicam from CDT back to CET, so the time in the exif tags from the photos I made at LUG Camp was 7 hours behind. This problem can be fixed using the -ta option of jhead, thanks Colin for the hint.

Dirk Eddelbuettel: Quantian HOWTO on running / installing inside a VMWare Player virtual disk

Based on the detailed notes by Simon Blomberg which he sent me by email, I added a reasonably detailed HOWTO on running Quantian via the VMWare Player. I had intially blogged about this here and here, but never expanded on this. The HOWTO shows how to create a virtual disk using the qemu-img command from qemu, how to add such a disk image to simple the VMWare Player configuration file, and howto install into that disk, and later boot from it, inside a VMWare Player session. All of this should actually work for just about any bootable iso with an installer, not just those that are based on Knoppix. Feedback welcome!

Jordi Mallach: Sevilla

I arrived in Sevilla this morning to attend tecnimap 2006, and I will be staying in the city until Friday evening. I'd love to hook up with the Sevillan Free Software community after the show ends during the week, so if you're in the area, please contact me by phone (there's plenty of Debian people who know my number) or by email and we can try to make up some plans. I'm staying in the Sevilla Congresos hotel in the outskirts, so going out to the city involves taxis, busses or other non-trivial means of transportation, so have that in mind! Getting here has been quite stressful, but that's no news anymore. At 00:00 last night, not only I had not packed at all, but all my clothes were scattered around thre different flats in the city, and I had no car to go pick the stuff up. Luckily, this morning my sister could give me a lift to pick things up and then took me to the airport. The flight revealed a very dry landscape as we headed south, and some irrigated areas in the middle of pure desert. There are also some very characteristic circular fields that show very cool patterns when looked from the heights. It's pretty hot in here, but still bearable. I don't want to imagine August around the place. Anyway, if you're in Sevilla, I hope to be able to meet you any of the four evenings or nights I'll be around. I need some natives to walk me around the place, and in some cases, translate the very special Andalusian spoken here. :) Momona people, I also mean you!

Dirk Eddelbuettel: Bike The Drive 2006

Yesterday was the annual Bike The Drive in Chicago. The very scenic Lakeshore Drive, also known as LSD, gets blocked for four or five hours until 10:00am, and almost 20,000 cyclists take advantage of it for doing 15 to 30 miles from Grant Park down to Hyde Park, and up all the way to Bryn Mawr. Couldn't have asked for a nicer day as all of a sudden summer has broken out here with temperatures of over 90 degrees fahrenheit. It's really stunning to have the sunlight gleaming over the lake, to see the city skyline in bright sunlight, and to be surrounded by nothing but bikes. A nice outing, highly recommended. We then took the afternoon off and baked at the neighborhood pool.

Enrico Zini: Debconf6 talks material now online

I've finally put online slides and notes for my debconf6 talks:
Many people had asked me the notes for the "Advanced ways of wasting time" talk: they're finally online, translated and with the links pointing to English Wikipedia pages. Sorry it took me so long.

Evan Prodromou: 9 Prairial CCXIV

As part of my work leading the Debian Creative Commons Workgroup, helping to fix problems in the Creative Commons licenses that make them unsuitable for works in Debian, I've been very interested in the relationship between wp:Digital Rights Management technologies and Free Software licenses. So I've written an essay on the subject of Free content and DRM, to encapsulate my thoughts on the matter.

Uwe Hermann: Stuff IV

28 May 2006

Philipp Kern: XFS on root -- a no-no

You must not try to put your root filesystem on XFS, at least with the current debian-installer used by both Debian and Ubuntu. Even though the installer offers this, the boot code fails mysteriously by not finding an appropriate device to boot from. So it leads to a kernel panic on both distributions just after the installation, without any modification to the boot loader:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
It might be possible to fix this issue by putting some magic into the kernel parameter list. I recall that I had this problem already with Ubuntu Breezy, and even with the help from the Ubuntu powerpc kernel maintainer I did not get it to run properly. I hoped that it is fixed by now, in the standard distribution, but no, sadly enough it isn't. I used reiserfs in the meantime, even though I had some data losses and thus bad experiences about four years back in time. Well, but what's nice with those old Open Firmware Apple products: You get netboot for free. This guide helped me a lot, my desktop now provides powerpc installation images for both Debian and Ubuntu. But then... I only have one powerpc-based computer in my possession. And I won't buy another Apple again, due to the low manufacturing quality of their mobile products.

Meike Reichle: Lost my mobile phone

I case you wrote me a text message or called me on my mobile phone lately and never got a response, here's why: It's gone.
I lost it some when between arriving at FRA airport on Monday evening and looking for it before going to uni on Wednesday morning. I already checked with the German Rail's lost and found service which - unsurprisingly - was little helpful. Basically they now have all my personal info, a detailed description of my mobile phone (Siemens C55, blue, battery empty, sim card pin-protected, transparent sticky tape on back that holds the battery cover) and told me to call back later since they haven't found anything yet. I have not yet given up completely, but for the moment please don't try to call or text me on my mobile phone. Use my home number or (much better) Email. The phone was nothing special, but I am still pretty unhappy about its loss, since I don't have the money to get a new one (this one was a gift, yet another reason why losing it sucks bigtime!) and it holds a few numbers that I don't have anywhere else. Oh well, just not my week. At all.

Meike Reichle: Still jet lagged

Although I've back from DebConf6 for almost a week now, I somehow still suffer from the jet lag. I am rather surprised by this since I usually don't have too many problems with changing my sleeping times and also the jet lag when going from Germany to Mexico was practically neglectable. However, this one is a real sucker! By now my sleep times are pretty much erratic, I have an almost constant headache and my stomach gives me trouble after each meal. Surprisingly I didn't have any problems with such stuff when I was in Mexico! I was neither sick nor heat struck or dehydrated. In fact I didn't even have so much as a sunburn. But ever since I got back, life has been pretty yargh. Why am I posting this?

Ian Murdock: Picasa: Why not a native Linux port?

Robert Love: “In Google’s calculation, the cost of a native port outweighed the benefit of a native [port] v s-a-v s a WINE-fueled Picasa. Is that really unexpected? Our development platform is no shining star. We have two toolkits, poor binary compatibility, and unclear direction. To be sure, vendors such as Novell are devoting increasing effort toward improving the Linux ISV and platform story. But the community must make it a priority as well, from the kernel up through the highest levels of the graphical desktop.” That’s part of it (and certainly an accurate assessment of the kind of thinking we need as a community to make Linux a better platform). I think there’s another part of it, though, and that’s that operating systems in general are fundamentally uninteresting to Google as platforms in themselves, as well they should be—after all, the web is Google’s platform, and they dominate there, so why should they promote an alternative where they are much weaker? In my view, the (fat) client bits merely exist to ease the transition from the current, predominantly desktop centric world to a new web centric world where Google naturally thrives. After all, such paradigm shifts are always gradual. There’s the offline question too—if all your data is in the cloud, how do you get to it when you’re not online?—though I suspect over time the browser will provide offline capabilities of some sort, so this is largely a temporary problem too. So, using Wine in ports not only minimizes the incremental cost of building out a foothold on the client (which, again, is a necessity for Google, given that Google’s biggest competitor is between them and 90% of their customers), but it raises the fat client platform up a level too. In other words, it builds a fat client platform with a consistent look and feel across desktop environments; and with this, the operating system underneath rapidly becomes irrelevant. The real question is when Google will hook Picasa into a photo sharing service of its own. I already keep my photos in the cloud, and I’d love to organize and edit them in Picasa (Organizr is nice, but nowhere near as nice as a desktop application, and it doesn’t have some basic functionality, like import from camera and red eye repair). Of course, this is just one example of Google having some platform thinking issues of its own, though that’ll have to be a rant for another day.

Simon Richter: Lagged

My Jetlag has gotten worse, up to the point where my day now starts at 7PM and goes until 1PM. That is, I sleep less than before, but at a time that is most unconvenient when you have a day job.

Norbert Tretkowski: Back at home

I just arrived back at home. This years LUG Camp was again a great event. Thanks to the LUG Allgaeu for organizing it.

Martin F. Krafft: Aftereffects of the keysigning experiment

The experiment I conducted at the last keysigning party caused this thread (cross-posted to here). While the discussion has long gone way off-topic, some interesting points have been raised. I also took the opportunity to clarify my point of view a bit on the issue over the previous blog post:
The Debian project heavily relies on keysigning for much of its work. However, I think the question what the signing of a key actually accomplishes has not been properly addressed. In my opinion, from the point of view of the Debian project, a person's actual identity (as in the name on your birth certificate) matters very little; the Debian project does not actively interfere with a person's real life in such a way as to require the birth certificate identity (legal cases, liability issues, etc.). Moreover, it's rather trivial in several countries of this world to change your official name. In this context, even the claim that in the case of a trust abuse, your reputation throughout the FLOSS community (and the rest of the Internet) should be properly tarnished, does not stand, IMHO. From within the project, what matters is that everything you do within the project can be attributed to one and the same person: the same person that went through our NM process. The GPG key is one technical measure to allow for this form of identification. Its purpose is not, as Micah Anderson states, a means to confirm the validity of a government-issued ID. This brings me to a point which Andreas Schuldei nicely stated at the beginning of the thread (as did others throughout):
I do not need an ID to identify martin, so i dont need to rely on his (forged or real) passport or other id from him in order to sign his key. If you did not know him before you should not sign his key (if your judgement was based on the unofficial ID).
When Andreas signs my ID, he voices his trust in that I am who I claim to be, and he does so not because I presented him with an ID with the claimed name, but because we've interacted many times before. In that line, Gunnar's point stands:
Maybe we should just drop holding KSPs, and fall back to the traditional method of "Hey, nice dinner we had yesterday. Say, now that you know me, my family and my history, would you like to sign my key as well?" - Signing for people you actually know, not just linking
In my eyes, this is exactly what a keysigning is and should be all about: a statement of familiarity with a person, nothing more and nothing less. And as a project, we should either accept that, or find a better way to identify our developers. So what to do in this very situation? Should you revoke your signature from my key (or not even sign it in the first place)? Should you revoke or refuse signatures to all participants, because some claim the keysigning party to have been subverted? I think the answer to both cases should be: no, unless you have not previously known the person whose key you wish to sign. That's exactly what makes this decision very subjective, and a public call such as the original post rather unnecessary and missing the point.
If you do not care to read the entire thread, here are some of the better replies (in no particular order): One question that arouse while reading this thread is whether Debian could actually persecute one of its members for computer fraud/sabotage/whatever on an international level. And if so, would the real identity really help that much, given that we'll have countless IP addresses to go by? I know it would make things easier (despite it being only a name, no identity, as there is not birthplace or birthdate), but is it worth the hassle?

Next.

Previous.