CommunityData:Light events

From CommunityData
(Redirected from Light Events)

What's Happening[edit]

The light in the lab is slightly broken. You flip the light switch and the light turns on. Or does it? After some time another light might turn on. Surprise!

Let's find out how long it takes for the second light to turn on. It feels like it is taking longer and longer over time. Let's find out if it really is using simple unix commands.

 alias switchon='echo "switch $(date)" >> ~/lightdata'                                                      
 alias lighton='echo "light $(date)" >> ~/lightdata'                                                        
                                                     

After a few weeks we can merge our lightdata files and find out if the trend that the lights are taking longer to turn over time is real.