15 years Ago

Published by marco on in WebCore

Older versions of the earthli WebCore were more clearly delineated release packages and were hosted at SourceForge and offered for download on this site. Much time has passed and there have always been incremental upgrades made for the maintenance of earthli.com, but no more official releases.

A little while ago, the earthli WebCore’s source was moved from a private, firewalled Perforce server to an externally available Mercurial server. The structure has changed somewhat since the 2.7.0... [More]

Numbers Have a Liberal Bias

Published by marco on in Public Policy & Politics

“It does not have, in the sense of a traditional budget, numbers with estimates, an estimate for how much they would reduce the deficit … things of that nature.”
On the Republican budget proposal by Mike Viqueira on March 26th, 2009 (MSNBC)


Culled from Republicans: The Stupid Party by Brad DeLong (Grasping Reality), written in response to the House Republicans publishing a “19-page pamphlet that does not include a single real budget proposal or estimate”. Instead the pamphlet consists almost exclusively of criticism of the House Democrat proposal, offering no concrete alternatives.

Finger on the Pulse of America

Published by marco on in Public Policy & Politics

It is not known whether taking the pulse of political opinion via political cartoons is statistically valid, but it is kind of fun—fun in a way that makes your teeth grind in righteous indignation.

At a time when the U.S. and all the nations that followed it down the rabbit hole of pirate/casino capitalism are suffering massive hits on all fronts, it takes real dedication to turn one’s laser-like focus from the U.S. economy to criticize Hugo Chavez for choosing socialism instead. Mort... [More]

Didgeridoos and Ukuleles in Hinwil

Published by marco on in Finance & Economy

Hinwil is a smallish town in the canton of Zürich in Swizerland. It can, by no stretch of the imagination, be characterized as either remotely Hawaiian or Australian. Even more so as an especially long winter retains its iron grip on the region. Why is it then that a local discounter (Aldis) has found it to be economically attractive to carry both ukuleles and didgeridoos, as shown in the photos below?

Is it really so bad to see the back of an economic system that provides us with lunacy... [More]

That doesn’t mean what you think it means

Published by marco on in Fun

In colloquial Swiss-German, the English word “easy” has been incorporated in some of its senses: as a synonym for “simple” and as a synonym for “relax”, as in a shortening of “take it easy” or a replacement for “no problem”.

For example (and I’m taking liberties with the Swiss-German spelling here because there are, at best, unwritten rules for that), you can say:

“Das isch doch easy! (But that’s easy!)

and you can also say:

“Kasch es nid mache? Easy, ich mach es.(You can’t do it? No... [More]

Device Names

Published by marco on in Shared

  • Asgard: Windows workgroup; no longer actively used. (home of the gods)
  • Valhalla: Wireless network. (where warriors go when they die)
  • Loki: First Alienware computer; deceased. (trickster god)
  • Thor: Second Alienware computer. (god of thunder)
  • Idun: “scoop of rice” iMac. (wife of Odin, god of gods)
  • Nott: Kath’s iPod Shuffle. (goddess of night)
  • Sif: Marco’s iPod Shuffle. (corn goddess; wife of Thor)
  • Freya: Kath’s Sony-Ericsson K550i phone. (goddess of love, fertility and sexual desire)
  • Goll:... [More]

Customizing Facebook Previews from your Website

Published by marco on in Programming

When someone posts a link to your web site on Facebook, it retrieves a preview and presents that as the default text, along with a selection of pictures it found in the page. Clearly, Facebook has some sort of scraper that extracts what it thinks is the best preview text from a given URL. Sometimes it works well, sometimes not. Luckily, you can tune your pages for Facebook requests, emphasizing the parts you think are important and belong in the preview.

It’s anybody’s guess how the scraper... [More]

Debugging PHP

Published by marco on in Programming

PHP is a programming language like any other; like any other, it’s possible to construct a bug complex enough that it can only reasonably be solved with a debugger. Granted, most PHP code is quite simple and limited to single pages with single include files and a limited library or framework. However, the advent of PHP5 has ushered in more than one team with the courage to build a full-fledged web framework. You would think that the state of PHP development had concordantly improved to the... [More]

Entity Framework: Be Prepared

Published by marco on in Programming

This article was originally published on the Encodo Blogs. Browse on over to see more!


In August of 2008, Microsoft released the first service pack (SP1) for Visual Studio 2008. It included the first version (1.0) of Microsoft’s generalized ORM, the Entity Framework. We at Encodo were quite interested as we’ve had a lot of experience with ORMs, having worked on several of them over the years. The first was a framework written in Delphi Pascal that included a sophisticated ORM with support... [More]

Wireless networking in modern operating systems

Published by marco on in Technology

Once you’ve worked with computers for a while, you end up with a lot of them around. They don’t seem to outgrow their usefulness as quickly as they used to and they manage to limp onward more reliably as well. That doesn’t, however, mean that all is rainbows and ponies when using them with newer technologies.

Exhibit A: wireless networking.

As it stands, I’m in charge of IT support for four wireless devices: a 6½-year–old iMac (scoop-of-white-rice edition) with OS X Tiger (Idun), a... [More]

An experiment three decades long

Published by marco on in Public Policy & Politics

Conservatives recently gathered at a large conference to deliver a yearly report to one another on the state of the nation. Though the president was invited—and lauded—last year, they didn’t see fit to invite the still decidedly conservative[1] current president this year. It is more than mildly appalling to watch, however, as one commentator after another blithely acts as if conservatism had had nothing to with the ruling of the country for the last three decades or so. Though fiscal policy... [More]

Non-essential Drive Failure in the OS X Finder

Published by marco on in Technology

The Finder in OS X is a notoriously old, cantankerous piece of software. With every major operating system release from Apple, we wait with bated breath for the announcement of a long-awaited replacement. There are two primary reasons for this: support for external drives, like CD- or DVD-players and support for networked volumes. In both cases, OS X, ostensibly a multi-tasking powerhouse, capitulates completely to the whim of the external resource, slowing to a crawl that is often nearly... [More]

Refuting Quick-fix Memes: Scrappage and Swimming Pools

Published by marco on in Public Policy & Politics

A meme is an idea that takes root and spreads from person to person. A quick-fix meme[1] is such an idea, usually a solution, that sounds good but doesn’t hold up under scrutiny. Often the meme preys on people’s basic ignorance of the subject matter and their desire to believe that their gut instinct won’t steer them wrong.

One example of such a meme is that countries should pay people to scrap their cars, commonly called “scrappage payment” plans. Germany has something like this in place and... [More]

Getting Perspective on $1 Trillion

Published by marco on in Finance & Economy

 We are ill-equipped to deal with huge numbers. Many of couldn’t tell the difference between 100,000 people and 1 million people. We are notoriously bad at estimating, conceiving of and comprehending large numbers. This makes it that much easier to pull the wool over our eyes when it comes to budgets and finance. Take, for instance, the $1 trillion figure being bandied about these days. What does one TRILLION dollars look like? (PageTutor) provides a handy visual mnemonic, starting with a single $100 bill... [More]

Improving Online Readability

Published by marco on in Tips & Tricks

If you spend any amount of time reading online, you know how difficult it sometimes is to get the text into a format that makes for comfortable reading. All the more so for those doing their reading on portable devices. Web sites have several tools at their disposal to ease both online reading and printing:

  • Offer a printable stylesheet that is used when the browser prints the document, so that advertising, comments, and other garbage are left out, leaving only the text of the article.
  • Offer a... [More]

Old Growth Forests

Published by marco on in Miscellaneous

Stop wiping your ass with them.

According to this article, Mr. Whipple Left It Out: Soft Is Rough on Forests by Leslie Kaufman (NY Times), “[a]lthough toilet tissue can be made at similar cost from recycled material, it is the fiber taken from standing trees that help give it that plush feel.”

Regrettably, America manages to stand pretty much alone in demanding super-soft toilet paper for home use, although even in European countries, recycled paper makes up only 20% of paper intended for home use. That’s still ten times... [More]

A Government’s Right to Free Speech?

Published by marco on in Public Policy & Politics

Conservatives are fond of invoking the Constitution and the “founding fathers” in order to end all discussion when a proposed change to existing law would evolve in a direction that they don’t like. This is not always wrong, but often seems quite cherry-picked. For example, when the Supreme Court granted corporations full rights as citizens in Santa Clara County v. Southern Pacific Railroad (Wikipedia), there was no hue and cry about activist judges. That single decision has arguably had a tremendous... [More]

How to Build an H-Bomb

Published by marco on in Fun

Here’s a story originally published back in the Seventies and carefully passed from hand to hand to newsgroup to newsgroup and now from blog to blog: How to Build an H-Bomb. There’s a lot of pseudo-realistic–sounding scientific babble about various chemical compounds and elements, but the home-liquefaction process guide takes the cake:

“First transform the gas into a liquid by subjecting it to pressure. You can use a bicycle pump for this. Then make a simple home centrifuge. Fill a... [More]”

A Nation of Laws

Published by marco on in Public Policy & Politics

Obama joins the mainstream media as well as his compatriots across the aisle in a call to forgive and forget. As a constitutional lawyer, it’s not that he doesn’t see that crimes against the Constitution were committed, it’s that he sees more important tasks at hand. It’s an interesting logic that he is likely only willing to apply to the greatest criminals this nation has seen since, well, ever. It is unlikely that he will find a similar softness in his heart for more everyday criminals who... [More]

Ludicrous Comparisons And Allusions

Published by marco on in Public Policy & Politics

With an unwavering adherence to the party line, several political cartoonists giddily convey far-right talking points word-for-word, promulgating a severely twisted—and context-free—view of history and the world. Let’s take a look at a sampling from the last couple of months.

The Failing economy proves that Social Security doesn’t work

 With Bernie Madoff’s admission that he’d been running a Ponzi scheme for decades, astute commentators asked whether there was a difference between Madoff’s... [More]

Geekamania: social networking so you don’t have to

Published by marco on in Miscellaneous

The article, I Twitter for you! by Mark Morford (SF Chronicle), is about a great new service called Geekamania. This site takes mechanical turking to a whole new level by providing a service unique to the new millenium: integrating you into the online world in a “cool” way.[1]

Here’s the sales pitch:

“We design, set up and maintain as many hip social networking pages as you want, spinning off the information you provided but also totally rearranging it and making it up at will, all to make you sound exactly as... [More]”

The World through Wall Street’s Eyes

Published by marco on in Finance & Economy

Man Up! Hedge-Fund Man’s Advice for Wall Street by Michael Lewis (Bloomberg) is a (somewhat) amusing look at the world through the eyes of “typical” trader on Wall Street. This trader is wondering why Wall Street is wasting its time worrying about what the rest of the non-Wall Street-world thinks. Instead, he feels his fellow traders should stick to the plan and stick it to a government that gave them so much money without bothering to force any conditions first.

“Think about this. Some fool comes along and gives you $15... [More]”

Mercurial, Python & Debian

Published by marco on in Programming

After nearly a decade of using Perforce for my private source control, I’d decided to switch to Mercurial. Mercurial is a distributed version control system and open-source and all kinds of awesome and I won’t go into why I made the switch here. Suffice it to say it makes it much easier to release code and work with others.

Mercurial itself is an easy installation and I had it running both on my OS X 10.4 and Windows XP in a flash. I even installed the newly released HgTortoise plugin, which... [More]

Single-Party Rule: the NYC MTA

Published by marco on in Finance & Economy

The article, Why I am a Green, not a Democrat by Mitchel Cohen (Informed Comment), wasn’t exactly about finance, but it did involve this interesting question that the author wanted to ask of the exceedingly smarmy Senator Chuck Schumer. It’s about a slated fare increase on NYC transit from the current $2.00 to $3.00 per ride. The fare increase is “to raise $1.2 billion claimed by the MTA as its deficit”. Naturally, the MTA is not allowed to run a deficit, so it has to make up the difference. Since bailing out a transportation... [More]

Define Bipartisan

Published by marco on in Finance & Economy

The blog entry, Washington Post Crashed-and-Burned Watch (“Bipartisan” Edition) by Brad DeLong (Grasping Reality), lists the actual votes for the spending bill recently passed by the Congress and the Senate.

“The Obama bipartisan proposal receives 0 Republican votes in the House, and 0 Republican votes in the Senate. An extremely small group of posturing senators makes the plan materially worse – reducing its likely efficacy as an employment boost by roughly 600,000 or so – and it looks as though the final passage bill will... [More]”

Rep. Ackerman vs. the SEC

Published by marco on in Finance & Economy

The blog post, Gary Ackerman goes off on the SEC (NY Newsday), refers us to a five-minute video of a portion of the investigation of how the SEC managed to avoid shutting down Bernie Madoff ten years ago. The video is linked below.

Rep. Ackerman on Madoff Fraud (YouTube)

I’ve taken the liberty of providing a rush transcript of the best bits below. In all cases, “you” refers to the SEC.

“Your mission you said was to, ‘protect investors and detect fraud quickly’. How’d that work out? What went wrong? […] One guy with a few friends and helpers... [More]”

The Worst American Fast Food

Published by marco on in Miscellaneous

The 20 Worst Foods in America 2009 (Men's Health) catalogs exactly that. The listings are nearly unbelievable, especially the number one entry. It is the Baskin Robbins Large Chocolate Oreo Shake, which boasts the following characteristics:

  • 2,600 calories
  • 135 g fat (59 g saturated fat, 2.5 g trans fats)
  • 263 g sugars
  • 1,700 mg sodium
  • 73 ingredients (or more)

That’s a whole day’s worth of calories and three days’ worth of fat in a container that can be slurped empty in less than ten minutes. Not that 263g is... [More]

16 years Ago

The Long Road to Change: Bombing Pakistan

Published by marco on in Public Policy & Politics

In a move that should suprise no one who actually read his foreign policy statements, President Obama ordered his first attacks of autonomous foreign soil just three days after his inauguration. As reported in the article, President Obama ‘orders Pakistan drone attacks’ by Tim Reid (Times Online), the strikes took out 15 people, 3 of them children and 7 of them “foreigners” (assumed to be code for legitimate targets) and were delivered by drones. Perhaps the change is in the improved actual target/innocent victim ratio,... [More]

Tranches: Inventing Fraud

Published by marco on in Finance & Economy

Even the pundits most slavishly devoted to the myth of the free market think that the economy is in dire straits. Things look bad on many fronts and even those that denied that anything was wrong even as late as August now agree that the recession actually started in December of 2007. As the elections neared last year, it was accepted wisdom that all of our woes were due to the poor taking out shaky mortgages. Once that canard failed to hold up, the media stopped trying to come up with causes... [More]

Using an OpenSSL certificate for Courier IMAP

Published by marco on in Programming

Courier IMAP has a default certificate for SLL communication, but it’s only valid for a year and has bogus, default information in it. You can use a utility to generate a new certificate and, with a little perseverance, find the configuration file from which it draws its parameters. With these parameters, you can make a slightly better certificate, but it’s better to use OpenSSL to generate a proper certificate, based either on a trusted certificate or self-signed. However, OpenSSL’s default... [More]