Category Archives: Uncategorized

Russia, France, What the Hell?

Short on time this morning so I’ll make it quick.

Over the weekend, Russia signed a $500 million deal to supply Syria with weapons. This would be the same Syria that’s already murdered over 5,000 of its own people in the past year, for the crime of wanting democracy. Apparently Putin watched the videos of the Syrian military shooting civilians and said, “You know what those soldiers need? More bullets.” Thanks for that one, Vlad.

France (along with Britain and the U.S.) condemned the sale, even as it took steps to restrict freedoms inside its own borders. The French Senate recently passed a bill making it a crime for any French citizen to deny the occurrence of the Armenian genocide, which happened in World War I. There’s no question that the genocide is a historical fact, but wrapping its memory in a law that tears away at free speech is a bitter irony, not to mention idiotic.

What the hell, France? You’re supposed to be one of the good guys.

Robotic Close Encounters

The 12-second video below shows my Lego robot in action.

As you can see, it’s a pretty simple program. The robot (whom I’ve dubbed “Procyon”) moves forward until he gets close to something, then backs up, turns, and keeps going.

A few things to point out:

1. I am not remote-controlling him. Procyon is doing this “on his own,” so to speak.

2. The program governing his behavior actually runs on my PC and controls him wirelessly via Bluetooth. As I described earlier, I’m using a third-party library to bypass Lego’s proprietary programming language and write code in C++.

3. Procyon can tell when he’s close to something by checking his ultrasonic sensor, which is that light gray T-shaped piece mounted on the front. Essentially, he navigates with echolocation, the same thing bats and whales use.

4. Although the behavior is pretty simple, programming it did present some challenges. The biggest challenge is that, when I send a signal like “Turn your wheels backward 720 degrees,” there’s no way to say “Wait for that command to finish before moving on with the program.” (At least, not that I’ve found yet.) I’ve got a workaround for now, but I’ll need to come up with a more robust solution as I get into more complex programs.

5. I haven’t yet given Procyon even a hint of real artificial intelligence, but that is my eventual goal.

But AI for Procyon – even a very simple, stripped-down model like the one I plan to start with – is still a long way off.

In the meantime, what other cool stuff could I program him to do?

Hallway Eye Contact Syndrome (HECS)

Picture this. You’re walking down a hallway. Suddenly you notice someone else, someone you know, off in the distance…walking toward you.

I know, right? Disaster.

When someone is far away it’s no problem, because the two of you can easily pretend like you don’t see each other. When someone is close it’s no problem, because you can throw out some little greeting and be on your way. But anyone walking toward you will inevitably reach the intermediate zone between “far away” and “close,” a zone of supreme awkwardness, where you are near enough that some form of interaction seems required, yet far enough away that you can’t start talking yet.

This is the realm of Hallway Eye Contact Syndrome, or HECS.

You’re playing a dangerous game, and you know it. If you make eye contact, you’ll have to offer some kind of weird long-distance greeting, like a wave or a shout or a nod. Neither of you wants that, of course. So you both start looking around, searching for other things that could plausibly interest you (“oh my, our floors have carpet, when did they put that in?”) while trying to avoid walking into a wall. But you know, just as they do, this game can’t last forever. Sooner or later, one of you will have to break, decide that you’ve entered the Communication Zone, and offer a greeting. By the time it finally happens, the awkwardness has grown so intense that you don’t even care anymore – you just want it to be over.

HECS isn’t so bad if you don’t know the person at all, because then you can pretty much pretend they don’t exist without seeming rude. It’s also not so bad if it’s a close friend, because then you can do something goofy in the intermediate zone, like an exaggerated wave, and it works out okay. As before, the danger lies in the middle – with people who aren’t friends, but are good enough acquaintances that you have to greet them.

And of course, the fewer people in the hallway, the worse it is. If it’s just you and them? Forget it. You might as well turn down a side hall now.

For some people, HECS is only an occasional hazard, a few seconds of awkwardness per month. But those of us working in office buildings aren’t so lucky. All the conditions are ripe: long uncrowded hallways, lots of people that are acquaintances but not really friends, and a constant stream of reasons to be up walking around.

I’m telling you, it’s brutal.

Do you suffer from HECS? What strategies have you found for dealing with it? Share your tactics with fellow patients!

Friday Links

North Korea just launched an official English-language “news” site, and it’s every bit as crazy as you would imagine.

A good piece over at the Washington Post about the Marines who urinated on the bodies of their enemies: “We Are All Guilty of Dehumanizing the Enemy.”

NPR reports on MAGFest, an event for people who love video game music – especially when it’s performed live. As a guy who still gets shivers when he hears the name Nobuo Uematsu, I would love to go to this sometime.

