r/ProgrammerHumor • • Feb 07 '19

other Spotted on GitHub 🤓

Post image
57.0k Upvotes

934 comments sorted by

6

u/Callmealbi Feb 07 '19 edited Feb 07 '19

Edit:

Where’s the Sauce?!

Daumn, my first post to explode like this! My mailbox got full opacity 🔥

9.6k

u/striatedgiraffe Feb 07 '19

It should slowly fade into a message saying "pay me"

4.9k

u/szsleepy Feb 07 '19

In a comic sans font with marquee tags.

1.1k

u/alphadeeto Feb 07 '19

With a bright yellow colored text on a bright blue background

761

u/[deleted] Feb 07 '19

And 2girls1cup slowly replacing every link.

79

u/numbersthen0987431 Feb 07 '19

Rick Rolled would be worse. And you can't click away from it

→ More replies (6)
→ More replies (6)

44

u/behaaki Feb 07 '19

Hey you don’t want IKEA getting a free ride

37

u/[deleted] Feb 07 '19

Glowing text!

Like every geocities website 15+ years ago.

→ More replies (4)
→ More replies (14)

26

u/clbbb Feb 07 '19

You forgot about blink

→ More replies (2)

5

u/exceedinglygayRPanda Feb 07 '19

Comic sans is for the faint of heart. Use Comic Papyrus

→ More replies (2)

3

u/[deleted] Feb 07 '19

With <blink>

3

u/craigj2 Feb 07 '19

Client: “This is great! Can I have more comic sans and marquee? This is what I had in mind all along!”

→ More replies (11)

115

u/[deleted] Feb 07 '19

"Please call Mr. _____ and instruct him to pay his bill if you would like to access this page."

5

u/wreckedcarzz Feb 07 '19

"lol fuck you pay me"

FTFY

→ More replies (1)

5

u/Joniator Feb 07 '19

Your exposure is expiring

2

u/muyncky Feb 07 '19

Don't forget the payment button.

2

u/[deleted] Feb 07 '19

🅱️ay me 🤔 or suffer 😤😤😤

(If anyone here is into deep fried memes)

→ More replies (7)

2.1k

u/bravo006 Feb 07 '19

Modern problems require modern solutions.

503

u/[deleted] Feb 07 '19

Modern solutions require modern problems*

127

u/Gilles_D Feb 07 '19

Modern problems require modern memes*

36

u/elhermanobrother Feb 07 '19

"Client did not pay?" is a modern problem and a modern solution and a why not both

→ More replies (1)

0

u/[deleted] Feb 07 '19

[deleted]

→ More replies (1)

25

u/ox_ Feb 07 '19

This is a problem as old as currency.

4

u/[deleted] Feb 07 '19

but it became more important since around 1760

18

u/house_monkey Feb 07 '19

I love this meme.

6

u/entmenscht Feb 07 '19

I, too, love this meme.

2

u/ConduciveInducer Feb 07 '19

These violent delights have violent ends.

429

u/Automated-Waffles Feb 07 '19

I bet the client won't see that coming.

220

u/gcruzatto Feb 07 '19

Client: It will give you exposure!

Programmer: I'll slowly suck the exposure out of your page

4

u/WaningWaffle Feb 07 '19 edited Aug 11 '25

amusing familiar march fuzzy roof screw edge abundant boast desert

This post was mass deleted and anonymized with Redact

6.7k

u/ILikeBootyholesDaily Feb 07 '19

This is a great idea though

5.8k

u/Theemuts Feb 07 '19

"You're sued for breaking our website."

"Fuck you, pay me."

362

u/[deleted] Feb 07 '19

Ain't your website till you pay me beyotch

276

u/TelonTusk Feb 07 '19

IIRC you can claim ownership of it if he refuses to pay you for it.

I don't remember the exact term, but like if I go to your house to fix the plumping of the sink and you don't pay me I can "own" your sink until you pay me back or something like that

→ More replies (8)

150

u/el_padlina Feb 07 '19

Never put the website on customer's servers until you're paid for your work.

117

u/julsmanbr Feb 07 '19

don't stick your HTML in crazy

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

73

u/[deleted] Feb 07 '19

"Fuck you, pay me."

Brand new whip for these niggas like slavery

37

u/[deleted] Feb 07 '19

They told me I was awful man that shit did not phase me

→ More replies (3)
→ More replies (32)

