Click here to Skip to main content
15,393,050 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.

 
GeneralTECO Macros - show me the codez Pin
MrChug23hrs 42mins ago
MemberMrChug23hrs 42mins ago 
GeneralRe: TECO Macros - show me the codez Pin
PIEBALDconsult23hrs 37mins ago
professionalPIEBALDconsult23hrs 37mins ago 
GeneralWeird: Very confusing Base64 problem (includes quiz) Pin
raddevus21-Jul-22 11:12
mvaraddevus21-Jul-22 11:12 
GeneralRe: Weird: Very confusing Base64 problem (includes quiz) Pin
Randor 21-Jul-22 21:40
professional Randor 21-Jul-22 21:40 
GeneralRe: Weird: Very confusing Base64 problem (includes quiz) Pin
raddevus22-Jul-22 2:50
mvaraddevus22-Jul-22 2:50 
GeneralRe: Weird: Very confusing Base64 problem (includes quiz) Pin
Marc Clifton4-Aug-22 4:24
mvaMarc Clifton4-Aug-22 4:24 
GeneralRe: Weird: Very confusing Base64 problem (includes quiz) Pin
RickZeeland20hrs 34mins ago
mveRickZeeland20hrs 34mins ago 
GeneralRe: Weird: Very confusing Base64 problem (includes quiz) Pin
Richard Deeming19hrs 22mins ago
mveRichard Deeming19hrs 22mins ago 
GeneralRe: Weird: Very confusing Base64 problem (includes quiz) Pin
RickZeeland19hrs 1 min ago
mveRickZeeland19hrs 1 min ago 
RantGetAssemblyVersion, VB style Pin
Saša Ćetković27-Jun-22 3:03
professionalSaša Ćetković27-Jun-22 3:03 
GeneralRe: GetAssemblyVersion, VB style Pin
Southmountain1-Jul-22 12:55
MemberSouthmountain1-Jul-22 12:55 
GeneralRe: GetAssemblyVersion, VB style Pin
Saša Ćetković2-Jul-22 4:07
professionalSaša Ćetković2-Jul-22 4:07 
GeneralRe: GetAssemblyVersion, VB style Pin
Southmountain2-Jul-22 10:47
MemberSouthmountain2-Jul-22 10:47 
GeneralRe: GetAssemblyVersion, VB style Pin
dan!sh 19-Jul-22 23:32
professional dan!sh 19-Jul-22 23:32 
GeneralRe: GetAssemblyVersion, VB style Pin
Saša Ćetković21-Jul-22 21:18
professionalSaša Ćetković21-Jul-22 21:18 
General"This is a rare event" PinPopular
Marc Clifton7-May-22 8:33
mvaMarc Clifton7-May-22 8:33 
For giggles I programmatically created a query that had a huge number of unions. The full message from SQL Server was:

Quote:
The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions.
Laugh | :laugh:

GeneralRe: "This is a rare event" Pin
Slacker00710-May-22 10:04
professionalSlacker00710-May-22 10:04 
GeneralRe: "This is a rare event" Pin
jsc4211-May-22 0:17
professionaljsc4211-May-22 0:17 
GeneralRe: "This is a rare event" Pin
MarkTJohnson11-May-22 3:23
professionalMarkTJohnson11-May-22 3:23 
GeneralRe: "This is a rare event" Pin
PIEBALDconsult14-May-22 14:20
professionalPIEBALDconsult14-May-22 14:20 
GeneralRe: "This is a rare event" Pin
PIEBALDconsult14-May-22 14:24
professionalPIEBALDconsult14-May-22 14:24 
GeneralRe: "This is a rare event" Pin
Marc Clifton15-May-22 7:04
mvaMarc Clifton15-May-22 7:04 
GeneralRe: "This is a rare event" Pin
Jörgen Andersson17-May-22 23:52
professionalJörgen Andersson17-May-22 23:52 
GeneralRe: "This is a rare event" Pin
Craig Robbins27-Jun-22 14:01
MemberCraig Robbins27-Jun-22 14:01 
GeneralRe: "This is a rare event" Pin
PIEBALDconsult27-Jun-22 14:41
professionalPIEBALDconsult27-Jun-22 14:41 

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.