This next one’s pretty geeky, but I know we’ve got a few in this crowd so I’ll throw it out there: Visual Studio Achievements. Yes, it gives you Xbox-style Achievements for doing stuff in Visual Studio. And yes, it’s a real thing.

Purple.com – sometimes you just gotta have some purple.

My mom sent me this one to remind me: PUNCTUATION SAVES LIVES.

Freedom House, a group that tracks democracy and civil liberties around the world, calls 2011 a ‘year of hope.’ They cite the progress so far with the Arab Spring. Their latest ranking classifies 87 countries as “free,” representing 43% of the world’s population.

A very cool video of Earth, as seen from the International Space Station.

Finally, I have to share something that made me laugh this week. A co-worker at my day job printed this out and set it on my desk, where I found it the next morning. He seems to think Mr. Data and myself may have a common goal in life. (Click to enlarge.)

All those processors, and he still can't use contractions...

And that’s that. As always, if you have any links to share, leave ’em in the comments. Feel free to link to your own website, too!

Have a great weekend.

Song of the LARK

I sleep with it, and it vibrates. The Lego robot's going to be jealous!

Hey look, I got a new toy.

Here’s the problem I was having. My wife has to get up around 7:00 to get to work by 8. I, on the other hand, get up at the ungodly hour of 5:30, which gives me time to write my blog post and still be at work by 7.

I was using my cell phone’s alarm clock feature – in vibrate mode – to wake me up. The motor in the phone was so loud I could set it on the night stand and the sound alone would wake me. In fact, it would wake Betsy, too.

An hour and a half early.

You see the problem.

The concept of the LARK is simple: you wear a wristband to bed, and it wakes you up by vibrating – quietly, so you’re woken by touch, not sound. You can sneak out of bed so your wife keeps sleeping.

We’ve been on this new routine for almost two weeks now. The verdict? It works. I wake up, Betsy sleeps. Mission accomplished.

That said, it has some drawbacks:

  • The LARK wristband inexplicably requires you to download an iPhone app to set your alarm, which means you have to have an iPhone (or iPad). Why they would narrow their target audience so drastically is beyond me.
  • The app also has some trouble connecting to the wristband. It often tells you to hook up the wristband to the docking/charging station so it can connect, even though the wristband is already docked. Often you actually have to remove the wristband from the dock to make it work. It’s fine once you figure out the quirks, but this is something they easily could’ve fixed. (Fortunately, the wristband alarm will go off even if the connection is broken.)
  • The vibration is quieter than my phone’s, quiet enough that it gets the job done, but it’s still very much audible. I could imagine it waking someone if they were a light sleeper.
  • The damn thing costs a hundred dollars. Yeah, there are cheaper products out there that do the same thing, but they all had serious problems. (One wristband had buttons on the band itself, and if you accidentally hit the wrong button while sleeping, it could turn the alarm off!)

The LARK app has some other features, too: it’ll track your sleeping statistics and even (at an extra cost) act as a sleeping “coach,” provided you care enough to set up a username and password. I do not.

So. Money well spent? I’d say so. But for as much money as I did spend, you’d think they could’ve worked out some of those issues.

(Official site is here.)

What’s your wake-up situation? Do you have any kind of unusual alarm or system? Have you ever had the same problem I did, and if so, what did you do?

A Forty-Minute Story

Thanks, everyone, for the comments and suggestions on yesterday’s post about how I’ve fallen out of love with writing (at least temporarily). A lot of the comments revolved around a common theme: don’t worry so much, and get back to what you really love about writing!

Jo Eberhardt put it like this:

But stop being so hard on yourself; stop trying to create something great. Sit down and write a poem about a buzzard waiting for a cowboy to die, or an ode to toilet paper, or a plan to take over the world using only a radish, a jar of pickles, and a paintbrush.

In that spirit, I’ve decided to write a story – right now, in the forty minutes I have before work, with minimal time to worry or revise.

And, go!

* * *

Rain slashed the concrete, soaking me under my windbreaker, rattling everywhere like the end of the world. The street was deserted – almost. I could just see him through the storm, electric eyes shining blue.

“Mark!” I called.

An old joke: ‘Mark’ was short for ‘Automaton Mark VII,’ an absurdly retro name for the highest-tech gadget in the world. He had laughed at that joke before, a human-sounding noise I could never quite unravel.

But he didn’t laugh now. He just watched me, long arms at his sides. Waiting.

“Mark!” I advanced, one slow step at a time, shivering as the water seeped through my tennis shoes. “Come home, buddy. This thing with Sharon, I’m sorry, it isn’t going to work. She doesn’t love you, Mark, she loves the spotlight. Loves having her face on magazine covers with headlines about the first interspecies romance. You have to let it go. I really am sorry.”

