Hacker Newsnew | past | comments | ask | show | jobs | submit | d_j_s's commentslogin


same here


Me three


You can use css counters to output the count on non fizz, buzz or fizzbuzz iterations

http://codepen.io/anon/pen/QbNLxO

https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Count...


If you don't mind the dots you can do: http://jsbin.com/resihe/1/edit


Took me a moment to see how you were doing that. Nice!


All browsers since FF 3.6 default inserted scripts to async=true

http://mathiasbynens.be/notes/async-analytics-snippet


I'd assume LAB has this covered.

yepnope will load your script as an image away from the DOM so that it's already cached by your browser.


The requestAnimationFrame part with simple backbone views is pretty straight forward: https://github.com/danshearmur/backbone-fast-view/blob/maste...

I'm sure doing a similar thing with LayoutManager wouldn't be too hard. I think LayoutManager uses _render internally too so you may want to call it something else.

It also definitely does make the benchmarks faster http://danshearmur.github.io/backbone-fast-view/


That's great - benchmark 2 is essentially a bunch of useless work, and it appears to really speed things up by making sure we only actually touch the DOM every 16ms, instead of constantly.

I'd imagine a Backbone integration with React would get us even closer. I'm not sure if it actually makes sense to go too far with an LM conversion as React appears to do a better job. But LM could certainly benefit from waiting until RAF.


So I rewrote Backbone views to use a queue system that fires on requestAnimationFrame -https://github.com/danshearmur/backbone-fast-view

I'm getting pretty good results with swannodette's benchmarks - http://danshearmur.github.io/backbone-fast-view/

I'm getting approx 150ms in Chrome for benchmark 1 and about 400 ms for Chrome for benchmark 2


About what I'd expect for the first benchmark, but that's the kind of intervention from the user that I think frameworks should not require. The time still spent by Backbone.js on the second one more or less illustrates why I don't believe in event oriented MVCs.


You may find https://www.firebase.com/ or http://www.meteor.com/ allow you to do it all on the frontend


I was thinking about meteor, I'm just not sure how complex it would be to implement on a mobile app.


I've been using Meteor for a couple of years now, and although it does a lot of magic, I recommend using it only for very simple projects.

For this application, meteor may be suitable, but keep in mind that you'll need to build a lot of your supporting infrastructure until Meteor 1.0 comes out.

Reasons not to use Meteor:

It is currently very difficult to accurately profile memory issues.

Simple html mixups can take half an hour to debug due to the fact that they'll only show up in production, and in minimized/uglified form.

MongoDB costs 'money' to scale properly (sharding across multiple machines with lots of memory (if your database grows).

Edit: This is not a simple project, so maybe meteor is asking for trouble since it's not very mature yet.


Check the mailing list for this. There wasn't a large amount of discussion about mobile options when I last checked, but one solution seems to be what you've already listed above: Phonegap/Cordova.

https://groups.google.com/forum/#!forum/meteor-talk

It didn't seem like there's a "perfect" solution for this yet (in any realm--it's all still evolving).


I wish more managers recognised points 1 and 4.


You should call them out on twitter, they are more likely to make amends if your shouting is visible to clients (future/current).

* https://twitter.com/SmaconTech * https://twitter.com/dapatical * https://twitter.com/saraswathimetal

Or maybe it won't make any difference, looking at the stats on these accounts


So I quickly ran the icon set through http://icomoon.io/app and the icon font it produced seemed pretty good http://dl.dropbox.com/u/138393/maki.zip


Wow, that site is a better find than the OP, now I can easily use those raw icons designers post every so often.


Thanks. I'd never heard of that site until now. Absolutely brilliant.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: