Search Results: "mak"

2 September 2006

Michael Janssen: Late at night when the wires in the walls

After my iBook problems last week, I tried to install Debian on the thing. I have narrowed down the problem to something with the hard drive inside, because the machine seems to run fine and go through most of the installation without any trouble, but once I start using the hard drive, it completely freezes. I successfully ran the hardware test disc which came with it a couple times in extended mode, but I'm not sure that it uses the hard drive in it's tests long enough for it to exhibit the problem. The failure seems to be somewhat random in nature, occuring at different times in the install process. Now I have the unhappy decision of trying to save this laptop which is more than 3 years old, or to attempt to buy a new one. Right now I am leaning toward buying a new one.

Honeywell seems 1.5 times as long this week, mostly because I'm making up for a day which I missed a couple weeks ago. Things have settled down there in terms of software failure, so I'm back at the normal coding which I am doing. The code uses Ogre, which is a handy 3d engine, making it much easier than learning something like OpenGL, and as a bonus adding portability. I am considering building some play applicaitons with the toolkit at home just because it would be fun.

Tonight I need to build a couple presentations covering some papers which were in CVPR this year to present at a reading group at Honeywell. It would be fine except that I am completely unaware of any of the recent history of vision research, so it makes it much harder to build the presentations. I hope I can finish them in a reasonable amount of time so I can watch Eureka tonight.

The TiVo Diet is still working out as expected. I discovered that I don't really have anything to watch on Sunday or Monday of the week. I'm getting much more productive work done than I used to. One downside of the diet is that I tend to not want to just sit and veg at the end of the work day - I think it frustrates [info]ceilingsarecool a bit because I'm always going off to the office to do something on the computer.

I recieved and watched the Studio 60 on the Sunset Strip yesterday. Being an Aaron Sorkin fan, I am excited for another of his shows to broadcast. Judging by the pilot, it should be a decent show.

Sidenote: Planet Debian seems to like one of my weekend weeviews a little too much, and is regrabbing it for the front page every so often. I can't figure out why this is happening, so any help would be greatly appreciated. Otherwise, in a couple more posts it should be off the RSS feed.

Eric Warmenhoven: Monadic

All I have to say is, damn you Evan. Back when I was in college (six years ago), I took CS 162, “Programming Languages”, which was a required course but I would have taken it anyway. Most of what I remember focused on explaining the features of the languages we already knew (Java and C++) and explaining that things didn’t have to be that way. They introduced Generic Java (I hear generics have been added to Java now) and had us write several programs using generics, which was about the only language that we actually had to program in. But they also made us use Haskell. As I recall, the assignment in Haskell was to write a B-tree. We didn’t have to compile anything; we just wrote a small file and loaded it in hugs and ran commands in the interpreter. It actually ended up being really easy, which left a favorable impression of Haskell in my mind, but I never learned more about Haskell. Instead I went off and learned C by hacking gaim. And look where that got me. Anyway, over the last year or so, Evan Martin has written about Haskell fairly frequently, and every time he does, it brings back fond memories of my earlier Haskell programming experience. And two weeks ago, I finally decided to do something about it. I downloaded hugs and GHC and read a lot of documentation, and wrote a lot of test programs. This time, with the aid of GHC, I actually compiled an executable. And it was fantastic. Suddenly Haskell became a real language for me. Though it took a lot of reading first to figure out how to get the list of command line arguments, and then to understand how the IO Monad works so that I can actually use the getArgs function without screaming. So here I am, a Haskell newbie coming from a C world, trying to make sense of it all. And naturally, I have questions.

1 September 2006

Roland Mas: Gforge in Debian, July 2006

Following about a month of irregular activity, I just uploaded three source packages (along with related binary packages, of course) to Debian unstable: gforge (4.5.14-9), gforge-plugin-scmcvs (4.5.14-3), and gforge-plugin-scmsvn (4.5.14-2). I hope unstable will give them more exposure than experimental did. Plans for the future: I ll focus on getting these packages into testing, without too many changes if possible. I haven t managed to get dbconfig-common to work reliably (or at all) with PostgreSQL so far, so I ll consider the migration to its infrastructure as a nice option, but not a blocker. The problem is that it would make the install scripts simpler and (hopefully) more reliable if it worked. Again, help would be very much appreciated. (And yes, I will be submitting bug reports when I get some time to do some more thorough testing of dbconfig-common.)

