Monday, November 30, 2009

data structures not algorithms central to programming

postgresql can pretty much do what oracle can

take money from oracle license

buy better hardware for pg

then come out ahead

ariba!

Saturday, November 28, 2009

a ten

a ten oh me oh my

brunettes can be hot

If you don't like boobs then fuck you




the face of evil ben bernanake dares to ask for fed, who caused problem, to have control

http://finance.yahoo.com/news/Bernanke-makes-case-for-apf-1780442849.html?x=0&sec=topStories&pos=3&asset=&ccode=


Bernanke makes case for strong Fed role on banks
Bernanke makes case for strong Fed supervision of banks, need to remain above politics
By Eileen Aj Connelly, AP Business Writer
On 1:33 pm EST, Saturday November 28, 2009
Buzz up!
Print


NEW YORK (AP) -- The chairman of the Federal Reserve is concerned that congressional efforts at financial reform could weaken the central bank's ability to handle future crises and may politicize monetary policy.

Fed Chairman Ben S. Bernanke made the comments in an Op-Ed piece to appear in Sunday's Washington Post, five days before the Senate Banking committee holds a hearing on his nomination for a second term. His current four-year term expires Jan. 31.

Bernanke wrote the nation is challenged to design a financial oversight system that will "embody the lessons of the past two years and provide a robust framework for preventing future crises and the economic damage they cause."

But two proposals being considered "are very much out of step with the global consensus on the appropriate role of central banks, and they would seriously impair the prospects for economic and financial stability in the United States," he said.

The first item in question is a bill before the Senate that would strip the Fed of its bank regulation authority and give the Senate a role in selecting the 12 regional Federal Reserve bank presidents, proposed by Banking Committee Chairman Chris Dodd, D-Conn.

Dodd says his measure would return the Fed to its core mission of setting monetary policy, claiming it proved itself "an abysmal failure" by not cracking down on risky lending practices that led to the financial meltdown.

Bernanke countered that the Fed played "a major part in arresting the crisis."

In what will likely be seen as an implicit defense of Treasury Secretary Timothy Geithner, who was president of the New York Federal Reserve Bank last year, Bernanke said some government actions may have been "distasteful and unfair" but were needed to avoid a global economic catastrophe rivaling the Great Depression.

"My colleagues at the Federal Reserve and I were determined not to allow that to happen," Bernanke wrote.

Notably, he makes no mention of the bill's language that would strip the Fed of consumer protection authorities, which he has previously opposed. That may indicate a concession to political and populist demands for a new pro-consumer agency.

The second piece of legislation Bernanke comments on is an amendment from Rep. Ron Paul, R-Texas, in a House financial regulatory bill that would repeal a 1978 ban on congressional audits of Fed interest-rate decisions.

Paul maintains the repeal would bring more transparency and accountability, and notes it contains language that states it should not be construed as interference in or dictation of monetary policy by Congress.

Bernanke said the Fed's ability to set interest rates and provide stimulus through lending and asset-purchase programs depends upon being able to operate independently of political influence. Opening monetary policy decisions to the scrutiny of Congress "would undermine the confidence the public and the markets have in the Fed to act in the long-term economic interest of the nation."

The Fed chairman recognized that the proposals are in part born of public anger over the financial crisis and the rescues of big financial firms. He said he strongly supports measures to ensure that such interventions never happen again. He wants tougher oversight of large, complex financial firms to make sure that no one company is "too big to fail," and that the costs of future failures are not borne by taxpayers.

"There is a strong case for a continued role for the Federal Reserve in bank supervision," he said, citing expertise needed to supervise "highly complex financial firms" and the information gleaned from regulating banks that is used to set monetary policy. He also pointed to the results of the "stress tests" done on banks earlier this year, maintaining they helped restore public confidence in the banking system.

Associated Press writer Jim Kuhnhenn in Washington contributed to this report.

Thursday, November 26, 2009

Wednesday, November 25, 2009

sweet conan character list

http://www.marvunapp.com/list/appconan.htm

cool list marvel characters and other worlds

http://www.marvunapp.com/

read more, get rich, no one knows shit

no one knows shit, when is last time you met soemone who had read 20 book on 1 subject?

NEVER!

do that can you will squire a kind of power

same with working out

any monkey can goto gym 3x a week pump lil iron go on bike
then there are people who go 2 hours 6 days a week and prepare 6 meals for themselves
24 hours in a day
people in 3rd world country kill for opportunity american lets slide by as he plays vidgames and watches sports

why netbsd

http://www.osbr.ca/ojs/index.php/osbr/article/view/739/705

Sunday, November 22, 2009

oo programming a fad

http://www.geocities.com/SiliconValley/Lab/6888/oopbad.htm

ass

http://www.getbig.com/boards/index.php?PHPSESSID=f19d27be6c48fc880901331d7fb98c11&topic=302035.0

There is no reliability/availability problem

http://philip.greenspun.com/wtr/application-servers.html

Scalability, Three-Tiered Architectures, and Application Servers
or "Why the Netscape Application Server (Kiva) Sucks"

by Philip Greenspun for Web Tools Review

"Men are most apt to believe what they least understand."
-- Michael de Montaigne
Application servers for Web publishing are generally systems that let you write database-backed Web pages in Java.

The first problem with this idea is that Java, because it must be compiled, is usually a bad choice of programming language for Web services (see my book chapter on server-side programming).

The second problem with this idea is that, if what you really want to do is write some Java code that talks to data in your database, you can execute Java right inside of your RDBMS (Oracle 8.1, Informix 9.x). Java executing inside the database server's process is always going to have faster access to table data than Java running as a client. In fact, at least with Oracle on a Unix box, you could bind Port 80 to a program that would call a Java program running in the Oracle RDBMS. You don't even need a Web server, much less an application server. It is possible that you'll get higher performance and easier development by adding a thin-layer Web server like AOLserver or Microsoft's IIS/ASP, but certainly you can't get higher reliability by adding a bunch of extra programs and computers to a system that need only rely on one program and one computer.

This document works through some of these issues in greater detail, pointing out the grievous flaws in Netscape Application Server (formerly "Kiva") and explaining the situations in which Oracle Application Server is useful.
There is no scalability problem
My friend Jin and I spent some spare evenings building http://www.scorecard.org for the Environmental Defense Fund. When a user types in his zip code, the server shows him a map of the factories near his house. Clicking on a factory will list the chemicals released. Clicking on a chemical will list its health effects. The site was featured on ABC World News, in Newsweek, in the New York Times, on CNN, and was a Yahoo Pick of the Week. Every single page on the site is generated on-the-fly by querying a relational database management system (RDBMS). Some pages require five SQL queries. Each page requires at least one. The site gets about 30 requests/second at peaks (on days when traffic is over 500,000 hits). There are only a handful of sites on the Internet that serve a larger number of db-backed pages.

Our hardware for this monstrously popular site? A Sun Microsystems SPARC Ultra 2 pizza box Unix machine, built in 1996. Its dual 167-MHz CPUs would be laughed at by the average Quake-playing 10-year-old. The CPUs sit idle 80% of the time. The disks sit idle most of the time, partly because I spent $4,000 on enough RAM to hold the entire 750 MB data set. Oh yes, the machine also serves a few hundred thousand hits/day for other customers of arsdigita.com and runs the street cleaning and birthday reminder services that we built.

If we tarred up the site and moved it to a mid-range Unix server such as the HP K460 that sits behind http://www.photo.net, we could probably serve at least 5 million hits/day. If we moved it to the highest-end HP server, I'd bet that we could get close to the 100-million hit/day mark that sites like Yahoo serve.

Why has "scalable" become the buzzword du jour? People get burned because they do stupid things. They connect their Web server to their RDBMS via CGI, thus forcing the machine to work 10-20 times as hard for no good reason. They run Windows NT. They run some unproven junkware/middleware that came in an attractive box. Services get wedged and they run out and buy another dozen (or thousand, as with www.microsoft.com) physical computer systems. Now that they have a whole machine room full of hardware, they know that they can't keep it all running simultaneously so they look for software to yoke it all together somehow such that the death of one machine won't be noticed.

How do my friends and I avoid scalability problems? We know that we're stupid. We run the Oracle 8 RDBMS like the rest of the world and don't try to figure out if some new competitor's hype has any relationship to reality. We talk to the RDBMS via AOLserver, which has been doing connection pooling from a Tcl API since 1995. So we get the safety and software develop ease of Perl/CGI but the computer never has to fork a CGI process and the database connections are shared among the scripts. We've served roughly 1 billion hits with AOLserver so we're pretty sure that it works. Linux and NT get magazine writers excited, but we run the same commercial versions of Unix on which the Fortune 500 relies for its enterprise computing.
There is no reliability/availability problem
The Internet is not perfectly reliable. Users can't expect to get IP connectivity from their own internet service provider (ISP). If their ISP is down then they can't get to your site or anyone else's so they generally won't actually bet their life on your server being reachable. The main reason to have high availability is ego. You don't want people to think that you're incompetent, e.g., a friend of mine said he wouldn't buy a ticket from the United Airlines Web site because it was so unreliable at the front end that he figured they'd have screwed up the back end to the point that his reservation would never actually get made.

But what's reasonable and realistic? It will cost you a fortune in extra hardware, software, and administration time to shoot for 24x7x365 uptime. And, in the end, you will never achieve it. Nobody in the history of computing has ever achieved 100% uptime. So would you rather have three Web services that are down for eight scheduled hours/year and eight unscheduled hours or one service that wasn't supposed to ever go down but in fact is unavailable for four hours/year?

Why do people think that availability is such a problem? Again, they are mostly applying band-aids to decisions that were risky on the face. If you read a Sun Microsystems marketing brochure, you might be ready to run out and buy a 64-processor E10000. But after watching one of their contract service guys try to fix a desktop Sun system, a wise person would probably think twice about relying on the latest, greatest, and most complex Sun server. Does that mean you can't buy a big fancy machine? Of course not. I'm not nervous about my personal HP K460 with its 36 disk drives on 6 SCSI chains, 4 CPUs, 4 GB of RAM, and 2 network cards. Why not? All the HP service engineers that I've met in the Boston area are wizards on both the hardware and software. How about Windows NT? Do you personally know anyone serving 10 million hits/day, every day, from an NT box parked where they don't have physical access? If not, why risk your service on NT?

Suppose I could get a couple more HP K460s and the HP ServiceGuard software and maybe some round-robin routers, all for free? Would it make my site more reliable? I don't think so. I don't have enough time or money to figure out how to install, configure, and maintain all that stuff. I wouldn't even have time to document the configuration so that if I were on vacation and the site failed, someone else could bring it back up.
The Three-Tiered Architecture
The latest rage in business data processing is the three-tiered architecture. Everyone seems to have one but they don't always agree on what the tiers are. Here is one possible set of tiers:
relational database management system (RDBMS)
business logic (if statements)
presentation layer (formatting)
Web software vendors sometimes try to convince people that the three standard tiers are the following:
relational database management system (RDBMS)
application server
web server
After accepting this idea, then clearly you need to buy an application server. You have Oracle. You have a Web server program. But you have no software at all for one critical tier!

