Search Results: "dom"

20 May 2006

Uwe Hermann: Recently on debian-curiosa...

A recent debian-curiosa thread made my day: # Subject: looking for someone?
# From: "Mitch"
Hi there locvely,
aThis kind aof opportucnity comes ones in a life. I don't want
to miss it. Do you? I am coming to your place in few days
and I thoughc may be we can meet each other. If cyou don't mind
I can send you my pcicturea. I am a girl.
You can bcorrespond with me using my email cpael@popmailme.com
# From: 'Mash
Sorry I prefer a women who isn't so keen on placing random letters
in her words. Apparently they are rubbish in bed.
I mean what the hell is a "pcicturea," something from the
Anne-summers Jurassic collection? 'Mash
# From: Shawn McMahon
I prefer women who aren't named "Mitch".

19 May 2006

Aigars Mahinovs: Debconf6 day 4: The Daytrip + some hard liquor

May 17th. Just before the daytrip an idea to go for a breakfast came, so at around 8:30 a small group went off to the local market in search for some food. We were seated by a counter and the food was prepared on a large coal heated metal sheet just in front of us. Learning from the last experience of such kind I ordered two tortilias, but I barely ate one of them - it just did not feel right. (Later I was kind of glad that I didn't because my stomach felt a bit funny until the next morning. I guess the body can feel what is good for it.) After we came back to hotel, the buses arrived - large, metallic buses of the GMC (General Motors Company, I assume) that looked like they came straight from 1960s - 1970s. I expected that they will fell like frying pans in the hot midday sun, but in the end the buses turned out to be very nice and comfortable. A half an hour before the leaving time people started to group up. Some took the time to chat, some took the time to take random group photos. The drive to the place was two hours long. The guide told us a bit about the region where we are and its history. I do not remember much of it except that this state has always been the rich farming valley that provided food to many other regions. We also found out the name of the volcano whose picture I took earlier - it was the active Popocatepetl. I have heard that name before. That is the first name that I know here. On arrival to the Xochicalco archaeological site we left our buses and wen into the on-site museum. The museum was built in a barren place without electricity and any water installations, so it was decided to make the museum to be very ecological - sunlight is used wherever possible, electricity is gathered by solar panels, rain water is gathered, collected and purified using natural treatment methods. ALso the building materials are very strange - the buildings look very green. The museum was of the classical site with texts and scenes and bunches of artifacts and a "no flash" requirement. That kind of impacts the pictures. Additionally the glass behind which the artifacts were was way too reflective. After we were done with the museum we went on a 5 minute walk under the midday sun to the site itself. It was really, really hot. People got sunburns later But the view was great. On the site there were some kind of containers that were masked as stones. They might be local trash containers or something else. The whole excursion on the site took around two hours and was spent slowly walking from one shade to another while listening to the explanations of our guide. There were 6 groups in total, our group (the Pink 3) had around 20 people. The ancient city was a well protected multilayer city where people of certain social status were basically locked inside on of the levels and people of the higher level governed them. At all levels there were pyramids and temples and places for parties. Our guide said that having a party almost every week is traditional for people of this region, it is a tradition derived from calendars of the ancient times. There were several ball courts on the territory. Very fascinating game (judging from the available data). The winner was seen as becoming closer to godliness. We have no idea what happened to the loser. But there was a sauna where players went before the game. The excavations at Acropolis section (the rich people section) is still going on. But the main religious place - the temple of the feathered serpent was restored magnificently. It is relatively small (compared to my previously visited pyramids), but very well preserved and restored. Most of the carvings were fully visible. In the end the site was nowhere near as impressive as Teotichuan. Not even close. The final temple was a nice piece, but the rest ... After that we went for a lunch at an all-you-can-eat Mexican buffet. They were obviously notified of our arrival because seating and feeding 300+ people otherwise would be very hard. We sat in our seats and then went for the food at table by table basis. Th food was nice and simple. I had a lot and really considered skipping dinner when we came back. There was also some local fauna at the place: a extremely friendly and lovely chameleon, a meat eating parrot, a hamster, a dog and a pair of pigeons. Apparently all of them were up for adoption. A lot of cuteness ensued. After lunch we drove for an hour to the capital of the Morero state and went to the local market for souvenirs. The shopping was fast and productive even despite the soft rain. In the evening after the daytrip and after the dinner there was a hard liquor party. Hard liquor from multiple countries was presented. I could not evaluate it properly, but I could evaluate the properly prepared Japanese green tea. It was really magnificent. This party was slower then the wine and cheese party - you can't rush with hard liquors. In parallel a pancake party was also taking place in the hotel's kitchen. I looked very nice but I was very full by then.

Aigars Mahinovs: Debconf6 day 3: BOOT!

May 16th. In the morning I was kind of lazy and watched the talks via the webcast which worked very nice. I was even able to give some comments via IRC feedback. Very nice experience. One good idea popped up in the IRC there - it would also be useful to have an audio only webcast to conserve bandwidth. The "early" morning discussion about etch release and kernel to use in it was quite interesting to watch while I did not necessary got all the things that were said there. Then in the tower there was a great BOF session about speeding up the boot. It was a very nice session because there was a lot of discussion, lot of questions and comments from the audience. A GPL license talk followed the boot BOF and again I watched it via the webcast from the hacklab. Convenient. But then my network went down somehow I found it faster to walk to the tower then to get it back up. Several good questions were asked about the problems with current GPLv3 draft. Some ideas formed about how to fix the Affero clause using "public performance" phrasing. An insightful insight into the brain of debian-legal. Mao is deep ingrained into the brains of Debian Developers
marga: it has been observed that debian members respect each other.
Myon: are you explaining the rules?
marga: Myon, actually, I wasn't, but I wouldn't mind explaining them
dondelelcaro: Myon, is that against the rules?
Myon: I would have to take a penalty card if I said 'yes'
dondelelcaro: talking.
Enrico did the social guidelines dance outlining the recommendations for peaceful coexistence without resorting to telletubbie or inquisition practices. It sounded very reasonable as recommendations, but those must never be promoted to any kind of policy. Enrico also mentioned that. Penny Peach, we miss you. After dinner a bunch of small mexican-looking females bunched first around the Japanese guys and then around the group where I was in. They were all smiling and very exited. They spoke very fast Spanish while rubbing their clothes and making horizontal back-and-forth motions with their hands. Nobody of us spoke Spanish. And they kept speaking and rubbing. My mind raced to present one unlikely reasoning after another, but nothing really fitted the situation. After a few minutes of total confusion we found a Spanish speaker who found out that they wanted ... an iron. An iron to iron their clothes. Doh! I was so confused that I only got 1 blurry photo from the ... incident. Random note: the fan control system here is quite ... buttony. Then we had a BOF about packaging of web applications and other applications that need database access. Maintainers and users of such things will be happy to hear that the situation is being resolved and there will most probably be a policy for etch+1 for that. Large ISPs and hosting providers will be happy to hear that their need are also heard (or will be heard if you join the process) and most probably it will be possible to activate/deactivate a web application for a certain user at a certain path of a certain virtual host with a single command that can also be scripted. In any case if you are interested in this development, please participate now, so that your need can be heard too. After the BOFs the, now official and scheduled, wine and cheese party started. It was briefly interrupted by rain, but the tables were moved under the roof in seconds and the party continued. There were around 40 different cheeses. Most of them were French and almost all of them were very tasty (some were .. an acquired taste :)). I can't say anything about the wine (I do not like the taste of alcohol), but other tasters were expressing very positive remarks. The party went on for a long time with more and more cheeses and vines brought up with time. There was some more hair coloring going on. Then there was the demonstration of use of duck tape on an almost professional HD 1080i video camera. And then there was the public demonstration of present Debian swirl tattoos. Impressive. When I was just going to go to the bed, I was lured into another game of Mao. I must say that playing Mao right after the wine and cheese part is ... interesting. Some girls got ... lucky ... seven. And there was still quite a lot of hacking going on around two in the night when I went to sleep. Tomorrow is the daytrip.