Biella Coleman: In the middle of nowhere but on the net

Micah and I have made it to Canada! Wow. We keep driving and well, we are not there yet because Edmonton, like the map shows, is far in that Western and Northen sense. We first went to Vermont last week to visit some friends and family but then decided not to cross in Montreal and drive that way, for a number of reasons. One was that we would not have cell access, the second was the higher gas prices, and the third is that it would be slower because the highways here are not like the MASSIVE American ones but more like one to two lane unlit roads where the speed limit is 60 miles per hour. Now that we are in Canada and on the Trans Canadian Highway to Saskatoon, I am glad we made that decision. It is super nice here and there are cool road attractions like the Happy Rock in Gladstone, Manitoba, but we are just unfit to drive on these roads, at least late a night. But one of the wildest things is that I am online, typing on a computer, via the phone/blue tooth and a Cingular Data Connection Plan. We decided against the North American Phone Plan because it was PRICEY (what good is NAFTA if you can’t just your same phone??) but the Data Plan was not too expensive and since Micah has to be connected 16 hrs of the day, we decided to go for it. We have been using the Internet all trip but it was only recently that we can now use it through the computer, which makes it a lot nicer. But what is even better is that the connection is like double the speed in Canada (prolly because it is a UMTS network and because Canadians rock) so while we may go slower on the highway, we do go faster on the information highway. Not a bad trade off.

Andrew Pollock: [opinion] A ramble about alternative energy and world affairs

Well John Howard said he wanted to start a nuclear debate in Australia. Seems it has already started on Planet Linux Australia. I figure I might as well have a meandering blog post about alternative energy and current world events, since I've just been immersing myself in the best news I can obtain with my crappy cable package in a country not renowned for its awareness of world affairs. Firstly, since there's been talk about nuclear power, I'd like to offer my thoughts on Iran, and how it's sounding like Iraq all over again. People are getting in a flap about Iran enriching uranium. Iran says that they don't want "the bomb", they only want nuclear power to meet their energy demands. Now if this is true, then surely should applaud a country that sits on a chunk of the Middle East's oil reserves looking to use something other than oil for its energy needs. I for one don't know if you need to "enrich" uranium to use it for a nuclear reactor, or whether it's good enough "as is". But let's just assume that Iran's intentions are as they have said, then it's going to be Iraq all over again. The US said Iraq had weapons of mass destruction. The US is saying Iran is enriching uranium for the purposes of making a bomb. So far the former claim hasn't been proven, so what's to say the latter is true either? Let's say the nuclear debate in Australia determines that it'd be a good a thing for Australia to go nuclear. How is Australia enriching uranium for electricity generation any different to Iran doing it? (Other than Australia is in the Coalition of the Willing, and Iran is in the Axis of Evil). Speaking of Iran being in the Axis of Evil, how is Iran supplying weapons to Hezbollah fundamentally any different to the US supplying weapons to Israel? Oh, and is anyone allowed to criticise Jewish people without being called anti-Semitic? Since when is invading a neighbouring country considered okay? I am so glad Australia is an island nation. These countries with land borders, sheesh... Anyway, back to alternative energy. I'm a greenie, (with a lowercase "g") so I'm open to nuclear power, but it does frighten the willies out of me, with things like Chernobyl. I'd never heard of a Pebble Bed Modular Reactor until Paul wrote of it. It certainly sounds safer than previous methods of nuclear reaction. But of alternatives. Wind, for example, doesn't need to be big and arguably ugly. These guys in the UK have made a very sexy and quiet wind turbine. I don't know how it stacks up in terms of cost or output to the traditional three-bladed wind turbines like what I've photographed in Southern California, but they're supposed to be quiet, which is apparently one of the (many) arguments that landowners like farmers have against wind generation in general. This Australian company has come up with a very small, but less sexy wind turbine, that I believe to be fairly cheap. Finally, in terms of generation, and I've written about this before, but I find the Tower of Power to be a fascinating concept in natural energy generation. Where am I going with this ramble? No idea. I do think rapidly developing countries like China should completely leapfrog over the era of oil and move to renewably generated electricity. Maybe they can get the manufacturing costs down of the equipment, and it'll be less of a big deal in terms of cost for the rest of the world to adopt it. Whew. What a ramble. Don't start me on flushing toilets with drinking water.

Scott James Remnant: Upstart can now replace sysvinit