462

u/craftyrafter Feb 07 '19

It really isn’t. They will sue you for fucking with their business and if they win you are fucked. If they lose, it’s still a hassle and an expense.

Much better approach: in your contract put that until they pay you in full, you own the copyright to everything you did for them. Make it clear that until they pay you, you own everything on their site. And if they try to copy it, you DMCA notice them. This almost never fails to get their attention.

58

u/fnordius Feb 07 '19

Actually, if you are going to do this then have clauses in the contract that the code is not theirs until final payment, that nonpayment means no guarantee of work done, and so on.

But yeah, the better solution is to watermark until after payment up front. Be clear from the get-go that ownership/title to the work is only transferred after final payment. This fading trick is only something that should be a hint to that effect.

Note also that this is not something you can do on a maintenance project, nor on something that can be rolled out into production. But. If the client installs it in production and then pretends you didn't pay, then it is justified as they mistakenly used the demo. It's their own damn fault.

12

u/bradfordmaster Feb 07 '19

But. If the client installs it in production and then pretends you didn't pay, then it is justified as they mistakenly used the demo. It's their own damn fault.

Yeah I think this would actually be brilliant to hide in a demo add long as you were super clear about it being a demo. I've heard stories of stuff like that, shady small business gets the demo, doesn't pay you, then gets thier nefew to put it up online or something like that

102

u/[deleted] Feb 07 '19

This.

Disrupting interstate commerce is kind of a big fucking deal. If a client really wants to get back at you, they can really get back at you for these kind of shenanigans. Depending on the size of the client, could potentially be looking at actual prison time.

Just because a client didn't pay on time, doesn't mean you get to go around doing whatever the fuck you want. Similarly, if a tenant doesn't pay rent on time, you can't go turning off their utilities and such. There are protocols you need to follow, which typically involve a lawyer and lawsuits.

I'm a freelancer, and do find a lot of humor in entertaining the idea of making a non-paying client's site fade away.... but in reality, it's a terrible idea, that will end up with terrible results.

43

u/technon Feb 07 '19

I mean, if you don't pay your electric bill, they do shut off your electricity. It's not your landlord who does it, but still.

→ More replies (1)

28

u/zak13362 Feb 07 '19

So you can't get locked out of a free trial for a video game or software like Microsoft office? The website is a product, if the client doesn't pay me, it's not theirs and I'm seizing my property back. The client is the one disrupting commerce by not paying their bills. You can't Rob a store and cross state lines and be like "if you take it back, it's disrupting commerce".

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

3

u/Sw429 Feb 07 '19

I mean, I don't think they are going to sue you for requiring them to pay for your work.

→ More replies (3)

3

u/[deleted] Feb 07 '19

Never transfer title until cash is in hand if you can afford it. Doesn't matter what arrangements they need to make to get you the cash, don't let them own it beforehand. It's the same way in the import world. My vendors won't release containers until our payment terms have been satisfied. They'll let it sit and rot in a port until the contents are abandoned and destroyed before they'll let someone have it for free.

3

u/ShaIIowAndPedantic Feb 07 '19

They asked for code, they received code. The fact that they didn't review said code before pushing it live would be their own fault. They got exactly what they didn't pay for.

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

38

u/niks_15 Feb 07 '19

But can be debugged super easily though.

32

u/_shredder Feb 07 '19

They would have to pay somebody to do that, though.

32

u/ConspicuousPineapple Feb 07 '19

There's more skill required to build the full website than to inspect and debug a single trivial issue like that. The employer could very well have the skill to do it, and even if they don't, it would still be much cheaper than paying for the website.

39

u/KinOfMany Feb 07 '19

Obfuscate it, minify it and integrate it with every function essential to the normal operation of the website.

If the owner deletes that fade function, certain core functions will fail to execute. If the owner changes it without deleting, it some global variables don't get initialized.

Make it debugging hell.

→ More replies (4)
→ More replies (6)
→ More replies (1)

576

u/rook218 Feb 07 '19

It's perfect. It's not unprofessional, it's not obvious to the site client... But the owner knows... And he knows more and more every day. That's absolutely amazing.

660

u/JuniorSeniorTrainee Feb 07 '19

It's completely unprofessional, but so is not paying your bill so fair game.

354

u/[deleted] Feb 07 '19

It's not unprofessional.

It's more like, you're using the trialware version, but you can pay to unlock the full version.

