Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
just2n
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
151.
▲
by
just2n
13y ago
The cookie monster only goes after people with lots of cookies, especially when they don't even realize they have them. Unfortunately, there's still no NoScript for Chrome :(.
152.
▲
by
just2n
13y ago
In order to access our Web site, your Web browser must accept cookies from NYTimes.com. In that case, I have no interest in any of their articles.
153.
▲
by
just2n
13y ago
> Please log in. Can we do something about paywalled links here, please? This is the 5th one on the front page today.
154.
▲
by
just2n
13y ago
Hey guys, there are these terrorists that live over there, it's somewhere in the middle east, but it's not really important where. They hate us, for some reason. Probably religious reasons. You know, the extremists, not to say tha
155.
▲
by
just2n
13y ago
The problem is that FPTP mathematically guarantees a 2 party system in a steady state. So long as you own the 2 parties, you effectively own the government. What's worse is that it also actively works against additional parties. We als
156.
▲
by
just2n
13y ago
There's nothing really wrong with RPC-like APIs. They're often much simpler to use in modern web development, for developers with access to documentation. Hyperlinking has a few benefits, the biggest being discoverability without the need f
157.
▲
by
just2n
13y ago
That was just caused by me not processing input properly. I've set up a proper rendering loop here and now only render the most recent mouse position on each frame: http://jsfiddle.net/eymAS/84/ It's better, but still limited to 60fps, an
158.
▲
by
just2n
13y ago
I'm being forced to look at ads that I don't want to see which contain products that I neither want nor need. And this is being perpetuated as "the business model of the internet" by Google, creating an excuse to pervasively (often perverse
159.
▲
by
just2n
13y ago
Backbone uses jQuery's event delegation, so there should've been minor differences between the two cases you describe, mostly with how listening to the Models/Collections worked. Additionally, it sounds like you might've been binding a rend
160.
▲
by
just2n
13y ago
Yes. This is precisely the problem. The inheritance model used by Backbone will be significantly more performant in terms of method calls, in general, because it doesn't implement a `super` concept. The construction should also favor Backbo
161.
▲
by
just2n
13y ago
It certainly doesn't imply you're being truthful. Glassdoor also suffers from the same problem. It's voluntary, unverifiable data. Using it as a source does not help your credibility.
162.
▲
by
just2n
13y ago
I have decided to rename my seach engine company from SEARCHMoogel to Moogel (pronounced "moogle") and file a trademark lawsuit against Google for being too similar. I'll let you know how it goes. I think we have a winning argument, here.
163.
▲
Chromium - Back swipe gesture causes scroll bug on Mac
(code.google.com)
1 points
by
just2n
13y ago
|
0 comments
164.
▲
by
just2n
13y ago
I found CLRS's explanation of divide and conquer gives a very intuitive understanding of what a logarithmic time algorithm is doing and why it runs in logarithmic time. A little bit of nitpicking on the accepted answer: the list seems to im
165.
▲
by
just2n
13y ago
It sounds to me like she's trying to build another Google. It's really (almost impossibly) hard to dethrone innovators without actually doing any innovation. It's equally difficult keeping talent when the corporate culture isn't hacker-cent
166.
▲
by
just2n
13y ago
Yep. Here's a version without using 3d (no layers generated for the followers): http://jsfiddle.net/eymAS/29/ The layout/composition/painting etc is taking roughly 5x longer now. Chrome is smart enough to do it all just once, though, so i
167.
▲
by
just2n
13y ago
People generally mean their manipulation of DOM is effectively slow. That's a perfectly accurate statement, but the problem is calling the DOM slow as a result. The real culprit is often that doing stupid things with the DOM cause style rec
168.
▲
by
just2n
13y ago
The parent's comment was that it is essentially infeasible to have a single div follow the cursor due to performance issues with the DOM. The fiddle includes 160 divs and opacity to demonstrate that that claim is false. There's an awful lot
169.
▲
by
just2n
13y ago
Like this? http://jsfiddle.net/eymAS/2/ The DOM is faster than almost everyone believes. It's not 2001 anymore, guys. Web components solve a lot of major problems, but it has little to do with DOM/CSS performance and more to do with encap
170.
▲
by
just2n
13y ago
Cool article. I'm a big fan of noQuery. One thing you could improve is regarding appending, using insertAdjacentHTML instead of constructing the DOM manually in a document fragment. It's significantly less code and should perform better.
171.
▲
by
just2n
13y ago
18 trackers via Ghostery. Tiny article split into 3 pages. Uber-janky scroll. First on the list is Drupal. itworld.com, never again.
172.
▲
by
just2n
13y ago
This is less an issue with "very small examples" and more an issue of people throwing the practices out when they build more complex software. Highly performant JS ends up looking a lot like C, and most of the off-the-shelf JS libraries tha
173.
▲
by
just2n
13y ago
> I imagine at some point they'll be able to retrofit the API to use web components underneath. They still use absolute positioning, don't use CSS whenever possible, and manually do everything in JS just to support IE. All of its vbox/h
174.
▲
by
just2n
13y ago
Years of experience working with the library and being forced to rewrite almost every major component of it due to it being completely buggy and broken. Version upgrades massively break every application using it. It's impossible to style b
175.
▲
by
just2n
13y ago
A "web component" is some stand-alone combination of HTML/CSS/JS that does some thing. It should not conflict with the application that uses it in any way. It should, however, allow the application to communicate with it (to modify its stat
176.
▲
by
just2n
13y ago
I wouldn't use ExtJS as an example of how to do anything right. Nothing (no frameworks, no previous standards, not even plugins) has ever enabled true component-level sandboxing within the same document. This is just HTML/CSS/JS that is san
177.
▲
by
just2n
13y ago
> The cost of living is always increasing, and the flashy money from silicon valley is accelerating the gentrification of SF. rent-control is a last ditch effort to prevent those who grew up here from being displaced, but in return prev
178.
▲
by
just2n
13y ago
The approach would be to fix an upper bound on memory and to enumerate all possible state, running the program each time and determining if all cases terminate or if any runs forever? I think the real crux of the problem is that you can't d
179.
▲
by
just2n
13y ago
The breakthrough isn't necessarily in efficiency (the title is misleading), but rather that it is done using low quality silicon which I would suspect means the costs would come down drastically compared to current top-performing cells. The
180.
▲
by
just2n
13y ago
A quick TLDR from the article: The breakthrough involves using hydrogen atoms to counter defects in silicon cells ... [so that] poor quality silicon can be made to perform like high quality wafers. A 25% improvement to ef
More ›