Search Results: "ag"

15 February 2006

Steve Kemp: Words are very unnecessary

Today I started to get annoyed when my bash completion code wasn’t available upon my laptop. To fix this I’ve created a simple Debian package called steve-completion - with the intention that I’ll move all my custom completion code into it. This should make my environments more sane and uniform. Right now I’ve just added support for completion of upload targets to dupload, and completion of the options for the pyzor package. Over the next few days I’ll add my other code. To avoid naming conflicts the files are named /etc/bash_completion.d/foo.steve. I dislike the Steve-suffix, but I dont want to trample on files which may be made available by package maintainers. (Assuming I get round to filing wishlist bugs.) This is comparible to the steve-base virtual package I made/use which exists solely as a package to pull in dependencies such as screen, sudo, etc. (These are packages which I miss when they are not available.) I wonder how many other people have similar packages? I know I got the idea from mdz .. Update: - CVS repository.

Joey Hess: the slowly dying laptop

Yeah, my Fujitsu laptop has been dying for a year or so, it's had surgery for power, batteries, hard drive, sound, etc, it's lost every bit that could break off and still have a usable laptop (all the suede on the bottom, the lid fasteners, the pcmcia blcker, the case around the base of the lid.. the still working pcmcia eject button is my one remaining sacrificial breaky bit). It's got the marks to prove cats love it, along with all the results of throwing it in my book bag and taking off with no concern for carrying a laptop around. The screen has 4 or 5 dead pixels and recently one faint patial dead scan line. The lid is getting worryingly wobbly. The CD drive was once crushed in an airplane and then banged back into shape so it still fits in the machine and even ejects OK. I've rubbed the letters right off some of the keys on the keyboard. The speakers turned black and exuded some glue or something long ago during a hot summer, one of them is barely audible. The headphone jack broke. Oh and the laptop is also abused regularly by programs like firefox and openoffice that really didn't expect to run on a 900 mhz crusoe. All that, I can live with. The laptop bears its marks with pride, and amazingly, people still occasionally ooh and awe at it. Although more likely from a bit of a distance these days. The newest wrinkle is that I'm beginning to exceed the design specs for the keyboard. Apparently they just didn't design for it to be used so much. First some keys stopped working half the time on some days, yeilding the famous irc sessions where joeyh tlks without ny A's. Then the Function key's membrane stopped pushing it back up, so it always appears pressed, though still works. Now the Alt key is going the same route and the right side ofthespacebardoesn't work, leadingtoircsessions whereItalklike this. And it just feels like I can't touch type on it half the time anymore. A new keyboard is $100 or more. I think it's time to retire this to a d-i test machine and start looking for a new latop.
I looked at the IBM X-41 again, really like it, but still can't get past the low res display and fan. Especially with some reports that the fan runs constantly in linux. I looked at all the stuff on dynamism, but wasn't impressed enough to consider it. At the moment the Fujitsu P7120 is looking mighty appealing. Hey, it's even got the suede bottom again. And no fan.. Only problem is it has a touchpad.

Wouter Verhelst: Bye bye ion3

I just decided to move away from ion3. It was bothering me too much, and getting in the way of things that needed to be done. Back in the days with Enlightenment, I had my system configured so that new windows would, by default, not overlap with the one that currently has the focus, and that new windows would never get the focus. Ion3 does none of those; new windows receive the focus and appear in the currently-active frame, thereby overlapping whatever was active in that frame already. I've accidentally hit "OK" too soon on an ssh-agent window once or twice because of that. Which is bad, very bad. There were more annoyances. The frames, and the fact that a window cannot resize itself does have its advantages, but it certainly does have its disadvantages as well; I found that I had to move windows around all the time when they weren't terminal windows. If the idea of switching to ion3 was to avoid having to move around windows all the time, then it failed. Horribly. So what I needed was a window manager that, by default, does not overlap windows or give out the focus to new windows; that allows me to move around using the keyboard only (and not the mouse); that is not too heavy; and that would allow me to configure shortcut keys for starting common applications (such as an x-terminal-emulator). I've switched to icewm for the time being. Not sure it supports all those features, but most of them seem to be in order. Which is good. The docs can wait for tonight...

David Moreno Garza: Flaming a bit

…so, Radu, is there any less important country out there? :)

Andres Salomon: well said

http://pkg-ruby-extras.alioth.debian.org/upstream-devs.html. I’m getting really tired of attempting to package (or even just use) ruby things, and discovering that they only distribute (and require) RubyGems. I’m talking to you, collaboa. You lost a developer to Trac by making your software a pain in the ass to install.

Clint Adams: So when you wake up on a Saturday and you have to think of me

In the sack: Cocoa butter and sandalwood Wet: Sandalwood and eucalyptol Dry down: Sandalwood The touch: A solitary bud The feel: Staring into the mortality divide The magic of our lives: Fleeting. Final verdict: Robbed of a fair shake by environmental crisis.

14 February 2006

Matthew Palmer: Crafty Like a Fox? Or Just Dumb?

You decide! Seen floating past my eyes in my freshmeat "new releases" feed this morning is "PhpMyPixelPage", "a pre-packaged PHP Web site for creating a [...] page which mainly contains a large array of small squares where each square can be sold as advertising space." First thing here is: the original "Pixel Page" was a cute gimmick done by a clever British University student, called "The Million Dollar Home Page". He did it to finance his studies (if he's not studying marketing, he should be), which worked really well -- he got his US$1 million, and now has plenty to spend on warm beer and grotty kebabs while getting his degree. The concept has since been copied a billion times, to (presumably) nowhere near the same effect. So a pre-built site generator isn't likely to be raking in the dough for anyone -- there's just too many copycats out there. The real cause for the title of this post, though, is the licence. According to the Freshmeat item, the licence is "Free for non-commercial use". Can anyone think of a non-commercial case of selling advertising? No, neither can I. The mind boggles.

Joerg Jaspert: Another DVD image finished

Yesterday evening, around 17:00 UTC I finished building another DVD image after beeing up for almost 33hours. This time it is for the Cebit edition of the german Linux Magazin and Debian (we will have a booth there, see our Events page for more info, together with Credativ). If you are there you can grab the image there, or alternatively at the booth of Linux New Media/Linux Magazin. I built the image together with Alex (Tolimar), who did a great job keeping me focused on it, compiling stuff, helping with documentation, package selection and many other different things that needed to be done. We had our first big run with this image from (I think) Wednesday til Thursday, not taking any sleep in the night, to get it finished in time. Unfortunately we got the message that it needed some more changes, so we had the weekend to sort through it, and started again on Friday evening. Alex left on Sunday afternoon, where the image was basically nearly finished. Due to some little hickups it then needed until Monday 18:00 to really be final and sent out, which made me stay awake from Sunday, 09:30 til around Monday, 18:00 (local time). As usual (like the last 3 images I built for events in Germany) this is a multi-architecture image, again with i386, amd64 and powerpc included, ready to boot into our nice debian-installer for sarge. The kernel was updated to 2.6.12 for i386 and amd64, to support a few more newer machines. We also included a preseeding magic, so you can install a complete Debian Desktop only by deciding how to partition your harddisc and entering the username / password you want to use. You end up with a nice little Gnome-System, having a custom background, some links on the Desktop and bookmarks in Firefox and a disabled root account (use sudo :) ). This nearly automatic installation is available for german and for spanish, as we will bring some of these DVDs to the DebianDay in Mexico. For the spanish part Marga did a great job with the translation of all the various included Readme files to spanish in a normally much to short timeframe (we asked somewhere on Saturday IIRC), many thanks to her for that work. But it would be boring to have only those bits on this DVD, so we decided to include a few backports from backports.org too. There is a newer X, a newer OpenOffice, spamassassin and others included for at least i386. And still - we have included more. We included a recent build of openwrt and also the small edition of grml on this DVD. All in all users have around 45 - 50 different ways to boot from this DVD, which is a nice and big selection. Right now its hard to think of a collection that makes it “better/bigger/whatever” than that. Im sure there will be something with which we can outperform this, but right now its hard to imagine. Of course an etch d-i could be a point, maybe together with a Debian Livesystem (real Debian, not just “based on with random additions”), maybe many more preseeding configurations and not only one, we will see. If you have suggestions please mail me. If you want it: Yes, you can freely download the image, if you cant grab it on DVD while Cebit is running / from a LinuxMagazin, but this download will only be available after Cebit finished plus a few days more. Its never good to have a DVD for a magazine freely available before that magazine is public. :)

