Click here to Skip to main content
11,706,979 members (47,300 online)

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrasing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
Generalsupervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
joe_j1-Feb-13 3:10
memberjoe_j1-Feb-13 3:10 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
DaveAuld1-Feb-13 3:14
mentorDaveAuld1-Feb-13 3:14 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
joe_j1-Feb-13 3:21
memberjoe_j1-Feb-13 3:21 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
DaveAuld1-Feb-13 3:32
mentorDaveAuld1-Feb-13 3:32 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
Nish Sivakumar1-Feb-13 4:48
sitebuilderNish Sivakumar1-Feb-13 4:48 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
OriginalGriff1-Feb-13 4:59
mvpOriginalGriff1-Feb-13 4:59 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
DaveAuld1-Feb-13 5:45
mentorDaveAuld1-Feb-13 5:45 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
Florin Jurcovici7-Feb-13 20:31
memberFlorin Jurcovici7-Feb-13 20:31 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
Keith Barrow4-Feb-13 1:42
mentorKeith Barrow4-Feb-13 1:42 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
jibesh4-Feb-13 14:04
memberjibesh4-Feb-13 14:04 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
Marco Bertschi6-Feb-13 0:09
memberMarco Bertschi6-Feb-13 0:09 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
satovey7-Feb-13 6:21
membersatovey7-Feb-13 6:21 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
joe_j7-Feb-13 18:50
memberjoe_j7-Feb-13 18:50 
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
satovey8-Feb-13 5:16
membersatovey8-Feb-13 5:16 
It is a bit psuedo.

With properly declared variables and keywords it would compile and run. Unfortunately it has a bug and is therefore quite dangerous to anyone stepping on the trap door.

I forgot two important parameters. A variable for a timer and a constant for maximum standing time allowed.

The trap would trigger as soon as you got up to use the restroom.

Now, if you really want to use the code, rather than applying it to a trap door, apply it to an arduino or raspi controlled supper soaker water gun sitting on the desk, pointed in the direction of the standing interloper.

To be not so obvious and have some real fun, place a small hidden water device on the sealing above the spot and have it spew out just enough water to make it feel like a bird just pissed on the individual. For real effectiveness, make the device focus on any area behind the desk that's within the monitors viewing area.

Hmmm; It appears that I have been reading way to many Instructables and Hackadays. And also watching to many YouTube videos utilizing arduino controlled devices.

