15 karma · joined June 22, 2010
With tools like this, I love being able to modularize my client-side code using CommonJS modules and running JS test from the command line using tools like Vows and Buster.js. I also love being able to declare dependencies on npm modules. It's just as easy as testing and writing Ruby code with rubygems and rspec.
The only issue that still bothers me is that nearly every DOM querying/manipulating library out there assumes there's a global window or document object. This means I have to stub it out in any CLI tests I run and then make sure jquery or whatever is referencing a virtual window I create with jsdom instead of the global stub.
I have a few project using vows/npm/browserify for reference if anyone is interested. A FF/Chrome/Safari plugin: https://github.com/brighterplanet/careplane A simple SPI app: https://github.com/brighterplanet/hootroot1
Seriously, though, this is a complete waste of time. Mass transit has been solving the problem of getting people from point A to point B without them having to do the piloting for a hundred years. What we really need to be spending our money on is rebuilding the streetcar and intercity rail systems that used to connect nearly every town in the country and electrifying them. This will drastically reduce our reliance on fossil fuels (because oil is the only portable energy source cheap and powerful enough for automobiles) and reducing greenhouse gasses. Instead, we're talking about an overly complex solution involving creation of an automated driving system on all our highways and compelling thousands of users to upgrade to driverless cars, which may or may not be electric.
In other words, Google's driverless car is to transportation as Dart is to DOM scripting.
Some things to consider: * While the population of Detroit proper has fallen, the total population of the metro area has remained fairly static over the past 40-50 years http://www.somacon.com/p469.php * The Detroit suburbs are just as nice as your typical American suburbia. * The State of Michigan is training hundreds of Emergency Financial Managers who now have the power to go into any municipality the State deems "financially unsustainable," dissolve local governments, and terminate any contracts (union or otherwise) in order to force a balanced budget. So while urban areas continue to be defunded by the state and by fleeing wealthy residents, they are put in the precarious position of trying to balance their budgets or risk a hostile takeover. * Meanwhile, we all have a good time looking at the pictures.
http://www.grist.org/article/2009-09-08-mcwilliams-locavore-...
http://sharonastyk.com/2009/09/11/start-by-asking-the-right-...
When using an app like Pages or Word, the mouse will be faster because keyboard navigation in those apps is terrible. You may be able to save some mousing with command-p, but for general editing tasks like highlighting and moving text, the mouse will always beat the keyboard.
In vim, however, editing via keyboard is well designed and always faster than mousing.
The true test would be to compare editing LaTex with vim versus a rich text document with TextEdit.
Cocotron is licensed under MIT. Assuming that the GNUStep authors want to maintain a stricly GPL codebase, they would not want to borrow anything from cocotron. The authors of cocotron chose MIT specifically to be friendlier for commercial developers.