Archive for August, 2009

“The GOP is going downhill” — news meme of the week?

Some historical perspective

I’m not usually a huge fan of Joe Klein’s feelings about how this or that politician ought to act in this or that situation, but he’s definitely a savvy political observer. This article gives some great insight into the state that nihilism has left the Republican party in:

To be sure, there are honorable conservatives, trying to do the right thing. There is a legitimate, if wildly improbable, fear that Obama’s plan will start a process that will end with a health-care system entirely controlled by the government. There are conservatives — Senator Lamar Alexander, Representative Mike Pence, among many others — who make their arguments based on facts. But they have been overwhelmed by nihilists and hypocrites more interested in destroying the opposition and gaining power than in the public weal. The philosophically supple party that existed as recently as George H.W. Bush’s presidency has been obliterated. The party’s putative intellectuals — people like the Weekly Standard’s William Kristol — are prosaic tacticians who make precious few substantive arguments but oppose health-care reform mostly because passage would help Barack Obama’s political prospects. In 1993, when the Clintons tried health-care reform, the Republican John Chafee offered a creative (in fact, superior) alternative — which Kristol quashed with his famous "Don’t Help Clinton" fax to the troops. There is no Republican health-care alternative in 2009. The same people who rail against a government takeover of health care tried to enforce a government takeover of Terri Schiavo’s end-of-life decisions. And when Palin floated the "death panel" canard, the number of prominent Republicans who rose up to call her out could be counted on one hand.

GOP as cult

Someone sent me this piece as well, by Independent (UK) columnist Johann Hari:

This trend has reached its apotheosis this summer with the Republican Party claiming en masse that Obama wants to set up "death panels" to euthanize the old and disabled. Yes: Sarah Palin really has claimed — with a straight face — that Barack Obama wants to kill her baby.


These claims have become so detached from reality that they often seem like black comedy. The right-wing magazine US Investors’ Daily claimed that if Steven Hawking had been British, he would have been allowed to die at birth by its "socialist" healthcare system. Hawking responded with a polite cough that he is British, and "I wouldn’t be here without the NHS." Frank Laffer, the right-wing economist lauded by David Cameron, claimed on CNN that it would be a disaster if the government got its hands on Medicare, the program providing healthcare for the elderly, paid for entirely by… the government.

This tendency to simply deny inconvenient facts and invent a fantasy-world isn’t new; it’s only becoming more heightened. It ran through the Bush years like a dash of bourbon in water. When it became clear Saddam Hussein had no Weapons of Mass Destruction, the US right simply claimed they had been shipped to Syria. When the scientific evidence for man-made global warming became unanswerable, they claimed, as one Republican congressman put it, that it was "the greatest hoax in human history", and all the world’s climatologists were "liars". The American media then presents itself as an umpire between "the rival sides", as if they both had evidence behind them.

It’s fun to think of them as a cult, but the truth is a lot scarier: there’s no center to this — not even when Bush and Rove were pulling strings. These people freaking out are doing so as a result of ingesting tons and tons of multi-flavored nonsense for decades; political, religious, pseudo-relgio-ethical (I’m looking at you, Ayn Rand, and spitting on the floor), economic. It’s been a steady diet of denial and hate made credible by people who trade in statistics and nice-looking logos and websites and 24-7 cable opinionews. A poison pablum, as engineered for tastiness to the brain as a Big Mac is to the gullet, has turned the GOP faithful into a legion of zombies.

That can’t be good for American democracy.

Make ruby-debug work better

If you’ve written Ruby, chances are you’ve had to use ruby-debug. You might’ve thought the experience sucked — especially the fact that the debugger defaults to a mode in which you have to use a keyword to get it to evaluate a statement. Lost? Here’s what I mean:

Say you start the debugger here:

1
2
result = resource[xml_obj.api_call_string].get
(rdb:1)

Then you want to take a look at the “xml_obj” variable. If this were (for instance) Python’s pdb, we’d just type “xml_obj” and hit return and be done with it. Not so in ruby-debug:

1
2
(rdb:1) xml_obj.api_call_string
*** Unknown command: "xml_obj.api_call_string".  Try "help".