Before trashing the idea of the application server, let me trash the idea of the three-tiered architecture for Web services.
They can afford it but you can't
A business may spend hundreds of millions of dollars/year on its core information systems. They can devote a large professional staff to making each tier fast and reliable. A Web publisher is always short on database administration and system administration talent. Do you have time to install the Oracle replication software? The expertise and time to figure out which of your tables need to be replicated? The expertise and time to configure the Oracle software to replicate transactions on those tables? The procedures and organizational discipline to make sure that the replication strategy gets documented and kept up to date as the data model evolves?
They have time and you don't (or "the three-yeared architecture")
A business will spend several years developing a new application. It may be tested for 6 months or a year before being gradually deployed. A business has design time to carefully spread responsibilities across machines, people, and tiers. A business has testing time to make sure that disaster recovery procedures are documented and verified. A business usually has at least some hours every day when the whole system can be taken off-line and rebuilt.

A Web service usually has to go from conception to launch in less than one year, preferably closer to 6 months. If you can't do that, the idea that seemed so clever will probably already have been done by six other people. It might be nice to break everything up into abstractions, layers, objects, and protocols operating on three redundant tiers. But what if it takes you three years? How can you be sure that the publishing or business needs won't change radically six months after you launch and get some real user experience?
Gentle-slope Programming Systems
The most popular server-side programming systems are those that give developers a gentle slope into Real Software Development. Consider the hugely popular Microsoft ASP system. An HTML document is a legal ASP program. It doesn't compute anything and its output never changes, but it is legal in the IIS/ASP system. When the Web developer gets a little more advanced, he or she can start putting in some magic escape tags and embedding simple Visual Basic code fragments in the ASP documents. Six months later, the developer can't figure out how to meet the site's publishing goals and calls in a programmer. The programmer builds a COM object whose methods the developer can invoke from the embedded VB. When the service isn't running so well on one computer, the publishers call the programmer back to build a DCOM object.

The end result of this process is laughably unreliable since NT isn't truly crash-proof, IIS doesn't work so well, ASP is a bit flakey, and the COM/DCOM stuff isn't reliable or fast. But the process by which the publisher got to this end result is perfectly reasonable.