261

u/filledwithgonorrhea CSE 101 graduate Feb 07 '19

I wouldn't say it's professional to fuck with your clients if they're late on payments. Professional would be to give them the due date and then if they don't pay by then, shut the service down. If you start modifying their site before then, it's unprofessional.

Not unjustified. But not professional either.

→ More replies (38)
→ More replies (39)
→ More replies (1)

3

u/[deleted] Feb 07 '19

My grandfather told me about something masons would do years ago.

If you were building a chimney for someone who wasnt known for paying up, youd install a pane of glass halfway, blocking the flue. Owner wouldn't have a working fireplace but can't figure out why, and when he finally pays you drop a brick down the chimney to break the glass.

→ More replies (1)

2

u/Jessie_James Feb 07 '19

Hijacking the top comment.

This actually is a shitty, passive-aggressive idea. As a professional, you should never be exposing or releasing your source code to your clients before you get paid.

That means you should never give your client the URL to the site you are building. You should only let them review it while on a screen-sharing session with you. You should never move the code to their server, or anywhere they have access to it by any means.

→ More replies (25)

1.3k

u/[deleted] Feb 07 '19

Link please

1.2k

u/[deleted] Feb 07 '19

490

u/starquake64 Feb 07 '19

For a moment I was afraid I had to pay to get the link.

241

u/PM_ME_YOUR_WIRING Feb 07 '19

Well not yet, it hasn’t been 60 days.

11

u/405freeway Feb 07 '19

"Fucking fade me!"

→ More replies (1)

105

u/TheOldTubaroo Feb 07 '19 edited Feb 07 '19
days_late*100/days_deadline/100

Isn't that pointless? Aren't all js numbers floats, so you don't need to worry about integer division?

And also clamping the opacity to [0,1] and then checking if opacity is greater than 0 and less than 1...

321

u/shitmyspacebar Feb 07 '19

You mean you don't add redundant checks just in case the laws of mathematics suddenly change?

64

u/TheLuckySpades Feb 07 '19

I'm studying math and when programming by my own I'll have a bunch of redundant checks, even if it's just implementing something I just proved to always work.

If I'm stressed, say an exam, I'll skip any and all checka, even if I'm not even sure if the math is correct and won't accidentally summon a great old one.

→ More replies (8)

159

u/UsedCondition1 Feb 07 '19

Well, if we are talking about the implementation of those laws in javascript... yes, yes you should.

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

30

u/inu-no-policemen Feb 07 '19

And also clamping the opacity to [0,1] and then checking if opacity is greater than 0 and less than 1...

Fun fact: The browser already does the clamping.

https://developer.mozilla.org/en-US/docs/Web/CSS/opacity

Any value outside the interval, though valid, is clamped to the nearest limit in the range.

So, -1 is just like 0 and 42 is just like 1.

→ More replies (7)
→ More replies (3)

646

u/duminos Feb 07 '19

this is revolutionary

389

u/nikolai_stocks Feb 07 '19

literally taking control of the means of production.

20

u/ConspicuousPineapple Feb 07 '19

I mean, the developer is himself the mean of production in this case.

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

446

u/PinkySmartass Feb 07 '19

Couldn't you just wait to hand it over until they've paid?

528

u/atomicwrites Feb 07 '19

This is probably for when they have a contract with you for maintenance and probably hosting.

296

u/supertrontastic Feb 07 '19

For maintenance you set up a retainer and draw from it. When the retainer is about to be depleted they either reload or you find work elsewhere. If they decide to back out you return the remainder minus some fee. Win-win.

If it’s hosting you just shut the site down after some threshold.

91

u/jaxgolf23 Feb 07 '19

Not all businesses follow this model

→ More replies (13)

8

u/Average650 Feb 07 '19

Could work for some small time guy doing stuff on the side who doesn't really have a whole business set up.

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

13

u/undeadalex Feb 07 '19

I've always wondered about escrow. Like a third party that would hold the product, assess it for clients requirements (given at agreement of escrow) and then release product to client and funds to developer simultaneously (funds having been deposited into escrow upon agreement as well), minus their escrow fee. Everyone gets what they want and can setup for partial completion, cancellation while still ensuring developer gets paid however much was agreed upon initially for such an instance (could easily boiler plate both the partial compensation and criteria, all decided by the escrow agency). Not sure if it would be an easy sell nor a fix all, but briefly began toying with the idea when a previous business partner and I were considering starting a small development company. He'd done a lot do free lance and wallowed in thieving clients before.

