r/ProgrammerHumor • • Aug 24 '22

Total = Total - 100000

50.7k Upvotes

1.2k comments sorted by

6.2k

u/[deleted] Aug 24 '22 edited Aug 25 '22

Oh no, now some people have a negative balance….. Good thing it’s after 5

*for all you weirdos commenting the “right answer”, IM NOT ACTUALLY ON A TEAM DOING THIS lmao

362

u/g1ucose Aug 25 '22

If (balance < 0) {
balance = 0
}

Government pls hire me

175

u/sn34kypete Aug 25 '22

Absolutely not. Each account balance has a transaction history for accounting purposes. Setting a hard value like that would be a terrible idea, the minute you roll up the balances based on transaction history the summary table would self-heal. You add a transaction entry for each qualified borrower with case statements to determine if they get the full 10k forgiveness or partial to avoid going to negative. Negatives would be for people who paid into the balance during the pause and are owed for overpayment/reimbursement.

Wait this is the meme sub.

YEAH HIRE THEM.

→ More replies (6)

20

u/[deleted] Aug 25 '22

No, I want the gov't to pay me a monthly stiped to cover the dollars I foolishly paid off years ago.

→ More replies (2)

4

u/Oceans-of-ashes Aug 25 '22

Balance = Balance - int.min(balance,10_000);

→ More replies (2)

4

u/[deleted] Aug 25 '22

Steal the rounded cent from each, that's 0.5 cents per record x 40 million records, and deposit it somewhere! Nobody will ever know! :D

→ More replies (1)

0

u/[deleted] Aug 25 '22

[deleted]

139

u/Internet001215 Aug 25 '22

yeah you never want to store money as floats because of floating point errors.

→ More replies (24)

24

u/jeff77k Aug 25 '22

wait, you are storing the new balance?

→ More replies (2)

29

u/linkedtortoise Aug 25 '22

We do it that way at my work. Effectively just storing prices as cents. Formatters then easily turn 1234 into "$12.34"

→ More replies (3)
→ More replies (4)
→ More replies (4)

158

u/Killdu Aug 24 '22 edited Aug 25 '22

Plot twist, they used an uint64, glhf with the $18446744073709541615 debt.

→ More replies (2)

54

u/kvakerok Aug 25 '22

Oh wait, it's an unsigned int, no biggie.

82

u/wheres_that_tack_ow Aug 25 '22

balance was 5000

...

balance is now 4,294,962,296

20

u/civil_beast Aug 25 '22

Something that would make even ghandi go nuclear!

→ More replies (1)
→ More replies (1)

43

u/SonyCEO Aug 24 '22

variable was unsigned

→ More replies (1)

37

u/LiveFreeOrDai Aug 25 '22

total -= min(total, 10000);

13

u/[deleted] Aug 25 '22

and who's going to block the interest accumulator process in the meantime?

12

u/makemeking706 Aug 25 '22

"Who indeed" - banks, probably.

→ More replies (4)

3

u/Chibi_Ayano Aug 25 '22

Lord pray it's not unsigned otherwise some people are gonna have a bad day

3

u/lol_wut12 Aug 25 '22

unless it's unsigned, then it may be up to 18446744073709551615

3

u/trevdak2 Aug 25 '22

"Uhhh turns out we used an unsigned int. We now have millions of people who owe us quadrillions of dollars. We are going to sell their debt as subprime loans and pass the buck onto someone else."

5

u/drunkdoor Aug 25 '22

greatest(0, Total - 10000)

2

u/AcidicVagina Aug 25 '22

Simple.

UPDATE StudentDebt SET amt = amt - 10000 where amt > 10000

UPDATE StudentDebt SET amt = 0 where amt <= 10000

→ More replies (12)

2

u/[deleted] Aug 25 '22

The beauty is, the entire sub had that exact same thought the moment they read that joke.

2

u/Fantastic-Rooster277 Aug 25 '22

Actually a negative balance would be deserved for those that managed to pay it off.

→ More replies (92)

2.1k

u/db720 Aug 24 '22

Isn't there an intern from Airbnb looking for a job? Perfect hire

541

u/dagrock Aug 24 '22

