cylon13
Re:Coroutines in C
on Sunday February 25, 2024 @01:29PM (#39503354)
It’s never bad advice to consider something.
Re:How to Store a Chess Game in 26 Bytes Using Bit-Level Magic (2022)
on Friday September 15, 2023 @12:49PM (#37525905)
Is your assertion that it takes more time for a CPU to read values out of a 30 byte struct and do a couple shifts and branches than to parse a JSON representation?
Re:Show HN: Ghidra Plays Mario
on Monday September 11, 2023 @12:51PM (#37470025)
I think that goomba bumped into the squished goomba Mario had just squished. Mario was just a bit to the left so the flat goombas hit box stuck out to the right a bit and the other goomba hit it.
Re:Hand Coded SLisp
on Tuesday August 22, 2023 @10:41AM (#37223435)
Yeah it doesn't really land well as a joke because it's the very first thing. Joking hot takes at least need a bit of warm up so readers know what's going on, whereas this just opens with a no-context dis at women where it's not even clear what the joking read is supposed to be talking about. What hard work? What's happening?
Re:How RLHF Works
on Wednesday June 21, 2023 @01:10PM (#36421337)
A notable improvement over the GLHF strategy for interacting with GPT models.
Re:Rust on macOS 9
on Sunday January 22, 2023 @10:06PM (#34485001)
There's not much data in the performance section of the front-page readme of the repo, but the one bullet point there seems promising:
> Coremark 1.0: ~7% slower than native [0]
Re:Mold linker: targeting macOS/iOS now requires a commercial license
on Monday December 26, 2022 @05:31PM (#34142641)
Do you never find yourself interested in the results of a code change you have just made?
Re:Unredacter: Never ever use pixelation as a redaction technique
on Saturday December 17, 2022 @07:27PM (#34033778)
Might be fun to use diffusion to make adversarial/false answers to the pixelated scenes, depending on how pixelated they are. If they're quite pixelated you could probably come up with some crazy alternatives.
Re:AVR-GCC Compiler Makes Questionable Code
on Saturday December 17, 2022 @04:02PM (#34032207)
This is incorrect
Re:Ask HN: Are there recorded instances of people being framed through...
on Saturday October 22, 2022 @11:30AM (#33299085)
Why would you expect a law professor to be an expert in avoiding being framed?
Re:Canonical shows ads in the Ubuntu CLI
on Wednesday October 12, 2022 @12:05PM (#33179016)
I use arch and I don’t like fiddling with my system, I just wanted something light. After the painful initial install a few years ago it’s been really stable on the laptop I used to run xubuntu on. I switched because I was having problems with ubuntu running stuff I didn’t care about in the background and eating up CPU time.
Re:Native Linux GPU Driver for Apple M1
on Friday September 30, 2022 @01:59AM (#33031479)
There are fundamental issues with x86 that make it impossible to match the efficiency of ARM. Variable length instruction coding for instance, which means a surprising amount of power is dedicated to circuitry which is just to find where the instruction boundaries are for speculative execution. Made sense in the 80s when memory was scarce and execution was straightforward, but now it’s a barrier to efficiency that’s baked right into the ISA.
Re:Infinite Scrolling: When to Use It, When to Avoid It
on Saturday September 10, 2022 @11:55AM (#32791747)
It's not solving a technical problem. It's trying to avoid points where the user has to make an active decision to continue looking at whatever is being served and thus have a chance to decide to leave.
Re:Show HN: I'm building an open-source Amazon
on Saturday September 03, 2022 @11:58AM (#32703134)
You obviously live in a much nicer place. Sounds like the GP lives in a rougher neighborhood in a larger city, which if you’ve never experienced, can definitely leave you wanting to avoid having to shop in public.
Re:Why do arrays start at 0?
on Wednesday August 24, 2022 @02:38PM (#32583866)
Ah yes, the goes-to operator -->
Re:TikTok’s Poison Pill
on Wednesday August 03, 2022 @10:28AM (#32332168)
I want more freedoms than just the ability to complain about not having freedom though.
Re:Why am I excited about WebAssembly?
on Sunday July 17, 2022 @04:36PM (#32130968)
With shared array buffers it’s not actually a big problem. We’re building a multithreaded game that targets wasm and we just spin up workers up front which all use the same shared memory, and then just use standard concurrency primitives to schedule work on them. Just have to be careful not to block on the main thread, and you have to serve all your assets from the same domain for browsers to allow you to make shared array buffers.
Re:What is NGG and shader culling on AMD RDNA GPUs?
on Friday July 15, 2022 @01:02PM (#32110277)
Even knowing what they all are it’s annoying to read compared to having them spelled out. I’m constantly pausing to translate. If you’re talking to someone IRL you just say “hardware vertex shader,” not “HW VS”.
Re:How I went about learning Rust
on Friday July 15, 2022 @12:30PM (#32109874)
You can, but the docs for Deref beg you not to use Deref for types that aren’t smart pointers because of how confusing and surprising the results can be to an unfamiliar reader of the code.
Re:Uncle Bob and Silver Bullets (2017)
on Monday July 04, 2022 @02:02PM (#31980051)
Writing tests and doing TDD aren't the same thing. The commenter is talking about TDD in particular I think, not saying "unit testing has no success stories".
Re:Wild turtles age slowly, and some basically don’t age at all
on Monday June 27, 2022 @11:11AM (#31895652)
There’s only two possibilities: I’ll either win the lottery or I won’t, so it’s a 50/50 shot!
Re:Social justice for the bald man
on Sunday June 26, 2022 @01:00AM (#31881222)
Unless you have a weird skull
Re:Hertzbleed Attack
on Tuesday June 14, 2022 @02:13PM (#31743524)
Any noise strong enough to have a good chance of hiding the signal would completely defeat the benefit of having dynamic frequency scaling in the first place, I think.
Re:Challenge: Pixel perfect design
on Monday June 13, 2022 @01:07AM (#31721417)
You can’t just slap “perhaps” on arbitrary statements and expect to not be corrected if they’re inaccurate.
Re:Public CDNs Are Useless and Dangerous
on Thursday June 09, 2022 @11:24AM (#31682388)
Scrollbar blocksize wouldn’t usually be useful for estimating content length anyway because of comment sections.
Re:How do video games stay in sync?
on Saturday May 28, 2022 @12:15PM (#31541485)
Diffs aren't impossible over UDP. The client should be sending to the server which states it has locally, along with inputs. Then since the server has a (potentially non-exhaustive) list of recent states it knows the client has seen, it can choose to make a diff against the most recent of those and tell the client which state the diff is against. Then the client and server just need to keep a small buffer of pre-diff-encoded packets sent/received.
Re:It’s time we fix the unethical design of cookie consent windows
on Friday May 06, 2022 @11:54PM (#31292029)
Cool, when should I expect this fix to be deployed globally? Looking forward to it!
Re:HalloApp: a digital space for people who you know and want to conne...
on Friday May 06, 2022 @07:00PM (#31290434)
I definitely read the title as sarcasm.
Re:HalloApp: a digital space for people who you know and want to conne...
on Friday May 06, 2022 @06:59PM (#31290426)
Language is dynamic and flowing and changing, and it's going to be whatever it is no matter how angry it makes you. Better to go with the flow than to scream into the wind. Is "fuckwits" proper English? Who cares?
Re:Ask HN: What software/program annoys you?
on Wednesday May 04, 2022 @11:42AM (#31262058)
I agree with the sentiment about Slack being slow and bad. It’s not exactly the same as IRC though. There’s voice chat, screensharing, I can drag and drop video files without worrying about hosting, etc. People choose Slack over IRC for a reason, it’s just too bad it’s a private centralized thing written as a resource hogging electron behemoth.