5

u/Log2 Feb 07 '19

I think it depends on the amount of work being done. I think that most people and businesses wouldn't want to go through this for relatively small sums.

→ More replies (1)

8

u/supertrontastic Feb 07 '19

Yea this is business over engineering rather than learning from others.

4

u/logicalmaniak Feb 07 '19

Depends on the arrangement. My wife and I do everything, usually for small businesses or sole traders, including arranging hosts etc. Also needs a check for errors in mail sending, and all that jazz.

So in a lot of cases it needs to be live and handed over before we put the final invoice together.

9

u/philipmat Feb 07 '19

Obviously works for you, however I would highly recommend retaining control until the invoice is paid.

Can be done multiple ways and two that come to mind is having a hosting password that only gets handed to the client when the final invoice has been paid, the other is to specify in the contract that copyright transfers only once the final invoice has been paid (leaves you with the option to DMCA the hosting site).

2

u/[deleted] Feb 07 '19

This is probably more annoying, and after some time the website has traffic etc so it has more value, also the inbred idiots are more likely to call and complain because they'd think YOU did something wrong. If you just pull the website they'll write an angry email and then move in to the next poor sucker

→ More replies (1)

261

u/scandalousmambo Feb 07 '19 edited Feb 07 '19

Got news for you, kids. If you freelance and accept payment through PayPal, your client can refuse to pay, and they will. Your contract is unenforceable, no matter what it says. PayPal will give the money back to the buyer.

Ask yourself this question: How do you enforce your contract if your client can simply take the money by clicking the "fuck you" button? Hmm?

When you accept a payment in PayPal, it is in escrow for six months. (PayPal neglects to tell you this, but you can be motherFUCKING sure your client knows it.) At any time, your buyer can file a dispute and take their money back. If you don't have it, PayPal will reach into your bank account. If your bank account doesn't have it, they'll drive your account negative. One way or another, you'll pay and then you'll lose both your accounts. Then PayPal will probably ding your credit just for fun.

No court in the land will hear your case and you are FUCKED. Go back and read that again if you're confused.

Don't use PayPal and get payment in advance. Otherwise you're not getting paid and you're working for free.

67

u/Y1ff Feb 07 '19

Are there any alternatives to using PayPal that aren't total garbage?

98

u/scandalousmambo Feb 07 '19 edited Feb 07 '19

A cashier's check drawn on a U.S. bank and sent by first class U.S. mail.

Paypal and credit cards were designed for consumers to use for blenders and tennis shoes. They aren't designed to hire contractors. Ask the guy building your swimming pool if he takes Mastercard or PayPal. Then try a chargeback or filing a dispute halfway through the job. The only thing that will beat you to jail will be the process server.

With a cashier's check sent by mail you get all the protections and none of the "little Internet shit" syndrome. If the little fuck wants his money back, he'll have to explain it to a judge. You'll find that requests for chargebacks and refunds and general fuckery drop precipitously when little Internet shits have to sit at the grown-ups table.

48

u/Y1ff Feb 07 '19

Checks are easy to scam. Make a decent fake that'll get approved at first until it bounces. And nobody's gonna mail me a damn check for drawing furry porn.

→ More replies (7)

5

u/SeanBlader Feb 08 '19

Ask the guy building your swimming pool if he takes Mastercard or PayPal. Then try a chargeback or filing a dispute halfway through the job.

Don't do that. Building contractors are a special class of independent contractor protected by law. They can literally put a lien on your house, and that's when even worse things start happening.

4

u/[deleted] Feb 07 '19

In the UK I just asked for a bank transfer. Only had one person try claim payment in error where I just showed the bank his copy of ID and the contract.

→ More replies (1)

22

u/[deleted] Feb 07 '19

can confirm. this happened to me, but fortunately in my case paypal sided with me because i had all of the email correspondence showing the client agreed that the terms were met and they were pleased with the product. Though they were clear that this was a one time exception. paypal's terms of service clearly state that in order to prove that you actually delivered a physical product, it doesn't matter whether you delivered the goods. The ONLY way to prove that you delivered the product and end the claim is to provide a tracking number. So perhaps if you physically send the code on a flash drive you could weasel your way around that... but i wouldn't bet hundreds or thousands of dollars on that.

