Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dwattttt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
31.
▲
by
dwattttt
1mo ago
> 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 ascr
32.
▲
by
dwattttt
1mo ago
Running what you've built when you've added a malicious dependency also causes arbitrary code execution.
33.
▲
by
dwattttt
1mo ago
Add more and more to a standard library, and you're going to start losing your "works everywhere".
34.
▲
by
dwattttt
1mo ago
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
35.
▲
by
dwattttt
1mo ago
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 ope
36.
▲
by
dwattttt
1mo ago
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 reso
37.
▲
by
dwattttt
1mo ago
> 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
38.
▲
by
dwattttt
1mo ago
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
39.
▲
by
dwattttt
1mo ago
> 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 ex
40.
▲
by
dwattttt
1mo ago
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.
41.
▲
by
dwattttt
1mo ago
You don't strictly need to; you can write freestanding C, and use the Linux kernel directly.
42.
▲
by
dwattttt
1mo ago
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 beh
43.
▲
by
dwattttt
1mo ago
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.
44.
▲
by
dwattttt
1mo ago
Redundant backups arranged to survive things like "building burns down" or a natural disaster predate digital backups.
45.
▲
by
dwattttt
1mo ago
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&#
46.
▲
by
dwattttt
1mo ago
It's the "don't eat processed food" of software engineering.
47.
▲
by
dwattttt
1mo ago
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 i
48.
▲
by
dwattttt
2mo ago
> 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.
49.
▲
by
dwattttt
2mo ago
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
50.
▲
by
dwattttt
2mo ago
> 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.
51.
▲
by
dwattttt
2mo ago
It's been a while, but I believe Windows initialises an internal thread pool & parallelises (some parts of) process start / module loading
52.
▲
by
dwattttt
2mo ago
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...
53.
▲
by
dwattttt
2mo ago
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
54.
▲
by
dwattttt
2mo ago
The things you would have done, but now can't do, are a loss to you
55.
▲
by
dwattttt
2mo ago
Does it satisfy 98% of users always? Or does it satisfy each user 98% of the time?
56.
▲
by
dwattttt
2mo ago
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 R
57.
▲
by
dwattttt
2mo ago
Do you also oppose drivers licensing, alcohol age limits? Those rely on a trusted ID managed by a government.
58.
▲
by
dwattttt
2mo ago
Google TV surfaces this under settings (along with the ability to regenerate it, or remove it) EDIT: Android also surfaces this information more generally, I just found it under More Privacy Settings -> Ads
59.
▲
by
dwattttt
2mo ago
I expect it's referring to the newtype pattern; you don't want to accidentally add inches to cm, so if you have to handle both of them a lot, you make a single field struct Inches and one for Cm. For containers, you can do this to
60.
▲
by
dwattttt
2mo ago
Bugs due to cache state are absurd. In the classical sense of the word. When Bruce Dawson investigated a bug in the Xbox 360 cpu, the offending instructions didn't even need to "execute" in order to crash the system. [0] htt
More ›