Too direct. I swallowed. I was terrible at this kind of thing: delicate words, broken feelings. Six years at BU had taught me to pick apart themes in medieval Asian poetry, but not to do anything useful in particular – except spend my dad’s money, on the highest-tech gadgets in the world.

Even so, I knew I shouldn’t have mentioned Sharon. Not yet.

Mark’s answer was clear in spite of the rain. His mouth moved, but the sound came from somewhere in his chest. His voice didn’t sound robotic at all – whatever that means – it just had an unplaceable accent, like he was from some nonexistent country between Sweden and Iran.

“I’ve already broken it off with Sharon.”

I blinked. “Then why…”

“I never said I loved her.”

He crossed the distance between us in long, swift strides. His plastic white face was neutral as always, a mask hiding God knows what, but he put his hand on my shoulder.

That was new.

“Yes, you did. You said – ”

“I said I was in love.” The blue lamps dimmed in his eyes, a deliberate but mystifying gesture. “I didn’t say it was with her.”

The hand fell away. He was gone before I could answer.

I swore and ran under the awning of a nearby tavern, trying to get warm.

* * *

Well, that was fun. Obviously it’s not very polished due to the time crunch, but I guess that’s the point, isn’t it? Maybe I’ll try this again sometime.

When Passions Become Burdens

“Follow your passion,” we are told. Do the work that excites you. Do what you love. It’s good advice.

But we know that the process of following your passion – the daily, nuts-and-bolts effort of the thing – is not always exciting. For most people, including me, it takes self-discipline. It means doing the work even on days when you don’t feel any passion for it at all.

We know this. This is what separates people who want a black belt from those who actually get one. Many, many days I didn’t feel like going to karate practice, but I did it anyway. That’s what the passion requires.

Yet this attitude, this desire to press on even when you don’t feel like it, can turn on you. It can become a creeping sort of thing, slowly transforming the work you loved into a box you have to check, just another item on your to-do list, something to feel guilty about if you neglect. A burden.

What do you do when this happens?

As with so many things, it’s a balance. Hard work can drag you down, but it also can (and often does) rekindle a dying flame of excitement. The trick is to find something where the times that feels like drudgery don’t overwhelm the exciting times. If you get to where you dislike something most of the time, give it up.

That’s the simple answer, the standard remedy. But balance is a difficult thing.

I’ve gotten very accustomed to this cycle of fossilization – this change from a living dream to something harder, and less alive. It’s something I constantly monitor, constantly fight.

I see it even in small things, like my new subscription to TIME magazine, where my love for learning about the world changes into a (quite irrational) guilt if I don’t make time to read it. I see it in my “research one new thing every week” project, when it begins to feel like unnecessary baggage even though the research is easy and informal, about topics I’ve chosen myself.

I see it in my writing.

With the exception of one short poem, I haven’t written any fiction or poetry in months. That is a strange thing to admit, a strange place to be. I started this blog because of my overwhelming love for writing, a love that had followed me for over a decade. I wanted to be a novelist – more than anything.

Maybe I still want that. Probably I still want that. I’m not sure.

But the work had fossilized, crossed the threshold from self-discipline into self-deception. I kept talking about how much I loved writing, but I didn’t really love it anymore. Not on a day-to-day basis, not in the way that would make it my life’s main work right now.

I’ve been taking a break from the novel, the stories. I’m working on artificial intelligence – which isn’t just a stopgap but really is another great passion. So far, even though it feels like work sometimes, it hasn’t fossilized. I still love doing it.

But I’m watching it closely. Because I recognize the signs.

Do you go through these cycles? How do you deal with them? What kind of balance have you found?

My, What Big Trucks You Have

That first car is getting a little...tired?

They're serious about that No Parking sign.

There comes a time in every man’s life when he must watch a 19-ton truck roll over five other vehicles consecutively. For me, that time came last Saturday, when I went with my wife and two friends to a monster truck rally in Cincinnati.

I am not what you would call a “truck person” in general, and I’d never been to anything like this before. I went because I like trying new things, and I like doing stuff with my friends. Still, I was acutely aware that the demographic at this event was not – how can I put this – “my people.” I am not generally accustomed to seeing that much camo in one place.

The dynamic duo

Me and my far more attractive wife, Betsy. xkcd in da hizzouse!

But although we didn’t really fit in with the crowd, everyone was very nice to us. Another group even told us we didn’t have to move when we turned out to be in the wrong seats. I was struck by this politeness, not because it was unexpected, but because it flies in the face of what pundits tell us about the supposed culture war in America. In the headlines, tensions are always on the verge of exploding. In real life, people are pretty nice to each other.

Back to the trucks, though.

Half these guys use something bigger to mow their lawns.

The pit party.