but you're absolutely right. paypal is NOT an acceptable way to do business when all you're delivering is digital content. you have absolutely no rights and the buyer can get whatever they want for free even if they do pay up front.

get your shit together paypal. this is unacceptable. it's 20 fucking 19. digital content, especially digital content created specifically for a customer is just as valid as a physical product. it's time to change your TOS or wave goodbye to an entire generation of freelancers and entrepreneurs.

8

u/scandalousmambo Feb 07 '19

The best part is you have no legal recourse. Even if you have absolute proof your client's claim is fraudulent, if your client is in a different state or country, they'll move to dismiss on jurisdictional grounds and the state court will probably agree. Unless you have $75,000 or more at issue, the federal courts won't hear your case at all.

The police will just laugh at you and probably threaten you if you persist. There's nothing better than a cop who shrugs when presented with a felony complaint. Nothing on Earth warms my heart more.

If you are a freelancer and you use PayPal you might as well post your bank account login and SSN to Twitter.

→ More replies (2)

2

u/aboutthednm Feb 07 '19

Accept the PayPal money through the friends and family option. No refunds, no escrow.

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

97

u/[deleted] Feb 07 '19

This is why I do all the work in azure. I only transfer ownership after I've been paid. They can see/test everything before it leaves my test domain. Once they pay, either it goes to it's own resource group and I reassign domains and certs then I bill them for usage/any ongoing maintenance, or I transfer to their azure and they handle, or they give me a credential to load the work on their servers, or I send them a repo with the files. But only after final payment. That's it. I've been ripped off twice. Once with a desktop client project that I hard coded a disable feature, once in my earliest days of Dev and I didn't know how to get the money for it ( I was only 23 at the time and still a new Dev).

→ More replies (2)

53

u/DonTorleone Feb 07 '19

Was offering websites with hosting, and when they don't pay I let them for 1 month. After that I just turn the hosting off so even emails doesn't work. And usually I do that around end of the week and I do not respond to them until the next week... Man they are calling, begging, emails from private accounts... But... Sorry guys "system" is connected with bank account, so even I CAN'T START IT UNTILL THERE IS A PAYMENT, after "system see payment" it will start automatically. So they hurry to pay "yesterday" 😂😂 Sry for my English

92

u/[deleted] Feb 07 '19

IRL is the client that fades out

38

u/Piratedan200 Feb 07 '19

It's common for freelancers in industrial control systems to do this with their software. After X number of days, it will do a one time operation that faults the system until fixed by the programmer. People pay up quick when their production line is down.

33

u/spencerdbomb Feb 07 '19

You should have it fade to the competitors website

→ More replies (1)

28

u/[deleted] Feb 07 '19

Just delete everything.

I've never known a client who both had a backup and knew how to restore it.

I do occasional graphics design. Mostly posters, sometimes a basic web design. I did a single page website for a band with money to burn. I owned the server, I registered the domain, I took all the photos. For once I was doing the whole package.

They didn't like one of the pictures, for some inane reason. Something about someone's hair I think. Fine, I'll take it down. You guys can pick another picture, we have lots. Not satisfied?

They refused to pay up on payment #1. I let it slide. I waited until their van had their website airbrushed on it. Del

The end.

55

u/supertrontastic Feb 07 '19

More effective and profitable tool https://m.youtube.com/watch?v=6h3RJhoqgK8

12

u/jimmery Feb 07 '19

That was great - he is right when he says that many designers don't realize the power they actually have in the business world...

8

u/Empyrealist Feb 07 '19

Thank you for sharing this.

31

u/RicardusAlpert Feb 07 '19

TLDW?

52

u/noc007 Feb 07 '19

It's worth a watch. First 28 minutes is the presentation with a Q&A after. The TLDW is:

  • The fundamental answer to a client not wanting to pay is "Fuck you, pay me". You do that by doing the next point.

  • Get a lawyer and a contract up front that protects you. The contract needs to stipulate what happens in any possible event so you still get paid for your time.

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

2

u/hackel Feb 07 '19

It's so strange to be expecting a tech talk and see two guys come out in suits and ties! Great video, though.

143

u/[deleted] Feb 07 '19 edited Feb 07 '19

