Time to Learn Chinese

Filed under: Essays, Techie — tylerl [ October 19, 2005 @ 12:39 am ]

Dictatorships are bad. Capitalism is good. We learned all that back in 4th grade after reciting the pledge of allegiance to the flag in the back of the schoolroom. God bless America, and pass me a sparkler.

The world is not so simple anymore.

Guiding Principles

The truth is, a dictatorship, if run correctly, has the power to beat the pants off a capitalist democracy in every arena. However, in past history, dictators always (overgeneralization, I know) acted in their own immediate self-interest at the expense, and eventual destruction, of the country they run.

Capitalism and democracy solve that problem–a capitalist society acts in its own financial self-interest, while a democratic society acts in its own social self interest, which luckily both actually serve the greater good. However, there’s one serious caveat — a rare condition that can destabilize these systems and make them behave like a poorly run dictatorship. The problem, as you know if you’ve studied economics, is any artificial centralization of power. For example, The Monopoly.

Economic Destabilization

In a capitalist society, each individual entity acts in its own self-interest, attempting to strike some optimum balance where its own return on its investments is at a peak. As luck would have it, when each individual component is working at its peak performance, the economy as a whole is also at a peak. The market automagically adjusts to meet supply and demand changes, and competition drives the innovation required to find new ways of meeting demand while spending less. It’s as though, as Adam Smith put it, an “Invisible Hand” is guiding the market to its optimal performance.

This all assumes, however, that the individual entities always act in their own self-interest, and without interfering with the actions of others. Adding a monopoly to the mix changes all that. If one single player can directly manipulate supply or demand (like a monopoly can), he can force other entities to act in his self-interest, rather than their own. This creates a sub-optimal situation that may not always be obvious.

For example, our most recent American monopoly, Microsoft, has been using is position to control the market to a degree not generally within the bounds of a capitalist environment. For example, nearly all computers sold in this country come with Microsoft’s software pre-installed. You pay for it, of course. Usually, Windows accounts for $60 to $200 of your computer’s purchase price. And at current prices, that could account for a third of the computer’s cost. There are alternatives, of course. Linux, for example, can be had for as low a price as free, and its main hindrance to widespread adoption is its lack of popularity. In fact, nearly every piece of software you’ve ever used has a free alternative that closely rivals (or even exceeds) its commercial counterparts in quality.

Microsoft, however, using its monopolistic influence often takes the choice out of your hands. That copy of Windows running on your computer–how much did you pay for it? You don’t know? Free? No, it wasn’t free. But you didn’t see the price tag, either. Microsoft struck a deal with the maker of your computer (Dell, IBM, Sony, etc.) allowing them to sell your copy of Windows closer to the $60 range instead of the standard $200 price in exchange for an agreement which forces that manufacturer to sell a copy of Windows with every computer they sell–effectively taking that purchasing decision out of your hands. A single company has been allowed to directly manipulate both supply and demand on a few different fronts, resulting in a broken market. Adam Smith sighs resignedly in his grave.

Well, fool me once… and I’m not going to get fooled again: Such acts by monopolies are now illegal in this country. Microsoft went to trial for this very thing, and interestingly enough, the very companies they were influencing, the hardware manufacturers, actually came out in the company’s defense. As history later showed, this hold–the preinstalled software pricing deal–which allowed Microsoft to dictate what the manufacturer would sell, was also used to force these manufacturers to testify in court in Microsoft’s defense–falsely if necessary.

Social Destabilization

These events lead us to the other half of our discussion, the social effects. In a democracy, each citizen is a well-informed active participant in all matters of governance. He votes in his own self-interest, and the society as a whole progresses in what could be considered an ideal situation.

We don’t live in a democracy.

No one does. To use a computing term, democracy doesn’t “scale”. The more members you add, the less effective the system becomes. A system where half a billion citizens spend a good part of their day discussing legal issues and voting on bills would collapse under its own weight. The real truth behind issues presented would rarely be understood, the only decisions that actually get made would have to be pushed through by a “man on a white horse” who mobilizes the masses based on his own propaganda. Democracies of any real size don’t work–it’s just not an option.

We, along with our “democratic” neighbors, live in a Representative Republic. We elect representatives whom vote on our behalf. Your opinion on real-life issues only matters to the extent that it affects whom you vote for. Beyond that, your own views are quite irrelevant to the direction our society takes.

