Search Results: "bab"

2 December 2006

Jaldhar Vyas: The Real Meaning of Nalanda

Venkatesh Hariharan recently wrote an article on Indias traditions of knowledge and how Open Source meshes with them. Now having met him at foss.in and knowing of his work, I am 100% convinced he is on the side of the angels and their is no malice in what he wrote. However, his interpretation (really not his, but the conventional wisdom amongst the Indian elite.) of Indian history and culture is so monumentally wrong it bears correction. While I admit my hackles were raised by the cultural and theological mistakes made, there are implications for Open Source advocacy in India and the world at large too. He starts by giving the example of Nalanda, supposedly "the first university in the world." but more accurately a Buddhist vihara (monastery.) Its' very name indicated sharing. I use the past tense because Nalanda doesn't exist anymore. In fact except in a few border areas influenced by Tibet or Burma, Buddhism itself is so thoroughly extinct in the land of its birth, the place where it flourished for over 1500 years, that the only reason people like Hariharan or myself only know that there ever was such a thing due to the work of 19th century Western Indologists. How could this be? One theory is that a resurgent Hinduism coopted or persecuted the Buddhists into oblivion. However this is unsatisfactory. It does not explain why Jainism (a religion as old as Buddhism and equally heretical for exactly the same reasons from the Hindu point of view) still survives to this day and it doesn't explain how it could have happened for even the most advanced genocidal regimes of the 20th century have been unable to "disappear" undesirables to the extent which Buddhism disappeared. A more plausible explanation revolves around the fact that, as I mentioned before, places like Nalanda were Viharas. This doesn't mean that they can't have university-like properties too; after all the great academic institutions of Europe also had religious foundations but the monastic nature of a vihara is salient. A monastery is not a place you go to engage the world, its a place you go to escape it. To mix metaphors a bit, the viharas were cathedrals not bazaars. While there may have been a lively intellectual life within its walls, there is no evidence that Nalanda and its denizens interacted much with the surrounding culture. An economically unproductive institution of such vast size (15,000 monks at its peak) could only survive by the patronage of kings and other rich people. When that patronage dried up as for example when the medieval Muslim invasions swept away the old royalty, Nalanda and its sisters couldn't survive. Just as when a proprietary software company dies, its "intellectual property" often dies with it, when centralized Buddhism died, Buddhist ideas died with it. (Luckily Buddhism had spread to other countries by then and developed new, less monolithic forms so it was not lost to the world altogether.) In contrast Hinduism (and for that matter Jainism) while having all due respect for monks were and are primarily lay movements. The pursuit of morality (Dharma), wealth (artha) and pleasure (kama) in this world are equally valid human goals alongside liberation from the world (moksha.) and this manifested as the much maligned institution of caste. Hariharan quotes the conventional view probably familiar to Westerners from Anthropology 101, a lock-step hierarchy of four classes (varna is the Sanskrt word) with fixed occupations, with knowledge and privilege on top and ignorance and oppression at the bottom. The thing is, this view bears no relationship whatsoever with social reality in India now or historically. There is another Sanskrit word, jati, which can be translated as caste. There are thousands of these jatis and while Indian thinkers have periodically attempted to try and shoehorn them into the varna framework, they have had little success and varna is for all practical purposes just a theory. And this is not just a fall from some putative golden age (Like the canard that once caste was flexible and merit based and only later became rigid.) but the state of affairs throughout recorded history.

