A great article over at Gamasutra outlines a toy 3D engine that uses a spreadsheet to do the calculations. Instead of the imperative approach, this “engine” is more functional-reactive. As mentioned in our post on Reactive.js the other day, Excel serves as a good metaphor when starting to grok functional reactive programming.
The problem: you have a long title for a tab (or some other small UI element) and it is important for the client to see all of the content, but you lack the space to show it. What do you do? Tooltip? Hide the overflow? Truncate with ellipsis? Here’s a suggestion: “active ellipsis”! Using a… Read more
We love Font Awesome. It has a wealth of very useful icons and now that the set is up to 210 icons we’re also finding it unwieldy to search for that right icon. So we made a super simple search utility. Enter in part of the icon’s class name and matching classes will be displayed…. Read more
Watching users double-click a form button always makes me cringe. Worse: knowing that AJAX is firing with each click. Instead if flooding our server with AJAX requests it would be nice to limit how frequently the click handler runs. Fortunately, libraries like Underscore.js have wonderful functions like throttle and debounce do just that. But which… Read more
jQuery’s introduction of $.Deferred() is one of the library’s most powerful additions in recent history. It’s not a new idea, but it merits an introduction now that it’s available to thousands of client-side developers. At its core, the Deferred pattern is a simple but powerful tool for the management of asynchronous processes. As we all… Read more