Real governing power is concentrated in the few elected officials who actually direct public policy. If an organization can convince enough elected officials that it’s in their best interest to act in the interest of the organization, then they’ve effectively wrested control of the government out of the people’s hands. If the issues in question are minor (or difficult-to-understand) enough as to not attract too much public attention, any policy decision can be effectively influenced by those with enough political clout. This is, of course, the “Iron Triangle” you heard about when studying government. Bureaucrats, politicians, and special interests run the country. You just think you do.

Companies like Microsoft can then effectively use the legal and legislative system to avoid any social repercussions to their tampering with the economic side of things. You’re the one who gets hurt, but you didn’t get to vote on that decision.

Enter China, Stage Left

This is where the dictatorship comes into play. China still wants to take over the world. Recent history has shown, however, that the most effective way to do so is through economic strategies, not through military conquest.

The societies in Eastern Civilization tend treat authority with a higher degree of importance than their Western counterparts, which leads to a more stable social situation. The success of an Eastern empire is measured in millennia–years are just milestones. It’s not uncommon for an Eastern company to have a 10-year, 50-year, or even 100-year plan on the books.

The current Chinese government is no different. World domination is what they’re after, and they’re willing to wait if that’s what it takes. The government is free to make whatever decisions are required to make that happen without having deal with the requests of special interests.

For example, China is one of the world’s leading consumers of Nuclear Energy research, promising the largest deployment of pebble bed reactors in the world in a time when building nuclear reactors is taboo among countries with an active environmentalist contingent. The fact is, China needs electricity. These reactors are cheap, absolutely safe, low-maintenance, and more environmentally friendly than their conventional counterparts.

The Global Market

One point that makes the current situation different than that of centuries past is an awareness of the global scale of our opportunities. China had found, for example, that it could artificially tie their own currency to the American dollar, thereby assuring that labor and materials in China were always the cheapest no matter what happened to exchange rates–thus guaranteeing the availability of an export market. Export markets are, in fact, the mainstay of Chinese technology production, where supply far outstrips internal demand. And Chinese companies are always looking for ways to better compete on cost; an area where China excels in comparison to other countries where workers’ unions are all too willing to trade a job’s viability for short-term benefits.

The Future of Technology

And that brings us back to our discussion on software pricing. China has the resources and the motivation to produce computers and computer parts at costs below the global average, and its capability is increasing as time goes by. The Chinese government has already publicly eschewed Microsoft and everything they stand for. China has even gone as far as to create its own Linux distribution: Red Flag Linux. This platform has already been adopted by all levels of Chinese operations, from government offices to insurance companies to news media. In China, Microsoft has much less clout.

It’s only a matter of time before Eastern companies start selling large quantities of very-low-cost computer systems to Western consumers. It’s all part of the game plan. The software is free; the hardware is cheap. Here in the West, a small handful of very powerful companies is manipulating the market to their own advantage. The expense we pay is overpriced goods, stifled innovation, and the loss of market dominance.

The situation won’t last forever, of course. The market will recover. The monopolies will be rendered ineffective, and supply will once again balance out with demand. The bad news is that the American economy will no longer have a commanding role in global commerce.

Sooner or later, we’ll all have to learn to speak Chinese.

Actiontec DSL Modem Hacking

Filed under: Hobbies, Techie — tylerl [ September 24, 2005 @ 6:08 pm ]

So, as you know, I recently upgraded to DSL from Cable. The Actiontec DSL modem provided by Qwest is really cool and provides quite a few features, but the firmware upgrade provided at the company website makes the thing stop responding.

My self-assigned quest was to figure out exactly what was going wrong, and to do so in a non-destructive way. This involved attaching a serial cable to the modem’s circuit board and using it as a console to interactively diagnose the issue.

Some disassembly required. Some pictures provided.
http://www.tlarson.com/guides/dslhack

New ISP

Filed under: Dear Diary, Techie — tylerl [ September 19, 2005 @ 8:13 pm ]

If you’ve ever had cable, you know that after your new-customer promotion is done, they about triple your monthly rate, that goes for both cable TV and Internet service. So once we had to start paying around $100/month for our basic service, we shopped around for other offers.

