|
rotor posted:jesus christ what the hell Probably some kind of automated obfuscation app? That's loving horrible. Who would write software to DONATE that was entirely unmaintainable? What a douche.
|
# ¿ Apr 2, 2008 04:08 |
|
|
# ¿ Mar 28, 2024 09:22 |
|
ymgve posted:It was un-elegant, but I actually had a DB with about 200 columns. Though that was for the result of lab tests, where each test gave 200 distinct values. My current project has a 180+ column table for medical records since each claim is 180 fields. I argued that we could normalize it further (i.e. don't store duplicate drug descriptions and the like) but I was shot down .
|
# ¿ Jun 7, 2008 01:57 |
|
Here is one from my work:code:
1. TransactionControlNumber stored as a string. 2. Uses a while loop to pad the number.
|
# ¿ Jul 2, 2008 14:44 |
|
Kharya posted:Also, gently caress prepared statements. This is the real horror right here. As someone who does security scanning and training for developers as a living, this never, ever works. Use prepared statements for god's sake.
|
# ¿ Jan 3, 2009 04:19 |
|
FeloniousDrunk posted:
|
# ¿ Feb 22, 2009 02:06 |
|
Lexical Unit posted:Please tell me you are a teacher who is grading a high school student's homework. I've seen MUCH worse on our exam we give to people applying for jobs.
|
# ¿ Sep 2, 2009 18:48 |
|
Wheany posted:I read somewhere that often those coding tests aren't really meant to show how clever you are, just to prove that you can program at all. This is it. We use the test to weed out those that have no chance, then do the actual technical and cultural evaluation of the people that pass. You'd be surprised how many people will list 3-5 years of web application development on their resume and really have just played with Access and FrontPage.
|
# ¿ Sep 4, 2009 14:56 |
|
Avenging Dentist posted:Yes, I too hate things that make generic programming easier and less verbose. Right, but that's not what we are complaining about. This is: code:
|
# ¿ Jan 27, 2010 15:36 |
|
Wheany posted:Maybe they didn't know that in Java you can do a Course [] returnCourses = new Course [numberOfCourses]; Or just use a higher level construct like a List, Hash or Set.
|
# ¿ Mar 29, 2010 18:06 |
|
MrMoo posted:I would hedge that Chrome's PDF viewer has more eyes on the security front. It's also sandboxed away from anything which provides some benefits, although I think the sandbox was breached recently in Pwn2Own or some other contest.
|
# ¿ May 7, 2012 20:22 |
|
BP posted:The right thing to do (IMO) would be for the validation code to be smart enough that when a record ID is checked that is inside of a range of unusable records, increment to the next ID outside the range instead of incrementing by 1. Instead we only increment by 1, and devs get caught off-guard as this fact about ID generation is not very well known. Not sure about your use case, but I don't think so. Don't base business logic decisions from auto-incrementing primary keys. Use a separate field or data-type to indicate whatever business case you have.
|
# ¿ Jul 12, 2012 00:50 |
|
trex eaterofcadrs posted:Am I the only one who thinks things like Order ID's should just be generated with a UUID? It would solve SO many problems. IIRC there are some issues in using UUIDs for auto-generating keys in some databases. It's been a while since I looked into it so that might not be an issue anymore. Even so, using UUIDs doesn't seem to solve his problem since what they need is a way to differentiate two of the same record types. They are using a 'reserved' part of the PK key space which, with UUIDs, would be about a bajillion times worse. It sounds like they just need a separate field.
|
# ¿ Jul 12, 2012 01:10 |
|
|
# ¿ Mar 28, 2024 09:22 |
|
shrughes posted:They're not abusing a position of power. They aren't in a position of power. This is correct. The market for developers now is crazy. I read recently that the unemployment rate for devs in Austin is -2%. Negative 2. No one is forcing people to take the job. The only people interested are those that value working for PA highly, which the business is using as part of their compensation package.
|
# ¿ Nov 28, 2013 18:17 |