Uwe Hermann: OS Install Experiences - Part 1: Debian stable + unstable [Update]

Debian Open Use Logo
Note: This article is part of my OS Install Experiences series.
OK, so let's start with something simple: Debian. Simple in the sense that there probably won't be too many surprises for me as a Debian developer (or for most readers of Planet Debian). For other people this might be interesting, though, and some facts are probably interesting to one or the other experienced Debian user/developer, too... Hardware A few words on the hardware I'll be installing all these OSes on. It's a cheapo (200 Euros) x86 PC (Intel Celeron, 2 GHz), 80 GB IDE hard drive, 256 MB RAM, ATI Radeon 9200 SE graphics adapter, Realtek PCI ethernet controller, CDROM, USB, and all the other standard stuff. Nothing fancy, really. Install
  1. First, I downloaded a Debian sarge 3.1r2 CD image, burned it on a CD, and booted from that.
  2. An installer menu showed up, where you can press F3 for boot options. I chose "expert26", which will ask me more questions and give me a 2.6 Linux kernel instead of 2.4.
  3. The installer (newt-based, i.e. not graphical) will now start to boot a base Linux system.
  4. Now, you can choose your language (used in the installer), country, region, and keyboard layout.
  5. You'll be asked which additional kernel modules you want to load (default: all), and whether you want PCMCIA support. Also, you can choose which extra installer components should be loaded (LVM, PPP, serial, IrDA, ...).
  6. Your hardware can be automatically detected (my Realtek card was successfully detected, the "8139too" kernel module was then loaded).
  7. The network was successfully auto-configured via DHCP within seconds.
  8. Now you can choose a hostname and domain name for the box. I used "hydra" as hostname (guess why), and "local.domain" as domain name.
Partitioning Now the funny part starts: partitioning the disk. As I will be installing >= 10 OSes, this needs a bit of consideration. I have chosen to create a 10 GB (primary) partition for a Redmond OS I'll be installing later (for games, testing, proprietary software I'm forced to use, and similar things). This will be the first partition and I marked it bootable, as Windows might choke otherwise. For the rest, I reserved 5 GB for each OS — that should do. So the next two (primary) partitions are 5 GB each. I'll leave these empty for now, as I might encounter obscure OSes which must be installed on primary partitions. Let's hope it won't be more than two ;-) As you can only have four primary partitions, I then had to create a logical partition, which will "contain" any further partitions. The next three (secondary) partitions are 1 GB each, intended to be used as swap. One of those I marked as swap in order to use it for Debian. Other Linux installations will be able to reuse this one. The other two are reserved in case I encounter OSes which have another form of swap and cannot use Linux swap partitions... The rest is easy: create twelve 5 GB partitions => lots of space for more OSes. Here's the resulting fdisk output:
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
      Device Boot      Start         End      Blocks   Id  System
   /dev/hda1   *           1        1216     9767488+  83  Linux
   /dev/hda2            1217        1824     4883760   83  Linux
   /dev/hda3            1825        2432     4883760   83  Linux
   /dev/hda4            2433        9964    60500790    5  Extended
   /dev/hda5            2433        2554      979933+  82  Linux swap / Solaris
   /dev/hda6            2555        2676      979933+  83  Linux
   /dev/hda7            2677        2798      979933+  83  Linux
   /dev/hda8            2799        3406     4883728+  83  Linux
   /dev/hda9            3407        4014     4883728+  83  Linux
   /dev/hda10           4015        4622     4883728+  83  Linux
   /dev/hda11           4623        5230     4883728+  83  Linux
   /dev/hda12           5231        5838     4883728+  83  Linux
   /dev/hda13           5839        6446     4883728+  83  Linux
   /dev/hda14           6447        7054     4883728+  83  Linux
   /dev/hda15           7055        7662     4883728+  83  Linux
   /dev/hda16           7663        8270     4883728+  83  Linux
   /dev/hda17           8271        8878     4883728+  83  Linux
   /dev/hda18           8879        9486     4883728+  83  Linux
   /dev/hda19           9487        9964     3839503+  83  Linux
