Items tagged with: Coding

Search

Items tagged with: Coding



I finally have cross-platform (Linux/Mac/Win) release files for my reverb plugin! I wrote today about setting up a CMake build process (instead of Projucer/Xcode) and using GitHub actions to compile each version:

reillyspitzfaden.com/posts/202…

You can get the latest version here: github.com/reillypascal/RSAlgo…

#JUCE #Cpp #CPlusPlus #Audio #MusicProduction #Programming #Coding




I noticed a bug in our binutils port that had been generating semi-randomly broken branch relaxation trampolines for decades.

Why did it take so long to notice this code generation bug? The branch has to reach farther than +-32MB for the branch relaxation trampoline generation to kick in. And even then not all branches were affected (the type of relocation affected it, it had to be in a link library in a specific kind of segment and not in the beginning of it). Finally, for it to actually come into play, the branch had to actually be taken, too.

What did it do wrong then? It added the offset to the target function in the link library .text segment twice. So instead of jumping to the intended function it jumped somewhere random after that. Funnily, the jump might end up hitting some code that did not crash, but did something unintended. For you all non-developer peeps: That is very, very bad.

Fun features of this bug: Since whether the trampoline was generated or not depended on the order of object code and from where the affected call was being made, the bug would pop in and out of existence even on the smallest changes to the code or link libraries. If you know a thing about debugging, this is not very conducive to locating bugs.

Needless to say this one took a lot of head scratching to finally figure out. The fix was a change on a single line.

This bug was old enough to get into bars and drink alcohol legally.

EDIT: Oops, this was supposed to be a reply to this post: infosec.exchange/@harrysintone… - so added some context.

#bugstories #bugs #development #coding


Stumbled upon this repo while searching for test fixtures examples on GitHub. Check out these ready-to-use recipes for Android Gradle customizations! 📱✨

🔗 github.com/android/gradle-reci…

#AndroidDev #Gradle #Coding


Cappuccino and coding at my favourite coffee shop.
Friday afternoon is usually the only moment when I don’t have meetings, so I like going out and coding for a few hours in a cozy cafe.
#coding #coffee



"One fun anecdote is that companies or governments will often say they need months or years to prepare (CLEAN UP) code for open sourcing. Because on the inside, people allow themselves far worse code than they’d prefer to share with the outside world. Open source code often has higher standards, and it is a great mechanism of keeping you on track."

Says @bert_hubert in his article about long term software development #opensource #dev #coding
berthub.eu/articles/posts/on-l…



Another Thunderbird Live Development sessions is happening soon!
Come hang out to watch some behind the scene coding, ask questions, yell at the world, and bond through trauma.

youtube.com/live/XJGOkjwF9fI?f…

#thunderbird #live #coding #javascript #opensource #foss





For those of you interested in learning how to teach #Blind and low-vision kids and adults #TactileDrawing techniques, #Coding basics, then building up to creating their own digital #SVG graphics for tactile output and beyond, the Tangible Art & Design Adventures curriculum is now live online! Come check out the TADA adventure and share it far and wide! tada.wssb.wa.gov/


Developers 👏 Developers 👏 Developers 👏 Developers! Did you know that you can embed #LibreOffice into your applications? Find out more on our dev blog: dev.blog.documentfoundation.or… #foss #opensource #coding #development






Please make sure that you don't use atexit() in a library. Also, while at it, please no exit() or abort(). Thanks! atexit() related issues are insanely troublesome to correct after the use has been introduced. Case point: github.com/openssl/openssl/iss… #development #coding #baddesign


Coders! Build up your skills and get started with #LibreOffice development 💪 Presentations from the Developer Workshop at our recent conference are now online: dev.blog.documentfoundation.or… #foss #opensource #development #coding



I have a feeling this will appeal to multiple people for multiple reasons.

[original source unknown]

#ttrpg #magic #coding