This is because with default settings, the debugger needs a keyword (’p') to get it to actually evaluate your statement as Ruby and not a command to the debugger itself:

1
2
(rdb:1) p xml_obj.api_call_string
"documentService/documentsByCommunity"

That gets really tedious, really fast. The debugger’s help function (’help p’) will helpfully tell you that this is because the “autoeval” option is not enabled. If you’re thick like me, you won’t see this and you’ll just continue doing “p <whatever>” until you get so frustrated you drop what you’re doing one day and go hunt down a fix.

Here is that fix from inside your code:

1
2
require 'ruby-debug'
Debugger.settings[:autoeval] = true

You can also do this inside the debugger:

1
2
(rdb:1) set autoeval
autoeval is on.

Rails already does it via Rack middleware

You might be wondering why the debugging experience is different in Rails than in Ruby you’ve written elsewhere. I did too — remembering that this ‘p’ business isn’t necessary when I run the debugger as an option when I start up Mongrel in a Rails app. So I went digging for the code that Rails uses to set this stuff up. Those settings come from a piece of Rack middleware that lives in lib/rails/rack/debugger.rb. Here’s the class definition:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module Rails
  module Rack
    class Debugger
      def initialize(app)
        @app = app

        require_library_or_gem 'ruby-debug'
        ::Debugger.start
        ::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings)
        puts "=> Debugger enabled"
      rescue Exception
        puts "You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'"
        exit
      end

      def call(env)
        @app.call(env)
      end
    end
  end
end

For more info on how Rails uses Rack, this is a pretty handy page from the Rails guides.

Oh, Exquisite Lord of Toolish Writing!

I realize that if you think the internet is like Hollywood, then Scoble is someone you’re supposed to hate. But don’t. IN FACT, back way the hell off and realize for a second that Scoble isn’t just someone to be parodied and mocked at the places @ SxSW where the techies do drugs. Scoble is a force to be celebrated. Scoble is a national treasure for writing like this :

When I heard the news I was walking through San Antonio’s Hard Rock Cafe looking at Kurt Cobain’s high school photograph. Wow. FriendFeed was purchased by Facebook.

I quickly wrote a DM to Paul Buchheit and Bret Taylor, co-founders and said “call me.” They did, and I got one of the first interviews.

This is poetry. It’s charmingly quotidian at the top (he talks about the Hard Rock Cafe like he’s at Buckingham, and he mentions Cobain’s picture because it’s some kind terrible whitebread muse-talisman to him), but then just after this “oh, me?” scene setting, Scoble is brief and devastating in his establishment of douchey dominance — explicit and unquestionable.

He is the man who will speak about this here internet thing AND tell you the dudes’ names AND tell you that he used to hang with them before this cool thing happened, BACK WHEN THAT OTHER cool thing happened or was happening.

He’ll show you wtf is going on in this world. We should wipe the snot from his camera for the chance to be here. Luckily he lets us listen in for free:

Basically they did not tell me much other than FriendFeed would keep on going on for the indefinite future.

Scoble, no worries. I wasn’t expecting real information and was just glad that you had the opportunity to write this gem. I stand here, in awe, clapping quietly in my dusty corner of the internet. Bra-fucking-vo.

Tags: ,

John Gruber’s Awesome Post on “Microsoft’s Long, Slow Decline”

John Gruber of Daring Fireball has posted the best thing I’ve read so far encapsulating Microsoft’s current challenges in the consumer PC marketplace. He puts it in context with the history of Microsoft and Apple’s competition—especially their recent dueling ad campaigns–and takes MS executives to task for being simultaneously myopic, dismissive, and clueless when it comes to what’s happening in the retail computer marketplace.

But my favorite part is where he points out that Microsoft lost the computer geeks a few years ago and that’s the PC platform’s biggest problem. I’ve been saying this to friends of mine for awhile–the nerds all went Mac in droves when being on a Mac began to mean being on UNIX instead of the old-school Mac OS that was rather like buying a Mercedes-Benz with the hood welded shut. When Apple decided to be the platform where all flavors of nerdy digital innovator worked (as opposed to just illustrators, filmmakers and musicians), the nerd herd rallied to their flag fast. He pinpoints a subset particularly close to my heart — web developers.

