"Beautiful" "Girl" - the peril of Flickr Tags and Yahoo! Picture Frame widget

“Beautiful” “Girl” - the peril of Flickr Tags and Yahoo! Picture Frame widget So recently I installed Yahoo! Widgets on my work computer. I’m not one who would normally install crap on any of my computers, but 1) my girlfriend installed it at her workplace and highly recommend it, and 2) it’s from Yahoo!, so I owe it to them to at least install it at work, just to show that I have team spirit or company spirit or whatever. Well… as you would’ve probably guessed by now, I love Flickr… and this Picture Frame widget is PERFECT! I can put in tags and it will randomly show me pictures from Flickr! I loved it… until today… see, what words can you put in there? Beach, dog, cute, shiba, maltese, tokyo, london, japan, england… … girl… “beautiful” “girl”… Yup, it’s work, so I can’t put in shit like “sexy” “girl” or “boobs”, so I put in “beautiful” “girl”, and I swear to god this ho came up like 20 million times today!


I was like “huh? really?!” went to check the tags I put in… yup, I had “beautiful” “girl” alright… WTF?! God Damn’it! I put in “beautiful” + “girl”, I want pictures of actual “beautiful girls”. I mean, this is gotta be the biggest problem with tags. The owner can tag whatever the fuck they want on their own contents. There has got to be an evolution to this tag thing, I mean… it’s really great for searching 90% of the time, but because people can LIE, we’ll get 10% of shit like this, completely ruining the whole experience. How should we improve tags? As of now, flickr doesn’t allow other people to add tags to your pictures unless they’re in your friends & family list. This makes sense because the picture belongs to you, the owner. Let’s say, if I take a picture of my errr… brain, and someone from come and tag it with “dumbass”, I would be pissed too! However, if someone does feel that I’m a dumbass, he should be allowed to keep that information to himself, right? What flickr has now is called “narrow folksonomy” (where only one set of tages are attached to an item). Given how slow flickr is when searching for multiple tags, I wouldn’t be surprised that its tags are all stored in one big, denormalized table. (Hmm… may be I should try asking this internally, there ought to be documentation somewhere…) Anyway, without knowing the reality, my suggestion is to “upgrade” to “2-way tagging”. There should be another table created to store all the tags that you have given out. So if the original table is like: (When clicking on the URL, it grabs its tags by: SELECT tags FROM WHERE url=’@url’; When searching for URL with a certain tag, it gets the URL by: SELECT url FROM WHERE tags=’@tag’; If searching for multiple tags, then: SELECT url FROM GROUP BY url HAVING tags IN (‘X’,‘Y’,‘Z’); (flickr doesn’t use “LIKE”, if you spell “mountai”, it’s not going to give you any pictures tagged with “mountain…”) Then, the new table can actually be a modification of the original table with additional fields: Hmm… this can actually replace the original table. Most of the tags will be added by the owner, so most will have the same user_id, visible is 1 (yes). Now, the friends and family can also tag the pictures, their user_id will be logged, visible is still 1. Finally, the new option for “everyone else” can be called “private tag” or “your own tag”. These tags will have your user_id and visible is 0 (no). So, in the example of the fugly here… I can private tag it with “fugly”. It’s stored in the db but won’t show up on the picture. When I query the tags, there will need to be a new “NOT” option: SELECT url FROM GROUP BY url HAVING (tags IN (‘beautiful’,‘girl’) AND (user_id=‘self’ AND tags != ‘fugly’))

Related Posts

· 4 min read

What was the first fucking thing I say?! Should've listened to me SUCKAAAAAASS!!!

What was the first fucking thing I say?! Should’ve listened to me SUCKAAAAAASS!!! It has been 4 months since we were first told about the Data Cleansing project, and finally, they’ve put out project plan 1.0, with what I had originally proposed on the first fucking day… HA!!! What did I tell ya?!! SUCKAAAAASSS!!! :)) LOL Here’s how the story goes… in Sept.‘05, my manager and our relatively new Business Analyst (B.A.) pulled us into a meeting to tell us that, finally, the Data Cleansing project is about to start and we’ll be responsible for it. Great!! My manager gave a brief sum-up of what has happened on the CRMS migration (upgrade) project so far. The key things I’ve learned from that meeting were 1) We’ll be buying data from D&B. 2) Data Conversion team will come up with the migration logic to “put current data into correct places in future system”. 3) We will be responsible for cleaning the data so that we can feed the future system with clean / meaningful data. Now, what was my first statement on “what to do”? I said: “We need to know about Data Conversion’s stuff. We should look at what their logic is, where they pull those data from, and do our cleansing against that set of data.” MADE PERFECT SENSE, YAH? What did they say? “No, we don’t need to know their stuff, we just clean everything!”

Read More

· 2 min read

Birthday card for Jose, picked one that jokes about "Casual Friday"

Birthday card for Jose, picked one that jokes about “Casual Friday” It was my colleague Jose’s bday yesterday, and my boss IM’ed me this morning to get him a cake and a card. The card I picked has an old B&W photo of four men in their underwears and pajamas, and inside it says “Wishing you a birthday more exciting than casual Fridays!” If you haven’t heard me rant about this yet, what happened was, aside from my part-time job working at a computer store, I’ve never had to abide to any “business dress code”. This summer, when I started wearing clam diggers to work, (I ’ve always wore shorts to work in summer since my days at Microsoft.) my manager sent an email to the entire team about dress code. Since I’m the “worst” dresser in the group, I think that email was mainly directed at me, and now… I got this card! LOL… I just brought the card for my manager to sign too! Fortunately, she had a good sense of humor and laughed about it. (I don’t know what she really thinks though.) If u’re intested, here’s the email:

Read More