Nginx and Lua ← →
For several months, we’ve been gradually integrating Lua into Mixlr’s front-end Nginx configuration. Lua is a dynamic scripting language which can be embedded inside Nginx config files. This means that arbitrary Lua code can be executed inline during any phase of the Nginx request-handling process. We started off just using Lua to route requests around backend servers, but it has...
Vanilla JS →
The 7 Habits of Highly Effective Mediocre... →
∞ is a UITableView for the web: it speeds up scrolling through long lists and keeps your infinite feeds smooth and stable for your users
OpenMasse by juliangruber →
About to finish work on OpenMasse. The ui still needs some heavy polishing. Want to open multiple links at once but too tired to click on each? OpenMasse to the rescue! When activated, this bookmarklet lets you draw a rectangle over the links you wish to open. Drop, and all the links are opened! (in tabs!).
TJ Holowaychuk: Components →
Optimizing for Happiness // Speaker Deck →
namebench - Open-source DNS Benchmark Utility →
Cross-platform utility that tests your DNS and other global DNS providers for speed. Only consider the first run of the bench suite since others following will only show proximity. The fastest one for me is Google’s.
http://felixge.s3.amazonaws.com/11/nodejs - best... →
when using callbacks: pass errors as the first parameter throw errors if they happen try/catch for anything that could anyhow go wrong log uncaught exceptions globally and exit the process
Why I switched back from CoffeeScript to Vanilla...
And there are several reasons: Documentation generators work better with the C comment syntax Future Compability: EcmaScript 5, 6 etc. fix a lot of the problems CoffeeScript fixes in a native way. Who knows whether CoffeeScript will be as fast as V8 in implementing new features Consistent syntax for calling functions: foo 1337 for foo(1337) is cool but foo(1337).bar ‘leet’...
Improving HTML5 Canvas Performance - HTML5 Rocks →
Why Our Code Smells - opensoul.org →
Come on, convert your old code bases to coffeescipt :)
Come on, convert your old code bases to coffeescipt :)
Algorithm for automatic cache invalidation -... →
Beautiful algorithm explainable using graph theory
What makes a good engineering culture? - Edmond... →
jQuery Knob demo →
Findings from JSPerf
I looked through JSPerf and noted the imo most important or surprising benchmarks. Run them in your browser to see the exact results. Note that I only checked them in Chrome Dev. I am going to write an extra post just for templating libraries with other browsers and syntax etc. taken in account. Check object for property: === undefined is the fastest...
Nohm is an object relational mapper (ORM) written for node.js and redis.
Zero downtime deploys for Rails apps →
This script allows you to take “screenshots” of webpages or parts of it, directly on the users browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.
Smooth.js takes an array of numbers or vectors and returns a parametric function that continuously interpolates that array. Smooth.js supports several interpolation methods, and flexible options for boundary behavior.
Delayed Image Loading on Long Pages →
Jenga - Physijs →
multi-server continuous deployment with fleet ::... →
CoffeeScript/Google Closure Demo →
Meteor is a set of new technologies for building top-quality web apps in afraction of the time, whether you’re an expert developer or just getting started. …all the same APIs are available on the client and the server — including database APIs… …Just write your templates. They automatically update when data in the database changes… Supports any templating...
Walking on water and developing software from a specification are easy if both...– Software Development Quotations by Edward V. Berard
Profiling Node.js « node blog →
need linux, put prints beautiful and informative charts
Takes a snapshot with your Mac’s built-in iSight/FaceTime webcam every time you git commit code, and archives a lolcat style image with it.
stroll.js - CSS3 Scroll Effects →
VALVE Handbook for new Employees →
GIT utilities — repo summary, repl, changelog population, author commit percentages and more
nelhage/reptyr - Reparent a running program to a... →
reptyr is a utility for taking an existing running program and attaching it to a new terminal. Started a long-running process over ssh, but have to leave and don’t want to interrupt it? Just start a screen, use reptyr to grab it, and then kill the ssh session and head on home.
must read for js devs
with advice on how to split modules into files and more
Meteor is an ultra-simple environment for building modern websites. What once took weeks, even with the best tools, now takes hours with Meteor. The web was originally designed to work in the same way that mainframes worked in the 70s. The application server rendered a screen and sent it over the network to a dumb terminal. Whenever the user did anything, that server rerendered a whole new...
Mumakil/Standalone-Deferred · GitHub →
This is a standalone implementation of the jQuery.Deferred interface. I wanted to use the wonderful Deferred interface in projects where I don’t want to include the whole big jQuery library but use for example zepto. This project is trying to mimic $.Deferred as much as possible, but I wouldn’t be surprised if there are differences.
A little supervisor script for nodejs. It runs your program, and watches for code changes, so you can have hot-code reloading-ish behavior, without worrying about memory leaks and making sure you clean up all the inter-module references, and without a whole new require system.
Manage Linux init or startup scripts →
EPx - Small introduction to HTML5 Audio API →
explains real-time generation of audio with a function that is called when the buffer is running out of data. sweet.