The point of a monster truck rally is to be big and loud and fun, and to that end, mission accomplished. Four trucks competed: Big Crunch, Outlaw Clydesdale, Defender, and Bigfoot. (The only mental image I can summon for the name “Outlaw Clydesdale” is that of a very naughty horse.)

Between the announcer’s commentary and a little pre-game Wikipedia research, I learned that Bigfoot is the original monster truck, the one that started the whole thing back in 1979. There are lots of trucks called Bigfoot now, all owned by Bob Chandler. This particular Bigfoot was the star of the show, and seemed pretty popular with the crowd.

Just don't call it Sasquatch.

Unlike the Internet, Bigfoot is, in fact, a big truck.

So what do these trucks actually do? Well, this rally had three main events. First, there was a wheelie contest, where the trucks compete to see how much air time they can get when jumping over a pair of unfortunate cars. (The winner is determined by applause.)

Second, they do a drag race, which is just two trucks going in a straight line from one end of the (rather small) stadium to the other. This was the least interesting.

And third, there’s an event called “freestyle,” which was essentially driving over five cars instead of two, plus some other driving around that appeared (to my untrained eye) rather pointless.

In between these events, they gave the trucks a break and did motocross and four-wheeler racing.

Yellow is definitely your color.

The Defender. What is it defending? The same thing the Avengers are avenging, I guess.

It was a cool show, but unfortunately, the venue was really too small for what they were trying to do. The trucks are huge, and they packed them into a dirt-filled arena the size of a basketball court. They had to back up just to turn around. I felt like a bigger area would’ve given them the freedom to do more stunts, not to mention more interesting races.

Also, as I mentioned, only four trucks competed, and aside from the paint jobs they all looked pretty much the same. But the jumbotron played videos of other monster truck events, highlighting a wide assortment of vehicles of all different designs, from the Grave Digger to a van with tank treads. A little more variety would’ve helped.

Meanwhile, I work in a cubicle.

Each truck costs a quarter of a million dollars. Hopefully the cars were a little cheaper.

Still, it was fun, and loud, and they crushed things, which – I’ll be honest – is all I really wanted.

And what did you do this weekend?

Friday Links

First off, thanks to everyone who gave me advice on where I should go during my upcoming trip to Russia! One comment, from Thomas Harris, linked to a story about a girl who snuck into a Russian military rocket factory…and took pictures. I really can’t put into words how incredibly badass these photos are. One click and you’ll see what I mean. (And if you happen to speak Russian, her blog is right here.)

Another reader, Lura Slowinski, pointed me to NPR’s list of 10 things to do with a Twinkie. I’m really tempted to try #7, “Espionage.”

In the news: Radio Free Europe reports that a Russian patriarch is urging the government not to ignore the will of the protesters.

Also, Salt Lake City is the gayest city in America, apparently. That just makes me feel all warm and fuzzy inside.

Oh, and whatever happened to Beezow Doo-Doo Zopittybop-bop-bop?

And finally: webcomics! xkcd is enlightening, PvP is sweet, and Buttersafe just brings the funny.

Got any links to share? Post ’em in the comments! And have a fabulous weekend.

Sharia Law Stupidity

On November 2, 2010, Oklahoma voters approved 70%-30% a state constitutional amendment that “makes courts rely on federal and state law when deciding cases” and “forbids courts from considering or using Sharia Law.” (Full text of the ballot description here.)

I can barely even wrap my mind around how ridiculous this is.

Think about it for a second. You’re making a state law that says judges have to follow state law.

What conceivable problem are we solving here?

Picture this: a judge comes into work one day, says “Hey, instead of interpreting U.S. law, I think we’ll give the Islamic religious code a whirl.” Nothing at all prevents this – nothing like, say, the entire existing United States legal framework – except, wait! Oklahoma voters to the rescue! Thank God, crisis averted!

Can’t imagine it? Funny, me neither.

This nonsense is back in the news now because a federal appeals court recently ruled the measure unconstitutional. I’ll let the staggering irony of that sink in for a second.

The whole thing is part of a larger wave of anti-Islamic sentiment in the United States. Similar laws have been proposed in twenty other states. Representative Peter King has begun a series of pointless hearings investigating the extent of radicalization in the Muslim community. And Herman Cain – who, for reasons that remain unclear, was briefly the Republican frontrunner for President of the United States of America – warned of the “creeping attempt” to work Sharia law into the government.

Sigh.

The sheer volume of ignorance and stupidity here is depressing. Maybe we can…yeah, let’s see, I think I can find…

Yay, puppies! Ah, I feel better now.

Puppies.

All right, readers, what do you think about all this? Alternatively: can you tell us something that will cheer us up and/or restore our faith in humanity?

And, go!