Your browser may have trouble rendering this page. See supported browsers for more information.

18 years Ago

Modern Day Orientalist

Published by marco on in Miscellaneous

Dangerous Knowledge: Orientalism and Its Discontents by Michael Dirda (Washington Post) is a review of the book with the same name, by Robert Irwin. The review starts with a movie-trailer–worthy introduction of “Thirty years after Edward Said’s groundbreaking “Orientalism,” a British scholar responds.” This gives the reader the impression that Said’s book from the seventies had, to date, enjoyed an unchallenged status in the world of cultural history—a status the brave author of the book being reviewed finally had the temerity... [More]

Versioned Objects with Hibernate

Published by marco on in Programming

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


Hibernate is a persistence framework for Java. Among the many perks it purports to bring to the table is automatic versioning for objects in the database. That is, when saving an object to the database, it increments a version number. Any process that attempts to store a different version of the same object is rejected. This is all extremely flexible and can be added to a POJO using an annotation:

 ... [More]

Books read in 2006

Published by marco on in Books

  1. Song of Susannah (2004) − Stephen King (second half)
  2. The Dark Tower (2004) − Stephen King
  3. Things Fall Apart (1959) − Chinua Achebe
  4. Blink: the Power of Thinking without Thinking (2005) − Malcolm Gladwell
  5. No Longer At Ease (1960) − Chinua Achebe
  6. ‘Tis (1999) − Frank McCourt
  7. Teacher Man (2005) − Frank McCourt
  8. City of Light (1999) − Lauren Belfer
  9. Night Watch (2002) − Terry Pratchett
  10. Der große Boss: Das Alte Testament, Unverschämt fromm neu erzählt (1992) − Fred Denger
  11. Going Postal (2004) − Terry... [More]

Wanna Bet?

Published by marco on in Finance & Economy


Factors in Our Colossal Mess
by Gabriel Kolko (CounterPunch) offers a nigh-panicked critique of the out-of-control hyper-captitalism found in the rarified air of the international financial instruments markets. With a name like that, it’s already clear that the intent is to hoodwink and the system does not disappoint. With the introduction of ever faster computing, ever more memory and ever tighter integration of information and communication, traders, who used to be limited in their schemes to invent money out of thin air,... [More]

Vegetarian Propaganda?

Published by marco on in Miscellaneous

The opinion piece, Why I hate vegetarians, is a typical example of hating the cause because of its proponents. The author doesn’t counter any arguments of vegetarianism—she simply claims its ok to eat meat because some vegetarians are so damned “smug and superior”. A lovely bit of deductive reasoning akin to taking up smoking because there are non-smokers who are annoying.

“People should be allowed to make their own choices and not be bullied or frightened into giving up meat. In the US... [More]”

Online Philosophy

Published by marco on in Miscellaneous

Scott Adams, author of the Dilbert comic strip and several books, including the interesting God’s Debris: A Thought Experiment (Amazon) and increasingly bitter Dilbert collections, like When Did Ignorance Become A Point Of View? (Amazon) has a blog as well and updates with ferocious regularity, almost always with a unique idea that usually freewheels into a thought experiment. Some work, some don’t.

A recent theme was free will.

The Little Robot That Could by Scott Adams
In this one he posits a robot, whose job it is to... [More]

Misery

Published by marco on in Quotes

“I feel so miserable without you, it’s almost like having you here.”
Stephen Bishop

Override an Implementation in HiveMind

Published by marco on in Programming

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


If you are not already familier with HiveMind, read Setting up a Service in HiveMind for an introduction.[1]

In the article mentioned above, we learned how to set up a new HiveMind service. What if we want to replace the implementation for an existing service? Is it even possible? Why would you want to do that? This article answers these questions in the context of a real-life example from one of our... [More]

Session and Requests in HiveMind

Published by marco on in Programming

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


If you are not already familier with HiveMind, read Setting up a Service in HiveMind for an introduction.[1]

Almost every application is going to need to have information that is session-specific. This is accomplished by adding a member to Tapestry’s application objects list and assigning it the proper scope. With a scope of “session”, HiveMind makes sure that each session in the web application has its own... [More]