Install, continued
  1. The Debian partitioning tool allowed me to do all of the above via a friendly menu. As it does not modify the partition table until you say "done", I could revert many changes, and play around with different layout ideas until I was satisfied.
  2. Next thing you can choose is the Kernel flavor (386, 686, smp).
  3. You may now configure and install GRUB, the bootloader. I installed it at "(hd0)", the master boot record of the hard disk.
  4. Soon the CD ejects, and you have to reboot.
  5. After a restart (which also shows whether GRUB works fine), you can now choose your timezone, and decide whether you want shadow passwords (say yes!).
  6. Now enter the root password, and decide whether you want to create an additional user account (say yes, and enter a different password here).
  7. You can now configure apt, e.g. tell it which sources you'd like to use (CDROM, FTP, HTTP, ...). You'll be asked whether you want to install software from Debian's "non-free" archive. After choosing a mirror (and proxy settings, if you like), you can (should!) also say yes to the question whether you want security updates...
  8. Finally, you may now choose "tasks" (desktop, web server, file server, ...) your machine should be able to perform; this will influence which packages will be installed. You may choose "manual package selection", of course, if you want more control. I used "desktop".
  9. That's about it. You'll see a few more application-specific questions (configuration of MTA, ssh, fonts, X11, gdm, and others), and after that you'll be left with a GNOME login window.
Security I collected some (partly) security-relevant information after that. Ok, so that's it for Debian stable. Unstable is 99% the same, except that you do a "vi /etc/apt/sources.list; apt-get update; apt-get dist-upgrade". I'll do that later maybe, compare the findings, and report notable differences here, but it shouldn't be too many (I guess). Not today, though, I need some sleep now. Comments, suggestions, flames? Update 2006-05-19: Updated "why is Debian-exim capitalized?" info as per comments, thanks!

18 May 2006

Evan Prodromou: 15 Flor al CCXIV

I started a new personal site today. I've had this domain for a while, but I haven't really done anything with it. Since we moved Wikitravel to the new servers at Internet Brands, I've decided to keep the old Wikitravel server active for personal projects such as this.

Wouter Verhelst: udev is pure crap.

For some reason, the kernel developers seem to like the "udev" system. For those of you who've been living under a rock for the past few years: udev is a pile of scripts that react to kernel hotplug events and will start setting up device nodes and go mount them, etc. While this is all probably very nice for users not very familiar with the system, it has one fatal flaw: It removes the perfectly deterministic and reproducible boot characteristics of a Linux system, and replaces them with something that will work when you're there, but break the next time. According to murphy's law, that "next time" is obviously when you're on vacation, the guy with access to the data center ran under a bus and is in hospital, and the breakage introduced with udev somehow also broke the VPN to your router, so you can't even remotely powercycle the beast. Or so. I don't like a system that starts playing with my device nodes. I have a static /dev, which does everything I need it to do; when I put a CD-ROM in the drive, I'll mount it myself, thank you. If I change something about my system configuration, I'm perfectly capable of modifying the configuration to match myself. I am perfectly happy with a system that will autoload kernel modules when I plug in some USB device, however, and there's nothing wrong with the ability to create some scripts that will set up stuff the way I want them to be. Hotplug allows all of that. By using hotplug, a USB mouse Just Works(TM) when I plug it in. There are more things like that, which Just Work. A USB key is not one of them, nor is a CD-ROM. And that's a good thing; I don't want filesystems to be mounted at random just because someone got hold of my laptop for a while. So don't use udev, I hear you say. And, well, I'm not. But the problem is that the kernel maintainers seem inclined to make it harder and harder to do so. And eventually, the result will be that I'll have to install a system which will break my boot sequence every other day just to be able to have a mouse work two seconds after I plug it in. Madness.

Jeff Bailey: Savage Love

Dan Savage writes in his column this week,


The American Taliban doesn't think married heterosexual couples should be able to use birth control. If you care about your own freedom - not just your right to have premarital sex, but your right to decide whether, when, and how many children you're going to have you need to read "The War On Contraception."


I have trouble imagining what people are thinking. A world where couples don't have sex? Can you imagine how much fighting there would be?

Okay, okay, so that's not the point. But with articles like Chicago economist links abortion to falling crime rates, it's incredibly distressing to see another attempt at taking away freedoms. While things like birth control and abortion are not in immediate risk here in Canada, it's hard to predict how long it would take for our our current Conservative leadership to start entertaining those thoughts.

I'm all for a principled discussion on sex and sexuality. But why don't people ever consider the concept that providing more tools to people is better than providing fewer?

Ted Walther: Why didn't King Solomon kill the two prostitutes?

