Archive for the ‘Websites’ Category

Twitter / Ruby on Rails FUD

Thursday, May 1st, 2008

Earlier today, TechCrunch’s poorly researched claim that Twitter is abandoning Ruby on Rails in favor of PHP or Java generated a lot of buzz in the Twitter and Ruby communities (the claim was later refuted by Twitter developer Evan Williams).

Of course, the article’s comments attracted the usual, ignorant TechCrunch trolls. Most took the opportunity to pitch their framework of choice (such as PHP, Java, .NET, or Django), which they claimed would of course magically solve all of Twitter’s scalability issues.

I have to say I am appalled at this level of ignorance. People just don’t seem to realize that Twitter is a complex messaging application and that the front-end is only a relatively small aspect of it. Even if one particular front-end technology happens to be faster than another one (and admittedly Rails, as much as I like it, is not the fastest technology out there), this fact is bound to be negligible compared to the real challenges in scaling the back-end, starting with the database (trust me, like many developers I’ve learned this the hard way ;) ). Even for a typical web application (which Twitter is not), there are many performance improvements than can be implemented at that level (such as leveraging database replicas to separate writes from reads, or utilizing Memcached to cache queries and other data), all of which can be applied equally well to any front-end framework.

I’m not saying that it does not make sense to consider other technologies (there might very well be a breaking point at which it makes sense to evaluate Java or even rewriting parts of the system in C/C++), but in my opinion this should be considered a cost-savings measure when the application reaches a scale at which the cost of hardware far outweighs any savings due to increased developer productivity (think Google), and not a magic bullet for solving fundamental scalability issues (performance != scalability!)

One of the real difficulties in scaling Twitter lies in the fact that all Twitter hits are completely personalized and need to return fresh data, making it difficult to fully leverage caching. Also, since Twitter is a social application and the returned data is generated by each user’s social graph, there is no straightforward way to shard the database by user, as one might be able to do in a typical e-commerce or enterprise application (or pretty much any non-social app…). Without knowing more about Twitter’s internal architecture and their actual profiling results, it would be foolish of me to make any concrete recommendations — particularly silly ones like “Use technology XYZ, it will magically solve all your problems!” Too bad many of the developers out there don’t seem to realize this…

Evernote: A Promising Start

Saturday, March 15th, 2008

After having signed up for an Evernote beta invite a while ago, I finally received one this week.

Evernote is a next generation note taking service. What sets it apart from similar applications are the numerous ways of entering as well as retrieving notes. First of all there is the Evernote Website. It is simple and straightforward, and seems to be very responsive. You can create as many notebooks as you want. Each notebook acts like a folder that contains individual notes as files, and can be viewed using different perspectives (such as thumbnail view or list view), much like a native file browser application like Finder or Windows Explorer.

Notes can be entered and edited on the website, but there are several alternatives. For example, you can email a note to a special email address that is generated for you when you sign up. You can also use this mechanism to send notes from your mobile phone, using your provider’s SMS-Email gateway. However, I have been running into some technical issues when I attempted this from my mobile phone (I’m getting the following error message: “Your MSG could not be DELIVERED because InvalidPduContent”), so I need to look into this. Curiously, sending a picture via MMS worked just fine. Speaking of pictures: Evernote’s support for images is pretty amazing. It uses advanced text recognition to extract text from images, such that it becomes searchable. I have tested this with a low quality photo of a poster snapped from my mobile phone, and it worked as advertised. Very impressive!

You can also use a nifty bookmarklet that allows you to either submit an entire webpage to Evernote, or just the text that you have selected.

But perhaps most importantly, Evernote has a downloadable client app for both Windows and Mac. I have only tested the Mac client, which was released very recently. It seems to lag slightly behind its Windows counterpart in terms of features, but on the positive side it looks and feels like a proper Mac application rather than a quick port. It relies on a Sync feature to synchronize notes between the server and the client (either manually or in a configurable interval). Otherwise, the client offers pretty much the same functionality as the website. In addition, it comes with a clipping service that shows up in the menu bar (and registers some convenient keyboard shortcuts) and allows you to easily submit any copied text to the client, or even to clip a screenshot.

