Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amalcon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
110 ms
·
871.
▲
by
amalcon
8y ago
I'm not the author, but from my perspective: Yes. Dramatically. Non-lexical lifetimes eliminated the most common cases where the compiler was just wrong. Of course you still need to think about lifetimes, and sometimes warp your pro
872.
▲
by
amalcon
8y ago
This presupposes that you are better at finding the best version of the argument than the person actually making the argument. This is often the case, because the person making the argument often didn't put in much effort. It is not a
873.
▲
by
amalcon
8y ago
One thing to note is that this performance tradeoff is actually the reverse of what it was ~20 years ago. This is because CPU speeds have improved dramatically more than RAM speeds over a similar period. Open addressing does do more compar
874.
▲
by
amalcon
8y ago
Is this really surprising? The benefits of driving a large vehicle are all internal (comfort, safety of vehicle occupants, cargo capacity, range between fueling). The costs, however, are mostly external (road maintenance, emissions, safet
875.
▲
by
amalcon
8y ago
Everyone's different. I'd probably pay as much for that windshield ad blocker as I did for my car.
876.
▲
by
amalcon
8y ago
Rules like this are usually less about risk, and more about conveying information. If I see a variable ending in "_", I immediately know to look for its definition in the class rather than the local scope.
877.
▲
by
amalcon
8y ago
I went to Alaska last January. It's like no place else I've ever been. The folks there both really care about the environment and really care about the oil industry. It is a question of much debate there . It's an in
878.
▲
by
amalcon
8y ago
When people say that "programming doesn't involve mathematics", I think they really mean that programming doesn't involve hard mathematics. It's obvious that computers can only calculate, and meta-calculation is
879.
▲
by
amalcon
8y ago
This is actually an interesting distinction. The way that Rust defines "safety" is a little jargon-ish. It's probably more useful than the (highly impractical) colloquial meaning, but still different. In a rust context, &q
880.
▲
by
amalcon
8y ago
> Most people I know use a tiling window manager with terminals. So plain boxes with text in them seems to make sense for many people. As my human-computer interaction prof said back in undergrad: You are not normal . There is a reaso
881.
▲
by
amalcon
8y ago
Transfer payments are presumably excluded because GDP traditionally excludes transfer payments. Including something in the numerator, but not in the denominator, is a good way to get weird ratios. E.g. it would be possible (though it woul
882.
▲
by
amalcon
8y ago
Ooh, good catch. I hadn't heard of those.
883.
▲
by
amalcon
8y ago
What's unique about this is that they don't seem to be considering banning other forms of nicotine. This means that (unlike most substance bans) this could have the effect of pushing smokers toward safer alternatives like transde
884.
▲
by
amalcon
8y ago
> This is a good point and also worth pointing out (in the US at least) that most ophthalmologists will be covered under your medical insurance not your eye insurance (if any) because they are medical doctors. Make sure they code it corr
885.
▲
by
amalcon
8y ago
Part of this is just that USA's chief export is culture. People know about subdivisions of other countries when their country imports a lot of culture from there. E.g. most Americans will know about Sicily and Champagne, because of c
886.
▲
by
amalcon
8y ago
WHO is the best source I know of for most things like this. I was unable to find the exact stat I was looking for, but here is e.g. data on all-cause mortality rate between ages 18 and 60: http://apps.who.int/gho/data&
887.
▲
by
amalcon
8y ago
Life expectancy is a weird stat by which to measure healthcare outcomes. For starters, it responds rather strongly to demographics. E.g. having more males reduces life expectancy holding all else equal. There are many things like this. A
888.
▲
by
amalcon
8y ago
Re: #3, it is important to remember that slope difficulty is primarily rated for skiers. The two sports are very significantly different, even though both can get you down the hill. Ask other snowboarders which runs are the best for begin
889.
▲
by
amalcon
8y ago
Another framing of the issue with negative inertial+gravitational mass is that it would result in perpetual acceleration. E.g. assume two bodies, one with mass M, the other with mass -M. The standard gravitational model describes a "r
890.
▲
by
amalcon
8y ago
I've been doing that since the 1990s (or, at least, when I use a system with a taskbar). I've never seen anyone else who does it either.
891.
▲
by
amalcon
8y ago
At my employer, people who are not members of the class associated with an ERG are still allowed to join, provided that they are supportive. Is this not the case elsewhere?
892.
▲
by
amalcon
8y ago
Why do you think they aren't? Sure, Texas doesn't have anything like the NSA. Still, you can bet that Texan senators and reps discover things that they aren't officially supposed to know, and some of that information reache
893.
▲
by
amalcon
8y ago
> If this information is beneficial to both sides, it should be freely exchanged. A lot of it is. You still want independent confirmation of these things. It reduces incentive to lie (by increasing the probability of being caught), and
894.
▲
by
amalcon
8y ago
Probably the best approximation of this right now is the simplest: make the clothing of a low-reflective (black) material. You can try a version of this at home: the discoloration of a black fabric is much less visible than that of a whit
895.
▲
by
amalcon
8y ago
One thing to watch out for is that a process running as "nobody" has permission to manipulate (e.g. kill) other processes running as that user. This sometimes includes system processes. Allowing any user to run arbitrary command
896.
▲
by
amalcon
8y ago
In SQL, you can at least wrap the whole thing in a transaction. Then, just roll the whole thing back if anything came out wrong.
897.
▲
by
amalcon
8y ago
My absolute favorite is probably radix-sort. It's simple enough to explain to a child, easy to implement correctly relative to comparison sorts, and occasionally actually useful.
898.
▲
by
amalcon
8y ago
Assuming this is a serious question, no, it's not. The goal of a hostage negotiation is to secure the safety of the hostages without capitulating to their captors. While arranging a violent solution is one way to do this, and it does
899.
▲
by
amalcon
8y ago
Bitcoin, on the other hand, leaks your entire transaction history to the world. Hardly an improvement.
900.
▲
by
amalcon
8y ago
Or, more likely in the case of many smaller privately-held venues, get a loan from a bank secured by the future ticket sales.
More ›