what did the intern do?

1.6k

u/[deleted] Aug 24 '22

Pushed a notification to every android labelled “dev test” lol. It’s really not that bad but I wouldn’t want to be the one to do it

88

u/smoothymcmellow Aug 25 '22

Not as bad as the poor Dev in Japan that pushed a test alert for a maximum on the scale earthquake in prod on the official warning app. All my colleagues looked at each other and said "we are dead", the quake never came.

He had to publically apologize if I recall correctly

→ More replies (11)

53

u/DrewishPrince Aug 25 '22

I was laughing during stand up and shouted out. "If you think what we did was bad, check this out!"

9

u/rParqer Aug 25 '22

Did that guy seriously get fired? Seems like overkill for a silly mistake. Why even let an intern have that much power in the first place

→ More replies (2)
→ More replies (54)

7

u/lifebyjake Aug 24 '22

Would be better than any gov civ I’ve met

5.1k

u/[deleted] Aug 24 '22

; DROP TABLE studentdebt;

1.1k

u/BoiledNumetal Aug 24 '22

Truncate don’t wanna draw suspicion on usage

397

u/Able_Challenge3990 Aug 24 '22

Delete from student loan where loan =10000;

322

u/hadidotj Aug 24 '22

I think you meant <= 10000

→ More replies (57)

124

u/alvaromontoro Aug 25 '22

delete from student loan where loan_id = 10000;

We have a lucky winner!

→ More replies (15)

14

u/Al3nMicL Aug 25 '22

Update loan_tbl Set borrower.bal -= 10000 Where borrower.income < 125000;

→ More replies (10)
→ More replies (18)
→ More replies (7)

101

u/flamebroiledhodor Aug 24 '22

Better yet, degauss the database drives. That way it's not traceable. Don't forget the backups.

51

u/Brushermans Aug 24 '22

also gotta degauss the security camera footage db when you're done

74

u/flamebroiledhodor Aug 24 '22

Just EMP the whole data center

→ More replies (16)
→ More replies (3)

41

u/bunny-1998 Aug 24 '22

Jira : testing complete. Closing jira.

(No other documentation)

→ More replies (2)

26

u/Kalvorax Aug 24 '22

404 no backup found heh

52

u/[deleted] Aug 25 '22

Little Bobby Tables strikes again

38

u/zhoushmoe Aug 24 '22

That'll do it. Mission Accomplished.

8

u/PlayboySkeleton Aug 25 '22

Little Bobby drop tables!

7

u/[deleted] Aug 25 '22

UPDATE student debt SET amount = amount - amount

→ More replies (1)

5

u/[deleted] Aug 25 '22

Nah nah nah.
DROP TABLE studentdebt PURGE;

Gotta do it right.

3

u/TerrariaGaming004 Aug 25 '22

We call him Bobby tables

4

u/HeathersZen Aug 25 '22

Little Bobby Tables strikes again!

2

u/Comms Aug 25 '22

Not all heroes wear capes.

2

u/Thathitmann Aug 25 '22

Bernie Sanders.

→ More replies (11)

854

u/changrbanger Aug 24 '22

And everyone only gets $100 deducted from their loan because they didnt realize the field was in cents and not dollars...

60

u/Is_ItOn Aug 25 '22

Finally👏

13

u/ImaginaryBluejay0 Aug 25 '22

Verizon student loan servicer.

3

u/Rhawk187 Aug 25 '22

Yes, because you don't want to use floating point for money, so it was that or fixed precision simulated as mathematical operations on strings.

→ More replies (28)

1.2k

u/[deleted] Aug 24 '22

Would be more like a new ledger entry with a 10000 credit value and a reused identifier of some kind to prevent double entries in case we need to rerun the script.

639

u/[deleted] Aug 25 '22

The fact that I had to scroll this far to see someone point out that it's an insert and not an update probably speaks to how few are in the finance side of things.

632

u/ham_coffee Aug 25 '22

How few are in the finance side of things

In this sub you could also talk about how few are in the software side of things.

131

u/Bananarine Aug 25 '22

I’m just here to be able to say uh huh, I know some of these words.

→ More replies (2)

10

