Chris Schmidt (crschmidt) wrote,
Chris Schmidt


So, I'm crazy today. And when I say that, I mean utterly twitchy can't concentrate on anything for more than a few seconds completely convinced the world is about to come crashing down about my ears crazy. It's quite terrible, to be honest, but since there's not much to be done about it, I just try to cope.

Anyway, since I couldn't concentrate on anything I was supposed to be concentrating on, I put work down and hacked on something. That something ended up being a tool to sync photos from flickr to facebook -- which I'd attempted at one point before, but abandoned when I convinced myself there must be a better way to do it.

Well, in the end, I convinced myself there really *wasn't* a better way to do it, and I just needed to go ahead and take the leap. So I did. I learned SQLAlchemy (which I find somewhat ugh compared to Django's ORM, but hey, such is life), and put together a script that would sync the Flickr metadata locally. Then I put together another set of functions to sync it all back up to Facebook, and wrote a map of tags from flickr to Facebook user IDs.

Other than one small Facebook functionality which was poorly understood by me -- album sizes are limited to 60 pictures, wtf is up with that -- and one minor bug -- when 'chris' and 'crschmidt' were both listed as tags, a person got tagged twice... and the Facebook UI copes with that not at all well -- I was able to write a script in a single day which synced all my photos over, and which I'll be able to run periodically to keep things up to date from here forward.

The end result is that:
0. All of my public flickr photos are now also shared on Facebook.
1. I have 129 pictures of me listed on my profile, including 25 of me with Jess
2. I probably spammed the shit out of a ton of people, since they got listed as being in photos I was 'uploading'. "Oops"?

Unfortunately, unlike usual, this project hasn't been cathartic; I haven't been able to sleep, it's now 3am, and I have no idea what i'm going to do tomorrow.

Sigh. I want a new brain. But at least the current one is accomplishing *something*, even if it's not at all related to what it should be doing. How I wish taht i could get paid just to hack on whatever my brain feels like doing...

  • candy

    At our old house, we always ran out of candy, so I live in perpetual fear of it. At this house, we were totally ghost town one year, and we ran out…

  • Projects

    Overall, I have a handful of projects I'm working on. - Livestream Alerts: Website for generating alerts during Livestreams. Most recent work:…

  • sigh, humans

    For the last 36 hours, I have been unreasonably upset by the simplest, stupidest things that people do. Why can't people just be more smart and less…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded