Saturday, October 11, 2008

Public transit as lesson in cryptanalysis

Every time we ended up in a new city (Brussels, Paris, Rothenburg, Prague, Berlin, Potsdam, Amsterdam), we faced the task of decrypting the local public transit coding system. Here's how it works:
  1. Figure out where you are (here). You also have to figure out closest access point to the transport system.
  2. Figure out where you are going (there). Then figure out where the transport system comes closest to there.
  3. Figure out what transport or combination will get you from here to there. The answer will be a set of letters and numbers (Bus 175, U-bahn 3, S-bahn 4, Tram 3, RE 29552, etc.)
  4. Since most of these transports go in two directions (northbound buses have a southbound return), you also need to figure out how that is coded. Usually, it is in the form of the terminus, so you have"4 Stalle P" or "4 Esplanade" for your options on the #4 metro in Brussels. Usually, Those termini can be located on a map. When they are not (for example, because the terminus is outside the area of the map), you must figure out some other means of deciding which identifier to use. Good luck with this latter method; I suggest you memorize the regional history and geography. Unsuccessful decodes of this trick occasionally result in hopping off at the first stop after the error is detected and getting on the opposite direction. For that reason, day passes are frequently a much better deal than single- or finite-trip tickets.
  5. Then you need to figure out the connection points (stops and transfers). In some areas, this isn't too bad, but in Prague it basically meant memorizing random strings of quasi-latin characters mixed with lots of diacriticals. In most foreign places, the place names don't hold much meaning and the letters are sometimes awkward, so this step frequently means counting the number of stops.
  6. Then you need to figure out the track, platform, dock, or whatever where you meet each transport. Frequently, this also meant figuring out the local word for "track" or "dock" (e.g. "gleis" in Germany). Bus and tram stops may be on opposite sides of the street, 100 m apart. Metro (subway) stops are in different areas of the underground structure, depending on direction.
Since we were frequently on the move, we had to decode these things as we went. The biggest challenge was Prague; the easiest was (surprise?) Paris. The most effective system, thought, seemed to have been Berlin. The drivers in the Amsterdam trams were very helpful, but the system (as noted below) seems overall very inefficient.

A few things helped with the decoding process:
  • Maps. Cities with a large numbers of tourists should put detailed maps at every site. There ought to be an easy way for tourists to obtain maps. A coin-op vending machine inside the vehicle and at major connection points, for example. And these maps should include not only the system map (great for planning a trip), but a geographical map showing the city with the system superimposed so that you can find your way from real places to the transit system stops. The first time I was in Paris, someone stood at the train platform and handed out bus maps, but I couldn't find one to save my life this time. Prague in particular seems to have something against maps; you can't even find a good system map on their metro system website.[1] They have a route planner tool, but no map. Very rarely did I see a decent map at one of the tram stops. Germany and Belgium both seemed to do a very good job of including not only a system map at each stop, but a map of the area above the subway station so that you can pick the best exit.
  • Visual indicators of destinations: At the stairwells to all of the Paris metro stations, where you take the final flight to the platform (which means that you select your direction by taking that set of stairs), they list the approaching stops. This was really handy since after a while I recognized both terminus (termini?) names but could no longer remember which one was which direction; the list of stops was a quick reminder and as a bonus you could usually see your stop and count off how many. Similar devices were found in buses and trams, but this is very inconsistent: some have nothing at all, some have a map showing the overall system (but you don't know which direction you are going until you get to the next stop), some have a live display that shows where you are and what is coming up. You could get 3 different vehicles on the same route and see all three methods.
  • Visual indicators of arrivals: Notices at each stop that signal how long until the next transport. Paper timetables are minimally acceptable (at least you can figure out how frequently they come), but electronic displays give you some confidence that something is actually coming. In Prague, we were the victim of a construction-driven diversion; the signs were all in Czech, so we could tell something was going on, but didn't know how long we should wait for a tram that might never come.
  • Directions to/from hotels and major train stations and airports detailing which transports and which direction.
Finally, you have to figure out how to get tickets and to validate them. In some places, you validate on the bus or tram, other places you validate at the station or platform. In some places, you can easily buy 24 hour or multiple day passes, other places you get multiple trip passes. Figuring the local system out was another game requiring decoding.

The absolute stupidest thing we saw in Prague was that the machines that give tram tickets only accept coins, the ATM only gives bills, and nobody seems to want to give change. Luckily, I had some warning about this problem so I knew to go to work on it instead of standing around looking for an easily accessible solution. To date, the best luck I have ever had with the ticket problem was the NYC subway, which allowed me to fill day passes with my ATM card, no cash required. I think something similar was available in Paris, but it wouldn't take my card for some reason (odd, since it worked every where else).

The system in Amsterdam was equal parts good and bad. First, the information desk inside the Centraal [sic] station was of little help in finding our tram. She insisted everything was outside, to the left, by the white building. Outside, to the left, some trams but not all, no white building. After a while, we got curious about something going on further to the left and discovered -- on the far side of some construction walls -- a white building and more tram stops. I guess the people at the info desk don't come through the front and don't realize that the white building, which perhaps they are used to seeing, is no longer visible?

In any case, you buy a 15 trip strip card. Every time they stamp it, though, they stamp 2 trips per adult (with manual time stamper). So, it's really a 7.5 trip ticket. Why not call it that? Then, to make matters worse, everyone getting on the tram conducts a miniature negotiation with the "driver" (the brake and accelerator operator: it's on rails), which is really inefficient. There is, however, a staffed kiosk in the rear of the tram; why they don't automatically direct everyone who doesn't have a pass to that, I don't know. However, it was really handy to have someone to conduct ticket sales and to ask directions. And the driver was sure to point out your stop if you told him where you were going during your negotiation.

Anyhow, in case it isn't obvious, I really enjoyed the challenge of learning each system and having the opportunity to do so much comparative study of organizations in a compressed period of time.

-------------------------------------
[1] I noticed in the old photographs at the Museum of Communism (above McDonalds and a casino, across from Benetton) that many street signs were burned during the Prague Spring, a step which makes it harder for, say, unfriendly tourists in tanks to find their way around. Perhaps the aversion to public maps is a leftover from their recently traumatic history?

Labels: , , ,

|

Gueuze

It's not just for breakfast anymore!

What is it? It's a blended lambic. Definitely an acquired taste. I acquired it in the second sip. I asked the knowledgeable chap in the beer store (sorry, can't remember the name, it's behind the Bourse on Rue au Beurre next to the Leonidas chocolate store) for the most interesting tasting lambic he had. He immediately went to the Mort Subite. Apparently, this style is known as Brussels Champagne.

Labels: ,

|

Friday, October 10, 2008

Almost great

This video:


Almost great because it'd be interesting to see it done with era-appropriate references for John Kerry, George W., Al Gore, George H. W., John Kennedy, FDR, etc.

In other words, ... yawn, another no-thought, one-sided, partisan rhetorical attack that, when applied with equal enthusiasm to both sides, is likely to backfire. "Out of touch" applies to everyone living inside the beltway. How 'bout if we also lampooned people who had never held a job in the private sector (Bill Clinton, Barrack Obama, Al Gore, George H. W., Eisenhower)? Or that required manual labor (probably everyone since Truman, and many before)?

Labels: ,

|

Scary: Arrogance vs. Ignorance

Looking at this video featuring Katy Couric's interviews of Joe Biden and Sarah Palin, it's hard for me to say which is worse. Palin's lack of an answer to Couric's questions, "What other supreme court decisions do you disagree with? ... Can you think of any?" is astounding [1]. I would like to see the same question asked of Couric herself, though. I think 98% of the population, when set in front of a TV camera and asked questions that they aren't warned about, might freeze up for the exact name of more than one Supreme Court decision. Then again, 98% of the population is not trying to get into the office one heartbeat away from the Presidency.

But the Biden answer, which Couric listens to and does not try to challenge in any way, is scary for both its wrongness and for its demonstration of arrogance and raw power lust. Biden says:
What does [Roe v Wade] say? It says in the the first three months that decision should be left to the woman. In the second three months where Roe v Wade says well then the state the government has a role along with the woman's health they have a right to have some impact on that. In the third three months they say the weight of the government's input is on the fetus being carried.
In fact, the relevant text is as follows:

(a) For the stage prior to approximately the end of the first trimester, the abortion decision and its effectuation must be left to the medical judgment of the pregnant woman's attending physician. [emphasis added] Pp. 163, 164.