Evernote also has many ways to browse notes. It has a search box that allows you to find notes using full text search, but also using other criteria. For example, notes can be tagged (much like emails in Gmail), after which you can search for them by tag (or just click on the tag in the navigation bar). Notes can also be located via various attributes, such as creation or modification date, source (website, email, mobile, etc.), or whether or not they contain images or audio. This works from both the website or the native client. Evernote also has a mobile website, which I have not tested. This should be convenient when you need to look up a note while you’re on the road.

Overall, I am pretty impressed with Evernote. I have played with various note taking applications, and this comes very close to perfect in terms of features. I often have ideas that I need to capture, and right now I’m using a personal wiki for this purpose. However, I would prefer to work in a native application when possible, since this is generally more convenient. The combination of native client and website for Evernote is quite powerful, with a well-implemented synchronization mechanism. I just wish there were some wiki-like features, such as easy linking between individual notes. But the most important drawback is the lack of formatting options. The website only supports straight text entry, with no formatting at all. The Mac client supports rudimentary formatting (such as font, color, bold, italic, underline, alignment), but unfortunately this formatting appears to be lost when the note is uploaded to the website. The thumbnail view does show the properly formatted note, but the full view does not. And any edits on the website completely reset any formatting that might have been applied on the client. I don’t require any sophisticated formatting, but at the minimum I would need support bullet lists (which neither the Mac client nor the website supports), headings, and emphasis.

As it is right now, Evernote seems like a somewhat useful scratch pad to collect short notes, web clippings, etc. Particularly the mobile features might come in handy. With a bit of additional work, I think it could be extended to become a more comprehensive solution for organizing information, but right now I am going to continue using my wiki for this purpose.

If you would like to see it in action, there is a short Evernote Screencast.

Get paid to interview for jobs?

Tuesday, January 22nd, 2008

Today, TechCrunch posted an article about a stealth job site that makes companies pay candidates to interview with them. NotchUp is currently in beta and invitation-only, but apparently the site will allow candidates to set their own price (although a calculator is provided that suggests a price based on experience, current salary, etc.), in an attempt to lure the kind of passive job seekers that many companies would be interested in finding.

This is certainly innovative, trying to solve a real problem, and I like the idea, but ultimately I have a hard time imagining this working. I don’t doubt at all that potential job seekers (even ones that are not actively looking for a job) will be tempted to put their resume up on NotchUp. But how are companies supposed to tell the true, previously passive rock-star candidates from the legions of mediocre candidates or even worse, candidates out to make a quick buck by exploiting the NotchUp system? It sounds like they are going to implement some sort of ratings system to prevent abuse, but I remain skeptical. I am also curious about the logistics. Most companies perform a phone screen before inviting candidates for an in-person interview. Do candidates get paid if they don’t pass the phone screen? The full amount or just a fraction? Or do only in-person interviews count (which would be open for abuse on the employer’s side by subjecting candidates to a longer and more thorough phone screen)?

If all these obstacles can be avoided, this might turn out to be interesting from the employers’ perspectives, although I still wonder if small startups would be willing to pay $600 per candidate (especially given that presumably only 10-25% of interview candidates actually end up getting a job offer, depending on the quality and rigidity of the resume and phone screens). Then again, paying 10 times $600 for 10 interview candidates is likely still a lot cheaper than paying a recruiter.

Oh, it seems like the site is still having some stability issues: Somebody posted the NochUp beta username / password on TechCrunch, and now the website keeps timing out. But I guess that’s why it’s supposed to be a private beta, so perhaps we should cut them some slack… ;)

Anyway, it will be interesting to keep an eye on how this shapes up.

DRM-free Online Music Stores

Friday, August 24th, 2007

Techcrunch posted a nice article on finding DRM-dree music online. I have long been frustrated with the state of online music sales. While I love iTunes, I have never used the iTunes Music Store because I refuse to buy any DRM-crippled songs. The fact that Apple recently made EMI’s catalog available without DRM is a step in the right direction, but unfortunately most of the music I listen to is on smaller labels. I really want to support the artists I like and would much prefer buying their music over downloading it illegally or buying a CD (only to rip it into iTunes and put it into a box in the garage). But I’m sorry, I’m just not going to buy any music with DRM.

