dannyman.toldme.com


About Me, Politics, Religion

“What about ‘Under God?'”

Link: https://dannyman.toldme.com/2005/07/03/under-god-faq/

You may ask: “what about ‘Under God?'”

When I was growing up, I recited the Pledge of Allegiance every day. “One nation, under God, indivisible . . .” at first, I just went with it. Then I began to wonder why an Atheist should profess to “one nation, under God” . . . if I didn’t believe in God, wasn’t swearing that my nation was “under God” dishonest? Really, didn’t saying “one nation, under God, indivisible” basically negate, for an Atheist, the entire pledge? Was I lying? Was I being disloyal? (more…)

4 Comments


About Me, Religion

I am an Atheist

Link: https://dannyman.toldme.com/2005/07/02/i-atheist/

These days when America’s leaders are trying to make the place look more “Christian” I worry a bit because old-fashioned Christianity has from time to time endorsed the torture and murder of non-Christians. (more…)

1 Comment


Technical, WordPress

Adding Up AdSense Revenue

Link: https://dannyman.toldme.com/2005/07/01/adsense/

So, I’ve been playing with AdSense for a few months now. It seems I earn about $5.00 per month. June was a mere $4.80.

But Google gives me plenty of stats, and I have calculated that I could earn my current salary through AdSense if I can boost my page views to 642 million per day.

I think ratchet would melt under the strain of 7,500 hits per second. (more…)

Feedback Welcome


Letters to The Man

Those Little Subscription Cards

Link: https://dannyman.toldme.com/2005/06/30/those-little-subscription-cards/

From: Danny Howard <dannyman@toldme.com>
To: themail@newyorker.com
Subject: Those Little Subscription Cards

Hello,

For generations, our species has been plagued by little slips of paper that fall out of magazines like The New Yorker when we are trying to read. This is very distracting, as the environmentally conscientious reader must bend down and pick these off the ground, and carry them over to the paper recycling bin. (more…)

2 Comments


Politics

Surfing the Peak

Link: https://dannyman.toldme.com/2005/06/28/surfing-the-peak/

There’s a phenomenon called Hubbert’s Peak, named for the guy who correctly predicted that once the United States had consumed half of its oil reserves, that increasing demand would combine with diminishing supply to push prices steeply upward. From my reading, I have found that this prediction worked out domestically, but the oil prices didn’t shoot up because we have been successful at importing oil from overseas.

The really interesting Hubbert’s Peak, is when the world’s oil reserves will pass the 50% mark, at which point, unless we successfully adopt alternative energy, the oil prices will definitely shoot up a great deal, and they will never, barring a crash in the world economy, come down. I have read in a few places, that most predictions place that between between now and 2025 or so, 2012 seems to be the median. Some good advice I read said not to trust oil company estimates, because they try to over-estimate their reserves to improve their stock prices. There’s a decent chance that we are already at, near, or just a bit past, the peak: (more…)

Feedback Welcome


Letters to The Man, Politics

Flag Burning

Link: https://dannyman.toldme.com/2005/06/26/flag-burning/

The flag stands for our nation, and its values, including Freedom of Speech.

Our men are dying in Iraq, and our nation and our planet have far more serious problems than flag burning. Our nation is run by crooks who write laws to please whomever pays them the most. We are sacrificing our moral superiority by torturing people, many of whom turn out innocent, and Osama bin Laden is still on the lose, and you have the cojones to tell me it is illegal to be unpatriotic?

If the jingoistic idiots running our nation do manage to pull off that flag-burning amendment, I will only be able to conclude that our nation is in fact in deep sh_t, and the only adequate way to express that will be by burning the flag in public.

Unless I’m a big chicken.

4 Comments


Relationship Advice

Uncle John’s Avuncular Advice

Link: https://dannyman.toldme.com/2005/06/25/uncle-john-avuncular-advice/

When Yayoi and I got married, we wanted to collect whatever wisdom our families had to offer on living together, translate it into English and Japanese, and have it available at the ceremony. That project kind of fell through, but we have some material and I want to keep it somewhere accessible. So, why not share with the Innernet? (more…)

4 Comments


Technical

Bug Density

Link: https://dannyman.toldme.com/2005/06/24/bug-density/