Today I reached another milestone in the development of upstart, the packages in universe can now replace the existing sysvinit package. Before trying this, make sure your installation is up to date as we’ve had to split out some parts of sysvinit into a new sysvutils package. If you’re up to date, and want to try it out, install the upstart and upstart-compat-sysv packages from universe. Note that the first reboot after you’ve installed the packages (from sysvinit to upstart) will be a little tricky… use reboot -f. If your system boots and shuts down normally, everything’s working just fine. Note that both will be somewhat more quiet than you’re used to, unless you have usplash running. Throughout the rest of this entry, I’ll try to answer some of the questions and comments that I’ve received since the last post. Events As I talked about previously, upstart is an event-based init daemon. Events are the primary force for having your services and tasks started and stopped at the appropriate time and in the appropriate order. So what are events and where do they come from? (Note that this part is under development, so may change in later releases). Events are just simple strings that may be sent by any process when something it is tracking the state of changes. They have no state or longevity, and if, when queued, they do not cause any job state changes, then they have no effect unless they are sent again. Jobs can list which events cause them to be started if they are not already running and which events cause them to be stopped if they are running. Multiple start and stop events may be listed, in which case the first to occur changes the job until the next one occurs. upstart itself generates the following system events: The shutdown tool included in the package also causes one of the following events to be sent once the “shutdown” event has been handled: Jobs also generate events whenever they change state, this is the primary source of events for ordering: And as mentioned, any other process on the system may send events through the control socket or just by using initctl trigger EVENT. For now this is just the event string, however it’s intended that the event may include other details including environment variables and even file descriptors. Typical example To clarify how it all hangs together, here’s an example (using fictional names) of how the tasks and events can be arranged to provide race-free mounting of filesystems. By breaking this job into these small tasks, we can see how the pieces fit together. Because everything is now done on events, there are no race conditions; we know that any filesystem listed in /etc/fstab will be checked and mounted. The only reason they wouldn’t be is if there’s an error of some kind, and that means you have larger problems anyway and the system administrator would have a shell to fix it. Of course, the moment they finish checking the filesystem and mount it, the boot process would carry on. There’s no reason that any of these events need to be generated by the upstart daemon itself, it can receive them from any other daemon on the system such as udev, acpid, etc. This keeps the focus of the init daemon narrow. A large part of the future development will be working out exactly what kinds of events we want init itself to generate, what kinds we want to come from elsewhere, and what the contents of an event can be. Getting Involved If you want to get involved with trying to nudge the direction of upstart development, you can join the upstart-devel mailing list at http://lists.netsplit.com/ Or if you just want to grab the source code, tarballs are published at http://people.ubuntu.com/~scott/software/upstart/ and the bzr archive is at http://bazaar.launchpad.net/~keybuk/upstart/main

Matthew Garrett


04:02 <helix> burning man is for wankers
04:02 <mjg59> Yes
04:02 <mjg59> "HELLO I WILL SIT IN A DESERT AND MASTURBATE FURIOUSLY
PLEASE GIVE ME WATER IN RETURN"
04:02 <mjg59> It's like web 2.0 without the internet
04:03 <mjg59> And at the end everything catches fire and the investors
have nothing to show for it
04:03 <helix> haha
04:03 <helix> that is a great comparison
04:03 <mjg59> It's no wonder that the technology industry is obsessed
with it
04:03 <helix> well, jwz isn't
04:03 <helix> and he is our hero
04:03 <mjg59> jwz is post-web
04:03 <mjg59> Without being 2.0
04:04 <mjg59> Nightclub + webcams = good use of technology
04:04 <helix> word
04:04 <mjg59> Web 2.0 = BAD BAD BAD TECHNOLOGY BAD IN YOUR BED
04:04 <mjg59> NO BISCUIT
04:04 <helix> web 2.0 makes me want to die

Jesus Climent: No smoking policy.

Ever since my mother died I started smoking. Not much, not regularly. But as today, my 100000th birthday, I quit. No more nicotine for me. It will be hard, but I need to make it.

Erich Schubert: Busy with life

