Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yonran
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
361.
▲
by
yonran
14y ago
I believe you meant Defect-Cooperate gives the defector a better payout than Cooperate-Cooperate. At any rate, I’m not sure that it makes a difference in this video.
362.
▲
by
yonran
15y ago
Every time I have tried to jump into a project, it has required a couple hours to figure out the compilation method, unit test runner, peculiar inheritance structure, or messy class names. This is simple stuff that the author left out of th
363.
▲
by
yonran
15y ago
The 45° “bird’s eye” imagery was a feature that Bing had first, but Google has been adding it gradually (including at Cupertino where you linked). If you enable the MapsGL experiment, the Google version also uses 3D buildings to rotate very
364.
▲
by
yonran
15y ago
The szl language (which was used at Google for log processing) has a output type called unique(n) [1], which uses a simple algorithm: it stores the smallest n sorted MD5 hashes, assumes that the hash is uniformly distributed and there are n
365.
▲
by
yonran
15y ago
If you want to prove that a complicated function which contains a forbidden line will ever actually execute that line given any input, then yes, the turing-completeness of Javascript makes it difficult to prove that the function is safe, be
366.
▲
by
yonran
15y ago
Question: does the HTMLImageElement actually contain fewer pixels, or is it just displayed low-res? Could you take your jpeg, paint it on a canvas using script, and then display it full-resolution?
367.
▲
by
yonran
15y ago
You can always remove it in the inspector. Perhaps this kind of nonsense merits a bookmarklet? I wonder whether this would fix many websites (I'm thinking AllRecipes?). Array.prototype.forEach.call(document.querySelectorAll("*"), function(x
368.
▲
by
yonran
15y ago
Would storing a git bundle on dropbox be better to avoid concurrent modifications to your refs? (A git bundle is just a git pack file of commits along with new ref pointers in a single file). Could you push to one bundle per computer and th
369.
▲
by
yonran
15y ago
Not only is the definition of pixel unexpected, but 1in is now defined to be 96px in CSS 2.1, because this was the default in Windows for so many years. In retrospect, given whole page zoom from Opera and high-resolution displays from Apple
370.
▲
by
yonran
15y ago
I disagree. The obvious benefits of Javascript in the browser are that it is distributed universally, can be deployed to others easily, and has a reasonably powerful API (but not powerful enough to shoot your foot). I think the ease of appl
371.
▲
by
yonran
15y ago
When I took CS61A over 8 years ago with Prof. Hilfinger, one of the revelations was how few primitives you need to make a powerful language. Using define, cons, cond, and a couple other functions (but no loops and no assignment), you can wr
372.
▲
by
yonran
15y ago
This means that for applications that want to store binary data as efficiently as possible in localStorage (e.g. Offline Wikipedia https://news.ycombinator.com/item?id=3409512 ), you can pack two bytes into each string character. ECMAScrip
373.
▲
by
yonran
15y ago
Instead of being angry that they didn't maximize their profits, could it be that the sellers were _offended_ that someone would maximize profits with their possessions? I can imagine a couple reasons: 1) The Toy Story 3 plot: people want to
374.
▲
by
yonran
15y ago
I believe this was the original discussion: http://news.ycombinator.com/item?id=8863 (2007-04-04) and the fixed video link is https://www.dropbox.com/screencast Edit: and here's the digg link but I can't figure out how to get anything u
375.
▲
by
yonran
15y ago
Some terminology that you didn't need to know in 2005: "device pixel": what the screen reports is a pixel. Usually it's a square containing red, green, and blue, but not if you use a PenTile display. "CSS pixel" is what widths and clientX a
376.
▲
by
yonran
15y ago
When I'm on someone else's phone or computer, I just search for [hn] to geT here quickly.
377.
▲
by
yonran
15y ago
TeX's original goal of 'allowing anyone to create typeset documents' Actually, according to this interview[1], speaking of the very first version of TeX, "I should mention that I had no idea that I was designing a typesetting system
378.
▲
by
yonran
15y ago
If your question is whether HTML5 is backward-compatible with IE6, then the answer is yes (as much as possible). It should be noted that much of the parsing complexity and looser validation are simply observations from IE6's behavior. The n
379.
▲
by
yonran
15y ago
It just reads like an annoying Google Voice transcript. Probably bears no resemblance to the presentation to Bezos.
380.
▲
by
yonran
15y ago
Besides, almost all of these patents seem to protect the ornamental design rather than the utility. Most people here don't object to patenting the design of cases and the like.
381.
▲
by
yonran
15y ago
It's also available from senate.gov: http://judiciary.senate.gov/hearings/hearing.cfm?id=3d9031b4...
382.
▲
by
yonran
15y ago
I wonder why the Sun implementations of the examples from java.lang and java.util, which are distributed with the JDK, are labeled "HIGHLY CONFIDENTIAL" and redacted.
383.
▲
by
yonran
15y ago
I should have elaborated further. I keep seeing the GP's implication that it's hypocritical of Warren Buffet to suggest changes to the rules when he has already won a lot of money. I think this argument is a red herring, and the reason that
384.
▲
by
yonran
15y ago
If a player of a game says that the rules should be fixed, shouldn't the fact that he happens to be the _best_ player make him more credible rather than less so?
385.
▲
by
yonran
15y ago
This sounds the same as the Broadband Conduit Deployment bill that was discussed in 2008 right after the Stimulus had passed. I haven't seen a word written against it, yet apparently it never became law. What gives? Who opposes it?
386.
▲
by
yonran
15y ago
I would hesitate to call the use of an object as defined in the ECMAscript spec "misuse." Perhaps it is becoming a best practice to avoid it, but it's not misuse yet until we know that it causes an unavoidable performance degradation. The l
387.
▲
by
yonran
15y ago
Does this mean that passing the arguments object to any function (even Array.prototype.slice) will ruin your performance? This is extremely common in many libraries' bind/partial functions e.g. Underscore, Closure, var_args in Coffeescript.
388.
▲
by
yonran
15y ago
Video: http://www.youtube.com/watch?v=I1edQuxclUs&t=1h37m
389.
▲
by
yonran
15y ago
The first couple hours were a poor experience for me too. iTunes on my dad's Mac Mini said it was the latest version but it turns out it was just the _last_ version for PowerPC, and it can't activate iPads. Then I poked around with libimobi
390.
▲
by
yonran
16y ago
I think the Google Closure library does the same thing with goog.net.xpc.IframeRelayTransport. http://closure-library.googlecode.com/svn/docs/class_goog_ne...
More ›