Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
psurge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
psurge
4y ago
C++17 has std::hardware_destructive_interference_size which you can use in conjunction with alignas to get this behavior, see https://en.cppreference.com/w/cpp/thread/hardware_destructiv... I’m not sure wheth
2.
▲
by
psurge
4y ago
And successfully scaling different peaks requires using different kinds of safety rope. Helpfully, the different ropes all look exactly the same.
3.
▲
by
psurge
6y ago
My understanding is that DRAM processes are sufficiently different from logic processes that they tend to get dedicated fabs. So then companies like Apple would have to buy fab timeshare from RAM manufacturers that have no incentive (as far
4.
▲
by
psurge
7y ago
Does anyone know of any EPYC 7002 servers, preferably single socket ones, that also support EDSFF E1.L SSDs?
5.
▲
by
psurge
7y ago
Thanks for pointing this out! I didn't know that C++17 had relaxed this restriction.
6.
▲
by
psurge
7y ago
I don't think Node can contain a std::vector<Node>, since STL containers cannot have incomplete value types. But maybe I'm misunderstanding you? I think absl::flat_hash_map<T, std::unique_ptr<Node>> would be wort
7.
▲
by
psurge
7y ago
Aren't the second and third lines of the insert/search implementations superfluous? Casting root to a boolean will never return false, since it is initialized. The insert implementation doesn't update root, so if root were nu
8.
▲
by
psurge
8y ago
I probably screwed something up, but here's a 16 line attempt in Python, where the regex specials are limited to . ?: def matches(pattern, s): if len(pattern) == 0: return True c = pattern[0] a
9.
▲
by
psurge
8y ago
OK, I just found the FE TDPs listed on the NVidia site (2080 FE: 225W).
10.
▲
by
psurge
8y ago
The 2080 TDP seems to be 215W rather than 285W (source: https://www.anandtech.com/show/13249/nvidia-announces-geforc... ). Are you sure the FE TDPs are different from the reference spec? I haven't seen that me
11.
▲
by
psurge
8y ago
The WorldWide Telescope uses this exact idea: http://www.worldwidetelescope.org/docs/worldwidetelescopepro... There are also other interesting spherical tessellations that could be used - one is implemented in Google&