Category Archives: The other bits

The commute carbon cost

I read an extremely urgent sounding news item today that actually did not contain any news.  It was the release of yet another report affirming the human cause of global warming.

It got me wondering about my commute.  Now that the weather is getting colder and biking is less and less of an option, I may find myself driving to work on a daily basis.  Audiobooks solve the traffic issue, can planting trees offset the emissions?

I estimate that my daily commute (around 12 miles each way) uses about a gallon of gasoline a day.  Gasoline is mostly carbon by mass so that’s approximately equal to 3 kg of carbon my commute releases into the atmosphere per day.  According to Trees for the Future, a tree will sequester approximately 23 kg of carbon per year, but unfortunately that’s only 0.09 kg per workday.

So to offset the extra carbon cost of my commute I will need to plant at least 33 trees.  They’ll take some time to mature before they can start soaking up that carbon dioxide at the above-assumed rate.  I’ll take suggestions for fast-growing varieties.

Advertisements

Pinholes

The most hyped solar eclipse of the century passed over the U.S. mainland today. I viewed it through a homemade pinhole camera. Pinhole cameras, made of a hole, a length of empty space, and an imaging surface, have only two adjustable parameters: size of the hole, and distance between the hole and the surface, which is a focal length of sorts.  How does tuning these two parameters affect our image?

Image Size

The angle subtended by the sun is about 0.5 degrees in the sky.  It’s simple to see that the size of the image of the sun (L) does not depend on the diameter of the pinhole, but rather only on the distance f in the image below:

IMG_8081

Figure 1. Pinhole geometry

For a focal length of 1 m, L should be about 9 mm.

Angular Resolution

A more interesting question is how the image resolution might be affected by tuning these parameters.  It might seem that a smaller pinhole should create a sharper image (Figure 2), but there is a limit.

image2

Figure 2. Ray optics picture.  A larger aperture yields a blurrier image, since it allows rays from different parts of the object to be mapped onto the same spot on the image.

The smallest spot that can be formed on the imaging plane is ultimately limited by diffraction.  By making the aperture too small, diffraction can rapidly blur the resulting image.  That effect is illustrated below.

image1.JPG

Figure 3. Diffraction introduces uncertainty measurement of the ray’s initial direction.

The resolution of our system is determined by the more dominant of these two effects, so,

CodeCogsEqn (3)

which has the following dependence on D and f:

 

pinhole_diameter

Figure 4a.  Making the hole diameter too small is much more detrimental to image quality than making it too large

pinhole_focal

Figure 4b.  Resolution improves with focal length increase.

A contour map showing the resolution as a function of D and f gives a clearer picture:

pinhole_contour

Figure 5. Contour map of resolution as a function of D and f.  Blue is better angular discrimination.  Plotted as log(theta in degrees).

Based on the calculations above, the pinhole should have a diameter of around one millimeter, and the focal length should be made as large as allowable.

Eclipse Test

I placed 3 pinholes, sized approximately 0.8 mm, 0.2 mm, and 0.4 mm, in order, on an aluminum foil.  Then light sealed one of our moving boxes (f ~ 1 m) from our recent move.  Two hole cut-outs for the eyes allowed me to look inside (and take photos).

 

The different light levels for the full sun images can be seen in the right panel.

As the eclipse started I whipped out a slightly better camera to document its progress.

066B8621

Figure 6.  Mirror image of the sun beginning its eclipse.

Zoomed in series of images of the eclipse progress in Boston, MA.  The most coverage we had was around 65%.

 

 

There are several design improvements I would make on the next iteration.  First, I underestimated the importance of being able to get very close to the projected image.  I would need to place the eye holes closer or baffle in a different way so that the viewer can approach the imaging surface.  Relatedly, since pinhole cameras suffer from minimal tilt distortion I would tilt the focal plane so that the image can be viewed more head-on.

See you in 7 years.

 

About hysteria

