Search Results: "andy"

23 January 2007

Erich Schubert: Limiting inbound traffic

... is far from trivial: you are not on the senders side, and not every protocol (in fact very few) allow rate limiting. Not to speak of limiting the total of multiple connections. Basically you'll have to accept that the sender is sending the data at it's own pace. However, the TCP part of "TCP/IP" is designed in a way that it does a fairly good job at detecting bottlenecks. The basic principle is this: when a packet is received at the destination, a confirmation will be sent back. By adjusting the rate of packets going out to match the rate of incoming "received" message (and to minimize the number of lost packets that need to be resent), TCP/IP connection can adopt to the slowest link in the chain. This is how incoming traffic shaping works: incoming packets are held back (or even dropped; however holding back packets might also lead to dropped packets somewhere up the stream), which in turn will limit the speed "ACKs" go out, and thus (hopefully) the speed data is pushed down to us. It's not perfectly reliable, and by design won't work well with short-lived connections and non-TCP-traffic. But it can still come in handy. We have a shared internet connection with 2 mBit. That usually is fine, but our router isn't very smart. When I'm using up all bandwidth for a longer timeframe (say, apt-get upgrade with new openoffice and tetex), the other users will suffer from a serious performance impact. One of them is often playing games online, and eventually gets kicked out of a game server because of his bad roundtrip times. By limiting my incoming traffic rate, I can hopefully keep the connection useful enough for him. In my tests, it worked pretty good at keeping my bandwidth useage down. The remaining unused bandwidth should allow his game data to pass through without larger extra delays. Here's the short script I'm using:
tc qdisc replace dev ethWIFI handle ffff: ingress
tc filter replace dev ethWIFI parent ffff: protocol ip prio 50 \
  u32 match ip src 0.0.0.0/0 police rate 1500kbit \
  burst 10k drop flowid :1
tc qdisc replace dev ethWIFI root tbf \
  rate 1500kbit latency 25ms burst 10k
Don't forget to adopt it to your needs, you probably havn't renamed your interface to ethWIFI and might want a different valye than 1500kbit.

21 January 2007

Isaac Clerencia: Bluetooth remote

A few days ago Applemania took over Warp HQ and several workmates purchased MacBooks. The MacBooks came with this nice remote thing and I grew jealous. In my way back home I thought that it shouldn’t be very hard to get a kind of remote control working using bluetooth and my Nokia mobile. I had never coded for my mobile so I wasn’t sure about how difficult would it be. In the end it was quite easy to write a simple program that just sent every key press to my laptop via bluetooth, and it only took 113 lines of Java code. Then I spent several hours coding the “receiver” part, in the end I created a little Python app which could load different plugins and created several of these modules: There are loooots of things to improve but it works for me :) , I’ve uploaded the source code (tarball) in case you find it useful.

16 January 2007

Arnaud Vandyck: Database Reverted

I've reverted an old backup of my drupal's database so I should be able to blog again.

14 January 2007

David Welton: Stuff To Do updates

After two weeks of being operational, Stuff To Do has been a big success at work, because it lets people keep track of what they're doing with a minimum of hassle. Truth be told, I've never been that wild about "productivity" software, but I'm pretty happy with the system I've created. I really have attempted to make something that stays out of your way as much as possible. That has involved making some choices - for instance, instead of buttons to start or stop time tracking for a given task, Stuff To Do [aside: it would be much faster to write 'STD', but I think that might not be such a good idea in terms of marketing] uses some javascript to see if you've moused over (or blurred, or typed, or done anything, basically) to the window where it lives in the last 15 minutes. This will certainly reduce the accuracy a little bit, and if you get 'in the zone' and don't hit the browser for a while, it won't count your time, but all things considered, this is better than having to hit a stupid button every time you do anything, because you will invariably forget to hit the button, and leave it going overnight, and then have to go back and manually edit everything, and.... yuck. I also have some ideas about how to further improve the javascript in order to make it even easier to track whether you're active or not (with your consent, of course!). In any case, I've fixed up a number of small bugs, and added a few new features: Some other things I'm considering for the near future: In the process, I also happened upon Active Merchant, which is some cool code by the fine folks at jadedpixel.com, which was quite handy for integrating Paypal. Being somewhat of a perfectionist, I found a few things that I wanted to do just slightly differently, and sent in a patch.

