Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
htfy96
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
211.
▲
by
htfy96
8y ago
A C++17 way template<typename CBT> void addListener(CBT cb) { static_assert(is_invocable_r_v<int, CBT, Button*>, "type mismatch"); }
212.
▲
by
htfy96
8y ago
Ranges has already been merged into C++20. Now you can use std::sort(v);
213.
▲
by
htfy96
8y ago
What surprised me most is the elegance of C++ API. Compared to its equivalence in Python, the C++ version is almost the same if we discard the "auto" keyword [0]. As mentioned in the doc, they put user-friendliness over micro-opti
214.
▲
Core C++ courses by Stephan T. Lavavej (2012)
(channel9.msdn.com)
1 points
by
htfy96
8y ago
|
0 comments
215.
▲
by
htfy96
8y ago
Haven't tested yet, but I was wondering if it's possible to use TiDB as SQL layer. [0] [0]: https://github.com/apple/foundationdb/issues/198
216.
▲
by
htfy96
8y ago
Personally, I don't recommend anyone without much knowledge in security to use "personal servers" to reduce threats. Even if it's in a private network, a server/container/whatever without recent security patche
217.
▲
by
htfy96
8y ago
The same crappy driver applies to AMD on Linux too. https://bugs.freedesktop.org/show_bug.cgi?id=107261 is open for nearly three months and nothing has been done.
218.
▲
Is Parallel Programming Hard, And, If So, What Can You Do About It? (2017.11.22) [pdf]
(mirrors.edge.kernel.org)
2 points
by
htfy96
8y ago
|
0 comments
219.
▲
by
htfy96
8y ago
+1 here. The most significant change of Nethack 4 is to separate game logic into a common library named libnethack[0], so you can write your own interfaces and communicate with server using JSON. [0]: https://github.com/tsad
220.
▲
LXC 3.0.0 released
(github.com)
2 points
by
htfy96
9y ago
|
0 comments
221.
▲
Optimizing subroutines in assembly language [pdf]
(agner.org)
1 points
by
htfy96
9y ago
|
0 comments
222.
▲
by
htfy96
9y ago
I was recently wondering whether Intel Transactional Synchronization Extensions(TSX) will replace lock-free patterns in latency-critical programming. However, I have seen few benchmarks on this topic.
223.
▲
by
htfy96
9y ago
It would be nice for someone to develop a suicide-g++. Whenever you compile a program that results in Undefined Behavior, the execution of it will wipe your disk.
224.
▲
by
htfy96
9y ago
$(nproc --all) on Linux
225.
▲
by
htfy96
9y ago
It seems that PostgreSQL is becoming an ideal solution for early startups: full-text search, well-designed plugin architecture, replica, partitioning, Large Object storage
226.
▲
by
htfy96
9y ago
Some unconfirmed sources reported that China was going to establish state-owned blockchain exchanges in provinces.
227.
▲
Yarn v1.0.0
(github.com)
3 points
by
htfy96
9y ago
|
0 comments
228.
▲
Seven Databases in Seven Days(IBM)
(github.com)
1 points
by
htfy96
9y ago
|
1 comments
229.
▲
by
htfy96
9y ago
clone() is still broken after three months: https://github.com/Microsoft/BashOnWindows/issues/1878
230.
▲
JPG vs. JPEG image formats
(stackoverflow.com)
1 points
by
htfy96
9y ago
|
0 comments
231.
▲
Magic numbers of the Linux reboot() system call
(stackoverflow.com)
2 points
by
htfy96
9y ago
|
0 comments
232.
▲
A few missing SSE intrinsics(2014)
(alfredklomp.com)
2 points
by
htfy96
10y ago
|
0 comments
233.
▲
by
htfy96
10y ago
Only 35 keystrokes are required to get 20K+ spaces.[1] [1] https://stackoverflow.com/questions/4606984/maximum-number-o...