Electricity, Poop, and That Bastard Edison

San Francisco's Secret DC Grid:

Nikola Tesla's alternating current may have "won" the War of Currents at the end of the 19th Century, but the defeated incumbent -- direct-current distribution, aggressively championed by Thomas Edison -- endured. [...] Remnants of DC power distribution kept performing their assigned tasks for decades as the AC grid thickened around them.

In fact, a few live on to this day. One of the best examples is in San Francisco, where 250-volt DC power still flows through underground and overhead cables across the city. These DC lines peacefully coexist with their AC counterparts; you can see this mix of currents straddling utility poles in the city's South of Market district. DC's perseverance in that neighborhood seems fitting, for it was just a few blocks away that the tiny California Electric Light Co. -- a forebear to California's dominant Pacific Gas and Electric (PG&E) -- became the first power company in the United States, and possibly the world, to supply electricity to multiple customers from a central generating station. It was in September 1879 -- a full three years before Edison turned on his famous Pearl Street generating station in New York City -- that California Electric began burning coal, raising steam, and driving dynamos in a wooden shack at the corner of Fourth and Market streets to feed current to its customers' electric lights. [...]

DC endures in San Francisco because more than 900 of PG&E's customers still need it. Most of the utility's customers transitioned to AC lightbulbs and appliances easily enough as competing power distributors coalesced within PG&E and harmonized their equipment around AC. But for some of these building owners, however, elevators were a problem.

DC-driven winding-drum elevators -- the leading design until the 1930s -- use a DC motor in the basement that winds and unwinds the elevator's steel cable on a steel drum, thus lifting and lowering the car from pulleys atop the elevator shaft. DC drive was the only way to go at the time for a speedy elevator, because only DC could deliver variable-speed operation for smooth starts and stops. The DC motors were also energy efficient, capable of something that has only recently become possible with modern elevator designs: regenerating power when the elevator descends.

However, safety was a weak point. If a winding drum's control system fails, its motor can drive the elevator through the roof, according to San Francisco -- based elevator consultant Richard Blaska. As a result, says Blaska, new installation of winding-drum elevators was banned in the 1940s and 1950s in favor of traction elevators, whose cable will simply slip and hold the car at the top floor if the control system fails. Traction elevators can be engineered for either AC or DC operation.

Existing DC winding-drum elevators, however, have stubbornly resisted exile to the scrap heap, in no small part with support from local elevator repair firms such as Erik Bleyle's. Bleyle Elevator makes replacement parts, rebuilds DC motors, and designs custom circuits to sustain these machines from a bygone era. Bleyle admits that repairs can be pricey, especially hand-rewinding a DC motor, which can run between US $30 000 and $40 000. But he says even a refurbished motor looks cheap compared with the $500 000 cost of replacing the elevator, not to mention the months of involuntary stair climbing during the upgrade.

"Usually people just go for the motor," says Bleyle. [...]

The DC grid was also always difficult to troubleshoot because faults are hard to localize on a single large circuit -- a challenge that Austin says is compounded by the scant support this forgotten technology gets from equipment vendors. Austin adapted a circa-1990 AC/DC hammer drill to create his own diagnostic tool for so-called phantom voltage -- tiny dribbles of DC flowing across blown fuses that can hoodwink unsuspecting "troublemen" and their trusty voltmeters. Austin knows he's found a phantom when he clips his modified Black & Decker Macho III hammer drill onto a circuit, pulls its trigger, and gets a whimper instead of a roar. [...]

"When you had a failure out there like a fire in a manhole, the DC grid saw it as a load and just kept on pumping power at it," says Austin. The Tenderloin fire provided fuel for critics of PG&E's maintenance record and prompted the utility to accelerate and complete an ongoing redesign of its DC supply system. PG&E finished the job and shut down its two old rectifiers at the end of 2010.

I had no idea that this lunacy was all around us here! What the!

It reminds me of the fact that our fair city also has... unique... notions about how sewers should work. (After all, no discussion of electricity is complete without a plumbing analogy.) It's one of the few cities in the world that uses the same pipes for sewage and rain drainage. Doing it that way fell out of favor some time between the Romans and the London cholera die-offs in the 1800s.

San Francisco Combined Sewers:

