Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeffdavis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
jeffdavis
6y ago
The difference is that rust is safe by default. When doing something routine/trivial, you are typically operating with safe code.
92.
▲
by
jeffdavis
6y ago
Having a minimal runtime is, I believe, a requirement to make any serious headway into a lot C/C++ use cases. The places where minimal runtime is not important have already seen big shifts to garbage-collected languages ~20 years ago.
93.
▲
by
jeffdavis
6y ago
"I've heard too many times 'just use Postgres', repeated as an unthinking mantra." You use "unthinking" pejoratively, but being able to skip past some decisions without over-analyzing is really important.
94.
▲
by
jeffdavis
6y ago
Maybe it's one of those things where a good union is good and a bad union is terrible. It's easy to say how good a union could be, but will it actually be that good? What kinds of things can go wrong? What weird laws are in plac
95.
▲
by
jeffdavis
6y ago
I have a theory that PHP is kind of like erlang -- as a framework and dev environment, not the language itself. Each request is pretty much independent of the others, and each one can independently crash. There was also CGI, but CGI always
96.
▲
by
jeffdavis
6y ago
Maybe it's worth considering an interface to a big int library that can defer carry work across many operations, and then normalizing at the end? That certainly sounds useful for, e.g., totaling an array of big integers.
97.
▲
by
jeffdavis
6y ago
Yikes. I was just trying to link to a relevant technique that the author might find helpful. A big integer library may have many use cases; a benchmark only shows one data point. It's possible that by deferring carry work across more o
98.
▲
by
jeffdavis
6y ago
The article here: https://news.ycombinator.com/item?id=23351007 specifically recommends against the carry variants of addition, because the instructions are still dependent on each other and don't pipeline well. In oth
99.
▲
by
jeffdavis
6y ago
The more obvious lever here seems to be money. What you are suggesting is very round-about -- somehow slack is so useful that, by denying police its use, they will see the error of their ways? Where does this end? We could also make them we
100.
▲
by
jeffdavis
6y ago
This is what I don't get: saying they are theoretically good but problematic (without necessarily saying "police are a net bad"), and then saying it's unethical to do business with them for routine products. If there is
101.
▲
by
jeffdavis
6y ago
I agree that police are the last line of defense rather than the first. Many places would be quite peaceful without police, though it might depend on the timeframe. Bad actors can do an awful lot of damage, and you really don't want Ho
102.
▲
by
jeffdavis
6y ago
I'm just trying to figure out why it's bad that police use slack. If we don't want police to be able to communicate, why not just disband them? Note that I'm not suggesting we disband them. I am just trying to follow the
103.
▲
by
jeffdavis
6y ago
In response to persistent injustice by police, there are really only a few options: (a) Get used to it. (b) Get ready to join up. More officers who care about justice mean that it's easier to get rid of the unjust officers. (c) Get rea
104.
▲
by
jeffdavis
6y ago
If your city had a ballot initiative to defund and disband the police department, would you vote for it? EDIT: I'm a little confused about the downvotes. If the answer is "no", then what's the problem with police using s
105.
▲
by
jeffdavis
6y ago
Are we saying that: (a) police are a net good, but slack is aiding/encouraging particular bad behaviors; or (b) police are a net bad and we should just deny them anything that enables them to do their jobs; or (c) police are a net good
106.
▲
by
jeffdavis
6y ago
Why do you think I want a violent revolt? If you can protect yourself, you can simply (along with fellow voters) abolish the police. Once they stop getting paychecks, they will go home peacefully. Without private gun ownership, abolishing t
107.
▲
by
jeffdavis
6y ago
To me that's very up-front. There might be a lot of people who would try to hide disqualifying information, hoping you don't find it. There are probably a limited number of landlords who rent to felons, and they have to just make
108.
▲
by
jeffdavis
6y ago
Let's say that there was the "perfect" non-lethal weapon. Kind of like a phaser from Star Trek set to "stun" mode. Would that be a good thing? I imagine there would be a lot of cases where they just stun everyone be
109.
▲
by
jeffdavis
6y ago
Self defense is the general principle, and one of the things it offers is independence from the police. A long time ago maybe that meant not having police at all, today it means that the police can be fired.
110.
▲
by
jeffdavis
6y ago
Where is the MLK of 2020? I want to see someone who can go beyond their anger and have a plan and lead .
111.
▲
by
jeffdavis
6y ago
But the militia was imagined as a different thing than a standing professional army
112.
▲
by
jeffdavis
6y ago
The point is, if citizens are armed, they can keep the peace (more or less) without police for a while.
113.
▲
by
jeffdavis
6y ago
No. Without the second amendment, you are dependent on police for safety -- so dependent that there is little you won't put up with. With the second amendment, you can simply fire the police without (as much) worry for your family'
114.
▲
by
jeffdavis
6y ago
The fact that it was used in '92 for riots means it will be hard to challenge. I feel it is an afront to the Constitution and the founders' intent, though. The Second Amendment is there, in part, to avoid the need for a standing m
115.
▲
by
jeffdavis
6y ago
Should people write programs differently than before, or just use existing concurrency constructs and things will execute with better parallelism?
116.
▲
by
jeffdavis
6y ago
Will this always be a compiler extension, or is intended to be an evolution of the language?
117.
▲
by
jeffdavis
6y ago
What is an example of a simple, serial ocaml program and how you would change it to use parallelism?
118.
▲
by
jeffdavis
6y ago
I feel like we are conflating a civil issue (qualified immunity) with criminal issues like murder.
119.
▲
by
jeffdavis
6y ago
Widely-shared responsibility and widely-shared credit don't have a great track record for accomplishing amazing and bold things.
120.
▲
by
jeffdavis
6y ago
Would there still be an independent judiciary?
More ›