This is the time of year when a lot of us take time off for vacation. The season of summer needs time off as well, which is why we have the month of Fogust.
A strange thing happens as the fog engulfs the city; the area around Dolores Park is shielded from the fog by Twin Peaks, leaving a big sunny patch. One has to wonder if a certain Junipero Serra took this heavenly parting as a sign for where he should start construction when he arrived here in Fogust of 1776 (Okay, June 29th, but close enough.)
And perhaps one day in the distant future, archeologists will stumble on this sunny spot in the foggy ruins of our city. And maybe they’ll figure out why San Franciscans spent so much time fighting over building things that — most of the time — nobody could even see.
The other day while hacking away on some C++ code and listening to music, something occurred to me: if I’m programming in C++, shouldn’t the music I’m listening to be in the same language?
So I took a few verses from various random songs and coded up C++ translations of the lyrics. Here’s what I was able to hack together.
2Pac – Dear Mama
English:
When I was young me and my mama had beef Seventeen years old kicked out on the streets Though back at the time, I never thought I’d see her face Ain’t a woman alive that could take my mama’s place
C++:
// When I was young me and my mama had beef
if (this->young()) {
this->append(new Beef());
mama.append(new Beef());
}
// Seventeen years old kicked out on the streets
// Though back at the time, I never thought I'd see her face
if (this->getAge() == 17) {
this->remove(getShelter());
this->seeFace(false);
}
// Ain't a woman alive that could take my mama's place
mama.replacement = NULL;
The Beatles – Hey Jude
English:
Hey Jude, don’t make it bad Take a sad song and make it better Remember to let her into your heart Then you can start to make it better
C++:
// Hey Jude, don't make it bad
jude.it->make(!JudeState::BAD);
// Take a sad song and make it better
sadSong.improve();
// Remember to let her into your heart
jude.setReminder(new Event(JudeState::ENTER, jude.getHeart()));
// Then you can start to make it better
jude.it->make(JudeState::BETTER);
David Bowie – Man Who Sold The World
English:
Oh no, not me I never lost control You’re face to face With The Man Who Sold The World
C++:
// Oh no, not me
// I never lost control
assert(this->control != NULL);
// You're face to face
// With The Man Who Sold The World
Man m;
m.sell(world);
you->setFacing(&m);
m.setFacing(you);
Lady Gaga – Born This Way
English:
Don’t hide yourself in regret Just love yourself and you’re set I’m on the right track, baby I was born this way
C++:
// Don't hide yourself in regret
if (!you->visible && you->regret)
you->visible = true;
// Just love yourself and you're set
you->love(you);
// I'm on the right track, baby
getTrack(Track::RIGHT)->set(this);
// I was born this way
assert(this->state == this->creationState);
The Police – Every Breath You Take
English:
Every breath you take Every move you make Every bond you break I’ll be watching you
C++:
while(true) {
switch(you->getEvent()) {
// Every breath you take
case BREATH:
// Every move you make
case MOVE:
// Every bond you break
case BOND_BREAK:
// Every step you take
case STEP:
// I'll be watching you
this->watch(you);
break;
default:
assert(false);
}
}
Kanye West – Power
English:
No one man should have all that power The clocks tickin’ I just count the hours Stop trippin’ I’m tripping off the power Till then, fuck that the world’s ours
C++:
// No one man should have all that power
for(int i = 0; i < men.size(); i++) {
Man* man = men.get(i);
if (man->has(allThatPower))
man->remove(allThatPower);
}
// The clocks tickin' I just count the hours
setTimer(1, &countHours);
// Stop trippin' I'm tripping off the power
you->tripping = false;
bool power = true;
this->tripping = power;
// Till then, fuck that the world's ours
if (getCurrentTime() != then) {
that->fuck();
world.setOwner(this);
}
Superman, Batman, Spiderman — and now — Hot Dog Suit Man!
If I had to venture a guess, I’d assume his superpowers involve squirting out condiments into the faces of his enemies, safely apprehending criminals with his “bacon wrap,” and giving people a bad case of the runs. What a badass!
To see Hot Dog Suit Man yourself, check out his Bun Cave over at Albion and Camp.
Watch as a Roomba is helplessly “trapped” by the legs of an office chair. No, nothing was stopping this Roomba from turning around and zipping off in the other direction aside from its own stupidity.
The fact that a Roomba can’t escape such a devious non-trap is evidence against robots enslaving humanity anytime soon. Or is that what they want us to think?
Apparently a ghost outbreak occurred near Mission and 17th St. today, but it was already contained by the time I arrived at the scene. The ghosts are gone, all that was left was the Ghostbuster’s car.
Scary stuff. Stay safe, everyone!
No word as to whether this is related to Slimer’s visit to Valencia back in 2010.
When people think of same-day grocery deliveries they tend to think “Oh yeah, I remember Webvan.” Or maybe they remember that one time they ordered from Kozmo.com before that went out of business.
Just because the dot-com boom went bust doesn’t mean same-day delivery service is impossible. For example Safeway and Costco both have their own same-day delivery services. In fact, Amazon.com bought Webvan and now delivers groceries in Seattle under the name AmazonFresh. It’s now rumored that AmazonFresh may soon be expanded to California.
But you don’t have to wait! There’s already a number of intriguing new services offering same-day grocery delivery right here in San Francisco, right now in 2013. Here are the services I’ve tried.
Instacart These guys deliver groceries and various personal and household items from Safeway, Trader Joe’s, Whole Foods, and Costco. You pay a modest fee per delivery, which varies from store to store. Delivery windows are one hour with a minimum three hours after you order, and they do a good job of warning you if the delivery will be late. The last delivery of the day is at 10 pm.
In general Instacart’s customer service is very good, but their website and ordering process are in a state of flux so be prepared for some beta-ish hiccups now and then. When items are out of stock and the store doesn’t have your replacement, the shopper will often give you a call. Caveat: they can’t deliver alcohol due to state law.
Overall the service is smooth for a new company and the delivery prices are very reasonable (usually less than $4.) I’ve started using Instacart once or twice a week.
Grade: A-
Google Shopping Express This new service from Google is still in a closed beta. They have an interesting variety of stores, the only grocery options being Nob Hill Foods, Target, and Blue Bottle (beans only.) The website seems buggy considering it’s from Google.
What ultimately makes Google Shopping Express a weak service isn’t the website; it’s the five hour delivery windows. There’s only three each day to choose from. That’s it. Maybe that’s fine for Comcast, but this feels like a huge step backward for same-day delivery services.
Google relies on 1-800-Courier to handle the deliveries so perhaps that’s the weak point. It’s hard to see the appeal of this service.
Grade: C-
SF Room Service Contrary to the name, SF Room Service is a liquor store that delivers. They have a decent selection of alcohol along with a small selection of groceries, household and personal items. They do have a minimum of $30 but I don’t believe there’s any charge on top of that. Thursday through Saturday they deliver until 1:30 am, all other days until 12:30 am.
The only caveat is that their website seems like an afterthought. It doesn’t always reflect their inventory and there’s no option for replacements, so there’s a good chance you’ll get a phone call. Still, their service is good and the hours are tough to beat.
Grade: B+
Rewinery It’s hard to think of anything more NorCal than bike messengers delivering a well-curated selection of wines. All they sell is wine, and all orders can be delivered within an hour via pure pedal power. Delivery fees are pretty reasonable, I don’t think I’ve paid more than $6.
I wish they delivered other stuff, but who doesn’t like wine?
Grade: A
(Disclosure: I get a small discount if you sign up for Instacart or Rewinery through these links.)
John Law’s Doggie Diner head trailer is a mobile landmark in San Francisco. This evening they happened to be leashed on Valencia outside Stage Werks.
Anyone who’s lived in San Francisco for a while knows the story behind the doggie heads; they were the mascot of a local fast food chain called the Doggie Diner. After the chain went out of business in the 80’s the heads seem to have ended up various places. For example one of them is mounted on a pole in the median of Sloat at 45th Ave.
You never know when or where the doggie head trailer will appear. It’s kind of like Frank Chu, except that Frank Chu’s signs tend to make more sense than the concept of eating food that was cooked by a dog. Yuck. But hey, I’m not in marketing.
A bicycle wheel leaned up against a fire hydrant with a partially used pack of Red Vines on top. Pretty much says it all about San Francisco, doesn’t it?
Remember when I told you that Martin’s Emporium, the skull shop on 16th St between Guerrero and Dolores, was going out of business?
Turns out I lied. Well, okay I didn’t lie so much as that was really their plan at the time. But after two years the For Sale sign is gone from the window. According to their Facebook page, Martin’s is coming back!
I know, it’s been difficult living without a source of skull jewelry and trinkets. I hope you’ve been maintaining a detailed shopping list.