Do you really want to rev it like that?

FYI, but engine stresses go up as the square of RPM.
IOW, double the revs, and you quadruple the stresses on the engine parts. Triple the revs, and you increase stress by a factor of 9x.
If there’s no compelling reason to have the engine spinning at high revs (ie, I want the power), I don’t.
Above is theoretical.

(via Doug G on COG)

When your Concours won't let you bumpstart it

As to not getting the bike in any gear but first, that is Kawasaki’s patented neutral finder. The bike must be moving five mph or faster to select second gear. You can defeat this by putting it on the centerstand and spinning the rear wheel by hand as fast as possible. You will then need to hold the clutch disengaged while taking the bike off the stand.

(via on Claudio O COG)

A Proposal Against Parentheses in Racket

P4P:

This document proposes an alternate syntax for Racket. It reduces the parenthetical burden, makes the language appear more traditional, and respects indentation, though not in the way you think. It does all this while retaining the essence of Racket syntax, and even offering a high degree of tool reuse.

(via Racket-users)

Calling Java Under Cygwin

While trying to set up Clojure under Cygwin I found that doing mixed-mode between Cygwin and Java isn’t very happy due to the ‘;’ vs ‘:’ in the classpath.
This post (via this post) provided an obfuscated Ruby program to take care of that for you… thanks!

#!/bin/ruby
# Slightly obfuscated cygwin + windows java wrapper, automate cygpath
cpi = ARGV.index("-cp") + 1
cp = ARGV[cpi] if cpi
XBCP = "-Xbootclasspath/a:"
xbcpi = ARGV.index{|i|i=~/^#{XBCP}.*/}
xbcp = ARGV[xbcpi] if xbcpi
if cp or xbcpi
  def convert_paths(paths)
    paths = paths.gsub(':', ';').split(';')
    paths.map{|p|`cygpath -aw #{p}`.strip}.join ';'
  end
  ARGV[cpi] = convert_paths(cp) if cp
  ARGV[xbcpi] = XBCP + convert_paths(xbcp.sub(XBCP, '')) if xbcp
end
java = '/cygdrive/c/Program Files/Java/jdk1.6.0_18/bin/java'
cmd = .concat ARGV
def e(s); "\"#{s.strip.gsub('"','\"')}\""; end
exec(cmd.map{|a|e a}.join(' '))