On the long bus ride back from the Mexican pyramids, I got to think about a long standing problem. If Israel's laws forbade prostitution, why didn't Israel's greatest judge enforce those laws? We've all heard the story of King Solomon and the two harlot's, where he finds the real mother by threatening to chop the baby in two. Since the laws of Israel carried a death penalty for adultery, why didn't Solomon enforce it? People today equate prostitution with adultery, but the Bible does not. Not always. As the wisest man who ever lived, a walking embodiment of true justice, Solomons judgement deserves a deeper look. Here is the text of the whole incident:
1 Kings 3:16-28 Then came there two women, that were harlots, unto the king, and stood before him. And the one woman said, O my lord, I and this woman dwell in one house; and I was delivered of a child with her in the house. And it came to pass the third day after that I was delivered, that this woman was delivered also: and we were together; there was no stranger with us in the house, save we two in the house. And this woman's child died in the night; because she overlaid it. And she arose at midnight, and took my son from beside me, while thine handmaid slept, and laid it in her bosom, and laid her dead child in my bosom. And when I rose in the morning to give my child suck, behold, it was dead: but when I had considered it in the morning, behold, it was not my son, which I did bear. And the other woman said, Nay; but the living is my son, and the dead is thy son. And this said, No; but the dead is thy son, and the living is my son. Thus they spake before the king. Then said the king, The one saith, This is my son that liveth, and thy son is the dead: and the other saith, Nay; but thy son is the dead, and my son is the living. And the king said, Bring me a sword. And they brought a sword before the king. And the king said, Divide the living child in two, and give half to the one, and half to the other. Then spake the woman whose the living child was unto the king, for her bowels yearned upon her son, and she said, O my lord, give her the living child, and in no wise slay it. But the other said, Let it be neither mine nor thine, but divide it. Then the king answered and said, Give her the living child, and in no wise slay it: she is the mother thereof. And all Israel heard of the judgment which the king had judged; and they feared the king: for they saw that the wisdom of God was in him, to do judgment.
Whoredom, harlotry, prostitution; they defile the land. When Judah thought his daughter-in-law Tamar had become a harlot, he ordered her to be burnt. The problem was not with the sex for pay, but with violation of Judah's property rights. Tamar had been bought and paid for, and belonged to his family for the purpose of increasing their manpower. Biblically, sex for pay is fine. A ketubah (marriage contract) guarantees a woman a certain financial allowance in return for performing her sexual duties. The problem is that prostitution lowers the birthrate of the population, thus reducing its manpower, thus reducing its brainpower, thus reducing its ability to protect and defend itself. The connection between prostitution and lower birth rates isn't obvious to the layman, so just take it for granted right now.
Leviticus 18:20,28 Moreover thou shalt not lie carnally with thy neighbour's wife, to defile thyself with her. That the land spue not you out also, when ye defile it, as it spued out the nations that were before you. Leviticus 19:29 Do not prostitute thy daughter, to cause her to be a whore; lest the land fall to whoredom, and the land become full of wickedness.
Prostitution can fall into two categories; the woman is still the property of her father, or she belongs to a husband. Widows, divorced, and single women fall into the category of belonging to their fathers; they have a right to return to the family home and be supported there. How would a father prostitute his daughter? If he treats her harshly, refuses to marry her off to a suitable husband, does not feed or clothe her, train her or discipline her, she may well turn to whoredom to support herself. Look closely at the story of the two harlots. They say they have no man. They fall into the category of single women. Sex with a single woman is not adultery. Adultery carries the death penalty, but as single women, their prostitution was to be regulated by different laws. If a girl took up the prostitution trade, and then got married under false pretenses, pretending to be a virgin, the penalty was death. However no death penalty is indicated for the circumstance where the woman and her family were up front about her past. A man taking a wife needs to be able to accurately assess the risks of disease and future infidelity.
Deuteronomy 22:13-21 If any man take a wife, and go in unto her, and hate her, And give occasions of speech against her, and bring up an evil name upon her, and say, I took this woman, and when I came to her, I found her not a maid: Then shall the father of the damsel, and her mother, take and bring forth the tokens of the damsel's virginity unto the elders of the city in the gate: And the damsel's father shall say unto the elders, I gave my daughter unto this man to wife, and he hateth her; And, lo, he hath given occasions of speech against her, saying, I found not thy daughter a maid; and yet these are the tokens of my daughter's virginity. And they shall spread the cloth before the elders of the city. And the elders of that city shall take that man and chastise him; And they shall amerce him in an hundred shekels of silver, and give them unto the father of the damsel, because he hath brought up an evil name upon a virgin of Israel: and she shall be his wife; he may not put her away all his days. But if this thing be true, and the tokens of virginity be not found for the damsel: Then they shall bring out the damsel to the door of her father's house, and the men of her city shall stone her with stones that she die: because she hath wrought folly in Israel, to play the whore in her father's house: so shalt thou put evil away from among you.
Suppose a single woman was to work as a whore. What is the penalty? For the girl, no penalty at all. If she is a virgin turning her first trick, the man has to pay a hefty fine of fifty shekels to her father, who has the choice of giving her in marriage or not.
Exodus 22:16,17 And if a man entice a maid that is not betrothed, and lie with her, he shall surely endow her to be his wife. If her father utterly refuse to give her unto him, he shall pay money according to the dowry of virgins. Deuteronomy 22:28,29 If a man find a damsel that is a virgin, which is not betrothed, and lay hold on her, and lie with her, and they be found; Then the man that lay with her shall give unto the damsel's father fifty shekels of silver, and she shall be his wife; because he hath humbled her, he may not put her away all his days.
When she is no longer a virgin, her father either allows her to be a prostitute, violating the law at Leviticus 19:29, or he doesn't allow her. If her father allows her, then he becomes liable for her behavior and she is not punished, as described in Hosea 4:13,14 quoted below. If her father doesn't allow her, she is again subject to the death penalty, as set forth in the next set of verses:
Deuteronomy 21:18-21 If a man have a stubborn and rebellious son, which will not obey the voice of his father, or the voice of his mother, and that, when they have chastened him, will not hearken unto them: Then shall his father and his mother lay hold on him, and bring him out unto the elders of his city, and unto the gate of his place; And they shall say unto the elders of his city, This our son is stubborn and rebellious, he will not obey our voice; he is a glutton, and a drunkard. And all the men of his city shall stone him with stones, that he die: so shalt thou put evil away from among you; and all Israel shall hear, and fear.
In the case of Solomon's two harlots, there is no evidence at all that their father disciplined or otherwise acted to prevent them from their trade. Perhaps their father was dead, but in that case his responsibility to his daughters would have fallen on his next of kin. It really is a matter of family responsibility, not of persecuting individuals. There is one remaining corner case; what of the married woman who becomes a prostitute? What if the two harlots had been married after all? It is a principle of the Torah that it must be applied equally. You cannot hit one party with the full penalty then let another get off free for the same crime. It is better to err on the side of mercy, so if you do not convict one, you should not convict another. This is violated daily by un-Godly governments who selectively enforce their laws to "make examples" of people. Such selective enforcement is neither fair or just. In Solomon's case, assuming the women were married, the other parties to the crime of adultery were missing. Without them, there was no way to proceed. This is why Jesus was able to say "Let he who is without sin cast the first stone." The two witnesses rule also comes into it; before a person can be put to death two witnesses to the crime are required. Solomon's two harlots had no witnesses against them. When people engage in false worship, and use the services of whores, God will not punish the women who turn to adultery and infidelity. He will punish those who are responsible; the men, who failed to take their patriarchal prerogative in setting a good example of just, fair, respectful, and temperate behavior.
Hosea 4:13,14 They sacrifice upon the tops of the mountains, and burn incense upon the hills, under oaks and poplars and elms, because the shadow thereof is good: therefore your daughters shall commit whoredom, and your spouses shall commit adultery. I will not punish your daughters when they commit whoredom, nor your spouses when they commit adultery: for themselves are separated with whores, and they sacrifice with harlots: therefore the people that doth not understand shall fall.
If you have any Torah questions, feel free to write in to ted AT reactor-core DOT org.