So I was happy to see that a bunch of new options for buying DRM free songs are springing up. Many years ago when they first launched, I bought some music from eMusic (but mainly because this was at the height of the dot-com boom and at the time they were giving away crazy expensive things for free with any music purchase, such as a nice set of Logitech speakers and a Creative MP3 player). Since then they have switched to a subscription model, but I haven’t checked them out lately. From what I hear, their catalog is quite large, particularly with music from smaller labels. Unfortunately it seems to be impossible to view their catalog without signing up for a subscription, which is rather annoying. Still, I might give them another try.

Another site I found via the Techcrunch article is Audio Lunchbox. They seem to have quite a large collection, and I was happy to recognize many small Industrial / Electronic artists that I was familiar with. Their prices are comparable to iTunes ($9.99 per album), but all the songs are DRM-free MP3s (encoded with 192kbps VBR, which is adequate for my purposes). Their website allows individual songs to be previewed, but unfortunately the interface is clunky (for example you cannot jump to a particular song by clicking on it; instead, you have to click “forward” until you get to it) and you can only listen to the first 30 seconds of each song. Why not offer the whole song for preview, but in lower audio quality? It is usually difficult to judge a song by its beginning. Still, these minor issues aside, Audio Lunchbox looks very promising and I will keep this in mind. I would prefer slightly lower pricing ($5-$7 seems reasonable for an entire album), given that I can buy a CD for $13 at Amazon, but at least it is DRM-free.

One thing I was very surprised reading is that two of the music stores (WalMart and gBox) are apparently only compatible with Windows. How somebody can try to build a business on the web and be so ignorant of other platforms is beyond my comprehension…

Google Maps: Street View

Tuesday, May 29th, 2007

Today, Google Maps launched the new Street View feature, and I’m very impressed (no, even though I work at Google I had not seen this until now). Street View gives you a 360 degree panoramic view of the chosen location. You can use the mouse to turn around, virtually walk up or down the street, as well as zoom in or out. The picture quality is quite good (particularly in fullscreen mode), generally detailed enough to make out signs and house numbers.

Check out this map of the Embarcadero in San Francisco.

This should be an awesome tool for house / apartment hunting. In the past I have used the Satellite view to get at least a rough idea of the neighborhood, but this adds a whole other dimension and level of detail. You can view houses in the neighborhood, check out the kinds of cars, and virtually stroll down the street to get a feel for the area.

At this point only a few locations in the US are covered, but luckily the Bay Area is one of them (although coverage outside of San Francisco is still spotty). Very nice!

Useless Account

Wednesday, February 7th, 2007

If you’ve been as overwhelmed as myself with the amount of new, often indistinguishable social web applications that are going live every week, you might get a kick out of this hoax site:

Useless Account

Its only purpose is to allow you to create and edit an account (as you might in a social web app), nothing else. And heck, it’s officially “Slightly more useful than Twitter”, according to the fake TechCrunch quote (OK, they call it TechLunch) on the site. ;)

Google Desktop

Thursday, October 14th, 2004

Another very interesting new (beta) Google service: Google Desktop.

This allows users to search through files as well as emails on their desktops, and sounds pretty promising.

Google Print

Thursday, October 14th, 2004

Google added a new service called Google Print. Very similar to Amazon’s search within books feature, Google now includes search results from select books (try this sample query). It allows access to matching pages of the book, as well as the two pages before and after. Of course, it also includes links to online bookstores that carry the book, including Amazon.

Nice addition!

Wikipedia

Wednesday, September 1st, 2004

Interesting article on the recent Wikipedia controversies.

Have I mentioned how much I love Wikipedia? So far, I have always been able to find the information that I was looking for, including somewhat obscure topics and highly technical or computer-geeky information. Like most Wiki sites, Wikipedia has a very simple and clean design and is easy to navigate.

Try visiting a random Wikipedia page today. :)

“Engrish”

Tuesday, June 1st, 2004

I came across a funny website: http://www.engrish.com.

Since English isn’t my native language either, I feel that it should be OK for me to laugh about this. ;)