October 2008

This might account for that fighter jet purchase…

Google Tutor points out that Google has added a clause to their robots.txt:

User-agent: zombies
Disallow: /brains

But it seems to me that there’s not much to worry about, because when I access google.com/brains, I get:

www.google.com/brains - does not exist.

general

Comments (0)

Permalink

DOD: $514 billion. DOE: $59 billion.

Death and Taxes chart: 2009 federal discretionary budget

general

Comments (0)

Permalink

Passed some folks holding up Obama signs on Camelback, and without thinking, I threw up the devil horns sign. To me, that means “You rock!”. Not sure what it means to forty- and fifty-somethings, though, and I hope they weren’t offended.

general

Comments (0)

Permalink

Oh, how I wish I’d had a PROPER camera with me…

A DSLR with a nice telephoto lens, or anything other than my cell phone camera, which took this huge moonrise and shoved it in a grainy corner of the image. Oh, well, here’s a cropped version.

Moon over Mt. McDowell

general

Comments (0)

Permalink

A trend toward violence…

Diana returned from her pulmonary function testing conference late last night. She didn’t have a terrible time, but I could tell the highlight for her was a stop she and her friends made at a Coach outlet store, rather than the conference itself. She described it as a madhouse - crowds of people (many of them Japanese tourists), staff scrambling to keep the disheveled stock in order, customers asking each other where they found that purse. I asked her if it matched the cliche image of a horde of women fighting over a clearance table. “No,” she said, “but my friend did get pushed once.”

“Wait a second,” I said, “she wasn’t pushed by an elderly Japanese woman, was she?” She was.

I’m reluctant to stereotype, but this is something several friends and I have noticed about older Japanese. A few weeks into my exchange trip there in 2002, several students reported incidents of getting elbowed aside (in my case, by a lady I didn’t even see beforehand). The culprits were both male and female, but always over 50. They never actually hurt their “victims”, but they were always spectacularly rude.

I don’t think it’s resentment toward gaijin, I’ve heard Japanese students mention the same thing. And besides, while they’re arguably entitled when US citizens are on Japanese soil, why do it over here? Are we supposed to “respect our elders” and get out of the way or something?

general

Comments (0)

Permalink

Git vs. Subversion on the family photo archive…

17,993 files, most of them .jpg and .avi…

SVN repo: 36.8 GB
.git directory: 30.1 GB (Git wins)
SVN working copy: 47 GB
Git working copy: 23.5 GB (Git wins a LOT.)

family
photography

Comments (0)

Permalink

ActiveSupport, only when you need it…

I’m betting Rails enthusiasts would like to have access to ActiveSupport core extensions all the time, even when working in regular Ruby. But on my box, “require ‘activesupport’” incurs a 6-10 second delay, so I don’t really want to load it every time I bring up irb.

So I’m putting this in my Utility package:

module DeferredActiveSupport
	def method_missing(method, *arguments, &block)
		require 'activesupport'
		if self.respond_to?(method)
			self.send(method, *arguments, &block)
		else
			raise NoMethodError.new("#{method} not defined")
		end
	end
end

class String
	include DeferredActiveSupport
end

class Object
	include DeferredActiveSupport
end

#Other classes as desired...

Which lets me do this:

puts ({:foo => 'bar', :baz => 'glarch'}).to_json
puts 'foo'.titleize
puts 'test'.pluralize
puts 'large_pepperoni_pizza'.camelize

Yielding:

{"foo": "bar", "baz": "glarch"}
Foo
tests
LargePepperoniPizza

Ruby
development

Comments (1)

Permalink

Was Googling a bit to see if anyone else had ever considered naming their computer “Chiark Hub” (answer: 2 people have). I came across a quote I’d read before, but not realized the relevance of:

“In all the human societies we have ever reviewed, in every age and in every state, there has seldom if ever been a shortage of eager young males prepared to kill and die to preserve the security, comfort and prejudices of their elders, and what you call heroism is just an expression of this fact; there is never a scarcity of idiots.”
–Iain M. Banks, Use of Weapons

general

Comments (0)

Permalink

Passed on by Jeremy:

You answer the following 12 questions about yourself.

1. What is your first name?
2. What is your favorite food?
3. What high school did you attend?
4. What is your favorite color?
5. Your celebrity crush?
6. Favorite drink?
7. Dream vacation?
8. Favorite dessert?
9. What do you want to be when you grow up?
10. What do you love most in life?
11. One word to describe you?
12. Your Flickr name?

Type your answer to each of the above questions into Flickr’s search. Using only the images that appear on the first page, choose your favorite and copy and paste each of the URLs into the Mosaic Maker (3 columns, 4 rows).

mosaic149602.jpg

1. Bill Gates and Jay Z, 2. Sweet & Sour Pork, 3. Brendan Benson at the Southgate House, 4. green & blue, 5. Halle Berry, 6. Pepsi Billboard on Hudson River (Manhattan), 7. Kalalau Lookout - Kauai, Hawaii, 8. Hersheys Chocolate Cake 2, 9. DataArt Software Outsourcing Developer (fun), 10. Wife, listen to me!, 11. Energetic, 12. Gamer

friends
photography

Comments (0)

Permalink

Arrrggghhh… I want an Android phone, or an iPod with Wi-Fi, or something where I can rate songs while I drive and then sync ratings at home. Jotting myself is definitely not the most efficient way…

Reminder, rate Brent Dennen Desert Sunrise at five stars.
Reminder Ritz. I am in wine(?) sunset seems forgotten. I have five stars
Reminder. Ray(?), Iron and wine each coming night at Tarsars(?).
Computer reminder, rate tab pure essence this feeling at Five Stars.
Computer reminder. Rate(?) Kuresons(?) standing in your shadow at fire(?) for surs(?).
Reminder, Ray(?) Pereason(?) is walking data(?) five(?) size(?).
Reminder, rate Ray Hare coming again at four starts.
Reminder research the [broken audio], computer reminder rate the blues tones, the fountain head at five stars.
Computer reminder. Re-quantic(?) lighter than the sky at four stars.
Computer reminder, rate quantic sweet calling at 4 thirds.
Grand(?) ____ nine(?) lazy nine grazing maze at four stars(?). [unclear speech, please listen]
Computer reminder, rate(?) 9(?) laser(?) 9(?) coarser(?) at 4(?) size(?).

general

Comments (0)

Permalink