Andree Leidenfrost: Debian Pre-Release of Mondo Rescue 2.2.1, Take 2

mindi-2.21~r1021-2 and mondo-2.21~r1021-2 are now on http://people.debian.org/~andree/packages/ with the following changes:
  • petris works again during restore (self-inflicted, oh well).
  • Restore of ISO images and friends should now work when gzip (i.e. '-G') is used.
  • The network interfaces should be fine now when booting into a restored system for the first time.
Other than that:
  • The crash in mondorestore when nuking from tape has disappeared. I have no idea what caused it or why it went away again, though...
  • Kernel 2.6.18-3-k7 hangs when 'acpi=off' is specified (which is the default as per mindi's ADDITIONAL_BOOT_PARAMS, so restore fails with this kernel). I have filed bug #406809 which may or may not be related to #389931.
  • The issue with booting a (NTFS) Windows partition failing after a restore appears to be normal as per the ntfsclone manpage:
    Usually, Windows will not be able to boot, unless you copy, move or restore NTFS to the same partition which starts at the same sector on the same type of disk having the same BIOS legacy cylinder setting as the original partition and disk had.
  • I have tried a few things playing with parted and ntfsresize, but so far the only thing that works reliably in order to get Windows to boot is resizing the partition using gparted. I still have to figure out what it is that gparted does differently. (If you know, please tell me!)
Off to bed now so that I'm fine and dandy when I pick up Bruno from the airport in the morning for lca2007. :-)

Steve McIntyre: EPIC - we're done!

A group of us have been doing the Every Pub In Cambridge challenge for the last year and a bit. There are various lists of the pubs in the City of Cambridge around the Net in various places, and we based ours on the one at www.cambridgepubs.co.uk. Most Thursdays, Phil, Pod, Jon and I picked 3 or 4 pubs from their handy tube-style map and went and visited. The rules are simple: Today, we visited the last 4 pubs and finished after 14 months. We would have finished in under a year, but the football World Cup and Pod's travel-heavy new job slightly dented our schedule. In all, we visited 108 pubs and couldn't make it to 11 due to them being closed. The point of the exercise? We already knew of several good pubs in Cambridge, but expected there to be plenty of others. Plus, it was something fun to do on Thursday nights and a good excuse to drink more beer... :-) In the end, we each found some good new places to go, and some that we'd never go back to by choice. Our choices for best pub vary, but our respective best 5s basically agree. My own are the Live and Let Live, the Kingston Arms, the County Arms, the Castle Inn and the Free Press. Alongside those, there are plenty more I'd be happy to visit again. After more discussion, our other opinions were unanimous: the worst was the Duke of Argyle (nasty!), and without a doubt the most entertaining was the Cross Keys (with an amazingly funny barman). At some point we may get around to writing up reviews and posting them somewhere, but not right now... *grin*

11 January 2007

Russell Coker: ps and security

A post by Scott James Remnant describes how to hide command-line options from PS output. It's handy to know that but that post made one significant implication that I strongly disagree with. It said about command-line parameters "perhaps they contain sensitive information". If the parameters contain sensitive information then merely hiding them after the fact is not what you want to do as it exposes a race condition!

One option is for the process to receive it's sensitive data via a pipe (either piped from another process or from a named pipe that has restrictive permissions). Another option is to use SE Linux to control which processes may see the command-line options for the program in question.

In any case removing the data shortly after hostile parties have had a chance to see it is not the solution.

Apart from that it's a great post by Scott.

Evan Prodromou: 20 Niv se CCXV

So, like everybody else in the world, I was intrigued by the announcement of the iPhone. But like most Open Source folks, I was unhappy with the OS and the general closed format of the dang thing. What options are there for people who believe in Freedom but still want a cool phone? I currently own a Treo 650, which is fine, and which runs the venerable Palm OS. However, the once-thriving Palm Open Source community has pretty much dried up, leaving me without much in the way of interesting apps for my phone device. Thanks to Mike Linksvayer's notes on the subject, I got a link to the OpenMoKo project -- an effort to make a standard, Linux-based phone OS that uses ipkg for application installation and update. The first phone supporting the platform will be the FIC Neo1973, which looks pretty awesome and fairly similar to the iPhone (see this review from Linux Devices for some photos). OpenMoKo isn't the only game in town. TrollTech has a Linux-based Greenphone running their funky Qtopia platform, although it apparently doesn't work with their Qtopia Open Source version. And Nokia has this weird Maemo platform, but it only seems to run on their Internet tablet thingies. Mike gave a good link to an article about Open phones on PC Magazine. But I'm going to be looking out for availability of the OpenMoKo-enabled phone. I guess I'll have to switch phone providers -- Telus, my provider, only has CDMA service, and the FIC phone uses GSM. So, I dunno. But it'd be cool to have a mobile device that was fun and interesting and that I could believe in and want to hack on. tags:

