Better HN
topnewbestaskshowjobs
Log inSign up

haclifford

52 karma · joined Jan 13, 2012 (14y ago) · 14 submissions

Submissions

comment 13y ago · link · parent

What function does a half baked google docs clone serve here?

comment 13y ago · link · parent

This is really cool; it'll be interesting to see it's application to feed style content as opposed to tables (in the discussion on the html5 version of facebook mobile rendering the feed was a major bottleneck)

comment 13y ago · link · parent

The google closure library has sha1 and hmac support as well - well worth checking out

http://closure-library.googlecode.com/svn/docs/namespace_goo...

comment 14y ago · link · parent

As noted in the reddit thread on this:

This isn't to be used alone for clearing minefields - as it's not going to get 100% coverage. It's still a useful tool for surveying minefields or perhaps doing a cheap first-pass before sending in pricey equipment

comment 14y ago · link · parent

I feel like an idiot for only just realizing; this is valves solution to the potential windows 8 lockout isn't it

comment 14y ago · link · parent

I agree, it's unbelievable. End users don't care about incorrect markup, they care about their browser hanging.

comment 14y ago · link · parent

Can't remember where I heard it, so decided to check.

Found this S.O thread http://stackoverflow.com/questions/10296791/backbone-js-perf... (different code, same concept) and decided to benchmark: Unqueued DOM insertion: http://jsfiddle.net/arkxp/9/ Queued DOM insertion: http://jsfiddle.net/arkxp/8/

The latter is consistently faster, and while the difference isn't a lot with this example, given a more complex insertion it'll mount up.

comment 14y ago · link · parent

This is pretty much what we use, here it is with map and builds the element prior to dom insertion (better performance): https://gist.github.com/2932520

9.

backbone/coffeescript Facebook friends collection(gist.github.com ↗)

1 points · by haclifford · 14y ago · discuss

comment 14y ago · link · parent

There's bias introduced based on the visual appearance, some of the fonts used are terrible - and (as mentioned) the contrast.

comment 14y ago · link · parent

I'm praying that the retina display really does happen, not because I plan on buying an ipad - but because it will finally get laptop manufacturers to stop producing crappy 720p displays.

comment 14y ago · link · parent

Doesn't seem particularly game-changing.

I do like the haml style templating though, anything like this exist standalone with coffeescipt not js syntax?

We currently use eco (https://github.com/sstephenson/eco), but that's standard html.

comment 14y ago · link · parent

Nice feature, would be awesome to see other JVM languages too