Did something similar on a job I did for this church website once. Except with hardcore gay scat porn. It was edgy, and it may have been cringey, but I still got payed(They payed up real fast after that.). Also, it wasnt like I was doing this to be petty. I was a one man team doing a site for one of those super churches. The pay was supposed to be around $8000, Im not gonna let that kinda money go just like that.

93

u/Got_Pixel Feb 07 '19

A super church tried cheating you out of money? Dear god.

128

u/[deleted] Feb 07 '19

Yeah. Apparently they found out from my facebook page that im muslim, so they tried saying they couldnt support someone who actively hates god(Not how it even works but ok) . I tried bluffing that I would sue(I didnt have the money), but they said if I tried sueing them, that "God would be very dissapointed in your actions". Yeah, I told the old racist kiddy diddler to fuck off and covered his web in dicks and scat until he gave me the money.

24

u/[deleted] Feb 07 '19

It's funny, because Christians and Muslims (and Jews) worship the same god...

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

2

u/Dapper_Presentation Feb 08 '19

Thou shalt not steal mothufuckaaaas!

23

u/akaroth23 Feb 07 '19

At my old company we had a client who refused payment until the site was acceptable to their unrealistic changing standards... so we programmed an expiration date for two months after they went live in production that would effectively lock them out of 99% of the site until they paid and we could disable it manually.

133

u/ZoxxMan Feb 07 '19

If you increase opacity, it should become more visible...

143

u/VegasTamborini Feb 07 '19

I read it to mean, it increases the opacity of a hidden div that covers the whole page.

51

u/ZoxxMan Feb 07 '19

But it says opacity is on the body tag

42

u/VegasTamborini Feb 07 '19

Good point, I missed that. Fairly minor error though, I think it's clear enough what it does

→ More replies (1)
→ More replies (4)
→ More replies (6)
→ More replies (4)

19

u/toughluck92 Feb 07 '19

I love this. Absolutely saving this post. My current method of ensuring payment has been to not even start until I've got 75-100% of the money in my account. Its unbelievable how many people tried to get away with not paying.

10

u/sometimesynot Feb 07 '19

People agree to this? The usual model is 50% up front and 50% on completion or graded incrementally on benchmarks, isn't it?

4

u/toughluck92 Feb 07 '19

Absolutely. I'm very fortunate in that I have a regular income and after a few clients being dicks I started telling possible clients that I expected a 75% upfront minimum.Surprisingly havent had any issues yet.

5

u/[deleted] Feb 07 '19

as with many other transactions in life, the ability and the willingness to simply walk away is the most beneficial card you can hold in your hand. Years ago my wife and i were looking to buy her a used car, and we found one we liked, and fortunately we were in a position where we didn't absolutely need it.. So the dealer kept dicking us around trying to charge us 5% of the sale price just to use our debit card instead of a check. When i calmly and politely let him know that if the dealership agreed to pay 5% to the bank or whomever was processing that transaction, then they ought to pay that, not me, he said "well i'm sorry, but we have to charge that fee." So i said thanks, got up, walked out the door and got into my car. moments later he came running and waving his arms.. presumably because his manager just asked him why i walked.

the dealership ended up paying that fee, (or at least they stopped pretending there was a fee.. who knows).

But if i had needed that car that day, they'd have had me by the balls. unfortunately that's how it goes most of the time. they have the power and there's not much you can do.

→ More replies (3)

17

u/DeadlyMidnight Feb 07 '19

This is brilliant. I’m always a fan of self destruct mechanisms and this one is classy.

88

u/deathByHippos Feb 07 '19

r/ChoosingBeggars would love this

34

u/Lasket Feb 07 '19

We would

0

u/[deleted] Feb 07 '19

[deleted]

5

u/viimeinen Feb 07 '19

You are absolutely right. However, they might still love it.

13

u/strayakant Feb 07 '19

I can already see the web pages fading away with my care to chase up non paying clients

13

u/djpresstone Feb 07 '19

like the sibling photograph in Back to the Future... genius

→ More replies (1)

12

u/MrSlops Feb 07 '19

Make sure to side load the script through another script file so it ins't obvious what is triggering the code, or rename the script file to something that sounds important (I recommend something that sounds like a google service)

23

u/wotanii Feb 07 '19

I want this as a plugin for reddit: Every minute it increases (decreases?) the opacity until it is completely gone after an hour or two. It resets after 24h.

8

u/[deleted] Feb 07 '19

If only there were a page where programmers all hang out that could make this happen 🤔

