Click here to Skip to main content
15,313,596 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: WSO CCC OTD 2021-08-23 Pin
pkfox22-Aug-21 21:42
professionalpkfox22-Aug-21 21:42 
GeneralRe: WSO CCC OTD 2021-08-23 Pin
OriginalGriff22-Aug-21 21:44
mveOriginalGriff22-Aug-21 21:44 
GeneralRe: WSO CCC OTD 2021-08-23 Pin
pkfox22-Aug-21 21:45
professionalpkfox22-Aug-21 21:45 
GeneralRe: WSO CCC OTD 2021-08-23 Pin
OriginalGriff22-Aug-21 22:01
mveOriginalGriff22-Aug-21 22:01 
GeneralRe: WSO CCC OTD 2021-08-23 Pin
pkfox22-Aug-21 22:07
professionalpkfox22-Aug-21 22:07 
GeneralRe: WSO CCC OTD 2021-08-23 Pin
pkfox22-Aug-21 22:41
professionalpkfox22-Aug-21 22:41 
GeneralRe: WSO CCC OTD 2021-08-23 Pin
OriginalGriff22-Aug-21 22:53
mveOriginalGriff22-Aug-21 22:53 
GeneralI learned event driven programming today Pin
Southmountain22-Aug-21 11:47
MemberSouthmountain22-Aug-21 11:47 
my switch to control porch lights is damaged due to a lightning in my area month ago.
so I bought a new switch from Home Depot. today I spent time to find out how to program this switch.

the instruction manual is written well as a programmer's user guide. I read through all the steps and did some highlights for important tips.

one press on ON/OFF button caused a click event. every event needs to be programmed. so I can program 7 days by programming 14 events, but I select ALL(they are same everyday).

event #1 is DUSK at 7:53PM. event #2 is DAWN at 5:31AM. it looks like macro definition in C/C++.
once DUSK and DAWN are defined, the left is to program these events.

after about an hour, I finished all installation of wall box. turned on general lighting in outside power control panel, all works!

WARNING: you must turn off general lighting power from outside power control panel!!!
diligent hands rule....

JokeRe: I learned event driven programming today Pin
Brisingr Aerowing22-Aug-21 12:09
professionalBrisingr Aerowing22-Aug-21 12:09 
GeneralRe: I learned event driven programming today Pin
Marc Clifton22-Aug-21 12:18
mvaMarc Clifton22-Aug-21 12:18 
GeneralRe: I learned event driven programming today Pin
Southmountain22-Aug-21 15:35
MemberSouthmountain22-Aug-21 15:35 
GeneralRe: I learned event driven programming today Pin
obermd22-Aug-21 12:43
Memberobermd22-Aug-21 12:43 
GeneralRe: I learned event driven programming today Pin
den2k8822-Aug-21 22:10
professionalden2k8822-Aug-21 22:10 
GeneralRe: I learned event driven programming today Pin
Rage23-Aug-21 1:42
professionalRage23-Aug-21 1:42 
GeneralRe: I learned event driven programming today Pin
Southmountain23-Aug-21 7:14
MemberSouthmountain23-Aug-21 7:14 
GeneralRe: I learned event driven programming today Pin
DerekT-P23-Aug-21 23:10
professionalDerekT-P23-Aug-21 23:10 
GeneralRe: I learned event driven programming today Pin
Southmountain24-Aug-21 8:12
MemberSouthmountain24-Aug-21 8:12 
GeneralRIP Don Everly Pin
jeron122-Aug-21 6:41
Memberjeron122-Aug-21 6:41 
GeneralRe: RIP Don Everly Pin
Mike Hankey22-Aug-21 7:21
professionalMike Hankey22-Aug-21 7:21 
GeneralRe: RIP Don Everly Pin
jeron122-Aug-21 9:09
Memberjeron122-Aug-21 9:09 
GeneralRe: RIP Don Everly Pin
OriginalGriff22-Aug-21 7:34
mveOriginalGriff22-Aug-21 7:34 
GeneralRe: RIP Don Everly Pin
DRHuff22-Aug-21 14:23
MemberDRHuff22-Aug-21 14:23 
NewsTjhe Pin
Ravi Bhavnani21-Aug-21 7:56
professionalRavi Bhavnani21-Aug-21 7:56 
GeneralRe: Tjhe Pin
Mike Hankey21-Aug-21 8:28
professionalMike Hankey21-Aug-21 8:28 
GeneralRe: Tjhe Pin
Ron Anders21-Aug-21 11:09
MemberRon Anders21-Aug-21 11:09 

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.


Straw Poll

How important is naming to you in your code?
There are 2 hard problems in Computer Science: caching, naming and off-by-one errors
  Results   792 votes