21 January 2008

a creativecommons-licensed interesting photo findr for flickr

The more I play with making fake CD covers from flickr photos, the more I get frustrated by the sheer number of interesting photos that are unusable because of their creators' chosen license. I realize that if I emailed them, many wouldn't mind me using their photos for something like this, but that seemed like it would be so much trouble.

So instead I programmed a little script to find only the usable shots, and made a page for it. Took me a couple hours, give or take, to get it working.

To be more specific, here's what you might want to know about what I did.

Flickr photos can be licensed in a number of ways, either through the default "© All rights reserved" that regular copyright protection grants, or through the more flexible and friendly creative commons licensing with its many permutations, including requirements for attribution, non-commercial and commercial use, and even the licensing of derivative works. So what I needed to do was take the five hundred photos flickr picks each day for their "interestingness", and filter out anything that was marked "all rights reserved" or "no derivative works". Fortunately those happened to map to the integers 0,3, and 6, which meant filtering them out was a simple modulus test*. Calculations aside, the rest was a matter of a few hours' work and the phpFlickr documentation to get a working script that wouldn't hammer my server, nor get me banned from flickr's.

So all it does is check 3,500 of the last seven days of interesting photos, and from those, screens out the usable ones. From my quick observations, the percentage of correctly-licensed photos chosen for their interestingness is under ten percent. Which means that hopefully I can save people some time. The one that it picks, at random, is ready to use.

Click here to try it for yourself.

Go ahead and put your comments and questions below. I'm releasing this as a 0.1 version - I know there is much more I'd like to do with it, but since it works, I figured I'd get it out there for people to play with. My source code is messy, but eventually I'll get the relevant bits of it posted too.


* At the risk of sounding too nerdy, modulus is, and has been, one of my favorite mathematical operations. It's just a fancy name for "the remainder", but since that sounds like something out of elementary school, I think everybody calls it the much more impressive "modulus". It's wildly useful (or at least, I've used it a lot), and, well, I've used it a lot, probably more than multiplication and division combined, in my programs over the years.

19 January 2008

still crazy about the covers

I've uploaded more than ten of the random CD covers I've created (mentioned earlier) to a new flickr set* I made.

See it here.

As I've started spending more time and effort on making them, I've found myself going through old, uninstalled fonts and using parts of Photoshop (and the Gimp, and Illustrator, too) that I'd not used much of before. I've even re-done a few from before that looked, well, cheesy. I imagine this set will only grow as I mess with more of these.

What can I say? It's fun.


* I could finally create a third photo set having activated the "pro" subscription that Janice gave me for Christmas. Thanks Janice!

12 January 2008

more fun than it sounds

So ever since I read about them on Neatorama, I wanted to make some random CD covers. From what I read, the recipe was simple:

  1. en.wikipedia.org/wiki/Special:Random The first article title on the page is the name of the band.
  2. www.quotationspage.com/random.php3 The last four words of the very last quote is the album title.
  3. www.flickr.com/explore/interesting/7days/ The third picture, license permitting, is the album cover.
  4. The finished product belongs in the CD cover meme pool.

I turned out a few in as many hours. I tried to stick to the rules, but couldn't bring myself to use the photos that were marked "© All rights reserved" when I knew there were ones licensed (via creativecommons) for derivative works, as this would likely be considered. Though I ended up reloading a few times more than I liked, I did come across enough to make these (and a few more that I'll eventually upload).

four fake covers

Making fake album covers is nothing new to me. Back when I was first learning Photoshop I'd made many a cover using stock photography for a fictional band called "Spontaneous Grape", going even as far as creating a fictional record label* to release them. But coming up with the titles was often the trouble, and moreover selecting photos that I thought would be interesting even more so. Without those aspects to worry about, I can crank these things out much faster.

Eventually I'll get them up on flickr, annotated and everything else. But I've got to take a break from making them first.