I’ve tried to be positive, but it’s good to be realistic, too.

If you’re signed on to resist the agenda of this administration, you’re going to have to come to terms with being mis-represented, being mocked, being hated. Possibly forever with no vindication.

Because a resistance that actually succeeds in preventing an atrocity will never have evidence of its necessity or its success. Life will go on as usual. The nation will remain its unequal, imperfect self, hurtling towards some uncertain future. You may even have the privilege of being ridiculed in retrospect for your “hysteria”.

Yet that’s the nature of the thing. The window for resistance closes at a rapid rate as an atrocity becomes less speculative, more imminent. So, while we wait, afraid to be hysterical, afraid to be wrong, afraid to overreact, the ground beneath us is shifting.

The German author Emil Erich Kaestner once said, “the events of 1933 to 1945 had to have been fought no later than 1928. After that, it was too late. One cannot wait until the struggle for liberty becomes treason. One cannot wait for the snowball to become an avalanche. You must crush the snowball. No one can stop an avalanche…

What I’m trying to say is, don’t feel too bad. Resisting tyranny will always require paranoia and imagination. And it will always be the work of “hysterics”.

A conversation from Radiolab

http://www.radiolab.org/story/193037-turing-problem/

A: I think we’re just machines. I think we are just made of matter… For me, that doesn’t make me feel we’re any less special. I think, how, what a wonderful thing… How wonderful, that this process, and that these little collections of matter are able to produce Cezanne’s water colors and Bach’s preludes.

Q: But, could you, if I built you a computer, that could create equally beautiful watercolors, and equally beautiful musical compositions, would you feel happier or diminished?

A: I think, in a way you’re asking, if you see how the trick is done, does it then, vanish? Does it just become a trick? … I feel, the art I love, is always art that I don’t fully understand. There’s some mystery there, always. I don’t quite fathom it. Now so, if the computer is churning out a bunch of notes, and you know exactly the rules the computer is following, and there’s no mystery, how can that possibly be a great piece of music? And the answer is, we don’t know how the computer is going to do it, we don’t know how the machine is going to do it. And when the computer produces music that is as lovely as the music that you and I love, I believe it will still be unfathomable.

Cold vs. Not Cold

This morning it was -8F in Boston.  I realized, walking to yoga class, in the sun, in the wind, that it was cold; but figuring out exactly how cold was not something my body or brain was equipped to do.

Each square of my skin can sense cold, and it can sense pain, so in terms of raw input, I get only not-cold, cold, or painfully cold.  Can I really tell the difference between 8F and -8F? For better resolution I have to use other available data.  How much am I wearing?  How long have I been outside?  Outside in -8F, probably the coldest temperatures I’ve walked around in, I put this notion to the test.

The only exposed bit of my skin, below my hat and above the scarf I had pulled over my face, went from not-cold to cold to painfully cold in about 3 minutes.  My eyes watered and the corners of my eyes started to sting.  Other than that, I felt fine.  I felt probably the same amount of cold over my body as I did on a 30F day wearing jeans, a coat, and no scarf.  Except this morning I was wearing my full mountain gear for snowboarding: snow pants, thermal layer underneath, windproof insulation under my jacket, ear-warmers, mittens…  And despite walking quickly, I didn’t warm up.  All the gear felt light and airy, as if the top layers were simply not there.

A few nights ago, sitting in Fenway Park watching the Big Air competition, I wore the same outfit, down to the boots and mittens and ear-warmers.  It was 10F and not as breezy.  It took me about 30 minutes of not moving to start feeling uncomfortably cold, about 40 minutes to lose feeling in my toes through my winter boots.  My eyes did not start to sting or water, and I did not notice my exposed skin becoming painfully cold (probably because I went inside to take care of my toes).  But simply from being outside from 6-10pm that night, I was cold, and hungry, and exhausted.

The data seems to indicate that today is colder.  But Thursday’s experience was much more grueling.