San Francisco collects both sewage and stormwater in the same network of pipes, then treats and discharges the combined flows to San Francisco Bay or the Pacific Ocean. Except for portions of Old Sacramento, all other cities in California have separate sewer systems, which means there are two sets of pipes in the ground. One set of pipes takes sanitary waste to the treatment plant while a second set carries stormwater runoff from street drains directly into creeks, lakes, or the ocean. [...]

San Francisco's combined system holds these large volumes of water in underground storage vaults called transport/storage (T/S) structures, which encircle the city. San Francisco built the T/S structures in the 1980s and 1990s to prevent pollution of the bay and ocean during large storms. All combined flows pass into and through these structures on their way to the treatment plants. This upgrade greatly reduced the number of sewage overflows. The current system is designed such that overflows to the bay or ocean now occur on average one to ten times per year, depending on the rainfall and the watershed.

WHY A COMBINED SYSTEM? Many United States cities built prior to 1900 had combined sewer systems. At that time, sewage treatment was not available and sewers simply directed sewage into local water bodies. When sewage treatment became necessary to protect public health, newer cities built separate systems to save on the costs of treating stormwater. Some of the older cities opted to separate their combined systems. San Francisco, already a dense urban environment, decided that separation was too costly and disruptive to the residents.

Also: A Rare Look at the Tunnels Under San Francisco:

In the early '90s my friends and I used to tape flashlights to the handlebars of our bikes and go riding around in underground storm drain tunnels. There was a whole network of these tunnels under the city that sat empty for most of the year. We would go for miles snaking up and down the sides of the tubes, clapping and yelling to see how far our echoes would carry, eventually popping out in some other part of the city covered in cobwebs and bat guano. When the tubes got too small, we laid down on skateboards and kept going. If we found a flooded part, we taped garbage bags around our legs and crossed our fingers.

Previously, previously, previously, previously, previously, previously, previously, previously.

Tags: , , , , ,

ZALGO

HE COMES

Previously.

Tags: , , , ,

"Drowned in a sea of ASCII penises."

I often look around at the world of today and wonder what parts of it would have most surprised younger-me if he got a glimpse into the future. The supercomputer in my pocket that I mostly use as a Walkman, for an easy example.

But today a very strong contender is this non-joking use of the phrase "improved ASCII art detection".

YouTube hilariously impotent against ASCII comment pornographers:

The Google+ integration has also proven unpopular in a broader sense for a couple of reasons. The change constitutes a) meddling with a well-understood, if broken, system in the interest of creating engagement and more data affiliated with real people, thus creating more business for Google, and b) doing so using Google's social network, which sits somewhere on a spectrum between reviled and ignored. Google seems to be counting on the outcry against Google+ itself to eventually settle down. The company's response to the newly bad YouTube comments has been to finally introduce better content moderation at a high level. The update to the system will have "better recognition of bad links," according to the YouTube blog post, as well as "improved ASCII art detection" and altering the display of long comments. [...]

The Google+ integration, though, appears to be here to stay. That's despite the fact that the strongest user-based case for its use -- that accountability will prevent trolls from trolling -- has been killed, drowned in a sea of ASCII penises.

Previously, previously, previously, previously.

Tags: , , , ,
Current Music: K.Flay -- Rawks ♬

jwzlyrics auto-updates

Hey, if you're running jwzlyrics 1.7 then I think that "Check for Updates" will now tell you that 1.8 is available. However, I also think that when you try to install it via the built-in updater, it will tell you "the update is improperly signed", because the key inside the 1.7 bundle is bogus.

So, please go download 1.8 and install that, because I think that once I release 1.9, maybe later today, the updater should work. Let me know how it goes!

(Alternately, if you're feeling adventurous: replace the jwzlyrics.app/Contents/Resources/sparkle_dsa_pub.pem file in the 1.7 bundle with the copy of that file from the 1.8 bundle, and then when you run that 1.7 app, it should be able to upgrade itself to 1.8. If you feel like trying that, I'd be curious to know if that trick works on MacOS versions 10.7, 10.8 and 10.9, since I only have 10.8.)

Previously, previously.

Tags: , , ,

Mourning Herp Derp

I am so sad that the Herp Derp YouTube Comments plugin no longer works:

YouTube's new commenting system is using frames and currently breaks Herp Derp. I have no plans to bring it back in the near future.

From my estimates Herp Derp was downloaded 30,000+ times!

Download Removed

Previously, previously, previously.

Tags: , , , ,

Death Metal English

Adjectives: In Death Metal English, they're like guitar solos. You aren't using enough. Add more.

My favorite thing about Death Metal English is that it isn't subject matter-specific. Of course, it works best when you're talking about Satan, or Lovecraft, or murder or whatever. But you can turn pretty much any phrase or sentence into fodder for a sick death metal song using the same tropes:

Normal English: "Commuting to work"
Death Metal English: "TRANSPORTATION OF THE WAGEBOUND UNTO THE NEXUS OF PERPETUAL QUOTIDIAN ENSLAVEMENT"

Normal English: "This bok choy isn't very good"
Death Metal English: "CASTIGATING THE VERDANT ISSUANCE OF THE SOILS OF JIANGNAN"

Normal English: "I need to take a nap"
Death Metal English: "RIPPED INTO THE UTTER EXHAUSTION OF THE MIDDLE DAY"

Normal English: "Thanks for explaining the train schedule"
Death Metal English: "PROFFERING GRATITUDE UPON THE CHRONOCRATION OF THE JUGGERNAUTS OF RETICULATED METALS AND FIRE"

Normal English: "You have to mow the lawn"
Death Metal English: "BRING DOWN THE SCYTHE OF GODS UPON THE NECKS OF THE GREEN-RIBBED LEGIONS AND SWEEP AWAY THEIR WRETCHED BODIES; THOU ART IMPLORED BY ME"

Previously, previously.

Tags:

Death Star Tiles

And people say I'm hard to shop for. I'd like 10,000 of these please.

Tags: , , ,

Debugging Sparkle.framework signing errors

Dear Lazyweb:

Someone suggested I make jwzlyrics check for updates to itself, which seemed like a good idea at the time. I added Sparkle.framework to it (tripling its size), since that's what everyone seems to use. But it always fails signature verification and I'm at a loss as to how to debug that.

Here's what I know:

Copy the signature from the XML file and decode it:

echo "MEUCIGVrJehIr4+n+UEKLhdjORz/i2n2mHqD2vdoekp4qdyVAiEA3A93v+IIaPpoU0LoGkKA20V5hXwHmJd8LJ/FmSpnAnM=" | base64 -D > /tmp/a

Hash the downloaded zip file:

openssl dgst -sha1 -binary < jwzlyrics-1.7.zip > /tmp/b

The signature verifies, using the public key that is inside the .app in that .zip:

openssl dgst -dss1 -verify sparkle_dsa_pub.pem -signature /tmp/a /tmp/b
Verified OK

I've set a breakpoint on open and verified that ".../jwzlyrics.app/Contents/Resources/sparkle_dsa_pub.pem" (which exists) is being read.

I've set a breakpoint on b64decode and verified that the above base64 string is going in, and that what comes out agrees with "base64 -D".

Yet I still get a dialog saying "Update Error! The update is improperly signed."

Ideas?

(You can reproduce this by taking the .app and replacing "1.7" with "1.6" inside its Info.plist.)


Update: I figured it out! You have to generate your keys with the version of openssl in /usr/bin/, not the one in /opt/local/bin/. 0.9.8r versus 1.0.1c, in my case. Geez.

Tags: , , ,

Same.

13en:

No-one knows how the police officers find their way back to the exact stadium in which they were born. Yet every year, thousands make this epic journey - battling their way up one-way streets, and through congested city centres - to the very same sporting venue in which they began their lives. They end their journeys exhausted, barely able to complete the final act for which this epic journey was made. It was here that they were born; it is here that they will spawn the next generation of law-enforcers; and it is here that they will end their lives - in the terraces of their ancestral arena, after one of the greatest migrations of the natural world.
Tags: , ,

Let's focus on what's important here, people.

Mark Arsten (talk | contribs) m (Reverted edits by 198.154.184.226 (talk): addition of unsourced content (HG))

Line 17:

Author of the bouncing cow screensaver.

Previously.

Tags: , , ,

  • Previously