<Adam> pickle.dump((self.dsId, dict((key, self.index[key].tolist()) for key in self.index)), open(path, ‘w’))
<Adam> Wow. Just when I was beginning to think that Guido’s plan to use structure-as-syntax was going to force nice readable structure on everyone, my hopes are dashed.
<meekay> People are still writing sh_tty code.
<Adam> And I deal with it!
<dman> That’s python?
<dman> I thought the whole point of Python was to make code like that impossible.
<Adam> Well, it’s the traditional “one in n lines of code contains a bug, so I’m going to reduce the number of lines in order to keep bugs out” thinking.
<Adam> Ironically, the kid who wrote that is my coworker who apparently had an offer from google and turned it down last year.
<meekay> I actually espouse that belief.
<meekay> Of course, if you get to the point where you’re writing obfuscated Perl in Java, you’re being counter-productive.
<Adam> I think, however, that a distinction needs to be made between “one in n operations contains a bug” and “one in n lines of code”.
<Adam> Packing more operations into one line just means that you’re making the bugs harder to untangle.
<Adam> And the code harder to parse for my poor little brain.
* Adam dumbass. Likes to stay that way.
<meekay> The pattern is not typically x bugs per n lines of code across the industry.
<meekay> It is typically a solid average x bugs per n lines of code per developer.
<meekay> And some developers have a lower x than others.
<dman> Adam: Greater bug density!
<meekay> I, for example, try to keep x very low.
<meekay> And by doing so, I am more productive.
<meekay> Because my coworkers bug queues typically have size five or six, and I typically have size two.
<dman> I think if the operation is a no-brainer, that stuff is okay, but you should reuse one of the lines you “saved” to drop a comment that will give the next sucker who has to maintain your code a friggin clue.
<meekay> Where “the next sucker” may in fact be you.
<meekay> =)
<meekay> I love it when my coworkers come and ask me about code that they wrote.
<dman> especially me, because i’m the SysAdmin, and when I start looking at the code, we’re already in trouble.

Feedback Welcome


Technology

Quizzes are Dumb

Link: https://dannyman.toldme.com/2005/06/23/quizzes-are-dumb/

I never do them.

But, somehow, I was oddly attracted to these. (Thanks, Keith!)

You are Windows XP.  Under your bright and cheerful exterior is a strong and stable personality.  You have a tendency to do more than what is asked or even desired.
Which OS are You?

You are .inf You are informative.  When you are gone you make life very difficult for others.
Which File Extension are You?

Damn.

1 Comment


Technical

Argument Parsing in Shell Scripts

Link: https://dannyman.toldme.com/2005/06/22/sh-bash-getopts/

So, say you are writing a shell script (sh or bash) that needs to take arguments like so:

./script.sh start
./script.sh -v start
./script.sh -c foo.conf start
./script.sh -vc foo.conf start

This took me a bit of doing. (more…)

7 Comments


Letters to The Man, Technology

Evolve!

Link: https://dannyman.toldme.com/2005/06/20/evolve/

(more…)

1 Comment


Technical, Testimonials

SAQ: Google Interview Advice

Link: https://dannyman.toldme.com/2005/06/16/google-interview-advice/

Although I have not succeeded with the getting-hired-at-Google thing I have had my crack at it a few times and have survived to write about it. I occasionally hear from others about to try it, and they want to know if I have any advice. Here’s my modest wisdom on the subject of interviewing well at Google. (more…)

63 Comments


Sundry

TANSTAAFL

Link: https://dannyman.toldme.com/2005/06/15/tanstaafl/

I work for a small company. When I started, we all went out to lunch. And when the next guy started, we all went out to lunch. And today, the new guy . . . well, just the developers are going out to lunch. This is actually very sensible, but I was kind of looking forward to a free lunch. Today, TANSTAAFL – There Aint No Such Thing As A Free Lunch. Fortunately, Yayoi makes me lunch every day. Mmmm, sandwiches!

And, today is pay day. For the first time in my life, I have a six months of rent in a savings account. I think we should probably keep adding to this stockpile, on the off chance that we some day discover some affordable housing to buy. I am also looking forward to getting back in to the 401k game.

Feedback Welcome


Excerpts, Politics, Testimonials

Eeets Not a Gulag!!

Link: https://dannyman.toldme.com/2005/06/14/outrage-fatigue/

Joe told me he made a deliberate effort to stop reading political blogs, and I said that I never really did bother to read political blogs, because they generally don’t go past provoking self-righteous outrage at the other side, and since about 2003 or so I have definitely had “outrage fatigue.”

But that doesn’t mean I still don’t pay attention, and that doesn’t mean that I am ignorant of the outrages. I get a trickle of the worst, usually from The New Yorker, and that’s when I feel compelled to re-tell the stories of the greatest outrage.

Amnesty International recently referred to Guantanamo and other prisons like it as “the gulag of our times” or words to that effect, and the Bush Administration and conservatives flipped out over that . . . (that outrage!) because really, our suspending the Geneva Conventions and inprisoning a classified number of people throughout the world based on classified intelligence without ever charging them with a crime is nothing at all like the Soviet gulag, where millions of Stalin’s own citizens were worked to their deaths.

And you know, they have a point, or maybe I was daydreaming about something else when I read the chapter in “A Day in the Life of Ivan Denisovich” that was similar to this passage, from Hendrik Hertzberg in The New Yorker, May 30, 2005: (more…)

2 Comments


Jokes, Religion

“Dear Jesus”

Link: https://dannyman.toldme.com/2005/06/13/dear-jesus/

A while back, I signed a petition for the American Family Association to oppose Ford’s support of gay people. I didn’t do this because I agree with them, but as a subversive act to put obviously bogus names on their petition. The idea being that if anyone ever reviewed their anti-gay petition, they would see that “Jesus McChrist” was definitely opposed to Ford’s gay ways.

Every time I see this e-mail, I get a little chuckle: (more…)

1 Comment

« Newer Stuff . . . Older Stuff »
Site Archive