What Chris refuses to blog about So, talking to Chris last night at the yulblog First Wednesday, I found out he wants to quit blogging. "I don't really have anything I care about enough to blog," he said. "The only thing that's piqued my interest lately was the execution of Saddam Hussein. I just don't want to blog about the iPhone." I told him I thought it'd be a good idea to make a blog just listing the things he refuses to blog about. He wouldn't commit to the idea, so I guess now I've taken over that job. In other words: Chris won't blog about the iPhone. tags:

6 January 2007

Clint Adams: The NSA wants to protect you from bad guys

10/01/05 10:47PM - Me too. Drunk, partying, and telling EVERYONE about you. all my love. 10/02/05 12:24AM - I'm back. Long day, but if you want to talk, I'm here. Love you. -Sparky 10/03/05 01:27PM - My soul's joy, I am jealous of that breeze, though in caressing you it warms my whole world. I will give you monsoons. -Sparky 10/03/05 07:58PM - I never get tired of hearing it, and I love telling you...I love you. -Sparky 10/04/05 04:11PM - Been a wonderful day-despite having puns about melons and the phrase "honeydew me" stuck in my brain. My other ubiquitous thought has been "I love her so much" 10/04/05 06:33PM - Saw you were feeling moody, so I hope this tips the balance to something positive: *kiss*...I love you, XXXXX. -Sparky 10/05/05 09:02AM - I was so tired this morning I wore my ugliest shirt to class (purple stripes-I look like an asphyxiated candy cane); but waking to thoughts of you-worth it. 10/05/05 10:41AM - And just for good measure-and because I can't stop myself-I love you, XXXXX my darling. -Sparky 10/06/05 01:07PM - Know what? I love you. *kiss* 10/07/05 12:36PM - X. - It's raining here, so I'm thinking of my sunshine. *kiss* -Sparky 10/09/05 02:09PM - Sleep, rest, recover from your ephermeral MS, party girl. And be warm in my love. *big kiss* All my love to you, my darling. - Sparky 10/10/05 12:58PM - Tired today, but each time I close my eyes, however briefly, I think of you- turning fatigue into elan. Love you, hon. -Sparky 10/12/05 03:49PM - Everything about me misses you, longs for you, and loves you. I love you a ridiculous amount, my sweet everything. - Sparky 10/14/05 03:59PM - The incompetence is especially charming, my dear. Of course I love you that much more now. 10/14/05 07:52PM - Everything okay? If you need some armchair navigation or some comp'ny, give a holler. *kiss* 10/19/05 03:39PM - Getting coffee filters. Long line. 10/21/05 09:55AM - One weirdo showed up. *sigh* Drive safely. I love you. 10/21/05 11:52AM - Zero...surprise. *smooch* 10/25/05 08:36PM - Novacaine, bad reception, long drive, and snow. Long weekend. I'll talk to you tomorrow, dear. 10/26/05 11:28PM - Sorry, really tired today (weather) so just sitting on the couch. Read your LJ, figured you'd be tired. 11/01/05 03:47PM - Been terribly over-worked; it's semester crunch time. Sorry for being unavailable but it can't be helped. I'll try to call b/n classes tomorrow. :-) 11/01/05 08:24PM - Thanks dear. I've dealt with worse though.

5 January 2007

Michael Janssen: Setup will complete in approximately: 39 minutes

Hardware evils

I've had quite the unfortunate week, hardware-wise, here. Nothing on my end is broken, but [lj user=ceilingsarecool]'s computer is screwed but good. It all started near the beginning of this week when I started to look into her machine. It had been loud for a while, and was being unreliable in regards to applications. Running memtest86+ on it via a handy System Rescue CD I always keep around discovered a couple of stuck bits on the memory that otherwise had been perfectly fine. However, I have had sticks die before, so I called Crucial and am having the memory replaced. (thank you Lifetime warranty). While I was taking the Memory out I noticed the couse of the loudness. Apparently there was ailing fan on the south bridge, which explained her issues with USB-connected devices. No problem - I'll just order a replacement motherboard. The old FIC AD11 was getting pretty bad anyway.

The new motherboard (a PCCHIPS M810LMR) arrived yesterday, so I went through the lengthy process of removing the old motherboard and moving the CPU from one to another. Just one problem: the new motherboard didn't start up. After checking that I had everything connected right, I thought the board was DOA. This would be my first DOA ever, but as usual the place I bought from has a DOA replacement policy so I thought I just wasted 2 hours and a bunch of time replacing. Unfortunately, this isn't even the end of this sad tale of brokenness. When I put the CPU back in the old motherboard, it didn't start either. So now I'm left with two motherboards for a processor that doesn't work, I assume. I don't really have another one that I can test it out on, and I can't test the motherboards with another CPU because I don't have one.

Luckily, I have some old towers sitting here that were about to be dragged out to the dumpster. I rescued them. They're ancient, even more than the machine that was in use was. I had to burn a Maxtor MaxBlast4 CD just to get them past the 65GB barrier, and of course I need to do a "repair" install of Windows because all the hardware changed since I installed it.

Lesson of this tale: Almost-broken computers are a delicate ecosystem. Just buy a new computer - you'll have to do that in the longrun anyway. Currently I'm looking at replacing the mainboard and CPU with this combo from newegg. It's got mixed reviews, but is reasonably priced, and if DOA I am sure that newegg will replace it. I'm debating between doing this and just saving up to get a decent new motherboard and CPU (generally around $150-$250, $300 easily with new memory) later in the year. I feel pretty bad because every computer that I've given [info]ceilingsarecool to use has had issues like this. She tells me that she doesn't really care that much, and she does have a laptop which works well when the desktop has issues like this, but it's still like a poison apple.

Windows XP Setup

It doesn't seem to matter what you are installing Windows XP on. It can be 500MHz or 1.2GHz or 3.0GHz, the first time estimate that you get for finishing the install is 39 minutes. When XP was first released, I never ever had a computer that would finish that fast - it consistently took an hour or more from that state, and then I jumped to fast computers that come under the mark most of the time (although not by much). At least the estimate is monotonic, not going up to an hour. I can at least assess the progress a little more. Installing a couple times in the last few weeks has got me wondering about the origin of that estimate, and if it was going to be so inaccurate as to just guess and be constant at the beginning of the install, why include a time estimate at all?

4 January 2007

Anthony Towns: Five Things

Suppposedly, card number five in the Tarot is the Hierophant, described as “someone who interprets secret knowledge” and representing concepts such as “conformity” and “group identification”. Not that any of that is related to this “five things you don’t know about me” meme, for which I’ve apparently been tagged by both Pia and Tony. And since I wouldn’t want to be accused of being either cool or vanity lacking here’s some from me. Let’s see, I’ll tag: vocalist extraordinaire James, companionable carnivore Pat, sometime C hacker David, fellow motorcyclist Sez, and future housemate Clinton.

3 January 2007

Evan Prodromou: 12 Niv se CCXV

Maj, Amita June and I took a ride up to San Francisco to see our friends Jack and Tricia in China Basin. Jack started wikiHow, and we've become friends over the last year or so as we're both learning about growing big wikis bigger. We had good lunch from Specialties and talked about their recent trip to Oahu. Then we raced back to Mountain View in time to have dinner at Chevys with my brother Andy, sister-in-law Pam, their two daughters, my parents and Pam's mother Midge. A big party, but we managed to get along, even with 3 girls under 4 years old around. Maj had a cranberry margarita bigger than her head, and Amita June ate her complimentary ice-cream cone all by herself. tags:

I support advertising on Wikipedia Mike Linksvayer has a great follow-up on my discussion in Journal/11 Niv se CCXV about advertising in Wikipedia. He notes quite astutely that a $100M/year budget, based on Web advertising, would put the Wikimedia Foundation ahead of almost any other non-profit organization in the world. $100M is a mind-boggling sum of money to leave uncollected. Think that number's gotta be off by a couple of digits? Mike points out that "In 2005 the Mozilla Foundation and Mozilla Corporation combined had revenue from all sources of $52.9M." Could Wikipedia get something on the same order of magnitude? Almost certainly. Among other things, he suggests that contributors to the current Wikimedia fundraising drive add a simple comment to their donations: "I support advertising on Wikipedia." Great idea! tags:

l33t So, I got a notice from Aeroplan, Air Canada's frequent-flier-miles program, that with all the travel I'd done in 2006, I'd almost be eligible for their Elite benefits level. I'd done 24,341 miles of travel last year -- mostly with trips to California, Portland and Copenhagen -- and the elite threshold was 25K. Today I was reviewing my 2006 flying record and realized that I wasn't credited for one leg of one flight to the West Coast, so I called up and got the miles. Starting in March, I'm gonna be in the the l33t crowd at Aeroplan. Rad! tags:

2 January 2007

Evan Prodromou: 11 Niv se CCXV

What a great day it was in the Bay Area today -- just beautiful. It's Rose Bowl weather, of course -- Nature blesses California on the day of the Rose Bowl, just so people in the rest of the USA say, "Damn those Californians and their great weather!" Still, there's something so rejuvenating every year around the 10th-11th of Niv se. I wonder what it is? Oh, and: no, we don't have the Rose Bowl in northern California. It's just one of the few times of year that San Franciscans are happy to share the state with their southern neighbors. tags:

Fruitcake So, there's a comedy tradition around the holidays that marks the crappiest possible gift you can get for Christmas as a fruitcake. This is stupid; fruitcake is delicious. Candied fruit + nuts + cake + rum = hooray for fruitcake. My parents got a couple of fruitcakes for Christmas, and they tasted great. I've been noshing on them a bit at a time all week. Great stuff! Rumtastic. Anyone who says otherwise is full of malarkey. In conclusion, fruitcake is delicious and Carthage must be destroyed. tags:

New Year's Eve Maj, Amita June and I had a hard New Year's Eve. Our friends Earl and Sue have an NYE party in Walnut Creek every year, and a lot of our friends from Pigdog Journal are there every year. We had planned to have a room at the nearby Embassy Suites, and have friends over before the party to see Amita June (who needs to be asleep by New York midnight, i.e. 9PM PST). But Maj is feeling really sick -- flu-y and nauseous -- and we had to cancel this pre-event. Bad feelings about this; we've missed seeing this group of friends a few times since the baby was born, and some of them have never met her. Eventually, we all managed to go to Earl and Sue's party together, then left early so Amita could get to sleep. A pretty good solution all around. I got to see a lot of old friends, including Sam and Shannon who just announced that she's blogging for two now. (Congrats!) Tjames was there with his ladyfriend Robyn, which was really nice. They made out a lot, which makes me pretty happy. We saw Dan, Johnny, Randy, Dave, and of course Earl and Sue themselves. A really good party. tags:

All is quiet I had a pretty mild shom-pan-yah hangover this morning, so we were fully able to go see friends Zach and Wendy in El Cerrito for brunch. We hit delicious Picante off of Gilman Street, which is a massive Mexican restaurant, near the Berkeley Gourmet Ghetto and showing some of the foodie-ism of the weird East Bay scene. I had a really good plate of chilaquiles, and Maj had some huevos rancheros and made a pretty good dent in them -- the first food she's really eaten in a few days. Amita June got a great quesadilla with queso fresco that tasted really good. Then, everyone was ready for a nap, so we said goodbye and cut the visit short by heading back to Los Altos Hills. tags:

Ads on Wikipedia So, there's been quite a dust-up on Wikimedia Foundation lists about their recent fund-raising drive. The WMF is having its annual fundraising drive (and, if you can, please help with a donation), and the Virgin Group's charity organization, Virgin Unite, set up a matching fund a few days ago so that all donations to the WMF were effectively doubled. All fine so far, right? But a small logo in the donations notice -- seen by non-logged-in users on every page of every WMF site -- was considered by many Wikipedians and other WMF editors as dangerously close to the line on advertising -- or over it. There have been several prominent users who have left the project because of it. I'm not sympathetic with these folks; in fact, I'm in solid opposition. I think that Wikipedia's huge amount of Web traffic is a resource that the Foundation is squandering. Traffic like Wikipedia's is worth tens of millions if not hundreds of millions of dollars in ad revenue per year. That's money that could go to disseminate free (libre and gratis) paperback pocket encyclopedias to millions of schools and millions of children, in their own language, around the world. It's irresponsible to abuse that opportunity. Brion Vibber's defense of the logo on the Wikimedia Foundation's mailing list is really interesting and instructive. tags:

29 December 2006

Evan Prodromou: 8 Niv se CCXV

We had a great day on the coast yesterday, just the three of us -- Maj, me, and Amita June. We drove over Highway 92 from my parents' place in Los Altos Hills, a pretty steep and winding highway, down to Half Moon Bay on the peninsula's coastline. We were going to head up to Montara Beach, one of my favorite places in the Bay Area, but it's a bit of a drive and we had plans to be back in Mountain View for dinner. So instead we turned off at the nearest coastal access -- Venice Beach, right in HMB -- and parked for a little beach time. Unfortunately, the strong winds and storms that we've had in the Bay Area this week have also caused higher-than-normal surf. We couldn't actually get to the beach from our parking lot -- Frenchman's Creek was blocking the staircase down to the sand. We think it might have been diverted by the high surf and winds. Anyways, we had to walk about 20 minutes out of the way to actually get down to the beach. Which was, of course, fantastic. I don't think there's anything quite like a Costanoan beach on a December day. The Bay Area's Pacific coast is quite unfairly ignored by most visitors, but a drive down scenic Highway 1 from SF to Santa Cruz can give a really good idea of what most of coastal Northern California is like -- from Santa Barbara up to Eureka. Venice Beach has nice yellow sand, Amita June loved running through the sand in bare feet. We chased seagulls (Amita tried to talk chicken-language to them: "bok bok bok!") and kicked around a soccer ball we'd brought. The surf has been exceptionally high, and it was probably pretty reckless to do, but the tide was going out, so we took off our shoes and dipped our feet in at the top of the sand. Amita loved seeing the waves come in, and running away when they got close. After a lot of playing and a little bit of a tantrum when we decided to leave, we all headed to lunch at the Distillery in Moss Beach. The Distillery is a California historical site -- an old speakeasy, built on the peninsula's coast in the 1920s when Canadian rum-runners would drop off their wares under these remote cliffs. It's kind of hard to find -- down some teensy residential streets on the ocean cliffs -- but it's a local landmark. The view was excellent and the food was great -- I had a big tub of steamers, and Maj had a really good plate of seaweed-wrapped prawns. The only problem was the wait -- we got there just as the lunch rush was starting, and didn't leave until after 3PM. That would have been nice for a romantic lunch for two, but with a one-year-old you're on a pretty tight schedule. Back over the Coast Range and down again to the introspective Bay, we took long naps then headed over to brother Andy's house for turkey soup and some family time. I dunno if there's any kind of tired like sun-and-wind tired from the beach. tags:

25 December 2006

John Goerzen: Memories of Christmas, part 1

Merry Christmas to everyone today!

Today, and for the next few days, I'm going to write about some of my Christmas memories from earlier years. Then I'll finish up with some photos from this year.

This post is about Christmas at home growing up.

One of the first signs of Christmas happened when my dad put up the lights on the outside of our house.



My brothers and I had (and still do) stockings that got one piece of candy per day during December, then got stuffed full when we opened our presents. The tree went up over the Thanksgiving weekend, and it was always a lot of fun to help with that.



On Christmas Eve, we'd always go to the program at church. It was the kids' Christmas play. Church would be packed. On the way out, everyone got a gift sack with fruit (apples or oranges), some peanuts, and maybe some candy. Then we'd go home. Mom or dad would read the Christmas story from the Bible, and after a prayer, it was time to open presents. In addition to the regular presents, dad would always give us a large paper gift sack. It would usually have a 12-pack of pop and some sort of nut (peanuts, pastachios, or maybe peanut brittle).

Sometimes we'd all stand still long enough for a photo.



We'd usually stay up late into the night Christmas Eve and sleep in on Christmas day.

23 December 2006

Russell Coker: installing Debian Etch

