Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ehynds
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ehynds
10mo ago
Here in the northeast, electricity is expensive because we rely heavily on natural gas for power but lack sufficient pipeline capacity to bring in cheaper supply, all while nuclear plants are being retired, politicians have blocked new pipe
2.
▲
by
ehynds
10y ago
About $300/mo on an app that provides real-time train tracking for Boston's commuter rail. Thankfully for me the MBTA is a mess, so each system meltdown (which happens about once a week) causes a spike in downloads.
3.
▲
by
ehynds
11y ago
OP is saying that `let func = () => {};` creates a named function where func.name equals "func" and "func" appears as part of the stack trace. Your example is still an anonymous function just bound to a different cont
4.
▲
by
ehynds
11y ago
Still though, in situations where I care about the stack trace, I don't see myself writing: let doStuffCallback = () => {}; doStuff(doStuffCallback); over: doStuff(function doStuffCallback() { });
5.
▲
by
ehynds
11y ago
That seems to do it. let func = () => {}; console.log(func.name); // func and in stack traces: let func = () => foo(); func() results in: Uncaught ReferenceError: foo is not defined func @ test.js:1
6.
▲
by
ehynds
12y ago
I thought there should be a Broccoli plugin, and then I found this: https://github.com/sindresorhus/broccoli-uncss
7.
▲
by
ehynds
12y ago
I would also like to know that this isn't going to share the results to my profile.
8.
▲
by
ehynds
13y ago
and by disabling pinch zoom on mobile.
9.
▲
by
ehynds
14y ago
Are they already open / matched by wildignore?
10.
▲
by
ehynds
14y ago
Digging through the source reveals a konami easter egg. Unfortunately all it really does is break the page though.
11.
▲
by
ehynds
15y ago
Where are you getting these numbers from?
12.
▲
by
ehynds
15y ago
You pointed out a few best-practices, but it's a shame that this article is written in the context of jQuery, rather than recognizing that these "taxes" are true with every script tag you place on your website.
13.
▲
by
ehynds
15y ago
The same is true whether or not you use a document.ready statement; you're thinking of window.onready, which fires once all images have been downloaded.
14.
▲
by
ehynds
15y ago
If all your scripts are before the closing </body>, the DOM will be ready by the time they execute, and you can safely ditch your legacy ready wrappers.
15.
▲
by
ehynds
15y ago
"fully ready to use in production", with absolutely no unit tests, and when the question comes up it's immediately dismissed: https://github.com/appMobi/jQ.Mobi/issues/2 Skip.
16.
▲
by
ehynds
15y ago
And then your arrow keys are free to bind to something else useful, like moving between split windows, buffers, etc.
17.
▲
by
ehynds
15y ago
Nothing pisses me off more than when a recruiter calls my work line to pitch their openings, which they seem to be doing more and more lately. For that reason I vote #3.
18.
▲
by
ehynds
15y ago
No one else is upset about the HTML 2.0 doctype on the examples page? WHERE IS THE OUTRAGE? http://www.eclipse.org/Xtext/xtend/#templateexpression
19.
▲
by
ehynds
15y ago
Everyone forgets about -o-animate :(
20.
▲
by
ehynds
15y ago
http://playground.benbarnett.net/jquery-animate-enhanced/
21.
▲
by
ehynds
15y ago
A lot of Stop & Shops here in the Boston area have that too. Someone will randomly audit your shopping cart once every 10 trips so or to prevent theft, which is a hugh time-consuming PITA. Personally, the novelty wore off after the firs
22.
▲
by
ehynds
15y ago
Brightcove is also hiring a RoR dev, a front-end architect, and many other software engineering positions: http://www.brightcove.com/en/company/careers . hollar at me.
23.
▲
by
ehynds
15y ago
That's why you cache methods to reduce lookups. http://jsperf.com/global-namespace-chain-vs-string-based-loc... In your tests the method "add" is pretty far away from it's original variable, and MUCH further away than any jQuery method is
24.
▲
by
ehynds
16y ago
Not if things are in the cache, especially in IE. In this case the xhr will complete almost immediately.