Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ootachi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
301.
▲
by
ootachi
15y ago
No, there are too many security problems. You could do history sniffing with drawWindow(), for example, by making a link and checking the color. Or you could read the contents of cross-domain iframes, allowing web pages to discover your Fac
302.
▲
by
ootachi
15y ago
A $300k salary is absolutely not necessary to live in Silicon Valley. Also, a $1M house is affordable if you earn 300k a year. Why would you think it's not? You could probably pay that off in 10 years, far short of the 30 year time span o
303.
▲
by
ootachi
15y ago
The style in these is atrocious. Useless commented out code all over the place, typos everywhere ("fede" for "feed", "depdencenies" for "dependencies"), etc.
304.
▲
by
ootachi
15y ago
Right, it doesn't work when you're testing whether foo is a bound name at all. In that case you need to use "window.foo" (or this.foo in Node). And yeah, it's double equals. The coercion is exactly what allows "== null" to do the right thin
305.
▲
by
ootachi
15y ago
"if (typeof my_var !== "undefined" && my_var !== null) { // you idiots put Rasmus Lerdorf to shame }" Someone doesn't know about the "foo == null" idiom (it's true if and only if x is null or undefined). Not to mention the fact that
306.
▲
by
ootachi
15y ago
In theory yes, but LLVM isn't the answer. LLVM knows nothing about the semantics of the language you're compiling on that level. What you're talking about is eliminating boxing and type guards, which require a higher-level optimization fram
307.
▲
by
ootachi
15y ago
Are you talking about C++ overloading? That's static, so tracing won't buy you anything.
308.
▲
by
ootachi
15y ago
Firefox and Chrome both support it, no?
309.
▲
by
ootachi
15y ago
Python pretty much has stopped improving; the world is still largely on Python 2.x. In fact, there was a highly-publicized moratorium on new features that lasted for a long time.
310.
▲
Nintendo employees are apparently "losing hope"
(mynintendonews.com)
2 points
by
ootachi
15y ago
|
0 comments
311.
▲
by
ootachi
15y ago
In my experience it's going to be very hard to make moving elements around performant, unless you're using multiple canvases (which is basically just using the DOM) or you use WebGL. How are you going to solve this problem?
312.
▲
by
ootachi
15y ago
The comments on the "how much did you earn as an early employee from an exit?" thread seem to indicate otherwise. Very few people ever saw their stock options amount to anything.
313.
▲
by
ootachi
15y ago
How should we deal with the mandatory dependency on a particular major/minor/patchlevel version of SQLite? That seems bad to standardize on. I personally think there's definitely room for a SQL database API built into the browser, but Mozil
314.
▲
by
ootachi
15y ago
There's a difference between (a) doing some language design work in private and (b) doing an entire language spec, as well as all the implementation, in secret, then one day shipping it to users and telling everyone else "here's how it is,
315.
▲
by
ootachi
15y ago
This is exactly as open as Android. The language is developed entirely in secret, and code is dumped into a repository on the day of a big announcement. Google's preferred partners (in this case, Chrome) get to see the source before the pub
316.
▲
by
ootachi
15y ago
It doesn't end there; look up encrypted binaries and Dont Steal Mac OS X.kext for more fun examples of DRM built into the kernel.
317.
▲
by
ootachi
15y ago
I can't figure out what you're implying. Why would the two organizations that are "more or less nothing without their position of power over Web standards" be opposed to making the Web better able to compete with native apps? After all, if
318.
▲
by
ootachi
15y ago
While it would be nice if true, few HR departments understand this.
319.
▲
by
ootachi
15y ago
Are we really at the point where engineers can't find jobs because they only know C++ instead of Python and Ruby web stacks? This is a bit concerning, if so.
320.
▲
by
ootachi
15y ago
"Abuse of closures (are those real closures in JS anyway?) leads to spaghetti code." Yes, of course they're real closures.
321.
▲
by
ootachi
15y ago
Ridiculous. Linus could have been working on a startup in his spare time and making millions. Instead he works on scuba diving. HN, take this as an example of what not to do with your life.
322.
▲
by
ootachi
15y ago
This is all fine until level 10. $4M is not easy to achieve, involves quite a bit of luck, and is more than most people will need. It's fine to aim high, but don't frame it as some kind of "level" that you have to achieve or else you've fai
323.
▲
by
ootachi
15y ago
Ironically, this particular information dispersal is directly contrary to the interests of YC -- it is in founders' and investors' best interests to drive the employee option pool as close to 0% as possible, without communicating that fact
324.
▲
by
ootachi
15y ago
"Last week, two ads appeared from the other side of the fence: a programmer-for-hire looking for something to build who claimed to have built a Facebook clone in four days, a Flickr clone in three days and a Google clone in two weeks. He no
325.
▲
by
ootachi
15y ago
"But it's too late for all this, you've signed a contract, so you should follow through, be happy with it, and do a good job." No. Per your contract, you are an at-will employee. You are free to quit at any time, and if you're a valuable em
326.
▲
by
ootachi
15y ago
This is not, as the other comments on this post are suggesting, an issue with Firefox intentionally ignoring platform conventions. Safari has the exact same behavior on the Mac as Firefox — Cmd+Left goes back, and Cmd+Right goes forward, ex
327.
▲
by
ootachi
15y ago
You're confusing Crankshaft with type inference. Crankshaft, which landed around Chrome 10, is an SSA-based optimization infrastructure. Type inference augments an optimization infrastructure with additional information. The two are complem
328.
▲
by
ootachi
15y ago
It's not low-hanging fruit at all. First, making it fast is extremely difficult. JavaScript compilers are under extreme pressure to compile code quickly, unlike any other type-inferring compiler, because JS compilation keeps the user from s
329.
▲
by
ootachi
15y ago
Doesn't surprise me. ptrace() on the first version or two of iOS would panic the kernel with TODO messages. Generally, XNU calls panic() at the slightest sign of trouble, while Linux tends toward more fault resilience (through the oops syst
330.
▲
by
ootachi
15y ago
Are you crazy? iTunes has one of the best user experiences of any app on the market today. Period.
More ›