A few days ago I installed Debian/Etch on my Thinkpad. One of the reasons for converting from Fedora to Debian is that I need to run Xen and Fedora doesn't support non-PAE machines with Xen. Ironically it's hardware supplied to me by Red Hat (Thinkpad T41p) that is lacks PAE support and forces me to switch to Debian. I thought about just buying a new dual-core 64bit laptop, but that seems a bit extravagant as my current machine works well for everything else.

Feeling adventurous I decided to use the graphical mode of the installer. I found it a little confusing, at each stage you can double-click on an item or click on the continue button to cause the action to be performed. The partitioning section was a little unclear too, but given that it has more features than any other partitioning system I've seen I wasn't too worried (options of creating a degraded RAID array and for inserting a LUKS encryption layer at any level are really nice). The option to take a screen-shot at any time was also a handy feature (I haven't yet inspected the PNG files to see what they look like).

Another nice feature was the way that the GUI restarts after a crash. While it was annoying that the GUI started crashing on me (and would have prevented a less experienced user from completing the install) the fact that it didn't entirely abort meant that I could work around the problem.

I have not yet filed any bug reports against the installer because I have not done a repeatable install (there is a limit to how much testing I will do on my most important machine). In the next few days I plan to do a few tests of the graphical installer on test hardware for the operations that are important to me and file appropriate bug reports. I encourage others to do the same, the graphical mode of the installer and the new encryption and RAID features are significant improvements to Debian and we want them to work well.

I have realised that it won't be possible to get SE Linux as good as I desire before the Etch release, even if the release is delayed again. I'm not sure how many fixes can go in after the release (I hope that we could move to a model similar to RHEL - but doubt that it will happen). So I now plan to maintain my own repository of Etch SE Linux packages and for other packages which need changes to make them work in the best possible manner with SE Linux. I will append something like ".se1" to the version of the packages in question, this means that they will be replaced if a security update is released for the official package. Apart from the SE Linux policy packages (for which any security updates will surely involve me) the changes I am going to make will not be major and will be of less importance than a security update.

I will also add other modified and new packages to my repository that increase the general security of Etch. Apart from SE Linux all the changes I intend to host will be minimal cost issues (IE they won't break things or increase the difficulty of sys-admin tasks), and the SE Linux related changes will not break anything on non-SE systems. So someone who wants general security improvements without using SE Linux might still find my repository useful.

20 December 2006

Edd Dumbill: Deadlines to focus the mind

Here is a graph showing the number of proposals sent in for XTech 2007 over the last two weeks. Proposals submitted for XTechThe actual deadline date is the highest bar. The Monday after, when everybody realised they'd missed the deadline, is the second highest bar. Of course, it's an open secret that tech conferences regularly extend their deadlines to account for such things. I am probably stricter than most programme chairs in this respect.
This year we got over 200 proposals. That means over three proposals to each slot, so choosing's going to be tough.This graph is one of the bits of helpful eye candy ExpectNation gives me. As the conference organization proceeds I'll publish some other interesting details about the inner workings of XTech.Meanwhile, I'm overwhelmed as usual with the quality of conference submissions, and will enjoy the task of reading each one this week. 

18 December 2006

Erich Schubert: If only BibTeX (and LaTeX) were XML...

That would solve so many problems. LaTeX is still unbeaten in terms of print quality. It's really powerful. Since I've been using it, if started to really despise Writer and Impress. latex-beamer slides look just so much better than any PowerPoint presentation I've ever seen. However, it's far from easy to use. The syntax is a pain, and I don't think it's a feature that you can actuall program in this language. Similar things hold for BibTeX - there are so many things to do wrong there that will go a long way unnoticed. I've recently helped a friend to fix some BibTeX files. It was a pain, there was so much wrong in there... for example URLs. People noticed that they can't just always copy URLs in there, because some characters are special to LaTeX. But instead of using the \url macro, which would also have solved linewrap problem, they started doing the most obscure things (and of course they did not read the FAQ we wrote for them or asked how to do it right), for example adding whitespace to enforce line wraps, replace _ and & with whitespace etc., wrap uppercase chars in - an awful mess. The same thing with the author values. They just wrote "First author, second author" without considering that this might be interpreted according to the common "Last Name, First Name" scheme: e.g. "van Damme, Jean-Claude". (The correct syntax is "First Author and Second Author and Author, Third" - use "and" for separating even when you have more than two authors.) XML is better here. It's rules of escaping are generic and application-independant, and thus you'll have much more tools that know how to do it right, and you only have to learn it once, not for each application. The structuring also comes in handy:
  <authors>
    <author firstname="Foo" lastname="Bar" />
    <author firstname="Gnarf" lastname="Quux" />
  </authors>
is a bit more to write, but it avoids parsing errors. And with good utilies it's not particularly hard to write. Now don't point me to XML-FO. I know about formatting objects, the paper I submitted to the eXtreme Markup Languages conferences was done with FO. It's just that they don't come anywhere close to LaTeX in terms of print quality, the only OpenSource implementation I'm aware of didn't make much progress (but they seem to have released a rewrite in the meantime) and was lacking important features, and MathML has a horrible syntax mess (apart from Apache FOP not having MathML support). XSLT also has an annoying syntax. Too verbose and totally unreadable once you do things that are a bit more complex than the simplest examples. I wish we had something that gives a similar print quality to LaTeX, that uses some XML format (or something similar structured and easy to parse, like Xcerpt data terms, but thats basically equivalent to XML, just a bit more compact; Lisp S-expressions and OEM are other examples) that allows the easy creation of third party utilities and does away with all the black magic involved... Yeah, IMHO it's really time for a rewrite of LaTeX with a modern language design. And a large, unified standard library; plain LaTeX sucks, you can barely use it without extras such as url, hyperref, latex-beamer. [Update: yes, I'm aware of bibtexML, but it's just as bad, you still need hacks such as "the C language" or using "and" to separate multiple authors. I'm also aware of docbook and docbook to latex converters; that definitely is a workaround, but doesn't solve the real problems] (Comments in my blog are intentionally disabled. So if you want to voice your general dislike of anything with XML, abuse your own blog!)

17 December 2006

Mario Iseli: New Debian Installation - positive and negative points

Hi :) Yesterday I did a new install of my notebook because I had LUKS and for a reason my laptop began to hang totally (with all installed kernels) after several seconds. This was also my first installation with compiz, I really like it even if it’s just eyecandy - it’s cool. _BUT_, then I installed the sun-java-* packages and also the netbeans package which is waiting in the NEW-queue, I can start it, but there’s no content inside the window? So i tested some other java programs and there exactly the same. Finally I found out that when you run compiz all java applications don’t have a content inside of the javax.swing.JFrame objects. :-) Iceweasel seems also not to work (I’m still searching why), because when invoking on the console I don’t get any line of output - just no reaction. But I can blog - thanks to “drivel” which is also a very nice program in my opinion. Yeah, enough talking bad now - in general I’m very happy and it’s a very good system (compared to other days with unstable :-) ), I think etch will become a really good distribution when I look at my notebook, it’s very simple to use, enough eyecandy, most hardware works out of the box. Special thanks for this to the GNOME-Team who did a really god job in the last months! Wish you a nice Sunday and have fun at work tomorrow (I have holidays :-P )

16 December 2006

Ian Murdock: More on iAccessible2 and cross platform accessibility interfaces

Aaron Leventhal of IBM has more details on the relationship between iAccessible2 and the UNIX/Linux accessibility API (ATK/AT-SPI) as well as the motivations behind iAccessible2’s evolutionary approach:
[A]n evolutionary path was needed for applications which already had MSAA (IAccessible) support… [and] an API was needed that did not require separate accessibility implementations for each platform. […] The IAccessible2 interface itself collects important ATK features from other areas, as well some completely new methods and features… For the most part, features were added either to bring Windows capabilities up to the level of ATK/AT-SPI, or in order to support the features of ARIA (previously known of DHTML accessibility). […] [W]hat we’re doing is expanding MSAA while matching ATK/AT-SPI to a very helpful degree. […] [B]ecause IAccessible2 is backwards-compatible with MSAA, the current support of Windows screen readers and other assistive technologies can continue to work on applications that add IAccessible2 support. However, the newer IAccessible2 capabilities will also be exposed, and thus newer assistive technologies will be able to take advantage of them.
Peter Korn of Sun weighs in as well. (Via Andy Updegrove.)

Next.

Previous.