Click here to Skip to main content
15,887,485 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: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 9:50
professionalJeremy Falcon17-May-23 9:50 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 4:11
professionalJeremy Falcon17-May-23 4:11 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 4:12
mvahoney the codewitch17-May-23 4:12 
GeneralRe: In defense of spaghetti code. *ducks* Pin
thermia18-May-23 2:25
thermia18-May-23 2:25 
QuestionRe: In defense of spaghetti code. *ducks* Pin
megaadam16-May-23 23:18
professionalmegaadam16-May-23 23:18 
AnswerRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 0:06
mvahoney the codewitch17-May-23 0:06 
GeneralRe: In defense of spaghetti code. *ducks* Pin
megaadam17-May-23 0:23
professionalmegaadam17-May-23 0:23 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 2:08
mvahoney the codewitch17-May-23 2:08 
Regarding the flows, the reason they are complicated is we're dealing with 3 buttons, and on top of that, an e-paper screen with a 3 second refresh.

Buttons must ergo be contextual based on the screen, and transitions between screens must be minimized.

Furthermore, the machine sleeps. When it sleeps it runs just like a hard reset on wakeup, but with a different "wakeup reason" so you use that to determine whether you were awoken vs powered on.

There's a maintenance screen that can be gotten to by holding all 3 buttons for 10 seconds.

Finally, there are inactivity timeouts on each screen, polling intervals for the server CU, and and a watchdog timeout to make sure it doesn't hang.

So like I said, it's coherent - it's just complicated. Smile | :)
To err is human. Fortune favors the monsters.

GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 1:36
professionalJeremy Falcon17-May-23 1:36 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 2:04
mvahoney the codewitch17-May-23 2:04 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 4:23
professionalJeremy Falcon17-May-23 4:23 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 4:26
mvahoney the codewitch17-May-23 4:26 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon17-May-23 4:28
professionalJeremy Falcon17-May-23 4:28 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch17-May-23 4:29
mvahoney the codewitch17-May-23 4:29 
GeneralRe: In defense of spaghetti code. *ducks* Pin
jmaida17-May-23 19:36
jmaida17-May-23 19:36 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 1:19
Eusebiu Marcu18-May-23 1:19 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon18-May-23 3:49
professionalJeremy Falcon18-May-23 3:49 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:15
Eusebiu Marcu18-May-23 6:15 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon18-May-23 7:31
professionalJeremy Falcon18-May-23 7:31 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 8:34
Eusebiu Marcu18-May-23 8:34 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Jeremy Falcon18-May-23 11:34
professionalJeremy Falcon18-May-23 11:34 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 1:07
Eusebiu Marcu18-May-23 1:07 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 3:56
mvahoney the codewitch18-May-23 3:56 
GeneralRe: In defense of spaghetti code. *ducks* Pin
Eusebiu Marcu18-May-23 6:20
Eusebiu Marcu18-May-23 6:20 
GeneralRe: In defense of spaghetti code. *ducks* Pin
honey the codewitch18-May-23 6:48
mvahoney the codewitch18-May-23 6:48 

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.