Setting up a Service in HiveMind

Published by marco on in Programming

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


HiveMind is the IOC manager used together with Tapestry; it’s in charge of bootstrapping and connecting all of the myriad objects and services available to a Tapestry application. Applications based on Tapestry are encouraged to use it to configure their application- and session-level objects and services as well.

Once it works, it works well. Getting it configured in the first place—especially when new... [More]

Consequences

Published by marco on in Quotes

“Every gun that is made, every warship launched, every rocket fired, signifies in the final sense a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children.”
President Dwight D. Eisenhower on April 16, 1953

Mashup Mime

Published by marco on in Fun

So there’s this mime, David Armand, and he does a bit called Karaoke for the Deaf (Google Video) on HBO. His shtick[1] is acting out the song “Torn” by Natalie Imbruglia.

It’s wicked good, so he gets invited to do it at some awards show, Torn by David Armand (YouTube), in the middle of which Natalie herself joins him on stage and starts miming the song with him.

A good time was had by all.


[1] For the german-speaking following along – yeah, it’s really, really hard to write it without the ‘c’ at this point.

Ignorance

Published by marco on in Quotes

“If ignorance is bliss, then slap the smile off my face.”
Rage Against The Machine

Testing Tone Deafness

Published by marco on in Fun

You probably shouldn’t do this one at work because it takes a full six minutes of concentration and silence—during which bizarre sounds are emitted from your speakers. Either that, or you need some headphones. Test your musical skills in 6 minutes! is a Flash-based test for tone-deafness / musical ear. It plays 30 pairs of musical sequences that may or may not differ in tone: that’s for you to decide. For the really bored, there is also Can’t dance? Test to see if you’re rhythmdeaf!, which... [More]

Daily Show on Iraq

Published by marco on in Public Policy & Politics

The Daily Show this week had a number of very good clips, mostly centering on Iraq, Rumsfeld and Bush. In particular, they highlight the high-quality correspondents that the show still has, despite the loss of Carrel, Helms, Cordry and Colbert. Oliver, Bee, Riggle and Mandvi are filling in quite nicely, as you’ll see below.

Fareed Zakaria (Part I and Part II)

Though he’s always interesting, this interview with Zakaria is the best one yet; his analysis of Iraq and the Middle East is spot-on.... [More]

An Empire Says What?

Published by marco on in Public Policy & Politics

Instead of focusing on money spent on military budgets, World Wide Military Deployments takes a look at the number of soldiers deployed around the world by various countries. This is a relatively good measure of the degree to which a country exerts its forceful influence on other countries. The top 5 are:

United States ~ 400,000
140,000 in Iraq, 74,000 in Germany, 40,000 each in Japan, Korea and Kuwait and over 1000 troops in a dozen other countries, mostly in the Middle East
Turkey ~ 36,000... [More]

Reality

Published by marco on in Quotes

“For me, it is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring.”
Carl Sagan

Wally

Published by marco on in Fun

Wally is Dilbert’s coworker. He is, without a doubt, the absolute king of work-avoidance. His talents are numerous and his fame wide-spread. This latest Dilbert cartoon shows him at his absolute best—right down to the Dr. Evil-like gesture of sipping from his slightly-oversized coffee cup.

 Wally's Way

Denial Ain’t Just a River In Egypt

Published by marco on in Public Policy & Politics

There have been a flood of political cartoons covering the conference on the Holocaust taking place in Iran in the last couple of days. They almost all depict president Ahmadinejad of Iran as Hitler or a Nazi of some kind. To be fair to the normally right-leaning caricaturists of America, there have also been a hell of a lot of them depicting Bush as divorced from reality and incredibly political in all of his decisions. This reaction is somewhat expected, as Bush’s rating dips down toward the... [More]

Temple of Doom

Published by marco on in Miscellaneous

Giant Carnivorous Centipedes tells you all can probably stand to know about “Scolopendra gigantea, a venomous, red-maroon centipede with forty-six yellow-tinted legs”, which reach “lengths of over thirty-five centimeters” (almost 14 inches). They’re carnivores, but beasts of this size (lovingly described as a bitter repast themselves in Papillon by Henri Charriere (Amazon)) must necessarily seek larger prey than mere beetles and spiders.

