98 karma · joined July 8, 2009
We're looking for engineers with an interest in Java / Android / iOS / JavaScript.
Perka was recently named one of Fast Company's most innovative company's in local: http://www.fastcompany.com/most-innovative-companies/2013/in...
We also contribute back to the open source community: https://github.com/perka
Please contact joe@getperka.com if you're interested.
It's been on my todo list for a while now to remove the JQuery dependency from Backbone UI, since we're now only using it mainly for event handling and positioning.
JQuery was an obvious choice when this project was born over a year ago. I've since formalized my preferred method of DOM generation into the Laconic library, but have yet to do the same for the last bits of JQuery still being used.
I realize that templates are a popular choice for many, but I view them as an unneccesary layer of indirection. Sort of like printing out an email, hand writing a response, and scanning it back in as a reply. Once your markup has been converted to a document object model, why not embrace it?
JavaScript has come a long way, even from 2006, yet most developers still have the mindset that this sort of thing can't perform well. What we're left with are solutions that are more complex, and perform similarly for most applications.
$.el.div($.el.span()).outerHTML $.el.div({className : 'foo'});
$.el('div', {className : 'foo'});The chronic project was actually the original motivation behind natty. I think the chronic project is great, but I believe the grammar-based, AST approach is the way to go for long-term maintainability.
Implementing relative times has been on my list of things to do (in addition to recurrence.) I created a feature request here: http://github.com/joestelmach/natty/issues#issue/4, so feel free to list any time formats you'd like to see implemented.
I agree that a generic list of test cases would be nice. Any thoughts on how such a list should be published?
I'll admit to the amateur mistake of not handling leading white space (that's now fixed on the master branch.)
It looks like the only example from your list that couldn't be parsed is "The day before Sunday week". Forgive my ignorance, but I've never seen 'week' used in that context here in the US. If you'd be willing to describe the proper use, I'll look at implementing it.
As for the UK format, please see the issue I created here: http://github.com/joestelmach/natty/issues#issue/3, and lend some advice if you'd like.
The test set is available here: http://github.com/joestelmach/natty/blob/master/src/test/gun...