Open source C and C++ software developer. miniaudio, dr_libs, and more. Discord: https://xitter.cf/t.co/rPnEpYrGDK

Joined March 2009
I'm using a library in C, and the maintainers have decided to omit parameter names in public function declarations. Honest question: How does this help the usability of your library? What has this actually achieved?
15
2
394
24,731
I've been experimenting with some AI assisted programming lately and overall it's quite good, but I've noticed that it can generate some horrendously inefficient code. It really likes doing short lived micro heap allocations. Once I even saw it do dlopen() on every key stroke!
3
19
966
I'm 90% confident that 90% of all PRs are now done by AI. Maintaining an open source project just isn't the same anymore. I think AI in programming is incredibly useful, but the feeling of less and less human interaction takes away a lot of the satisfaction of open source.
9
2
1
119
28,754
I'm starting to understand the no-AI policy of some of the GitHub alternatives. For me, it's not about anti-AI ideology - I like AI - it's about having human communities and human connections, and not feeling like I'm on a dead platform full of bots.
4
2
57
1,835
I've added support for proper gamma corrected text rendering, with optional LCD filtering, to my vector graphics library. Because heaven forbid anything on Linux gets gamma correction right...
2
26
557
So I'm working on a new single file vector graphics library. The software backend is starting to take shape! Still a lot to do.
2
1
32
391
I built a simple plain-text ticket system to help organise my work for my various projects. Each ticket is just a simple text file in a sub-folder. There's a VS Code extension for humans and a CLI for clankers to help work with it. github.com/mackron/ticketfil…
10
1,028
What's the biggest mistake you've made in software development in terms of maintenance costs? Mine: dr_wav's 2-pass metadata parsing system which I accepted from a PR. First pass calculates the required allocation size, the second pass fills out the data proper. Stupid mistake.
3
12
1,616
This is what I think GitHub needs: A "respect" system. PRs are rated "good" or "bad" by repository owners which affects the respect rating of the contributor. Then, project owners can set a threshold so that users with too low of a respect rating are banned from submitting a PR.
13
3
1
104
9,353
I think that would help solve some of the problems with slop PRs. Should be opt-in by project owners so that new contributors have a chance to start building up their respect rating. Is this a good idea, or is it stupid?
12
548
If you tell me to acknowledge your email, I will go out of my way to *not* acknowledge your email. Stop being so obnoxious! I'm doing this by myself as a hobby, unpaid, and giving it away for free. Then I get emails like this. I don't owe you a damn thing.
5
31
3,830
Is there anything more obnoxious than a random person who you've never heard of before sending you an unsolicited email and then requesting that you "please acknowledge this email"? Whenever I get these I explicitly go out of my way to not acknowledge it.
16
1,638
Support for yet another compiler added to miniaudio. This time chibicc. The support matrix continues to grow! Thanks @tsoding for reminding me about that one! Simple build system as usual. Just compile and run and you've got audio. No dependencies needed.
2
85
7,086
I just tried using LLDB instead of GDB (via the CodeLLDB VSCode extension) and holy hell I've only just now realised how bad GDB is! I assumed my program was starting up slow because I hadn't optimized anything yet, but it was GDB the whole time! Now I feel very silly.
3
17
1,649
I've been using GDB since forever because it's kind of the "default" debugger on Linux and I just rolled with it without giving it any thought. That was a mistake. Now my turnaround times are so much faster and everything is snappier. No going back to GDB for me!
6
513
Another day, another Python related error. Either stop using Python, or bundle it with your app so it's all self contained! Do not ever require the user to install Python separately. This disconnect causes so many problems!
1
1
20
905
When it comes to errors when trying to launch a program, Python is so disproportionately represented. I cannot think of anything that causes as many problems on my computer as Python.
1
13
424
There is some truth to this. AI making mistakes is a bad argument from the anti-AI crowd. Humans write bad code too!
Unpopular opinion: AI’s worst code doesn’t even come close to the absolute garbage I’ve had to clean up from humans. Post your worst inherited code story below👇
5
444
Am I being reasonable here regarding my views on AI contributions? github.com/mackron/dr_libs/i…
8
414
I'm a moderate when it comes to AI, and even I think this is obnoxious. Good grief... How out of touch can you get?
I have so much gratitude to people who wrote extremely complex software character-by-character. It already feels difficult to remember how much effort it really took. Thank you for getting us to this point.
13
695