Eric Warmenhoven: Edit This

I had a wonderful little entry written up talking about how I’m going to become a godfather, and how I switched web browsers, and other meaningless stuff, when it got eaten. I was nearly done with it too. I don’t know exactly what caused the crash, but I do know that it took down the entire screen process, and all the windows with it. This happens to me probably once a week. It only happens to me on DreamHost’s shell server though; it doesn’t happen to me on any of the other computers I run screen on. They all run Debian, but DreamHost is the only one that runs sarge; all the others run etch. So I blame you, Debian, and will keep blaming you until I actually look into the issue enough to figure out where the problem is. Also, I continue to hate LiveJournal, even after I’ve stopped using them. Lately they’ve started tinkering with what cookies they send and when, and which ones you need in order to read protected entries. When you request the RSS feed for a LiveJournal blog, first it redirects you to a place where it checks your ljmastersession cookie, then it redirects you to a place where it sets your ljdomsess.ljuser cookie, then redirects you back to the original page you requested. This works fine in standards-compliant browsers but in half-hour hacks that you put together yourself it sends you through an infinite loop of redirects. So I had to spend another half hour working to fix that fun problem. (It really wasn’t a problem for me, other than I wasn’t able to read LJ users’ blogs for a while; the UI still worked fine, since everything is done with libnbio.) I should have just used curl, and would have except their non-blocking IO API is crap. And in other obscure software news, my viwp plugin is occasionally broken, so I’ve stopped using it, which pisses me off. I don’t like the WordPress web authoring UI for a variety of reasons (largely because it’s just a textarea), and it’s not convenient for me to use a GUI tool, and I didn’t see a TUI tool worth using. So at some point I’m probably going to have to figure out why viwp is buggy and fix it. Until then I blame WordPress.

17 May 2006

Ross Burton: OpenedHand World Domination Progressing Well

The plans for World Domination by OpenedHand are going well. So well infact that we need more help: we're hiring an Embedded Linux System Engineer and a Technical Project Manager. For more details, see the OpenedHand Jobs page. NP: Always Beating, L'Onomatopeur

Matt Brown: Playing With ZoomIn

I signed up for a ZoomIn API Key (not that it seems to be needed atm…) the other week and finally got a chance to have a play this past weekend. My test case was to build a map of all the CRCnet sites and the links between them to use as a plugin in the CRCnet Configuration System. Either as a dynamic status display (colouring links to show traffic loads and status etc) or as a network planning tool to get a feel for the relationship between existing sites and potential new locations. Obviously the lack of topographical information makes the second case far less useful than it could be, but I think even in 2D it would still be a useful tool. Getting the points onto the map was relatively straightforward, but adding any sort of hover event to them was another matter. The GEvent class currently only supports the click event and markers are not added with any other identifying attributes (such as an ID or Name) which could be used to hook an event into them. After a quick squiz at the Terms and Conditions, I grabbed a copy of the API javascript and after unobfuscating it (basically just adding back in line breaks and running in through indent(1)) started to have a squiz at what was happening. The API code is very nice and clean and it wasn’t at all hard to work out what was going on. Mozilla’s Venkman javascript debugger absolutely rocks for this sort of work. It allows you to step through all the scripts on the page line by line and quickly get a feel for the flow of the code. Adding support for the hover (onmouseover) event doesn’t look like it would be too hard, but the T&C didn’t explicitly mention whether I was allowed to actually modify the API code, so I choose to simply create a CRCnetMarker class (see below) that creates GMarker object and then pokes id attributes onto the internal objects of that class before returning it. Then once you’ve called addOverlay you can use the basic DOM functions to hook in an onmouseover event handler on the ID of the marker.
var CRCnetMarker = function (sitename, point, icon)
 
    var marker = new GMarker(point, icon);
    marker.icon.id = "crcnet_container_" + sitename;
    marker.icon.firstChild.id = "crcnet_icon_" + sitename;
    marker.addEventListener = function (eventname, handler)  
         b = document.getElementById(marker.icon.firstChild.id);
         b.addEventListener(eventname, handler, false);
     
     return marker;
 
var marker = new CRCnetMarker(new GPoint(2704685.21,6367057.51), "mph");
map.addOverlay(marker);
marker.addEventListener('mouseover', hoverHandler);
That worked like a charm and I now have nice little info boxes popping up next to each node when you hover over them. I also discovered in the process of implementing this that Prototype and ZoomIn do not play nicely together. It appears to be Prototype’s fault as it messes with the Array type by adding new methods (like each for enumeration) which break the builtin for (i in array) syntax when the array contains non-numeric keys (like each). This has been reported in the prototype bug tracker as breaking Yahoo Maps but the comments don’t seem to offer much hope for Prototype’s behaviour changing anytime soon which is a pity. The next roadblock was a lack of support for drawing lines! This put the kibosh on the whole animated network status idea. Trolling through the source again reveals a GPolyLine class that appears to be semi-implemented, so hopefully support for drawing lines is coming very soon. The only other thing I found slightly annoying was having to supply all the co-ordinates in NZGD49 format. Most of our GPS information for CRCnet is stored in WGS84 format (as that’s what our older GPS unit puts out). NZGD49 has been deprecated in favour of NZGD2000 (which is near enough to identical to WGS84 for normal use) so I’m not really sure why ZoomIn is still using NZGD49. Maybe that’s all TerraLink can supply? Some quick googling turned up the proj library (apt-get install proj in Debian) which provides the cs2cs utility which can convert from WGS84 (aka NZGD2000) to NZGD49 to feed to ZoomIn. The magic peice of information is the transformation parameters which LINZ helpfully provide. Punching those (I chose the 7 parameter version) into cs2cs via a command line like

