Better HN
topnewbestaskshowjobs
Log inSign up

soxfox42

7 karma · joined May 15, 2025 (1y ago) · 8 submissions

Submissions

comment 4mo ago · link · parent

You might be confusing softbuffer for minifb here, as softbuffer doesn't do any window handling of its own. All window management and event handling happens through winit (or another crate providing a HasWindowHandle implementation).

comment 5mo ago · link · parent

Seems like a cool idea, but I can't even complete the first task. The compiler service seems to be broken, since in both lessons and the playground I just get "Could not write source: No space left on device (os error 28)".

comment 7mo ago · link · parent

RISC-V's instruction encoding is designed to keep the bits of literals in common positions between different instruction types. I believe this is to simplify/speed up instruction decoding. The MSB of the literal is always the MSB of the instruction, which makes sign extension consistent. Most of the other bits in the J-type encoding line up nicely with the I-type or U-type encodings.

comment 11mo ago · link · parent

This domain was registered today, yet the website claims "10,000+ Apps Created" and lists a copyright date of 2024. None of the links in the site footer work, nor does the "See How It Works" button. There's nothing to show that this site can even do what it claims, and it immediately requests payment without allowing you to verify that any given site will work with it.

Basically, I'm saying that this looks like a simple AI generated scam.

comment 1y ago · link · parent

That solution fails for any value that is a multiple of neither 3 nor 5. In those cases, the result should be the original number.

comment 1y ago · link · parent

As of macOS 15 (I think?), that shortcut stopped working, it will just show the same unverified software warning.

comment 1y ago · link · parent

They've all been receiving yearly releases for a long time now – macOS has had them since Lion, iOS had them from the beginning, and the others are similar.

comment 1y ago · link · parent

hammer - red = lock