Building Smarter User Interfaces with jQuery: My Talk at this Weekend’s BADCamp
Want to learn how jQuery can help you build smarter, more dynamic user interfaces — in particular, within Drupal? I’m presenting an intro session at this weekend’s Bay Area Drupal Camp (BADCamp) gathering in Berkeley.
The session is on Saturday at 11am. Drop by and check it out if you’re attending. For those who can’t make it or didn’t register before alll the spots were gone, I’ll post my notes here.
Facebook Apps Access Dropping In and Out
Looks like a DNS problem this time. Both apps.new.facebook.com and apps.facebook.com, the domains from which applications are initially accessed, have gone offline several times today — at least for Comcast customers — according to reports in the forums. (I can confirm this too, and I’m on Comcast.)

It’s unclear if it’s a Comcast problem, a Facebook problem, or something else. But Facebook does plan to get rid of the .new. subdomain now that the new profiles are rolled out, which would require some DNS modifications. And given the company’s track record, I’m not entirely ready to give Facebook the benefit of the doubt.
Lessons from the Palin Email Hack: How to Provide More Secure Password Recovery than Yahoo
The only really shocking things to come out of the hacking of Sarah Palin’s Yahoo-based email account are the revelations that:
- The Governor of Alaska uses the free Yahoo email service for work-related emails; and that
- Yahoo uses really bad security practices for its password recovery system.
Indeed, it’s the latter point that makes the former all the worse.
If the so-called hacker who accessed Palin’s emails is to be believed, Yahoo allowed the intruder to reset the password on Palin’s account simply by answering some security questions. And sure enough, that’s exactly how Yahoo’s password recovery system works: You answer some simple questions like “Where did you meet your spouse?” and Yahoo checks to make sure your responses match up with the answers you provided when you first created your account. In other words, these questions serve as a secondary, “backup password.”

The problem with security questions like these is that they’re all too easy for almost anyone to answer. This is especially true if you have information about your life published on the Web (as Palin found out) — or, more likely, if you publish that information yourself on blogs, social networks, profile pages, and so on.
So what should Yahoo have done instead? Or, more importantly, if you’re developing a Web site that needs a password recovery feature, what should you do?
facebook rolls out incomplete upgrade, makes apps hard to find
While rolling out new new profile pages to users today, Facebook also released a modified Apps toolbar — which no longer shows recently used applications. Developers are not happy about this (myself included) as it makes it difficult for users to get back to applications they’ve used but haven’t yet formally bookmarked. It’s a good bet that a lot of apps will show a dip in return visits beginning today.

To make matters worse, there seems to have been no advance warning of the change. And as of this morning, the Facebook Beta site that is supposed to act as a preview sandbox for developers didn’t show the change either.
Facebook’s response? A company rep posted this in the forums after developers complained: “We’re sorry about the confusion — we’re in the midst of finalizing the feature and what you see here is definitely not final!” No word on what the final version will look like nor when it’ll show up.
As I was just saying, Facebook’s seemingly haphazard release process is harming its relationship with the developer community. The more the company ignores the needs of developers who, in many cases, are building their businesses and livelihoods on Facebook’s platform, the less chance it has of sustaining the budding market its created.
Update: Facebook finally posted a note about the upcoming changes to the application menu on their Developer Blog at the end of the day. I logged back into my Facebook account and noticed the menu in the lower left corner of my window, as the blog post notes. However, I’m not sure I would’ve found it there without having read the post. Hopefully they find a way to notify users of this change.
Drupal for Firebug: The Smarter Way to Debug Drupal
At last night’s San Francisco Drupal Users’ Group meetng, Matt Cheney of Chapter Three gave a demonstration of Drupal for Firebug — a combo Firefox extension and Drupal modle that lets you send Drupal debugging and status messages to Firebug.
“A smarter var_dump()” is one way to think of it. But it also does several other handy things, like let you see how and where forms are altered by various modules, gives you access to the user object for inspection, and lets you execute PHP from Firefox.
Definitely something to check out if you’re developing modules or themes for Drupal.
Facebook CSS Problems are Messing Up Apps
Some Facebook apps are currently messed up due to what looks like Facebook not parsing app stylesheets and missing its own master stylesheets. It’s unclear how many people and how many apps this affects, but it’s a major screwup.
Clearly, managing a site that serves tens of millions of people on a regular basis is no easy task. But it’s not the first mistake that has made the site or the apps inaccessible.
If Facebook wants its ecosystem of third-party apps to thrive — and expects developers to build businesses on the Facebook app platform — it has to start treating the platform like a true business-level service. And that means getting a grasp on Facebook’s QA and deployment processess so that bugs like these don’t keep knocking apps offline.

