Archives 2011

Using snoop/tcpdump as a Filter

Okay, this is kinda cool. Yesterday, I ran snoop (Sun’s version of tcpdump) to help the network folks diagnose a problem we’ve been seeing. Unfortunately, I let it run a bit too long, and wound up with a 1.5Gb file. And the guy who’s going to be looking at this is at a conference, and would rather not download files that big.

Now, I’d known that snoop can dump packets to a file with -o filename and that that file can be read with -i filename; and of course that you can give an expression to say what kinds of packets you want to scan for. But until now, it never occurred to me to put the three of them together. And it turns out that not only does snoop support that, it Does The Right Thing to boot.

Now, one of the reasons I wound up with 1.5Gb worth of packets is that we didn’t know which port the process we were trying to debug would run on, until it ran. (That, and the fact that I started scanning early because I wasn’t sure when it would run. And ending late because the Internet dangled shiny things in front of me.)

At any rate, I was able to run

# snoop -i old-snoop-log -o new-snoop-log host thehost.dom.ain port 50175

and wind up with a packet capture file of manageable size.

And a bit of experimentation showed that tcpdump does the same thing (adjust arguments as appropriate). I’ll have to remember this.

Religion Makes You Stupid, Part N

The Washington Post has an of a type that’s all too common. It involves the Holy Sepulcher church in Jerusalem.

For those who don’t know the background, Holy Sepulcher is a church in Jerusalem that’s controlled by an alliance of six religious sects. And when I say “alliance”, I mean warring factions and an uneasy mix of all wanting to be at the same place, but hating each other’s guts. So over the centuries they’ve mapped out the church down to the inch to determine who controls which parts.

A ladder placed on a ledge over the entrance sometime in the 19th century, for example, has remained there ever since because of a disagreement over who has the authority to take it down.

So you know it’s going to be stupid. Epic stupid. An Iliad of stupid and an Odyssey of petty.

They won’t put in a fire exit.

Because everybody wants a fire exit (the church can hold thousands, but only has one door), but nobody wants to give up any space to put in the door.

The most likely location for an exit would require the agreement of the Greek Orthodox, Copts and Ethiopians. But wherever a new exit is located, one of the churches would have to cede part of the sacred space under its control. “I don’t know where they’re going to do it,” said Father Samuel Aghoyan, the senior Armenian priest at the church.

Adding a layer of political complexity, some of the space directly outside other potential exit points in the church walls is controlled by an Islamic religious body known as the Waqf, which does not recognize Israel’s control in Jerusalem and is therefore unlikely to cooperate.

This is what religion does to people: it divides them into in-group and out-group. Saved and unsaved, sheep and goats, faithful and infidel, us and them (just ask a Muslim in Israel, a Jew in Palestine, a Catholic or Protestant in Ireland, or anyone who’s tried to leave the Jehovah’s Witnesses or Mormons). Even if it doesn’t directly cause enmity between groups, it certainly encourages this sort of tribalism.

Grow the fuck up, people. This isn’t kindergarten. Lives are at stake.

Ramp Closed. Use Next Exit

(See what I did there? It’s because my site is a fill-in-the-blank on the Information Superhighway. Get it?)

The more eagle-eyed among you who visit this site on a regular basis (both of you) may have noticed some changes to the layout and whatnot. Or maybe something just went kerflooie in the RSS feed and your aggregator has just tossed the whole thing in the trash rather than try to deal with it.

Well, not that you asked (you could’ve asked, you know. I take an interest in your lives, you insensitive assholes1), but I’ve been messing with things behind the scenes, mainly to avoid having to update stuff all the time. So, in keeping with the vintage 1992 metaphor in the title, I’ve stopped leaning on my shovel, drained the last of my coffee, and actually gotten to work fixing the actual roadway underneath the twenty-times-patched potholes. And then knocking off early and asking someone to punch my time clock for me, because that’s the kind of tireless lazy fucker I am.

Actually, one thing y’all might like is the “Reply” button underneath comments, that allow you to reply to individual comments.

And now, if you’ll excuse me, I need to pop over to Geocities to download some animated “Under Construction” and flashing-light GIFs.


1: Not intended as a factual statement.

Three Different Things that Look Similar

Here are three statements:

  • St. Anselm says that no one really disbelieves in God.
  • Stephen Hawking says that spacetime is smooth at the Big Bang.
  • PZ Myers says that “The only appropriate responses should involve some form of righteous fury, much butt-kicking, and the public firing and humiliation of some teachers”

All three are of the form “person X says Y“, but they’re really three different types of statement. See if you can figure it out before meeting me after the jump.

Read More

More Rain Music