(b) For the stage subsequent to approximately the end of the first trimester, the State, in promoting its interest in the health of the mother, may, if it chooses, regulate the abortion procedure in ways that are reasonably related to maternal health. Pp. 163, 164.

(c) For the stage subsequent to viability the State, in promoting its interest in the potentiality of human life, may, if it chooses, regulate, and even proscribe, abortion except where necessary, in appropriate medical judgment, for the preservation of the life or health of the mother. Pp. 163-164; 164-165.
Note that Biden's error with respect to the first part is that the decision is not left to the mother, it is left to the attending physician [2]; at no point is a right for the mother to choose left to her. It also does not specify a second trimester or third trimester. At some point, should the point of viability be pushed back to the beginning of the second trimester, the text allows proscription of abortion. As to his repeated claim that Roe v Wade is the closest we can come to a consensus, I argue that it is not and that there are good reasons to abandon it here.

He then goes on to assert that the 14th Amendment offers a right to privacy. Here again, the actual text is:

Section 1. All persons born or naturalized in the United States, and subject to the jurisdiction thereof, are citizens of the United States and of the State wherein they reside. No State shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States; nor shall any State deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws.

Section 2. Representatives shall be apportioned among the several States according to their respective numbers, counting the whole number of persons in each State, excluding Indians not taxed. But when the right to vote at any election for the choice of electors for President and Vice President of the United States, Representatives in Congress, the Executive and Judicial officers of a State, or the members of the Legislature thereof, is denied to any of the male inhabitants of such State, being twenty-one years of age, and citizens of the United States, or in any way abridged, except for participation in rebellion, or other crime, the basis of representation therein shall be reduced in the proportion which the number of such male citizens shall bear to the whole number of male citizens twenty-one years of age in such State.

Section 3. No one shall be a Senator or Representative in Congress, or elector of President and Vice President, or hold any office, civil or military, under the United States, or under any State, who, having previously taken an oath, as a member of Congress, or as an officer of the United States, or as a member of any State legislature, or as an executive or judicial officer of any State, to support the Constitution of the United States, shall have engaged in insurrection or rebellion against the same, or given aid or comfort to the enemies thereof. But Congress may by a vote of two-thirds of each House, remove such disability.

Section 4. The validity of the public debt of the United States, authorized by law, including debts incurred for payment of pensions and bounties for services in suppressing insurrection or rebellion, shall not be questioned. But neither the United States nor any State shall assume or pay any debt or obligation incurred in aid of insurrection or rebellion against the United States, or any claim for the loss or emancipation of any slave; but all such debts, obligations and claims shall be held illegal and void.

Section 5. The Congress shall have power to enforce, by appropriate legislation, the provisions of this article.

Again, even though I think a right to privacy may exist [3], I cannot find its guarantee anywhere in that amendment. A guarantee of due process is not the same thing, since the state may, after going through due process, deprive you of any damn thing it wishes, including your privacy and even your life. His rejoinder to people who might want to see such a right enumerated is that he thinks people have an inherent right to privacy. So the game is:
  1. Claim it's in the constitution.
  2. When it is pointed out that it is not, shift the debate to "inherency" of the right.
Suddenly, we're into the realm of the metaphysical, where we have god-granted and other natural rights whose origins are beyond rational debate. But it is phrased as if we were still talking about the content of the 14th Amendment.

Biden's final foray into Constitutional Law in the interview is to first turn the concept of federalism on its head by abusing the language and intent of the Commerce Clause, then to claim that his hearings "proved" there was a interstate commerce effect of abuse [4], and then to claim that the Supreme Court is wrong in its decision. He begins by claiming authorship of the Violence Against Women Act (VAWA) of 1994, claiming this allowed women to sue men in federal court. You wouldn't know it from Mr. Biden's statements, but there are already state and local criminal laws against such abuse, and nothing I know of which prevents the abused from suing the abusers. So what was the purpose of federalizing? The argument for federalizing (not explored in the interview) was based on the claim that state and local authorities do not prosecute crimes against women nearly as often as crimes against men.