spot in joyent facebook accelerator program finally opens up
I had completely forgotten about Joyent’s Facebook Accelerator program, having eventually built my word game app on a different server. But then guess what? A spot must have opened up (five weeks after I applied) and I got the following email:
Hi Amit Asaravala,
Your new Facebook Accelerator from Joyent is ready for use and your login information and webmin credentials are listed below, along with some important links for documentation to help you along the way.
…
I’ll have to give it a look-see.
Improving the Calendar: A Smarter Way to Visualize a Year
Sometimes, I just want to take a quick look at the upcoming year and see how busy I’m going to be. I don’t need to know the details of all my appointments, but I’d like to know where certain holidays fall, when I’m going to be traveling, how that matches up with big deadlines, and so on.
Unfortunately, most digital calendars don’t provide a year view. For instance, Google Calendar lets you look at a day, a week, four days (why?), and a month — but not an entire year. The last I checked, Outlook does the same (although with a more helpful five-day view, rather than four.)
When calendars do provide a year view, it’s usually just the “month view” for each of the 12 months, compressed onto a single page. For example, here’s the year view for Yahoo Calendar:
Oddly, Yahoo Calendar doesn’t seem to show events on this view — it’s simply a selector that takes you to the “week view” that you click on.
But even if you did see some sort of indication of booked events on this view, it wouldn’t be so easy to read. Events spanning multiple weeks or months would wrap too many times. And you’d have to look pretty hard to figure out which weekends were booked and which were open.

It’s not a terrible sin, but it’s not the most usable way to visualize a year’s events.
So what’s better? I’ve been searching for a couple years and the only really good visualization I’ve found so far is in an Outlook plugin from an Australian company called Planet Software. Their Outlook Year View plugin adds an option to a standard Outlook calendar that lets you see all your events in the following style.
I can’t speak for the plugin because I don’t use Outlook, but I love the way this visualization maps out each month’s events linearly. Stacking the months lets you take in the entire year in a comfortable left-to-right, top-to-bottom format. And staggering the months aligns all the weekends, so you can quickly see what’s still free.
The moral here is that even something so familiar as a calendar can be improved upon. Tufte would be proud.
I Highly Recommend WordCamp
So after switching my blogs over to WordPress, I attended WordCamp SF on Saturday to get a better sense of what’s going on with the platform from a developer’s perspective. I have to say that I was impressed with the conference and with what’s going on under the hood.
The various folks working on WordPress shared plans on how they’ll continue building on their strengths (great UI, modularity, social media), and were quite honest about what they haven’t gotten right yet (confusing security API, too frequent releases, needing to separate core files from user folders.) And unlike many conferences focused on a single product or technology, many WordCamp sessions went beyond WordPress to cover topics of importance to developers and online publishers. In particular, Steve Souder’s talk on improving front-end site performance was well done.
If you’ve got a WordCamp in your area, I highly recommend attending. At $20 (at the SF conference at least), you can’t beat the dollar-to-signal ratio.


My name is Amit Asaravala. I'm an Internet technologies consultant & Web developer located in the San Francisco Bay Area. I specialize in helping organizations build great Web sites on open source technologies.