Egos and assholes

The strange thing about search is it’s a lot like academia: full of assholes. I know, since I’m one of them. So I was trying to figure out why this twitter about my Keynote bothered me so:

“@tychay apparently serving red meat to the faithful at #phptek proving there are language Nazis on both sides.
tweet from a stream follower

Then it hit me. I act like an asshole, I’m probably an asshole, but never, not once, do I engage in personal attacks that aren’t obvious jokes. I don’t go up there like the founder of Ruby on Rails [Ed: corrected (see comments)] and in every talk say (to me):

DHH says…” by planetargon

“Then he clicked over to the next slide, white letters against a dark background that spelled out his response to the naysayers: fuck you. The crowd erupted into laughter and applause.”
Wired Magazine

Haha.

No, really!

That’s hilarious!

In my current talk I have a slide that says to the viewer that if they disagree they should give me a big “Fuck Y—.” on their blog. I suppose that’s a bit ironic since this is the same talk where people explicitly create F-bomb counters on IRC and and twitter.

[Ego, assholes, internet architecture, being wrong, and learning after the jump.]Continue reading

Job: PHP UI Engineer (Mountain View)

Restarting this policy

Job listing – User Interface Engineer (PHP) in Mountain View, California. Contact aknight [at] this site.

The company has developed a shopping search engine that delivers comprehensive lists of products and their corresponding images, ranked by the leading products, brands, stores and styles on the very first page of results. They call this technology their “Product Ranking Engine.”

Their unbiased Product Ranking Engine crawls over 500,000 stores to find over 200 Million products web-wide. There team has a strong background the start up world and Search space with companies like: Onebox, Bridgespan, Vialto, Scalent, Impresse; Frame; Apple; Oracle; Buy.com; AltaVista , AOL; TURN; AltaVista, Yahoo Search; Zip2 and Verity Corporation. They should be profitable in 2008.
They believe that shoppers should have access to all of the products on the web – not just the ones that pay to be there. With their unbiased and objective “Product Ranking Engine” technology, we have made that dream a reality.

Their patent-pending technology ranks the product results for your searches by the most relevant and market-leading products, brands, stores and styles for your search. These rankings can never be bought or sold. So you can feel comfortable knowing that you are covering a ton of ground in just one search.

Plus, they provide large images of these leading products so you can easily see exactly what you are shopping for. No more wading through millions and millions of text links – the best matches for your search are easily visible and are right there on the first page!

They take care of the science, so you can enjoy the art of shopping!

They believe that shoppers should have access to all of the products on the web – not just the ones that pay to be there. With our unbiased and objective “Product Ranking Engine” technology, we have made that dream a reality.

[job description after the jump]Continue reading

Amsterdam

It’s interesting how self-context can change a city.

Last time I visited Amsterdam, I was in a terrible relationship, living in South Bay and I got robbed leaving Schiphol. Three years later, I’m single living in San Francisco and am a tiny bit wiser.

This time, for instance, I found out that Amsterdam smells a lot like San Francisco.

(Back then, I thought Patchouli was pot, so what did I know?)

[Amsterdam women after the jump]Continue reading

Advertising in social networking

Because I work in social networking, people often ask me about advertising in social networks. For some reason, they don’t buy the obvious excuse that I’m an engineer, not a business person or entrepreneur. What do I know?

[The problem of advertising in social networking]Continue reading

Goodbyes and hellos

I just get back from Amsterdam and two of our engineers are leaving Tagged and we have a lot of job openings.

One of the departing wrote an interesting e-mail on leaving which I’ll quote below and maybe it’ll give you an idea what it’s like working here. But first, some open job reqs…

[Tagged Jobs Reqs and farewell after the jump. Read on! It’s worth it.]Continue reading

Consultants

(I am sitting in a presentation on a web framework in our office conference room given by a former employee who is now a consultant. One of my engineers asks the consultant to give an example from experience where he had to modify the framework code itself.)

R—: “Yeah, that happened to me, you know when v was greater than 1 and you are going viral… you know when you are doing a blast? We had a couple sites hit over 40 million users, sure then we had to go in to the CakePHP objects with an optimizer. I don’t know if you still have that at Tagged, but back when I worked there and blasting those times it makes sense to optimize so sure I’ve done it before.”

(One of my engineers, not me): “What company did you consult for hit 40 million users?”

