News for hackers. Stuff that matters.

d_j_s

Re:Pure CSS FizzBuzz on Tuesday May 12, 2015 @10:12AM (#9531860)
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...

Re:Script-injected "async scripts" considered harmful on Wednesday May 21, 2014 @09:24AM (#7778035)
All browsers since FF 3.6 default inserted scripts to async=true

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

Re:Script-injected "async scripts" considered harmful on Wednesday May 21, 2014 @09:02AM (#7777944)
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.

Re:The Future of JavaScript MVCs on Thursday December 19, 2013 @06:21PM (#6938729)
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/

Re:The Future of JavaScript MVCs on Thursday December 19, 2013 @06:06PM (#6938638)
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

You may find https://www.firebase.com/ or http://www.meteor.com/ allow you to do it all on the frontend
Re:A Manager's Manifesto on Tuesday February 05, 2013 @06:12PM (#5173937)
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

Re:A clean point-of-interest icon set for web cartography on Sunday January 20, 2013 @01:34PM (#5087667)
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
Re:Hilarious Job Posting for a Startup on Thursday January 17, 2013 @09:57AM (#5072929)
I didn't get the joke either...
Re:You’re not anonymous. I know your name, email, and company. on Tuesday December 18, 2012 @05:52AM (#4936963)
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.

Re: Review our startup Farmly.net - buy fresh food in the UK on Monday December 17, 2012 @09:13AM (#4932284)
Even more frustrating when the email hasn't come through after 10 minutes
Re:Lorem Pixel on Wednesday December 12, 2012 @08:29AM (#4909911)
Re:You’re not anonymous. I know your name, email, and company. on Wednesday December 12, 2012 @05:28AM (#4909455)
As chrome sandboxes flash, I wonder how much hassle it would be to only allow a small subset of fonts through?
Re:You’re not anonymous. I know your name, email, and company. on Wednesday December 12, 2012 @05:26AM (#4909452)
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.