America Online was enamored of the process but not of the resulting reliability. So they added "ADP" pages to AOLserver (http://www.aolserver.com). An HTML document is a legal ADP program. Magic escape codes allow the developer to insert a bit of Tcl. When the developer needs some powerful encapsulated programs, a programmer can build Tcl modules that are loaded at server start-up. If that isn't sufficient, a programmer can write a shared library in C and make it available to Tcl programs AOLserver-wide. The C code has access to the full range of services on a Unix machine.

In the Apache world, people achieve the same results with a mix of traditional Perl CGI scripts and plug-in modules. The approach that is closest to ASP in spirit is the PHP hypertext preprocessor (see http://www.php.net).

A cleaner system than any of the above is Meta-HTML (http://www.metahtml.com), which extends HTML syntax and semantics into a powerful programming language. This means that the developer isn't forced to constantly bounce between Tcl and HTML syntax, for example.

Curl is one of the most thoughtfully developed gentle-slope programming systems for the Web. It was built by computer systems researchers at MIT and works for both server- and client-side Web programming (see http://curl.lcs.mit.edu/curl/wwwpaper.html). Curl is currently being commercialized by a venture capital-backed company.

Almost all of the implementations of these gentle-slope languages provide the developer with a rapid-prototyping environment. To make a change to a program, the developer need only edit a file in the Unix file system. The next time a URL is requested, the new version of the program is used. Note that the earliest Web server scripting system, Perl/CGI, has this property.
Life with an Application Server (KIVA/Netscape)
Last year, I worked with a group of programmers who were rebuilding a
site that had originally been knocked out by a consultant in a couple of
months. It was some big, nasty Perl scripts talking to an Oracle RDBMS.
Homely yet functional.

The new team of programmers loved Kiva. Actually they bristled at the
title "programmer" and would point out that they were in fact "software
engineers." I don't mention that as a point of ridicule, but rather to
illustrate their perspective. They dealt in high-level concepts on
prototypes that remained prototypical right up until the VC funding ran
out.

-- email from a Web technologist
This e-mail message was about the Netscape Application Server, a product originally named "Kiva Enterprise Server" that Netscape purchased in early 1998.

After you pay $35,000 per CPU, you can add a dynamic page to your Web site by following these easy steps, as outlined by one of my co-developers:
1. write your java code in foo.java

2. compile with:

/usr/local/kds/jdk1.1.5/bin/javac -g -classpath "/usr/local/kds/jdk1.1.5/lib/classes.zip:/usr/local/kds/classes/java/SWING.JAR:/usr/local/kds/classes/java/kfcjdk11.jar:/usr/local/kds/classes/java/kdsjdk11.jar:/usr/local/kds/classes/java/ktjdk11.jar::/usr/local/kds/jdk1.1.5/classes:/usr/local/kds/jdk1.1.5/lib/classes.jar:/usr/local/kds/jdk1.1.5/lib/rt.jar:/usr/local/kds/jdk1.1.5/lib/i18n.jar:/usr/local/kds/jdk1.1.5/lib/classes.zip:/usr/local/kds/jdk1.1.5/classes:/usr/local/kds/jdk1.1.5/lib/classes.jar:/usr/local/kds/jdk1.1.5/lib/rt.jar:/usr/local/kds/jdk1.1.5/lib/i18n.jar:/usr/local/kds/jdk1.1.5/lib/classes.zip::/usr/local/kds/APPS" "/usr/local/kds/APPS/yourappname/foo.java"

3. once sucessfullly compiled, create a GUID with:
/usr/local/kds/bin/kguidgen

4. paste a copy of this GUID into your code.

5. edit yourappname.gxr and add an entry for foo, with the GUID

6. Register the applogic with /usr/local/kds/bin/kreg yourappname.gxr
if you like, or for some reason this doesn't work, you can run kreg
without arguments in interactive mode.

7. you can access the guid at
http://yourserver.com/cgi-bin/gx.cgi/AppLogic+foo

The logs are in /usr/local/kds/log/

I think the kjsdev.log usually has the most interesting information.
If your applogic fails at run time, the browser will return "document
contains no data"
Following these steps, it took us two weeks to port an application that had taken a day to write in AOLserver Tcl. That's not counting the time it took to get some paper manuals FEDEXed because the documentation wasn't available on the Web in HTML format. The 2.0 software was almost laughably unreliable, with minor Java programming errors in a single script capable of bringing all Web services to a halt. But even if the Netscape Application Server had worked as advertised, it would have been an extremely painful development environment. Here's a Tcl string into which we are substituting the values of two variables:
Manage $domain ($pretty_name)
In Kiva's template language, you have
Manage %gx type=cell id=domain%%/gx% (%gx type=cell id=pretty_name%%/gx%)
It turns out that string assembly in any system that uses Java is painful because Java's parser is so weak that you can't have a string literal containing newlines. Consider the simple error message fragment in Tcl:
append exception_text "
  • Your email addresss doesn't look right to us. We need your full
    Internet address, something like one of the following:



    • Joe.Smith@att.com
    • student73@cs.stateu.edu
    • francois@unique.fr


    "
    In Java, that turns into the following rich source of compiler complaints:
    exception_text += "
  • Your email addresss doesn't look right to us. We need your full\n"+
    "Internet address, something like one of the following:\n\n"+
    "\n"+
    "
      \n"+
      "
    • Joe.Smith@att.com\n"+
      "
    • student73@cs.stateu.edu\n"+
      "
    • francois@unique.fr\n"+
      "
    \n"+
    "
    \n";
    Passing sets of variables from the user's browser through to Oracle is much more painful in Kiva. Here's the AOLserver Tcl script that allows a contest administrator to add a column to the entry table. Note that this is a 7-line program plus two "return a page" statements.
    set_form_variables

    set db [ns_conn db $conn]

    set table_name [database_to_tcl_string $db "select entrants_table_name from contest_domains where domain = '$QQdomain'"]

    set alter_sql "alter table $table_name add column $column_actual_name $column_type"

    set insert_sql "insert into contest_extra_columns (domain, column_pretty_name, column_actual_name, column_type)
    values
    ( '$QQdomain', '$QQcolumn_pretty_name', '$QQcolumn_actual_name','$QQcolumn_type')"

    if [catch { ns_db dml $db $alter_sql
    ns_db dml $db $insert_sql } errmsg] {
    # print error message
    # ...
    } else {
    # database stuff went OK
    # print confirm page..."}
    Note that variables that came from the previous form like $column_actual_name and $QQcolumn_pretty_name (with any apostrophes quoted) are available simply because we called the Tcl procedure set_form_variables. The Kiva code shows just how much pain this Tcl magic was saving us.
    package contest;

    import java.lang.*;
    import java.util.*;
    import java.text.*;
    import java.io.*;

    import com.kivasoft.applogic.*;
    import com.kivasoft.types.*;
    import com.kivasoft.util.*;
    import com.kivasoft.*;

    /*GUID {C8CCC3C0-535C-1510-AD41-0800208F129A} */

    public class ContestAddCustomColumn2 extends ContestAppLogic
    {

    public int execute() {

    // grab variables from the previous form
    String domain = valIn.getValString("domain");
    String column_pretty_name = valIn.getValString("column_pretty_name");
    String column_actual_name = valIn.getValString("column_actual_name");
    String column_type = valIn.getValString("column_type");

    com.kivasoft.IDataConn conn = openDatabase();

    // four lines to replace one line of Tcl (database_to_tcl_string...)
    IQuery domain_info_query = createQuery();
    domain_info_query.setSQL("select entrants_table_name from contest_domains where domain = '"+domain+"'");
    IResultSet domain_info_rs = conn.executeQuery(0, domain_info_query, null, null);
    String entrants_table_name = domain_info_rs.getValueString(domain_info_rs.getColumnOrdinal("entrants_table_name"));

    String alter_sql = "alter table "+entrants_table_name+" add ("+column_actual_name+" "+column_type+")";
    String insert_sql = "insert into contest_extra_columns (domain, column_pretty_name, column_actual_name, column_type) values (:domain, :cpn, :can, :ct)";

    IQuery alter = createQuery();
    alter.setSQL(alter_sql);
    IResultSet ignore_this_rs = conn.executeQuery(0, alter, null, null);

    IValList insertValList = GX.CreateValList();

    // set some substitution variables; note that Kiva
    // delivers garbage to Oracle if you include underscores
    // in the bind variable names
    insertValList.setValString(":domain",domain);
    insertValList.setValString(":cpn",column_pretty_name);
    insertValList.setValString(":can",column_actual_name);
    insertValList.setValString(":ct",column_type);

    IQuery insert = createQuery();
    insert.setSQL(insert_sql);
    IPreparedQuery insert_prepared_query = conn.prepareQuery(0, insert, null, null);
    // here we're finally able to do the insert, something that took one
    // line of Tcl
    IResultSet ignore_this_rs_again = insert_prepared_query.execute(0, insertValList, null, null);

    TemplateMapBasic map = new TemplateMapBasic();

    map.putString("system_name",systemName());
    map.putString("system_owner",systemOwner());
    map.putString("alter_sql",alter_sql);
    map.putString("column_actual_name",column_actual_name);
    map.putString("column_pretty_name",column_pretty_name);
    map.putString("entrants_table_name",entrants_table_name);

    // this last bit will substitute all the preceding variables into a
    // template (a file that we separately maintain)
    return evalTemplate(getDocumentRoot()+"ContestAddCustomColumn2.html", (ITemplateData) null, map);
    }
    }
    Now we have more than 40 lines of Java code. But it is so much more reliable than the old Tcl, isn't it? Actually it is less reliable. My Tcl program checks for errors in executing the database ALTER TABLE and INSERT statements (note for db nerds: these are not bundled together in a transaction because DDL statements such as ALTER TABLE cannot be rolled back). The Java program does not. Why not? I was too worn out from writing all the extra lines and fighting Kiva bugs.

    Now that we've covered the day-to-day pain of working with Kiva/Netscape Application Server, let's look at some of its more pervasive shortcomings.
    Become a prisoner
    I personally find it rather painful to write a database-backed Web service in any compiled language, including Java. However, if I'm going to spend time, money, and effort laboriously coding Java talking to an RDBMS on one side and the Web on the other, it is insane not to be using the standard Java libraries.

    If I write a Java program using the Servlet API to talk to the Web and the JDBC API to talk to an RDBMS, then I can run my program without modification on sites backed by the following Web servers: AOLserver, Apache, Lotus Domino, Microsoft IIS, Netscape Enterprise, Sun Java Web Server, Zeus (and about 20 more, according to http://jserv.javasoft.com/products/java-server/servlets/environments.html).

    If I write a Java program to the Kiva/Netscape API, then I can run my program on a system with the $35,000/CPU Netscape Application Server. Period.
    Half-baked ideas
    Suppose you're going to send an RDBMS a bunch of SQL statements of the form
    select * from users where user_id = 6752
    Everything in the query is always the same except for the number at the end, which will change depending on which user is grabbing a page. In ancient times, the RDBMS vendors decided that the syntax for putting in SQL with "bind variables" should be
    select * from users where user_id = :1
    Before your program asks the RDBMS to execute this query, it is supposed to tell the RDBMS what the value of ":1" will be. If you have a bunch of bind variables, you end up with ":17" in your SQL and it becomes rather ugly. As far back as I can remember, Oracle at least would let you use bind variables like ":user_id". And if you read The SQL Standard (Date and Darwen 1997; formerly "the red book" but now with a blue cover) you will find bind variables like ":user_id". But Kiva decided, perhaps for superstitious reasons, to write a little translator that would map each symbolic variable name into a numeric name. However, the Kiva documentation doesn't say what acceptable bind variable names are. It turns out that underscore, though a legal character in an SQL column name, a Java variable name, or a Tcl variable name (from which I was adapting the code), does not work in this little ad hoc Kiva subsystem. My program failed. A prospective user would get "document contains no data". The Kiva error log would fill up:
    [03/11/98 02:10:23:4] warning: ORCL-048: select * from users where user_id = :1_id
    When I changed the bind variable from ":user_id" to ":userid", the page started working again.

    Another half-thought-through idea in Kiva is that data from browser cookies and data from HTML form variables should come in via the same programming interface. Unfortunately, that means if a cookie and a form variable have the same name, you'll only get the value of one of them.

    I don't want to go on record as saying that Tcl and Visual Basic are the world's greatest computer languages. However, they are real computer languages whose syntax and semantics are well-understood and thoroughly documented. Ditto for Java, the Servlet API, and the JDBC API. With Kiva/Netscape Application Server, it really isn't clear what the program is even supposed to do.
    Why all of this pain is supposed to be worthwhile
    Why would anyone suffer with Netscape Application Server? Managers like the brochure because it promises great scalability and reliability. You can have 9 physical servers sharing the load and if one dies, the other 8 continue serving users. This is a wonderful little fantasy world but back in the ugly real world, it turns out that most Web publishers barely have the resources and experience to keep a single central RDBMS running. They certainly aren't capable of maintaining replicated RDBMS installations. If their single RDBMS server gets overloaded, the site will slow down. If their single RDBMS server dies, the site dies. No additional software or hardware can do anymore more than reduce the site reliability. These publishers would be much better off simply running a lightweight Web server program on top of their RDBMS server computer.

    Netscape Application Server isn't just a way to talk to your RDBMS, though. Rather than have the RDBMS manage a user's session state, you can ask the cluster of application servers to do it for you. Because the load-balancing features of the application server mean that a user may be bounced from one physical machine to another, all of the user's session state must be kept simultaneously up to date on every physical machine running the application server. This is the well-known problem of keeping a consistent replicated database of dynamic information. A wise Web publisher would not trust Oracle 8 to do this job. After all, Oracle Corporation only has 20 years of experience in building this kind of system (through 8 versions). They only have $7 billion in revenue and 30,000 employees dedicated to making it reliable. Banks and insurance companies rely on Oracle's expertise. But that's not good enough for your Web site. Instead, you want the 2.0 version of a product built by a small start-up company. The fact that a customer's Java syntax error can crash the entire product shouldn't dissuade you from trusting the Kiva programmers to have solved this difficult problem correctly.

    Assuming you believe that the Kiva programmers figured out how to do replication correctly, remember that the servers have to communicate session state amongst themselves over the network. You have to configure and administer this communication. You have to make sure that the open ports used for this communication don't become a security risk.

    How is this security risk managed in practice? My friends who run Kiva never got this far. They were never able to get Kiva to run on more than one physical machine at a time. In fact, they had to restrict Kiva on that machine to a single thread. So all of the users of their dynamic Web content must line up single-file. If one of the users were to ask for a page that required Oracle to spend 30 seconds sweeping through some big tables, all of the other users would be staring at blank screens for 30 seconds.
    Am I the only one?
    Here's what Timothy Dyck had to say in the June 22, 1998 edition of PC Week:
    Once, after nearly an hour of continuous 100 percent CPU utilization, every Sun Java VM crashed so badly we couldn't even kill them using the Solaris "kill -9" command. With the Java VMs continuing to use nearly 100 percent of the server's CPU resources, we had to reboot even the (normally) exceptionally stable Solaris system.

    The bottom line is that even a few crashes per hour aren't acceptable for mission-critical applications. After all the tests, we faced an inescapable fact: Java VMs and Java database drivers just aren't ready for the demands of high-load, production environments.

    The major Java problems we observed under both Sapphire/Web and Netscape Application Server were crashes in Java threading code (exceptions in java.lang.thread), which we solved by keeping thread counts below five per virtual machine; unstable Oracle JDBC (Java Database Connectivity) drivers, particularly when handling date and time values (which we mostly solved by getting Oracle Corp.'s as yet not publicly posted 8.0.4.2.0 JDBC drivers and sticking with Oracle's type 4 all-Java drivers, which proved more stable and virtually the same speed as the company's type 2 mixed Java/C drivers); and large memory leaks in the JavaSoft VMs that caused them to continuously consume RAM during the test interval (which we solved by equipping all servers with at least 1GB of RAM each and manually restarting all the Java VMs between each test run).
    Despite having support from vendor experts, Dyck was unable to ever support more than 10 simultaneous users using Java pages in Netscape Application Server. What kind of a machine was he using? Just a little SPARC E4000 with 8 CPUs... (this is a $200,000 box)
    Something nice about Kiva/NAS
    One potentially useful implication of using Netscape Application Server is that there is a hard separation between people who do design (build templates) and those who write programs to query the database (build Java AppLogics). Generally people can only argue about things that they understand. Thus a bunch of business executives will approve a $1 billion nuclear power plant without any debate but argue for hours about whether the company should spend $500 on a party. They've all thrown parties before so they have an idea that maybe paper cups can be purchased for less than $2.75/100. But none of them have any personal experience purchasing cooling towers.

    Analogously, if you show a super-hairy transactional Web service to a bunch of folks in positions of power at a big company, they aren't going to say "I think you would get better linguistics performance if you kept a denormalized copy of the data in the Unix file system and indexed it with PLS". Nor are they likely to opine that "You should probably upgrade to Solaris 2.6 because Sun rewrote the TCP stack to better handle 100+ simultaneously threads." Neither will they look at your SQL queries and say "you could clean this up by using the Oracle tree extensions; look up CONNECT BY in the manual."

    What they will do is say "I think that page should be a lighter shade of mauve". In a Kiva-backed site, this can be done by a graphic designer editing a template and the Java programmer need never be aware of the change. Of course, the graphic designer will have to be fairly formally minded and understand that chunks of the form %gx type=cell id=domain%%/gx% must be preserved.

    Do you need to pay $35,000/CPU to get this kind of separation of "business logic" from presentation? No. You can download AOLserver for free and send your staff the following:
    To: Web Developers

    I want you to put all the SQL queries into Tcl functions that get loaded
    at server start-up time. The graphic designers are to build ADP pages
    that call a Tcl procedure which will set a bunch of local variables with
    values from the database. They are then to stick <%=$variable_name=> in
    the ADP page wherever they want one of the variables to appear.

    Alternatively, write .tcl scripts that implement the business logic and,
    after stuffing a bunch of local vars, call ns_adp_parse to drag in
    the ADP created by the graphic designer.
    Personally I find ADP syntax (copied by the AOLserver guys from Microsoft's IIS/ASP) to be cleaner than Kiva's. Furthermore, if there are parts of your Web site that don't have elaborate presentation, e.g., admin pages, you can just have the programmers code them up using standard AOLserver .tcl or .adp style (where the queries are mixed in with HTML).

    Similarly, if you've got Windows NT you can just use Active Server Pages with a similar directive to the developers: put the SQL queries in a COM object and call it at the top of an ASP page; then reference the values returned within the HTML. Again, you save $35,000/CPU.

    Finally, you can use the Web standards to separate design from presentation. With the 4.x browsers, it is possible to pack a surprising amount of design into a cascading style sheet. If your graphic designers are satisfied with this level of power, your dynamic pages can pump out rat-simple HTML.

    From my own experience, some kind of templating discipline is useful on about 25% of the pages in a typical transactional site. Which 25%? The pages that are viewed by the public (and hence get extensively designed and redesigned) and also require at least a screen or two of procedure language (e.g., Tcl) statements or SQL. Certainly templating is merely an annoyance when building admin pages, which are almost always plain text. Maybe that's why I find Kiva so annoying; there are usually a roughly equal number of admin and user pages on the sites that I build.
    The Bottom Line on Kiva
    Assuming you can muster the programming resources and time necessarily to build an operational site in the Kiva API, does it matter that a Netscape Application Server site won't be the ultimate in reliability or performance? Perhaps not. Search engines such as AltaVista don't bother to index URLs of the form "http://yourserver.com/cgi-bin/gx.cgi/AppLogic+foo". So perhaps nobody will see your site.
    One special case where an application server might be useful
    If you have a huge investment in applications developed in Oracle Forms or Oracle Developer/2000, then you might want to look into using Oracle Application Server (OAS). In theory you can push a button in Oracle Forms and have your bad old client/server system turned into a shiny new (albeit clunky) Web application served via OAS. It might be nice for intranets.

    Unlike Kiva/NAS, OAS is essentially a stateless system, thus eliminating a whole class of potential bugs.
    Summary
    The Web is fairly young. However, that is not a reason to abandon sound engineering principles. You don't want a complicated untested system sitting between your users and your database. You don't want to be forced into developing dynamic documents with a language requiring compilation.

    Maybe you're having second thoughts at this point. You're going to be doing lots of transactions. Your idea is so brilliant that you're going to have half the world using your site. Maybe a simple Web service layer on top of a proven RDBMS is good enough for Greenspun and his pathetic 500,000 hit per day personal site, but you're building something serious here.

    Two words of advice: "America Online".

    As of this writing (July 1998), AOL has 11 million members. They have a bunch of Unix machines running a replicated Sybase. They interface this replicated Sybase to the Web via a very simple stateless program: AOLserver.
    November 1999 Update
    More than a year has elapsed since I wrote this article. In the world of broken computer systems, this is scarcely long enough to fix a bug. In the world of Internet business, though, this is enough time for America Online to have bought Netscape and forged an alliance with Sun. Did this result in a glorious flowering of software genius? Enough to enable Netscape's programmers to turn their application server into something useful? Well, let's check out what the snazzy new webcenters.netscape.com site is running...

    telnet webcenters.netscape.com 80
    Trying...
    Connected to webcenters.netscape.com.
    Escape character is '^]'.
    HEAD / HTTP/1.0

    HTTP/1.0 302 Found
    Location: http://home.netscape.com
    MIME-Version: 1.0
    Date: Thu, 04 Nov 1999 06:23:02 GMT
    Server: NaviServer/2.0 AOLserver/2.3.3
    Content-Type: text/html
    Content-Length: 319

    In explaining some of this mess to MIT students in our one-semester course in software engineering for Web applications, it occurred to me that I never explained how three-tiered architectures and application servers came to be useful in large corporations to begin with.

    Imagine that a large bank has a checking account system built in the 1960s on an IBM mainframe. They also have a Visa card system built in the 1980s on a Unix machine running the Informix relational database management system. They have a call-center management system built in the 1990s running on a Unix machine running the Oracle 7.3 RDBMS. Suppose that the bank wants to offer the following service: Charlie Consumer calls up the 800 number and wants to pay his Visa bill directly from his checking account.

    The bank's IT staff is extremely risk-averse and doesn't want anyone to touch the guts of any of the three existing systems. So they hire a C programmer to write a custom program that will talk to the call center's Oracle database to figure out which consumers want to transfer money, then talk to the Informix- and mainframe-based systems to actually move the funds. This was called an application server because it contained the logic necessary to enable the new application, i.e., moving money from checking to credit card.

    If the bank were starting from scratch would they build things this way? Of course not! They'd put everything into one big Oracle database on a Unix machine and they wouldn't need application servers. The checking-to-credit transfer could be accomplished with a tiny PL/SQL or Java program running inside Oracle.

    The strange thing is that most Web service operators are in exactly the position that all the world's large companies would love to be in. The Web services have all their relevant info collected in one big relational database management system. So they don't have the pernicious systems integration problems that Fortune 500 companies do. Yet apparently at least a few of the technology folks at Web startups are sufficiently confused that they buy willingly into the same kind of computer systems complexity that the Fortune 500 are trying desperately to escape.
    philg@mit.edu
    Reader's Comments
    I've purchased the dead trees book, and looked at the new one online, and now this page here. Still no mention of Cold Fusion.

    I know you have strong opinions, Phil, and you probably have a reason for not considering or mentioning it. But as an application server it seems such a powerful yet elegantly simple environment for building just the kind of apps you so fondly describe. If you've not looked at it recently (4.0 is about to come out), please consider doing so.

    Compared to the effort to do the same thing in Kiva/NAS as described above (and perhaps Aolserver), simple things can be rendered amazingly quickly, while complex things can be created quite easily.

    Interested readers (and I offer this as one to another, not as a product hype) can find more at www.allaire.com.

    -- charlie arehart, July 14, 1998
    I may have just found part of an answer to my question, if I extrapolate from a quote in the info on setting up an ecommerce site (http://photo.net/wtr/thebook/ecommerce.html):

    "We looked at the vPOS system from VeriFone and rejected it immediately because it only works with Microsoft Internet Information Server (we don't know anyone who understands NT well enough to run an Web service from Windows NT)."

    Many presume that CF runs only on NT, and would therefore presume it's equally susceptible. Just for info, as of 3.1, it runs on Solaris.

    Also, I want to be clear before receiving a response (if one's coming) and state that while I "looked at" the new book online, I did not read it in entirety. I would like to have been able to search it for reference to CF before saying "still no mention of CF".

    I appreciate your penchant for thoroughness and accuracy, and if I've missed such a reference, I apologize. But my inclination after reviewing much today (and remembering some emails we traded many months ago), it to conclude that the lean away from CF would still seem persists.

    I'm just trying to share this as an alternative for the interested reader. I really have found it to be quite useful, especially as compared to other platforms I've seen. Even seemingly in comparison to the AOLserver approach outlined in the book. That's an opinion, of course.

    I only wish that your site reflected a considered observation regarding CF, especially in its later versions which have addressed so many issues that may previously have been found wanting.

    I hope others find the comments helpful.

    -- charlie arehart, July 14, 1998
    Charlie, I don't have a penchant for "thoroughness"! My goal is not to try every possible Web/db tool. My first goal is to keep my million-hits/day personal sites up and running. My second goal is to finish the new rev of my community software package so that a bunch of folks (including me) can use it. My third goal is to complete my consulting projects (i.e., get Web sites built for clients of arsdigita.com).

    None of these goals is furthered by spending a few weeks experiment with Cold Fusion. I don't think it can fundamentally do anything that my current Web tools can't so I'd rather spend my time data modelling and writing programs.

    If those Allaire guys release an Emacs mode for Cold Fusion, maybe I'll have a look :-)

    -- Philip Greenspun, July 14, 1998
    Thanks for that. I meant the thoroughness penchant wit respect (I really did mean I "appreciated" it). Your coverage of the issues near and dear to you is exhaustive and complete. That's what I meant by thorough. I was only sparked to comment on this "application server" discussion page. It seemed a place where you might have indeed taken time to evaluate alternatives. I can appreciate (or rather, understand) if it's more just a log of experience trying a couple things. Even so, I offer my comments both to you for consideration should you experiment again in the future, and more importantly to readers should they be considering other options.

    For that, I *appreciate* the opportunity to have offered these comments. It, like many of your site's features--and you yourself, are valuable resources. :-)

    -- charlie arehart, July 14, 1998
    Unfortunately, most of my consulting engagements are with corporations that already have an established architecture and guidelines, etc. These invariably include NT. I entirely agree with Philip's point of view regarding middleware, but its hard to go simple and elegant on NT. What are some good light web server/scripting language/RDBMS combinations that work with NT (if any)? Anything besides IIS/ASP?

    Also, what about Server Side Java? What would be the likelihood of using SSJ to interact with an RDBMS and then output HTML to a browser (once SSJ is ready for the task)?

    -- Justin Loeber, August 7, 1998
    OK so I understand why you hate Kiva's server. My colleagues and I have done a whole bunch of work since the good ole days of Perl CGI's, to try and find a reasonable server-side programming solution which has RDBMS support.

    I will first say that we haven't tried CF or AOLServer although those sound viable. My main concern with CF is the plug-in architecture - C only, as I understand (i.e. not Perl or Java). C is so utterly crude and dangerous that I don't touch it if at all possible, so that's a big downer.

    We came up with our *own* perl based template solution, which was pretty cool for a while. Then Java servlets came along and swept away all the reasons we had for coding horribly complex ASP and LiveWire stuff. LiveWire at least has a very seamless JavaScript/Java interface so we have some cool stuff that uses JS for presentation and Java for complex, high performance stuff. ASP uses ActiveX which is super horrible, even from Java.

    But servlets only solve the problem for high end guys like me, and of course there is the compilation cycle. Not cool for an HTML whacker, and that's where CF and AOLServer seem to have Servlets beat. (I certainly don't think that between TCL and CFML, you can do nearly as much cool stuff as with Java, to be fair to Java.)

    Well, it looks like there is finally a "no compilation required, page based programming model " sort of solution that uses Java. It's called JSP, for JavaServer Pages, and the first implementation I have seen is from Live Software (www.livesoftware.com).

    Basically it's implemented as a servlet that serves all pages whose filename ends in .jsp, and it looks remarkably like ASP, except for 3 critical differences:

    1) It's pure Java so you can run it on Linux or HP/UX or Solaris or AIX or MacOS, not just NT. 2) The embedded language is Java, so although you may be twitching in horror at having to use a strict language, you have the benefit of a language without giant syntactical BS like VBScript and Java have, plus your knowledge of the "reusable objects" language can help you train your "scripted pages" people, and you can share books, training classes, etc. etc. 3) The interface from scripting-land to reusable-objects-land is practically nonexistent. Since the JSP parser is a servlet, it is written in Java, hence you already have a JRE and a classpath going. Just compile your classes and put them where the servlet engine can find them and you're done. If necessary you can hack up a servlet just to test one object, or you can hack up a command-line Runnable class that can do the same thing - do that with COM. If you like you can make the return value of your Clever_DB class be a Java object - also impossible with COM, unless it too is a COM object, and then you have to do exceptional syntactical stuff to make that work. And in LiveWire you have to account for the difference between JavaScript variables and Java String objects, which is not needed here.

    The reason this is not taking over the universe is that, like much of the really exciting Java stuff, it's not really "there" yet. You can get it in a beta version but most definitely it isn't as tried and true as AOLServer is for Mr. Greenspun...

    Anyway, it's just something to watch...

    -- Jamie Flournoy, August 19, 1998
    Today the DOW dropped about 500 points so I thought it might be a good time to get into the market. I went over to E*Trade to open an account and saw URLs like the following:

    https://trading.etrade.com/cgi-bin/gx.cgi/Applogic+Home?gxml=hpa_welcome_c_t.html&SOURCE=YAHOO

    from the URL, it's apparent that they're using Netscape Application Server (aka Kiva). Given Kiva's well-documented reliability and usability issues, perhaps I'll reconsider trusting E*Trade with the management of my investments..

    -- Gideon Glass, September 1, 1998
    Actual E*Trade horror story:

    The company I work for recently switched over to E*Trade's "Optionslink" captive broker program. They handle our stock option and ESPP (employee stock purchase program) shares. The day after our last ESPP purchase, the first under the new regime, hundreds of employees were unable to connect to the optionslink site. As far as I could tell they were down for the entire day, having crashed early in the morning due to high load. People wanting to sell their shares were forced to discover and use the touchtone telephone access line (which costs more). E*Trade subsequently refunded all fees for trades executed that day.

    That was enough to convince me to choose another service do to my personal online trading.

    -- Ben Jackson, October 24, 1998
    It's a very interesting perspective which you bring to this. The comments on scalability and availability are very apt, and nice to hear in the face of the marketing deluge from the app server companies.

    However, there are a few points where I see things differently. I've been using Art Technology Group's Dynamo, and I've been quite happy with it. As with Kiva, it is somewhat complicated to do just about anything. I have found however, that it makes the hard things significantly more achievable.

    One of my main experiences of the dynamic sites I wrote before using Dynamo (in Perl or in PHP), was that I was often solving the same problems over and over. And, just as often, under time pressure, I was solving them badly. Maintaining a user's session, templating (and sub-templating) pieces of HTML, pooling database connections, inserting queues for performance, logging errors and events accurately, etc. With Dynamo, all of these things are supported in very flexible, very well-implemented ways.

    So that's something I like: the services provided by a good application server.

    If I were just writing bare servlets (given that I do like Java as a server-side programming language), or Java Server Pages, I would have to come up with a lot of that functionality on my own.

    Just another perspective...

    -- Dan Milstein, November 19, 1998
    An interesting prospective. Though I don't share all the statemens of the article - the one is obvious. Most of the tasks for which application servers are being advertised could be sovled by employing much more cost-effective solutions. Presently, just by using a web-server as simple proxy-server to so called applications servers people: (1) underutilize front-ends (2) unable to take full advantage of HTTP1/1 features (3) end-up with almost unacceptable latency. A decent high-performance webserver, such as Netscape Enterprise Server or IIS plus a hardware load-balancing solution such as Cisco Local Director (which one would want to have anyway) would do just fine in many cases.

    -- Ruslan Belkin, February 9, 1999
    I am currently involved in the evaluation phase of application servers and alternative technical routes that achieve a core goal:

    "An architecture that supports a component based development framework for reusability and quick development cycles."

    One of the choices not mentioned is the use of client-side scripting with server-side XML. I am experimenting with using java servlets to serve XML mappings of database queries directly to a browser. A set of javascript routines facilitate the actual event of hitting the web-server with query parameters then capturing and parsing the XML data.

    This way the user interaction is 'seamless', minimal data is transferred, and the servlet is 100% free of any presentation rules.

    The drawback is that this is NOT going to work in Lynx. But it achieves separation of data from presentation. It also lets application developers work with a single rapid development tool such as Javascript/HTML and data access component developers developers work with their tool of choice (for us Java).



    -- Mitch Coopet, February 27, 1999
    hi,

    you have raved about Oracle database reliabilty, scalibility etc etc but its still hard to configure and maintain without database tools like those provided by quest software http://www.quests.com/ Why can't Oracle provide GUI interface to configure the database at least half decent as SQL server or MS Access (sic)..



    -- Dragon Heart, March 26, 1999
    Interesting perspective on app servers!

    "Java as a language is mediocre for web applications" Mr Greenspun's main points are: Java requires a lot of typing (True), Java is compiled, which adds steps to the development process. (True).

    Although, as with any reasonably rich language, a skilled programmer will quickly develop worker classes/methods to shorten common tasks - such as string handling.

    Also, Java is technically interpreted and capable of dynamically including classes - so much of the advantages of on-the-fly code changes can be implemented by designing an application to pickup new extensions dynamically.

    Anyway, I wouldn't spend much time debating this-vs-that language. It ranks in the this-vs-that editor debate. Everyone has their preferences and no one will agree once they've chosen their favorite...

    "Application server comments - et. al."

    Now here are where some compelling statements and examples are given and are worthy of discussion.

    "There is no scalability problem"

    Of course there is a problem. The trick is to know when it needs a solution. I agree heartily that keeping things simple at the beginning is a key strategy. I also agree that many folks, rather than think of how their applications might scale, simply throw more plumbing at the problem.

    In my experience, the largest impact on performance of any application is the, shock, *design* of that application. IOW, the developer is most often their own worst enemy.

    So, assuming many shops are throwing additional complexities over an application that basically still "sucks", it will most likely just add misery to the situation.

    Assuming that the application has been focused upon, works great and is easy to maintain, it should be a lot clearer that performance issues are most likely related to shortcomings in the delivery platform.

    This makes it much easier to pinpoint what needs to be added to the delivery platform to enhance performance. Again, not throwing the kitchen sink at the problem, but incrementally adding things where they fix a particular, identified problem.

    "Becoming a prisoner"

    Mr. Greenspun points out that using essentially open APIs and object libraries (Servlets, JDBC, Java Pages, open source connection pooling software, etc.) gives you a lot of portability and even reduces your cost of deployment.

    I find little to argue with here. In fact, I think this is *the* "dirty little secret" of web development. There's opportunity here. There are already companies using nothing but open source tools, applications and operating systems, to develop turnkey solutions that kick ass, and they are making money - $5-$20 million in income a year.

    However, as Mr. Greenspun points out, fortune 500 companies have their own strange psychology about how to purchase and develop their computing tools and infrastructure. This makes them very nervous about the above kinds of sources they use for their solutions. They'd rather have a vendor they can call on the carpet. They'd also like to have vendors with enough cash, i.e. something to lose, to compensate for problems.

    I believe this is changing rapidly - that many companies are sitting up and taking notice of what's going on in the open source arena. A few more large sucess stories and orders of magnitude less cost are going to to shift things very quickly - perhaps in the next 2-3 years - in favor of more or less "open" solutions.

    Do I think that the current suite of "application server" products are insanely priced and needlessly complex? You bet your ass I do.

    If most of the customers I met jumped up and shook my hand for the deal when hearing I could whip up their enterprise-class web solution using nothing but AOLServer and TCL scripts, I'd be more than pleased.

    Until that becomes the norm, we're stuck with using Edsels to run the Indianapolis 500...

    - Mike O'Shea Puget Sound Systems Group mikeo@pssg.com



    -- Michael OShea, April 30, 1999
    The address "http//www.meta-html.com/" (Meta-HTML extension to HTML syntax) doesn't exist anymore (02-May-99).

    -- Agon Buchholz, May 2, 1999
    I always enjoy reading Mr. Greenspun pragmatic and realistic views of developing web database sites. His thoughtful comments push developers to think. However in terms of measuring scalablity with web applications I think he is giving the public at large a misconceoption of what web scalibity means with respect to price performance and application servers. Before I make any comments on webserver scalibity lets say that I look at it form the kernel up as opposed to Mr. Greenspun looks at it from the higher level down. And for information purposes, yes I do work for Sun.

    Frist on of the major factors that affect application transaction throughput of a server based on your database backend is if your rdbms is correctly thread modeled to the OS, i.e. Oracle is not a truely threaded rdbms in the two model smp architecture. Informix is a more true threaded database. However one has to match the user thread level architecture such as java or tcl or php3 or perl to the underlying OS. In the case of Solaris this is more difficult to accomplish, java a perl come the closest. Both must be proficient in matching the thread vm models to the OS. Java 1.2 comes extreamly close to this which commercially is in it's infancy. Perl threading with respect to a two thread model smp architecture is second best but by no means close. The key in java would be controlling garbage collection on large image allocation. This is typically not a concern with other web api's which the developer has to manage themself.

    So where does that leave us for a billon webtransactions a day, what that is 12k a second of which static pages can be supplied at 10k a second according to specweb on Solaris 4 cpu Xeon box and lets grossly say 20 percent of that is transactions. If I can get 3.3k messages a second on a (dual) Xeon box running Solaris with a Volano java benchmark I would be concerned only with what affects on cpu loading in user space is offered by java or perl, tcl etc. Yes I firmly expect it to scale (valono marks) on a quad.

    The model of the webserver is extermly important in this case. Example using Apache or any other fork prefetch model would be inappropreaite to draw response time concultions from in the Solaris smp model. Netsacpe or the Sun Webserver 2.x is more closely matched. By this I mean that java servlets in the Sun Webserver are dropped down through an rpc door call and effectively reduce overall latency by more closely matching the thread model of the over all architecture. Man if that isn't a mouth full of marbles.

    So what my point and what is all the gobblity gook I'm getting at. One according to the web sizing and calculations in Capacity Planning for Web Performance by Danial Menasce and Virgilio Almeida, Philip is mostly correct about the cost performance justifications of application servers in general. But for the most important part is tracking latency of the model. At least I thing is more of a concern. What God gave us bandwidth, humans cause latency. Always did like that one.

    As for price/performance shop till you drop. And Open Source solutions are worth as much time as you have to fix the bugs and performance issues that you encounter. And one of the best ones I ever heard is; Who in the hell told you OO is suppose to perform well.

    ---Bob palowoda@fiver.net

    -- Bob Palowoda, May 4, 1999
    The NAS perspective is very helpful to me, as I have just become involved with a Fortune 500 company that is insisting on a Kiva solution. The Netscape NAS information is so loaded with marketing jive that I can't get a lot of useful information out of it. I am hoping to comply with the letter of the requirement and violate its spirit by using AppLogics as minimally as possible, passing request/response strings back and forth to servlets with no intervention of any kind, but, you know, I am afraid I am going to get trashed for the additional overhead, coming as it does with no benefit whatsoever. Thanks for alerting me to this dangerous product.

    -- John Burns, May 18, 1999
    ColdFusion: This is a viable solution for NT. It scales and performs reasonably well for probably all but the very high-end site. I would highly reccommend against using it on Solaris until their next release, supposedly due out this Fall. Reasoning? The code isn't actually ported over from Win32 -- it's running on top of Win32-like libraries (from Bristol) on Solaris, and performance ends up being similar to NT (bang for buck). The folks at Allaire are rewriting the entire code base to make it portable and more modular, and hopefully better performing. (Note: I used to work for Allaire, so I don't know if that matters at all in terms of what that means for this opinion.)

    Kiva/App Servers: I have to agree with Philip (sorry, I misspelled it earlier) on this one. They are typically more trouble than they are worth. Again, unless external forces dictate otherwise, stick with tried and true solutions like the ACS stuff, or ColdFusion (sorry...I just know it works well in lots of situations). N.B.: Philip, I was thinking of writing a CF-mode for Emacs, but just never got around to it. I hear ya. ;-)

    -- J E, May 29, 1999
    Meta HTML has relocated their website. It can now be found at www.metahtml.com. There are GNU and commercial versions of Meta HTML.

    -- Brian Jones, June 15, 1999
    Beside Kiva, what other app server should I be avoiding?

    -- Cuong Tran, July 10, 1999
    I think this should be compulsive reading for all web developers.

    I was just trying to work out what kind of systems it would take to support the kind of load I was anticipating. Now I know!

    What you say is common sense to anybody, the only point most people don't realise is whether or not the simple idea can hack the load.

    Now we know it can.

    Thanks very much.

    Sam

    -- Samuel Liddicott, July 16, 1999
    Although I agree with a lot of the comments about KIVA/NAS I do not feel the same way about application servers in general. I've been working on the web for a relatively long time. In the past 3 years I've been working with application server technologies.

    We've had a lot of success with Sapphire/Web and all of it's components. I've seen people that didn't come from a software background (at least no C++/Java) develop functional applications in relatively short periods of time.

    A great thing about it is that it allows integration with other systems. Although running an Oracle 8 rdms might be the answer for some people you have to remember that there are many companies that have other/mixed rdbms systems. With Sapphire/Web we have the ability to talk to multiple databases and middleware services. This has allowed us to access some older systems via the web.

    NT is seen as easier to manage than unix so it's gaining a greater prescence in corporate america.

    Java's new work with servlets and jsp is going to be very interesting too.

    -- Tom Menegatos, September 19, 1999
    AppLogics will be replaced by servlets & JSPs in NAS 4.0 (which might be out by now). This servlet implementation will be built on top of the AppLogic layer so it will probably be even buggier than before. If anyone is using NAS 4.0, please share your experience.

    Personally, I like implementing my server logic in servlets. I build my stuff in JBuilder on Win95 (which offers many nice hand-holding features) and upload the resultant class files to my host. I write a BaseServlet that handles most of the DB connection & user validation crap for a project and then subclass that for the other servlets.

    Java may require more lines of code but I find it WAY easier to read/maintain than Perl and other similar scriptng languages.

    David Nicks

    -- Ephram Gonzalez, October 22, 1999
    People seem to miss the problem Phil has with NT (that I share). It's not that it's easy to administer. It's actually not easy to administer _well_. It is easy to administer badly or in a mediocre fashion. The problem is then that if you fail to administer it well, it's not suitable for an 'enterprise' application. In other words, you may have to reboot it nightly, or weekly, or more frequently than 3 months to a year, which can be a realistic figure for a moderately well or really well administered *x system. When you look at VAX, you get into figures like years and possibly a decade between instances where the server's operating system needs rebooting.

    I agree that having to reboot the operating system frequently makes it difficult to run an 'enterprise' application with any degree of professionalism, and I urge others to see if they can figure out the author's stance about reliability, uptime and administrative costs before suggesting web servers, development environments and operating systems that are not proven to be adequately stable. It makes them look like they actually haven't retained any comprehension from their readings.

    -- Malcolm Gin, November 7, 1999
    I read Phil's essay on application servers and three-level hierarchies while the Sun Ultra 10 on my desk churned through another test series to get some performance numbers on what kind of performance hit I can expect from ColdFusion versus stock HTML.

    Obviously, the more levels one introduces to the hierarchy, and the more dinking around one does with the data that ultimately winds up being shoved out to the end-user, the more time or performance it'll take.

    I arrived at my current job a month ago, eager to CFML-ize everything within reach. But now that I'm running tests (using Jef Poskanzer's http_load), I'm starting to realize that ColdFusion isn't particularly efficient at handling high loads. Simply having the CFserver (running as an NSAPI plugin to Netscape Enterprise Server) *look* at data, even if there's nothing there for it to parse or act on, drops pages-per-second performance incredibly.

    Of course, we're not using an Ultra 10 for production webservice - we've got multiple Enterprise 450's for that, which don't even break a sweat serving hundreds of thousands of static pages a day as it is. But reading "solution" examples on Allaire's websites, and noting that some of their other customers are running clusters of up to *40* machines... wow.

    Yes, we want database integration. Yes, we want personalization for our users. But no, we're not willing to sacrifice performance or load time. And no, we don't really need a "content management system." Content is great, but without performance, it never makes it to the user.



    -- Dan Birchall, December 2, 1999
    I feel it germane to mention Zope here, for the following reasons:
    Zope is Open Source.
    Zope is written in (mostly) Python, with certain sections optimized in C. Python is an interpreted language, offering much of the same benefits as Tcl provides for this kind of work; namely no compilation, and therefore faster development cycles.
    Zope has a nice reporting language called DTML that, while having faults of its own, improves on the ASP/JSP/?SP syntax (IMHO.)
    Zope includes an Open Source transactional, logging (and thus versioned) object database called ZODB, in which most of your web objects are stored.
    If ZODB doesn't fit the task at hand (i.e. you are doing more writes than reads, or the data needs to be accessable from another system), you can easily store your data in Oracle, Sybase (Sybase officially supports Zope!), ODBC via OpenLink, and a number of other RDBMSs.
    RDBMS connections are pooled (cached, actually, along with nearly everything else Zope touches.)
    There is one transaction boundary. If you are in the middle of a commit, you have already written some data to the object database, and then there is a failure in a SQL query, the entire transaction is rolled back. ZODB and the RDBMS stay in sync.
    Zope includes its own (Open Source) protocol server, called ZServer, based on Sam Rushing's asynchronous Medusa, which serves object data to HTTP, FTP, WebDAV, and (soon) SOAP clients. You can even use Emacs/efs to edit methods on Zope objects via FTP.
    If you don't like ZServer, feel free to use Apache, IIS, etc., through proxy-pass, PCGI, or FastCGI.
    URLs your grandmother can read! Yes, you can bookmark them, too.
    An active, growing community.
    I don't work for Digital Creations, nor do I have a vested interest in Zope, other than the fact that I use it, personally. I simply agree with most of what Phil said on this page, and feel that Zope is a nice alternative to AOLserver for people who think similarly.

    -- Jeff Hoffman, February 15, 2000
    Philip makes a number of interesting points, but neglects to address one great strength of the java-based Application server market, which includes the likes of Weblogic: available programmers.

    There are far more people with Java skills than there are Tcl. A search of resumes on dice.com turned up 3990 candidates who claim Java experience, while 84 claim Tcl experience. A search for Weblogic turns up 43 resumes, while AOLServer turns up 1.

    Forgive a weak analogy, but it's like buying an Jaguar over a Ford. Which is going to be easier to find a replacement mechanic for? The Ford may be the crappier vehicle, but it's far easier to maintain if you're not the primary mechanic on it. So when you need to extend or fix your AOLserver implmentation, who do you call? Some brilliant college kid with no accountability or Philip's company, ArsDigita?

    On second thought, perhaps Philip is even smarter than he appears.

    -- D.R. Tong, February 17, 2000
    re: D.R.Tong's comment regarding availability of Tcl programmers.

    If your programmers cannot learn Tcl in a couple of days, then you are hiring the wrong kind of programmers.

    -- John Smith, February 18, 2000
    I just have to write another comment, following up on my positive spin on Dynamo from a while ago.

    After much use of Dynamo, I have changed my mind. I strongly recommend against using Dynamo for just about any project.

    It adds a great deal of needless complexity and is difficult to administer and maintain. The development process it forces on you is laborious and frustrating. It scales poorly and crashes often.

    There is pretty much nothing I like about Dynamo which I can't get from Apache JServ (basic Java Servlets), along with some open source toolkits: BitMechanic's JDBC Connection Pool, the superb Freemarker HTML templating system, Oroinc's Perl-like regex packages, etc.

    As someone said above, I find putting my logic into Java Servlets to work very well. With Freemarker, there is very little need to use the painful Java string handling syntax, and Java allows complicated things (like input validation) to be handled gracefully. And with JServ, classes are automatically reloaded when they change, so the development process is just one step away from save-and-reload.

    -- Dan Milstein, March 17, 2000
    A few points from experience:
    I have tried and I am using XML and XSL (Microsoft implementation) and I found that it flies and way outperforms ASP. I would argue that there is hardly anything cleaner than that. In addition, I use ADO and MS SQL Server. I don't know about the Oracle/Java/TCL configuration, but I comfortably support 10 hits/sec on my 266MHz Pentium laptop on NT.
    If you use application/web server, you can keep some data in memory and cache it and scale far better than an RDBMS solution. It really depends on the type of application and data
    Java is compiled (JIT) and every decent servlet environment can detect a change in a .class or .jsp file and reload on the fly without restarting.
    Look at some PC Week test results and have a second thought about application servers and NT. There are also articles about MS SQL Server vs. Oracle.


    -- Christo Angelov, March 20, 2000
    In reference to D.R. Tong's comment above, I totally agree with Gary Burd's rebuke. I am familiar with both Java and Tcl. Anyone who can't learn to program in Tcl in a few days has no business calling themselves a programmer. I can't say the same thing about Java.

    -- Vadim Nasardinov, April 25, 2000
    I'd like to note that phil has done a great job with this site. I've found a incredible amount of information. But, I'd like to point out that home.netscape.com itself isn't running Aolserver.

    As you can see, webcenters.netscape.com is running Aolserver, however it returns a Location header to take you to home.netscape.com, which is running netscape's server. (Or appears to be doing so)

    Still, keep up the great work you are doing by providing all of this information for free, I understand how much work it is.

    -- Joseph Moore, May 6, 2000
    webcenters.netscape.com redirects you back to home.netscape.com if you don't present all the cookies that it wants to see (i.e., you have to be a registered user already to see the AOLserver-backed site).

    -- Philip Greenspun, May 6, 2000

    D.R. Tong raised the issue of available programmers on February 17, 2000, and Gary Burd responded:
    If your programmers cannot learn Tcl in a couple of days, then you are hiring the wrong kind of programmers.

    I think D.R. might be referring to a consulting situation. I've run across this to my great frustration in some of my engagements. For some clients, if they want a solution that uses X language so they can maintain the system in that language after you have left, you either provide for that in the proposal or you don't get the contract. No amount of explanation of the benefits will sway them to adopt Y language. I think the real answer here is to enhance AOLserver to support code other than Tcl, ADP, etc., rather than saying "it's my way or the highway". The data model looks clean to me (I've only been peeking at it for a day, and I ain't some whiz, so take this subjective eval of the model with a boulder of salt), and there is nothing that says "thou shalt use AOLserver/Tcl" against that model. A superior data model does not circumscribe the manner in which it is accessed. You are free to use anything else against that model (though you wouldn't derive the benefits of the massed efforts of others behind the AOLserver/Tcl approach, a variation of the issue that D.R. posed).


    -- Anthony Yen, May 9, 2000
    Concerning the virtues of interpreted scripting languages vs compiled application logic feeding HTML templates, I thought I might share my experiences with rapid prototyping and debugging on two platforms, one compiled, one interpreted.

    Firstly, ASP development. I use Homesite, which gives me syntax highlighting, tag-wizards, context sensitive help, all that good stuff. But to find syntax errors in my form logic, for instance, I still have to reload the page, read the error message, figure out where the error is (sometimes the line numbers given are helpful, sometimes not) and move to that line in Homesite before I can start debugging. Maybe there are microsoft tools that make this faster, I don't know.

    Secondly, Delphi development. I've done a fair amount of standard database development and even a fair amount of web development using Delphi. 18 months ago I wrote the beginnings of a pretty good webBBS system using Delphi (currently running at insanity.net.nz - I hope to finally do some more work on it sometime in the next month or three). It runs on a web application server called Webhub, which although good, is sufficiently obscure that I have doubts about it's future, particularly now that Delphi 6 Enterprise has it's own (very impressive looking) web application development system (which will probably also be in Kylix later on - that's Delphi for Linux). I'm getting off track here. The point I want to raise is that when C hackers think "time to compile now?" they often have to make a strategic decision about whether now is the best time for a coffee break. Whereas when I think "did I get the syntax right on that last function call?" I hit compile, because it takes about half a second. And it'll take my cursor right to the first error, with a clickable list of the current errors, hints and warnings in the message dialogue box.

    So when I see people saying things like "Python is an interpreted language, offering much of the same benefits as Tcl provides for this kind of work; namely no compilation, and therefore faster development cycles" (from above, concerning Zope), I often wonder what they're talking about, until I remember that most people have never used or perhaps even heard of Borland Delphi.

    -- Seth Wagoner, June 22, 2001
    Add a comment
    Related Links
    Meta HTML's new URL- You can find Meta HTML here, there are GNU and commercial versions. (contributed by Brian Jones)

    Zope (Z Object Publishing Environment)- Zope is a free, Open Source application server and portal toolkit used for building high-performance, dynamic web sites. (contributed by Frank Tegtmeyer)

    Midguard Application Suite- Open Source based on a patched version of PHP3. Worth a look if you are looking for something "free". I've got Zope running on my wintel box and it has all the goodies I would like. But, I'm not sure how easy it would be to get it (Zope) working on an ISP, which is my only option at this point. (contributed by John Krumpotick)

    Open Source Java Application Server- Enhydra is a newer Java Application Server that's open source and now GPL'ed. It's got some cool ideas about XML/XSL, dividing application logic from page design. (contributed by Jonathan Wilner)

    Wyona Extensible Publishing System- My friend Michael divised a publishing system, based on a small servlet kernel. As of now, I couldn't really look at it, but he is focused and driven by desire for technical appealling functions rather than money, so this got to be great :-) (contributed by Karl Banke)

    Dynamo- An application server that doesn't suck. (contributed by Will Sargent)

    PC Week Application Server Tests- Check this out and think again about scrapping them. (contributed by Christo Angelov)

    Emacs mode for Cold Fusion editing- Since several people asked about this. From the NT-Emacs FAQ. I haven't used it yet, so I can't vouch for it. (contributed by Rob Storrs)

    Tomcat- Tomcat is the "reference implementation" for Java Servlets and JavaServerPages. It is open source. Seems the way to go if you want to use the Servlet and JDBC APIs like Philip G. talks about. (contributed by Philip Ravenscroft)

    PyWX -- Python for AOLserver- AOLserver is no longer limited to Tcl; a Python module is now available. There is also a java exec function being brought out by someone else; links are not available yet. (contributed by Titus Brown)

    Webware for Python- A suite of web development components including an application server, that doesn't suck. :-) (contributed by Chuck Esterbrook)

    BlueDragon Server, a free alternative to ColdFusion- Folks intrigued about ColdFusion but put off by having to pay for it, or wishing that it wasn't proprietary, will be intrigued by BlueDragon, from New Atlanta (makers of the popular ServletExec JSP/servlet engine). In its Server edition, which is free for production deployment, BlueDragon offers substantial compatibility with CF5. In the 6.1 release of its commercial Server JX and J2EE editions (and coming .NET edition), it offers substantial compatibility with CFMX 6.1. The J2EE edition allows deployment of CFML apps as standard native J2EE web applications (WAR or exploded archive format) on any J2EE server. Trial and free developer editions of all BlueDragon products are available. (contributed by Charlie Arehart)

    Add a link
  • DOW 10,000!!!! Oh Wait, Make That 7,537 obama inflation

    http://www.zerohedge.com/article/dow-10000-oh-wait-make-7537

    ani communism rant AWESOME

    (2:52:47 AM) The topic for #obama is: Saturday Night Healthcare Debate: Let the debate begin? Dumbass Senate, 60-39 | Martha Stewart dropkicks Sarah Palin (google it)
    (2:59:37 AM) jonnyjoe [opera@194-230-100.static.xadsl.is] entered the room.
    (3:05:01 AM) Olbermann left the room (quit: Remote host closed the connection).
    (3:05:28 AM) Olbermann [iken@the.president.of.us.to] entered the room.
    (3:06:04 AM) mode (+o Olbermann) by eggnog
    (3:10:47 AM) frogeater: lol
    (3:10:53 AM) frogeater: obamais fail
    (3:15:47 AM) jonnyjoe left the room.
    (3:31:00 AM) s|k left the room (quit: Read error: Operation timed out).
    (3:34:21 AM) Oranj [~Oranj@93-96-170-92.zone4.bethere.co.uk] entered the room.
    (3:34:28 AM) mode (+v Oranj) by Stung
    (3:34:37 AM) JohnnyBad: gp tp bed, kid
    (3:40:22 AM) frogeater: kid?
    (3:40:26 AM) frogeater: are you 60?
    (3:40:28 AM) frogeater: lol
    (3:40:50 AM) Oranj left the room (quit: Ping timeout: 380 seconds).
    (3:40:56 AM) rc: sup
    (3:41:01 AM) frogeater: obama biggest deficit ever and biggest militasry spending, biggest bailouts, not fixing banks, sad really
    (3:43:27 AM) frotz: frogeater: whining about the deficit during a recession is right out of the herbert hoover playbook. do republicans ever learn?
    (3:44:15 AM) frogeater: republicans are right
    (3:44:17 AM) frogeater: dems are misguided
    (3:44:19 AM) frotz: between the great depression and the bush depression 2.0 it's hard to see why republicans think they should be taken seriously on anything related to the economy.
    (3:44:21 AM) frogeater: communism never works
    (3:44:23 AM) frogeater: never has
    (3:44:28 AM) frogeater: dems always ruin economy
    (3:44:31 AM) frogeater: obama is carter II
    (3:44:31 AM) frotz: frogeater: are you retarded?
    (3:44:35 AM) frogeater: we need a new reagan
    (3:44:40 AM) frogeater: maybe newt ginrich
    frogeater frotz
    (3:44:48 AM) frogeater: frotz are you?
    (3:44:53 AM) frotz: the stock market has done better under democratic presidents than republican ones for the past 100 years.
    (3:44:59 AM) frogeater: I'll wager i am smarter than you are.
    (3:45:01 AM) frotz: does evidence matter?
    (3:45:03 AM) frogeater: thats not true
    (3:45:06 AM) frotz: well you wager away.
    (3:45:09 AM) frotz: that's absolutely true. duh.
    (3:45:10 AM) frogeater: that factaully incorrect
    (3:45:12 AM) frogeater: as msot dems are
    (3:45:15 AM) frotz: go look it up dumbass.
    (3:45:28 AM) frogeater: you admit the great depression was caused by the fed inflating the money supply right?
    (3:45:36 AM) frogeater: the fed created in 1913
    (3:45:46 AM) frogeater: if not you ar eno longer worthy of even discussion
    (3:45:55 AM) frogeater: not true at all
    (3:45:56 AM) frotz: http://www.usatoday.com/money/perfi/columnist/krantz/2005-12-02-presidents_x.htm
    (3:45:57 AM) Boston: ??? USATODAY.com - Democrats or Republicans? Just the facts
    (3:46:07 AM) frogeater: regan was longest peactime economic expansion in 20th century
    (3:46:10 AM) frotz: the great depression was caused by herbert hoover's economic policies.
    (3:46:12 AM) frogeater: and he cut taxes!
    (3:46:22 AM) frotz: reagan raised taxes more than any other president.
    (3:46:30 AM) frogeater: hong kong fastest econmic developement in history and had 15% flat tax
    (3:46:31 AM) frotz: he presided over the single largest tax increase in history.
    (3:46:35 AM) frogeater: we should do a flat tax here
    (3:46:47 AM) frogeater: reagan lowered taxes you moron
    (3:46:49 AM) frogeater: gosh
    (3:46:49 AM) frotz: flat tax is regressive and hits the poor much harder than the wealthy.
    (3:46:51 AM) frogeater: stupidity
    (3:46:55 AM) frogeater: no its not
    (3:46:59 AM) frogeater: not atoll
    (3:47:04 AM) frogeater: and end capital gains taxes
    (3:47:11 AM) frotz: sorry, no, reagan cut taxes and then raised them when revenues plummeted. you need to learn some history before you spew.
    (3:47:12 AM) frogeater: you have already paid taxes when get paycheck
    (3:47:23 AM) frogeater: insane to punish those who wish to invest capital not wate it
    (3:47:24 AM) frogeater: wow
    (3:47:26 AM) frotz: capital gains arent a paycheck.
    (3:47:30 AM) frogeater: such idioticy in dems minds
    (3:47:40 AM) frogeater: yes but if you have 100$ say
    (3:47:45 AM) frogeater: you already paid taxes on it
    (3:47:54 AM) frogeater: there should be no furth tax on capital gains thats crazy
    (3:48:04 AM) frogeater: punishing person for investing?
    (3:48:09 AM) frotz: you gain money through an investment, and income is taxed. duh.
    (3:48:09 AM) frogeater: for capital accumulation?
    (3:48:10 AM) frogeater: wow
    (3:48:19 AM) frogeater: people need to learn basic economics
    (3:48:23 AM) frogeater: obama sure does
    (3:48:28 AM) frotz: it's not punishment, it's you paying your share for the work the government does to make sure that there's a stock market in the first place.
    (3:48:32 AM) frogeater: sure it is
    (3:48:36 AM) frogeater: you already paid taxes on it
    (3:48:38 AM) frogeater: duh!!
    (3:48:39 AM) frogeater: lol
    (3:48:42 AM) frogeater: you simpleton
    (3:48:45 AM) frotz: go invest in somalia's stock market if you think there's no need for a government to keep a market going.
    (3:48:52 AM) frogeater: you smipleton
    (3:48:57 AM) frotz: namecalling is cute when you lack an argument.
    (3:49:01 AM) frogeater: frotz you are stupid
    (3:49:08 AM) frotz: did you read that article about the stock market? it says you're wrong.
    (3:49:08 AM) frogeater: no you really are a moron
    (3:49:13 AM) frotz: http://www.usatoday.com/money/perfi/columnist/krantz/2005-12-02-presidents_x.htm
    (3:49:14 AM) frogeater: you are a retard
    (3:49:15 AM) Boston: ??? USATODAY.com - Democrats or Republicans? Just the facts
    (3:49:22 AM) frotz: ^ look, you were completely wrong.
    (3:49:27 AM) frogeater: fact: capitalism works
    (3:49:31 AM) frogeater: fact: communism fails
    (3:49:32 AM) frotz: works for who?
    (3:49:39 AM) frotz: who's suggesting communism you dumbass?
    (3:49:48 AM) frogeater: frotz if you are a democrat why don't you move a homeless person into your apartment
    (3:49:53 AM) frogeater: help with homeless ness
    (3:49:53 AM) frotz: market regulation works. unregulated markets fail.
    (3:50:00 AM) frogeater: free market works
    (3:50:06 AM) frogeater: so calle regualtions never do
    (3:50:11 AM) frogeater: look at housing fuckup
    (3:50:25 AM) englandd left the room (quit: That pesky 10th Amendment!).
    (3:50:28 AM) mode (+l 92) by interface
    (3:50:39 AM) frotz: yes, look right at it. republicans deregulated the financial markets, and look what happened.
    (3:50:51 AM) frogeater: clinton said give funny money to poor morons who 'deseve a house' and bush gets lef thold the bad vuz barney frank and chris dodd are bought and paid for and freedie fanny and fed print funny money
    (3:51:04 AM) frogeater: I hope you don't actually wtch jon stewart
    (3:51:24 AM) frogeater: they guy can't stop babbling about somehow capitalism is to be blamed for all the fuckups of government and clinton
    (3:51:29 AM) frogeater: frtoz you are a tard
    (3:51:36 AM) frogeater: basic economics son
    (3:51:39 AM) frogeater: and remember
    (3:51:39 AM) frotz: dude, the crash in housing had nothing to do with poor people, the markets worst hit were commercial investors buying and flipping properties in places like phoenix and miami.
    (3:51:49 AM) frogeater: keynes was a moron
    (3:51:51 AM) frogeater: still is
    (3:51:52 AM) frotz: you keep calling names but your facts are all mistaken.
    (3:51:57 AM) frogeater: you can't deficit spend
    (3:52:07 AM) frogeater: deficits are merely a tax, with roling interest
    (3:52:17 AM) frotz: golly, weird how it works when we DO deficit spend.
    (3:52:20 AM) frogeater: I wish all the moron dems would move 1-5 homeless into thier house
    (3:52:27 AM) frogeater: to personally do wahts bet first
    (3:52:33 AM) frogeater: before forcing us all to pay capital gains
    (3:52:35 AM) rc: i've decided... nobody that's talking out there really knows why this depression happened
    (3:52:38 AM) rc: imho
    (3:52:40 AM) frogeater: no I have facts right
    (3:52:43 AM) rc: too many explanations
    (3:52:46 AM) frogeater: you have facts and hsitory dead wrong
    (3:52:49 AM) frogeater: and you dont get it
    (3:52:59 AM) frogeater: your wont ever dare question your job stewart mantra
    (3:53:09 AM) frogeater: do you realise that communism failed right?
    (3:53:16 AM) frotz: rc: that's absurd. the only people even arguing about it are folks like frogeater who has an agenda to hide republican failures.
    (3:53:22 AM) frogeater: no the depressino is easy to see
    (3:53:28 AM) frogeater: fed and fannie freddy printed money
    (3:53:37 AM) frogeater: cuz clinton made it law and mandate
    (3:53:45 AM) frotz: frogeater: who on earth is talking about communism other than you? you want to keep fighting the cold war then you go right ahead and do that in your deluded universe.
    (3:53:45 AM) frogeater: the goverment cant stop photocopying money
    (3:53:47 AM) frogeater: and fed too
    (3:53:56 AM) frogeater: but all it does is cause the business cycle and cause bubbles
    (3:54:01 AM) frogeater: that inevitably correct
    (3:54:08 AM) frogeater: and then thos ewith pull grab bailouts
    (3:54:17 AM) frogeater: meanwhile prices skyrocket and commities go crazy
    (3:54:31 AM) frogeater: and crazy house prices and real estae taxes that dems lvoe go along up up up
    (3:54:35 AM) frogeater: things dont get cheaper
    (3:54:41 AM) frotz: frogeater: clinton's change to the housing rules resulted in loans to low income communities. none of these are the places where the real estate bubble caused major problems. loans under the CRA have a lower default rate than any other class of real estate loans right now. you're factually incorrect.
    (3:54:41 AM) frogeater: as they norammly do under capitalism
    (3:54:45 AM) frogeater: its amazing
    (3:54:50 AM) frogeater: yes
    (3:55:00 AM) frogeater: and now we have laws that you cant remove someone who is defaulting
    (3:55:05 AM) frogeater: someone whos not paying gets to stay
    (3:55:10 AM) frogeater: how is that even sane?
    (3:55:11 AM) frogeater: lol
    (3:55:16 AM) frogeater: dems are really insane
    (3:55:19 AM) frogeater: its jsut crazy
    (3:55:29 AM) frogeater: and fed doesnt even feel it has to give stats anymore
    (3:55:32 AM) frogeater: fed running wild
    (3:55:46 AM) frotz: how is it sane that banks got to make predatory loans without checking anybody's credit and then sell the loan to somebody else so it's another person's problem that the bank didnt perform due diligence?
    (3:56:08 AM) frogeater: a govrnment agency that can photocopy a trillion a month aand give ti to whoever and its not accountable to elected officails? that is in your face unconstitutional
    (3:56:10 AM) frogeater: in yer face
    (3:56:23 AM) frotz: well you better get the consititution police to arrest them!
    (3:56:25 AM) frogeater: constitution says any powers not explicity gievn to federal is right of states
    (3:56:26 AM) frogeater: wow
    (3:56:28 AM) frogeater: dems are nuts
    (3:56:38 AM) frotz: yeah, dems are nuts. that's why the GOP is so popular right now.
    (3:56:49 AM) frogeater: we need a revolt against thsi amatuer hour communist bullshit with big head attitude and fathead media
    (3:56:51 AM) frogeater: wow
    (3:56:56 AM) frogeater: amazingly stupid dems
    (3:57:01 AM) frogeater: just plain crazy
    (3:57:13 AM) frogeater: gop is going to gain in 2010
    (3:57:15 AM) frogeater: watch
    (3:57:22 AM) frogeater: and obama now might be a 1 termer
    (3:57:22 AM) ore83 [ore83@78-25-36.ip.zebry.lt] entered the room.
    (3:57:26 AM) frogeater: what a joker obama is
    (3:57:36 AM) frogeater: and not so ggod off telestrater eh?
    (3:57:45 AM) frogeater: every press conference question planned to the 9s
    (3:57:46 AM) frogeater: lol
    (3:57:50 AM) frogeater: fake master j
    (3:57:50 AM) frotz: frogeater: of course they are. they're basically at zero right now and it's inevitable that they'll pick up a handful of seats just because the confederate south still votes for those idiots.
    (3:57:55 AM) frogeater: fake master j
    (3:58:01 AM) frogeater: oh heck yeah
    (3:58:11 AM) frogeater: I wouldn't put health care in the bank either
    (3:58:14 AM) englanddg [~englanddg@c-76-17-0-81.hsd1.ga.comcast.net] entered the room.
    (3:58:18 AM) mode (+v englanddg) by Stung
    (3:58:20 AM) frotz: i've seen obama speak without a prompter and he's better than bush ever was even with a pre-written speech.
    (3:58:21 AM) mode (+o englanddg) by eggnog
    (3:58:25 AM) frogeater: they should simply follow the grea tmitt romney and make health insurance like ca rinsurance
    (3:58:28 AM) frogeater: gota have it
    (3:58:33 AM) frogeater: kick all illegals outa usa
    (3:58:39 AM) frogeater: kick everyone who not speak english out
    (3:58:47 AM) frogeater: I say end public education
    (3:58:54 AM) frogeater: videtape best teachers
    (3:58:57 AM) frotz: well it obviously didnt do you any good.
    (3:58:58 AM) frogeater: have theaters to watch
    (3:59:06 AM) frogeater: end governemtn grants to universities
    (3:59:10 AM) frogeater: end capital gains
    (3:59:15 AM) frotz: yeah, we can be just like somalia!
    (3:59:23 AM) frogeater: privatize city trnaportation let private trains taake over
    (3:59:31 AM) frogeater: intercity trains should be awesome market
    (3:59:41 AM) frogeater: wind and solar power should become commmon
    (3:59:45 AM) frotz: yes, private transportation works so well. name some places where it's working well to privatize the public transit.
    (3:59:48 AM) frogeater: tek advance is always faster under capitaism
    (3:59:50 AM) frogeater: dems are idiots
    (4:00:01 AM) frogeater: hold back so many market inovations with governmetn monopolies
    (4:00:05 AM) frotz: waiting for you to name a place where privatizing public transit went well.
    (4:00:07 AM) frogeater: dems are such morons
    (4:00:14 AM) frotz: still waiting.
    (4:00:15 AM) frogeater: every time its trie dit works well
    (4:00:24 AM) frotz: where did it work well? name a place.
    (4:00:30 AM) frogeater: market always delivers because market ensures no captured amrket
    (4:00:35 AM) frogeater: if somethign sucks no one will buy it
    (4:00:43 AM) frogeater: only governmetn can stick you with somethings shitty
    (4:00:47 AM) frogeater: only goverment force
    (4:00:55 AM) frogeater: central planning never works
    (4:01:05 AM) frogeater: the price system of capitalims is wesome
    (4:01:09 AM) frogeater: dems just dont understand it
    (4:01:16 AM) frogeater: every palce it was tried
    (4:01:31 AM) frogeater: a lot of economic developemnt in usa happnened due to private railroads
    (4:01:45 AM) frogeater: you could even argue that the west was won by the railroad
    (4:01:56 AM) frogeater: I can however name 100s of places where communism failed
    (4:01:59 AM) frogeater: russia
    (4:02:03 AM) frogeater: north korea
    (4:02:09 AM) frogeater: need i go on?
    (4:02:14 AM) frogeater: or are even you embaressed
    (4:02:22 AM) frotz: if somebody was talking about communism it would almost be like you had a point.
    (4:02:30 AM) frotz: you're the only person talking about communism.
    (4:02:30 AM) frogeater: yeah
    (4:02:32 AM) frogeater: exactly
    (4:02:35 AM) frotz: regulating markets isnt communism.
    (4:02:37 AM) frogeater: capitalism vs commnism
    (4:02:41 AM) frogeater: thats what is at stake
    (4:02:47 AM) frogeater: adn I am on the side of capitalims
    (4:02:50 AM) frotz: capitalism doesnt work without good regulation.
    (4:02:51 AM) frogeater: which bring plenty
    (4:03:00 AM) frogeater: I am against governmetn and communism and monopoly
    (4:03:03 AM) frogeater: dems love it
    (4:03:06 AM) frotz: so if you like capitalism, then you should support good government and strong regulation.
    (4:03:07 AM) frogeater: but you cant loot forever
    (4:03:10 AM) frogeater: you gota produce
    (4:03:13 AM) frogeater: thats wahts so funny
    (4:03:19 AM) frogeater: supply side economics IS economics
    (4:03:20 AM) frotz: government is a necessity for capitalism to work. look at iraq or somalia.
    (4:03:25 AM) frogeater: the austrain school is economics
    (4:03:32 AM) frogeater: all the keynesian bulshit is simply politics
    (4:03:34 AM) frogeater: lol
    (4:03:38 AM) frogeater: governmetn yes
    (4:03:44 AM) frogeater: but very limited governmetn
    (4:03:55 AM) frogeater: not the monster we ahve now and the mega monsters in the EU
    (4:03:56 AM) frotz: name a place with very limited government where capitalism is working well.
    (4:04:05 AM) frogeater: USA is no 1 because of capitalism
    (4:04:12 AM) frotz: the EU is weathering the recession much better than us right now.
    (4:04:17 AM) frogeater: we do not want to ape the failures of commnuims in europe and elsewhre
    (4:04:22 AM) frogeater: its amazing we even lsiten to them
    (4:04:23 AM) frogeater: they fail
    (4:04:27 AM) frotz: what's the USA number 1 in lately? name a category where we're #1.
    (4:04:28 AM) frogeater: we produce the most with the least
    (4:04:35 AM) frogeater: its amazing we even lend 1 ear to their bullshit
    (4:04:38 AM) frotz: name one.
    (4:04:42 AM) frogeater: usa is far and away the best
    (4:04:43 AM) frotz: if you can.
    (4:04:48 AM) frotz: really?
    (4:04:48 AM) frogeater: we should be giving all the lecures
    (4:04:50 AM) frogeater: all of them
    (4:04:52 AM) frogeater: yes
    (4:04:55 AM) frogeater: absolutly
    (4:05:02 AM) frogeater: we are leaders and most productive eocnomy ever
    (4:05:03 AM) frotz: people starve to death in the USA every day, that doesnt happen in a lot of other places.
    (4:05:03 AM) frogeater: why?
    (4:05:09 AM) frogeater: beacuse we are msot capitalistic
    (4:05:19 AM) frotz: name a category where the US leads the world. any sort of statistic.
    (4:05:30 AM) frogeater: we ahve 1000s of greedy manager enginners and salespeople waking up every monday ready to improve effficiency and output
    (4:05:33 AM) frogeater: other systems dont work
    (4:05:41 AM) frogeater: centarl planning has the calculation problem
    (4:05:48 AM) frotz: waiting for you to name something that the US is #1 in.
    (4:05:58 AM) frogeater: with the vast complexities of large economies the price ssytem si the only way to transmit information
    (4:05:59 AM) frotz: i have a world almanac right handy, this should be interesting.
    (4:06:09 AM) frogeater: frederick hayek wrote a good book on it
    (4:06:09 AM) frotz: still waiting.
    (4:06:13 AM) frotz: guess you can't do it.
    (4:06:13 AM) frogeater: called the road to serfdom
    (4:06:19 AM) frogeater: centarl planning always will fail
    (4:06:23 AM) frogeater: and capitalims
    (4:06:50 AM) frotz: you're either a script spewing this nonsense or you're not listening to anything being said. go wank by yourself.
    (4:06:56 AM) frogeater: simply let peolpe prduce an innovate, have sound money, lighteweight courts for contract, and let the mrket go, whoeve rcan build a better product will improve and expand
    (4:07:03 AM) frogeater: no one can stand stil or rest on past success
    (4:07:08 AM) frogeater: they msut improve contnually
    (4:07:14 AM) frogeater: this is the ggenius of it
    (4:07:29 AM) frogeater: unlike static stale governmetn system where youhave to take shit
    (4:07:33 AM) frogeater: you are free nto to buy
    (4:07:43 AM) frogeater: and each shitty enterprise si free to adapt or go under
    (4:07:56 AM) frogeater: and all of thsi lawsuit bullshitliek tivo suing dish for making a dvr
    (4:08:00 AM) frogeater: that goes by the wayside
    (4:08:07 AM) frogeater: most of patent bullshti si bullshit
    (4:08:08 AM) frogeater: fuck all that
    (4:08:27 AM) frogeater: if someone makes a better version then everyone is free to offer it and the consumer can deiced
    (4:08:32 AM) frogeater: let the consumer device
    (4:08:34 AM) frogeater: decide
    (4:08:38 AM) frogeater: that si what dems fear
    (4:08:47 AM) frogeater: because dems tend to not be producers but looters
    (4:08:53 AM) frogeater: and communists
    (4:09:01 AM) frogeater: people who want to tell others waht to do