echo "$lat $long" /usr/bin/cs2cs +proj=latlong +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0 +nodefs +to +proj=nzmg +datum=nzgd49 +ellps=intl +towgs84=59.47,-5.04,187.44,-0.47,0.10,-1.024,-4.5993 awk ' print $1" "$2 '

performs the magic conversion. The conclusion?
Overall I think ZoomIn rocks and it’s really cool to see a small NZ company filling in where Google and friends have failed miserably. The biggest weakness at the moment is definitely the API, which doesn’t really allow you to do much more than add points at this stage. Given that ZoomIn is still relatively young the leanness off the API is understandable. Given the API a few more months to mature and fill out and I think we’ll be able to create some really cool applications on top of the ZoomIn platform. Screenshot:

Wouter Verhelst: Linux: a means of circumventing valuable copyrights and patents.

At least according to this clueless republican:
Like all the greatest American engineering, it's an example of innovation that makes a growing group of European and Chinese hackers jealous. They hate our lead in computing technology and will stop at nothing until they have control of all our computers.
Hah. Let me tell you, Shelley, I am not jealous of anything. The only thing I feel about people using Windows is pity; you are giving away your freedom in return for some Pride.
If you see a company using Linux, it may be that they have not paid for this software. Report them to the Business Software Alliance who have the legal authority to inspect any company's computers for illegal programs like Linux.
Rotfl. First, the BSA has the legal authority to do absolutely zilch. Second, using Linux is anything but illegal. Get a life. No, really. Update: While I was sleeping, I received no less than 24 comments that the site is not real. I get the picture. Get off my back. :-)

16 May 2006

Wouter Verhelst: Linux: a means of circumventing valuable copyrights and patents.

At least according to this clueless republican:
Like all the greatest American engineering, it's an example of innovation that makes a growing group of European and Chinese hackers jealous. They hate our lead in computing technology and will stop at nothing until they have control of all our computers.
Hah. Let me tell you, Shelley, I am not jealous of anything. The only thing I feel about people using Windows is pity; you are giving away your freedom in return for some Pride.
If you see a company using Linux, it may be that they have not paid for this software. Report them to the Business Software Alliance who have the legal authority to inspect any company's computers for illegal programs like Linux.
Rotfl. First, the BSA has the legal authority to do absolutely zilch. Second, using Linux is anything but illegal. Get a life. No, really.

Wouter Verhelst: Kerberos: final note.

Just a little followup to my two previous blog posts about kerberos: Kerberos needs a few things to be set up correctly before it'll work. If you've set up everything correctly as I explained it previously, and it doesn't work, make sure you have these done right: Posted since I just revived newwave, my Quara 700, which hadn't been kerberized yet, bumped against the latter of the above two points, and played with the machine for a few hours until I realized what the problem was... and because this wasn't the first time that it happened and, I guess, not the last time either.

Uwe Hermann: Look ma, I found a kernel bug!

Oh great. I have experienced random hangups of my Laptop recently, and I had absolutely no clue what caused them, even after a reboot and looking into the logfiles. Today, after another hangup/crash I think I found the problem (but not the solution):
May 16 00:08:35 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out
May 16 00:08:35 localhost kernel: sky2 eth0: tx timeout
May 16 00:08:35 localhost kernel: x45 [sky2]
May 16 00:08:35 localhost kernel:  [pg0+943960755/1069376512] sky2_poll+0x469/0x548 [sky2]
May 16 00:08:35 localhost kernel:  [pg0+953407031/1069376512] nv_kern_isr+0x31/0x63 [nvidia]
May 16 00:08:35 localhost kernel:  [net_rx_action+82/199] net_rx_action+0x52/0xc7
May 16 00:08:35 localhost kernel:  [__do_softirq+52/125] __do_softirq+0x34/0x7d
May 16 00:08:35 localhost kernel:  [do_softirq+34/38] do_softirq+0x22/0x26
May 16 00:08:35 localhost kernel:  [irq_exit+41/52] irq_exit+0x29/0x34
May 16 00:44:32 localhost syslogd 1.4.1#17.2: restart.
May 16 00:44:32 localhost kernel: klogd 1.4.1#17.2, log source = /proc/kmsg started.
Note that I could do absolutely nothing on the laptop anymore, no moving the mouse, no typing on the keyboard, no switching from X11 into a text console, no CTRL+ALT+BACKSPACE to kill X11, no CTRL+ALT+DELETE to reboot, nothing. I think sky2 (network driver) or the NVIDIA driver may be the culprit (or a combination of both). After some searching it seems other people have/had similar problems, but not quite the same... I guess I'll have to file a bugreport somewhere...

15 May 2006

Christian Perrier: Debconf - day 1

