Code of the day: Get unique objects from an array of json objects.

14 years ago

Inspired from Removing duplicate objects with Underscore for Javascript Source: /** @function _.uniqObjects @require Underscore.js and json.stringify @purpose return an…

Reimplementation of Number.prototype.toFixed

14 years ago

Number.prototype.toFixed was giving me too many problems, so I just rewrote it. There's the source. /** @author Larry Battle Contact…

Code of the day: Fix for Number.prototype.toFixed

14 years ago

In javascript, Number.prototype.toFixed has problems rounding. Here's the fix and some test cases. Number.prototype.toFixed = (function () { var oldToFixed…

Javascript Error: ParseInt fails when supplied with large numbers

14 years ago

ParseInt returns 1 for when passed any number greater or equal to 1e+21. var x = 1.0e+2; console.log( x ==…

Code of the day: Converts Bytes to Simplify Units

14 years ago

A few days ago I noticed that my "code of the day" article was wrong. So I spent some time…

Try out lumzy for your mockup creation and prototyping needs. 100% free

14 years ago

I haven't been paid to say this. I just want others to know about Lumzy instead of paying for similar…

Book review for “Become Your Own Boss in 12 Months”

14 years ago

Here's a book review I did on amazon.com I've started a few small businesses that failed because of poor planning…

Strange Windows Error

14 years ago

Here's a strange Windows Error. A file and folder can't have the same name. Note: The folder name must include…

js2coffee.org helps your learn coffeescript faster

14 years ago

Coffee-script is a smoking hot simple language that converts 100% into Javascript code. Coffee-script allows you to spend more time…