“In an environment completely devoid of light, the centipede scurries across the damp... [More]”

Good Ideas

Published by marco on in Quotes

“Don’t worry about people stealing your ideas. If they’re any good, you’ll have to ram them down people’s throats.”
Howard Aiken

Fear of Flying

Published by marco on in Public Policy & Politics

Did you ever read the Batman comics? One of his enemies was that lawyer who liked to flip a coin, Twoface.[1] He had two completely different personalities and used a coin to decide which one he was going to be … until the next time he decided to flip the coin. It’s unclear exactly what his superpower was, but that’s Batman for you. There is now ample evidence that airport security policy around the world is being created by this guy, except his two personalities are Terry Gilliam and George... [More]

14 Reasons

Published by marco on in Public Policy & Politics

This post, Articles of Impeachment against Bush and Cheney (Daily Kos), lists the most egregious offenses of the Bush junta over the last six years. Naturally, since it’s on the Daily Kos (which isn’t necessarily so much lefty as staunchly Democrat), they note that the impeachment must affect “both Bush and Cheney … It will not do any good for us to impeach Bush and have Cheney take the Oval Office”. A relatively obvious conclusion to which any analyst (who can think at least one move ahead) would have... [More]

Welcome to the Club (Officially)

Published by marco on in Public Policy & Politics

In an interview just a few days ago, Ehud Olmert had an interesting slip of the tongue; here’s the quote:

“Iran openly, explicitly, and publicly threatens to wipe Israel off the map. Can you say that this is the same level, when they [the Iranians] are aspiring to have nuclear weapons, as America, France, Israel, Russia?”

As discussed recently in Robert Gates Confirmed as US Secretary of Defense (earthli News) (first footnote), the “wipe Israel off the map…” comment has become accepted truth. Ahmadinejad,... [More]

RTFM

Published by marco on in Quotes

“I would RTFM if there was an FM to FR.”
Andrei Michael Herasimchuk

Missing ognl?

Published by marco on in Programming

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


Every once in a while, when adding a new component to or changing an existing one on a Tapestry page, you’ll make a mistake. Most of the time, the exception handler page is pretty good; sometimes the exception can be quite confusing. For example, suppose we have a custom component with a single property:

package com.encodo.blogs.samples;

class CustomComponent extends BaseComponent {
  public abstract... [More]

Robert Gates Confirmed as US Secretary of Defense

Published by marco on in Public Policy & Politics

This transcript of his confirmation hearing (New York Times) indicates that the transition from Rumsfeld to Gates is akin to the transition from a Republican Congress to a Democratic one: better, if not good yet. Despite the murky crimes lurking in Mr. Gates’ past vis-a-vis the Iran/Contra affair and his having been head of the CIA for some time, it’s hard not be heartened at hearing more honest—and reality-based—answers coming from a Secretary of Defense. Even though Rumsfeld made it easy for his successor... [More]

Complex Humor

Published by marco on in Quotes

“There exists a type of joke that makes you feel clever for getting it. Do do confuse this with actual humor.”
Me.

XKCD – Web Comic

Published by marco on in Fun

If you’re a regular peruser of Reddit[1], you’ve probably already seen at least one XKCD cartoon. They really do tend to be pretty unique and, often enough, have something interesting and funny to say. Dreams, for example, is a discussion between a firm embed of society and a doubter:

“The infinite possibilities each day holds should stagger the mind. The sheer number of experiences I could have is uncountable, breathtaking. And I’m sitting here refreshing my inbox. We live trapped in loops.... [More]”

Reddit

Published by marco on in Design

 Reddit Home PageReddit is a really interesting, stripped-down, fast social bookmarking site; while it doesn’t have the CSS/Web 2.0 props of Magnolia or Digg, neither does it have the excruciating wait time or incredibly heavy page load (both are easily over 250KB home pages). Reddit weighs in at under 50KB and has sensible caching commands, so the browser isn’t constantly following some insipid order to check for new content every time you click something. It’s style is very spartan, but conveys all the... [More]