Now, surely Senator Biden knows that the basis for using the Interstate Commerce Clause as the basis for federalizing is a Pandora's Box for abuse of power? I hold that there is nothing that couldn't be tied to interstate commerce. For example, let's say that a farmer is raising wheat for consumption on his own farm. It isn't being sold commercially or otherwise, and it isn't being transported across state lines. Clearly, that has nothing to do with interstate trade, right? Wrong, said the Supreme Court in Wickard v. Fillburn [5]. In fact, they were correct in that part of their reasoning [6] since any commodity grown for home consumption is competing directly with commodities being sold. Back massage? Deprives masseuses of their income. Vacuuming the carpet? Deprives maid service companies of their income. Napping? Deprives employers of your productive time and television advertisers of your eyeballs. Thus, production of anything can be called "interstate commerce", and therefore everything comes under federal rather than state or local jurisdiction. This stands the concept of the United States of America, a federation of independent states collectively united for a few specific purposes, on its head.

But even if we were to accept the need and the Constitutional basis for the Act, it is far from being the clear assertion of Civil Rights protection that Biden seems to assert. According to the Wikipedia article on he Act, even the ACLU originally opposed portions of the VAWA,
saying that the increased penalties were rash, the increased pretrial detention was "repugnant" to the US Constitution, the mandatory HIV testing of those only charged but not convicted is an infringement of a citizen’s right to privacy and the edict for automatic payment of full restitution was non-judicious [emphasis added]
Interesting that privacy advocate Biden is not above violating the privacy of men [see note 4 again] when it advances his political ambitions.

Like many "living constitution" advocates, Biden likes to play both sides of the game. When the constitution is on his side, he pounds on the constitution. When it is against him, he pounds on the ability of courts and congress to go over, under, and around it on the basis that concepts like "original intent", "enumerated rights", and other text-based arguments are obsolete, relics of the past. This is a man who -- like George W. Bush and Bill Clinton and so many other presidents who have come before -- is enthusiastic about asserting greater power for the executive branch to monitor and regulate the private lives of citizens.

Where were Couric's follow up questions similar to those she condescendingly put to Palin:

"So, is there any assertion of government power with which you disagree?"

"Can you think of any?"

--------------------------------------------------------------------------
[1] Having personally seen how interviews go from casual discussion to final product, I caution that one must remember that these things are edited for effect. This seems to be a "gotcha", but I would want to see raw video first.

[2] As a matter of historical fact, the original bans on abortion came from the AMA's own opposition to it. Also, recall that "the attending physician", as licensed by the state in accordance with the AMA's own campaign to restrict competition, is effectively an imperfect agent of the state.

[3] Can we define privacy? Most crimes can be said to be committed in private, so I don't see this as an easily defined concept.

[4] Interestingly, only when it is a woman abused by a man: not men abused by other men, not men abused by women, not women abused by women, but only women abused by men. According to arguments aggregated on this site, the definitions of man as abuser and woman as victim are so embedded that the strings attached to shelter funding provided by the act proscribe admitting men to abuse shelters:

Although a significant number of domestic violence victims are male, VAWA defines victims as female. As one result, tax-funded domestic violence shelters and services assist women and routinely turn away men, often including older male children.... A lower-bound figure is provided by a recent DOJ study: Men constituted 27 percent of the victims of family violence between 1998 and 2002....


By omitting male victims from their efforts, however, domestic violence activists create the impression of a national epidemic that uniquely victimizes women who require unique protection.

So Biden's law seeks to correct a problem -- lack of prosecution of crimes against a minority (actually, women make up 51% or more of the population) -- by making sure that the "majority" are doubly wronged: first, by violating their rights to privacy and due process, and second, by shutting them out of the federal aid when they are the victims. Nice.

[5] Biden almost certainly agrees with the Wickard v. Filburn decision, which is one of the most important decisions for establishing the federal government's power to meddle in private affairs. It was the basis for the Gonzales v. Raich decision, in which the federal government successfully sought the power to stop people from growing marijuana for their own medical consumption.

[6] "Their reasoning" being limited in this context to noting that every activity is related to interstate commerce. Their subsequent aregument that this makes it okay to allow Congress to regulate on that basis is flawed, since it ignores what Congress meant by the clause in the first place. The court's reasoning along those lines reduces the clause to a meaningless nail upon which to hang their hat. Congress put the clause there to prevent states from getting into mercantilist wars with one another, blockading rivers against traffic coming from the state upstream, using different definitions of weights and measures, and so on, not to give Congress an opening through which they could do whatever they want.

Labels: , ,

|