Today, I've been quite busy with "real life". First of all, I retrieved keys for my new room (see below), and was busy half of the day with packing stuff. Around noon, I had to go to a funeral. A friend of mine has died, most likely from cancer (maybe smoking-related, I don't know). He was very active for a NPO helping people with the internet. We'll really miss him there, too. In the afternoon I packed more of my stuff together, bought some new things; then took a break to go dancing - I started taking a Balboa class today - and finally took most of my stuff to my new room. Until around midnight I was cleaning the room, fighting the "malfunctioning" doors of the huge wardrobe and moving stuff in. Tomorrow I'll probably spend my first night in the new room. Picture of the plain room This is a shot of the new room. I don't have a wide angle lense, so that is the best I could do (I have the lens on my Amazon Wishlist, but it's horribly expensive...). It's the plain room, nothing of my stuff in there yet. The first thing I did was putting up some nice yellow curtains, to add some color. The flash makes some funny light effects with the mirrors of the wardrobe on this picture. ;-) The room isn't huge, but it's well done. The bed fits in behind the door, a desk will fit next to the bed, and there is this huge wardrobe. The mirrors on it make the room appear larger and brighter. Now with some sunny colors this will be a room I can enjoy. I'll probably post another picture when I've added some more color to the room. I have a couple of nice computer artworks printed out to hang to the walls. Oh, and the linux sourcecode poster. ;-) (No, I probably won't put that one up. It's mostly gray. It wouldn't match the room. It will be interesting how my life will change the next months. I'll be doing a lot more dancing - I intend to join a Boogie sports club, learn Balboa and Boogie and train Lindy Hop - and since I'll be living closer to the city, I expect to go out more. And I hope the people I'll live with in that house are fun, so we'll be spending some time together. We have a pool table and a dart board in the living room, and a perfect spot for placing a projector. Also since I've passed my final exams, I'll now focus on my final thesis. My topic is about semantic wikis [wikipedia.org], at my university and a research institute. The last months, I had been rather bored with university life; the thesis will likely set the course for the next few years of my life: research, entrepreneurship or just working at some larger company.

31 August 2006

Martin F. Krafft: News from the NetBSD cabal

I thought this mail about the current state and future of NetBSD (via /.) was an interesting read, and one relevant to Debian not only because of our Debian NetBSD port. In particular, it felt good to be able to say "yeah, we've got that" to some of the points Charles raised. However, I also had to concede that we're short in some of the other points. I won't put numbers to these claims because it's not as black and white as this. What would be really great is if one of the Debian long-timers would sit down and reply to Charles with his/her experience! Having worked a bunch with the NetBSD crowd in the past, I really would hate to see this project go down. The NetBSD kernel, while not up to the task to provide the desktop experience, still makes for rock-solid servers, and some parts of it sparkle with technical excellence (like the virtual memory management, for instance). Maybe, just maybe a possible future for NetBSD would be to produce Debian NetBSD in a joint venture? NP: Shpongle / Tales of the Inexpressible

Jonathan McDowell: New toy! (What to do with it?)

