Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weberc2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
92 ms
·
931.
▲
by
weberc2
7y ago
It’s not just rides, but also matching drivers with riders, geofence lookups, etc. it’s not a CRUD app.
932.
▲
by
weberc2
7y ago
Your post doesn’t address mine. I gave specific advice for addressing the GP’s issue. It’s much easier to move your allocs out of the hot path in Go than it is to do virtually anything in C++. I’m not claiming Go will compete with C++ on pe
933.
▲
by
weberc2
7y ago
The original claim was that concurrency is easier in Go, not that Go has a higher performance ceiling. You are the one making the different argument. :)
934.
▲
by
weberc2
7y ago
Presumably he was downvoted for responding to “concurrency in Go is easier” with “Disagree. I can get every bit of performance out of an 88 core CPU with C++”. It’s not a coherent counter argument; no one claimed Go was as efficient as C++,
935.
▲
by
weberc2
7y ago
That's ... not helpful. I already profile and profiling indicates that allocations are slow and sweeps are fast. Go's optimization for this is escape analysis which is a best-effort attempt to put things on the stack. Because the
936.
▲
by
weberc2
7y ago
I guarantee you the "little bit of planning" you're doing in C++ is far greater than the equivalent planning in Go to avoid the global allocator in your goroutines (i.e., allocate on the stack, use object pools, etc). I'
937.
▲
by
weberc2
7y ago
Usually I use pools to avoid the allocation cost. The GC sweep is not usually my problem.
938.
▲
by
weberc2
7y ago
Python is also a GC’d language...
939.
▲
by
weberc2
7y ago
My post had nothing to do with creationists nor were they a principle feature of the thread. I’m not really interested in this tangent. If creationism is a metaphor for pseudoscience in general, then my beef is that the Guardian publishes i
940.
▲
by
weberc2
7y ago
I think you’re responding to the wrong person. I didn’t say anything that remotely resembles this...
941.
▲
by
weberc2
7y ago
It’s not hard to distinguish between someone who is trying to be neutral and objective and someone who is pushing an agenda. It’s one thing to accidentally let some bias slip in and quite another to advocate openly for your worldview. Notab
942.
▲
by
weberc2
7y ago
That is also my impression. Especially on social issues, so much of what they publish is shamelessly ideological. I get that we can't completely eliminate bias, but I have no use for a publication that makes no attempt.
943.
▲
by
weberc2
7y ago
This is a pretty bold statement. How many Americans do you know?
944.
▲
by
weberc2
7y ago
ACA requires insurers to cover pre-existing conditions. That's a cost that needs to be recovered, and most of that additional coverage comes by increasing premiums. Ergo, ACA increases premiums.
945.
▲
by
weberc2
7y ago
> The subject is well-trodden, there's not much to debate And yet we see the same incorrect information trotted out over and over again.
946.
▲
by
weberc2
7y ago
> There are plenty of pitfalls in leaky abstractions Sure, but this is a _massive_ pitfall. It's an optimization that can trivially make your code slower than the naive Python implementation, all due to a leaky abstraction. > Reg
947.
▲
by
weberc2
7y ago
I think it's something else (or perhaps I'm only elaborating on your point)--the proliferation of postmodern ideologies (e.g., progressivism) throughout our epistemological institutions (principally the media and the academy) whic
948.
▲
by
weberc2
7y ago
> great exchange of the white people What is this referring to?
949.
▲
by
weberc2
7y ago
Last I tried Brave it still felt very Beta-esque. Has it improved in the last year?
950.
▲
by
weberc2
7y ago
Specifically, how does one measure democracy ? I hadn't thought about this before, but I'm intrigued and no good answers are springing to mind.
951.
▲
by
weberc2
7y ago
The other party(ies) could do the same, so I don't see how this is any worse than the current system.
952.
▲
by
weberc2
7y ago
> it's that the natural evolution of the two-party system has forced us into choices that are more polarized than ever before in the history of the US I don't think this is supported by the evidence. Polarization in the US hasn
953.
▲
by
weberc2
7y ago
Agreed, but the scenario we’re discussing is a US company sourcing parts from a Chinese company. The PRC’s stiff penalties don’t protect the consumer in this scenario.
954.
▲
by
weberc2
7y ago
I don't know man. That sounds more like you're in a media bubble than it sounds indicative of some broader trend. The media report the exceptional, not the norm. It doesn't mean you're wrong, but just that this evidence
955.
▲
by
weberc2
7y ago
You and the parent are saying the same thing. You're just mincing the word "force". You're insisting on using it in a different figurative sense than the parent, but the parent's meaning is perfectly clear.
956.
▲
by
weberc2
7y ago
It's not at all obvious that "they" refers to "netflix and other post-production oriented users", and your argument is a tautology "Python is good at the things that Python is good at". Obviously. The rest
957.
▲
by
weberc2
8y ago
Honest questions: 1. Is there any compelling evidence that this incident is attributable to "free market economics"? It seems equally possible that it's attributable to notoriously poor incentive structures in government agen
958.
▲
by
weberc2
8y ago
On the other hand, at least the American supplier was fined and someone went to prison. Fraudulent Chinese suppliers routinely escape justice altogether because they largely operate outside of US jurisdiction.
959.
▲
by
weberc2
8y ago
Who is “they”? What is your point?
960.
▲
by
weberc2
8y ago
It’s a problem for lots of things Python is used for, but maybe not vfx (whatever that is).
More ›