Being a Red Sox bro

Category Archives: internet

Google AJAX API & Flicker

I don’t often take the time to post something about a piece of code I figured out or things more technical, but I frequently rely on other’s blogs, websites, tutorials for random pieces of whatever puzzle I’m working on.
Anyway, the other week I was charged with putting up a slideshow using images from a specific flickr feed. The Google AJAX Feed API is perfect for this. No flash, no plugins.

The problem is in the gfslideshow.js  file they provide you will only display square thumbnails of your photos, and if you scale them up, they become hopelessly pixelated. It took me a while, but the solution is simple. Open gfslideshow.js in a text editor and go down to line 48 then simply replace “thumbnail” with “content.” (or download this one)  Also, be sure only to use the RSS2 feed from flickr as the Atom feed will not work with this.

That’s it! your slideshow should now show larger images.

flickr


african serval, originally uploaded by neutralSurface.

Things I will not do on flickr:

HDR—in the hands of a seasoned professional HDR can be great for an image. Unfortunately there are around ten such people and none of them are on flickr. Please do not try.

“Best” Groups—usually invited by someone that’s embedded a stupid image of a ribbon or medal, these groups are a scourge and thinly veiled ego buoy. Often these groups have something to do with HDR (see above)

“365″ sets—Taking and posting a photo of yourself every day for a year sounds like a great idea…until you realize that it really isn’t. For most people this realization comes around day 13 when they run out of inspiration for new and exciting poses, environs, outfits etc. Most of these photo sets are then abandoned and never returned to. For those that stick with it: we know all we need to know about you from the simple fact you even started the set. And unless you have an extreme mental disorder, you probably don’t have more than a handful of ‘sides’ to your personality, certainly not 365, and most of those probably shouldn’t be shared anyway.

Inane commenting—Don’t get me wrong, commenting and adding notes to a photo in flickr is a great feature when not abused. Abuse is especially rampant on “the commons” images taken from archives. Please leave off-topic, non-constructive comments for myspace and irq.

Pretentious lingo—I can tell you’re from the US, so why do you spell “photo” as “foto.” Not basic. Also using the English spelling “colour” or “favourite” are unacceptable if you did not learn british english.

Shameless self-promotion—did you just post your own image in a comment for someone elses photo? Did you digg your latest upload? are you serious?!

tied down


tied down, originally uploaded by neutralSurface.

someday this wont be necessary. at least the new MBP keeps things relatively tidy.

travel


A good friend of mine has a part in creating travelforchange.org which hooks hopeful Obama volunteers with people who donate their frequent flier miles to help them get where they need to be. I thought I’d put a link out there and a little plug. Apparently there is a surplus of sponsors and a shortage of volunteers. So, if you want to campaign for Obama and fly for free, this could be your ticket.

ugly 3.0


Firefox-UI, originally uploaded by neutralSurface.

Firefox 3.0 has been out now for a short while and I have to say that it’s pretty good. I made sure to install it onto my computer at work right away and of course there’s no comparison to internet explorer which blows many-a-goat. However, it’s taken me until tonight to upgrade to 3.0 on my macbook pro. I normally only use firefox on my MBP to check a certain bank account that does not recognize safari and insists upon firefox. Anyway, in the spirit of giving the new software a chance, I downloaded and installed which was a fairly painless process. It automatically helped me upgrade my piclens, and adblocker add-ons and migrated my old bookmarks seamlessly. So far it seems fast on the web, and I hear those old nasty memory leaks from 2.0 are gone (although I’ll believe it when I see it), but I can’t get over how ugly and wasteful the ui is.

I’m not sure where to start on this one. First thing that jumped out at me was the mismatching (in color AND gradient) bookmark toolbar. It’s probably the same gradient as the bar above it, but it’s compressed into a third in the Y direction and is visually jarring. Then there are the out of date round corners around all the buttons and input boxes. I mean, that was the kind of thing that was cool when ‘skins’ were all the rage. Just take a look at windows media player, so many curves and bulges it doesn’t know where it’s going. The font is also very sloppy. It’s on the cusp of being too bold…or is it just fuzzy around the edges? I can’t tell. Either way it’s not too readable. But probably my biggest pet peeve of all time for any program anywhere, especially browsers, is wasted space. You can see in the screenshot that the fully expanded safari navigation, bookmark bar, and tabs take up less space than firefox in the default ‘small icon’ mode. Also, the aforementioned rounded buttons make for a lot of wasted space between them, and on top of that they’re not even necessarily evenly spaced. Included in this space waster category is the tab bar, why are there gaps between tabs?! Okay, so maybe if I have one or two open and there is extra space can there be gaps, but if I have more tabs than will fit in the bar shouldn’t the gaps go away? Nope. Apparently not.

Anyway, I can already hear you saying: “well the beauty about firefox is that you can make/install a custom ‘theme’ (read: skin), and make it look however you desire.” …True. But if that’s the case shouldn’t the default theme be so bare bones, tiny, but still functional? And besides, I’d just look for a theme that makes it look like safari anyway.

I think I’ll just stick to the real Safari for now.

edit: Anyone else notice that scrolling with two fingers on a MacBook Pro is sort of laggy?  It’s not instantly responsive unlike any other program I’ve used.

spaceball


spaceball or what, originally uploaded by guckstdu.

Today at work I had to put together a large number of photos of bike parking facilities as part of a precedent study that we’re beginning. So naturally I turned to flickr to find some images. However my attempts to drag the images into a folder were thwarted with the annoying “spaceball.gif.” What is “spaceball?” I really didn’t check, but I’m fairly certain that it’s a 1×1 fully transparent image that is stretched over the protected image on a CSS layer that sits on top. (If anyone wants to correct me on this, feel free). Anyway, I looked into the page’s source file and was able to get the urls for the images, but that was slow and tedious until I got the idea to simply add the url for spaceball.gif to my adblocker plugin. Once I did this, I was able to drag and drop any image from flickr with no problems.

The url to block the spaceball is here: http://l.yimg.com/g/images/spaceball.gif

Also, in all my flickr journies I’ve found that I really do not like HDR, digital B&W photos, and stupid “BESTEST FLICKR FOTOS EVAR!!1!!1ONE!” type groups. Please avoid them. For everyone’s sake