It’s raining out there, so here’s a song about a rainy city at night. It’s uncharacteristically upbeat for Anne Clark:

http://www.youtube-nocookie.com/v/U3Ce3FlxiM4?fs=1&hl=en_US

Fact-Checking the BillDo

Recently, BillDo farted the following onto the intertubes:

Moreover, Jenkins wrote that “Out of 100,000 priests active in the U.S. in this half-century, a cadre of just 149 individuals—one priest out of every 750—accounted for over a quarter of all allegations of clergy abuse.” In other words, almost all priests have never had anything to do with sexual molestation.

(italics in the original).

Just for comparison, the Wikipedia page for Crime in Detroit, Michigan, says that the murder rate there was 40.1 per 100,000 people in 2009.

Assuming that each murder was committed by a different person, this means that about one Detroiter out of every 2500 accounted for all of the murder in 2009. In other words, almost all Detroiters are not murderers.

So by BillDo’s reasoning, Detroit does not have a murder problem. Good to know. Presumably if I gave him a glass of water with only one part of arsenic in 750, he’d drink it.

Subjective/Objective

This was originally posted at Secular Perspectives.

Here’s something that occurred to me recently. It’s nearly-trivial, but I found it interesting.

The reason a subjective statement, like “Beethoven’s ninth is his best symphony” is subjective is that a) it refers mental state, and b) that mental state can vary from person to person.

But it can be turned into an objective statement by simply saying whose mind it refers to: “Smith thinks that Beethoven’s ninth symphony is his best”. This is an objective statement, and its truth or falsehood can be ascertained simply by asking Smith. In a few years, maybe we’ll even have scanners that can read the answer in Smith’s brain.

Or instead of specifying a particular subject to whom the statement applies, we can specify a class of people, e.g., “Most music critics think that Beethoven’s ninth is his best”, or “Nobody likes being humiliated” (vs. “humiliation is bad”).

One consequence of this is that it helps put morality on a reality-based footing: a question like “should the US intervene in the Ivory Coast?” seems hopelessly subjective, but we can at least ask questions like, “how many Americans think the US should intervene?” and “how many Ivorians want the US to intervene?”. These questions, and their answers, are called polls, and they’re used all the time. (I’m not saying that complex moral questions should be decided by polling. But polls can provide an objective underpinning to moral arguments. For instance, if 98% of Ivorians hated Americans and wanted the US to stay the hell away, that would undercut arguments like “we should move in: we’ll be greeted as liberators”.)

Secular morality is often attacked for being too subjective. I hope the above helps correct that perception. The whole point of having a system of morality is, presumably, to improve the universe in some way, and hopefully allow us to be happier and get along with each other in the process. What “better” means, above, is subjective, but at the very least we can see what people think, and what most of us can agree on.

Countdown to Backpedaling Widget

Over on the right, in the sidebar, you should see a countdown clock entitled “Countdown to Backpedaling”. (If not, then something went wrong.)

If you’ve been listening to Ask an Atheist, then you should recognize this as a widget version of the Countdown to Backpedaling clock. And if not, then you should definitely be listening to them. Because they’re cool.

At any rate, it’s a clock that counts down to May 22, the day after Jesus’ return and the Day of Judgment, when the backpedaling and excuses begin.

So anyway, now you want to know a) where to download this, b) how to install it, and c) how to complain to me about all the problems you’ve had with (a) and (b).

Download

The main download page is .

If you’re using WordPress, you can download , put it in your wp-content/plugins directory, and with any luck, a “Countdown to Backpedaling” widget should magically show up in your “Widgets” control panel. You can then drag it into position, and it should work.

If you’re using some other software, you’ll want . Installation depends on what you’re using, of course, but you should be able to insert it anywhere that takes HTML.

Configuration

The main configuration option is the “show_secs” variable at the top. If you want to see seconds in the countdown, set it to true. If you find the seconds’ flashing annoying, set it to false.

You can also look through the CSS part, and edit as you please. You might need to change the width.

I might improve on this, if time permits and I don’t get raptured before getting around to it.

If you have any comments or complaints, leave a comment. Bug reports accompanied by a rum and Coke will get higher priority. Bug reports accompanied by a patch will get even higher priority.

Let’s Get This Out of the Way

Here’s a link to something I claim you’ll find interesting:

http://www.youtube.com/Rick-Astley-Never-Gonna-Give-You-Up

Right. That’s April Fools Day taken care of. Now let’s move on.

Because There Aren’t Enough Songs About Dogs

Outside of Country music, at least. And those dogs tend not to be space travelers.

http://www.youtube-nocookie.com/v/nH4RKkubfk0?fs=1&hl=en_US