Traffic Question 14:

A traffic light turns yellow and you’re not quite going to make it through before it turns red... what do you do?

  1. Stomp on the gas pedal and zoom through
  2. Continue through the intersection without any change in speed
  3. Wait until the last second and then stomp on the brake
  4. Start coming to a gradual stop immediately
  5. None of the above

Moliner's Answer:

A. Stomp on the gas pedal

That way we will beat the “red” by a mile.

Conventional Answer

D. Start stopping immediately

This is the “safe” answer, so we’ll go with it.

I think stomping on the gas is really what people’s first instinct is. There are several things that don’t quite mesh if you think about them.

  • Yes, you will be going faster, but it takes too long to accelerate, so it doesn’t really make much difference. (You are likely saving less than 1 second; see image.)
  • Whatever speed you get up to... if it makes any real difference, you're likely to be significantly over the speed limit.
  • You are crossing several more sight lines, so it is that much more likely for a police officer to see you.
  • Is it really safe to go through an intersection at twice the speed limit?

For more information about signal timing, see the Signal Timing Manual (section 4) at www.signaltiming.com.

Tags

Converting version control repositories from Bazaar to Git (bzr to git)

Bazaar is great on Windows. Several years later, git's tools for Windows still.... (ahem) are lacking or too commercial. However, official development on it has ended and git is so much more popular now. So I think the time has come to convert all my beloved bzr repositories to git.

First we need note some prerequisites:

Adding a hardware clock to Raspberry Pi (DS3231)

The popular clock module is uses the DS1307 real time clock chip, which is not very precise. For just a few dollars more, you can get a module with a much more precise DS3231 RTC chip. The one I got was SunFounder's module from Amazon for $9 (free shipping for Prime). It plugs right onto the Raspberry Pi's 40 pin header and doesn't even interfere with the plastic case I have. I have a Model B, but this module should also work on Model A and Model B+. The instructions refer to DS1307, but the chips use the same I2C commands, so it also works for DS3231.

How to run a PiPresents show when you don't have a Raspberry Pi

PiPresents is some pretty cool software that will run a PowerPoint-like presentation. But with lots more flexibility. It was originally written for the Raspberry Pi.

However.... perhaps someone else has your Pi. Perhaps you don't even have one. It is possible to run a PiPresents show on  your good ol' desktop computer (Windows, Linux, or Mac). Here's how.