Please, no, I get flashbacks from my 6-month journey (still ongoing…) of the code review process I caused/did. Keeping PR scope contained and small is hard.
From this experience, I wish GitLab had a “Draft of Draft” to tell the reviewer what the quality of the pushed code is at: “NAK”, “It maybe compiles”, “The logic is broken” and “Missing 50% of the code”, “This should be split into N PRs”. This would allow openly co-develop, discuss, and steer the design, before moving to nitpicking on the naming, formatting, and/or documentation details of the code, which is likely to drastically change. Drafts do work for this, but the discussions can get uncomfortably long and convolute the actual finishing of the review process.
Once both reviewer(s) and the author agree on the code design, the “DraftDraft” could be collapsed into a link in an normal Draft to be mocked next. The scope of such draft would be limited by the earlier “DraftDraft”.
<span style="color:#323232;">volatile int blackhole;
</span><span style="color:#323232;">blackhole = 1;
</span><span style="color:#323232;">const int X = blackhole;
</span><span style="color:#323232;">const int Y = blackhole;
</span>
Compiler is forbidden to assume that X == 1 would be true. It’s also forbidden to assume that X == Y. const just means the address and/or the data at the address is read only. const volatile int* const hwreg; -> “read only volatile value at read only address hwreg”. Compiler can assume the hwreg address won’t magically change, but can’t assume the value read from that address won’t.
I think the difference with Dolphin is that it now emulates an extinct system(s), so it cannot possibly compete with the actual thing. They did have a close call last year, if I remember, and they pretty quickly went into “jettison all illegal shit out of the code base NOW.” -mode.
<span style="color:#323232;">gdb> break before it crashes
</span><span style="color:#323232;">gdb> record full
</span><span style="color:#323232;">gdb> continue
</span><span style="color:#323232;">(segfault)
</span>
It’s a FOSS project, so wish me luck, as you can now get it in the mail eventually.
I had to run a makepkg today, which now includes my self-written pieces of code in master. So I’m eating my own dog food now, and it’s good. Also, the itch from before has somehow relieved.
Bugs that have existed for +3 years in a component and are nearly immediately visible to the end user. Oldest source line I touched was from before 2010.
It happened to me when I was configuring IP geoblocking: Only whitelist IP ranges are allowed. That was fetched from a trusted URL. If the DNS provider just happened to not be on that list, the whitelist would become empty, blocking all IPs. Literally 100% proof firewall; not even a ping gets a pass.
That’s because people are now aware of all of this shit happening, and some discreet day, just flip off the power from the house, doing indescribable things, and listens to the voices in their heads. And nobody will know.
Technical debt means how much work it takes to update legacy solution to a modern solution. E.g. each time a new C++ standard is used, all code written with the old standard should be checked. The work time needed to do this is paying up the technical dept.
Now, if you are lazy, and didn’t clean up the code, used the easy and sloppy solution, next time you have twice the work to be done. So the dept gets worse, if you do nothing.
The easiest problem (discuss.tchncs.de)
mastodon.social/
That Nim Flashbacks (sh.itjust.works)
Anon envies the AVGN's power (sh.itjust.works)
*sweating intensifies* (files.catbox.moe)
It's time to mentally prepare yourselves for this (lemmy.world)
Rebase Supremacy (programming.dev)
Review Please (programming.dev)
You can certainly change it. But should you? (lemmy.ml)
Brainfuck is the sixth circle (lemmy.world)
More details in the compete post: tumblr.com/…/every-now-and-then-i-remember-that-m…
And don't forget RTFM (lemmy.world)
Yuzu & Citra devs fold to Nintendo's demands | Pay $2.3million to settle, take down github, domains, patreon, discord, with immediate effect. (m.youtube.com)
A sad day for emulation and open source advocates, and a reminder that Nintendo can and will destroy you if they see fit....
My Git Knowledge (lemm.ee)
C++ Moment (lemmy.world)
I found my home.
I thinki I found m ome mmy server....
Bugs fixed (sopuli.xyz)
Have a good day.
What’s in a name? (lemmy.world)
My job here is done (lemmy.world)
Hey, Listen! (lemmy.world)
Firewall (lemmy.world)
Stubb.
Haavisto.
Still fun though (lemmy.world)
Apple Vision Pro (sopuli.xyz)
Bacteria share genes all the time. RMS would approve (sh.itjust.works)
Hey bro, can I have some antibiotic resistance?...