Search Results: "agi"

29 March 2006

Andres Salomon: hate-campaign-o-meter

It’s sad to see MJ Ray, our savior and future DPL, engaging in a hate campaign against AJ. It brings a tear to my eye. (Note: the above statement is sarcasm. If you don’t get it, see this, this, this, and this. See, I can claim that criticism I don’t agree w/ is “hate speech” too!)

28 March 2006

Jordi Mallach: Ubuntu's Langpacks system, a solution for the OLPC project

Jim Gettys wrote about a problem regarding localisation that the OLPC project will face in the future. The One Laptop Per Child project aims to provide the famous $100 laptop to children in the developing world. They are Free Software based, and as most GNU/Linux distributions, the bundled software will be available in a number of languages. For now, it'll only be ten or so, but as OLPC grows, the number will skyrocket... just think about the number of languages spoken only in Africa. The $100 laptops don't have a hard drive. Instead, they have a 1 gigabyte of compact flash memory, which is enough to run the software, but it can't store that much extra data. The most common way of internationalising and localising Free Software is to use GNU gettext, which provides an easy to handle text file format for translations, with a series of sentences and labels that the translators need to fill in in their language. The applications ship these translations in .mo files, which are the same .PO files, in compiled binary format the gettext enabled programs can read. Each application installs one .mo file per language it is translated into. When the apps are big enough, these files can amount to several megabytes per application, which is a problem for embedded systems or projects like OLPC. Ubuntu has been trying a different approach to the distribution of translations. Instead of packaging all the translation files with the applications .deb packages, they are stripped off from the packages, and provided by language packs. Language packs offer the translations for all the applications and libraries of the main component of Ubuntu. This includes GNOME, KDE and many other popular applications. When you install Ubuntu, you select the main language of the interface, and the installer program will download the appropriate language pack, plus a selection of useful localisation-related packages like dictionaries, translated manuals, etc. These language packs are generated periodically by Rosetta, a web-based translation portal which is sponsored by Canonical, Ubuntu's and Launchpad.net's parent company. Rosetta offers a very easy to use translation infrastructure, and Ubuntu users can start translating the applications they are running with just two clicks on the application's interface. With Rosetta lowering the barrier for people wanting to translate Free Software, Ubuntu can have, and is now having, lots of people improving the translations of not only the next version of the software, which is what translation groups have traditionally worked on, but also the version you are running at that same moment. There is no need to wait for the next version of Ubuntu to see your translations complete. Help your team translate whatever is missing, and wait for the next language pack update. Voil ! If the OLPC project adopted the language pack scheme and Rosetta, they could install a raw OLPC laptop without translations, and only install the language packs that are needed in the target country or area. The langpacks are currently split into GNOME, KDE and the rest , but any derivative could fine-grain the components they wish to include. Furthermore, the system helps improving the localisation of the system after the laptops have been deployed. Just stick a USB drive to the laptop, and use your usual package manager to install the updated language packs contained in it. Or just use the Internet if it's available. In environments where network access is completely impossible, making the availability of updated packs from a remote server a no-op, as well as online translation in the Rosetta server, other solutions could come in place. Generating langpacks from a set of local PO files should be pretty easy.

27 March 2006

Neil McGovern: The Joys of Air Travel

Well, I've just got back from the first OpenVAS DevCon in Onsabrück in .de. More on that later.

However, this particular post is about STN airport. On the way out, I had a transfer in STN, and nothing could be easier. I got off the plane, was told to walk down corridor 'a', and I ended up right by the gate where my next flight was due. Easy, right?
However, on the way back, things didn't quite go to plan. I knew the day was going to start badly when I found myself wandering around Onsabrück at 2:30am in the rain, trying to find a random bus shelter that the airport bus stops at. I failed fairly miserably to catch the 2:56am bus, but at least it showed me where the bus shelter was, unlike the random drunk tramp that insited on trying to talk to me. The next bus was at 4:22am, so I did have quite a wait. However, this meant that I had 10 minutes before check in closed for the flight. I made it. Just.
The flight set off on time, and all was fine. When we landed at STN, there was a slight delay due to some 'confusion' over which gate we were heading into. So, I get off the plane and expect to head down a magic corridor somewhere. Well, it didn't quite happen like that. We climbed down the stairs instead of using a gangway, and then were ushered into a bus. This then took us to the other side of the airport and dumped us by passport control and arrivals, so no facility for transfer passengers.
This meant that I had to go through all of passport control and security checks again, and as the plane was late getting in, I didn't have much time. So, I finally manage to find where the departure gates are, and spot a HUGE queue to get in. I join it, and about 10 minutes later discover that there is an even longer queue inside to get through security. Never mind, I'll still make the flight if I run. So, the man who checks your boarding passes before letting you get to the security bit notices that I'm a transfer passenger, and tells me not to use this queue, but go straight to the 'Priority lane' which is used for first class passengers etc. I do this, and the man checking the tickets insisted that I don't have the right ticket, and to join the queue again. So, I do so, and 10 minutes later, I'm told to go to the 'Priority lane' again. WTF? I eventually manage to get the left hand to meet the right hand, and get through the priority lane.
Now, STN has a rather high-tech system with opening and closing corridors and routing people to the right gates. Today, however, it was very broken. So, a usual 5 minute walk to the gate turns into a 15 minute jog. I arrive at the gate, just as it says 'final call', and it's shut. They haven't even opened the gate yet. Eventually, I get on the aircraft, and look out the window. I'm on the same plane I got off, and sitting in exactly the same seat that I was two hours earlier.

26 March 2006

Bernhard R. Link: compiler arguments

Please do not hide the arguments given to the compiler from me.

It's hard to realize something is going wrong if you do not see what is happening. If the argument list is too long, do something against that instead of hiding it.

Make sure you follow policy when packaging software

