Collecting code coverage for executable scripts in Node.js is tricky. I’ve ran into this problem a handful of times at Yahoo, so I published a module that mocks stdin, stdout, and stderr and my experience using it in this post for Yahoo Engineering’s tumblr.
yahoo
-
YUI: ScrollTabView Makes Tabbed Views Even Better
I’ve recently been tinkering with the excellent Yahoo! UI Library. My first contribution to the community is ScrollTabView, an extension of TabView that uses a scrolling animation to switch between tabs. (Just check out the examples.)
My inspiration was Panic’s Coda site as well as a few others. Now it’s easy to create a similar effect on your site using YUI.
Check out my new YUI addons page to grab the code and view more examples!
Update: I’ve been featured on the official YUI Blog!
Update 2 (May 27): I’ve been featured on Ajaxian!
-
Y! Live
Continuing with recent Yahoo news, the just-launched Y! Live is a new webcasting community similar to justin.tv or Stickam. Both Y! Live and Stickam allow you to take part in sharing video as a visitor in a broadcaster’s channel, while justin.tv does not. However, I believe Y! Live’s experience is better than any of those competitors. The Y! Live developer API allows you to go beyond search like justin.tv– you can actually mashup video streams. (Stickam doesn’t even have an API.) The site is billed as a “experimental release” so it’ll be interesting to see how Y! Live will evolve. More on the launch is available on their blog. I’ll be experimenting with the site by going live when I can, stop by and say hi!
-
WSJ: Yahoo To Reject Microsoft
Matthew Karnitschnig reporting for The Wall Street Journal:
Yahoo’s board believes that Microsoft’s is trying to take advantage of the recent weakness in the company’s share price to “steal” the company. The decision to reject the offer signals that Yahoo’s board is digging in its heels for what could be a long takeover battle. The company is unlikely to consider any offer below $40 per share, the person said.
Let’s hope Yahoo doesn’t get burned by a possible shareholder revolt. It’s a really interesting move for Yahoo and I’m anxious to see what happens.
[via DF]