I went wedding list creating in John Lewis yesterday. It was fun for about 5 minutes and then the novelty of a Palm with a barcode reader wore off. They'd told me to be careful where I pointed it, so I didn't get to see just how good the range was. :( During the lengthy process a Hauppauge MediaMVP caught my eye (it's a hardware MPEG2 decoder with SCART socket, ethernet and remote control - the idea being you stream content to it from your PC and watch it on the TV), reduced from £79.99 to £39.99. I'd considered buying one of these in the past, so I took a closer look. And discovered one marked down to £25.00 at the back. Took it to the checkout to confirm the price, got told it was right, and bought it. I'm not exactly sure what I'm going to do with it just yet. :) I've already got a hardware MPEG2 decoder on the DVB card hooked up to the TV, though the MVP is a fanless device and might make a better choice than the living room PC. mvpmc is a potential option, and there's a plugin for VDR as well. Or there's just the prod it and see what I can make it do approach. It's an IBM PowerPC 405 with 32MB RAM (though only 16M for the OS it seems) and an SMC 91C111 ethernet chip. The interesting bit of the MPEG2 decoder has no source which is a pain though. :( Still. Fun toy! \o/

Clint Adams: Scaramouche, scaramouche, will you do the moviefone

A couple of arrogant fucks once boasted to me of the coed naked T-shirts which they had commissioned for their special hobby (which is far too embarrassing for me to mention even though I do not participate in it). The gist of it was that they were mocking the stupidity of the people who wear coed naked shirts by... wearing them ironically. I tried to explain to the intelligent one of the pair that she wasn't actually mocking the people who wear coed naked shirts because it just so happened that, by virtue of the fact that she had purchased and donned a coed naked shirt of her own design, she had become one of the people who wears coed naked shirts. She didn't seem to comprehend my point. So when I sally forth into the following paragraph, in mockery of bloggers who refer to people by initial, you may wonder whether I am mocking the people who use initials or if I have just become one of those people. For example, both K. and K. are getting married this year, and they're both getting married to men named J. Is that creepy? In contrast, K., who only dates men named J. (which is definitely creepy), is not getting married this year, but you don't need to get married when you're in Europe. Get it? Okay, here we go. Y. calls me up and says, Clint, do you want to go to the opera tonight? Two questions later, I say, Sure. Is there any pre-opera dinner action? I have dinner plans, she replies haughtily, T. was interested in dinner though. Call C . about it. Don't invite C .! I had no intention of inviting either C . or C ., but I called C . C . didn't answer, so I constructed a voodoo doll and stabbed it. After some time, circumstances changed a bit, and in order to accommodate reality a bit, Y. cancelled her dinner plans, and we arranged a meeting place with T. and C . and E. Since none of us were going to end up having time for dinner, Y. said that she'd bring finger sandwiches . There was some discussion of buying wine to go with the finger sandwiches , which I thought was a little silly, and the conclusion was a bunch of vague non-committal grunts. I was surprised when three bottles of wine showed up. I was surprised by the enormity of the finger sandwiches . I was surprised to see M. at our meeting spot. Then M. got a phone call and proceeded to announce that A. was en route. There was some quibbling over whether we should all wait for A. or whether M. should wait while the rest of us got our seats. We concluded that the latter was the sanest option. I opted to wolf down one of the foot-long finger sandwiches and a healthy amount of whichever wine got opened first. A. shows up with a large bag of food. She explains that she had gone shopping at Whole Foods, and as she is still drunk from the margaritas she had started drinking at lunchtime, she had bought a bit too much food. At this point, there is no indication of her drunkenness, though she has bought numerous cheeses, loaves of bread, candies, a giant low-fat or fat-free cake-like abomination, cookies, a several-pound chunk of chocolate, and a sizeable bottle of Orangina. She drinks the Orangina as not to get any drunker, and I cringe in terror as a boor gets on stage and screams about how the fatcats in Washington are trying to purge the Earth of the performing arts and how we've all got to take action to fight that. I consider writing to my elected representatives in the Federal government, but only because the guy on stage is one of them. A. switches from Orangina to wine at M.'s coaxing. Some asshat in front of us starts waving the flag of another country for no reason we can discern. Y. starts hissing about how she needs someone to fetch her a shotgun. It takes far too long for anyone to forcibly stop the flag waver, but it happens eventually. No shotguns were involved. Now, among those not in the know, there are often rumors that A. and I have a thing going. This is because I call her fat and threaten to do possibly-unpleasant things to her breasts, and in return she calls me things I won't mention and threatens to do non-breast-related things to me, and makes obscure Lloyd Alexander references that only I understand. Those in the know, on the other hand, are aware that she cheated on her husband with M., and are somewhat irritated by this because apparently her husband is a really nice guy. I've never been allowed to meet him, so I've no idea. Anyway, we start misbehaving. E. managed to maintain decorum the entire time, but M. and A. started fondling each other and kissing and giggling, and C . started SMSing comments about how these people can't behave themselves, and T. is on IRC complaining about how people are misbehaving. A. grabbed at my cell phone in protest of our rude electronic communication, so I slapped the hell out of her. Do you want me to beat him up? M. inquired from A.'s lap. Being possessive and protective of girls with whom you wish to copulate is apparently a rather popular pastime in the white trash community, because C . had threatened to beat me up on A.'s behalf not two days before. Anyway, to her credit, she said, No, I deserved it. To show my admiration, I beaned her with a wine cork. C . had some hand sanitizer, which we entertained ourselves with while arguing about which opera La donna mobile is from. I wish the consensus had been West Side Story, but the majority opinion was for La boh me. I'll assume that the had something to do with the confusion. Against all odds, they managed to finish the opera despite us and the other miscreants, and we proceeded to leave. On the way out, M. and A. had an utterly inane discussion which would have been utterly forgettable had they not ended each sentence by calling each other baby . Thenceforth, I have addressed them both as baby , which makes them very embarrassed and quiet. Clint, A. whined, Give me your job. You're drunk, I countered. But I'm cute! A. insisted. Oh, I see. You're REALLY drunk, I observed. Meh, she mumbled, no longer on her sluttiness high. Men are dumb. M. declared that I must absolutely go see some museum exhibit I'm sure I don't care about, and A. said, No! We're going to see that! Yes, we are, M. agreed. Okay, baby, I said patronizingly, then went home with T.

30 August 2006

Martin F. Krafft: Using LVM snapshots for filesystem recovery

This morning, I found myself in Gunnar's position and was looking at an empty /home directory because of the following mount failure:
piper:~# mount /dev/mapper/vg0-home
mount: Unknown error 990
Starting XFS recovery on filesystem: dm-0 (logdev: internal)
Filesystem "dm-0": xfs_inode_recover: Bad inode magic number, dino ptr =
  0xffff810028a6bd00, dino bp = 0xffff81002851d140, ino = 33629
Filesystem "dm-0": XFS internal error xlog_recover_do_inode_trans(1) at
  line 2352 of file fs/xfs/xfs_log_recover.c.  Caller 0xffffffff88307729
I am used to XFS giving me hard times, but this time at least I didn't have much to worry as it happened at home, I have plenty other machines I can use instead, and all data was backed up. Since this is on a Debian unstable machine, I had the latest xfs_repair available, and told it to do its thing, but it refused:
piper:~# xfs_repair /dev/mapper/vg0-home
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair.  If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
Great. Catch-22. I decided to have a go at fixing it, but as much as I pretended to grok xfs_db, I did not manage to get the filesystem into a consistent state. I thus fired off an email to the mailing list (which has not arrived there 4 hours later) and started pv to dump the raw data to another machine for later use or debugging. Watching the progress meter of pv from time to time, it occured to me that my /home is in fact on LVM. I put it on LVM way back when LVM was new and cool and I wanted to gather experience with it. I've never actually done anything with it, but today it saved my little bits of remaining sanity. Why? Because LVM can take snapshots of volumes. It took me a while to put the pieces together, but in the end, a snapshot would enable me at least to run a test-round of xfs_repair -L and assess the damage, and if it wasn't all that bad, I could just run the repair process on the actual volume again. With the encouragement and knowledge of Christian Aichinger and Daniel J. Priem on IRC, I hence proceeded to give it a try. First I had to extend the volume group to make room for the snapshot data, and since I had no disks handy, I just used a loop device based on a sparse file:
dd if=/dev/zero of=/srv/loop bs=1 count=1 seek=5368709120
losetup -f /srv/loop
pvcreate /dev/loop0
vgextend vg0 /dev/loop0
lvcreate -s -n home-snapshot /dev/vg0/home -L 5G
(Thanks to Ian Nicholls for spotting the error: I was using pvcreate instead of that last lvcreate previously). Now /dev/vg0/home-snapshot was a copy-on-write snapshot of the original volume, and I could do whatever I wanted with it, as long as I did not exceed the 5G size allotted for the copied data blocks that I modified. Using mount and xfs_repair, I could verify that the problem also shows up with the snapshot. Thus, I ran xfs_repair -L on the snapshot and finally was able to mount the snapshot to inspect the /lost+found directory. Fortunately, it wasn't all that full, nor was there anything important in there, so I sighed, removed the snapshot (lvremove) and unleashed xfs_repair -L on the original volume, which is now again mounted under /home. Finally, remove the loop device from the volume group (vgreduce). If you are like me and forgot to do so before rebooting and now find your LVM volumes not starting anymore, look into the --removemissing option. I like this method. I knew the filesystem was corrupted, but I did not know to what extend. Had corruption been worse, I could have waited for the XFS guys to help me out. But seeing the low damage, I was able to decide to just purge the journal and accept the damage. If this had happened on a more important machine (i.e. without recent backups), I would have proceeded a bit differently: once the snapshot was mounted, I'd have run xfs_dump on it to save the data. I would also have used more space for the snapshot and not removed it until the parent volume was repaired and mounted. It's unlikely that xfs_repair will produce different results when run on a volume and its snapshot, but better be safe than sorry. All this said, I just want to point out that the above method is filesystem independent and hence would work for any filesystem out there. I've never been a big fan of LVM, especially without RAID to build on (striping across physical media multiplies your chance of data loss), but this method is a good reason for using LVM regardless: use a volume group instead of your physical disk, and logical volumes instead of partitions, but don't span disks (unless you have to). Then, if stuff goes bad, you can hook in another disk, extend the volume group with it, and work on snapshots.

Andreas Barth: What needs to happen for python 2.4 to become default in etch?

There are many question what needs to be resolved to allow the new python-defaults into etch. There are some packages that would become uninstallable by that now, and the task is to just check them and fix them: ethereal-dev, gaby, gforge-plugin-scmsvn, gnome-tasksel, gnuradio-examples, gr-audio-alsa, gr-audio-jack, gr-audio-oss, gr-usrp, gr-wxgui, guml, hplip, ifrit, ldaptor-utils, ldaptor-webui, lfm, libghc6-missingpy-dev, mboxcheck-applet, med-bio, memaid-pyqt, mock, musiclibrarian, ocfs2console, omniidl4, omniidl4-python, plywood, positron, pydict, pyftpd, pykdeextensions, pymol, pyntor, pypanel, pyrad, pyslide, python-dispatch, python-gdal, python-gdchart, python-gdchart2, python-gdk-imlib-1.2, python-glade-1.2, python-gnome-1.2, python-gnuradio, python-gtk-1.2, python-ldaptor, python-mapscript, python-metakit, python-moinmoin, python-notify, python-numeric-tutorial, python-phidgets, python-protocols, python-sip-qt3, python-turbojson, python-usrp, python-zeroc-ice, pythoncad, pytone, releaseforge, rubrica, scalemail, scanerrlog, scigraphica, snappea, snappea-dev, spikeproxy, sql-editor, viewcvs, viewcvs-query, wireshark-dev, xen-ioemu-3.0, xen-utils-3.0, xkeysw-config, yum, zeroc-ice For example, gforge-plugin-scmsvn depends on viewcvs which needs to be converted to the new policy. Everyone can take his share - just choose any package, look why it becomes uninstallable (perhaps via a dependency becoming uninstallable) and fix it. Oh, and please set the urgency to high and make sure prior to upload that the package still works. (This is only the list on i386, but experience has shown that once it's resolved for the first architecture, it isn't too hard to resolve it for the other architectures also.) Update: Some packages are already in the progress, e.g. ethereal-dev depends on wireshark-dev which depends on omniidl4 which has been NMUed already. Well, like always: Check what the issue is before fixing it. And if binNMUs help, please just tell us. 2. Update: It would be really helpful if someone could take care of viewcvs. 3. Update: The most important open issues are: viewcvs, mapserver, moin (whereas viewcvs has a good version in experimental, maintainer is contacted). Also, these programs might need some love to get converted to the new standard or have otherwise real NMUs: blogtk boa-constructor codeville drpython fnorb freeloader forg fvwm-crystal gco gdebi gdeskcal gnome-btdownload python-visual gaby guml ldaptor scalemail lfm missingpy mboxcheck-applet yum mock musiclibrarian ocfs2-tools plywood positron pyftpd pyntor pyrad pyslide python-gdchart pygdchart2 libmetakit2.4.9.3 moin pythoncad pytone rubrica scanerrlog snappea spkproxy

Joey Hess: id fraud

I found out today that someone found the small amount of information about me they needed to nearly successfully buy stuff in my name. They call this "identity theft", but since my identity still seems to be intect (pats his rampant ego) and since as an ardent SF fan, I'd like to reserve the term identity theft for the possibility of someone stealing a copy of me, I prefer not to use that term for this form of fraud. Luckily I already had a fraud alert placed on my accounts before this happened; I started placing these alerts a while ago, on the basis that the banking system's verification methods are so broken that it makes sense to just do it pre-emptively, before you have any reason to think someone is trying to defraud you. Who knows if that does any good though. Oddly, I almost ranted about this id theft nonsense last week, before I knew this happened. The thing is, while I'm calling to report credit cards as compromised and learning that someone managed to put together my name, address, phone number, and a not very well secured credit card number; at the same time I have something here with these properties:
  1. Anyone can use it to verify if a given statement (such as "transaction #128: please pay this person $500") was actually made by me and actually applies to the person I meant it to.
  2. Using it doesn't automatically give it to a supposedly trusted third party, such as the low-paid phone support guy who has my credit card number and all the rest up on his screen right now as I ask him to cancel the purchase.
  3. According to the experts is not breakable by any means except for a brute-force attack that would use the resources of a medium-sized country.
  4. Can be used to identify me with a fair degree of certainty, even if you've not met me.
  5. Is suitable for use on the internet.
  6. Even if physically stolen from me is not trivially easy to break and use.
  7. If I lose it or know that someone has stolen it from me, I can revoke its use in a way that is just as hard to forge or break.
  8. Can, incidentially, be used to make private conversations just as hard to snoop on. But that's probably a different rant.
That magic thing is a public and private key pair for GPG, and it seems really weird to me that I can use this for unimportant things like signing email, and for crucial things like authenticating changes to the software deployed on millions of coumputers, but I cannot use it to pay a bill. I wonder if the world at large will ever catch on to the uses of public key cryptography? Anyone want to start a First Bank of GPG?

29 August 2006

Brett Parker: AJAX And Accessability

MJ Ray talks about AJAX and Accessability, as much as I hate most things JavaScript, and most things on the web (it's full of bad designers, and pages that I just can't view with a text based browser... grrr ;), I have do disagree with AJAX inherently breaking accessability - that'll be bad web designers. AJAX and JavaScript are supposed to be used to enhance the user experience when run on a platform that supports it, they are not there to replace the job of the server in the first place, good web designers know this, and when they use AJAX it's to minimise data transfer when JavaScript is enabled, but otherwise everything should have safe fallbacks, ergo they're still accessable. It's not the technology that is the problem, as usual it's the crowd of "ohh, shiny" that don't use any common sense. Fix the people, fix the web. While people are still in the "oh shiny" mindset, we're going to see more problems, it's quite simple. New technology, expecially stuff that really actually isn't new, it's just been bent in to "shape" by a bunch of people that had more time than sense and wanted a set of libraries to make sick things possible... make things simple, people use them. People use them, they use them incorrectly. It's been the way of the world for many years. Simple solution to the problem, force people to use a text based browser for a day a week - no, not w3m with javascript support, that'd be cheating... watch as the web (slowly) became a better place. Anyways - that's my 2p on the issue.

Martin Zobel-Helas: package list frozen

The package list for Sarge r3 has been frozen today, though we still wait for one package from one architecture to be uploaded. I hope it makes it before dinstall. Lets see….
FINALLY!

Erich Schubert: Keeping your users out.

Today I was trying to find some information in the Ubuntu forums. I'm seriously annoyed. There was one thread that seemed relevant, but it has some 310 pages. Yes, thats over 3000 posts. Unfortunately, Ubuntu (and I consider this arrogant behaviour) doesn't allow you to search the forum or access attached images if you are not registered. I can understand things like spam protection. But WTF do you require registration for searching? I mean... I was trying to find out if the Ubuntu community could help, and all I get is "register first"!? Thats pure harrasment of non-registered users. I don't think I'll bother to remember another username and password just for their crappy forums. I hate forums anyway. And the size of that thread just shows that forums don't scale well. Especially if you can't search. [Update: yes, I've been a bit harsh here. The front page says that they're experiencing speed issues, and thus have disabled search within the forum. Actually I can't believe that search requests make such a huge load (especially compared to me browsing a 30-page thread...) - but maybe their search function is just implemented badly? I wouldn't be surprised if they do some huge SELECT to search, and don't have an index optimized for text searching. Maybe they shouldn't be using a closed source software for running their forum. I guess they could just fix the search functionality then. If opensource software doesn't meet their requirements, they're bound to get some support by the community to make the software meet them, if vBulletin actually is better in some points. IMHO vBulletin sucks. And given the speed issues "it is what the admin prefers" might miss some important point - that at some point you can't just keep getting a larger CPU]

Simon Richter: Mass virtual hosting

I'm (again) looking for a piece of software that might do just what I need, before I go out and reinvent the wheel. This time, I need something that can coordinate all the configuration files for the various services that make up an online presence, namely bind, apache, postfix and the smaller things I forgot. It should be robust (at least, there should be a "rebuild everything" button. It should allow me to form groups of domains, for example if I want .com and .org treated the same, but also allow exceptions (when only the .org has an alias for the board of directors). And it does not need a

Jurij Smakov

I have started tracking the sparc-specific bugs using usertags. If you have a non-trivial sparc-specific bug in your package, and would like someone to look at it, feel free to usertag the bug as oh-noes for user jurij@d.o (d.o needs to be expanded).

Next.

Previous.