Better HN
topnewbestaskshowjobs
Log inSign up

d_j_s

205 karma · joined Oct 25, 2012 (14y ago) · 29 submissions

Submissions

1.

Wee-slack – A WeeChat plugin for Slack.com(github.com ↗)

1 points · by d_j_s · 11y ago · discuss

comment 11y ago · link · parent

Yep: https://www.youtube.com/watch?v=S8g3HU3qENs&feature=youtu.be

comment 11y ago · link · parent

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...

4.

Cyclomatic Complexity: Logic in CSS(csswizardry.com ↗)

2 points · by d_j_s · 11y ago · discuss

5.

Polyfill service(cdn.polyfill.io ↗)

2 points · by d_j_s · 12y ago · discuss

6.

Digging deeper in to the DOM with the Chrome devtools(djs.xxx ↗)

1 points · by d_j_s · 12y ago · discuss

7.

A brief introduction to the DOM and Chrome developer tools(djs.xxx ↗)

2 points · by d_j_s · 12y ago · discuss

comment 12y ago · link · parent

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

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

comment 12y ago · link · parent

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.

10.

Interviewing as a Front-End Engineer in San Francisco(css-tricks.com ↗)

160 points · by d_j_s · 12y ago · 183 comments

comment 12y ago · link · parent

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/

comment 12y ago · link · parent

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

comment 13y ago · link · parent

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

14.

Stick your landings position: sticky lands in WebKit

1 points · by d_j_s · 13y ago · discuss

15.

Biggie - Make a slideshow with Markdown in minutes(macwright.org ↗)

1 points · by d_j_s · 13y ago · discuss

comment 13y ago · link · parent

I wish more managers recognised points 1 and 4.

comment 13y ago · link · parent

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

comment 13y ago · link · parent

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

comment 13y ago · link · parent

I didn't get the joke either...

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Even more frustrating when the email hasn't come through after 10 minutes

comment 13y ago · link · parent

I like http://pugholder.com

comment 13y ago · link · parent

As chrome sandboxes flash, I wonder how much hassle it would be to only allow a small subset of fonts through?

comment 13y ago · link · parent

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.

comment 14y ago · link · parent

http://webcache.googleusercontent.com/search?q=cache:7Tim1l5...