Thank heavens for competition. Our phone company was offering a 1-year promotion for $20/month. After the year is over, the price goes up to $25/month. I can live with that. Of course, you’re going to say, what about download speeds?

The cable company, with its massive bandwidth capacity, often advertises download rates that rival those business links that cost thousands of dollars per month. The catch, of course, is that business bandwidth is guaranteed, residental is not.

So in this rare opportunity where I have both DSL and Cable Internet access at the same time, on the same computer, I decided to conduct a scientific experiment. Using Speakeasy’s Speed Test, I did a few speed comparisons with each ISP. There was very little variation in the results; I’m not much one for statistics, but I’d guess a margin of error of about 2% or so.

Service Rate Advertised Delivered
Adelphia Cable Download 1718 kpbs up to 6144 kbps 28%
Adelphia Cable Upload 429 kbps up to 768 kbps 56%
Qwest DSL Download 1265 kbps 1536 kbps 82%
Qwest DSL Upload 237 kbps 288 kbps 82%

A couple of points stand out here. First of all, DSL is hitting exactly 82% of its advertised speed both upload and download. That’s significant because general TCP/IP overhead counts for about 20% of your bandwith usage. That means that the DSL connection is actually delivering around 100% of its advertised bandwith.

Cable, on the otherhand, reaches a dismal 28% of its download capacity, and 56% of its upload. This test was conduced at 7pm local time, which is just after cable’s peak usage period. As you may know, total bandwidth is shared between everybody on your cable broadcast network, which is usually everybody in your immediate neighborhood. So while you may be able to get better download speeds in the middle of the night, what really counts is what you get when you’re actually using it.

Another interesting metric is price versus speed. For example, cable costs about 400% of the price of DSL (no promos), and gives you about a 136% of the speed. Conversely, DSL costs roughly 30% of what Cable costs, but gives you about 74% of the speed.

Also, the Cable provider is very protective of its bandwidth, since my usage cuts into other customers’ availablity. As such, certain methods of using your internet connection are prohibited; like for example, running any sort of server whatsoever from your home. As for DSL, it’s all the same to the phone company: whatever bandwidth you don’t use can’t be reallocated to someone else, so you might as well use it for whatever you want.

Editable Web Pages

Filed under: Techie — tylerl [ September 11, 2005 @ 2:09 pm ]

I’m working on a user-friendly content management system (Wiki-based, for those who care), and I wanted to add a WYSIWIG editor interface, like HTMLArea has, for example.

So, I dug through the javascript source code to find out how they do it. Obviously there’s some real deep magic involved, right? After all, some people pay a lot of money to use things like this on their web page.

So what did I find? Magic? No. It’s all built into the browser. Internet Explorer and and Mozilla-based browsers both have an “editable” mode that handles all the excitement. Microsoft calls their version The MSHTML Editing Platform, while Mozilla has a built-in module called Midas.

What you’re really paying for is that nifty toolbar that allows you to send commands to the browser that say “make this bold” or whatever. It seems almost dishonest for these vendors to brag about all the “features” they’ve included in their version (like “Fonts!”, “Sizes!”, and “Images!”), when it’s actually all provided as part of the browser… which the user already owns. Aw well, welcome to the world of Marketing.

Just for a heck of it, I created an editable version of my own homepage. It’s just the normal page, but with an extra line of JavaScript tacked on the end to turn on editing mode. Note that if you’re using a Mozilla-based browser (like Firefox), it seems to want to stay in editing mode even when you go to another page. You’ll have to close the current tab (or window) to get out of editing mode, since I don’t have a button on the page to turn it off.

The Bridge-Color Problem

Filed under: Links, Techie — tylerl [ August 29, 2005 @ 1:32 pm ]

http://www.flounder.com/bridge.htm

Here’s an interesting essay describing a particular type of problem we often run into when maintaing other people’s work. There are certain decisions about a project which must be made, but which are not directly related to the technology or design of the underlying archetecture.

While this fact is entirely unremarkable, what is interesting are then various artifacts introduced by the mantenance of these decisions. The gist of the essay (though unstated) is that it’s import to understand the reasoning behind these “bridge color” decisions if the project is going to be properly maintained.

« Previous PageNext Page »

Powered by WordPress