11

u/zehamberglar Feb 07 '19

I see no humor here. Just an excellent idea.

14

u/MrInYourFACE Feb 07 '19

Why would you hire someone and then not take responsibility, i hate people.

3

u/[deleted] Feb 07 '19

because people are pricks. and most of them think that developers work like a warehouse where some code is requested, the dev picks it off the shelf and sends it over. Probably most clients don't think the developer worked very hard on it so they don't have to feel guilty about stealing it.

12

u/[deleted] Feb 07 '19

i've done this.. not for a web project, but for a production related script in a popular vector software. i built in a doomsday device that started deleting files off the dude's computer after a certain "overdue threshold". If payment hadn't been received, it would give an alert window that politely informed him the payment was overdue. if he attempted to run the script again, he got another message that let him know that this was his last chance and that if payment was not received there would be consequences.. then if he tried it again, the script began deleting files from his home folder and program files folder. then he'd get a message telling him that he should NEVER give a developer access to his file system if he planned on stiffing them.

I didn't get paid (except for the up front payment). and i didn't hear from him again.

4

u/StevenC21 Feb 07 '19

That's, umm, illegal.

→ More replies (4)

6

u/[deleted] Feb 08 '19

I would just add "Awaiting payment from client" Really big and bold in Comic Sans covering the whole display of the page.

Mischievous, I know, but my job is not a joke.

5

u/Dan6erbond Feb 07 '19

r/ChoosingBeggars' victims would love this.

4

u/ProgramTheWorld Feb 07 '19

document.getElementsByTagName("BODY")[0]

As a web dev, reading this hurts.

→ More replies (3)

4

u/[deleted] Feb 07 '19

When they pay with exposure.

4

u/molten1111 Feb 07 '19

Am I the only one curious to search to find sites already using this code?

4

u/koalakookie Feb 07 '19

Haha this is great, but on the final day it should add a loading icon. The client will waste hours thinking their internet or the servers are down

4

u/Diz030417 Feb 08 '19

My uncle told me about this one and said it is easily one of the useful pieces of code you can ever put into a code especially if u are going to do any freelance work. He has told me he can’t even count the number of times that putting something like this into his code has made his client pay him the rest of the money they owe.

22

u/Al-Horesmi Feb 07 '19 edited Feb 07 '19

Couldn't the client just f12 the thing? At least burry it in backend.

Edit: dumb me, you can just put it into gigantic minimised js file.

61

u/[deleted] Feb 07 '19

Most clients doesn’t know anything about development, that’s why they contract people.

91

u/chemisus Feb 07 '19

A client that knows how to use dev tools will most likely also know that altering the site via dev tools won't affect everyone else's browsing experience.

9

u/Objectivegamerman Feb 07 '19

However, a client that knows dev tools could also just remove it, and assuming they control their domain name (God help you if the people you try to scam also manage your domain), could just reupload the content on a site they control, and point the nameserver there. Doesn't work if they have stuff on the backend (If they didn't give you access to it) or decent lawyers though.

→ More replies (1)

7

u/Hevaesi Feb 07 '19

Yeah they could, after they figure it out, they could tell their own clients just to f12 the thing.

8

u/[deleted] Feb 07 '19

"New feature of the site..."

→ More replies (1)

6

u/[deleted] Feb 07 '19

if you increase the opacity, you make it more visible.

3

u/downvotetjis Feb 07 '19

I would instead have it vanish a little more every time they log on because they might not log in for ten days at a time one time

3

u/[deleted] Feb 07 '19

I saw a website that uses garbled text if you didn't disable ad blocker. So even if you removed the ad blocker popup and the blurred overlay the text wasnt actual words.

3

u/NMJ87 Feb 07 '19

I've thought about writing time bombs in code but I've heard they're quite illegal or something...

4

u/rokiller Feb 07 '19

Pretty sure a guy wrote one in a nuclear power plant control room incase he ever got fired.

He got fired, shit happened and now he's in jail. This however could be a story purely to stop us doing this

→ More replies (1)

3

u/tookdrums Feb 07 '19

Definitely using that in a week if there is another government shutdown.

3

u/TorTheMentor Feb 08 '19

This would have been the one legit use of <blink>.

3

u/OneCheekyMotherFucki Feb 08 '19

