Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nessus42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
361.
▲
by
nessus42
14y ago
> So more pixels is great. Is it really that great? If it reduces eyestrain, then it is worth every penny! I don't know if there is any evidence that it does, but it certainly seems likely that sharper text would reduce eyestrain. I c
362.
▲
by
nessus42
14y ago
If so why isn't Oracle going after IBM for "losing them billions of dollars", like when they went after Google? It's my understanding that Sun had a number of patents specifically for using Java on mobile devices that don't apply to non-m
363.
▲
by
nessus42
14y ago
"That is how Dr. Fleischmann might have liked his obituary to read."
364.
▲
by
nessus42
14y ago
I'm sorry for not being more clear. `db` is a service and the code snippet is client code. I'm not sure what you mean by a "local object" (unless you are referring to C++'s stack-allocated objects). `Id` is a class defined by the service. T
365.
▲
by
nessus42
14y ago
> But these guidelines would suggest that if you are going to call methods on the id object, it's best, if possible, to put the methods in the id object itself. But that would violate the Law of Demeter, as I understand it: E.g., you
366.
▲
by
nessus42
14y ago
If I understand you correctly about the Law of Demeter, and we were to use an `Id` object to represent an ID, then the following would be verboten: val id: Id = db.findUserBySsNumber(ssNumber) println("id=" + id.toString())
367.
▲
by
nessus42
14y ago
By "primitive data types" I didn't mean to exclude built-in collections of primitive data types. Point taken, though: I probably should have said "built-in data types", or some such. I didn't even mean to exclude algebraic data types, as I
368.
▲
by
nessus42
14y ago
I've heard the Law of Demeter at times stated explicitly as that you should usually return only primitive data types from an API. Rich Hickey certainly claims this too, although he doesn't refer to it as the Law of Demeter. The Law of Demet
369.
▲
by
nessus42
14y ago
Named tuples are nice in Python. I wonder how easy it is, though, to modify a namedtuple constructor to do argument validation and to allow for default field values.
370.
▲
by
nessus42
14y ago
On the other hand, the Law of Demeter says that you should almost always be passing in and fetching primitive types. At least in an API. Does it not? Though I'm guessing that "primitive types" would include algebraic data types, which serve
371.
▲
by
nessus42
14y ago
Btw, there are no extra buttons on a Nexus 7. The front of the Nexus 7 looks almost exactly like an iPad down to nearly every last subtle detail: The color and texture of the brushed aluminum trim, the black and proportions of the frame a
372.
▲
by
nessus42
14y ago
I'm constantly entertained by the amazing things that people will claim.
373.
▲
by
nessus42
14y ago
I don't know about Samsung's phones, but I've definitely held a Samsung tablet that did not say "Samsung"--or in fact anything--on the frontside. It was clearly designed to look as much like an iPad as possible. And I now own a Google N
374.
▲
by
nessus42
14y ago
It should be noted that Google Docs also has no Save As. It does have "Make a Copy".
375.
▲
by
nessus42
14y ago
At the time, Berkeley was considered a distant forth, but there was also a big gap between Berkeley and the rest of the pack. I recall that my undergraduate advisor thought that I probably wouldn't be able to get into MIT, Stanford, or CMU
376.
▲
by
nessus42
14y ago
As Rob Pike has said about his patents, everything is obvious in retrospect. In any case, if it's so obvious, where's the prior art? It's not as if web browsers haven't been around for nearly 20 years. It seems to me that Apple has justific
377.
▲
by
nessus42
14y ago
Yes, when I went to MIT in the 80s, Stanford was often considered to be the best overall university in the country, and MIT wanted to become more like Stanford. I don't know when it achieved such stature, but it also had been one of the Big
378.
▲
by
nessus42
14y ago
http://www.straightdope.com/columns/read/1333/can-one-side-o...
379.
▲
by
nessus42
14y ago
Ducks and dolphins routinely sleep one hemisphere at a time. It doesn't seem improbable that humans might also from time to time.
380.
▲
by
nessus42
14y ago
If "pier" and "peer" were merged into one word, then there would be sentences that are ambiguous. No such ambiguities arise with "its" vs "it's". They aren't even the same parts of speech. You also have an incorrect notion of right and wron
381.
▲
by
nessus42
14y ago
I'm still not sure I understand the criticism. I'm sure that Kahn must eventually get to rate of change in his algebra course. The criticism is then supposed to be that Kahn didn't motivate his students on why they should care about slope s
382.
▲
by
nessus42
14y ago
I'm not a math expert either, but rise over run sounds like a perfectly good definition of slope to me, at least for the purposes of an introduction to high school algebra. It is certainly how I was taught about slope, and I went on to gr
383.
▲
by
nessus42
14y ago
Beyond Meat is people! It's people !
384.
▲
by
nessus42
14y ago
In the meantime, I'm dyslexic, and you don't seem to be very considerate of that. Additionally, what I said is not hypothetical. It's a linguistic fact. Your comparison of phonetic spelling to replacing "cat" and "dog" with one word is a li
385.
▲
by
nessus42
14y ago
> the author claims that C limits what can be accomplished. No he doesn't! What he claims is that benchmarks are almost always chosen to be relatively easy to implement in C. What's easy and what is possible are two very different
386.
▲
by
nessus42
14y ago
I'm not sure how much you'd get out of it by "banging" through it. I took SICP at MIT my first semester freshman year, and this class changed my life. I can't even begin to express how amazing I found it. I went to MIT because I wanted to s
387.
▲
by
nessus42
14y ago
O frabjous day! Callooh! Callay!
388.
▲
by
nessus42
14y ago
Everything we can see (which is called our "Hubble sphere") started off as a tiny little (and very massive) speck of stuff at the beginning of time. There were infinitely many tiny little specks, and they all became different Hubble spheres
389.
▲
by
nessus42
14y ago
> Shouldn't it be 13 2 = 26 across?* I guess this depends on how you define "across". Our Hubble sphere is all the space around us for which light has arrived. If the universe is infinitely big, then yes, there are things that we can
390.
▲
by
nessus42
14y ago
Both! If the universe is flat, then it was always infinitely big. And, according to the inflationary universe theory, it expanded faster than the speed of light too. In this case, you have to think of "expanding" as being like stretching
More ›