Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marvy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
marvy
8y ago
Couldn't you make the first requester wait until you've made your query?
122.
▲
by
marvy
8y ago
> the fact that ranges include both endpoints - rather than being half-open as in Python - is another such indication No, it's the same indication, twice. Once you've decided on 1-based, you almost definitely want to include b
123.
▲
by
marvy
8y ago
> don't even know they exist That's the worst part. In truth, the 17-year-old amateur has most of the same options (especially library and asking the author). But it might never occur to them that the library will have it, or
124.
▲
by
marvy
8y ago
calling dang...
125.
▲
by
marvy
8y ago
Now THAT's brute force :)
126.
▲
by
marvy
8y ago
Hmm, good points, now that you mention it. Thanks.
127.
▲
by
marvy
8y ago
I'm not so sure that this trope needs to die; it has a grain of truth to it, at least for home users. Consider this situation: I'm browsing the web on my laptop at home. Meanwhile, someone wants to hack into my laptop. Suppose
128.
▲
by
marvy
8y ago
well put
129.
▲
by
marvy
8y ago
Good one. But let's say I want something mutable, so complex won't do.
130.
▲
by
marvy
8y ago
Suppose I want to run algorithms on large arrays of 2D points while maximizing readability. I want to store the x and y coordinates using Python integers so I don't have to worry about overflow errors, but I expect that most of the ti
131.
▲
by
marvy
8y ago
This hasn't been submitted here yet? Glad someone fixed that.
132.
▲
by
marvy
9y ago
The derivation of that law is very suspect: http://proebsting.cs.arizona.edu/law.html (go on, it's just a paragraph.) The key issue that this ignores in my opinion, is that a compiler optimization will rarely make last
133.
▲
by
marvy
9y ago
You could still show what you have, and maybe someone ELSE will polish it.
134.
▲
by
marvy
9y ago
Apparently yes: https://news.ycombinator.com/submitted?id=arcfide And his website: https://news.ycombinator.com/from?site=sacrideo.us I'm sure there are others, but this I happened to know from memory.
135.
▲
by
marvy
9y ago
Sure it does. Users fear warnings they don't understand, and some will not click past they warning. For those users, you might as well replace the page with a 404 for all the good it does them. Maybe there are not MANY such users; I
136.
▲
by
marvy
9y ago
Thank you for writing this. I wanted to say something like this yesterday, but couldn't find the words and decided to wait for today to try. But I would have never put it this well even if I spent a year.
137.
▲
by
marvy
9y ago
Graal.py rubbed me the wrong way, until I read your comment I couldn't put my finger on why. Thank you!
138.
▲
by
marvy
9y ago
Ooh, good point. Import/export kind of does the same thing, but much worse I guess.
139.
▲
by
marvy
9y ago
Is this specific to SAAS? Suppose Word 2003 has A,B,D and WordPerfect has A,B,C, can you ever have C and D at the same time?
140.
▲
by
marvy
9y ago
Much better :)
141.
▲
by
marvy
9y ago
Just a bit of historical correction. The article/post says: "Ten years later, in 1978, his work bore fruit" This gets things pretty wrong. He got the idea in 1977, and his estimate of "this will take 6 months" was
142.
▲
by
marvy
9y ago
Like Ruby!
143.
▲
by
marvy
9y ago
I'm not an expert in this area, but I'm pretty sure they get no money at all from the publishers. Other way around in fact: their libraries spend large fraction of budget subscribing to the journals.
144.
▲
by
marvy
9y ago
I don't know much about this stuff, but I think that this would be considered overkill (and thus too slow) if you don't need crypto-level randomness. But other than that it should be really good.
145.
▲
by
marvy
9y ago
> For example, it doesn’t even _mention_ the diehard and dieharder tests, let alone discuss their merits It mentions the DIEHARD test near the beginning. Try ctrl-F.
146.
▲
by
marvy
9y ago
@j_s: I replied to your comment here: https://news.ycombinator.com/item?id=15910462
147.
▲
by
marvy
9y ago
https://www.jetbrains.com/help/idea/using-local-history.html
148.
▲
by
marvy
9y ago
Ah; makes sense
149.
▲
by
marvy
9y ago
There is a hidden assumption in your phrase "if something is a number". You imply that a zipcode is "obviously" a number. But it's not obvious. A zipcode is obviously a sequence of digits, but not everything that
150.
▲
by
marvy
9y ago
You can store a NJ zip in an integer; you just have to be careful when printing it. Annoying, but if space is scarce, maybe worth it. (Though if space is too scarce for zipcodes, good luck storing anything else more interesting.)
More ›