Click here to Skip to main content
15,886,963 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Wordle 735 Pin
Sandeep Mewara23-Jun-23 17:45
mveSandeep Mewara23-Jun-23 17:45 
GeneralRe: Wordle 735 Pin
OriginalGriff23-Jun-23 19:01
mveOriginalGriff23-Jun-23 19:01 
GeneralRe: Wordle 735 Pin
Sandeep Mewara23-Jun-23 19:43
mveSandeep Mewara23-Jun-23 19:43 
GeneralRe: Wordle 735 - 3 4 me Pin
pkfox23-Jun-23 21:07
professionalpkfox23-Jun-23 21:07 
GeneralRe: Wordle 735 Pin
Cp-Coder24-Jun-23 1:53
Cp-Coder24-Jun-23 1:53 
GeneralRe: Wordle 735 (4/6) Pin
Jeremy Falcon24-Jun-23 4:18
professionalJeremy Falcon24-Jun-23 4:18 
GeneralRe: Wordle 735 3/6 Pin
jmaida24-Jun-23 12:21
jmaida24-Jun-23 12:21 
GeneralWhen a bug isn't really a bug? Pin
honey the codewitch23-Jun-23 2:23
mvahoney the codewitch23-Jun-23 2:23 
Hrmmm.

I have some code with suspected heap corruption. I've pored over it and can't find anything. However, the modifications I've made to the codebase in an attempt to run it down have actually yielded a copy that works reliably on several devices - devices that don't use a display with an "RGB interface" bus.

On any display with an RGB interface bus the device hangs as soon as it receives serial data and rebuilds the display with it. Complete hard freeze, requiring a reflash or hard reset.

I might be able to work around this by switching out my lcd_init.h with something like LovyanGFX to do my last mile display communication.

However, lcd_init.h has never caused me problems before. I suspect that even if switching it out "fixes" the problem, it will have more buried the bug than actually fixed it.

Now here's the thing with IoT, esp when you aren't using I/O bound multithreading or anything complicated to effect the following:

Every time I boot, if i call malloc and print that pointer I get back as a hex integer to the console, it will be the same value every single time (as long as the requested size is the same). If I create a thread on each core, and spit out "A" on one, and "B" on the other, I will get the same sequence of As and Bs every time, on every machine with the same chip.

That makes it very much unlike development on a PC. There aren't fiddly bits in the background making things non-deterministic.

The bottom line is, if I bury this bug well enough, for all practical purposes I have "fixed" it.

I hate this, but I know it to be true.

I don't want to use what I know to be true to move forward on this project. Burying the bug just doesn't sit right with me.

But it's an option. I wouldn't be the first to do it. Far from it.

Times like this call for a little Aesop Rock

Got an angel on my left shoulder, a devil on the polar
Got a mug a frigid, got a mug a solar, sliiidde over
The recipe's designed to plug the appetite for continuity
By stitching togetherness theme congruents (beautifully)
I peel back hearts and lodge greed physics in the chambers
Cauterize the wound and heads like
"Gimme gimme something major"
Road side prophetic, ascend well (well)
Enveloped in a mummy ribbon system
Blistering in a wishing well
BIG BANG!


I don't expect most people to understand that, but he and I communicate, even if he doesn't know it.
Check out my IoT graphics library here:
https://honeythecodewitch/gfx

GeneralRe: When a bug isn't really a bug? Pin
CPallini23-Jun-23 2:43
mveCPallini23-Jun-23 2:43 
GeneralRe: When a bug isn't really a bug? Pin
OriginalGriff23-Jun-23 3:45
mveOriginalGriff23-Jun-23 3:45 
GeneralRe: When a bug isn't really a bug? Pin
dandy7223-Jun-23 4:20
dandy7223-Jun-23 4:20 
GeneralRe: When a bug isn't really a bug? Pin
honey the codewitch23-Jun-23 4:50
mvahoney the codewitch23-Jun-23 4:50 
GeneralRe: When a bug isn't really a bug? Pin
dandy7223-Jun-23 8:09
dandy7223-Jun-23 8:09 
GeneralRe: When a bug isn't really a bug? Pin
honey the codewitch23-Jun-23 9:06
mvahoney the codewitch23-Jun-23 9:06 
GeneralRe: When a bug isn't really a bug? Pin
jschell23-Jun-23 10:57
jschell23-Jun-23 10:57 
GeneralRe: When a bug isn't really a bug? Pin
honey the codewitch23-Jun-23 12:13
mvahoney the codewitch23-Jun-23 12:13 
GeneralRe: When a bug isn't really a bug? Pin
jschell26-Jun-23 5:25
jschell26-Jun-23 5:25 
GeneralRe: When a bug isn't really a bug? Pin
honey the codewitch26-Jun-23 5:29
mvahoney the codewitch26-Jun-23 5:29 
GeneralRe: When a bug isn't really a bug? Pin
jschell26-Jun-23 6:13
jschell26-Jun-23 6:13 
GeneralRe: When a bug isn't really a bug? Pin
Gerry Schmitz23-Jun-23 5:04
mveGerry Schmitz23-Jun-23 5:04 
GeneralRe: When a bug isn't really a bug? Pin
Gary R. Wheeler23-Jun-23 15:07
Gary R. Wheeler23-Jun-23 15:07 
GeneralRe: When a bug isn't really a bug? Pin
Mircea Neacsu23-Jun-23 16:02
Mircea Neacsu23-Jun-23 16:02 
GeneralRe: When a bug isn't really a bug? Pin
jschell23-Jun-23 11:01
jschell23-Jun-23 11:01 
GeneralRe: When a bug isn't really a bug? Pin
honey the codewitch23-Jun-23 12:11
mvahoney the codewitch23-Jun-23 12:11 
GeneralRe: When a bug isn't really a bug? Pin
jschell26-Jun-23 5:21
jschell26-Jun-23 5:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.