* The name of the label was Ludd Records, and it was rather a bit of a dumb in-joke. One of my many online identities was that of "Luddite Industries", which I thought to be a particularly sophisticated joke, in that the Luddites would not likely be operating a web site. Here's the logo, which I drew in AutoCad, knowing it better than Photoshop at the time.
Ludd Records logo
Someday I'm going to make a black t-shirt with this on it in white.

10 January 2008

another one bites the dust, sort of

About four years ago I installed my first blogging software, and eagerly started up my first blog. My aim was clear, and almost noble: I wanted to make some sense of the years and years worth of pages and pages of online bookmarks*, I'd accumulated over a decade or so. Knowing my shortcomings when it came to keeping a regular online writing schedule, I figured I'd easily be able to stick to one post per day, about one interesting or noteworthy link.

I think I lasted three weeks before I started fudging the timestamps and changed it to one post per weekday. Then, at some point it was once a week, and then I just about gave up.

Over the ensuing years, I'd added the odd link here or there, usually just a draft, and made only the most necessary updates and changes. I did migrate it from Movable Type to Wordpress, and updated the theme based on one I'd made for a Blogger blog, but otherwise it sat dormant, save for the odd spammer or two. The real commenters stopped commenting years ago, so any new ones I was getting weren't worth keeping anyway. Turning off the comments option didn't seem to work, and neither did the few plugins I felt like messing with, so finally I just decided to archive it as static pages and get rid of that copy of Wordpress altogether. It was over a year out of date, and rather a bit of a security risk anyway.

So, for posterity, here is Ketchup. I'm not even sure if any of the links still work.


*Nowadays it's trivial to find a site to organize, share, and store one's bookmarks. I've even joined one or two of them, though I've found anymore it's easier to just, knowing something exists, search Google for it. Nine times out of ten that works.

5 January 2008

another walking video

This is the first* video I've shot with my mobile phone. I think I'll stick to using my nicer digital camera to take videos, a device intended for such purposes, and not something that ultimately is meant to be a phone.

So what's in the clip below? Natalya and I were running around some hallways, and I decided to shoot a little footage, for, um, posterity or whatever.

There isn't really any sound (if you can't see anything click here) - you can hear her laugh around seven seconds, but that's about it. The main highlight is around the fourteen second mark, when she stumbles sideways, notices something on the wall, and tries to shove whatever she's carrying into it.

Yes, that's an electrical socket, and no, the footage was not followed by her falling over, crying, with her hair all sticking up. The thing in her hands that is almost completely unrecognizable (due to the bad video quality) is a wooden puzzle piece, and fortunately not a conductor. So it's possible she learned about insulators, but not likely.

I almost learned something, though. Here I was holding the camera(-phone) and just letting her do whatever she wanted, safe or not, and I didn't even think to stop her. I'd often wondered why people managed to make all of those videos that show up on youtube or America's Funniest Home Videos of something painful or stupid, without dropping the camera and stepping in to help. Well, it seems to just happen that way, I guess. I'd like to figure out why.

Maybe it's because cameras aren't exactly cheap. I know I'd be in a lot of trouble if I dropped, and broke, my phone, though not as much trouble as an electrified toddler.


*To be fair, it's actually the first two videos I've taken, edited haphazardly together with Windows Movie Maker. I think if I intend to do any real video editing, I know I'll use a better camera and better software.

3 January 2008

prescient or just timely?

Though it coincides with the beginning of the new year, my attempt to post more frequently has nothing to do with any official New Year's Resolution. That said, if I have any chance of keeping it up, I'm probably going to need to have some drafts ready for future dates when I can't find anything interesting to post.

Which leads me to a fortune I recently found in a cookie:

Put your mind into
planning today. Look
into the future.

Which is rather relevant, I suppose, but I'm only posting it because it ties into a discussion I've had with many people over the years: I seem to be more likely than most people to get fortunes that don't gain a bit of double entendre humor by adding "...in bed" to the end of them. Like the one above*.

I do realize that it's probably statistically insignificant and that I get no more of them than any other person would from the same fine dining establishments, but I seem to notice it more.


* Or others I've posted previously.