A jati consists of people who share a common (or fictive) kinship, who have particular food and ritual choices, and marry endogamously. While many jatis are associated with a particular occupation, many others are not. This is what caste means to a typical Indian (it is also the social organization prevalent amongst Jains, Sikhs, Muslims and Christians even if they don't accept its theological basis.) Yes, hierarchy and concommitantly oppression, are in some cases a byproduct of casteist thinking but they are hardly its raison d'etre. A comparison can be made to the Western nuclear family system. Some people think it is superior to any other form of social organization. Most people wouldn't go that far but go along with it as "the way it is." Some of those of a liberal persuasion might want tweaks of certain aspects of it. A very small fringe think it is nothing more than a nefarious plot to spread patriarchy, subjugation and racism etc. They are mostly considered kooks by the other groups. (Unfortunately when India and caste are concerned, the kooks are ruling the roost.) The diversity of jatis like the diversity of open source creates a certain resistence to disruption that a monoculture cannot. Thus though Hinduism also suffered grievously from invasions, it was able to hold on where Indian Buddhism could not. Brahmin (sic. That's an English mispronounciation.) is also misinterpreted as one who knows Brahma (masculine noun. The Creator God.) instead of Brahman (neuter noun. The supreme spirit pervading the Universe.) though even then it would be wrong because Brahmin, Brahma, and Brahman all come from a common root word brhati (feminine noun. Sacred speech.) as any Sanskrit dictionary will attest. Hariharan cites the example of the sacred scriptures (Sic. He means the Vedas) and the notorious statement of the Manusmrti saying that an unqualified person who hears them should have molten lead poured into their ears as examples of the proprietarization of knowledge. Now the long-suffering untouchables may have been afraid of many things but having lead earplugs was not one of them. There is no historical evidence that any such action was ever attempted. You can criticize the Manusmrti for even saying such a thing but that is a far cry from using it as evidence of historical attitudes. You see, the Manusmrti is not even in the most orthodox conception Hindu Sharia and the Vedas are not "Sacred Scriptures" in the sense that the Bible or Koran are. Rather they are part of a wide range of significant literary works respected in Hinduism of which other important examples are the two Epics the Mahabharata (which includes the Bhagavadgita), and the Ramayana, and the vast compendia of geneologies, philosophy, lore and legend called the Puranas. Hariharan actually missed a good chance to make his point here because while the Vedas are indeed "proprietary" the other works I mentioned are not and have in fact permeated all over India and even beyond its borders. Many Indian languages owe their literary existence to translation of the epics or Puranas. For instance one of the earliest monuments of Hindi literature is the Ramacharitamanasa, Saint Tulsidas's translation of the Ramayana. When he wrote it in the 16th century, he did face some opposition from those who didn't think such an august work should be rendered into a "vulgar" tongue, he also received encouragement from equally orthodox people (including those who believed the Vedas should be restricted to Brahmins) Today it is by many accounts the most popular Hindu holy book in existence. So really the whole idea that the Hindu canon shows a fall from open grace to rigidly controlled private property is just bogus. To those who have slogged their way though all this verbiage wondering what it has do with Linux and Open Source, let me assure you I am getting to the point :-) It's bad enough from my point of view as a devout Hindu that my religion would be misrepresented this way but from my point of view as a supporter of Free Software ideals, it is catastrophic. Linux and Open Source in India has spread, as in most parts of the world, primararily as a hobby amongst computer enthusiasts and for a hobby it's doing ok. However if you think of it as more than that, as a tool to enhance society and empower peoples lives, that is not nearly good enough. But how can one serve a society if one apparently has no clue about that societies history and mores? The developing world is littered with failed projects that were carried out with the purest of motives but no regard to what the putative clients actually wanted. Do we want Linux and Open Source deployments to go the same way? For a couple of years now I've been trying to get Indian and NRI programmers to get involved in localization in debian-installer and elsewhere but even with the small minority that are sympathetic to Open Source (a scandal in itself.) it is like pulling teeth. To their credit, Red Hat India pays people to work on such things but volunteerism is the heart of the Open Source movement as we all know so the apathy of Indian IT professionals is deeply troubling. Hariharan is trying to increase interest by appealing to the Indians' sense of cultural pride which is a good tactic--it has been successfuly applied by many non-western or minority cultures--but he is not going to be very successful if the vision of Indian culture he is presenting is as alien as Eskimo culture to the vast majority of the people. Western Open Source advocates also run into difficulties due to being tone-deaf in their understanding of how third-world cultures actually operate. When India declined to participate in the One Laptop Per Child (OLPC) project, some commentators on places like Slashdot were perplexed. Wouldn't a poor country want an inexpensive yet efficient pc using free software instead of high-priced imports? The thing they missed is that while people in India may be poor, thanks to a more-or-less democratic polity and more-or-less open communications, their frame of reference is no longer their village. Their trends are increasingly set in Mumbai, New York, Paris, and London. The forward-thinking amongst them know that computers are the key to the future. They also know Bill Gates is the richest man in the world thanks to something called "Windows" knowing which can get you a green card and your own chance of becoming rich. So if Linux comes along, presented as a cheap alternative which is "just as good", the fake Gucci handbag of IT if you will, it is not going to impress. Thinkpads and Dells appeal to the upwardly-mobile persons vanity, a third-world hand-cranked laptop does not. (This incidently is what is behind the "Nalanda university" meme too. Monasteries are yesterday. Universities are the in thing so we have to have some in our past and not just any but by golly, the first university in the world.) When they venture from pure technology into the realm of culture, Open Source advocates need to be a lot more sophisticated, not to mention accurate, in their arguments lest they fall on deaf ears. Platitudes and sentimentality about "spiritual" versus "material" culture aren't enough. There must be concrete demonstrations of the benefits of why the Open Source approach to knowledge is better. They must be more sensitive in their presentation to avoid needlessly antagonizing people who might otherwise be natural allies. I believe the Open Source ideal is good for India and the whole world, not just in software but for society at large and I wish Venkatesh Hariharan and all the others on the frontlines of the fight for openness the best of luck. But good intentions cannot excuse sloppy thinking.

1 December 2006

Jeff Bailey: Dancing the Feisty Dance

... although I still wish it were called that fallacious ferret. =)

As an Ubuntu core-dev (although not on the Canonical Distro team, more like a community member who happens to work for Canonical on other things), I feel like I should run the latest distro on my machines. I tend to think this is doubly true since I hack on things like glibc. And if it's not good enough for me to run...

Usually, though, it's a bit of a rough slog. Even when I ran Debian unstable on my boxes, there usually wasn't transition after transition landing every day. Even the Gnome folks started to stage things in experimental and make sure they worked before doing the upload to unstable.

So it's a bit surprising that so far with feisty, I've had really good luck and am finding the experience nice and smooth: suspend even works on my laptop now. Further, I'm upgrading my belle's machine so that she can get the integrated sudoku into gnome-games and I'll probably also try out gnash for her.

30 November 2006

Evan Prodromou: 8 Frimaire CCXV

I'm a small, petty person. I know I am. I should probably be really happy that the newest Eye of Gnome has such great image cataloging and review functionality. It's a nice step forward in usability from the mishmash of image-viewing-and-cataloging-and-such tools in earlier versions of Gnome. But, I'm not. I'm left-handed, and when I take portrait-style snapshots I turn my little camera 90 in the opposite direction from 85-95% of the human population. Which normally is neither here nor there, but... when I'm going through my camera images on my computer, and turning the portrait-mode ones so they're aligned correctly, there's a hotkey in EoG to turn a picture clockwise, but not one to turn it counterclockwise. Why? I smell anti-left-hander conspiracy. In conclusion, I hope I've proven that no matter how great a tool becomes, someone will always find something to whine about it. tags:

My wife is a winner Maj just won NaNoWriMo. Go Maj! tags:

29 November 2006

Evan Prodromou: 7 Frimaire CCXV

One of my tasks for today was to upgrade to the new versions of the JanRain OpenID libraries for Wikitravel. However, since those libraries implement the draft OpenID 2.0 standard, which includes support for i-names, I had to do some i-names playing today. i-names is a distributed system, with different "i-brokers" (yes, they're really called that) providing naming services. Unfortunately, the service that I used for registering my i-name, 2idi, isn't compatible with the JanRain Open Source libraries I'm using. JanRain's implementation depends on the very latest version of the OpenID 2.0 draft, and 2idi doesn't support it yet. So testing with my current i-name, =evan.prodromou, doesn't work. So, I had to register a new i-name with an i-broker that supports the new draft standard, which, y'know, it's the whole point of this stuff not to have to register all over the place. But whatever. JanRain folks in #openid, the OpenID channel, let me know that i-brokers that use EZ iBroker, a kind of i-broker-in-a-box package, would work with their library. The best one I could come up with is LinkSafe, which works OK. Now, rather than spend another US$20 and register a variant on my given name, I decided to spend the US$55 get an organizational i-name so I could make as many different testing names as I needed. And rather than register an i-name for a real organization, I registered just a bogus one, @gratis, so I could give them away to whoever wanted an i-name. My new i-name, @gratis*evan.prodromou, works great. If you'd like an i-name to play around with, please drop me a line using the Web form at @gratis, and I'll set one up for you. I've toyed around with it, and it seems to work for sites that support i-names. tags:

La ka I met my friend Nicolas Ritoux at La ka, the wireless-enabled lounge on St. Laurent. We hung out at the bar and had a beer or so, which was a nice way to spend the early evening -- of course, it was an hour after dark when I met him, but just 5PM... We talked a lot about his projects working on a new version of Hyst rie, the classic Quebec Web zine, formerly hand-coded in HTML but soon to be implemented in a CMS. He's using SPIP, a cool-looking French jobby that seems to have a lot of features. He's really getting into the XHTML+CSS aspect of it... a sure sign of madness. I like La ka, but it didn't dawn on me until today that it's named after Laika, the Soviet cosmo-dog that was the first living thing intentionally launched into space by humans. Good dog! tags:

Movie night I had to rush back to the house pretty quick, though -- our friends Patti and Meg offered to babysit Amita tonight so Maj and I could go see a movie. Awww! Of course, given that opportunity to have a romantic evening with my beautiful wife, what did I decide to go see? Borat, of course. We were pretty worried about the baby -- she's been kind of feverish and cranky for the last few days -- but when we came home, she and Meg and Patti were dancing and twirling around the room. Good girl! tags:

Eric Warmenhoven: Breeders

As I said a while back, Lisa and I had been in the process of finding and buying a new house. A few months ago, we found one, and moved. We left behind a bit of our furniture that we have had since we were in college, and since then have been in a rather involved process of finding furniture that we’re willing to live with for the next few decades or so. It’s been a rather painless process for me, since Lisa’s been doing all of it. I just have to stay alert for when new things show up. I still tend to miss lamps. We were in the process of selling our townhouse; but after a few months we only had two offers, and both were significantly below our asking price. So we’ve taken it off the market for now, but will list it again in the spring. Fortunately for us it’s paid off, so other than property tax, it isn’t too big of an expense. We considered renting it but have friends who did that and their experience has convinced us that we’ll never rent anything ever. Also, a couple months ago, after we moved, we found out that Lisa’s pregnant. We’re both really excited about it. We had been married for just less than a year when we found out, which doesn’t seem like a long enough time, but we had been together for seven years prior to that. So it seemed like a good time for us. We have our third ultrasound in a couple weeks when hopefully we’ll find out the baby’s gender. Lisa’s hoping for a girl, but she thinks it’s going to be a boy; I think it’s going to be a girl. Everything seems to be going well so far, and Lisa’s starting to show a little. We haven’t started doing any of the baby-related things yet, like picking names, or setting up a nursery and buying a ton of crap that will probably end up being mostly unused. We did receive our first baby-related gift from my grandmother though, and Lisa’s grandmother is busy knitting booties and blankets. One of these days we’ll probably head over to Babies R Us and set up a baby registry, but probably not until after the new year.

28 November 2006

Simon Richter: Open house on the weekend from December 8th to 10th

As previously announced, I plan to have an open house on these days. If you happen to be in Munich at the time and, as Matthew puts it so well, if I haven't wished you dead in the last three months, you are invited. There is going to be infrastructure as can be found in a typical home, such as space, electricity, network, a shower and a kitchen. I have a few mattresses as well, but the usual sleeping gear is probably a good thing to bring anyway. I plan on stocking up on noodles and tomato sauce before the event, and there is a Chinese restaurant with an all-you-can-eat offer just downstairs, so I believe food is not going to be an issue either. I expect the entire event to be mostly geeky in nature, given the people who are invited. I think some might see it as an opportunity for another bug-squashing party, while others see it as an excuse to devote a full day to their pet project. If you're planning on not bringing a computer and just generally hanging out and socialising, that's fine with me, too. My personal plan for the weekend revolves around a bunch of software and hardware projects, most of which being related to cool hardware. I have a soldering iron here (25W only, but it works), so you are welcome to bring a hardware project as well. If you plan to come, it would be nice if you could drop me a short message so I won't be off to the video rental store when you arrive, plus I can tell you more details then, like where exactly. Also please tell me whether you prefer sitting on the floor/some mattress or on a seat with a chair, as it allows me to allocate the space accordingly in advance so that we don't have to move people around. The fine print: this is a non-smoking flat (and the wind conditions do not allow smoking out of the windows), we're on the 6th floor and it's the beginning of winter. While it is certainly possible to smoke outside, it might be something to consider.

Matthew Palmer: You Know That Sinking Feeling You Get...

... when you suddenly realise that you've done something really dumb and there's probably no way to fix it? I just got that feeling, big time, reading today's DailyWTF. And I had nothing to do with the problem whatsoever. My commiserations to the poor sods actually involved in the story.

Daniel Jacobowitz: Triumph over emacs at last

I do about half my text editing in joe, and half of it in emacs. It's just what I've gotten used to; for a year or two I used primarily joe, and I gradually migrated until I did most of my programming in emacs instead, but I still do random text files in joe. I've been gradually trying to migrate to emacs; not least because upgrading joe has gotten to be such a pain. I use jpico rather than joe, you see. But I started using it a long time ago, probably around when joe 2.8 was current in Debian. And the jpico key bindings keep changing! Which is infuriating, so I keep having to rewrite my keybindings to stay mostly the way I like them. I like that emacs is such a smart editor. Especially since it defaults to all sorts of nice GNU-ish settings and most of my C is for GNU projects. But when I work on other things, I have to learn how to make it either disable smarts or use appropriate ones, so in self defence I keep learning new things about emacs... One things I've been annoyed at before is the binding for scroll-other-window. You can split a window into two (C-x 2). I often do that while writing a changelog up top of a patch file, whether I'm using joe or emacs at the moment. An advantage of emacs is that you can scroll the window that the cursor isn't in, paging down through the text you're describing while keeping the cursor where you're writing. But it's bound by default to C-M-v and C-S-M-v (control-meta and control-shift-meta). Hard to hit C-M-v, and impossible to enter C-S-M-v; you can not distinguish Control and Control-Shift in a vt100 terminal (like, say, inside of screen). Fortunately, you say, it's also bound to M-next and M-prior (meta-page down and meta-page up)? Well, yes... but... you can't type that either at a terminal. Normally. I can now though. Fixing it took two parts. First, I discovered that Meta-next sent the same sequence as plain next, in my xterms. I think I've convinced myself this is a bug in xterm. My keymap, which is a pretty standard pc(pc105)+us+altwin(meta_win), has Super_L and Hyper_L bound to modifier 4 along with Meta_L and Meta_R. xterm sees these strange keys and decides that mod4 must be some sort of "other" modifier, in code that looks like it's for handling num lock. Fortunately, I can work around this easily. I don't have a Super or Hyper key, so I deleted the bindings by adding this to my .xsession:
  xmodmap -e 'remove mod4 = Super_L'
  xmodmap -e 'remove mod4 = Hyper_L'
UPDATE: This will be fixed in xterm #223, since Thomas Dickey agreed it was a bug. Next, I discovered that emacs didn't recognize the sequence produced after that fix. It didn't recognize C-next or A-next either. So I added this to my .emacs:
  ; Key magic.  Emacs nor terminfo normally have bindings for these.
  ; The meta binding in particular takes a bit of X magic also; see
  ; the xmodmap call in /.xsession.
  (define-key function-key-map "\e[6;5~" '[C-next])
  (define-key function-key-map "\e[6;9~" '[M-next])
  (define-key function-key-map "\e[6;3~" '[A-next])
  (define-key function-key-map "\e[5;5~" '[C-prior])
  (define-key function-key-map "\e[5;9~" '[M-prior])
  (define-key function-key-map "\e[5;3~" '[A-prior])
That really should be conditionalized on the terminal type, but I didn't want to mess with it any more. And now it works. Woohoo!

Daniel Burrows: Digging for Conspiracies?

While I appreciate the research and legal commentary over at Groklaw, the tendency of PJ and the regular posters to imagine vast conspiracies makes me more than a little uneasy. Yesterday I came across a truly jaw-dropping example that would be offensive if it wasn't so laughable; and since I happen to know more about the situation, I felt I should comment on it:


I have some questions about this group, BELUG, who did the article, I gather. There is no info on the site to be more informed. Anyone in the Seattle LUG know anything about this new group in Bellevue, 5 mins. from Bill Gates' house?

...

I don't like to be a cynic, and maybe they are a Linux user group, but if so, maybe the Seattle LUG can give them a hand.


Of course, we all know that the Microsoft corporate campus has an enormous mind-control ray mounted on Building 1 that turns everyone living on the Eastside of Seattle into mindless Gates-worshipping zombies. Part of Bill's personal security plan, dontchaknow. That's why BELUG starts every meeting with a round of "All Hail Gates, Lord of All That Is Electrified".


She goes on to complain about "major confusion" in their description of free software. At a quick read, I can only see two glaring problems with this page: first, they describe free software as being both "free in a monetary sense" and able to be sold (which is actually true but sounds like a contradiction without more explanation that they don't provide); later, there's some weird wooly-headed stuff about revolutionizing entire economies and societies. I don't know what they're talking about, but they certainly can't be accused of lacking enthusiasm.

Finally, she quotes a section of the FAQ that suggests that Microsoft professionals should learn Linux and vice versa, since the world is heterogenous and getting more so. I don't think that's controversial, so I think she must be referring to this question:


Q: Why does BELUG dislike Microsoft?

A: That is a complete misunderstanding. BELUG does not dislike Microsoft. Microsoft is our neighbor, and many of our friends and relatives work there. Both Microsoft's headquarters and Bill Gates' house are located just minutes away, and Microsoft's world sales headquarters is currently under construction nearly adjacent to BELUG's meeting location. BELUG merely believes in friendly competition and that competition can benefit everyone, including Microsoft. This is what a free market economy and the American system is (supposed to be) all about, and this is what has helped make the U.S. a great country.


The statement that Microsoft is nearby is nothing but geographical fact (I could walk about fifteen minutes from my apartment and be on the MS campus; does that make me an MS mole?).

As for the rest, I really don't see anything to complain about. I know some people like to rhetorically shred Microsoft at every opportunity, but if you're trying to attract members in Microsoft's hometown, it's wise to keep your comments polite. It's also true that Microsoft benefits from competition (even if they don't see it that way); I don't think it's a coincidence that their products started sucking drastically less as OSX and Linux became reasonable alternatives to Windows. And the fact that we can have friendly competition (as opposed to the cut-throat, take-no-prisoners style that's popular in some quarters) is exactly one of things I like about Linux. You will notice, however, that the Q&A carefully doesn't mention what sort of competition Microsoft engages in. I think anyone who knows anything about the company knows the answer to that one.


Here's the kicker, though: I actually attended a BELUG meeting a few months ago. It seemed pretty much like what I'd expect from a small group of volunteers: one guy gave a talk about hooking ALSA up to a digital audio receiver, another guy showed off a Unix kernel he had written for classic MacOS (it ran as a user process and presented a Unix-like interface to the Mac), someone passed around cookies, and people talked a bit about using Linux and so on.

The poor quality of the Web site and the lack of a mailing list probably reflect the fact that there are a handful of people organizing the thing who all have day jobs and other committments, not some vast Microsoft conspiracy to undermine Linux from the inside by setting up fake LUGs. PJ never said they were fakes outright, but it was a clear subtext of her comment, and the Groklaw regulars who replied knew exactly what she was getting at. If she really thinks they might be fakes, then I think she needs to take a break from watching SCO (which could make anyone paranoid and suspicious) and enjoy the holiday season instead.

Matthew Palmer: VLAN adventures

Have you ever had a need for a large number of "real" network interfaces on a Linux box? For security reasons, you don't just want to hook everyone up to a single switch and use virtual interfaces (because it's too easy for one of the connected devices to play silly buggers with his neighbours). Up to a certain point, you can stuff more NICs into a box, and when it fills up you can switch to those outrageously expensive 2- and 4-port NICs. But eventually you're going to run out of space[1] or money. At that point, you need something more interesting. For me, this week, that "more interesting" has been Ethernet VLANs. Linux Journal has a good intro to the technical aspects of how to setup VLANs and Linux. VLANs are some crazy stuff. They're implemented by wrapping a little number around every Ethernet frame indicating which VLAN the packet is "on", and the switch (you need a higher-end device, appropriately configured) makes sure that packets don't roam onto ports they're not meant to be on. For a single switch, this isn't very interesting, and you don't really need an IEEE standard to make it work -- just a lot of little jumpers. However, VLANs are mostly useful on larger networks, which tend to use more than one switch. So you need a way for your VLANs to roam amongst your switches -- hence the packet tagging. You stick the tag onto the packets and fling them off to another switch, and packets coming in with the tag are corraled into their VLAN. Naturally, you don't want end-user devices whacking their own VLAN tags onto packets (untrusted data, and all that), so you define most of your ports as being "untagged". Packets that come in on these ports are treated as regular ethernet frames and tagged with the appropriate VLAN ID, and packets that go out have their VLAN IDs stripped before being sent. (This implies that you can tunnel VLANs in VLANs, and I'm pretty sure that is doable in most switches, modulo some nasty problems that can, and probably will, occur). The ports that aren't designated "untagged" spit out tagged packets -- and this is where my interest lies. Like most every other computer-related standard, Linux can decipher and work with VLAN tags (the 8021q module is what you're looking for). You just load up the module, hook your NIC into the appropriate port on your very expensive switch, define your VLAN tags with vconfig, and suddenly you've got vlanN interfaces, which map to real RJ-45 ports, and you can hang network devices off these and get lots and lots of "real" network interfaces on your Linux router. It's all so simple, right? Nothing ever is, of course. The trials and tribulations I've had over the past two days have included: Thankfully, once all those dramas were done, the whole thing just kind of fell into place, and now I've got a machine which has up to 2048(ish) network interfaces (with huge, glaring caveats on that upper bound, of course). With a bit of luck, the live installation in a couple of days will go smoothly. You can stop sniggering now.
1. In this case, there wasn't a lot of space to begin with, as it's a 1RU box I'm working on, and the 4-port NIC didn't want to place nice with me for some reason anyway.

Sven Mueller: Canonical and Debian - friend or foe?

Pointed at the issues by Josselin Mouette’s post, I got aware of a list of issues posted by JP Rosevear, which is a reply to Mark Shuttleworths post to the opensuse mailinglist. Note especially point 2, which is: “Preventing the Debian GNOME maintainer from updating GNOME packages until after Ubuntu LSO had shipped because you had hired him.” If this issue is true, it’s the worst thing I ever heard of regarding Canonical. I mean it’s bad enough that points 1 (“Having a stated policy of not funding any significant new software development because the Return on Investment is not good enough”) and 3 (“Not releasing any source code for launchpad/rosetta/malone to maintain a competitive advantage”) certainly are true (even though I can’t prove and therefor don’t 100% believe the second part of #3). But unless there is a very good reason to delay the submission of the patches developed to “upstream”, Debian.
It’s bad enough that Canonical hired the most active Debian Developers, depriving Debian of much of their time, while not really supporting Debian (i.e. while not actively submitting patches to Debian). It would have been better for the community if Canonical had hired less active DDs (or even non-DDs). Sure it would have been harder to select some sufficiently qualified people for the jobs, but the total outcome whould have been better IMHO (getting time from previously uninvolved people, while keeping the existing contributors). Anyway, I really would like to know wether the mentioned point #2 is true, and if so wether any valid reason for doing so could be given before I set my opinion about this issue in stone. One thing is sure however, I’m becoming more and more critical regarding Ubuntu and Canonical over time while I once hoped that the opposite would become true for those criticizing Canonical at that time. Actually I still hope so (and thus I hope reason to become less sceptical again).
Another thing is also sure: If Canonical wants to use Debian as a base for much longer, it should make damned sure to work with Debian more actively instead of seemingly working against it (more or less openly). Update: As also pointed out in a comment below, a post by Scott James Remnant proves point 1 from the the aforementioned list and gives a further hint that point 3 might be true. More precisely it says “we have a policy of not doing our own software development, but only packaging what others have developed”, which probably means “not doing our own major software development”, since - as a comment to that post also says - Canonical did some software development, like launchpad/rosetta/malone and some other relatively small projects.

27 November 2006

Ben Armstrong: Home video hub on a shoestring

In our family, we have centralized all our best entertainment technology in a single system, a white box amd64 with PVR, 3D graphics, 1G, a 21” monitor, DVD burner and VCR. A number of older, far less capable systems have always surrounded this “hub”. A K6-2/400 with a less-than wonderful ATI Rage IIc graphics card presently serves as my wife’s system, and my PII/300 laptop roams the house on wireless B. This has always been the model for our home network, dating back to the late 90’s when the hub in our cramped apartment was a P/100 delivering sound through a $30 pawn-shop stereo to two main rooms, and the satellite node in the family room was a DEC VT-420 on a long serial cable. So, house-wide delivery of sound has always been possible. But doing the same for video remained unsolved until just this weekend. Kudos to the Videolan team for making it possible. A number of years ago, I recognized their vlc player was ideal for playing DVDs on my K6-2, handling the job with less CPU and less frame drop than other alternatives at the time. Not too long afterwards, though, we upgraded our hardware so saving CPU cycles was no longer an issue, and switched to other players to take advantage of features they offered over vlc. But a recent email from a friend brought me back. This friend asked if I had seen a certain Linux documentary video he had found. I hadn’t, and was intrigued. But since the hub was tied up by the kids at that moment, I figured I’d try watching on the old PII laptop. I didn’t really think it would work, but remembering how well vlc did on my other old hardware, I gave it a try. It worked! No frame drop at all. Buoyed by that victory, I recalled that I had downloaded the Debconf 6 DVD ISOs some days ago, but had not yet been able to watch them. You probably can guess why … yup, the single hub system, the only one really capable of doing a good job displaying video, was pretty much always tied up by various other family members. Now, I knew there was no way I could get those DVDs onto the laptop, as it has no drive and only a 4G hdd. Nor was I willing to go to the bother of ripping individual tracks to transcode and send over one at a time. But I then recalled that vlc, as well as being an excellent standalone player, is primarily the client for a streaming video system. So I set out to learn how to stream video. Back when I was first introduced to Videolan, I knew there was a server program, vls. I had a quick look at that and was overwhelmed by the wide variety of possible MRLs and codecs, and a bit mystified as to which magic spells were needed to make it stream to the laptop. It then occurred to me I had probably plunged in too quickly, and should back off and go look for more docs than just the man pages. Sure enough, they have plenty of excellent docs, leading to the discovery that the vlc gui itself has easy to use Wizard and Open dialogs to set up streaming. With that sorted out, I was streaming in no time. At this point, I was delighted to discover that I could successfully stream a 1024 kbps mp4 stream across wireless B form the basement to any other room of our two-story semi. And ever since then, I’ve been having great fun with the family, trying a wide variety of other video sources lying around: music videos, home videos made by friends, TV shows recorded from the PVR, DVDs direct from disc, and yes, finally, those Debconf 6 ISOs. I tell you, it’s like Christmas come early! Thanks, Videolan. You’ve made my week.

26 November 2006

Julien Blache: Debian AMD64 on the Core2 Duo 15 MacBook Pro

So I’ve got my shiny new laptop which should complement my 5 years old PowerBook G4 500 MHz and had a bit of fun installing Debian AMD64 on it. I did it the hard way, not using debian-installer as it was a given for me that both the kernel and debian-installer itself were unable to deal with the machine. Installation method: Note that you do not need to install BootCamp on Mac OS X. On the Core2 Duo machines, the firmware already includes the SMBIOS stuff, so you’d only install a useless Mac OS X GUI which you can’t use because you’ve repartitioned before running BootCamp Assistant :-) Current status: most of what should work with Linux sort of works (that is, to say, everything but the WiFi). Things that do not work: Everything else works, and works fine. Wrote a small daemon to handle the special keys for LCD backlight, sound, keyboard backlight and CD ejection. Still needs a bit of polishing, after what I’ll release and package it. rEFIt isn’t available in Debian AMD64 yet, so gptsync isn’t available and must be run from an i386 system for the time being (plus gptsync is buggy on 64bit architectures). Patches ready, waiting for GNU-EFI on amd64 (#383801). Suspend to RAM and suspend to disk both work, use s2ram -f -p -m until the machine makes it into the built-in whitelist. The machine is pretty nice, though I’d appreciate it if the fans weren’t running at 5500 rpm when I have the laptop on my laps. Might be related to both the applesmc and power consumption issues. WiFi remains the biggest issue, battery life comes second ex-aequo with DVI-I output and sound is third. I’m quite unhappy with having to taint my kernel by using the fglrx (and madwifi in the future) proprietary crap, and even more when it doesn’t work as good as it should. Maybe RMS was right about ATI.

John Goerzen: Society's Views of Dads

Back before Jacob was born, I was reading The Expectant Father: Facts, Tips, and Advice for Dads-to-Be, 2nd ed. by Armin A. Brott and Jennifer Ash. It was a good book and I recommend it.

Towards the end, there was a section that the author clearly was passionate about, and it made me mad too.

He was talking about society's attitudes towards dads. He started by looking at messages that are sent out in commercials. One study of commercials said that "100% of jerks singled out in male-female relationships were male. There were no exceptions. . ." That study also said that 100% of the ignorant and incompetant people in commercials were male as well.

He went on to cite some examples. Tons of slogans like "kid tested, mother approved", "choosy moms choose Jif", Robitussin's "recommended by Dr. Mom", etc. And one for Post Raisin Bran in which a father and daughter are impressed by their cereal. Dad says, "somebody must really love us. Who do you think it is?" The daughter answers, "Mommy!"

Of course, these were just some examples from commercials, but they seem to reflect a message that dads are, at best, incompetant. Brott mentions studies that show that men display the same decision-making skill and affection as parents as women do.

Brott went on to talk about some of his experiences. One time, while he was in a park playing with his children, a little girl started to fall off the top of a slide. He was right there and was able to catch her as she fell -- probably saving her from, at best, a broken bone. The girl's mother rushed over, ignored Brott, and said to the girl, "did he hurt you?"

I started to see this sort of thing all over the place even before Jacob was born. In stores, there would be tons of infant shirts, bibs, etc. saying things like "I love mommy," rarely even one thing that mentioned daddy. Similar patterns were there for greeting cards and pretty much everything else baby-related.

I've noticed this even more since Jacob was born. There have been times when Terah and I are somewhere together, standing right beside each other, and someone will ask Terah all about Jacob, and totally ignore me. Even if I'm the one holding him. I'm sure people are well-intentioned; some of them that have done this are people we know well and I know they mean well. Somtimes, I don't even notice when this is going on (though Terah does and when she mentions it later, I remember it).

Do they just expect that men don't care? Or do they think that since Terah is working part time, and I'm working full time, that we must be "traditional" enough that I don't care to be involved in Jacob's life? (Though I'm not sure that the "detached & uninvolved dad" stereotype ever was true, at least from the examples I can think of) It's hard to miss out on so many moments of Jacob's life during the day that Terah gets to be there for. But that doesn't mean that I'm an uninvolved or clueless dad.

Now, despite this little rant, there are quite a few people out there that have no problem including me in discussions about Jacob -- relatives, friends, people at church, co-workers, etc. In fact, probably more people include me than don't. I really appreciate that, and especially the extra effort some of them go to in order to include me. (I know how much effort it took to find baby clothes that mention dad, for instance) Terah is best at all this, making sure that I get to be part of Jacob's life as much as I possibly can be, and I really appreciate that.

But to Wyeth (makers of Robitussin): Don't think I haven't noticed that Walgreens sells "Wal-Tussin", same active ingredients as your product, and at a lower price. Dr. Dad knows how to buy generic.

Evan Prodromou: 4 Frimaire CCXV

It was a pretty day in Montreal today, and since I was taking care of Amita today I knew I wasn't going to get any computer stuff done. So I decided to take care of some tasks that needed doing around the house -- cleaning up our storage room, changing some light bulbs, fixing some furniture and putting plastic on the windows for winter. This is one of my least favorite jobs for preparing for winter. Probably the biggest sink of heat for an apartment is the windows and doors, so we do our best to insulate them. Doors get insulated foam around the cracks, and windows get covered in a thin film of clear plastic, which forms a pocket of air and provides an extra insulating barrier from the outside. It sounds crazy, but it's remarkably effective -- it really makes the difference between a cold house and a cozy home. It's extremely labor-intensive, though: it involves putting up lots of double-sided tape, cutting just-right rectangles of gossamer micron-thin plastic sheeting, climbing up and down ladders, hanging, measuring, moving. Probably the silliest part is that you blow on the plastic with a hot hair drier to make it contract tightly over the window so it's easier to see out. That takes like 10 minutes to do. Last year I waited until mid-January to do the job, and we were all walking around the house shivering and wheezing. This year I'm getting it done before winter's really upon us, but that doesn't mean I like it any better. I guess I'll just be happy when it's done. tags:

My JavaScript workbench So, I've been working on making a Wikiwyg plugin for PmWiki. Wikiwyg is an ingenious Javascript library for doing WYSIWYG editing in the browser, but keeping all communications with the server in wiki syntax. Every wiki engine should be using it, but for some reason it's not well-implemented. I think it's mostly a community-marketing problem, but that's a separate subject. I want to eventually get it working on Wikitravel, which runs MediaWiki, but I wanted to give it a try on an little more deterministic wiki syntax. So I started an extension for PmWiki. I've learned a lot so far; I'm far from done, but if you use darcs you can see my work so far by running:
darcs get http://evan.prodromou.name/darcs/pmwikiwyg/
Since the code's mostly in Javascript, I've been getting my JS workbench back into shape. By "workbench", of course, I mean "loose collection of tools for documentation, debugging, and editing". For documentation, I've been using the excellent JavaScript and DOM docs from Mozilla Developer Center -- itself a wiki. The docs are (almost) complete, well-written, and well organized. And, of course, Free -- it's all under the CC attribution-sharealike. For debugging, I've been using the Venkman JavaScript debugger for Firefox. It's been a while since I've worked with a half-decent debugger, so it's been a pleasure to use. And for editing, I'm sticking to my favorite programmer's editor, JED. I first started using JED because it had the same name as the founder of Spock Mountain Research Labs, but eventually I've grown to like it on its own merits. I was a longtime Emacs addict, and JED has been my editorial methadone. It's got all of Emacs's advantages -- same keyset, different but valuable extensibility -- without the long load times and heavy weight on system resources. I'm at the point where JED is my only editor. One nice thing about JED is that writing language modes is pretty easy, so there are a lot of them out there. I found a half-decent one for JavaScript floating around on the Internet a few years ago, and it seems to still be the best there is. As mentioned above, I've pretty much transitioned fully to Darcs as my version control system for whatever projects I can help it. It's a great piece of software -- all the strengths of GNU arch without the idiosyncratic naming conventions. And that's my workbench. It's no Eclipse, but I'm having fun working with these tools. tags:

Sebastian Rittau: Gaia shut down by Google

Clint: Did you actually read the letter sent by Google? I actually consider this to be a perfect example of "don't be evil." There are no threats in that letter, Michael Jones, the writer, is just explaining why Gaia hurts Google and in what way he think the Gaia project is violating Google's Terms of Service. He tells the Gaia project members that he understands their curiosity, even calls them "smart engineer[s] like ourselves", but asks them to "refocus [their] work toward building an open earth viewer that uses open earth images." I don't think that Google is free to do whatever they want with the images of the earth stored on their server. They most likely have a rather restrictive deal with the actual image providers. And even if they hadn't, Google probably pays a rather large amount of money to these image providers. I can understand that they don't want to offer these images for everybody to grab. I consider this letter to be very kind and understanding, compared to what seems to be standard today: Let the lawyers do the talking, or don't bothering with the talking at all and just sueing.

24 November 2006

Evan Prodromou: 3 Frimaire CCXV

I think there's a certain special sloth that Americans get to experience on the day after Thanksgiving that we don't get on other parts of the year. Something about the combination of gluttony and wholesomeness makes Black Friday a very mellow, enjoyable time. Maybe it's the fact that it's officially now The Holiday Season, but the stressful tasklist of December hasn't started yet. Or maybe just that it's a day off of work for no good reason except it just is. Maybe it's the fridge full of leftovers that still taste kind of good. I dunno. We had a good Thanksgiving dinner yesterday evening. Maj, Amita June and I had planned to go visit family in New Brunswick (New Jersey) for the holiday, which was really nice to do last year. But our visas are running out in December, and although we're (probably) not going to have a problem renewing them, our lawyer said it was a bad time to leave the country. So, we stayed in Montreal for Thanksgiving. Canadians have their own Thanksgiving, of course, on the 2nd Monday of October, but not having grown up with that day as Thanksgiving, and with most of our family celebrating in November, it's hard to get motivated around Canadian Thanksgiving. And it's just not that big a deal in Quebec, anyways. So we had a good dinner here; John Usher, Niko, Jeff Waye, Meg and Patti all came over and had a good time of it. I cooked my first Thanksgiving dinner -- a big salmon, potatoes and sweet potatoes, roasted broccoli and wax beans, a great big salad. Every family has a Thanksgiving dish tradition -- one of the Prodromous' is a big pot of macaroni and cheese. So I made that, too. We all ate pretty well, drank some wine, talked about the future of music and how fun it is to play hockey. Unfortunately, I managed to miss my Blinky Hockey practice last night -- I tried to put the (overtired) baby to bed at 10PM and ended up falling asleep myself. All in all a good TG, even though far from family. tags:

Speaking of home All of Canada is abuzz right now about a recently-proposed bill by the ruling Conservative Party in Parliament to declare the Quebecois to be a nation within Canada. Sovereignty of Quebec has been an extremely contentious issue in Canada over the last 50 years (two sovereignist parties are major players at the federal and provincial level), and this form of recognition is an interesting step. The whole thing began with Michael Ignatieff, a candidate for the leadership of the opposition Liberal Party. He has stated publicly that Quebec is indeed a nation, and his followers are pushing to have that be part of the Liberal Party platform. The sovereignist Bloc Quebecois tried to steal their thunder by introducing a bill in parliament to the same effect. Their thunder was in turn stolen by the Government with the latest bill, which now has the support of all the parties and will almost definitely pass. The wording of the bill is interesting. First, it calls the Quebecois a nation -- the people themselves, not Quebec qua territory or government. Although the government has stated that this includes all people in Quebec, it's still pretty obviously targeted towards recognition of an ethnic group, French-speaking Quebecois, more than everybody who's living inside the borders. Second, it recognizes this group as a nation within Canada -- deflating the suggestion that it may become an independent state. I have to admit that the ambiguous nature of Quebec's status is one of the things I find fascinating about living in Montreal. As far as I can tell, few sovereignists hope for anything like a total split with Canada, but instead are looking for some sort of autonomous status. On the other side, even the staunchest federalists have seemed comfortable with granting Quebec more of an international profile, such as giving Quebec a formal role in UNESCO. My guess is that the nature of Quebec's relationship with Canada will change gradually until it reaches some stable point where everyone's comfortable. I don't know where that stable point is, but I think it'll be interesting to find out. At the turn of the 20th century, if you had told people that the British, Austrian, Turkish and Russian Empires would be dissolved and almost forgotten within 100 years, they would have scoffed. But in that short span of time, the idea of empire, spheres of influence, and Great Powers has passed from the world stage. We simply don't think in terms of Empire any more, but in terms of nation-states. My guess is that the 21st century will see a similar change in the idea of nation-state. With pressure from supranational organizations like the UN, EU, GATT and the International Criminal Court, as well as pressure from unrecognized nations like Quebec and Catalunya and Wales, I think the firm borders of the nation-state are going to loosen up a lot. What it will mean is anyone's guess, but I think if we're lucky we'll have a richer tapestry of nations and people participating in global politics and culture. And I think Quebec will be an important part of those changes. tags:

Thanks, Biella! I'm glad to see that Biella is going to give us the goods on PR. Our Wikitravel 2007 Get-together is going to be on the island of Puerto Rico, and Biella's from there, so she's going to make up a list of good places to check out. Great news! tags:

John Goerzen: Updates

I haven't had a lot of time to blog lately, so it's time to catch up on a few things.

Jacob is now almost 12 pounds. He's been growing well. As Terah mentioned, he has been colicy. He seems a bit better in the past few days. He usually has started getting fussy just before I get home from work, and continue through the evening. So I hadn't been able to see him happy all that often for a few weeks there. It's a lot of fun to be around him when he's happy.

The house is coming along nicely, too. Drywall is up inside, siding is up outside, the propane line is installed, water line is installed, power is run to the house, and phone service is installed as well. Bathtubs have been set in place. The furnace is set in place, though not yet hooked up to the duct system. Network/phone cable (CAT6 for it all) is run, as is coax cable. Interior painting starts next week. The house has changed appearance dramatically over the past few weeks.

We were looking at some "before" pictures to figure out how we wanted to structure our porch. It looked bad back then, but compared to how it is now -- well, it looked even worse.

The annual pillars banquet for Bethesda Home was a few weeks ago. I'm on the board at Bethesda (which has been a good experience), and board members pitch in to make the event happen -- it's our largest fundraiser event of the year. I took photos last year, and again this year. They're posted online. Bethesda was founded in 1899 and has been an important feature of our small community ever since. I'll write more about it sometime.

Things still seem busy here. Between taking care of Jacob, being in a temporary residence (everything takes longer because so many things are in boxes or just not accessible), keeping on top of all the decisions for the renovation, and all the mundane things of moving twice, there's not a lot of free time. Hopefully that situation will improve a bit, but then we will of course have the big move into the house -- probably in January sometime.

Gunnar Wolf: Honest spammers

Wow...This time I'm truly amazed. A spam just hit my debian-devel mailbox. That's sadly not strange at all, I know. Only that I started reading it. It says:
Spammers don't seem to target us for their random alias generation
tools, or        maybe they haven't got to the letter 'o' yet. com
for subsequent posts, but that whole barn door thing comes to mind.
In so doing, values are overlooked often and mistakes are made. Maybe
Microsoft will let me        change my alias.
Maybe some of it would actually be useful to me. For whatever reason, my
Microsoft email address didn't ever get        spam.
Then it goes on talking nonsense splattered with all kinds of garbage talk, some news (or whatever) about stock options of a China Health thing, and goes on throwing nonsense blabber.
Sorry, I'm not linking to it (I'll probably later update this entry), it's still not available in the Web archive of debian-devel.">

23 November 2006

Sergio Talens-Oliag: 2nd gvSIG Conference

I have not written anything on this blog for a long time and after someone told me about it I decided that I could do it today; the long delay between posts comes from the fact that I'm quite busy with my current jobs and they don't leave me free time to work on Debian or Free Software related projects in general. Today I've been on the 2nd gvSIG Conference, a two day conference related to the gvSIG project, a GPL'ed Java based GIS (Geographical Information System) promoted by Regional Council for Infrastructures and Transportation (CIT) of the Valencian Government. I know about this project since it was made public, but I never tried it because I have a very poor GIS knowledge and I always try to avoid Java based software if possible (luckily one of the main reasons for that will change soon). Some months ago I tried the tool, but I left it soon because I found its interface quite weird and had no data to play with. Today I've seen a presentation about the raster capabilities that will be included on the next version of gvSIG and I have to admit that I've been quite impressed by them. I don't think I will use the tool much, but it is good to see free software projects like this one succeed; having local GNU/Linux distributions is not bad, but IMHO projects like this one are a much better way of using public money and promote the use and development of Free Software. My only complaint about the project is that the project development is not as open as I would like it to be (there is no public revision control system, no bug-tracker, ...), probably because almost all of the work is done by local software development companies that don't like to share their work until it is finished and don't have a free software development culture... ... but hey, nobody is perfect... ;)

Next.

Previous.