John Goerzen: Yet Another Use For Duct TApe

How can you go wrong with this headline: Physics students, duct tape extend faded couch's mileage Yes, that's right, by using a lawn mower engine and duct tape, they have motorized a couch.

Brett Parker: And here we go again...

Well, the laptop has decided that it doesn't like power... doesn't like it much at all... appears to be an issue with the socket on the back of the laptop so I get to send it back again... that's always fun :) This time, however, I've moved... so I suspect that I better give them a new address and things when I call this time! It's currently leaning against the wall with the power plugged in so that it gets enough charge for me to back things up from it tomorrow and send it back, after phoning the nice acer support lot, again... hopefully, though, it should only be gone for 3 days when I send it off :) This does mean that I have to sit infront of the other machine when I'm at home though... maybe it's time to purchase a cheap laptop for general abuse... or emergencies... or taking places... hmm... the current laptop is more of a desktop replacement type laptop... I could do with one that's more suitable for lugging about. So if anyone knows of cheap, functional laptop with reasonable specs and a >2 hour battery life, I'd be interested :)

Sergio Talens-Oliag: Shell Scripts Frontend Tool

Well, today I've started to upload things related to the CDDT code to Debian. My first upload is a simple package that has been splitted from the current CDDT runtime code, as it is useful by itself. I've called it SSFT, the initials of Shell Scripts Frontend Tool. It is a shell function library that includes functions to display messages and get data from the user; the functions use zenity, dialog or plain text to do their work, depending on the value of the SSFT_FRONTEND variable; the idea was inspired by the debconf frontends, but uses only shell code with standard utilities (with the exception of the optional zenity and dialog utilities and the use of gettext.sh from gettext to support L10N). I've tested the current code against a lot of Bourne Shell compatible shells, including posh (that one made me remove the use of the local built in and rename the variables to _l_ as a prefix), so it should work more or less OK on any modern Unix. I don't know if anybody but me will use the library, if anyone tries it and finds a bug please report it to the SSFT project or the BTS (well, that will need a little bit of waiting, but I suppose that no one will try the package until it gets into the archive).

Mike Hommey: How-to: switch your partitions to LVM and lose everything

