ff2tweet

I got sick of reposting to Twitter what I had just posted to FriendFeed. I was doing that to enable conversations in both networks. I tried twitterfeed and Yahoo! Pipes, before deciding to just write a tool to do exactly what I wanted.

ff2tweet is a tool to convert a FriendFeed post into a tweet and post it to Twitter. It does so while ensuring that the tweet is within the character limit and incorporates any comment made by the user when posting on FriendFeed. It also inspects the link in the post to shorten and add to the tweet as necessary.

ff2tweet is written in Python and I run it as a cron job on a server. It uses the FriendFeed and Twitter APIs to accomplish its task. It does what I wanted to do but it is a quick hack and there is definitely room for improvement. All feedback appreciated. The code is available on github. Join in!

I’m on FriendFeed at https://friendfeed.com/samgrover and on Twitter at https://twitter.com/samgrover.

Trip to Porto, Portugal

As I mentioned in my last post, (over two months ago!) I went to Portugal for a trip towards the end of July. I was attending the SECRYPT conference and presenting my paper there. All I knew about Porto, was what I read on Wikipedia and other places online. I was looking forward to a cute historic European city and that’s exactly what I got.

Colorful hillside buildings along the Douro river in Porto, seen from the water.

I reached there on a Friday afternoon, quite jet-lagged. The hotel (Hotel Melia Gaia Porto) was in the area south of the Douro river called Vila Nova De Gaia. That evening I got food at a nearby place and explored about a mile around the hotel, partly in search of a wall adapter for my laptop power cord. Walking around Gaia reminded me of India, especially my maternal grandma’s neighborhood in Delhi. The streets are narrow. The cars are small. Old rustic architecture is mixed with modern glassy facades.

A row of narrow tiled buildings on a street corner under a deep blue sky.

The conference was at the hotel and ran from Saturday thru Tuesday. Each day, I would attend sessions until about 6pm and then head out to explore the city. On Saturday I took a leisurely photowalk towards the city center. As I got closer to the river, historic buildings appeared and this time I was reminded of Bombay, which has a heavy Portugese influence. The extent of that influence was more than I realized. I rediscovered words that I thought were of Indian origin, only to find that they were in fact Portugese. In Bombay, the word for bread is ‘pao’ and the word for potato is ‘batata’. Both of those are Portugese words. This discovery surprised my friends and family too.

An angular concrete building with a wall of dark windows against a blue sky.

Over the next few days I explored several areas around the Porto city center. The metro was very convenient. On my last day there I went to Casa da Música. It is an interesting building with non-perpendicular corners and a variety of unique rooms. I was pleasantly surprised to learn that it was completely open to the public for free. You could just walk into and all around its various rooms, even into the main auditorium. You could sit at a Steinway grand piano and play to your heart’s content and no one would bother. I didn’t because I don’t know how but a guy was doing just that.

Overall the trip was productive and pleasant, definitely whetting my appetite to explore more of Europe. My photos from the trip are in the slideshow below. You can follow it to the photos on flickr where you can view their location on a map.

Porto, Portugal in July 2008, on Flickr

You know why this country has a population and AIDS explosion? It’s coz the chemist in the condom shop actually has an opinion about my sex life.

— Have safe sex. Kill a chemist. - Stories - VikramChauhan.com - Short humour stories

Today’s satellite-image technology means that even in today’s desert, complete privacy does not exist. In any event, Plaintiffs live far from the desert and are far from hermits.

— Google: “Complete Privacy Does Not Exist” - July 30, 2008

Where the Hell is Matt?

Don’t ask about income or expenses, don’t ask about age, don’t ask about love life or marriage, don’t ask about health, don’t ask about someone’s home or address, don’t ask about personal experience, don’t ask about religious beliefs or political views, don’t ask what someone does.

— The ‘eight don’t asks’ of the Olympics - Yahoo! News

Radiohead - House of Cards (via radiohead). No cameras or lights were used. It’s all data visualization. The story behind the video is here.

A bullfighter faces a bull in a crowded arena.

Pamplona, 2008 - Water Molotov - A Street Photography Blog

HARRISON FORD’S SHADOW, then HARRISON FORD’S SHOE, then HARRISON FORD’S ARM, then HARRISON FORD’S HAT and finally HARRISON FUCKING FORD are eventually revealed.

— Indiana Jones and the Kingdom of the Crystal Skull: The Abridged Script | The Editing Room

What's going on?

There’s plenty going on.

My sister and her daughter came by to visit me from India last month. They were here for about a week and we all had a great time going around the Portland metro area and nearby to the gorge and coast. Here they are at Cannon Beach.

A woman and a young child stand on a windswept beach, with a sea stack in the distance.

Around the end of May, my landlord and I had a disagreement on the terms for a lease renewal at my current place. So, I decided to move out and started looking for a new place. I found a nice two bedroom condo right by the river in NW Portland and will be moving there this weekend.

I got a paper accepted to a conference called SECRYPT. I will be going to present it at Porto, Portugal during the last few days of July. I just applied for a Visa and am looking forward to my first trip to Europe.

Ignite Portland 3 happened last night. This time Liz was a speaker. She spoke about her experiences of traveling to Afghanistan. She has a ton of stories and did an excellent job of squeezing a five minute rapid fire inspirational talk from them. There was a good variety of topics, just like at the last Ignite Portland, which made the evening quite entertaining. This time we went to the after party at Imbibe and had a great time with friends, old and new. You can see her slides and video right here. They go quite well together.

Liz’s talk on SlideShare

And lastly for now, Liz and I decided to start a blog together to document our adventures. I kicked it off tonight with a basic theme and a first post about how we met. Check it out and subscribe for more stories in the future.