R—: “Umm… (long pause)…I was speaking in hypotheticals. But certainly… v greater than one… I’m talking about the slope, when that happens and a lot of e-mails… No, we’ve worked with some sites that had… umm… (pause) more than 10 million users and that’s umm… what I was talking about, built on Cake and we’ve done that for around 10 million, so it’s certainly doable.”

(I so wanted to ask what site that was with even 10 million regs.)

[Origins after the jump.]Continue reading

YUI cookies

Every time I talked about web cookies, my ex-girlfriend would say, “Mmmm, cookies.”

Besides messing with my train of thought, it also gave me an unhealthy obsession with cookie implementations in web development. Today, I was taking apart how YUI implements subcookies, and the source had this comment in the subcookie parser…

/**
 * Parses a cookie hash string into an object.
 * @param {String} text The cookie hash string to parse. The string should already be URL-decoded.
 *…
*/

O RLY? Because it’s “already” URL-decoded, I don’t have to worry about double-encoding/decoding? That’s news to me.

Time to test the front-end coding wizardry:

// Include YUI utilities, logger, and cookie-beta (2.5.0)
// logger
var myLogReader = new YAHOO.widget.LogReader(document.body.appendChild(document.createElement("div"));

var Cookie = YAHOO.util.Cookie;
//Cookie.set("example", '');
var ex_cookie = Cookie.get("example");
var foo = Cookie.getSub("example", "foo");
var bar = Cookie.getSub("example", "bar");
var bogus = Cookie.getSub("example", "and");

YAHOO.log("The value of cookie 'example' is: " + ex_cookie);
YAHOO.log("The subcookie 'foo' is: " + foo);
YAHOO.log("The subcookie 'bar' is: " + bar);
YAHOO.log("The subcookie 'and' is: " + bogus);

//set subcookie values
Cookie.setSub("example", "foo", "Can YUI handle &and='s or not?");
Cookie.setSub("example", "bar", "more data");

The output after the second reload is:

The value of cookie 'example' is: foo=Can YUI handle &and='s or not?&bar=more data
The subcookie 'foo' is: Can YUI handle
The subcookie 'bar' is: more data
The subcookie 'and' is: 's or not?

Subcookie “and”? Doh! I guess that’s why this code is listed as “beta.”

Cookie Monster

Cookie Monster doesn’t like broken subcookies!

Here is a hint: If you nest serializations, you need to nest your escaping/unescaping.

(On the other hand, you only need to escape “=” and “&” instead of using this strategy.)

Bebo for $850 million

I guess the news in my world today is that Bebo sold to AOL for $850 million.

Trust AOL to make the Microsoft-generated $15 billion “valuation” look like a steal. I’m curious how much Hi5 must be worth now:

Bebo’s phenomenal growth

Just trying to add some perspective. Not sure how Falco thinks “dominating in the United Kingdom” is going to save AOL…but I didn’t understand how they planned to win a war in Iraq either. I guess people are just really, really smart and I should trust them. At least now I know what they did with all the money they saved from the layoffs. In any case, congratulations, Bebo!

Earlier a bunch of us were discussing the internet porn industry. A friend mentioned that when you see companies like AdultFriendFinder selling out to traditional media outlets like Penthouse, it means that the players in the industry don’t see much growth potential and are cashing out.

Right before the internet bubble burst, Palm spun off from 3COM for higher than the parent company’s market cap.

Enjoy the crash.

jQuestion

The other day someone asked me again about what I thought about jQuery, and I’m getting tired of repeating myself for almost a year. jQuery actually is fodder for an interview question I sometimes ask:

What’s wrong with the jQuery $() function?

[Showing you the money after the jump.]Continue reading

Why I YUI

We use YUI at Tagged because that’s what I chose. We lost a couple front end engineers at Tagged so I’m having to pick up the slack—this means actually having to learn the Yahoo User Interface (YUI) in earnest. So I whipped up this diagram of YUI 2.5:

Yahoo User Interface Library (YUI) dependency tree

There are some errors, but it’s good enough for me to get started. Download the OmniGraffle document here. Corrections appreciated!

“What?!” You say. “Someone set us up the bomb? How could you make a choice and not know everything about it.”

Yes, I made the architecture decision to use YUI without knowing it in detail. However, I believe that sometimes when examining architectures you miss the forest from the trees.

[The philosophy of architectural choices after the jump.]Continue reading