Web developers had to know both the Mac and Windows, at least with passing familiarity, and the truth is that many, if not most, preferred Windows.

Today that is simply no longer the case. Microsoft has lost all but a sliver of this entire market. People who love computers overwhelmingly prefer to use a Mac today. Microsoft’s core problem is that they have lost the hearts of computer enthusiasts. Regular people don’t think about their choice of computer platform in detail and with passion like nerds do because, duh, they are not nerds. But nerds are leading indicators.

This is true in many markets with broad appeal, not just computers. Microsoft is looking ever more so like the digital equivalent of General Motors. Car enthusiasts lost interest in GM’s cars long before regular people did; the same is happening with Windows.

It might be hard to notice if you’re not watching from the techie vantage point, but the trickle-down effect of this nerd migration has been enormous–go into an Apple store on any weekend and you’ll probably have to push your way through a heterogenous crowd of browsing hipsters, grandparents, suburban moms, small children, etc just to get to the middle of the store. Everyone seems to know that a Mac is the thing to buy, and that PCs are cheaper, but they’re cheaper for a reason.

Imagine if this happened with cars

The “Laptop/PC Hunter” ad campaigns that Microsoft is so proud of make no effort to answer Apple’s contention that a Mac is a better computer–Microsoft seems satisfied merely to point out that it is possible to purchase computers for cheaper. This is just stupid. I like Gruber’s car analogy above. So what if someone tried this same ad campaign with cars? What if you saw a commercial in which GMC mocked Honda because a Civic costs more than a Geo Tracker? No one would make that commercial, because anyone who saw it would say “wait a minute–a Civic is a waaay better car than a Tracker. Of course it costs more.”

But to a lot of the people you see in these commercials — the people that Microsoft is actually targetting in a pretty savvy way — you’ll see that these are people who aren’t real comfortable with their ability to discern what’s what between computers. They don’t know too much about how they work, and actually not that much about what you can do with them. Computers make them feel uneasy. But they are comfortable with shopping for a bargain. They’ve made a religion about it, which is how there got to be things like Best Buy and Walmart in the first place.

And Microsoft is telling these people that there is equivalence between the Mac and the PC — that it’s OK to shop for this like you’d shop for a toilet brush and laugh at people who don’t. It’s ludicrous. But people have no other real basis for comparison, because if they think about it at all, they see Apple vs. PC as a tribal thing like Ford/Chevy.

But the reality is that people have settled for Windows machines for years without really knowing any better — no basis for comparison. They thought that Windows was it and computers were Windows.

I mean if you see a commercial hollering that ShitSandwiches™ are 75% off, are you going to get excited? No. Because you were never in the market for a ShitSandwich™ in the first place, thank you very much. Not even if they decide to call it Active ShitSandwich Live 2009™ But what if you don’t know it’s a ShitSandwich™?

Apple is cleaning up

As Gruber points out, MS execs believe that the PC Hunter ads work because… they answered Apple somehow. Well Gruber kicked off his post by referencing an NPD report showing that Apple now owns 91% of the $1,000+ retail computer market. Not a huge portion of the computer market by any means, but MS would do well to pay more attention to that number as an indicator.

Windows 7 isn’t going to be awesome. The Bing/Yahoo whatever isn’t going to do anything more than help out Google by keeping the US Justice Department off their back. The Wii is going to keep kicking the XBOX down the street. Exchange’s market share will get eroded by things like Zimbra (even if perhaps not Zimbra itself) over time. Office 2010 will be a laughing stock for its schizo attempt to mimic Google Docs and its bewildering interface (prediction: MS will fall on its face with something douchey for their web-based document sharing monstrosity inside the next Office). And no one is going to care about Windows Mobile I mean Windows Phone with the iPhone 3GS, the Palm Pre, and new stuff from RIM.

Long, slow decline indeed. Bring it.

Tags: , ,