So, day 1 started when I felt asleep in the plane, at some randome place over the ocean near Galicia. We actually had a good sleep as the other place people weren't noisy even though the plane was packed. Woke up at 03:00 (MEX time). After a few listening music, I found myself using the free time to read the huge Report of Findings about Gender in F/LOSS recently mentioned in the Debian-Women mailing list. This is a very deeply interesting document which is a quite complete picture about the "Women in F/LOSS" topic. The people interested in the Debian Women project should definitely have a look at it. We finally landed easily at 06:30 local time. No problem going thru the customs, even though 3 of us were carrying more cheese than needed to be considered a terrorist group trying to invade Mexico. Cab drive to Oaxteprc went fine. The scenery is quite impressive and the pass at 3100m on the highway is....a bit strange for all of us. When arriving the Oaxtepec center we soon met with Enrico who helped us to discover the place, which is good as is is BIG... Found my room, with Damog and Ana sleeping in it (sleeping drunk as I was told later...:-))). So, I gently left my luggage there and we moved to have some breakfast at the market. I ate some really good tasting stuff which names I've no idea of, but thanks to Magic Enrico and his incredible abilities to catch any language in the world, we managed to do it. Back to the Tower for the Introductory talk...it was hard to be there in time with all these people crossing my path and who I need to say "hi" and babble with again. Later in the afternoon, after lunch, I felt more and more tired, so I missed Enrico's talk (Enrico, apologies!) and just isolated self, listening to good old Hot Tuna stuff and working on my business mail (yeah, I know, it's Sunday). More energy retrieved helped to finish the afternoon by hanging around here and there, trying to set up two ad-hoc sessions aimed at gathering all people interested in i18n to have some brainstoriming about what we want for i18n infratructure and all similar topics. Finally, at the end of the day, I attended Meike's training session for speakers. Really interesting moment to share with Aigars Mahinovs, Neil Mc Govern (hope I got it right), Bruno (Barrera), Martin Krafft. OK, we all suck on some aspects of our presentation skills but we less suck now (I'm afraid I will still suck by talk unpreparation as you will all notice for the "State of the art of i18n" I share with Javier on Saturday). And, finally, yes, finally...bed at midnight. Not so bad to recover from jet lag. Now I'm ready for a full Debconf Day, full of energy. Be prepared to a lot of bubulle's babbling, dudes.

Martin F. Krafft: Google foreign cookies

If I search for e.g. "AT&T" with Google, why in the world does Firefox ask me whether I want to store a cookie for the domain www.att.com? Update: James Andrewartha and Lionel Elie Mamane both told me about prefetching. That explains it. One day I'll figure out how to get Firefox to display the page source.

14 May 2006

Adam Rosi-Kessel: Comcast: Human or Automaton?

I’m not the first person with a story about the sad state of Comcast. Since I’m certain I’m never actually going to get a True Human to read my email at Comcast, I’ll just post my brief exchange regarding Comcast’s SMTP servers here. Maybe some future archaeologist of the Internet will point to this exchange as early evidence of the End of Email: I posted the following to Comcast’s website feedback form — apparently there is no publicly advertised email address for communicating with Comcast:
Please forward this email to an engineer responsible for Comcast’s SMTP service. I run an ISP. Email to @comcast.net addresses often bounces with a “556 null byte in data” rejection connecting to gateway-s.comcast. I use postfix from Debian Sarge. This is not a problem on my end. There are numerous reports of this problem in newsgroups (just google ‘556 null byte in data’ ‘comcast’). The problem is independent of mail user agent and ISP. Note that this is *not* an issue of my users attempting to connect to the Comcast SMTP server themselves—I understand there is some issue where Comcast only accepts SMTP/SSL/TLS now for its users. This is a *delivery* problem. I have seen some speculation that Comcast’s SMTP servers are rejecting email with this error because of either large attachments or attachments with long filenames. I have seen the problem occur where the attachments are very small (on the order of 10K), but I haven’t ruled out the latter explanation. Please let me know if there is anything I can do to fix this problem. My users would like to be able to email Comcast customers.
Comcast’s response:
Dear Adam KESSEL, Thank you for taking the time to write us. Comcast is aggressive about protecting its’ subscribers from unwanted and unauthorized emails. In keeping with industry standards and best practices some recent changes to our filters have been made.If you are attempting to send emails to legitimate recipients in the Comcast.net domain, and receive an error message there are 3 likely reasons: 1. Your mail server has been identified as a source of Spam. Our mail filters have been updated to reject all mail from your server until the administrator of your mail server contacts us to request the server be removed. 2. The source of your message has a dynamic email address. Anyone attempting to email into the Comcast domain directly from a Dynamic IP address will receive the following error message: Comcast does not support the direct connection to its mail servers from residential IPs. Your mail should be sent to comcast.net users through your ISP. Please contact your ISP or mail administrator for more information. 3. Your mail server has an invalid rDNS value. What this means is that our mail filters authenticate each message by checking the rDNS value to ensure its’ a legitimate domain and yours wasnot. The error or “bounce” message you receive will indicate which reason the message was rejected. Youwill either be given the address to request Blacklist removal or you will be directed to our rDNS FAQpage. If a domain administrator feels that their IP range has been blocked in error or they would like information on required steps to be removed from our black list, they can contact us at: blacklist_comcastnet@cable.comcast.com If you need assistance setting up email through your ISP?s mail servers please visit their support pages or contact their support group. If you need information on the rDNS block, please visit: http://www.comcast.net/help/faq/index.jsp?faq=Email118405 Thank you for the opportunity to assist you. If you need further assistance with any of your Comcast services please reply to this email and we will be happy to assist you. Thank you again for choosing Comcast we appreciate your business. To visit our local support page including links to contact us via Live Chat, as well as many downloadable forms,and FAQ pages, please visit: http://www.comcast.com/nesupport/ Did you know that Comcast offers its customers a variety of free benefits? These include McAfee Antivirus, Firewall and Privacy software as well the Comcast tool bar that lets you take Comcast.net with you while you surf, and the Desktop Doctor to help you restore lost settings…plus much more, please visit http://www.comcast.net/downloads/ to see all of the extras that we provide. Sincerely,
Irene Comcast Electronic Customer Care - New England You can email us anytime by replying to this email or by clicking the “Contact Comcast” link found on the bottom of all www.Comcast.net and www.Comcast.com webpages. Our Electronic Customer Support teams are available to assist you 24 hours a day 7 days a week. **************************************************
The response contained in this message is intended for the addressee only and may vary from other ponses depending on geography, promotional campaigns or other factors. If you are not the intended recipient of this response, please delete this message. Any unauthorized use or dissemination of the information contained in this message is prohibited.
**************************************************
The last bit about “unauthorized use” is a nice touch. My follow-up:
The 556 null byte SMTP error is *not* a spam or blocking related rejection. My mail server is (1) not a source of spam (2) does not have a dynamic IP address (I assume below whenyou wrote “dynamic email address” you meant “dynamic IP address”); it is not a residential IP but rather a commercial ISP that I run; and (3) the mail server has a valid reverse DNS lookup. To clarify: not every email is being rejected from the ISP’s IP address. In fact, the same sender can send from my ISP multiple times to a Comcast subscriber, and most messages will get through. There appears to be a bug in your SMTP delivery server whereby certain triggering events cause a 556 null byte error. There is at least some evidence that one such triggering event is an email with an attachment with a long filename. This is not a spam filter issue. This is a Comcast SMTP configuration issue. As you will see if you google “‘556 null byte in data’ comcast” this is awidespread problem that is entirely unrelated to Comcast’s zealous efforts to block unsolicited email. Please forward my email to an engineer or technician. Thanks,
Adam
Finally, Comcast’s witty retort:
Dear Adam Rosi-Kessel, Thank you for taking the time to write us. Commercial Email Accounts We have to apologize, but at this time you must contact our Commercial Business support team by calling one of the following toll free numbers 888-824-8105 or 888-824-8155, 1-888-737-8361 Thank you for the opportunity to assist you. If you need further assistance with any of your Comcastservices please reply to this email and we will be happy to assist you. Thank you again for choosingComcast we appreciate your business. To visit our local support page including links to contact us via Live Chat, as well as many downloadable forms,and FAQ pages, please visit: http://www.comcast.com/nesupport/ Did you know that Comcast offers its customers a variety of free benefits? These include McAfee Antivirus, Firewall and Privacy software as well the Comcast tool bar that lets you take Comcast.net with you while you surf, and the Desktop Doctor to help you restore lost settings…plus much more, please visit http://www.comcast.net/downloads/ to see all of the extras that we provide. Sincerely,
Ivonne Comcast Electronic Customer Care - New England You can email us anytime by replying to this email or by clicking the “Contact Comcast” link found onthe bottom of all www.Comcast.net and www.Comcast.com webpages. Our Electronic Customer Support teams are available to assist you 24 hours a day 7 days a week. **************************************************
The response contained in this message is intended for the addressee only and may vary from other responses depending on geography, promotional campaigns or other factors. If you are not the intended recipient of this response, please delete this message. Any unauthorized use or dissemination of the information contained in this message is prohibited.
**************************************************
If anyone has interesting ideas about how to get past Comcast’s front lines, I would like to know.

