|
I'm pretty sure my coworkers were laughing at some potty humour but I wasn't privy to that.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Are you saying you had nothing to go on?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I'm saying I'm tired of feeling like a number two
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Wasn't that Abba's less successful follow-up to "Super Trouper"?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
den2k88 wrote: coworkers
Is it that some of them were just pretending to laugh, even while being equally un-privy to?
|
|
|
|
|
Celebrating little victories by combining some hobbies together
Maybe I'll make a Pip-boy[^]
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Wordle 1,160 5/6
⬜⬜⬜🟨🟨
🟨🟨⬜⬜⬜
⬜⬜🟨🟨🟩
🟨⬜🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,160 4/6*
⬜🟨⬜⬜⬜
⬜🟨⬜⬜🟩
🟨🟩🟩⬜🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,160 4/6*
⬜🟩⬜⬜🟩
⬜🟩⬜⬜🟩
🟨🟩🟩⬜🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
⬜🟩⬜⬜🟩
🟩🟩⬜⬜🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,160 3/6
⬜🟩⬜🟨⬜
🟨🟩🟩⬜⬜
🟩🟩🟩🟩🟩
Within you lies the power for good - Use it!
|
|
|
|
|
Wordle 1,160 4/6*
⬛🟨⬛⬛🟩
⬛⬛⬛🟩🟩
⬛⬛🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,160 3/6
⬛⬛⬛🟨🟩
⬛🟩⬛⬛🟩
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,160 4/6
🟨⬛🟨⬛⬛
⬛⬛🟩⬛⬛
🟨🟩🟩⬛🟩
🟩🟩🟩🟩🟩
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Wordle 1,160 3/6
🟨⬜🟨🟨⬜
🟨🟩⬜⬜🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,160 2/6*
⬜⬜⬜🟩🟩
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Edit: Actual photographic evidence of victory non-trivial SVG document[^]
parse_res.attr[0].strokeDashCount = 0;
It has taken me a day of extremely stressful hair pulling to find that this line of code didn't exist and it should have.
It was manifesting as a stack overflow, so I spent my day, tracking that, and pruning the stack.
Here was the offending code that caused the memory corruption that reported as a stack issue.
for (i = 0; i < attr->strokeDashCount; i++)
shape->stroke_dash_array[i] = attr->strokeDashArray[i] * scale;
Here the strokeDashCount value was a ridiculously high garbage number, with (un)predictable results.
This never would have happened in a high level language.
I love me some C and C++. It's an incredible programming language family, but also a very powerful weapon you can wield against yourself if you're not careful.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 6hrs ago.
|
|
|
|
|
I utilize the subscript operator w/ extreme caution. Only if the size is confirmed and the index checked against it do I utilize it.
|
|
|
|
|
It was checked. But the number it was checked against was garbage.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Am a bit surprised you did not utilize an assert to verify the size of the indexed object is in fact the presumed quantity as stored in variable.
|
|
|
|
|
I don't like using assert() because it simply causes a bootloop on these devices when hit. I don't have a debugger.
Also this code did not originate with me. I forked it from another project, and have done a lot of work to it, but a significant portion I have yet to touch.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
May I inquire means by which garbage value originated.
|
|
|
|
|
solar flares probably.
It's what happens in C and C++ when you don't initialize a value explicitly on a release build. It's garbage. leftover bits in stale ram.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Don't static analyzers catch that sort of thing.
|
|
|
|
|
It's not easy to run static analysis on this code because I don't have much control over my build environment. It's all controlled and automagic via PlatformIO. That's often nice because it streamlines my workflow but limits the sorts of tools i can use.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|