Debian packages should be compiled with -Wall -g, but more and more do not. Please check you do, but check at the correct place. Do not look into the debian/rules file, but in the build log. If the Makefile sets a default with a single equal sign ("="), running 'CFLAGS="-Wall -g -O2" make' will not suffice. Try 'make CFLAGS="-Wall -g -O2"' instead. (Actually, there is no good reason to put them before the command. Always try to put things as arguments first, both with make or with ./configure)

It really makes everyone's live easier if those options are set.

Keep the argument list tidy.

Many argument lists are longer than necessary. If there is some -I/ in the argument list on a Debian system, there is something fishy. (It's not the universial collection of different stuff all going whereever it wants, after all). Common cases are:

- buggy scripts to add -I/usr/include

Better fix those scripts. Also make sure they do not cause other problems, like linking your program against libraries your program does not use directly. (Possibly causing funny segfaults when those libs link against other versions of those libraries)

- -I/usr/X11R6/include

For upstream packages this might perhaps be useful to support older operating systems and people unable to give it to CFLAGS themselves. But for FHS systems, this is not needed at all, as it mandates this handy /usr/include/X11 -> /usr/X11R6/include/X11 symlink. And newer X directly puts the headers in the correct place.

- packages working around upstreams breaking compatibility

Life would be too easy if upstream would not break APIs. But if they make a new incompatible version, and even change the library name for that, would it have been that difficult to also change what programs written/ported for that new incompatible API have to place in their #include line?

- plainly broken upstreams

putting stuff in $ PREFIX /include/subdir/ and #include'ing other files from that subdirectory without the subdir deserves application of some large LART.

- oversight

often it is just not necessary, and everything gets much more readable and easier if left away.

Other things makeing things unreadable are large armounts of -Ds generated by ./configure. AM_CONFIG_HEADER can help here a lot with non-path stuff. Stuff containing paths is suprisingly often not used at all.

23 March 2006

Matthew Palmer: The Little Engine That Might Be Able To Later

By now, you would think that I would have learned that Breakfast + Freshmeat = mess. Today, we have an unimaginatively named program called "font manager". Some day, in the future, we may have a font manager -- but we don't yet. Here's the description, direct from the horse's mouth:
font manager is a font manager for GNOME. It cannot do any font management tasks yet, but is already useful for picking fonts.
It's quite adamant that font manager is a font manager. Yet it can't manage fonts. Interesting. I suppose this is an example of the curious issue of true identity -- are you who you are because of what you are called, or because of what you are? The author(s) of "font manager" obviously believe that your true identity stems from your name, regardless of what you may actually do. I disagree somewhat -- in a lot of ways, I identify more closely with the term "computer geek" than with my name -- I think it's essentially social conditioning and a need to be uniquely identified from all the other computer geeks out there that makes me remember to respond to a call of "oi, Matt!". An interesting book on this subject is Jennifer Government, by Max Barry (ISBN 0349117624), in which people's surnames are determined by who they work for (so take a guess as to who Jennifer works for). There's something very wrong with me when a quick scoff at a freshmeat article turns into pseudophilosophy and a book review...

Martin F. Krafft: Data juggling

Letting yesterday pass by in memories, I wonder how I was able to function even a bit for the last two years or so -- information-wise. While I was still at the Uni Zurich, I found myself almost constantly swamped with so much work that I (a) never got around to do any real research, and (b) turned my digital data into a complete mess. Forget about (a), it's (b) that concerns me right now. The pattern was usually:
  1. My main machine was becoming unstable and dying frequently, either on disk I/O or CPU-intensive tasks.
  2. With much time pressure, I was forced to move my data to a new machine. Two or three times that was accomplished e.g. by copying oldmachine:~/ to newmachine:~/lost+found/oldmachine (I am, unfortunately, not kidding. For the past half a year, I was working out of lapse:~/wing/lost+found/cirrus/lost+found/diamond. wing, cirrus, and diamond are all deceased machines, lapse is my laptop).
  3. Repeat (1) and (2) about three times and add to the mix that I also had a machine at home and a laptop, no synchronisation strategy really, no real backups, and no version control system.
To be fair: my important data was certainly backed up, and most of my work was on F/OSS or projects in our lab's version control system anyway. I am mainly talking about scripts, ideas, correspondence, photos, ... The chaos that built up had me busy all of yesterday. I brought all of my machines together, as well as the harddrives that were still lying around, hooked it all up, and started the endeavour. I set up a RAID 5 on one machine, mad of four 250Gb disks, and with 750Gb of space, I was ready to go. Using any combination(s) of dd nc, tar, cpio, scp, rsync, and unison, it took me several hours to bring all the data onto one machine. Usually, I would try to purge unwanted crap from ~, such as .thumbnails, or .ccache (!), once again wishing for widely-used ~/.var and ~/.etc, So today I have to consolidate about 680Gb of data. Most of it can be purged (I found a linux-2.2.7 directory somewhere in there), but often, I will have to look at two or three versions of a file and decide which one to keep. Fortunately, I am fairly certain it's usually the newest one. My intention is to move mostly everything to under the control of bzr, and then to use unison to synchronise ~ between all machines. However, there are still some unresolved points:
  • unison is for pairs, to keep three or more machines in sync, it's beneficial to have a central machine. I don't really want a central machine.

  • csync2 looks like unison for three or more, but it's a service, with listening daemon and all, and I thus cannot use it to synchronise with my home directories on machines where I don't have root or cannot install csync2.

  • I don't want everything synchronised. When it comes to documents and data, I cannot imagine any exceptions, but dot-directories in the home directory are a problem. E.g.:

    • ~/.gnupg: I don't want my GPG key to be synchronised to remote machines. However, I would not mind to synchronise the configuration or the public keyring.
    • ~/.ssh: Stuff like config and known_hosts can/should be synchronised. However, authorized_keys must not be.
    • ~/.mozilla/firefox: Would be nice, but almost impossible because of Firefox's braindead approach. For instance, you cannot write a new bookmarks.html file while Firefox is running -- it will dump its in-memory copy when quitting.
    • Most of my accounts don't need to store dot-directories for X programmes.
    • My shell or windowmanager configuration may have to be different between machines to support e.g. different defaults, Xinerama, relevant shell variables, etc.
    etc. etc. The ideal approach to the challenge of ~/.etc (I symlink into there for programmes not supporting non-default config file locations) would be a version control system. Since I don't want to depend on a single machine, bzr, git, or the other decentralised systems seem appropriate: keep a base for e.g. ~/.ssh and branch for each machine. However, then I could not use unison for ~/.etc, and just synchronising all .bzr/ subdirectories unfortunately does not work (as empirically determined). And I have not found an acceptable approach to keep the branches in sync; I surely don't want to have to push changes to every other machine before quitting the day, nor do I want to pull in changes every morning from all over the place. I may have to look at git, which IIRC stores every change/commit in a separate file, so then synchronisation of .git/ should do what I want. If you have any input on this matter, I'd be delighted to hear it.
I am still looking for the right tool to do the task of consolidation. mc works okay, but it's just a little too much typing without tab completion. konqueror is just fat, and nautilus currently won't install on amd64. Again, if you have a suggestion, I'd love to hear it. Data juggling is fun, or not. For sure, there's quite some adrenaline flowing around as you issue bulk commands, knowing that it's basically you and a scalpell, and all your digital life on the table. NP: Porcupine Tree, "The Sky Moves Sideways"

22 March 2006

Mike Hommey: The Windows way

Imagine an application that writes in its application directory, and if it fails to write there, write in a user profile directory. Imagine a wide-spread operating system where the default settings allow any user to write almost anywhere on the file system. Enjoy the result (Comment #7 gives a good overview of the problem).

Clint Adams: amd64 is not being handled transparently enough

I used to be into quotations. There was a guy. He was very Jewish. He had bad skin. He was morally bankrupt. He was ugly. He smelled bad. As you might imagine, there was an entire gaggle of girls trying to get into his pants. They were a bunch of Christian fundamentalists, affectionately called the God Squad by some, malevolently called the God Squad by some. They wrote him the scariest love letters and poetry I have ever seen. Finally, he had to choose one, and I was relieved that he did not choose the one who had adapted Culture Club lyrics to express whatever foul sentiment she was trying to express. Instead, he chose a sweet girl who lived with a crazy, flat-chested, exhibitionist midget hooker who claimed to be allergic to marijuana and aspired to be an architect. Now the evil boy and the sweet girl with a tenuous grip on reality performed the proper rites of the barnyard dance and became officially socially-ensnared. She drafted a timetable by which they would traverse numerous stages of physical intimacy. She showed him this timetable. He deluded himself into thinking that this timetable was much more volatile than it was. Much later on, he dumped her for a girl that was much less Christian. In the meantime, though, their dry-humping was interminable. He very quickly earned himself the nickname "Sticky Shorts", which, come to think of it, was far better than most of his other nicknames. Then once, for a moment when her legs weren't spread, she mentioned to me that she had heard that I was into quotations. I acknowledged this and she became very excited. She was into quotations too. She felt the need to prove this to me. It was rather close to that time when I concluded that quoting was lame and that I would stop living vicariously through the words of others and idolizing ink and all that other stuff from that GNR song.

19 March 2006

Daniel Burrows: Memcheck good; Fry's not so good

So, after finding a CD that had memcheck on it, I ran a memory test on the new system I had assembled but couldn't get working. Unsurprisingly, it produced a bunch of errors, especially in test 8. I tested the memory modules one at a time, and confirmed that one of them reliably failed test 8 with, while the other survived multiple passes of memcheck's whole arsenal of tests without skipping a beat.

OK, no biggie; I got a bad RAM chip, I'll return it. So we take it back to Fry's, I explain that I ran a memory checker on one of the chips and it came up bad (I even helpfully gave them a note indicating which of the two seemed to be the problem), and asked to exchange it for a new chip. The customer service guy vanishes, then comes back a while later with a different chip in a box. As we're preparing to leave, Kate notices that the "new" box is opened. "Why's that?" she asks. "Oh, testing," the customer service guy says.

Testing. That's good, right? So we shop a little, take the chips back, and I plug them in. I figure, hey, never hurts to be too careful, and boot up memcheck. BAM! Within half a second the screen turns red with errors. In comparison, with the first set of chips I had to run the tester for up to fifteen minutes before I got a test failure. Trying the chips individually, I discover that 300MB on one is just (as far as I could tell) gone. It fails every single test. The other one survives the first few checks, but fails test 8 just like the other bad chip I had. [UPDATE: it's actually not that bad; it does seem to have problems, but it doesn't fail on every single run of test 8, and it was able to run the Kororaa live CD]

Now, as I see it, we have the following possibilities:

(a) My luck sucks and I just got three bad chips in a row.

Possible, but I've bought at least a half dozen memory chips in the past (not counting ones that came in preassembled systems) and I'm pretty sure this is the first, maybe second time I've seen a bad one. Three in a row? That's ridiculous.

(b) I screwed up and blew out the chips while installing them.

Unlikely for the same reason as (a). I may be shaky on some hardware stuff, but I know how to install DIMM chips. Killing one might be in the realm of possibility; killing three out of four? Don't think so.

(c) The chips aren't compatible with my motherboard.

The chips are listed as being DDR400, which ought to be perfectly compatible with the motherboard. They are installed in the proper configuration (according to the motherboard's manual); besides, one memory chip worked just fine.


Assume that (b) and (c) are indeed false: the chips are really bad and I didn't destroy them. This, combined with the fact that Fry's "testing" didn't catch the blatantly obvious problems with one of the new chips, make me wonder if

(d) Fry's decided to save costs by handing me a pair (maybe even two pairs) of chips that another customer had returned, on the theory that returns are on average spurious.

The main problem with this theory is that I don't see why they wouldn't have resealed the package; maybe they just suck at testing memory or didn't bother to. On the other hand, I have seen a number of complaints online about Fry's and other big retailers engaging in this practice. (e.g., Google for "Fry's restock")

Either way, whether it's deceptive practices or just plain incompetence, I'm afraid this hasn't left a particularly good taste in my mouth about Fry's, and I'll probably just try to get a refund and buy the memory elsewhere. The only downside is that "elsewhere" more or less means "online", which means no instant gratification. However, since "instant gratification" in this case has been more like "instant non-gratification", I'm willing to live with that.

Clint Adams: This report is flawed, but it sure is fun

91D63469DFdnusinow1243
63DEB0EC31eloy
55A965818Fvela1243
4658510B5Amyon2143
399B7C328Dluk31-2
391880283Canibal2134
370FE53DD9opal4213
322B0920C0lool1342
29788A3F4Cjoeyh
270F932C9Cdoko
258768B1D2sjoerd
23F1BCDB73aurel3213-2
19E02FEF11jordens1243
18AB963370schizo1243
186E74A7D1jdassen(Ks)1243
1868FD549Ftbm3142
186783ED5Efpeters1--2
1791B0D3B7edd-213
16E07F1CF9rousseau321-
16248AEB73rene1243
158E635A5Erafl
14C0143D2Dbubulle4123
13D87C6781krooger(P)4213
13A436AD25jfs(P)
133D08B612msp
131E880A84fjp4213
130F7A8D01nobse
12F1968D1Bdecklin1234
12E7075A54mhatta
12D75F8533joss1342
12BF24424Csrivasta1342
12B8C1FA69sto
127F961564kobold
122A30D729pere4213
1216D970C6eric12--
115E0577F2mpitt
11307D56EDnoel3241
112BE16D01moray1342
10BC7D020Aformorer-1--
10A7D91602apollock4213
10A51A4FDDgcs
10917A225Ejordi
104B729625pvaneynd3123
10497A176Dloic
962F1A57Fpa3aba
954FD2A58glandium1342
94A5D72FErafael
913FEFC40fenio-1--
90AFC7476rra1243
890267086duck31-2
886A118E6ch321-
8801EA932joey1243
87F4E0E11waldi-123
8514B3E7Cflorian21--
841954920fs12--
82A385C57mckinstry21-3
825BFB848rleigh1243
7BC70A6FFpape1---
7B70E403Bari1243
78E2D213Ajochen(Ks)
785FEC17Fkilian
784FB46D6lwall1342
7800969EFsmimram-1--
779CC6586haas
75BFA90ECkohda
752B7487Esesse2341
729499F61sho1342
71E161AFBbarbier12--
6FC05DA69wildfire(P)
6EEB6B4C2avdyk-12-
6EDF008C5blade1243
6E25F2102mejo1342
6D1C41882adeodato(Ks)3142
6D0B433DFross12-3
6B0EBC777piman1233
69D309C3Brobert4213
6882A6C4Bkov
66BBA3C84zugschlus4213
65662C734mvo
6554FB4C6petere-1-2
637155778stratus
62D9ACC8Elars1243
62809E61Ajosem
62252FA1Afrank2143
61CF2D62Amicah
610FA4CD1cjwatson2143
5EE6DC66Ajaldhar2143
5EA59038Esgran4123
5E1EE3FB1md4312
5E0B8B2DEjaybonci
5C9A5B54Esesse(Ps,Gs) 2341
5C4CF8EC3twerner
5C2FEE5CDacid213-
5C09FD35Atille
5C03C56DFrfrancoise---1
5B7CDA2DCxam213-
5A20EBC50cavok4214
5808D0FD0don1342
5797EBFABenrico1243
55230514Asjackman
549A5F855otavio-123
53DC29B41pdm
529982E5Avorlon1243
52763483Bmkoch213-
521DB31C5smr2143
51BF8DE0Fstigge312-
512CADFA5csmall3214
50A0AC927lamont
4F2CF01A8bdale
4F095E5E4mnencia
4E9F2C747frankie
4E9ABFCD2devin2143
4E81E55C1dancer2143
4E38E7ACFhmh(Gs)1243
4E298966Djrv(P)
4DF5CE2B4huggie12-3
4DD982A75speedblue
4C671257Ddamog-1-2
4C4A3823Ekmr4213
4C0B10A5Bdexter
4C02440B8js1342
4BE9F70EAtb1342
4B7D2F063varenet-213
4A3F9E30Eschultmc1243
4A3D7B9BClawrencc2143
4A1EE761Cmadcoder21--
49DE1EEB1he3142
49D928C9Bguillem1---
49B726B71racke
490788E11jsogo2143
4864826C3gotom4321
47244970Bkroeckx2143
45B48FFAEmarga2143
454E672DEisaac1243
44B3A135Cerich1243
44597A593agmartin4213
43FCC2A90amaya1243
43F3E6426agx-1-2
43EF23CD6sanvila1342
432C9C8BDwerner(K)
4204DDF1Baquette
400D8CD16tolimar12--
3FEC23FB2bap34-1
3F972BE03tmancill4213
3F801A743nduboc1---
3EBEDB32Bchrsmrtn4123
3EA291785taggart2314
3E4D47EC1tv(P)
3E19F188Etroyh1244
3DF6807BEsrk4213
3D2A913A1psg(P)
3D097A261chrisb
3C6CEA0C9adconrad1243
3C20DF273ondrej
3B5444815ballombe1342
3B1DF9A57cate2143
3AFA44BDDweasel(Ps,Gs) 1342
3AA6541EEbrlink1442
3A824B93Fasac3144
3A71C1E00turbo
3A2D7D292seb128
39ED101BFmbanck3132
3969457F0joostvb2143
389BF7E2Bkobras1--2
386946D69mooch12-3
374886B63nathans
36F222F1Fedelhard
36D67F790foka
360B6B958geiger
3607559E6mako
35C33C1B8dirson
35921B5D8ajmitch
34C1A5BE5sjq
3431B38BApxt312-
33E7B4B73lmamane2143
327572C47ucko1342
320021490schepler1342
31DEB8EAEgoedson
31BF2305Akrala(Gs)3142
319A42D19dannf21-4
3174FEE35wookey3124
3124B26F3mfurr21-3
30A327652tschmidt312-
3090DD8D5ingo3123
30813569Fjeroen1141
30644FAB7bas1332
30123F2F2gareuselesinge1243
300530C24bam1234
2FD6645ABrmurray-1-2
2F95C2F6Dchrism(P)
2F9138496graham(Gs)3142
2F5D65169jblache1332
2F28CD102absurd
2F2597E04samu
2F0B27113patrick
2EFA6B9D5hamish(P)3142
2EE0A35C7risko4213
2E91CD250daigo
2D688E0A7qjb-21-
2D4BE1450prudhomm
2D2A6B810joussen
2CFD42F26dilinger
2CEE44978dburrows1243
2CD4C0D9Dskx4213
2BFB880A3zeevon
2BD8B050Droland3214
2B74952A9alee
2B4D6DE13paul
2B345BDD3neilm1243
2B28C5995bod4213
2B0FA4F49schoepf
2B0DDAF42awoodland
2A8061F32osamu4213
2A21AD4F9tviehmann1342
299E81DA0kaplan
2964199E2fabbe3142
28DBFEC2Fpelle
28B8D7663ametzler1342
28B143975martignlo
288C7C1F793sam2134
283E5110Fovek
2817A996Atfheen
2807CAC25abi4123
2798DD95Cpiefel
278D621B4uwe-1--
26FF0ABF2rcw2143
26E8169D2hertzog3124
26C0084FCchrisvdb
26B79D401filippo-1--
267756F5Dfrn2341
25E2EB5B4nveber123-
25C6153ADbroonie1243
25B713DF0djpig1243
250ECFB98ccontavalli(Gs)
250064181paulvt
24F71955Adajobe21-3
24E2ECA5Ajmm4213
2496A1827srittau
23E8DCCC0maxx1342
23D97C149mstone(P)2143
22DB65596dz321-
229F19BD1meskes
21F41B907marillat1---
21EB2DE66boll
21557BC10kraai1342
2144843F5lolando1243
210656584voc
20D7CA701steinm
205410E97horms
1FC992520tpo-14-
1FB0DFE9Bgildor
1FAEEB4A9neil1342
1F7E8BC63cedric21--
1F2C423BCzack1332
1F0199162kreckel4214
1ECA94FA8ishikawa2143
1EAAC62DFcyb---1
1EA2D2C41malattia-312
1E77AC835bcwhite(P)
1E66C9BB0tach
1E145F334mquinson2143
1E0BA04C1treinen321-
1DFE80FB2tali
1DE054F69azekulic(P)
1DC814B09jfs
1CB467E27kalfa
1C9132DDByoush-21-
1C87FFC2Fstevenk-1--
1C2CE8099knok321-
1BED37FD2henning(Ks)1342
1BA0A7EB5treacy(P)
1B7D86E0Fcmb4213
1B62849B3smarenka2143
1B3C281F4alain2143
1B25A5CF1omote
1ABA0E8B2sasa
1AB474598baruch2143
1AB2A91F5troup1--2
1A827CEDEafayolle(Gs)
1A6C805B9zorglub2134
1A674A359maehara
1A57D8BF7drew2143
1A269D927sharky
1A1696D2Blfousse1232
19BF42B07zinoviev--12
19057B5D3vanicat2143
18E950E00mechanix
18BB527AFgwolf1132
18A1D9A1Fjgoerzen
18807529Bultrotter2134
1872EB4E5rcardenes
185EE3E0Eangdraug12-3
1835EB2FFbossekr
180C83E8Eigloo1243
17B8357E5andreas212-
17B80220Dsjr(Gs)1342
17796A60Bsfllaw1342
175CB1AD2toni1---
1746C51F4klindsay
172D03CB1kmuto4231
171473F66ttroxell13-4
16E76D81Dseanius1243
16C63746Dhector
16C5F196Bmalex4213
16A9F3C38rkrishnan
168021CE4ron---1
166F24521pyro-123
1631B4819anfra
162EEAD8Bfalk1342
161326D40jamessan13-4
1609CD2C0berin--1-
15D8CDA7Bguus1243
15D8C12EArganesan
15D64F870zobel
159EF5DBCbs
157F045DCcamm
1564EE4B6hazelsct
15623FC45moronito4213
1551BE447torsten
154AD21B5warmenhoven
153BBA490sjg
1532005DAseamus
150973B91pjb2143
14F83C751kmccarty12-3
14DB97694khkim
14CD6E3D2wjl4213
14A8854E6weinholt1243
14950EAA6ajkessel
14298C761robertc(Ks)
142955682kamop
13FD29468bengen-213
13FD25C84roktas3142
13B047084madhack
139CCF0C7tagoh3142
139A8CCE2eugen31-2
138015E7Ethb1234
136B861C1bab2143
133FC40A4mennucc13214
12C0FCD1Awdg4312
12B05B73Arjs
1258D8781grisu31-2
1206C5AFDchewie-1-1
1200D1596joy2143
11C74E0B7alfs
119D03486francois4123
118EA3457rvr
1176015EDevo
116BD77C6alfie
112AA1DB8jh
1128287E8daf
109FC015Cgodisch
106468DEBfog--12
105792F34rla-21-
1028AF63Cforcer3142
1004DA6B4bg66
0.zufus-1--
0.zoso-123
0.ykomatsu-123
0.xtifr1243
0.xavier-312
0.wouter2143
0.will-132
0.warp1342
0.voss1342
0.vlm2314
0.vleeuwen4312
0.vince2134
0.ukai4123
0.tytso-12-
0.tjrc14213
0.tats-1-2
0.tao1--2
0.stone2134
0.stevegr1243
0.smig-1-2
0.siggi1-44
0.shaul4213
0.sharpone1243
0.sfrost1342
0.seb-21-
0.salve4213
0.ruoso1243
0.rover--12
0.rmayr-213
0.riku4123
0.rdonald12-3
0.radu-1--
0.pzn112-
0.pronovic1243
0.profeta321-
0.portnoy12-3
0.porridge1342
0.pmhahn4123
0.pmachard1--2
0.pkern3124
0.pik1--2
0.phil4213
0.pfrauenf4213
0.pfaffben2143
0.p21243
0.ossk1243
0.oohara1234
0.ohura-213
0.nwp1342
0.noshiro4312
0.noodles2134
0.nomeata2143
0.noahm3124
0.nils3132
0.nico-213
0.ms3124
0.mpalmer2143
0.moth3241
0.mlang2134
0.mjr1342
0.mjg591342
0.merker2--1
0.mbuck2143
0.mbrubeck1243
0.madduck4123
0.mace-1-2
0.luther1243
0.luigi4213
0.lss-112
0.lightsey1--2
0.ley-1-2
0.ldrolez--1-
0.lange4124
0.kirk1342
0.killer1243
0.kelbert-214
0.juanma2134
0.jtarrio1342
0.jonas4312
0.joerg1342
0.jmintha-21-
0.jimmy1243
0.jerome21--
0.jaqque1342
0.jaq4123
0.jamuraa4123
0.iwj1243
0.ivan2341
0.hsteoh3142
0.hilliard4123
0.helen1243
0.hecker3142
0.hartmans1342
0.guterm312-
0.gniibe4213
0.glaweh4213
0.gemorin4213
0.gaudenz3142
0.fw2134
0.fmw12-3
0.evan1--2
0.ender4213
0.elonen4123
0.eevans13-4
0.ean-1--
0.dwhedon4213
0.duncf2133
0.ds1342
0.dparsons1342
0.dlehn1243
0.dfrey-123
0.deek1--2
0.davidw4132
0.davidc1342
0.dave4113
0.daenzer1243
0.cupis1---
0.cts-213
0.cph4312
0.cmc2143
0.clebars2143
0.chaton-21-
0.cgb-12-
0.calvin-1-2
0.branden1342
0.brad4213
0.bnelson1342
0.blarson1342
0.benj3132
0.bayle-213
0.baran1342
0.az2134
0.awm3124
0.atterer4132
0.andressh1---
0.amu1--2
0.akumria-312
0.ajt1144
0.ajk1342
0.agi2143
0.adric2143
0.adejong1243
0.adamm12--
0.aba1143

Erich Schubert: DPL elections

This year was the first time I think I watched the debate live, and didn't just read the logs. We had some fun in the discussion channel, and one question of mine was actually posted to the candidates. Unfortunately, I didn't manage to get my point across (the "size barrier" question, it wasn't about Debian not growing any more, but about wether we could need some structural changes - e.g. bugmasters, first-level supporters with some privileges, but not the full DD requirements - to use our resources (that is mostly the time of our developers, i.e. us) more effectively. E.g. by preventing flamewars somehow. I hadn't really made up my mind yet. But some trends are there:

18 March 2006

Christine Spang: Standing in Shock

Today, at 12 noon EST, I was sitting at my computer staring at http://decisions.mit.edu/, adrenaline rushing, pondering whether to click the magic button. At 12:01, I closed my eyes and gave in.
Dear Christine, On behalf of the Admissions Committee, it is my pleasure to offer you admission to the MIT Class of 2010. You were identified as one of the most talented and promising students in one of MIT’s most competitive applicant pools ever. Your commitment to personal excellence makes you stand out as someone who will thrive within our academic environment as well as contribute to our diverse community. At MIT, you join kindred spirits: scholars, builders, entrepreneurs, and humanitarians. We believe that you and MIT are very well matched for each other.
Tell me if that’s not the biggest adrenaline rush you can get from clicking a button. MIT, you will never be forgiven for that experience. Never. I spent the next half hour running around trying to find people to talk to. I could not type. I could not talk properly. I called people on the phone, I IM’d people, I tracked my Dad down and handed him a printout of the letter. I hugged him. He tracked my mother down at the door when she got home an hour later. Now that I’ve gotten over the initial rush, I’m actually sitting here laughing. Why? Because I was completely myself in my application. I think that’s all you can really do for these things. I talked about Shadows of Isildur in part of my admissions essay. I put Debian GNU/Linux work, roleplaying, and all my music stuff under my activities. I talked about my amazing real life friends when they asked what you do to unwind. I talked about the family building a giant kite from house wrap at my grandparents farm in the optional “tell us about something you have created” section. I can recall having a lot of fun writing up my responses. As for the rest, I have excellent grades, though only decent, far from perfect SATs (no 800s for me). My SAT IIs were better than my SAT I. My day has been made a thousand times over. There are so many people I need to track down and talk to, to say “thank you!” to. My alumnus interviewer. The two teachers who wrote my recommendations, and my guidance counselor. Various other people, some of whom I’ve already spoken to. I say again: thank you. Ironically, I was supposed to be in New York City this weekend, but the friend I was going with is very sick and the trip had to be cancelled. The very friend who has always told me “of course you’ll get in!” I love my friends. From all that I’ve seen so far, including posts like this and this which have some nice thoughts on the admissions process, I’m fairly sure that MIT is my #1 school choice. Apparently this year only 13% of all applicants were accepted, wow. I’m excited about hopefully attending their Campus Preview Weekend from April 6-9th to see what things are really like. Excitement.

Daniel Burrows: Windows stupidities

As I've had to use Windows on a daily basis, I've found that I am no longer able to maintain my air of detached tolerance for the foibles of the system. In fact, I'm starting to get really infuriated with the utter boneheadedness of so many facets of it. Not so much things that are broken, as things that are done badly, and done so in the face of widespread examples of how to do it right.

Here are two simple examples that are emblematic of what Windows users have to suffer through.

(a) Mandatory file locks.

On Windows, every access to a file, by default, acquires a mandatory lock on it. Want to recompile the program you're working on? Sorry, you have to track down and kill all its running instances. Want to read that file on the network server? Sorry, you'll have to run around the office and ask all the people using it to close it.

Last week I got an email asking me to unlock a directory on our local fileserver so it could be renamed. It turned out that I was running an acroread process to view a PDF file...and that locked the directory from being renamed. Because, of course, the universe would implode if someone were to rename a file I had already loaded into memory. This is, however, better than how shared libraries are treated; trying to register a new version of a shared library with the system (the Windows version of ldconfig) will silently fail if programs have the old version mapped into memory. WTF? No, really, WTF?

Windows users get around this by having tools to find out which processes have a file open so they can terminate them with extreme prejudice. This is considered normal and acceptable behavior for a computer in the Windows universe. After all, in the real world two people can't use the same document at once, so why should they be able to do so on a computer?

(b) C# events.

They've been invented many times. Signals, events, hooks, whatever you want to call them, they're collections of function objects that are invoked when some particular condition occurs. It's a great way to make it easy to connect together objects that don't know about each other, they're simple enough that your average CS sophomore could implement them in a half hour, and the concept is so obvious (besides having dozens of examples of working and deployed implementations) that there's no way to screw it up, right?

Wrong.

Now, C# is generally a somewhat clunky language, but this is nothing to do with that (I am not, for instance, surprised that it's cumbersome to bind extra parameters to an event in a language that has little support for higher-order programming anyway). No, this is one of those utter idiocies that just make you scratch your head and go what the *@&# were they on when they did that? You see, when you call an event with no attached listeners, C# throws an exception. Just, you know, as a friendly way of letting you know that you didn't connect to that event.

But wait! It gets better! In order to test whether the event has any connected delegates (the Microsoft term for a function object), you ... compare it to the null pointer. Yes, that's right. Every time you call an event, you have to do this:

if(Event != null)
    Event();


...because, of course, an empty collection of events is clearly the same thing as a nonexistant object.

I really wish I could be a fly on the wall at the meeting where this was decided. My imagination supplies a scene along these lines:


Scene: A smoke-free office somewhere deep in the sterile labyrinth of the Microsoft campus

Programmer 1: "...and we call this bold new innovation 'events'! It's a way for you to perform method calls without knowing which method you're calling. We've found that it's amazingly useful when doing UI programming. I'm sure that introducing this new idea to the world will be yet another chapter in the Microsoft story of advancing technology!"

Programmer 2: "Have you checked the corner cases? What happens if there is no method available to call?"

Programmer 1: "Oh, of course! In that case, the list of methods is null, so we throw a NullPointerException. We thought about adding an IsEmpty property, but who would want to look up properties on the null pointer? Besides, hardly anyone will ever want to create an event that might not get connected to."

Programmer 2: "Uhhh, sure, that makes sense to me."


...!!!?!?!?!

17 March 2006

Clint Adams: Because a sonnet would be rude

There were cufflinks again, but the cycle is broken
It's been quite a few days since the last time we'd spoken
For if I must shoulder the onus inventive
To entice and allure and provide an incentive
Mayhaps I'd rather be writing in ballad meter
As EMF wavicles fly through the air
Bouncing off objects with nary a care
Getting fractured in the echo and sway
But it's so hard to dance that way
(when it's cold and there's no music)
Turn the midnight radio up for that sweet sound
For they might play Bowie, I to thee propound
It's not really work
It's just the power to charm
I'm still standing in the wind
But I never wave bye-bye
But I try
I try
And straight from the 80's rings out the refrain
With magic and sadness and heartbreak and pain
And we danced.

Martin F. Krafft: Followup on udev problems

My udev problems disappeared, which may well be related to the 0.087-2 upgrade that happened yesterday on the machine. Oh well. I am posting this followup because I have been contacted by someone on the Ubuntu team -- someone I like and respect -- who shone some light on the issue. Apparently, Debian's udev only pulled about a third from Ubuntu's interface renaming changes and ignored the rest. I have not tried Ubuntu's version, but that person claims it works perfectly. Assuming that it does, it's not hard to imagine how one third of the code wouldn't work as expected. So while Ubuntu still needs to work on contributing back as a whole (IMHO, and there are many expections), Debian should take a little more care when cherry-picking changes.

Steve Kemp: Burn baby burn

It seems that ‘Linux Gazette’ has disappeared for good now? Both the .net/.com sites now point elsewhere. I’ve come up with a solution to the comment spam problem I referred to previously; I’ll allow comments on new posts for the first couple of weeks then disable them automagically. That seems like less effort than installing more plugins, filters, and complicated things that people suggested. (Thanks for all those who suggested things incidently. I think I replied to everybody individually already). No other news I can share right now. PS: Walking to the sandwich shop for lunch today I got to jump in puddles! This makes me happy.

Jonathan McDowell: Neighbour table overflow

This is mainly for Google, as I found a lot of things talking about the error with not a lot of solutions when I looked for it. I had a machine that was outputing the Neighbour table overflow message with reasonable frequency, and while it didn't actually seem to be causing problems it was disconcerting. Digging around seemed to suggest it was an ARP issue, with some pages mentioning Blaster - presumably because the scanning that this sort of worm can do is likely to fill up the ARP table? Anyway, this machine has over a /22 of IPv4 space hanging off its various interfaces, so it seemed logical that I might need a larger cache than the default. I found this SuSE post which solves the problem perfectly. So I've added the appropriate magic to /etc/sysctl.conf:
net/ipv4/neigh/default/gc_thresh1=1024
net/ipv4/neigh/default/gc_thresh2=2048
net/ipv4/neigh/default/gc_thresh3=4096
(Oh, and the message comes from net/ipv4/route.c in the kernel source tree.)

Daniel Burrows: I Hate Hardware Redux

After my last experience, you'd think I'd have learned. But nope, when my girlfriend needed a new desktop system, I enthusiastically offered to build one for her. Hey, this time it's desktop hardware, and I know desktop hardware, right? I built my last machine myself, and I've replaced a couple motherboards and done various other work on computers since then.

Well, it seems there were a few changes since my last computer. First of all, there's the whole business of heatsinks. I don't remember spending any time on the heatsink last time around. I suppose this is because it was pre-attached to the chip or because the assembly process was "place the heatsink on top of the CPU", but I don't remember which. For the Athlon 64s, the heatsinks are so ginormous that you couldn't place the CPU into its slot if it was attached to the heatsink. So there's no option but for them to ship the two separately and have the user assemble them.

Problems? Well, consider the documentation. The store sold us a supposedly complete CPU box packaged by AMD which, when I opened it, contained a stern warning not to attach the heatsink without first applying a thermal material. Contradicting this, though, was the fact that there was something that looked suspiciously like thermal material already on the heatsink, and after quite a bit of research I decided that the warning was for people who want to overclock their systems or replace the stock thermal compound. Nowhere in the documentation does it say whether the heatsink comes pre-treated with thermal compound, though, and since I have no desire to let the magic smoke out, I wasted a lot of time checking up on this.

A second problem with the documentation is that it suffers from severe Lowest Common Denominator syndrome: the installation instructions are entirely word-free. For simple purposes this might suffice, but it took me a lot of squinting and several incorrect tries to figure out WTF the diagrams were telling me to do; in fact, I didn't really figure out what to do until I found an annotated version online with actual words. AMD, there's a reason we quit using cave paintings and invented written language. Please use the stuff, it'll make the rest of us much happier.

On to the practical problems: it's apparently necessary to attach the heatsink so tightly that you need a latching mechanism the size of Wyoming to hold it onto the motherboard, and actually activating it seems to take several metric tons of force. OK, I exaggerate, but just this step (attaching the heatsink assembly to the CPU) took me at least an hour of prying at the latch mechanism to lock it down. In fact, I didn't finish until I finally gave up using my fingers and used a screwdriver to apply a good portion of my weight. Predictably, of course, the screwdriver slipped as I secured the latch, bouncing off the motherboard. More on that in a moment.

The motherboard (an Abit K8N) had better documentation than the CPU, but not by much (this is apparently a pattern with computer components that most consumers never mess with). I had to make educated guesses about the orientation of several connectors, especially some of the case connectors, and it took me at least a dozen reads to understand what I was doing wrong with the power cable.

Once I got all my initial stupidity worked out, I flipped the switch and watched some of the fans turn on and the hard drive spin up...and that was it. Nothing. Nada. No beeps. No POST. Not even a blank video signal (although the video card's fan runs just fine).

So, my best guess is that I killed the motherboard dead with my screwdriver, which means I get to go buy a replacement and install it. And, of course, disassemble all the stuff I carefully assembled already. Including the CPU assembly. And the thermal material on that probably won't be good any more, so I'll have to replace it with what's left over from when I rebuilt my laptop. And there's always the possibility that it's actually the CPU that's dead (although I can't imagine why)...in which case I could waste a lot of time and effort replacing the motherboard needlessly. Blah.

I begin to think that it might be worthwhile to pay the store to install the critical components for me, or even just buy from a real PC vendor. At least then I'd avoid wasting my time and (presumably) get my money back if they screwed up.

Clint Adams: This cider came from Litany, where the WD-40 is sweet like milk

In the sack: A cluster of conifers huddled together in the midst of a scary deciduous forest. Wet: Rosemary with oil of baby. Dry down: OOS6 The touch: Oleotastic The feel: The push and pull. The tease and coax. The rapture. Russell. Chmmr. Shofixti. The shimmering of alibis. The magic of our lives: Lumps from without Final verdict: Deism is overrated.

16 March 2006

Erich Schubert: Icons with flexible palettes

I really like the Tango Desktop project. I have in fact installed a "preliminary" release from art.gnome.org, which is easy when using the Gnome Art package. One thing that makes Tango stick out, is its styleguide. I also really appreciate it's color palette. However, this palette is rather tied to a particular look - e.g. a white background. I was wondering whether one can (with reasonable effort) design icons with a flexible palette. And then have a tool to "instanciate" the icons for a particular, probably different palette. So people in a dark mood could easily generate a "dark tango" version out of them. You can't really do that by just doing a palette replacement. However, if colors were specified as "50% orange, 50% background" it would work out. Or even "50% primary highlight color, 50% background", then people could pick their favourite highlight color. If an icon is meant to depict e.g. earth, you probably will want to use "green" and "blue", and not highlight colors however; these should not be mapped then, either. Such icons might need a "halo" to look good with certain color schemes however. I am not an icon designer, this is just my $.02, and I really appreciate the tango project. But maybe we could think of an icon designer application which makes such things easier to do. I havn't designed icons since my Atari ST time, but I can imagine there is a lot of special tools you might want for icon designing, such as "resolution grid snapping" points and lines, line widths which snap to pixels and such. Think of "hinting" in fonts, but applied to icons. (Or maybe not - if you want to scale icons very small, you likely need to simplify them anyway - i.e. make a separate icon for small sizes) Oh, and of course this might be utopic and overkill. My top (tango) icon wishlist: LyX (because the icon is ugly) and Enigma (because I maintain the Debian package, and the current icon is somewhat boring, just a black ball... looks okay, though, on white background)

Next.

Previous.