Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
211.
▲
by
nly
10mo ago
Burning CPU is preferable in some industries where latency is all that matters.
212.
▲
by
nly
10mo ago
GNU libc posix mutexes do spin...
213.
▲
by
nly
10mo ago
The PAUSE instruction isn't actually as good as it used to be. In, iirc, Skylake Intel massively increased the latency to improve utilisation under hyperthreading. The latency of this instruction is now really high. Most people using s
214.
▲
by
nly
10mo ago
You can turn on anti-aliased fonts by clicking the bottom right hand corner menu button
215.
▲
by
nly
11mo ago
If anything this seems to be a huge victory for Zig, since Bun is mostly written in Zig.
216.
▲
by
nly
11mo ago
Only patches, it doesn't automatically install new major versions
217.
▲
by
nly
11mo ago
See my sibling comment regarding vector. It's not true that the only sensible choice for a moved-from object be equivalent to the defaulted constructed one. If your move constructor doesn't exist then the copy constructor gets cal
218.
▲
by
nly
11mo ago
A static analyzer could easily tell you to use the monadic member functions instead of a raw dereference.
219.
▲
by
nly
11mo ago
Read what I wrote again. I said all member functions. Reusing of a moved from object only requires assignment and destruction to be well behaved. The std library containers give you extra guarantees (a moved from object is effectively the
220.
▲
by
nly
11mo ago
No type is safe to use after a move, unless it's documented to put itself in to a well defined state and says as such You can't magically make all the member functions on std::vector safe after a move for example unless the moved
221.
▲
by
nly
11mo ago
1K requests/sec doing what ? That's a really low rate in my world. I write software handling a couple of million of messages per second on a single core on a single machine
222.
▲
by
nly
11mo ago
SQLCipher + a hard-coded or generated key in your app.
223.
▲
by
nly
11mo ago
Is that a typo? TCP was 2.5x faster? I presume this is down to much larger buffers in the TCP stack.
224.
▲
by
nly
11mo ago
Given how slow protobufs and grpc is, I wonder if the socket transport would ever be the bottleneck to throughput here. Changing transports means if you want to move your grpc server process to a different box you now have new runtime conf
225.
▲
by
nly
11mo ago
Works with implementations and not APIs though. A bad API can constrain your implementation and often can't be changed once it's in use by loads of users. APIs should be right from day one if possible.
226.
▲
The Advent of Compiler Optimisations 2025
(xania.org)
3 points
by
nly
11mo ago
|
0 comments
227.
▲
by
nly
11mo ago
The reason you wouldn't do that is IP doesn't give you a mechanism to share an IP address with multiple processes on a host, it just gets your packets to a particular host. As soon as you start thinking about having multiple servi
228.
▲
by
nly
11mo ago
Objective C++ was great. Rename a file to .mm and start using Objective C APIs. Very good interop
229.
▲
by
nly
11mo ago
It's hard to see how they become profitable enough to justify current valuations. The numbers are just mind boggling even in the optimistic scenario.
230.
▲
by
nly
11mo ago
Fortunately many apps seem to be moving to native webviews now instead of shipping electron
231.
▲
by
nly
11mo ago
It's absolutely not best effort that counts. I've heard many stories of people overstaying their visa in the US by e.g. one day, by way of a mishap or honest mistake, and subsequentially being denied visas or turned away at border
232.
▲
by
nly
1y ago
x86 has a Total Store Order (TSO) memory model, which effectively means (in a mental model where only 1 shared memory operation happens at once and completes before the next) stores are queued but loads can be executed immediately even if s
233.
▲
by
nly
1y ago
There is also a commercial attempt: https://www.paragon-software.com/us/home/ntfs-linux-professi... and even an attempt at wrapping Microsofts implementation (dead project): http://www.jankratochvil.net
234.
▲
by
nly
1y ago
And Betfred just threatened to close 1,300 high street betting shops if Reeves increases gambling taxes in the budget next month. https://www.ft.com/content/3641f944-38cc-4ed5-853a-03fab3ac4...
235.
▲
by
nly
1y ago
Windows maintains both a synchronous and asynchronous key state. The async one gives the result of the state of keys in a polled fashion, and the other the state as applied by messages as you pump the the Win32 message queue (it's in s
236.
▲
by
nly
1y ago
It's remarkable how over this time frame how inflation in the UK and the USA has been so similar. https://www.rateinflation.com/consumer-price-index/uk-histor... https://www.rateinflation.com/consu
237.
▲
by
nly
1y ago
You just read() until it returns EWOULDBLOCK/EAGAIN before calling epoll_wait again. It's no less valid than level-triggering as a default mental model.
238.
▲
by
nly
1y ago
Did you evaluate QML/Quick? https://doc.qt.io/qt-6/qtquickcontrols-index.html
239.
▲
by
nly
1y ago
Wireguard uses "modern crypto"
240.
▲
by
nly
1y ago
Good luck to them. VPN companies like Mullvad currently accept anonymous accounts with payment via crypto. You can also just lie about your country of origin when signing up to a VPN account even with a 'compliant' provider that b
More ›