HNHacker News
TopNewBestAskShowJobs

d_j_s

205 karma · joined October 25, 2012

submissionscomments
d_j_s··on Has London succeeded at the expense of the rest of the UK?
Yep: https://www.youtube.com/watch?v=S8g3HU3qENs&feature=youtu.be
d_j_s··on Pure CSS FizzBuzz
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...

d_j_s··on Script-injected "async scripts" considered harmful
All browsers since FF 3.6 default inserted scripts to async=true

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

d_j_s··on Script-injected "async scripts" considered harmful
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.

d_j_s··on The Future of JavaScript MVCs
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/

d_j_s··on The Future of JavaScript MVCs
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

d_j_s··on Ask HN: I'm 15, won a grant to develop a suicide prevention app, what next?
You may find https://www.firebase.com/ or http://www.meteor.com/ allow you to do it all on the frontend
d_j_s··on A Manager's Manifesto
I wish more managers recognised points 1 and 4.
d_j_s··on I’m Tired Of Companies Ripping off our site, So I’m Calling Them Out
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

d_j_s··on A clean point-of-interest icon set for web cartography
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
d_j_s··on [dead]
I didn't get the joke either...
d_j_s··on You’re not anonymous. I know your name, email, and company.
That's not correct, you as a user run a snippet of leadlander js code on your web page. This code has no access to the cookies on a leadlander domain.

I've worked on a similar tracking snippet/system for http://www.projectcounter.org/ and this was one of the first things we attempted.

If you block the leadlander domain(s) the script will obviously not run and also consequently won't be able to send fingerprint details back.

d_j_s··on Review our startup Farmly.net - buy fresh food in the UK
Even more frustrating when the email hasn't come through after 10 minutes
d_j_s··on Lorem Pixel
I like http://pugholder.com
d_j_s··on You’re not anonymous. I know your name, email, and company.
As chrome sandboxes flash, I wonder how much hassle it would be to only allow a small subset of fonts through?
d_j_s··on You’re not anonymous. I know your name, email, and company.
Cookies are only used to track your return on that one particular domain. The matching of browser profiles won't be done on the client side.

These scripts will only track you and not receive information.

d_j_s··on African teenagers invent a urine-powered generator
http://webcache.googleusercontent.com/search?q=cache:7Tim1l5...