Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Other Topics > Programming

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 03-30-2011, 05:14 PM   #61
Grotesquely Handsome
 
diebitter's Avatar
 
Join Date: Mar 2005
Posts: 56,281
Re: ** OFFICIAL CHATTER THREAD **

wow you guys have to deal with some real retards. I was going to tell some stories about dealing with 3rd parties, but they're nowhere near as bad as, say, the nazi DBA.


Is it me, or do nazi DBAs always have faces that remind you of a well-slapped arse? (red and blotchy)
diebitter is offline   Reply With Quote
Old 03-30-2011, 05:17 PM   #62
Grotesquely Handsome
 
diebitter's Avatar
 
Join Date: Mar 2005
Posts: 56,281
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by Zurvan View Post
Reasonable code review is nice, it often spots issues that you can't see because yourself. Insane code review like that is somebody power tripping like a douche.

The DBA at my old job hadn't learned new technology since 2001. He refused to let us use Subversion, because it was a security risk ("OMG ANYBODY CAN CHANGE YOUR CODE"). He didn't upgrade to MySQL 5 because it was too much work. He refused to allow us to use Stored Procedures because - wait for it - they were a security risk. He much preferred that we hand code all SQL and apply our in-house data sanitization routine - which amounted to mysql_real_escape_string, but done recursively so we could pass arrays.
jesus christ get that guy a time-machine set for the early 90s.
diebitter is offline   Reply With Quote
Old 03-30-2011, 07:37 PM   #63
journeyman
 
ShermanTank's Avatar
 
Join Date: Feb 2010
Location: Idiocracy
Posts: 310
Re: ** OFFICIAL CHATTER THREAD **

Evil DBA sounds like he came from a company like where I work. DB performance is so important we have a standards doc that reads like a lawyer wrote it. I would be pissed if someone was standing over me all day doing that though especially the SET/SELECT crap there's no difference. If I deploy something and it times out its one me I'd rather take responsibility for my own screwups that be micromanaged.

Is there any interest in a C# or MS SQL Server thread?
ShermanTank is offline   Reply With Quote
Old 03-31-2011, 12:04 AM   #64
Hypothetical Ubermonkey
 
jalexand42's Avatar
 
Join Date: Oct 2005
Location: Open Shoving My Range
Posts: 4,547
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by ShermanTank View Post
Is there any interest in a C# or MS SQL Server thread?
If you haven't already done this, definitely go right ahead. We could start off with a general Microsoft .Net platform development thread and then if it gets bonkers split it up.

My company is 100% .net based, so I'm sure I'll chime in there.
jalexand42 is offline   Reply With Quote
Old 03-31-2011, 12:10 AM   #65
Carpal \'Tunnel
 
Join Date: Aug 2004
Posts: 7,163
Re: ** OFFICIAL CHATTER THREAD **

this new programming forum should be removed

its just another thing to waste my time on instead of actual coding and getting stuff done
greg nice is offline   Reply With Quote
Old 03-31-2011, 09:02 AM   #66
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Posts: 10,213
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by greg nice View Post
this new programming forum should be removed

its just another thing to waste my time on instead of actual coding and getting stuff done
Same could be said for the whole of 2+2

"If only I could have all those hours of random browsing back..."

Juk
jukofyork is offline   Reply With Quote
Old 04-01-2011, 03:37 PM   #67
old hand
 
e i pi's Avatar
 
Join Date: Feb 2010
Location: ( ͡° ᴥ͡°)
Posts: 1,825
Re: ** OFFICIAL CHATTER THREAD **

sweetness a new forum. maybe this forum will motivate me to get back into programming. i saw so much potential for solving poker problems.
e i pi is offline   Reply With Quote
Old 04-01-2011, 05:33 PM   #68
Grotesquely Handsome
 
diebitter's Avatar
 
Join Date: Mar 2005
Posts: 56,281
Can we rename this thread to make out more clearly the programming low content thread please?

how about the hackers trycatch?

Or the exception handler thread?
diebitter is offline   Reply With Quote
Old 04-01-2011, 05:42 PM   #69
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,212
Re: ** OFFICIAL CHATTER THREAD **

Along the same lines, UnhandledExceptionEventHandler thread. Anything that does get covered by the other threads goes in here.

It is also ans awesome name because it is there to handle exceptions that are not handled. But if there is an exception that is handled by this handler, it would not be an unhandled exception.
TheIrishThug is offline   Reply With Quote
Old 04-01-2011, 06:18 PM   #70
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,146
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by TheIrishThug View Post
Along the same lines, UnhandledExceptionEventHandler thread. Anything that does get covered by the other threads goes in here.
lol awesome
_dave_ is online now   Reply With Quote
Old 04-01-2011, 06:20 PM   #71
Hypothetical Ubermonkey
 
jalexand42's Avatar
 
Join Date: Oct 2005
Location: Open Shoving My Range
Posts: 4,547
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by diebitter View Post
Can we rename this thread to make out more clearly the programming low content thread please?

how about the hackers trycatch?

Or the exception handler thread?

haha, I was just changing it to something like: catch("LOW CONTENT" > /dev/null)

Saw _dave_ already changed it based on the above suggestion, so I'll leave it, I like the UnhandledException idea better, maybe we can rotate it between ideas.
jalexand42 is offline   Reply With Quote
Old 04-01-2011, 06:20 PM   #72
Grotesquely Handsome
 
diebitter's Avatar
 
Join Date: Mar 2005
Posts: 56,281
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Ahhh thata much easier to spot, ta
diebitter is offline   Reply With Quote
Old 04-02-2011, 01:41 AM   #73
Grotesquely Handsome
 
diebitter's Avatar
 
Join Date: Mar 2005
Posts: 56,281
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by ShermanTank View Post
Is there any interest in a C# or MS SQL Server thread?
both imo. I think the ms sql server one would be particularly good for me, I know quite a few tricks about writing ****-off-a-shovel-fast sprocs.
diebitter is offline   Reply With Quote
Old 04-02-2011, 01:50 AM   #74
Carpal \'Tunnel
 
kyleb's Avatar
 
Join Date: Sep 2004
Location: Seattle
Posts: 37,888
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by Spottswoode View Post
I agree with this, and I was actually quite happy to have someone reviewing my code when I started here, as it's probably the first job I have had where someone does this.

But when it comes to things like the following examples, it gets really annoying.

{t-sql}
Declare @tempVariable int
select @tempvariable = (Select count(0) from some table)

"WHY YOU USE SELECT, USE SET!!!!!!!!!!!!!!!!!!!!!!!!!"

or
Declare @GroupingType nvarchar(64) --SMK:16 is enough

These lines of code have passed 6 code reviews, but suddenly they are an issue since my last check-in.
LOL. This reminds me of my last dev job. They eventually implemented a style guide that blacklisted certain types of variable declarations and/or loops. It was unbelievable.
kyleb is offline   Reply With Quote
Old 04-02-2011, 01:52 AM   #75
Grotesquely Handsome
 
diebitter's Avatar
 
Join Date: Mar 2005
Posts: 56,281
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I have to get this out of my system. Every time I read that 'select/set' thing, I have to resist the urge to say 'but there's a good reason to use SET instead of SELECT...'


I'll get my coat...

Last edited by diebitter; 04-02-2011 at 01:54 AM. Reason: I almost always use select too though...
diebitter is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 10:31 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive