We busy little nerds of Flickr may act and smell like a bunch of psychotic monkey-bots, but beneath our filth-drenched metal exteriors beat the fleshy hearts of a thousand delicate human flowers. We feel, we love.
Ever wondered what keeps us well-oiled? I did, so I asked people, “What do you use to get the job done?”
And this, my dubious friends, is how we (rick)roll.
Aaron, Ce sera mauvais français parce que j’ai utilisé l’Internet You’re still wrong
Emacs (dired-mode and shell-mode and M-x goto-line)
Glimpse (and alias grep grep -n -r -e)
Tabs and virtual workspaces
Cal, Baconmeister Fuck off and die
shitty pc laptop w/ xp pro
twin 20″ monitors
noted
explorer
ff & thunderbird
putty / pageant / plink
winscp
cygwin
msys & mingw
wireshark
paint shop pro 5
miranda
calc & chamap
tortoise cvs/svn
beyond compare
apache/mysql/php
ms office w/ visio
itunes
Dan, The Rev. I don’t do quotes
2 Machine setup;
MacBook Pro for writing code, TextWrangler (off-white Lucida Grande 11pt font on blue background, for reduced eye-strain), Safari & Opera for (final) testing.
PC for testing, with IE6,7,blah + MS Script debugger. Most testing takes place in Firefox + Firebug (cannot live without firebug). Monitor rotated 90 degrees to give Firebug more real estate for hacking around the dom, editing js script on the fly, etc.
Extras:
Headphones
Pink noise generator (volume set to one notch down from default) to drown out background noise.
WriteRoom, for taking notes (again off-white text on a blue background).
Dunstan, He’s like, got a dog and stuff Mistakenly included on the engineering mailing list for 505 days and counting
Macbook Pro
Textmate
Photoshop
Transmit
Safari
Firefox+Firebug
IE (in Parallels)
Quicksilver
Eric, Teenage Mutant Ninja Scripta Please, just work
Powerbook, BBEdit, Perl scripts to manage scp+cvs+Flex+compression, Firefox w/ Firebug and Webdev toolbar, Flex 3 SDK, Terminal, nano, Parallels.
Kellan, Rebellious off-worlder I’d rather be building cloud castles
MBP, a hot-rodded version of Textmate, QuickSilver+Terminal.app (what’s the Finder?), Thunderbird + keyconfig for threading and archiving, SSHKeychain, grep, awk, tree, QuickProxy for Firefox (2.x), Wordpress.com, last.fm, Pandora, and Adium. used to use PHPfi, but less lately.
Once upon a time, webheads used to talk about “conference season”, but it seems that these days there’s always a conference running somewhere. Having dispensed with Web 2.0, we’re now turning our attention to XTech 2008, which takes place in Dublin, Ireland from Tuesday May 6th to Friday May 9th.
The Flickr team has two talks lined up for those attending XTech. Through a freak scheduling accident they’re back-to-back, giving attendees the exciting opportunity to experience one and a half straight hours of pure Flickr-related goodness:
Looking backwards for a moment, this is also a chance to re-post the slides from my previous internationalization-themed talk, “Taking Over the World, The Flickr Way” which I gave at South by Southwest in March. This hour-long session was a high-level overview of some of the challenges and solutions we stumbled upon during the internationalization and localization of Flickr.com which we undertook in the first half of 2007:
Versions of the slides in other formats (keynote, swf, pdf) are available here.
As for Web 2.0 Expo, some of the team’s presentations should be showing up here in the next week or so, starting with slides from the delectable John Allspaw.
It isn’t just you, the pictures really did start moving, some of them at least. Which is an attempt at humor to cover the fact that this post is very belated.
Presumably you’ve noticed that folks are uploading videos to Flickr, and you’re wondering how to work with video in the API? I’ll try to recap, and expand upon the info in this thread in the API group.
Long Photos
First thing to understand is as far as Flickr is concerned videos are just a funny type of photo. Your API application can ignore that video exists and everything should go on working. This means:
you can display a preview of a video by treating it exactly like any other photo on Flickr.
photos AND videos are returned by any method which used to return just photos
you can get info about a video like you would a photo.
Videos, photos, and “media”
If you’re calling one of the dozens of API methods including flickr.photos.search() and … that return what we call a “standard photo response” then that API method takes an “extras” argument. extras is a comma separated list of additional metadata you would like included in the API response.
With the launch of video we’ve added a new extra: “media”. Included media in your list of requested extras and we’ll include a new attribute media=photo or media=video with each photo element. Like so:
Additionally if you’re calling flickr.photos.search() you can filter your results by media type by passing `media=photos` or `media=videos` as an additional search argument. (not to be confused with the extras of the same name)
Default is “media=both” returning both photos and videos.
Displaying videos: just funny photos
For each uploaded video we generate a JPG preview in a range of sizes. Identical to what we do for photos.
We don’t currently provide a way to get to the FLV for a video. (the Flash encoded video file) We’re looking into making this possible. In the mean time if you want to display watch-able videos you’ll need to embed our video player.
In addition to the photo height and width of the preview images, videos also have a stream height and stream width which we set when we process videos during upload. While you can make the video player any size you want the videos are going to look much better if displayed at the proper size.
You can get the stream height and stream width and the URL for the video player using the standard flickr.photos.getSizes() method:
The player takes a height, a width, a photo id, a photo secret (required for playing non-public videos), and the argument flickr_show_info_box, which when set to layers over top of the video videographer, and video title info when the video isn’t playing.
I’m not going to go over in depth the markup for the player, but here is a quick and dirty PHP function for generating it:
Videos, unsurprisingly, are included in all of the various RSS and Atom feeds which contain photos. For each video entry we include a MediaRSS content element that points to the SWF player, and has a content type of “application/x-shockwave-flash”. Additional we include the stream height and width as the height and width elements in the content element.
In RSS 2.0 feed we also include an enclosure element.
Uploading Videos
Upload videos just like you would a photo. We’ll do the magic to figure out whether the uploaded file is a video or a photo. You’ll generally want to use the asynchronous upload methods as videos tend to be larger, and take more time to upload.
Videos need to be “transcoded” — turned into an FLV which is playable on the Web. As this takes time videos aren’t always immediately available for viewing. You can check the processing status of a video using flickr.photos.getInfo(), and examining the video element.