Faster npm
Good news! npm was updated in January and this is no longer an issue!
npm is the premier package repository on the web and we all use it a ton, obviously. npm has started using basic progress bar graphics to notify users of download progress, which is nice, but appears to slow down the entire process. This tweet blew my mind:
Executing the following before an npm install dramatically speeds up the process:
npm set progress=false
You wont see a beautiful progress bar but you will get faster installs which, in my opinion, is an excellent trade off!
![Page Visibility API]()
One event that's always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?
![Create Namespaced Classes with MooTools]()
MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does. Many developers create their classes as globals which is generally frowned up. I mostly disagree with that stance, but each to their own. In any event...
![Comment Preview Using MooTools]()
Comment previewing is an awesome addition to any blog. I've seen really simple comment previewing and some really complex comment previewing. The following is a tutorial on creating very basic comment previewing using MooTools.
The XHTML
You can set up your XHTML any way you'd like.
![MooTools History Plugin]()
One of the reasons I love AJAX technology so much is because it allows us to avoid unnecessary page loads. Why download the header, footer, and other static data multiple times if that specific data never changes? It's a waste of time, processing, and bandwidth. Unfortunately...
The problem was fixed in 3.7.0 back in January. https://github.com/npm/npm/blob/master/CHANGELOG.md#v370-2016-01-29
I think it’s worth mentioning that these settings are saved in a dotfile
~/.npmrcthat can be backed up easily. Automating the machine setup ftw! :D