Replying to @SJimtendo
I've been struggling with this.
I want to buy an original US Chrono Trigger cart, for example. They're nice and expensive. Which means people make repro carts to get that $$$.
I do not want to support that. But it is difficult to legitimize. I end up not buying at all :'(
Or maybe it is just tedious to clean up AI's code.
Greenfield programming is always a joy.
Cleaning up someone else's messy project isn't fun.
I've seen people say coding with AI is making them bad at programming.
I interpreted that as they forgot how to be good, which made me doubtful.
However, I recognize something in myself.
Manually coding feels a bit like cleaning my house. It is nice. But it is tedious.
Blender is an amazing example of open source success. It is wonderful.
I need to check Gimp again. I feel like it needs some love, too.
std::vector<T>(size) default constructs |size| elements.
IMHO, that should have only reserved, not constructed.
It is easy for me to envision when to use performance cores (time-critical) vs. efficiency cores (not).
But there are cores in the middle I don't get.
Surely it isn't just "not time critical but don't take too long".
Maybe efficiency cores are missing certain units? SIMD?
omg I *just* learned there is a Win32 MsgWaitForMultipleObjects(), with "Msg" at the front.
(The message queue isn't exposed as a handle and so there previously was no way to sleep until a message *or* an event.)
Today is a good day!
Humanity needs to send @standupmaths on endless vacations.
So many math breakthroughs just waiting to happen.
Correction: AllocConsoleWithOptions() handles this.
But that was only introduced in Windows 11 24H2.
So the problem I described has existed for a long, long time.
Huh.
There is no way for a program compiled with /SUBSYSTEM:WINDOWS to know that it was launched with CREATE_NO_WINDOW.
The flag is used to run a console program silently.
My program creates a console. And it has no way to check if it should be silent.
Said another way:
Currently, the only way to share a variable between two blocks is to put that variable in a shared parent block.
Even if the parent doesn't care and the other blocks/code don't care.
It feels like there has to be a better way.
Probably a spicy take but I think variable scope clarity in programming languages could be improved.
bool flag = false;
if (foo) { ...many lines... flag=true; }
...many lines...
if (flag) {
Really, flag just needs to exist in both of those blocks, no the parent block.
Replying to @MarioBrothBlog
Same clever mipmap level difference trick happens in Super Mario Sunshine, too.
Nintendo learned a cool trick at some point and used it well.
Replying to @awesomekling
Agreed. While I was at Google there was an understanding like for every 1,000 employees you hire, one of them is probably a state-sponsored agent.
The vetting process helps a ton. But it doesn't solve it, either. Hard problem.
Replying to @jyzg
Yeah. I saw some one-instruction CPUs using subleq or move w/ address triggers.
I want it to be more conventional though. Just very stripped down. So an instruction decoder, ALU, etc.
I'm designing a simple DIY CPU that can be made easily enough with discrete components.
This means limiting transistor count.
I'm seriously considering dropping conditional branches in favor of the PDP-8's style conditional skip.
How is it 2026 and Windows doesn't have a way to set a per-program default network adapter?
I'm sure we'll get 100 more hated features before it's on someone's TODO list, too.