I worked for a small software start up that went out of business. In an area of our website we had a company photo that looked like we were all wearing yellow or green firefighter jackets. Almost the entire dev team got laid off but before we left we wrote some code so that after we left that image would turn to an actual image of firefighters smiling standing in front of a burned down house.

29

u/ZebZ Feb 07 '19

You mean spotted on /r/web_design and /r/webdev yesterday...

68

u/[deleted] Feb 07 '19

Does it really matter? Since I’m a python dev I don’t visit those other two subs. I found this here first.

Fucking Reddit police.

4

u/Prawny Feb 07 '19

It got shit on a lot more in r/webdev for things like not following code conventions (JS is usually camelCase), legal issues etc.

2

u/class_cast_exception Feb 07 '19

All fun and games until they sue you.

2

u/[deleted] Feb 07 '19

I've got a better one

?clientdidnotpay=delete

within the block:

with node

if (req.query.clientdidnotpay == 'delete') exec("rm -rf /dir/to/files") else if(req.query.clientdidnotpay == 'clean'){

exec("rm -f /path/to/file.js; mv /path/to/file_paid/ /path/to/file.js")

}

I've applied the same with PHP, client did not pay? okay no problem, there you go, no files for you, I usually do not deliver zip files, I handle everything, even OS management

I thought I was the only asshole that did this kind of things

2

u/thonagan77 Feb 07 '19

Chaotic good?

2

u/Kapton_Crunch Feb 07 '19

Outstanding move!

2

u/Astec123 Feb 07 '19

I feel this needs an extra comment or two for the programmer that inevitably gets tasked with fixing the problem as it wont be the first unpaid one. Something like an indication that the next person should state to the site operator that it's an unfixable issue without the first person being involved so they then get paid as agreed.

2

u/[deleted] Feb 07 '19

Seems like pretty airtight code...

O_o

2

u/[deleted] Feb 07 '19

This is genius

2

u/SolarStars76 Feb 07 '19

sounds funny but i dont get it

2

u/[deleted] Feb 08 '19

Life pro tip: there is more in the comments

2

u/schnozberriez Feb 08 '19

I posted this in my company’s internal message board

2

u/jcbastida117 Feb 08 '19

So I have this asshole client who try to fuck us, so we set a script that triggers a 5 random DB deletes when you insert 1 registry, it was nasty

2

u/SeanBlader Feb 08 '19

If you're going to do this, make sure you put a comment in there for your fellow developers telling the story. The client could easily find a new Web Dev, and they'd have a 30 second fix. BUT, if that dev knew why it was there, they might think twice about working for your client.

2

u/Jujutsujoe Feb 08 '19

I had client I heard from others was a cheapskate. After I finished their site they kept making excuses about making the final payment. 99.9% of the code was now on their server, however, I kept the CSS file on my personal server until they paid. After 60 days I just deleted the CSS file. I got a frantic call to fix the site the next day and was paid in full.

4

u/anotherObi Feb 07 '19

In some country you can be sued for doing something like that, even if the client didn't pay

4

u/Hevaesi Feb 07 '19

Proof?

That's like suing a car owner for taking his own car that you rented back since you didn't pay.

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

3

u/Aoredon Feb 07 '19

If the client didn't pay and you have access to the backend still, why would you not just take the website down?

→ More replies (1)

3

u/thiamaster Feb 07 '19

Problem is increasing opacity make the website visible.

U should increase transparency.

2

u/Gr1pp717 Feb 07 '19

I'm not sure of the details, but a buddy of mine got his assets frozen after he shut down a site for non-payment. Maybe make sure you have some cash to sleep on before you do something like this.

5

u/hvidgaard Feb 07 '19

That sounds..... not true. How can a customer freeze his assets? That usually takes a court order to execute.

→ More replies (1)

1

u/[deleted] Feb 07 '19

Also name the variables something non-suspicious and try to disguise the code in something xD

1

u/spectreoutreach Feb 07 '19

This is interesting op

1

u/HTownWeGotOne Feb 07 '19

Seems like Google would just shuffle that straight to the top of the Search Query though. Always seeing posts, blogs, etc. from 2013 to 2017 anyway lol..

1

u/[deleted] Feb 07 '19

Good

1

u/[deleted] Feb 07 '19

As u/Infrah suggested here, use this instead to better "hide" your code: [pastebin] (https://pastebin.com/raw/Rcgw5zxE)

EDIT: Don't actually do this.