(almost) I’ve had some problems with disk space for a while, so much that I was “creating space” by creating an lvm logical volume of 5GB over 3 files (through loop devices) on 3 different partitions (/usr, /var, and /home) that all had less than 5GB free. But I needed 5GB free. So, instead of continuing relying on such brain damaged solutions, I decided to just switch everything on lvm, which, incidentally, would allow me to use lvm snapshots for pbuilder or similar tools (pbuilder doesn’t support lvm snapshot, as far as I know). Since my / partition is quite small (so small that I sometimes have space problems at kernel upgrade), I just decided to keep it and just transform my /usr, /var, and /home partitions into a big lvm physical volume. The challenge was to move all the files without any resort to external devices. Yes, I have other devices on other PCs, but they all are in about the same shape : full as hell. No way I could possibly free 40GB for backup. I couldn’t even burn some data : my DVD burner died a few weeks ago and I still haven’t bought a new one. I could’ve waited but well, I wanted to do it. So, the week-end before last, I decided to go on, and do it the painful way. I used my swap partition to move /usr and /var around, so that I could free the space from these 2 partitions to create the premises of the lvm physical volume. First trick: not enough space in the swap partition, so I just deleted a bunch of files (mostly /usr/share/doc/ and /usr/share/locale files) so that all would fit. After moving all around, I’d just unpack all installed debian packages so that the files are there again. Then, I managed to move everything by packs of 4~5GB, which was laborious. It involved creating temporary lvm physical volumes on temporary partitions and then moving the logical volumes’s chunks from physical volumes to other physical volumes on the same disk. Brain damage. Anyway, the big fright came when I had this stupid idea to delete partitions and create them again. Why ? because neither fdisk (no surprise) nor parted can resize a partition. Well, parted can, but it apparently can’t without playing around with the underlying filesystem. So, I deleted and recreated the partitions. And guess what ? They didn’t end up on the same sectors… The second stupid idea was to run pvcreate on the newly created not quite the same partitions… I thought I just lost everything. Pictures, personal repositories (especially 6 months worth (well, it took 6 months of real time, not of work time, but still) of work on xulrunner), everything. It’s actually not the first time I (almost) lose everything. I once did rm -rf / in a chroot… in which /home was mounted bound… and wrote a program to scan the file-system for the precious files (that’s the story of ext3rminator, which I still have to release once and for all). That was 3 years ago. First, calm down. Second, the bits are still on the disk (except maybe the bits overwritten by pvcreate). Third, calm down. Fourth, think. All I obviously had to do was to find the correct location of the partitions, and pray that the pvcreate didn’t blow everything. Which was almost okay. I could find 2 of the LVM volumes out of 3, while the third one seemed in a pretty bad shape. A bit of search with my friend google on another computer hinted me on vgcfgrestore. So I pvcreated once more over this broken volume, and used vgcfgrestore to get the volume group correct. It seemed okay. I could mount the volume. That was close. Well, to be sure, let’s run a fsck… ouch… inconsistency in some inodes. Okay, correct it. Once, twice… a couple times. Waw, is it that fucked up ? It can’t be that fucked up. So I took another look and discovered that the third volume was offsetted by a sector. 512 octets. Ouch, letting the fsck correct things was definitely not a good idea. Correcting again the partition table, pvcreating and vgcfgrestoring again, fsck, and let’s rock and roll. Conclusion(s):
- I only lost 150MB of MP3. I don’t care.
- Never ever use parted again, and never ever use fdisk in basic mode again.
- Avoid tricky procedures with stuff you are trying for the first time.
- Backups are for the weakest.

Amaya Rodrigo: It is that time of the year again

Jacobo, nice try, but you can make much better: at least three more atmospheres are needed. I am all flattered, though, but no, thanks, no .

<Yoe> Hmm. is someone pressurizing Amaya to go for DPL? ;-)
<helix> I love it when non-native speakers say unintentionally funny things
<Yoe> helix: hmm? Am I saying funny things, or are you referring to someone else?
<helix> you
<jamessan> pressurizing
<jamessan> that s like putting someone in a hyperbaric chamber
<helix> yeah
<Yoe> ahh. hmm :-)
<helix> you mean pressuring... I hope :)
<Yoe> likely :)
<jamessan> either that or there s a top secret DPL chamber candidates have to be put through
<nickr> amaya must be at three atmospheres before she can run for DPL
<Yoe> three... atmospheres?
<helix> haha
<nickr> its a measure of pressure
<jamessan> ~31k Pa
<Yoe> ah, three bar.

I d like to pressurize Vorlon instead, but Patty would kill me. And I really would love to have a Finnish DPL also.

Mike Hommey: Font packages

I’m currently working on a way to display japanese characters on web pages, on a computer where japanese fonts are not installed. It involves a server-side image generator for glyphs, for which I needed the .ttf files for appropriate fonts, like kochi-mincho. So, i just apt-get installed ttf-kochi-mincho, and it told me it wanted to install a bunch of stuff I don’t care about. I ended getting the .ttf files directly from the sourceforge site… I don’t want to clutter my server with X packages. The question is: why do fonts need to depend on xutils (not all but quite some) and defoma (all of them, apparently). Couldn’t they just recommend defoma and run the font registration thingy only if it is present ? If not present, nothing would be lost, since defoma’s installation would trigger font registration. On the other hand, I don’t understand nor see why some need xutils at all…

Eric Dorland: Firefox definitely could be better

Martin F. Krafft writes about Firefox's un-UNIX-like behavior. I mostly agree with him. Aside from the X forwarding bug in the remote implementation (which has been reported numerous times already), the main problem is the inconsistency in the interface. If I run firefox from the command line everything works fine and it behaves like a normal UNIX application (ie taking over the terminal unless I background it). If I go to another terminal and run firefox file:///tmp/foo.html, this will open a new window or tab in Firefox and immediately exits. This is very un-UNIX-like, there's no way to know if the program is actually exiting or if it's just launching a new window. These leads to fun bugs with programs that call firefox as an external viewer (see #278990 and #284174). If running firefox causes it to connect to an already running instance, it should wait(2) on that process, since that would make a lot more sense from the UNIX perspective (and perhaps a -remote flag to have the "fire-and-forget" functionality we have now, because that does make sense in some situations too).

As far as I'm concerned the whole profile mechanism is a waste of code and a hold over from the old Netscape days, for people without multiuser systems. It should be dropped completely. Although we'd probably need to be able to run multiple Firefox processes on the same profile before it could be stripped out.

There is definitely a strong Windows mentality that pervades Firefox. I still remember when the extension mechanism was first introduced back in 0.9 and you needed to run as root (or the Administrator under Windows) for it to work properly. Madness. Although UNIX does seem to be more suited to an environment where processes are lightweight and short-lived. Big, monolithic applications are a more recent phenomenon.

Mike Hommey: Gripes with Firefox

Martin said:
Firefox and OpenOffice.org seem to be two flagship products of the F/OSS world. At the same time, they are probably the two best examples of programmes orthogonal to the Unix philosophy. Does that mean that the Unix philosophy is the wrong way? Holy Shit!
No, Martin, that doesn’t mean anything about the Unix philosophy. It only means Windows developers don’t have a clue about Unix.

Jacobo Tarr&#237;o Barreiro: Nomination pressure

Mystery Woman for DPL '2006 Now she can’t kill me as, technically, she’s not appearing in the image :-)

Erich Schubert: <tt>make bug</tt> with SERefpolicy

Aargh. Yesterday I spend hours trying to find out why SERefpolicy would not build. There was a suspicious message in the build process, about a circular dependency being removed, and it was obviously due to this dependency that the build did not work. But: I couldn't find anything like a circular dependency. The dependencies for this file were trivial, just two input files that are not being modified or generated or anything. Today I decided to downgrade make to the stable version (which unfortunately conflicts with current kernel-package...) - and now it compiles. Smells like "make bug" to me... You can grab the completely untested (last build didn't work, and my test machine is currently down) packages at http://selinux.alioth.debian.org/serefpolicy/ in case you want to try SERefpolicy yourself. I'd love to have a SELinux policy system which does not involve any such make and m4 black magic. The makefiles are a PITA to read, the whole thing is totally unmanageable IMHO.

Zak B. Elep: Speaking, Packaging, and Writing, All in One Week

Two days from now, I’ll be pushing for Legaspi to be a speaker for the Bicol Open Source Forum. I’m going to talk about general FOSS and Linux stuff. I’ll also meet up with fellow Ubuntero Irvin Piraman and give away some Ubuntu CDs together :D . If you’re anywhere near Aquinas University, drop me a line. On the Debian side, my updates for opendchub and dbacl have hit Sid, thanks to the great Florian Ragwitz :) I’ve still yet to see ecb, xshisen, and rccp sponsored though :( I’ve seen some hope for ecb, thanks to Bart Martens, who was very helpful and put the updated URL for the latest ecb source package on the ITA. As for the writing, I’m now doing some final school reports for the year-ender. Ooh, just a month more, and here comes summer!!! I just hope there’s something like a local Google Summer of Code…

Erich Schubert: Quote of the day.

Have you seen Shrek 2? Remember when he has to win back his beloved? "We're gonna need flour. Lots and lots of flour." Unfortunately, this joke doesn't translate into other languages - "flour" and "flower" rarely sound the same... (e.g. "Mehl" and "Blumen" in German)

Next.

Previous.