HNHacker News
TopNewBestAskShowJobs

dwattttt

2,300 karma · joined December 14, 2020

submissionscomments
dwattttt··on I'm becoming AI-blind
To address this similarly to my sibling reply, I don't have a definition of intelligence that provides value here.

And your loose definition isn't doing a lot of help either, beyond perhaps noting: that Google search bar _is_ similarly "intelligent" to an LLM? Which says what, a lot about search? A lot about modern LLMs?

dwattttt··on I'm becoming AI-blind
Would you ask either of them to review a PR? Or a calculator to eat a banana? Or an LLM to calculate prime factors?

These aren't interesting questions. As much as any definition is in use here, we're not going to get much value talking about "intelligence" this way.

dwattttt··on I'm becoming AI-blind
Happily, I don't need to define "intelligence" here, because it's squarely in "I know it when I see it" territory. It's notoriously hard to define.

I also don't ascribe intelligence to a pocket calculator.

dwattttt··on I'm becoming AI-blind
String concatenation will generate "original text" by that definition.

Obligatory "yes, I know that's not what an LLM is", purely pointing out the metric.

dwattttt··on I'm becoming AI-blind
> I feel like that what a lot of people who say this don't seem to grasp, is that despite this flaw its still often capable of saying more interesting things than a lot of humans.

So does the Google search bar, but I don't ascribe intelligence to it.

dwattttt··on Malicious Rust crate Arrayref runs a build-time payload
Running what you've built when you've added a malicious dependency also causes arbitrary code execution.
dwattttt··on Malicious Rust crate Arrayref runs a build-time payload
Add more and more to a standard library, and you're going to start losing your "works everywhere".
dwattttt··on Solo – a .so loader for static Linux binaries
That's a pretty great article. Re. the stack probes, it's not hard to supply your own; Raymond Chen recently did a blog series on stack probes, the entries for amd64 and arm64 are here:

amd64: https://devblogs.microsoft.com/oldnewthing/20260319-00/?p=11...

arm64: https://devblogs.microsoft.com/oldnewthing/20260320-00/?p=11...

dwattttt··on Solo – a .so loader for static Linux binaries
By "system libc" I'm only referring to msvcrt.dll, found in the Windows directory. Quoting Raymond Chen:

> At some point, the decision was made to just give up and declare it an operating system DLL, to be used only by operating system components.

https://devblogs.microsoft.com/oldnewthing/20140411-00/?p=12...

dwattttt··on Solo – a .so loader for static Linux binaries
Those incompatible runtimes are separated by a linker that doesn't resolve all symbols globally, but rather scoped to the shared object they're expected from. They all coexist happily, and if you're so inclined you could resolve the same symbol from each, if you had reason to do so.
dwattttt··on Solo – a .so loader for static Linux binaries
> That only massively compounds the problem.

The Windows ecosystem, that manages to deliver built binaries easily & widely, regardless of whether the author has a 1 year old OS or a 15 year old OS, suggests that it's not as big a problem as you believe.

dwattttt··on Solo – a .so loader for static Linux binaries
Targeting an older version of Windows is "set a define so that the system headers don't expose functions that didn't exist on older Windows". You don't need an old toolchain to target old systems, you ask the newer toolchains to target it.

MS haven't made this work arbitrarily far back, I believe they deprecated targeting Windows XP in one of the more recent toolchains, but that was purely a "not worth supporting" situation.

EDIT: mixed up talking about older & newer

dwattttt··on Solo – a .so loader for static Linux binaries
> Can't be done. The libc is legacy, it can't be changed without breaking everything. It's also mandatory on every operating system other than Linux.

Windows explicitly does not want you to link the system libc. You are expected to bring your own, and doing so means your process has multiple libc's loaded into its address space.

And if you choose to build a binary that doesn't need a libc, you won't be bringing one.

dwattttt··on Solo – a .so loader for static Linux binaries
I'm not sure that's particularly relevant; if I null out bits of the statically linked binary to remove some code paths, they break too.
dwattttt··on Solo – a .so loader for static Linux binaries
You don't strictly need to; you can write freestanding C, and use the Linux kernel directly.
dwattttt··on Solo – a .so loader for static Linux binaries
Windows loader is part of the system ABI, and programs' libc(s) are loaded by it.

One of the ways Windows manages to support multiple libc's is by being careful not to mix allocators; if a system API you call allocates on your behalf, your libc can't free it, the system API will offer a function to free it.

Windows loader is certainly available to user programs though; LoadLibrary has been around longer than many developers.

dwattttt··on Linux 7.3 improves performance when running out of vRAM
On some platforms. Others make other arrangements, with other tradeoffs.

It's been less than 24 hours since an OOM killer was identified as responsible for a bug I was experiencing.

dwattttt··on Nine PBS sues Iron Mountain over blocked access to archival data
Redundant backups arranged to survive things like "building burns down" or a natural disaster predate digital backups.
dwattttt··on Choose Boring Technology (2015)
insanitybit's point is that "boring" can imply those things, but it can imply other things too. If you have to bring the correct context to make the word make sense, and there's other contexts that could apply that don't make sense, the word isn't helping. You bringing the correct context is doing the heavy lifting.
dwattttt··on Choose Boring Technology (2015)
It's the "don't eat processed food" of software engineering.
dwattttt··on Mushroom behind 'tiny people' hallucinations identified
I'm not sure what ethical considerations come up when testing a medical hypothesis by self-administration. Famously Barry Marshall overturned decades of medical doctrine when he ingested helicobacter pylori, and demonstrated its role in gastritis (and I think providing evidence for peptic ulcers).
dwattttt··on To save C, we must save ABI (2022)
> inter-compiler interop

Inter-compiler interop is also in play when the two compilers are the same one at different versions, or even potentially flags.

dwattttt··on Rust SIMD on the GPU
If you want the library to perform that selection, you also need the "correct" / most efficient implementation to be independent of your workload. I'm not that familiar with SIMD performance characteristics, but I wouldn't be surprised if that's not always the case.
dwattttt··on Rust SIMD on the GPU
> There is no reason a portable_simd relu_dot implemention should need to specify the SIMD width.

What should it choose then? I have a Zen 3 processor, and benchmarking some simd I did recently says 32 byte or 64 byte chunks was fastest. But I'm sure I'd get a different result on a different Zen, and different again on Intel's.

How would the library decide what SIMD width I should use?

dwattttt··on Windows 11's built-in Weather app wastes more than 1 GB of RAM
It's been a while, but I believe Windows initialises an internal thread pool & parallelises (some parts of) process start / module loading
dwattttt··on Making Postgres 300x faster for analytics: batching, operator fusion, and SIMD
If you're only taking one float as input, we've long been at a point where you can just test them all: https://randomascii.wordpress.com/2014/01/27/theres-only-fou...
dwattttt··on Taste Is All That's Left
Long term projects that survived on short term wins are still around. But you're going to want to check how big the graveyard is of "project collapsed under tech debt from short term decisions" to see whether it's a good strategy.
dwattttt··on Something is changing in the unit economics of software
The things you would have done, but now can't do, are a loss to you
dwattttt··on “Gravity is worth asking about”
Does it satisfy 98% of users always? Or does it satisfy each user 98% of the time?
dwattttt··on C++ float-to-int conversion can be undefined behavior
It's interesting to consider that the same question would've surely come up during C and C++ language development, but that the answer is informed by the impact on the ecosystem, which was dramatically different when C, C++, and Rust were all being developed.
← PreviousPage 5 of 34Next →