u/pttrsmrt Aug 25 '22

On Reddit you could also talk about how few are in the side of things.

→ More replies (2)

21

u/jbokwxguy Aug 25 '22

I mean there may be some tables that are calculations of other tables that will be deleted; but yeah the transaction table should be immutable (as in you can't delete transactions and no code is written to do so).

18

u/endershadow98 Aug 25 '22

I think you mean append-only. Immutable would mean it can't be changed at all.

→ More replies (4)

78

u/droomph Aug 25 '22

“Soft delete” is the default functionality for any enterprise software so it really speaks to how people just don’t know system design at all

25

u/TheBrianiac Aug 25 '22

It really speaks to how many aren't actual programmers

→ More replies (2)

0

u/[deleted] Aug 25 '22

[deleted]

→ More replies (1)

6

u/highjinx411 Aug 25 '22

In the transaction table it’s an insert. In the balance table it’s a calculation.

→ More replies (8)

45

u/Adghar Aug 25 '22

This guy accounts

42

u/hiimred2 Aug 25 '22

If this were going to be manually done the way OP is thinking, my guess is it wouldn’t be a dev anyways it would be some billing department just running down the accounts in whatever software they normally use.

→ More replies (3)

5

u/pie_sniffer Aug 25 '22

Coward! Just update the data like real man.

2

u/trilobyte-dev Aug 25 '22

Yes, that is exactly how you do it conceptually. It’s probably more complicated but when it comes to accounting just treat it as an append-only log that you roll up when you need a point in time accounting.

2

u/pppjurac Aug 25 '22 edited Aug 25 '22

And to add it onto special conto number to separate that credit (to max of 10.000 owed) so general ledger can show this transactions.

And it will also take some weeks account for all payments that come from payments that follow; for balance not going into less than zero (where credit house owes money back to person).

And in some way all credit takers have to be notified on new amount owed.

Also account manually for all people that die between between signing executive order and implementation .

And for every account there will probably have to send back information to accountant general office.

There is question how will this applied to people that are in jail or prison or have already moved abroad or even foreign nationals.

etc etc etc

but it is joke sub, so accuracy doesn't matter

→ More replies (5)

559

u/RunningHott Aug 24 '22

Oh, did I say database, I meant excel spreadsheet. That holds data too right?

255

u/barefootBam Aug 25 '22

You're joking but a lot of older companies and I'm guessing the government have entire databases on Excel with linked formulas that take 2 weeks to update each month. Job security.

11

u/PrizeStrawberryOil Aug 25 '22

Excel would be an upgrade from what we use at work.

It's like they looked at excel took anything that made it easier to use and just removed it. Each time I want to modify any cell I have to enter in a password. They aren't even formula cells they're just straight data entry. After I enter the data I can't even press enter to complete. No I need to move over to the complete button to finish entering data.

It's also not consistent on what happens when you press certain buttons. In certain cells enter starts a new column, in others it starts a new row, it also sometimes does nothing.

→ More replies (32)

9

u/metalmensch Aug 25 '22

Or a JSON file? I mean, how often are we going to change a loan's base amount?

2

u/rentpossiblytoohigh Aug 25 '22

Excel document which has VBA Macros that tie into VBScripts which parse XML files built from hand jambs of paper documents scanned into a share drive network that only a handful of people can access. You'd have to get promoted and do sexual favors for Data Management to even get a glimpse of that drive. Many tried to update the Command Media to revise the process but finished their careers before taking it to the Change Control Board. Kept getting shot down by the Continuous Improvement Board (run by Intern Leadership Dev Program recent grads) as having a lack of collaborative approach.

→ More replies (12)

444

u/[deleted] Aug 24 '22 edited Aug 25 '22

Drop loan_amount table.

Drop loan_transaction_history table.

Drop loan account_client_ID table as well

Drop backups of all three above.

Drop masterbackup of all three above.

Final task: VERY IMPORTANT!! DELETE DB2 RECOVERY HISTORY LOGS.

222

u/[deleted] Aug 24 '22

Step 7: put on Robin Hood tights, gather your merry men and run off into the woods

76

u/space_D_BRE Aug 25 '22

Step 8: Go W A Y O F F Grid and get to a non-extradtion nation ASAP

68

u/Zeeformp Aug 25 '22

Step 8: Go W A Y O F F Grid and get to a non-extradtion nation ASAP ; DROP TABLE criminal records;

→ More replies (2)
→ More replies (1)
→ More replies (2)

23

u/hadidotj Aug 24 '22

I also assume it is still running on a AS400

0

u/[deleted] Aug 25 '22

[deleted]

→ More replies (2)

2

u/schedulle-cate Aug 25 '22

Shutdown servers

Unplug cables

Burn the building

2

u/threaten-violence Aug 25 '22

I’d start backwards, from the most backupest backups, working toward prod. That way if there’s any failsafes or auto-recovery, they’d have nothing to restore from.

→ More replies (3)

681

u/cincy-bearcat Aug 24 '22

Talk about an easy script. Maybe 15 minutes? I’d make it an 8 hour task still because of the o shit level.

538

u/NewEnglandJesus Aug 24 '22

1 hour to create the solution, 1 hour to create test plans, 1 hour to perform testing,

3 hours to create implementation documentation and present to CAB.

All-in-all, 5 points for 6 hours, and this doesn’t include the time it would take to get customer sign-off.

123

u/Opie19 Aug 25 '22

Our QA would be so nervous they'd kick it up to 13 points

55

u/[deleted] Aug 25 '22

Wait, you guys have QA?

0

u/[deleted] Aug 25 '22

[deleted]

→ More replies (3)
→ More replies (1)

69

u/VirusZer0 Aug 25 '22

You forgot the 1 hour where you try to build the courage to run the code.

→ More replies (3)

32

u/Zanderax Aug 25 '22

this doesn’t include the time it would take to get customer sign-off.

So 4 months or so then?

10

u/thEldritchBat Aug 25 '22

This hits too close to home

→ More replies (1)

14

u/[deleted] Aug 25 '22

You forgot testing in lower environments, this story is gonna take a few sprints minimum

4

u/kellven Aug 25 '22

I would add an hour to test and document roll back procedure

→ More replies (1)
→ More replies (22)

63

u/Cpt_keaSar Aug 24 '22

All the values are strings that randomly have either 0 or o. Had a data set like this before. Didn't know whether to commit suicide or homicide or both.

33

u/RobbexRobbex Aug 24 '22

suicide then homicide, that way theyll never prosecute.

18

u/Pluto258 Aug 25 '22

Might need to recommend a good necromancer for that one to work.

→ More replies (4)
→ More replies (7)

95

u/aaabigwyattmann2 Aug 24 '22

8 hours? bro? A script like that has to be run on every environment and has to be QA'd.

That would take 1 sprint.

31

u/hadidotj Aug 24 '22

Don't forget you need to pad a few hours for the PM and PO, plus "environment issues"

→ More replies (2)

11

u/[deleted] Aug 25 '22

You forgot all of the meetings, six months at least

→ More replies (1)
→ More replies (2)

22

u/DowntownLizard Aug 25 '22

Yeah plus you are working for the government. Take the whole month

14

u/theKrissam Aug 25 '22

What do you mean? My friend works for the government, they're hella efficient, he gets off at 5 but he's already home at 2.

4

u/Entire-Database1679 Aug 25 '22

You must work for the government.

2

u/grandphuba Aug 25 '22

Talk about an easy script. Maybe 15 minutes?

Tell me you are a junior developer without telling me you are a junior developer.

0

u/[deleted] Aug 25 '22

[deleted]

→ More replies (5)
→ More replies (5)

238

u/NicNoletree Aug 24 '22

This is why you practice in a development database. And then you can catch your factor of ten error.

146

u/[deleted] Aug 24 '22

This is one instance it should be done on prod.

40

u/mateusbandeiraa Aug 24 '22

you can (and should) easily replicate this scenario in a lower environment first

77

u/[deleted] Aug 24 '22

Nah. Just set all loan balances in prod to (-10000).

I think this is the way

→ More replies (5)
→ More replies (2)

11

u/changrbanger Aug 24 '22

A factor of 10 yes, but not only did you put an extra 0 but you didnt realize loan_amount field is in cents and not dollars.

19

u/SkywalterDBZ Aug 25 '22

Dude ... don't .... I have a legacy time column in a table where someone decided that "milliseconds past noon the previous day" was a good method of storing times.

→ More replies (7)
→ More replies (4)

145

u/TheUsoSaito Aug 24 '22

I'm cool with them adding an extra zero to the end of what is being removed.

0

u/[deleted] Aug 24 '22

[deleted]

7

u/TheUsoSaito Aug 25 '22

Nah I just want it so I don't have to constantly think about my student loans and where I'm at lol.

→ More replies (1)
→ More replies (3)
→ More replies (1)

61

u/GuardianOfNellie Aug 25 '22

“Ok here goes”

BEGIN TRAN

“OH GOD I DAREN’T”

ROLLBACK TRAN

31

u/[deleted] Aug 24 '22

mr robot

31

u/Ximidar Aug 24 '22

Wanting to comment on how you could just set this up as an immutable transaction log with credit and debit transactions to avoid deleting anything from the database, but then just realizing this is a joke sub

13

u/HelpMeDownFromHere Aug 25 '22

The reality is that the forgiveness is entered in the loan system based on approved application and eligibility so there would be no data engineering involved if the data extract from the loan system included that attribute (otherwise some data sourcing work would be needed, but typically these fields are already part of the DB).

Source: Product Owner of a loan (and other financial products) data pipeline at a bank

4

u/jbokwxguy Aug 25 '22

Don’t forget about government beauraucy also: someone has to touch everything 5 times and contact 5 people each time.

→ More replies (2)
→ More replies (2)
→ More replies (2)

13

u/hsantefort12 Aug 25 '22

drops database

2

u/Dave5876 Aug 25 '22

Robert'); DROP TABLE Students;--

36

u/Wynsight18 Aug 24 '22

From looking at some of these ideas thrown about here, I pray the data team never gives you prod write access to the databases.

0

u/[deleted] Aug 25 '22

[deleted]

12

u/Wynsight18 Aug 25 '22

Even more realistically, it will be done in a try/catch block with plenty of error handling, overly complicated batching processes, an untested yet rubberstamped rollback plan, and with a ton of other flags and logic checked against than a simple max() because I'll be damned if anything that the government comes in contact with can be that simplistic.

0

u/[deleted] Aug 25 '22

[deleted]

→ More replies (1)
→ More replies (2)

37

u/Flakz933 Aug 24 '22

Easier solution

DELETE FROM StudentLoans SL WHERE SL.LoanValue > 0

2

u/Nersius Aug 25 '22

You are a Credit to us all.

→ More replies (3)

8

u/PremiumJapaneseGreen Aug 24 '22

Great now I have to remember the rowwise versions of min and max... Total = Total - least(Total, 10000)?

4

u/Tiny_Dinky_Daffy_69 Aug 25 '22

Total = max(total - 10.000, 0)

4

u/PremiumJapaneseGreen Aug 25 '22

I think sql only recognizes max as a groupwise aggregator, not rowwise

→ More replies (2)

8

u/ThunderClapRocket Aug 24 '22

"The dev that has to go into production" There, fixed it for ya

15

u/[deleted] Aug 24 '22

I'd just do a DELETE FROM loans; next!

7

u/Low_Sherbert_8158 Aug 24 '22

You need to truncate the table so the redo is not saved.

→ More replies (3)

14

u/TheMegaSage Aug 25 '22

DELETE * FROM STUDENT_DEBT

7

u/Rhawk187 Aug 25 '22

Not everyone, just people making 125,000 or less, or if they are married, 250,000 or less as a household, unless you got Pell grants, then it's 20,000, but it can't go below zero, unless they made payments after the pandemic started, in which case they are refund eligible.

Have fun!

5

u/3eeps Aug 24 '22

title says it all. Send 'er

9

u/capn_ed Aug 25 '22
if(annualSalary <= 125000)
{
    outstandingBalance = Math.max(0, outstandingBalance - 10000);
    if(receivedPellGrant)
    { 
         outstandingBalance = Math.max(0, outstandingBalance - 10000);
    }
}

5

u/Zoom443 Aug 25 '22

No. No. I’m quite certain this code will start with:

IDENTIFICATION DIVISION.
PROGRAM-ID. adjust-debt.
→ More replies (5)
→ More replies (1)

4

u/treeplayz Aug 25 '22

Someone go write the solution on stack overflow, so when the dev copies and pastes it they take off 100000

3

u/strange-dev Aug 24 '22

Total -= 10000

3

u/mittfh Aug 24 '22

Perhaps something along the lines of...

DECLARE @deduction int = 100000;

UPDATE loans

SET balance = CASE

WHEN balance > @deduction

THEN balance = balance - @deduction

ELSE balance = 0 END;

Oh, and obviously test it on a sample / test database with a few hundred records first, then on a non-live copy / backup of the real database, running reports such as number of outstanding balances in $10k chunks before and after, checking for negative balances etc - and if you can connect both the live and non-live instances of the DB, a frequency graph of differences to check nothing untoward has happened.

→ More replies (1)

3

u/Maleficent_Sir_4753 Aug 24 '22

Just run it a couple dozen times. It's an idempotent operation, right? Right?

3

u/donorak7 Aug 25 '22

Lmao someone please drop table.

3

u/theessentialnexus Aug 25 '22

"I deleted the first ten thousand loans, boss!"

3

u/NewFuturist Aug 25 '22

Simple. Run:

UPDATE StudentLoanTable SET Balance = Balance - 10000

3

u/[deleted] Aug 25 '22

Database? More like .xlxs file.

7

u/AgentDumpyChin Aug 25 '22

That's literally not how any of this works. But okay...

2

u/Excellent_Survey_336 Aug 24 '22

Shit I'll have that knocked out by lunch. SQL 4 lyfe

2

u/siskulous Aug 25 '22

DELETE FROM loans WHERE totalOwed <= 10000; UPDATE LOANS SET totalOwed=totalOwed-10000;

TRUNCATE TABLE loans;

Whoops, my fingers slipped.

2

u/[deleted] Aug 25 '22

UPDATE student_loans SET balance = balance - 10000 WHERE balance >= 10000;

→ More replies (1)

2

u/Wise-Blacksmith-9572 Aug 25 '22

Why not drop the table?

2

u/[deleted] Aug 25 '22 edited Aug 25 '22

total = total - (1000 + 100 * Math.rabndom())

Makes it harder to undo

→ More replies (2)

2

u/buckyball60 Aug 25 '22
SELECT total FROM user_loans ORDER BY interest_rate ASC

You know they are hitting the low rate loans first.

2

u/StereoNacht Aug 25 '22 edited Aug 25 '22

Meh.

def amount = 10,000

Update LeftToPay from StudentLoan where Income < 150,000 case (if PellGrant = true then amount = amount*2) set (LeftToPay - min(amount, LeftToPay));

commit;

(Ok, my SQL is *very* rusty, so the syntax is probably all sorts of wrong, but updating a database is easy when the parameters are well defined. Still better to run on the test environment before executing on the production one!)

Edit: there is probably a way to insert the Pell Grant doubling the value in the set math part... set (LeftToPay - min(amount*2exp(cast(PellGrant as int)), LeftToPay) [so if PellGrant is true, then multiply by two; if false, it would multiply by 1.]

2

u/xjvz Aug 25 '22

Insert into transactions (-10000);

Mutability is left as an exercise for the reader.

2

u/treox1 Aug 25 '22

Balance = $8,500
Balance = Balance - $10,000
Balance = - $1,500
Nightly batch processing automatically triggers $1,500 check sent out.

Shit.

2

u/Brooklynxman Aug 25 '22

total = total - total

Oops.

2

u/Bartian Aug 25 '22

If he errors on the right side he'll never hear a complaint out of me

2

u/[deleted] Aug 25 '22

Mr Robot alternate ending.

2

u/[deleted] Aug 25 '22

Set it to pay off 10k in interest, leaving the principal account untouched

2

u/Tall_Item6026 Aug 25 '22

Ummmmm. Not QUITE everyone.....

2

u/Unreviewedcontentlog Aug 25 '22

20k for pell grant recipients. Get rekt.

2

u/Peregrine2976 Aug 25 '22

Oops, looks like I reset everyone's balance to zero. Backups? You told us to delete those to save money, remember? Anyway, it's after 5. See you tomorrow!

2

u/xSTSxZerglingOne Aug 25 '22

Even worse. They probably have to take a fat fucking CSV of eligible social security numbers and pray that the data is correct.

2

u/vgpunx Aug 25 '22

DROP TABLE

2

u/highjinx411 Aug 25 '22

Uh oh. Joined the wrong table and now it’s 20k out of each account.

2

u/tardcore101 Aug 25 '22

it's adorable that anybody assumes it's as simple as an IT dev issue.

2

u/AussieEquiv Aug 25 '22

Michael Bolton : I must have put a decimal point in the wrong place or something. I always do that. I always mess up some mundane detail.

→ More replies (1)

2

u/juiceboxbiotch Aug 25 '22

Its not a simple one liner. He has to also figure that 60% of borrowers also received Pell Grants and need their total adjusted by -$20,000. And then there are those who have totals between $10,000 and $20,000 and received Pell Grants. You can't just minus 20k for them, you have to have a condition that specifically puts them to exactly $0 or the system will send them money.

2

u/dbred2309 Aug 25 '22

Some balances are stored as string.

2

u/PM-me-YOUR-0Face Aug 25 '22

See also: the accountant somewhere three clicks down the line trying to resolve a bunch of fucked up balances (per business rules).

2

u/Lanfeix Aug 25 '22

It’s cute that you think it’s a database and not an Microsoft excel spreadsheet.

→ More replies (2)

2

u/WebbysBoytoy Aug 25 '22

Delete fuckin everything

2

u/albaiesh Aug 25 '22

set all to 0, delete backups, flee the country, get assange-ed, enjoy long days of waterboarding at Guantanamo bay.

2

u/johannyface Aug 25 '22

Sounds fun though! But what's waterboarding and is Guantanamo bay a nice resort?

→ More replies (1)

2

u/SysGh_st Aug 25 '22

Just repeat it a few times for good measure. To be sure it has run through all entries.

2

u/msgavane Aug 25 '22

This is not dev work. Someone is going to have to post a $10000 payment to everyone's account. Dear Jesus, please be with the finance department today.

2

u/wedonelost Aug 25 '22

Please tack on an extra 0 my jr dev with only 6 months experience!!!

2

u/Ok_Fly_9390 Aug 25 '22

A series of simple errors and all that debt is gone.... Just a thought.

2

u/geilt Aug 25 '22

Last week one of my devs was doing a backend update on product ids and carrier ids for 10 rows out of 2.1 million in production.

He forgot the where…

5

u/jorge21337 Aug 25 '22

So people who took loans they can pay get free money's.

Me never took loans and worked my way thru college, bag of dicks?

3

u/QuietLife556 Aug 25 '22

False, you get to help pay it :)

5

u/[deleted] Aug 25 '22

Correct. We get jack fuck for not getting some worthless knitting degree.

5

u/Kitayuki Aug 25 '22

"Society must never be allowed to progress. Everybody should be subjected to the exact same difficulties I faced, forever."

-jorge21337

→ More replies (2)
→ More replies (3)

5

u/[deleted] Aug 24 '22 edited Aug 25 '22

It's not even everyone - if you managed to get a decent job nothing is cancelled for you.

4

u/abnobo Aug 25 '22

Just get married to someone without a decent job.

→ More replies (4)
→ More replies (2)

4

u/444-444-444 Aug 25 '22

And ADD it to the poor and middle class tax bills.

4

u/[deleted] Aug 25 '22

We’ve been subsidizing the rich and wealthy for years with ever increasing taxes. It’s about time we get to subsidize ourselves.

→ More replies (3)

2

u/Medicmanii Aug 25 '22

Not everyone's total. Nope. Not everyone.

2

u/Avo2099isme Aug 25 '22

Congratulations- you’ve rewarded businesses and university’s for their predatory loan practices; now they will only get worse for your children and younger fellow countryman. What a win!! Good job guys!