Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pjscott
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
871.
▲
by
pjscott
13y ago
For fairly small values of "implemented in C". In CPython 2.7.5, the list comprehension [doc for doc in all_docs if doc not in results] generates this bytecode (output by the dis module): 0 BUILD_LIST
872.
▲
by
pjscott
13y ago
Anything too big to fail is scary. What if it fails?
873.
▲
by
pjscott
13y ago
Assume for a moment that I don't know what you mean by 'reductionist'; why is it wrong?
874.
▲
by
pjscott
13y ago
The address space may be flat, but the latency will vary a lot depending on what part of the memory you're dealing with. https://en.wikipedia.org/wiki/NUMAlink
875.
▲
by
pjscott
13y ago
We can. Whenever I see "Would you like to install our app? Y/n", my answer has been Ctrl-w to close the tab. This strategy has worked flawlessly for years. It can work for you, too.
876.
▲
by
pjscott
13y ago
That interaction is not required, and therefore does not meet the stated criteria for spam-button retribution.
877.
▲
by
pjscott
13y ago
If enough users press "unsubscribe" to a sender, and that sender doesn't stop sending them emails, this is a high quality signal that the sender needs to be blocked altogether. If GMail's response to this kind of signal
878.
▲
by
pjscott
13y ago
Dry your tears! A Perl example can be found in the synopsis of this fine POD file: http://search.cpan.org/~gray/Crypt-Scrypt-0.05/lib/Crypt/Scr...
879.
▲
by
pjscott
13y ago
I wonder how many generations I'll eventually turn out to have been born in.
880.
▲
by
pjscott
13y ago
From the headers: Content-Type: text/html;charset=UTF-8 It also tries to set no less than four cookies.
881.
▲
by
pjscott
13y ago
Nope! Being a hatchet-burier weakens my current hatchets. I'm still boycotting GoDaddy, for example, even though I forgot why. Presumably I had a good reason. And when I've forgotten why I was mad at the companies who wrong me tod
882.
▲
by
pjscott
13y ago
They do matter, right up until the moment when they immediately and forever stop mattering.
883.
▲
by
pjscott
13y ago
When in Rome, do as the Romans do.
884.
▲
by
pjscott
13y ago
That means "We would rather accidentally reject great engineers than accidentally hire bad ones. Our hiring process reflects this."
885.
▲
by
pjscott
13y ago
If you create usernames or passwords ending in a backslash, like "foo\", you'd be surprised how many web sites break.
886.
▲
by
pjscott
13y ago
One approach: you look at what the physical laws appear to be, and then ask "What weird edge cases would we expect to see if and only if this were running in a particular type of simulation?" That's what the paper linked to d
887.
▲
by
pjscott
13y ago
I didn't know about them at the time, and I wasn't the one who wrote the script that spawned it.
888.
▲
by
pjscott
13y ago
If one of those scripts forgets to kill a process's children (because the process itself was supposed to handle that), and a server ends up with a bazillion orphaned processes, then it could well become your problem! This happened to m
889.
▲
by
pjscott
13y ago
Do "memo" and "pub" irritate you as well?
890.
▲
by
pjscott
13y ago
Upstart can set resource limits on anything setrlimit(2) offers, including memory and processor. It's not as flexible or reliable as systemd's use of control groups, though.
891.
▲
by
pjscott
13y ago
Congratulations! Wine's existence continues to be superior to its nonexistence. I can't say it's ever been convenient to use, but switching operating systems has always been at least slightly worse.
892.
▲
by
pjscott
13y ago
Looking at the most successful religions, a few candidates spring to mind: * Proselytism: if you don't go looking for converts, you probably won't get them. In particular, a lot of religions are inextricably linked with ethnicitie
893.
▲
by
pjscott
13y ago
Interesting that you bring up Richard Dawkins, as he seems to be adamantly in agreement: http://old.richarddawkins.net/articles/119-why-i-won-39-t-de...
894.
▲
by
pjscott
13y ago
It was a different time. Intertwining your world made sense if it could squeeze a BASIC interpreter into 4k. Now my laptop has 8000000k of memory.
895.
▲
by
pjscott
13y ago
Depending on where you live, that may not be enforceable. In California, for example, stuff you make on your own time, without using your employers resources (etc.), belongs to you, and your employer has no say in the matter. (I am not a la
896.
▲
by
pjscott
13y ago
Oh! There was an article down there! I'm embarrassed to say that I genuinely didn't notice it. I just closed the tab in disappointment. Also, the scrolling is broken. You press "Page Down", and you miss some of the text
897.
▲
by
pjscott
13y ago
I've run into plenty of cases where something was unacceptably, brokenly slow for a handful of inputs, and I wanted to figure out why, and then I realized "Oh, this bit of code is O(n^2) and it's running into a weird edge cas
898.
▲
by
pjscott
13y ago
I remember when peeking and poking were totally normal things that people did. The world is more convenient now, I suppose.
899.
▲
by
pjscott
13y ago
Any JS-injection-based software that's actually good enough for people to use is probably going to be impressive -- and horrifying. If you try writing some, you will know my words to be true.
900.
▲
by
pjscott
13y ago
And you can usually get significantly larger speedups if you profile to find hotspots and then declare the types of a few variables in them.
More ›