Roland Mas: New hackergotchi at last

Thanks to Lars Wirsenius’s mugshots gallery, I finally updated my hackergotchi on Planet Debian to something that doesn’t look like a bunch of pixels randomly thrown together. Oh, and wireless net plus a working battery rocks.

Matthew Palmer: Curious Perversions in Software Engineering

I've been ill with flu the last few days, so I've been doing very little other than sitting huddled in my recliner, with a large, warm blanket over me, and my hot water bottle (AKA the laptop) to work on. As a result, I've been doing a fair amount of random coding, and I've come away with a larger-than-average amount of... weird shit. It maybe the flu, the strong drugs I've been taking to keep the symptoms under control, or maybe just the phase of the moon, but I haven't coded up this much madness in quite a while. Let me take you through them. The Proctologist I've been writing some software which has to talk to an XML-RPC server. Not so weird. However, because the system lacks any inherent security, the (strongly) preferred method of communicating with this server is via a Unix socket. That's right, I'm doing XML-RPC over HTTP over... a Unix socket. That, you may think, is weird. Well, it is, but it isn't the curious perversion in and of itself -- for a start, I didn't write that monster, and I'm only blowing my own trumpet in this article. No, the perversity is in how I wrote *my* software to deal with it. See, I'm using Ruby for this software, and the standard Ruby XML-RPC client uses the built-in Net::HTTP library that comes with Ruby (which is a killer little HTTP library, BTW). Because the authors of Net::HTTP were lacking in imagination (or crack pipes) they didn't think to include the native ability to talk to Unix sockets. I mean, really -- isn't that the most important feature in a HTTP library? I think we all know the answer to that. Anyway, despite the lack of forward planning (and crack pipes) on the part of the Net::HTTP authors, I needed to get it to talk to a Unix socket. I could have done the long-winded thing and spend a pile of time putting in handling of pipe:// (crack or otherwise) URLs, but then I would have also had to add support for it to the XML-RPC client library (which did URL validation before passing it on -- good for it). And really, I don't think I could have handled the guffaws of laughter when I attempted to submit the patch upstream. Instead, I put Ruby to it's perfectly-suited use. I simply created the XML-RPC client object (which created the Net::HTTP object internally), then inserted my gloved finger and replaced the default TCP socket object in the Net::HTTP object with a specially crafted Unix socket object pointing to the correct place. "Dear god almighty!" I hear the practitioners of good software engineering practice exclaim. "Doesn't Ruby have protection against such atrocities?" Why, yes, it does. All of the objects I had to play with are private instance variables of their parents, and I can't get access to them normally. However, classes in Ruby are never closed, so I just reopened them and added accessor methods (which, in Ruby, is as simple as attr_accessor :http) so I could do my nasty little thing. I'm quite happy to take the heat for doing what I did. It breaks encapsulation, and makes everything that little bit more complex. But, on the other hand, it let me get the job done -- the language gives you full protection until you say "may I?" and then it gets out of your way. Personally, I reckon that's a nice tradeoff between C-style full control (where even the best programmers blow their foot off on a regular basis) and B&D; languages where you'll never shoot yourself in the foot, but instead you'll gnaw your leg off in frustration. Russian Dolls I'm doing a bunch of interesting things with the Xen hypervisor for work. Of course, you need to have a way to test all this stuff, and despite a number of hints, work still hasn't gotten me that fully-kitted out dual-core Opteron that I want to test (and transcode all my video <grin>) on that I always wanted. So, instead I've installed Linux in a qemu image, and then put Xen on that. Surprisingly, it's worked really well -- I've got Xen running quite happily in the virtual machine, and I can create and run Xen domUs (the guest VMs) in the usual fashion. Now all I need to do is install UML in a Xen domU, and then run some vservers inside that UML, and I'll have the full collection...

Next.

Previous.