User tags from Hulu.com for the Tonight Show Page
Comments Off You have to love tagging and user generated content.
Can facebook predict if your girlfriend will break up with you?
Comments Off
The Wall Street journal has an interesting article on yet another innovative algorithm Google is working on. Venture beat summed up the article well; “In the wake of recent brain drain, the search giant has devised an algorithm that combines employee reviews, promotion histories, pay and other factors to predict which employees are most likely to leave.” Right after I read this article I found myself on the facebook “Suggestions” page, or as I like to call it, “The People I Don’t Know” page. I came up with ideas and decided to post my notes.
-
Location
- Where you should live. Based on the amount of people you interact with the most and their current locations.
- Places you should avoid. Do the exact opposite of the logic above.
- Music, Television, Hobbies etc
- Display the top among your friends, and sort by the friends you interact with the most.
- Friendships
- Facebook needs to clarify why you should be friends with the people they suggest. Breaking the list into categories of; people who share the same type of information as you do, people who join and discuss the same type of topics you do, People who attend the same type of events as you do, and people that have things in common (profile details) as you do.
- Relationships (for fun)
- Your girlfriend/boyfriend will most likely break-up-with/cheat on you with “insert name here” in the next three to four weeks.
- A “you could probably hit it” section.
- A he’s just not that into you list.
-
The variables I would use to figure out the feelings/attitude person A has towards person B.
- 1. The difference between the the average number of wall posts(per friend) person A has posted, and the number of wall posts person A has posted on person B’s wall.
- 2. The difference between the the average time it takes person A to respond to a wall post and the average time it takes person A to post on person B’s wall.
- 3. The average time person A spends on person B’s profile compared to person A’s average among their friends.
- 4. Use 1 and 2 but for messages instead of wall posts.
- 5. Use 1 and 2 but for photos tagged.
- 6. Use 1 and 2 but compare the results, if possible, to person’s A last’s relationship during the time the relationship was active.
- 7. Compare wall posts, messages, other activity of current couples, prerelationship, with the current posts, messages and other activity of person A and B.
Mysql Gem for Ruby Enterprise Edition on Mac OSX
Comments Off I just recently installed Ruby Enterprise Edition on my Mac, but found the following errors:
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension
The reason was that the Mysql files are installed under version specific directories and files when installing from Macports. For example, mysql5 or /opt/local/lib/mysql5. This messes up the mysql gem installation because it looks elsewhere by default. The solution is to specify the exact mysql config location in the installation process:
bash-3.2# /opt/ruby-enterprise-1.8.6-20090201/bin/ruby \
/opt/ruby-enterprise-1.8.6-20090201/bin/gem install mysql \
— –with-mysql-config=/opt/local/bin/mysql_config5
That last line is two dashes (-) followed by the –with-mysql-config option.
Easy as pie.
Google Voice, First Impression
Comments Off Our Grand Central account magically turned into our Google Voice account the other day, and I couldn’t be more pleased. Google took the robust look of Grand Central and made it look as simple as Gmail. I can easily browse call history, send a sms or update our voicemail. I’m really excited to see how well the voicemail transcript will work also, and if it will be offered with recorded calls. The most popular feature might just end up being the call widget; “You can allow others to call you from your website or blog by adding a call widget to it. Visitors to the website can click the widget, enter their phone number, and Google Voice will call them and connect the call to your Google number.”
You can also call out of the country with competitive VOIP rates. Wait a minute…Google might generate a large revenue source other then ads!?
Google Health
Comments Off Google health launched today and could be really big. The new Google product will let you store and manage all of your health information in one central place. I think this is a great step forward for the online medical community. Sites like webmd are very informative but not personal. I can only imagine the amount of data Google will be able to index now. But hey, it’s free.
I hope Google doesn’t drop the ball on the social side, because it could be really helpful to a lot of people. Let users rate and comment on doctors and perhaps even view your friend’s doctors. Let users exchange medical treatments they tried out and give first hand accounts of medications. I’m tired of going to sites that pretend to be informative when, in actuality, are trying to push a certain new medication or treatment process on you.
- Start tracking a medical history and learn about your conditions
- Import your medical records
- View your medical history
- Find out how medications might interact
- Make your health information work for you
- Search for doctors and hospitals
Find out more information here.
privacy policy or the lack of it
3 Comments A few months ago I signed up for a SharedReviews beta account. The idea behind the site is to get solid reviews of products and pay the community 50/50 on certain revenue. Sounds pretty cool huh? Well it may be but as I was signing up I came across the privacy policy. Usually I just breeze through it but I decided to read this one.
“We protect your privacy with a passion!”
First, I want to say that I think ShareReviews is a cool site and I hope their business model works out. However, the privacy policy was kind of weird. It was actually amusing. Why do sites even have privacy policies? They should just come out and say “Yea, we’ll use your information for whatever we damn well please.” Below are some lines right of the policy.
“For the purposes of this policy, “Personal Information” means any information about you except your business title, address, e-mail address, telephone number or facsimile number. It also does not include your home address and telephone number if these are published in a telephone or other directory, and does not include any Review, content or other materials that you post or submit to use for possible publication. “
Umm….so what else is there? What exactly is private then?
“We do not sell your Personal Information to third parties. We may share some or all of your Personal Information with our third party business partners”
Hmmm ok. I shouldn’t be surprised. It’s a “review” site and to make money they are probably selling data. For that data to be worth anything they have to include user data with it. So why throw in the line about “we protect your privacy with a passion.” Half the business model is actually based upon doing the exact opposite.
Most users caring less is the worst part. We’ll go crazy if a telemarketer calls our house but we don’t blink while registering for a new site. Personally, I’m not against a website data mining to show relevant ads. Let’s take facebook for example. They will look at your profile and use that to display an advertisement. An advertiser will pay more to know that their ad is getting to their target demographic. I’m fine with that. I’m going to see an ad anyway, might as well see one that I might actually like. That’s how Google makes all their money.
What I don’t like is when companies sell information they collect. To me thats like selling hot pictures your ex girlfriend took for you. The ones she would dress up like a tiger and act like she is…ok getting off topic. The pictures were meant for you not the public or your favorite “rate this chick” website. Just because you don’t care about her anymore doesn’t mean you should go and sell something she wouldn’t want sold. However, let’s say you analyze the pictures. After hours of analyzing, and frequent naps, you say to yourself “hey i bet she would really like this lingerie site.” You contact her the usual way you two communicate and let her know that you are an affiliate for an animal lingerie site. Nothing wrong with that, right?
libxml default namespace
1 Comment Can’t find your nodes? Neither could we. So it turns out that Xpath doesn’t behave well with default namespaces. This is what Corey and I figured out…hope it helps.
Example XML
<Response xmlns=”http://www.badpopcorn.com/solutions”>
<solutions>
<solution>Don’t got any</solution>
<solutions>
</Response>
Although you can load it into a document, you can’t find any nodes without a little hack (using the word little loosely). Ruby example.
   doc = XML:Document.file(‘http://badpopcorn.com/file.xml’)
   dn = ‘dn: http://www.badpopcorn.com/solutions’
   doc.find(‘//dn:solutions’,dn).each do |node|
      r = node.find(“dn:solution,dn).first.content
Yea, we know how you feel. Way to go Corey.
BlackBerry Pearl and Mac
Comments Off It’s called tethering, and the two websites you should look at:
- http://www.taniwha.org.uk/
- http://www.fibble.org/archives/000508.html
The BlackBerry Modem Scripts found on both sites are essentially the same (diff). I won’t bore you with the details, but just follow those instructions… and you’ll like getting internet wherever you go. I just have two things to iron out: I get disconnected after a few minutes of inactivity, and I get a “Bluetooth Model Resource Busy” error after I’ve uploaded pictures from my phone to the Mac. For the former, I just reconnect; To get around latter, I have to go through the stupid process of repairing my device and setting it all up again.
In fact, I wrote this post over the thether.
Not Being Evil
4 Comments Just a note to everyone: I’ve started a job where I’m not supposed to be Evil– as the motto goes. Anyways, I just finished my first week of orientation up in the Bay Area and am set to head back to their satelite office in Santa Monica. I’m spending my last moments hanging with friends in San Francsisco playing foosball… Yes… Foosball. Don’t laugh, I like playing this game while drinking with friends.
So, I won’t be blogging as much about the tech I work on. I’ll, instead, blog about random life stuff that doesn’t conflict with NDAs.
Peace!
This not That
2 Comments Reflection is a task best practiced delicately. The bubble gum and duck tape that holds our lives together can be torn apart over a simple deliberation between dreams and reality. Thus, I took great precaution before sitting down and writing this, whatever “this†is. I didn’t want this to turn into that. Or become one of those that are usually written by them. How I hate them and their ways. I wanted this to be one of these that are written by those who don’t get along with them. How I hate them and their ways. So anyway, I enjoy reading quotes. With good timing and proper regurgitation I can appear intelligent through the expressions of those much smarter and original then I am.
“The only true wisdom is in knowing you know nothing.â€
-Socrates
My life isn’t a book but I wish it were. I wish I could put it down when it got boring or took a plot twist I didn’t agree with. I want my dad to write his memoirs but he keeps shooting the idea down. He feels it is a waste of time. “I already know what happened, why waste the time I got left proving it to you.†Although I don’t agree with his logic I can’t knock his style. It would be hilarious if a fifteen year old guy wrote an autobiography. It would be a 500 page book split into 20 chapters. The first two chapters would cover toys, video games and ice cream. The next eighteen would give detailed accounts of how to masturbate. Honestly, the youth these days are spoiled with streaming video. I remember when an obvious faked picture of Kelly Kapowski, loading a little over a minute, would do the trick. Usually a guy could unload before the picture finished loading. Honestly, I can’t remember if Kelly Kapowski had knees. But I can tell you that she is not a natural…
I’m sure you would find it pleasing if I stopped discussing masturbation. So, to please you and not me I will move on to another topic. This is random just as life is. More importantly, this is not that and was certainly not written by them. Don’t waste your time thinking about what you haven’t done or telling stories of things you did a long time ago. Don’t imitate. Don’t let your life be a quote out of the social norm. Say something, break rules and piss someone off.
Or continue to play with yourself from nine to five so you can fall asleep and wake up tired.

