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

 
GeneralRe: Visual Studio autogenerated code Pin
adgonz29-Apr-09 5:18
adgonz29-Apr-09 5:18 
GeneralRe: Visual Studio autogenerated code Pin
KarstenK4-May-09 23:14
mveKarstenK4-May-09 23:14 
JokeRe: Visual Studio autogenerated code Pin
VentsyV6-May-09 6:30
VentsyV6-May-09 6:30 
GeneralRe: Visual Studio autogenerated code Pin
KarstenK6-May-09 20:23
mveKarstenK6-May-09 20:23 
JokeRe: Visual Studio autogenerated code Pin
Vasudevan Deepak Kumar7-May-09 21:27
Vasudevan Deepak Kumar7-May-09 21:27 
GeneralRe: Visual Studio autogenerated code Pin
KarstenK7-May-09 21:59
mveKarstenK7-May-09 21:59 
GeneralRe: Visual Studio autogenerated code Pin
sucram18-May-09 0:02
sucram18-May-09 0:02 
JokeRe: Visual Studio autogenerated code Pin
0x3c029-Apr-09 10:51
0x3c029-Apr-09 10:51 
Ah, but this way there's a nice little hack brewing. Modify the parameters in some ASM code mid-execution, and you can invoke multiple segments of code. That way, there's two operating modes built in - cracker and normal user. Crackers can have super-special zero-bug privileges, while normal users can get walloped with the bug-hammer
Of course, a nice little service running in the background on the target machines can do this automatically. Maybe a clause can be put in which stops modifying the code if certain packets are received. Grumpy, abusive user gets bugs, rich user with lots of contacts gets fewer
GeneralRe: Visual Studio autogenerated code Pin
PIEBALDconsult30-Apr-09 14:18
mvePIEBALDconsult30-Apr-09 14:18 
GeneralRe: Visual Studio autogenerated code Pin
adgonz4-May-09 4:45
adgonz4-May-09 4:45 
GeneralRe: Visual Studio autogenerated code Pin
Megidolaon3-May-09 21:21
Megidolaon3-May-09 21:21 
GeneralRe: Visual Studio autogenerated code Pin
adgonz3-May-09 21:33
adgonz3-May-09 21:33 
GeneralRe: Visual Studio autogenerated code Pin
Megidolaon4-May-09 20:28
Megidolaon4-May-09 20:28 
GeneralRe: Visual Studio autogenerated code Pin
Paulo Zemek6-May-09 3:37
mvaPaulo Zemek6-May-09 3:37 
JokeRe: Visual Studio autogenerated code Pin
Vasudevan Deepak Kumar7-May-09 21:29
Vasudevan Deepak Kumar7-May-09 21:29 
GeneralA VS induced horror by me, kinda Pin
Megidolaon27-Apr-09 22:28
Megidolaon27-Apr-09 22:28 
GeneralRe: A VS induced horror by me, kinda Pin
Thomas Weller27-Apr-09 22:53
Thomas Weller27-Apr-09 22:53 
AnswerRe: A VS induced horror by me, kinda Pin
killabyte28-Apr-09 2:13
killabyte28-Apr-09 2:13 
GeneralRe: A VS induced horror by me, kinda Pin
Jeroen De Dauw28-Apr-09 5:54
Jeroen De Dauw28-Apr-09 5:54 
GeneralRe: A VS induced horror by me, kinda Pin
killabyte28-Apr-09 12:18
killabyte28-Apr-09 12:18 
GeneralRe: A VS induced horror by me, kinda Pin
Kenneth Ballard28-Apr-09 8:54
Kenneth Ballard28-Apr-09 8:54 
GeneralRe: A VS induced horror by me, kinda Pin
Megidolaon28-Apr-09 20:47
Megidolaon28-Apr-09 20:47 
GeneralSwitch Statement from Hell PinPopular
Brady Kelly27-Apr-09 7:18
Brady Kelly27-Apr-09 7:18 
GeneralRe: Switch Statement from Hell Pin
Luc Pattyn27-Apr-09 7:49
sitebuilderLuc Pattyn27-Apr-09 7:49 
GeneralRe: Switch Statement from Hell Pin
Jeroen De Dauw27-Apr-09 10:53
Jeroen De Dauw27-Apr-09 10:53 

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.