Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Dwedit
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Dwedit
4d ago
Even just "-" in a filename is problematic, since you can name actual files with "--" at the beginning, and the name could match a switch.
2.
▲
by
Dwedit
4d ago
Meanwhile, Windows uses UTF-16 everywhere internally, so "a" and "あ" are both 2 bytes large. You'd still have to exclude surrogate pairs and the Unicode control characters from a filename.
3.
▲
by
Dwedit
5d ago
I use Google maybe 10 times a month.
4.
▲
by
Dwedit
5d ago
Honey says Hi.
5.
▲
by
Dwedit
6d ago
Any name that you can't type is going to be a problem.
6.
▲
by
Dwedit
6d ago
Generated SEO slop is the misuse of AI. Very unlikely to find any guardrails to stop that kind of thing.
7.
▲
by
Dwedit
6d ago
How about obsolete cables? IDE, RG59 coax, Cat 5, Composite video, etc...
8.
▲
by
Dwedit
8d ago
Testing out Tongue, it detected "馬鹿外人" as Chinese.
9.
▲
by
Dwedit
8d ago
I was one of the people who added sound into a TI83 game. It ended up in my IceClimb game. Not particularly well done or anything, it's just there. I also didn't properly adjust the timing as the notes got higher, so it plays f
10.
▲
by
Dwedit
8d ago
Turns out that it's actually 2-bit and not 1-bit. It uses a combination of the EAR and MIC jacks, and when you output through the MIC jack, it slightly boosts the EAR jack. That gives you 4 possible levels, but they are not evenly ba
11.
▲
by
Dwedit
10d ago
How much data does it download off the server to run the challenge? I've made some tiny webassembly binaries before, but I've never seen Rust generate something tiny.
12.
▲
by
Dwedit
10d ago
Nah, it's not piracy, it's AI model training.
13.
▲
by
Dwedit
14d ago
What does "Browser's Main Thread" even mean when there are over 30 processes running?
14.
▲
by
Dwedit
16d ago
Brave Browser offers "Brave-hosted" versions of uBlock Origin and uMatrix.
15.
▲
by
Dwedit
17d ago
What about Win32s? Then the same binary can run on Windows 3.1 and Windows 11.
16.
▲
by
Dwedit
18d ago
C# does closures by creating a class. When you run the function, captured local variables actually live inside the object instead of in the stack. This makes use of an object, but no memory pages need to become read/write/execut
17.
▲
by
Dwedit
19d ago
What do you need the executable stack for? You call using a function pointer, there's no executable read/write memory involved in using a function pointer.
18.
▲
by
Dwedit
21d ago
How about allowing browsers to actually display markdown?
19.
▲
by
Dwedit
22d ago
That's the nice thing about LLMs, you're always absolutely right.
20.
▲
by
Dwedit
22d ago
The topic of an article being AI and an "AI-Generated Article" are two completely different things.
21.
▲
by
Dwedit
22d ago
Many many different ways to allocate memory. malloc, new, HeapAlloc, LocalAlloc, GlobalAlloc, CoTaskMemAlloc, etc. GlobalAlloc and LocalAlloc are pretty much obsolete. "malloc" sometimes redirects to HeapAlloc with the default
22.
▲
by
Dwedit
22d ago
Lossless Webp is still very good, and it decompresses very quickly. Lossless JXL compresses better, but decompresses much more slowly. Lossless AVIF is a joke.
23.
▲
by
Dwedit
22d ago
Then you load User32.dll, and you get 2MB of commit and 1MB of private bytes. Throw in a Message Box, and it's 272KB more private bytes and 388K more commit. Windows 10 makes it literally impossible to write something that uses low me
24.
▲
by
Dwedit
22d ago
I made my own 64-byte MS-DOS stub that uses a shorter message "Win32 Only!" instead of the usual "This program can only be run in DOS mode" message. By using the shorter stub, using the secret flag to omit the Rich head
25.
▲
by
Dwedit
24d ago
It's a US keyboard (happens to be a laptop). I've already named the scancodes and VK codes in the parent post. Browser is Firefox. Backslash works fine if you have chosen to emulate the PC or PC XT. For PCJr, no keystroke appea
26.
▲
by
Dwedit
24d ago
I've worked with C compilers that refused the // style before.
27.
▲
by
Dwedit
24d ago
Not just the OSD keyboard, my real backslash key is also pressing backspace. You can't do your classic DOS commands like "cd\" without a working backspace key.
28.
▲
by
Dwedit
25d ago
Key is Scancode 0x2B, or as a VKEY code: VK_OEM_5 (0xDC) Javascript says the key I pressed was keycode 220 (same number as 0xDC) or key "\". I had Tandy 1000 as the selected machine. When I look at the onscreen keyboard, I don&#x
29.
▲
by
Dwedit
25d ago
This is about early IBM PCs, not apple computers. And the non-working key is the Backslash key \ , not the backspace key.
30.
▲
by
Dwedit
25d ago
Pentium 4 had lids. AMD Athlon XP did not.
More ›