Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ack_complete
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
ack_complete
8mo ago
Yeah, unfortunately this seems to combine the UI and performance issues of LibreOffice with new issues from the new front end. It also has a basic mistake in text editor UX: the caret blinks independently of caret movement. This means that
62.
▲
by
ack_complete
8mo ago
A major culprit is background processes that scan the drive in the background, like CompatTelRunner.exe. Works fine if you're on an SSD, but grinds an HDD to a halt. They also forgot about their own I/O prioritization API from Vis
63.
▲
by
ack_complete
8mo ago
The timeline for fast multiplies is also a bit off, IMUL was already 4c latency / 1c throughput on the Pentium Pro (1995) and Pentium II (1997). Pretty sure IMUL was also only a few cycles on the AMD K6 (1997). Though Intel slowed it b
64.
▲
by
ack_complete
9mo ago
Typically intersection checks outnumber updates, so it's better to optimize the former. Also, that only works if the object's pivot is at the center of the bounding box or you're accumulating movements without an explicit pos
65.
▲
by
ack_complete
9mo ago
This shows up in a lot of other areas, like small game companies that have a devoted following. It can get pretty nasty because these types of people are able to be condescending just short of ToS, while baiting other people into crossing t
66.
▲
by
ack_complete
9mo ago
Wine has some gaping holes in some of its API implementations. Direct2D, for instance, has existed since Windows 7 but is badly implemented in Wine -- there is no antialiasing and the ArcTo() function draws a line. The MS documentation is n
67.
▲
by
ack_complete
10mo ago
The keyboard I was mentioning isn't a laptop keyboard, actually, but laptop keyboards tend to be in a slightly better spot as the major vendors typically have Fn shortcuts for the missing keys, like Fn+B for Break, and they also docum
68.
▲
by
ack_complete
10mo ago
The antivirus / EDR / monitoring / inventory software that most corporate IT departments installs ages computers ten years. We constantly had problems with such services slamming the disk, holding files open, breaking softwar
69.
▲
by
ack_complete
10mo ago
Sets the underlying Registry keys for the Group Policy "Select the target Feature Update version". It tells the Windows Update service to select updates for a specific feature update instead of offering latest. https://
70.
▲
by
ack_complete
10mo ago
Worse than that, there's no consistency in Fn+key shortcuts. Recently acquired an HP Ergonomic Keyboard as a replacement for a broken Sculpt, only to find out that it literally cannot send Ctrl+Break -- there's no key for it, no F
71.
▲
by
ack_complete
10mo ago
This is unfortunately the same for GPUs. The graphics APIs expose capability bits or extensions indicating what features the hardware and driver supports, but the graphics vendors don't always publish documentation on what generations
72.
▲
by
ack_complete
10mo ago
AVX(2)'s main advantage is 256-bit width, since many of its operations are simply concatenated 128-bit ops (weird for ops like VPALIGNR), and cross-lane operations are expensive. NEON, on the other hand, only supports 128-bit ops, so A
73.
▲
by
ack_complete
10mo ago
The compiler is also a factor, as MSVC's ARM64 backend is less mature than the x64 backend, while the xtajit(64) emulators in Windows were written by emulation veterans. But even then, I've typically seen a ~25% penalty between a
74.
▲
by
ack_complete
10mo ago
I'm not convinced this is always guaranteed for a Windows x64 program. When running on bare x64 hardware, FlushInstructionCache() does seem to be an (inefficient) noop on Windows 11 x64, but when running in emulation on Windows 11 ARM6
75.
▲
by
ack_complete
10mo ago
The stdcall calling convention used APIs and API callbacks on Windows x86 doesn't use registers at all, all parameters are passed on the stack. MSVC does support thiscall/fastcall/vectorcall conventions that pass some values
76.
▲
by
ack_complete
10mo ago
There's an annoying corner case when using SetWindowLongPtr/GetWindowLongPtr() -- Windows sends WM_GETMINMAXINFO before WM_NCCREATE. This can be worked around with a thread local, but a trampoline inherently handles it. Trampoline
77.
▲
by
ack_complete
10mo ago
You're not wrong, the performance gain from proper FPU instruction scheduling on a Pentium was immense. But applications written prior to Quake and the Pentium gaining prominence or non-game oriented would have needed more blended code
78.
▲
by
ack_complete
10mo ago
Nah. As others have said, translating infix to RPN is pretty easy to do. The nasty part was keeping values within registers on the stack, especially within loops. The 8087 couldn't do binary ops between two arbitrary locations on the s
79.
▲
by
ack_complete
11mo ago
It also happens with digital cameras for similar reasons, due to CCD scanning. But yeah, that doesn't happen looking directly at a CRT. The bloom is also too blobby, because it's a gaussian blur. I ran into the same issue trying t
80.
▲
by
ack_complete
11mo ago
Cold branch comes to mind -- something like a interrupt handler, that is run often enough but not in high enough bursts.
81.
▲
by
ack_complete
11mo ago
> I can't imagine that any policy against LLM code would allow this sort of thing, but I also imagine that if I don't say "this was made by a coding agent", that no one would ever know. So, should I just stop contribu
82.
▲
by
ack_complete
1y ago
This was a late addition to the Windows 11 supported CPU list. The rumor is that this happened after it was pointed out that Microsoft was still selling brand new Surface Studio 2 devices that had 7th gen Intel CPUs.
83.
▲
by
ack_complete
1y ago
The video overlays in question are not drawn by blending into a framebuffer in memory. They're two separate display planes that are read in parallel by the display path, scaled, and blended together at scan-out time. There are only rea
84.
▲
by
ack_complete
1y ago
A green stripe on the right/bottom is usually due to a different issue: interpolation errors in chroma planes when decoding YCbCr video. The chroma planes use a biased encoding where 0 (no color) is mapped to 128. A sloppy YCbCr to RGB
85.
▲
by
ack_complete
1y ago
Some do, some ARM-based devices have tightly coupled memory (TCM). The RP2040 in the original Raspberry Pi also has a 4K bank for each core intended for stack and per-core variables, though it is not limited to access only by that core. The
86.
▲
by
ack_complete
1y ago
While true in the general case, in this case the bilinear downscaling pass is being applied to a signal already previously upsampled using a known specific filter (box filter). Aliasing is therefore more limited and controlled.
87.
▲
by
ack_complete
1y ago
This is partially due to the compromises of mappingvector intrinsics into C (with C++ only being marginally better). In a more vector-oriented language, such as shader languages, this: s1 = vaddq_u32(s1, vextq_u32(z, s1, 2)); s1 = vad
88.
▲
by
ack_complete
1y ago
The difference between interpreters and simple JITs has narrowed partly due to two factors: better indirect branch predictors with global history, and wider execution bandwidth to absorb the additional dispatch instructions. Intel CPUs star
89.
▲
by
ack_complete
1y ago
There was an unreal lack of awareness when the Windows Ink team engaged Reddit on this issue -- talking about "legacy" apps when such apps included the latest release version of Photoshop.
90.
▲
by
ack_complete
1y ago
To add to what others have said, additional characteristics of a Win32 critical section: - It is purely an in-process lock, and originally the main way of arbitrating access to shared memory within a process. - It is counted and can be recu
More ›