Anything can be aliased by char, unsigned char, std::byte (as well as signed char in C), and usually uint8_t == unsigned char, thus by extension any valid void pointer can be cast to u8*. Thus void*+size is usually the…
> It shouldn't require casting from and to specific pointer types You don't need to explicitly cast T* to void* (guaranteed to be safe), you only need to cast when converting out of void*. The rules are basically the…
You don't even need to use assembly for this, the wait for interrupt typically involves side effects.
> Unfortunately the PR and the PR author will forever be listed there If they've been doing that to the other repo (and especially if they're just a spam account), there's a good chance using the "report" button and/or…
Closing a PR or issue still makes it discoverable in PR/issue search results, as opposed to deleting an issue.
The point of the article and of define_static_array is to convert stuff like constexpr std::vector to constexpr std::array. New (and delete) can be used in constexpr functions, however memory "allocated" like that…
Maybe there is some astroturfing going on, as is usually the case, but it's already known that Codex/Claude Code and their ilk have been ruining CTFs for a while. And well, one can always prompt "review my feature…
You're welcome! By the way, I have something related rather large in the works, look forward for a "Show HN" ;) (hopefully this quarter!) > better support than Nintendo does with all their trillion-Yen revenue available…
You can of course run DS (and GBA) software on 3DS. > My only hesitation is the firmware update If you "hack" your 3DS you will not have to worry about sysupdates anymore. It is slightly more straightforward to do so if…
The DS, more specifically the arm946e-s has an MPU, not a MMU (you're confusing it with the 3DS's Arm11). Not like it makes much of a difference anyway, you configure either once or twice then leave them be. Honestly, I…
> forbidding women to wear jeans This police ordinance from 1800 was abolished in 2013 > requiring permission of the husband to work Repealed in 1965
> optional<T&> This is a C++26 feature which will have pointer-like semantics, aren't you confusing it with optional<reference_wrapper<T>> ?
> every async "function call" heap allocates. > require the STL That it has to heap-allocate if non-inlined is a misconception. This is only the default behavior. One can define: void *operator new(size_t sz, Foo &foo)…
> But reinterpret_cast isn't valid in a constexpr scope. std::bit_cast is
Doesn't need to be UB, you can write expressions like: "some_s8_var < some_u32_var" and people will be had. Note that is not the same as "some_s8_var < some_u8_var". -Wextra catches stuff like this, alas I know of a few…
I don't have as many years of professional experience as you do, but IMO code pissing is one of the areas LLMs and "agentic tools" shine the least. In both personal projects and $dayjob tasks, the highest time-saving AI…
You exaggerate, but in this situation, I think putting a link to a Jira ticket or Slack convo (or whatever) as comment is best
In your case SetResolution could be a static method calling a private instance-method SetResolutionImpln, for example, similar to what other people said. > what's the point of globally visible singletons except…
Also Apple Music is much worse (harder to bring miniplayer, seek bar harder to use) and list of misfeatures goes on and on and on
Yes, I agree. It's just that I value the right to reveal my identity on my own terms a lot higher than $1200 (using my username and project name is fine). For the offer to become enticing they would need it to be 5~10y…
Sure, but what I'm slightly worried about is people easily resolving my username to my real name. Maybe I worry too much, dunno
> By accepting a Program subscription, you grant Anthropic permission to identify you publicly as a Program recipient, including by referencing your name, GitHub username, and associated open source project(s). I was…
> If there is 4-5 commits with "WIP almost working" between each proper commit, then that's too much noise for me, personally. Yep, no excuse for this, feature branches exist for this very reason. wip commits -> git…
> The current ChatGPT $20/month plan goes a very long way It sure does and Codex is great, but do you think they'll maintain the current prices after/if it eventually dominates Claude Code in terms of marketshare and…
> This seems like a "we've banned you and will ban any account deemed to be ban-evading" Honestly, if faced with such a situation, instead of just blocking, I would report the acc to GH Support, so that they nuke the…
Anything can be aliased by char, unsigned char, std::byte (as well as signed char in C), and usually uint8_t == unsigned char, thus by extension any valid void pointer can be cast to u8*. Thus void*+size is usually the…
> It shouldn't require casting from and to specific pointer types You don't need to explicitly cast T* to void* (guaranteed to be safe), you only need to cast when converting out of void*. The rules are basically the…
You don't even need to use assembly for this, the wait for interrupt typically involves side effects.
> Unfortunately the PR and the PR author will forever be listed there If they've been doing that to the other repo (and especially if they're just a spam account), there's a good chance using the "report" button and/or…
Closing a PR or issue still makes it discoverable in PR/issue search results, as opposed to deleting an issue.
The point of the article and of define_static_array is to convert stuff like constexpr std::vector to constexpr std::array. New (and delete) can be used in constexpr functions, however memory "allocated" like that…
Maybe there is some astroturfing going on, as is usually the case, but it's already known that Codex/Claude Code and their ilk have been ruining CTFs for a while. And well, one can always prompt "review my feature…
You're welcome! By the way, I have something related rather large in the works, look forward for a "Show HN" ;) (hopefully this quarter!) > better support than Nintendo does with all their trillion-Yen revenue available…
You can of course run DS (and GBA) software on 3DS. > My only hesitation is the firmware update If you "hack" your 3DS you will not have to worry about sysupdates anymore. It is slightly more straightforward to do so if…
The DS, more specifically the arm946e-s has an MPU, not a MMU (you're confusing it with the 3DS's Arm11). Not like it makes much of a difference anyway, you configure either once or twice then leave them be. Honestly, I…
> forbidding women to wear jeans This police ordinance from 1800 was abolished in 2013 > requiring permission of the husband to work Repealed in 1965
> optional<T&> This is a C++26 feature which will have pointer-like semantics, aren't you confusing it with optional<reference_wrapper<T>> ?
> every async "function call" heap allocates. > require the STL That it has to heap-allocate if non-inlined is a misconception. This is only the default behavior. One can define: void *operator new(size_t sz, Foo &foo)…
> But reinterpret_cast isn't valid in a constexpr scope. std::bit_cast is
Doesn't need to be UB, you can write expressions like: "some_s8_var < some_u32_var" and people will be had. Note that is not the same as "some_s8_var < some_u8_var". -Wextra catches stuff like this, alas I know of a few…
I don't have as many years of professional experience as you do, but IMO code pissing is one of the areas LLMs and "agentic tools" shine the least. In both personal projects and $dayjob tasks, the highest time-saving AI…
You exaggerate, but in this situation, I think putting a link to a Jira ticket or Slack convo (or whatever) as comment is best
In your case SetResolution could be a static method calling a private instance-method SetResolutionImpln, for example, similar to what other people said. > what's the point of globally visible singletons except…
Also Apple Music is much worse (harder to bring miniplayer, seek bar harder to use) and list of misfeatures goes on and on and on
Yes, I agree. It's just that I value the right to reveal my identity on my own terms a lot higher than $1200 (using my username and project name is fine). For the offer to become enticing they would need it to be 5~10y…
Sure, but what I'm slightly worried about is people easily resolving my username to my real name. Maybe I worry too much, dunno
> By accepting a Program subscription, you grant Anthropic permission to identify you publicly as a Program recipient, including by referencing your name, GitHub username, and associated open source project(s). I was…
> If there is 4-5 commits with "WIP almost working" between each proper commit, then that's too much noise for me, personally. Yep, no excuse for this, feature branches exist for this very reason. wip commits -> git…
> The current ChatGPT $20/month plan goes a very long way It sure does and Codex is great, but do you think they'll maintain the current prices after/if it eventually dominates Claude Code in terms of marketshare and…
> This seems like a "we've banned you and will ban any account deemed to be ban-evading" Honestly, if faced with such a situation, instead of just blocking, I would report the acc to GH Support, so that they nuke the…