Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thedance
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
361.
▲
by
thedance
7y ago
Sure I guess that would be the perfect conclusion of the state's evolution, if you completely erased even the few remaining symbols of the native people and replaced them with that classic of white culture, the Farmer vs the Cowman.
362.
▲
by
thedance
7y ago
What is a thing that instantly reminds you of Oklahoma, but isn't something negative like race riots, manmade earthquakes, teenage pregnancy, and domestic terrorism? Come to think of it the honest history of Oklahoma makes a hell of a
363.
▲
by
thedance
7y ago
If it's so easy to render, why do these assets looks terrible? https://branding.ok.gov/wp-content/uploads/2020/02/graphic-e...
364.
▲
by
thedance
7y ago
Well, maybe. I would not be willing to claim it without showing that some practical workload was bound by memory throughput.
365.
▲
by
thedance
7y ago
You just answered the question. It would be interesting to see TR and EPYC head-to-head in server workloads, to confirm or deny the theory that EPYC is better for them.
366.
▲
by
thedance
7y ago
Computers exist to run software. If the computer doesn’t actually run the software well, then it’s not interesting that it seems powerful on paper.
367.
▲
by
thedance
7y ago
Why would the chipset be involved in any way?
368.
▲
by
thedance
7y ago
There are loads of places where it’s more convenient to test a bit vector than compare a scalar value. It’s just cheaper at runtime. Of course it may be possible to cheaply extend the bit vector scheme to 128 bits or even 256 fairly easily,
369.
▲
by
thedance
7y ago
It can't though.
370.
▲
by
thedance
7y ago
I hope people give this a shot despite the fact that jemalloc has a ton of mindshare these days. In particular I hope people try to integrate this allocator into their program, rather that just replacing malloc via LD_PRELOAD, since most of
371.
▲
by
thedance
7y ago
The standard doesn't give advice about how to break features of the standard, so disabling exceptions is a non-standard feature of the implementation. If you're planning to disable exceptions you'd better read the docs that
372.
▲
by
thedance
7y ago
A small computer with 1 SSD will take at least 10-20 minutes to make a pass over 1TB of data, if everything is perfectly pipelined.
373.
▲
by
thedance
7y ago
What you described seems like it would have been dead simple in Flash.
374.
▲
by
thedance
7y ago
bad_alloc doesn't just naturally spring into being. If you override operator new, your implementation may not use it (for example tcmalloc does not throw if it can't allocate, it logs a message and terminates the program). Many s
375.
▲
by
thedance
7y ago
The news is that the NTSB released new information. Unfortunately their site is now down.
376.
▲
by
thedance
7y ago
That may be the explanation they've settled on but there are build artifacts at that company which would be impossible to link without -fno-exceptions, so there are also practical problems.
377.
▲
by
thedance
7y ago
Stroustrup constructs a bit of a false dichotomy there. He presents the choice between exceptions and explicit error propagation and checking, but there is a third way. If the allocator is simply infallible and std::bad_alloc just doesn&#
378.
▲
by
thedance
7y ago
When you disable exceptions anything that throws calls std::terminate instead. It's actually great.
379.
▲
by
thedance
7y ago
Exceptions being contrary to zero-overhead is not something that is just my opinion. Here's Herb Sutter's detailed white paper on the topic: http://www.open-std.org/jtc1/sc22/wg21/docs/papers&#
380.
▲
by
thedance
7y ago
Thanks for holding the discussion to exact standards. What I meant about the base class constructors is the compiler must generate a derived-class constructor that can unwind the completely constructed base in case the derived class throws
381.
▲
by
thedance
7y ago
Yeah because that's going to go well: taking a major page fault whenever you throw. Let me know how that works at scale.
382.
▲
by
thedance
7y ago
I'm sure it varies from one group to the other. This CppCon talk from 2014 says no exceptions are permitted in mars rover flight software. https://github.com/CppCon/CppCon2014/blob/master/Presentati
383.
▲
by
thedance
7y ago
The cost comes from having to track what automatic and temporary objects have been created and attaching them to the exception context so you can destroy them if an exception is thrown. Another cost is having to track which base classes of
384.
▲
by
thedance
7y ago
It should be well-known that actually throwing an exception in C++ is extremely costly. I think it is also fairly widespread knowledge that even allowing the compiler to support exceptions has runtime costs. Exceptions do not conform to C+
385.
▲
by
thedance
7y ago
The future is here, and it's not an iPhone, it's a big-ass table. https://www.youtube.com/watch?v=CZrr7AZ9nCY
386.
▲
by
thedance
7y ago
The delivery aspect of the pizza business does not need to be profitable as a stand-alone endeavor, whereas the delivery part of Uber Eats does. And it's the driving part that doesn't make any sense. Obviously people have been d
387.
▲
by
thedance
7y ago
Actually there’s whole business models that are based on nonsense. Like the idea that people will pay someone to drive over to Subway and bring back a terrible $3 sandwich, and that this scheme will somehow be systemically profitable.
388.
▲
by
thedance
7y ago
Not sure but there have been lots of idiotic use cases in tech demos of recent years. Consider the demos of the impossibly stupid Microsoft Surface Table, which you must use to order cocktails at a bar, or browse photographs in a really inc
389.
▲
by
thedance
7y ago
Why is it better to have the deployment actions added by the deployment tool, rather than having them be implied by counting the population of different build artifacts? It seems like the latter would be more robust against changes in the d
390.
▲
by
thedance
7y ago
You'll become a better programmer if you also understand why randomly accessing main memory is slow and why randomly accessing caches is not slow.
More ›