Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
timothya
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
timothya
13y ago
You could do: var boundEvent = handleEvent.bind(this); document.addEventListener('click', boundEvent); and later: document.removeEventListener('click', boundEvent); This situation is a bit messier,
152.
▲
by
timothya
13y ago
The big difference is that unlike `apply` (and `call`), `bind` does not call the function, it just gives you a new function that you have to call later (or use as an event handler). `bind` returns a new function, which has it's context
153.
▲
by
timothya
13y ago
I've used bind to do partial function application for quite a while, and it really is a convenient pattern to use. It does have the downside that it's a bit harder to quickly understand what's going on, though, since the argu
154.
▲
by
timothya
13y ago
I agree that automatically-updating extensions has the potential to be somewhat insecure. However, I don't see how the alternative could be a better alternative. If they didn't auto-update, then the majority of users would likely
155.
▲
Google’s VP9 Video Codec Gets Backing from ARM, Nvidia, Sony And Others
(techcrunch.com)
3 points
by
timothya
13y ago
|
0 comments
156.
▲
by
timothya
13y ago
> All IPC happens using the Chromium IPC libraries Interesting that they chose to share code with Chrome. Since the two are competitors, I would have thought that they'd use completely separate implementations. It's interesti
157.
▲
Googlebot now crawls and indexes Android apps
(plus.google.com)
1 points
by
timothya
13y ago
|
0 comments
158.
▲
by
timothya
13y ago
I think the point he is trying to make is that most people think they understand it when they really don't.
159.
▲
by
timothya
13y ago
Or they will use it to track every video you watch and post it on Google+ Please don't spread misinformation; this doesn't happen. All the while serving ads that are suited to your taste based on the video you are watching. Ye
160.
▲
by
timothya
13y ago
A lot of those still exist, just not in quite the same way that they did before or as part of other products. It's a bit dishonest to pretend that all of the functionality in the products you listed above isn't still available (fo
161.
▲
by
timothya
13y ago
I wouldn't exactly say that AppEngine doesn't have much traction. Every month, half the world's IP addresses touch some service hosted on AppEngine[1], which is a pretty huge number. [1]: And that statistic is more than a yea
162.
▲
by
timothya
13y ago
To where? As far as I know, the current version of HN isn't open source.
163.
▲
by
timothya
13y ago
I've been hoping this would happen for a long time. Most of the views look really good, but I'm not very excited about the code view. The font on the code is bigger than necessary, in my opinion, and the word-wrap on the code text
164.
▲
by
timothya
13y ago
It's very exciting to see Dart reaching beta status. The project is definitely maturing, and hopefully this means that the 1.0 release will be in the next few months. The Angular team recently announced[1] that they are going to start
165.
▲
by
timothya
13y ago
What were you paying for Chrome Frame? Sometimes, it makes sense to retire products. And if you're not making money on the product, then it can be expensive to keep supporting it. I think six months is still a reasonable amount of adva
166.
▲
by
timothya
13y ago
My understanding (though I'm not an expert) is that the way the JavaScript spec is written, you first try to parse a line as is, and if you encounter a parsing error in trying to do that and the line doesn't have a semicolon, then
167.
▲
by
timothya
13y ago
Is it an XSS if you can only make it output code to your own browser? I can already execute whatever JavaScript I want in the console, so what's the advantage of having the server deliver that code to (only) me? I can definitely see the iss
168.
▲
What I learned using only Google products
(computerworld.com)
2 points
by
timothya
13y ago
|
0 comments
169.
▲
Google publishes post-tornado satellite imagery of Moore, Oklahoma
(plus.google.com)
3 points
by
timothya
13y ago
|
1 comments
170.
▲
by
timothya
13y ago
The team said at I/O that they're trying to hit 1.0 sometime this summer.
171.
▲
by
timothya
13y ago
At Google I/O this year, Google indicated some interest in asm.js, and noted that since asm.js was released V8 has already gotten significantly faster in running asm.js code. With regards to Dart, Google has said that they plan to get the l
172.
▲
by
timothya
13y ago
Respectfully, I disagree. I've written Java in plaintext editors before, and that is truly terrible. Dart is nowhere near that verbose. Dart's imports feel pretty lightweight (rather Python-esque) and the fact that the language has top-leve
173.
▲
by
timothya
13y ago
My only concern is lack of browser support. Because Dart compiles to JavaScript (which can even perform better than handwritten JavaScript to perform the same actions[1]), it runs everywhere. You don't need the Dart VM built into a browse
174.
▲
by
timothya
13y ago
Here is what I think about Dart: it is huge and is another programming planet that you can't reuse what you already have (like thousands of libraries in NPM). Dart has a js-interop library for the times that you want to reuse some code wr
175.
▲
by
timothya
13y ago
IDE like Eclipse You don't need to write Dart in the Dart Editor if you don't want the IDE experience. I happily write Dart in Sublime, and Dart has command-line tools that I can use to validate the code that I write. But web developers,
176.
▲
by
timothya
13y ago
One of the best use cases for this is on mobile. Conversion rates on mobile are really low because users usually don't want to dig out their credit cards when on their smartphone, let alone fill in all their details on a tiny screen. The ab
177.
▲
Google Hangouts Community Manager: "SMS integration is coming soon"
(plus.google.com)
3 points
by
timothya
13y ago
|
0 comments
178.
▲
by
timothya
13y ago
I think they are trying to move more towards the long-lived conversations, where it shows you if the person is there and willing to be interrupted (the green bar), or they simply are not necessarily there to answer right now (because they a
179.
▲
by
timothya
13y ago
Online users are shown with a green bar under their photo. Inside the conversation, if someone is faded out then they are not there, but an unfaded image shows when they are currently in the conversation.
180.
▲
by
timothya
13y ago
I've known plenty of people who have opened bank accounts in the US without an SSN. I don't think it's strictly required.
More ›