Laugh | :laugh:
GeneralRe: supervising stalker eyes onto your screen while you code.. IRRITATING or what??? Pin
Florin Jurcovici7-Feb-13 20:47
memberFlorin Jurcovici7-Feb-13 20:47 
GeneralTwo Approaches to Avoiding Repeating an Item Template Pin
AspDotNetDev31-Jan-13 12:43
protectorAspDotNetDev31-Jan-13 12:43 
GeneralDrinking and coding Pin
joe_j30-Jan-13 20:35
memberjoe_j30-Jan-13 20:35 
GeneralRe: Drinking and coding Pin
peterchen30-Jan-13 21:25
memberpeterchen30-Jan-13 21:25 
GeneralRe: Drinking and coding Pin
Jörgen Andersson30-Jan-13 22:09
memberJörgen Andersson30-Jan-13 22:09 
GeneralRe: Drinking and coding Pin
peterchen30-Jan-13 22:11
memberpeterchen30-Jan-13 22:11 
GeneralRe: Drinking and coding Pin
Jörgen Andersson30-Jan-13 22:17
memberJörgen Andersson30-Jan-13 22:17 
GeneralRe: Drinking and coding Pin
Rob Grainger6-Feb-13 22:30
memberRob Grainger6-Feb-13 22:30 
GeneralRe: Drinking and coding Pin
Jörgen Andersson6-Feb-13 22:39
memberJörgen Andersson6-Feb-13 22:39 
GeneralRe: Drinking and coding Pin
RugbyLeague30-Jan-13 21:30
memberRugbyLeague30-Jan-13 21:30 
GeneralRe: Drinking and coding Pin
derek999931-Jan-13 1:47
memberderek999931-Jan-13 1:47 
GeneralRe: Drinking and coding Pin
RugbyLeague31-Jan-13 2:12
memberRugbyLeague31-Jan-13 2:12 
GeneralRe: Drinking and coding Pin
Nagy Vilmos30-Jan-13 21:41
memberNagy Vilmos30-Jan-13 21:41 
GeneralRe: Drinking and coding Pin
joe_j30-Jan-13 22:03
memberjoe_j30-Jan-13 22:03 
GeneralRe: Drinking and coding Pin
Nagy Vilmos30-Jan-13 22:19
memberNagy Vilmos30-Jan-13 22:19 
GeneralRe: Drinking and coding Pin
OriginalGriff31-Jan-13 1:16
mvpOriginalGriff31-Jan-13 1:16 
GeneralRe: Drinking and coding Pin
joe_j1-Feb-13 3:05
memberjoe_j1-Feb-13 3:05 
GeneralRe: Drinking and coding Pin
Scott Burkow1-Feb-13 3:56
memberScott Burkow1-Feb-13 3:56 
GeneralRe: Drinking and coding Pin
Rob Grainger6-Feb-13 22:31
memberRob Grainger6-Feb-13 22:31 
GeneralRe: Drinking and coding Pin
Nagy Vilmos6-Feb-13 22:34
memberNagy Vilmos6-Feb-13 22:34 
GeneralRe: Drinking and coding Pin
Gary Wheeler1-Feb-13 0:33
memberGary Wheeler1-Feb-13 0:33 
GeneralRe: Drinking and coding Pin
joe_j1-Feb-13 1:11
memberjoe_j1-Feb-13 1:11 
GeneralRe: Drinking and coding Pin
S Houghtelin1-Feb-13 2:52
memberS Houghtelin1-Feb-13 2:52 
GeneralIs this bad or am I just picky? Pin
Jeroen De Dauw29-Jan-13 2:44
memberJeroen De Dauw29-Jan-13 2:44 
GeneralRe: Is this bad or am I just picky? Pin
Brisingr Aerowing29-Jan-13 2:56
memberBrisingr Aerowing29-Jan-13 2:56 
GeneralRe: Is this bad or am I just picky? Pin
Jeroen De Dauw29-Jan-13 3:21
memberJeroen De Dauw29-Jan-13 3:21 
JokeRe: Is this bad or am I just picky? Pin
Marcus Kramer29-Jan-13 4:23
mvpMarcus Kramer29-Jan-13 4:23 
GeneralRe: Is this bad or am I just picky? Pin
Bob G Beechey1-Feb-13 17:10
memberBob G Beechey1-Feb-13 17:10 
GeneralRe: Is this bad or am I just picky? Pin
Marcus Kramer1-Feb-13 18:28
mvpMarcus Kramer1-Feb-13 18:28 
GeneralRe: Is this bad or am I just picky? Pin
Bob G Beechey1-Feb-13 18:31
memberBob G Beechey1-Feb-13 18:31 
GeneralRe: Is this bad or am I just picky? Pin
Brady Kelly1-Feb-13 23:56
memberBrady Kelly1-Feb-13 23:56 
GeneralRe: Is this bad or am I just picky? Pin
H.Brydon1-Mar-13 9:39
memberH.Brydon1-Mar-13 9:39 
GeneralRe: Is this bad or am I just picky? Pin
Gary Huck1-Feb-13 3:01
memberGary Huck1-Feb-13 3:01 
GeneralRe: Is this bad or am I just picky? Pin
ihoecken29-Jan-13 22:00
memberihoecken29-Jan-13 22:00 
GeneralRe: Is this bad or am I just picky? Pin
s_mon30-Jan-13 10:03
members_mon30-Jan-13 10:03 
GeneralRe: Is this bad or am I just picky? Pin
Shameel30-Jan-13 22:25
memberShameel30-Jan-13 22:25 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 30 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid