Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
151.
▲
by
nly
8mo ago
dlsym() with the RTLD_NEXT flag basically: https://catonmat.net/simple-ld-preload-tutorial-part-two There's actually a better way to hook GNUs malloc: https://www.man7.org/linux/man-pages/man3
152.
▲
by
nly
8mo ago
Once you've been laid off for the first time you soon learn to be prepared. Once you've been laid off 2-3 times in your career your entire perspective on work will change. The last time I got laid off I had a settlement payment o
153.
▲
by
nly
8mo ago
Yes, The RAII lock_guard pattern is the correct and proper one. But efficient FIFO/scalable locks can't be created using the C POSIX locking API.
154.
▲
by
nly
8mo ago
> Most of my past side projects would take me a few minutes or hours to build with Claude Code. Today, they’re not worth talking about. Chances are they were never worth talking about, but that doesn't mean the journey wasn't
155.
▲
by
nly
8mo ago
There are rw lock implementations where waiters (whether or readers or writers) don't contend on a shared cache line (they only touch it once to enqueue themselves, not to spin/wait) These are usually called "scaleable locks&
156.
▲
by
nly
8mo ago
The last 20% is usually what takes 80% of the time
157.
▲
by
nly
8mo ago
I keep giving the top Anthropic, Google and OpenAI models problems. They come up with passable solutions and are good for getting juices flowing and giving you a start on a codebase, but they are far from building "entire software prod
158.
▲
by
nly
8mo ago
It _is_ a loan because you can pay it off.
159.
▲
by
nly
8mo ago
Why limited to sexual images? Why can I not control whether any kind of public image of me at all appears?
160.
▲
by
nly
8mo ago
Sounds like you were just reviewing bad code. The author should have provided context via comments and structured the code in a way that is easy to change and understand
161.
▲
by
nly
8mo ago
Also, heaven knows if the result in maintainable or easy to change.
162.
▲
by
nly
8mo ago
I have a source file of a few hundred lines implementing an algorithm that no LLM I've tried (and I've tried them all) is able to replicate, or even suggest, when prompted with the problem. Even with many follow up prompts and hin
163.
▲
by
nly
8mo ago
The over 60s in the UK are probably the most privileged demographic in the history of the nation. Just last October the government reduced tax free savings allowances on the Cash ISA for everyone...except he over 60s. The over 60s have iron
164.
▲
by
nly
8mo ago
Wayne Knight was presumably the only actor left with a sense of taste.
165.
▲
by
nly
9mo ago
Depends what "doing it badly" means. The most important aspect of software design, at least with respect to software that you intend not to completely throw away and will be used by at least one other person, is that it is easy to
166.
▲
by
nly
9mo ago
No, I mean you'd just allocate a tonne of memory
167.
▲
by
nly
9mo ago
The bug isn't actually the copy but the bounds check. If you had a dynamically sized heap allocated buffer as the destination you'd still have a denial of service attack, no matter what language was used.
168.
▲
by
nly
9mo ago
People aren't getting richer in all first-world countries. In the UK the average salary is only up a few percentage points in real terms over 20 years
169.
▲
by
nly
9mo ago
In the UK they can jail you just for not providing an encryption key
170.
▲
by
nly
9mo ago
Or they'll be fired for not working fast enough, which already happens
171.
▲
by
nly
9mo ago
Gambling isn't the problem (it can be regulated and safety measures can be put in place). It's the corruption that goes alongside betting on outcomes that can be easily manipulated with no common-sense oversight keeping the market
172.
▲
by
nly
9mo ago
Presumably he means theft from shareholders. It's an accurate summary.
173.
▲
by
nly
9mo ago
It's a cruiseship. Your family are at the nearest bar. Just get off your ass and go and give them the message.
174.
▲
by
nly
9mo ago
A Bloomberg Terminal doesn't cost $30K/mo. It's more like $30K/yr and less if you buy in bulk.
175.
▲
by
nly
9mo ago
Why do you need a seqlock? To make sure you're not context switched out between the read of the page value and the rdtsc? Presumably you mean you just double check the page value after the rdtsc to make sure it hasn't changed and
176.
▲
by
nly
9mo ago
Only if you're dumb about it. Asking for source links is one thing I do all the time, and chatgpt gives citations by default.
177.
▲
by
nly
9mo ago
An email address that lives as long as you're willing to renew the domain?
178.
▲
by
nly
9mo ago
I still can't get over that when I go to the "Accounts" screen of Windows 11 control panel there's no option to add a new local account.
179.
▲
by
nly
10mo ago
I'm pretty sure Boost.Unordered employs the same techniques. > https://www.boost.org/doc/libs/latest/libs/unordered/doc/htm... > When looking for an element with hash value h, SIMD t
180.
▲
by
nly
10mo ago
I don't know about the mainland but in the UK most fintech startups ultimately try to get a bank license and become fully fledged banks.
More ›