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

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, embarrassing 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.

 
GeneralWeird One: CPU utilization Pin
raddevus25-Jan-23 8:31
mvaraddevus25-Jan-23 8:31 
GeneralRe: Weird One: CPU utilization Pin
RickZeeland25-Jan-23 9:06
mveRickZeeland25-Jan-23 9:06 
GeneralRe: Weird One: CPU utilization Pin
trønderen25-Jan-23 9:28
trønderen25-Jan-23 9:28 
GeneralRe: Weird One: CPU utilization Pin
trønderen25-Jan-23 9:57
trønderen25-Jan-23 9:57 
GeneralRe: Weird One: CPU utilization Pin
raddevus25-Jan-23 10:22
mvaraddevus25-Jan-23 10:22 
GeneralRe: Weird One: CPU utilization Pin
RainHat25-Jan-23 23:00
RainHat25-Jan-23 23:00 
GeneralWhat the *ell Windows Explorer? Pin
charlieg18-Jan-23 9:23
charlieg18-Jan-23 9:23 
GeneralHow old am I, according to Amazon? Pin
jsc4214-Jan-23 5:09
professionaljsc4214-Jan-23 5:09 
I have just received a new craft knife from Amazon. As expected, they needed to verify my age as it is an age-restricted item in the UK.

My wife got to the delivery driver first - he asked her what her birth year was and then asked her to confirm her age was x - it isn't, it is x-1.

Then he tried me - he asked me what my birth year was and then asked me to confirm my age was y - it isn't, it is y-1.

I guess that their hand-held devices calculate age = this_year - birth_year.

Surely, every student learning computing is told that this only works correctly on 31st December and for the rest of the year it is just luck if it guesses correctly. At this time of year, it is wrong for 96.2% of the population. A company the size of Amazon that owns its own cloud platforms should have sufficient skilled staff not to allow such a simple Computing 101 error through their vigorous testing procedures.

I might mention this if I get a 'Rate the quality of your experience with the delivery of this item' request.
GeneralRe: How old am I, according to Amazon? Pin
Richard Deeming15-Jan-23 22:38
mveRichard Deeming15-Jan-23 22:38 
GeneralRe: How old am I, according to Amazon? Pin
jsc4215-Jan-23 23:05
professionaljsc4215-Jan-23 23:05 
GeneralRe: How old am I, according to Amazon? Pin
Jeremy Falcon18-Jan-23 2:53
professionalJeremy Falcon18-Jan-23 2:53 
GeneralRe: How old am I, according to Amazon? Pin
charlieg18-Jan-23 8:42
charlieg18-Jan-23 8:42 
GeneralRe: How old am I, according to Amazon? Pin
jsc4218-Jan-23 22:54
professionaljsc4218-Jan-23 22:54 
GeneralForbidden File Names? Pin
kmoorevs30-Dec-22 9:23
kmoorevs30-Dec-22 9:23 
GeneralRe: Forbidden File Names? Pin
trønderen30-Dec-22 9:52
trønderen30-Dec-22 9:52 
GeneralRe: Forbidden File Names? Pin
kmoorevs2-Jan-23 7:16
kmoorevs2-Jan-23 7:16 
GeneralRe: Forbidden File Names? Pin
Eddy Vluggen2-Jan-23 10:36
professionalEddy Vluggen2-Jan-23 10:36 
GeneralRe: Forbidden File Names? Pin
Daniel Pfeffer2-Jan-23 21:23
professionalDaniel Pfeffer2-Jan-23 21:23 
GeneralRe: Forbidden File Names? Pin
Eddy Vluggen2-Jan-23 22:43
professionalEddy Vluggen2-Jan-23 22:43 
GeneralRe: Forbidden File Names? PinPopular
haughtonomous2-Jan-23 21:47
haughtonomous2-Jan-23 21:47 
GeneralRe: Forbidden File Names? Pin
Eddy Vluggen2-Jan-23 22:52
professionalEddy Vluggen2-Jan-23 22:52 
GeneralRe: Forbidden File Names? Pin
Eddy Vluggen2-Jan-23 22:59
professionalEddy Vluggen2-Jan-23 22:59 
GeneralRe: Forbidden File Names? Pin
kmoorevs3-Jan-23 4:58
kmoorevs3-Jan-23 4:58 
GeneralRe: Forbidden File Names? Pin
Bruce Patin3-Jan-23 3:33
Bruce Patin3-Jan-23 3:33 
GeneralRe: Forbidden File Names? Pin
agolddog3-Jan-23 3:36
agolddog3-Jan-23 3:36 

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.