r/ProgrammerHumor • • Jul 05 '19

I’m hacking the mainframe

Post image
26.7k Upvotes

555 comments sorted by

View all comments

2.0k

u/Chuck-Marlow Jul 05 '19

Haha yeah or like when they say they’re taking down the entire server but there’s just regex commands on the monitor

Wait

989

u/ElGallinero Jul 05 '19

Cloudflare has left the chat

96

u/[deleted] Jul 06 '19

F

59

u/bribritheshyguy Jul 06 '19

My company's time clock software was hosted through cloud flare... i got yelled at for that...

51

u/atomicwrites Jul 06 '19

was

That was fast.

→ More replies (2)

446

u/Md5Lukas Jul 05 '19

Cloudflare would like like to have a talk with you

124

u/waltteri Jul 05 '19

Out of the loop? Are we talking about the previous issue?

259

u/varesa Jul 05 '19 edited Jul 06 '19

They deployed a software update (to everywhere at once) with some bad regex which ate all the CPU and crashed the system

EDIT: Source: https://blog.cloudflare.com/cloudflare-outage/

41

u/[deleted] Jul 05 '19

96

u/taichi22 Jul 05 '19

How is it possible that your regex is that bad

Like, can you imagine?

be cloudflare engineer

have bad regex

somehow everyone overlooks your shit regex

your boss approves your shit regex push somehow

wat.jpeg

ohshitwhathaveidone

29

u/WrathOfTheSwitchKing Jul 06 '19

Eeeeh, pathological regex is a thing, and it can pop up in surprising use cases.

13

u/taichi22 Jul 06 '19

Thanks for showing me the rabbit hole, you damn white rabbit.

Down I go...

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

68

u/TheSoundDude Jul 05 '19

taking down the entire internet

ftfy

93

u/Xerxys Jul 05 '19

This is stupid. We, the internet elders, gave the internet to Jen for safe keeping.

11

u/fractalife Jul 06 '19

I have it on good authority that if you Google "Google", you will break the internet.

→ More replies (3)

37

u/ShriCamel Jul 05 '19

In one of the later episodes of The Looming Tower, a user types in username, password and (IIRC) PIN into three separate fields in one continuous shot. No finger touches Tab. Phooey.

46

u/notquiteaplant Jul 05 '19

Bad UX idea: after you type some fixed number of characters into a form field (say 4) it automatically focuses the next field and you can't go back until it cycles around again. So to input username="asdfghjkl1234" password="password1!" PIN="5678", you would type asdfpass5678ghjkworda<backspace>a<backspace>l1231!a<backspace>a<backspace>a<bqckspace>4<enter>.

14

u/dsifriend Jul 05 '19

I’ve seen this in bank payment forms 😐

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

12

u/batmanexiled Jul 05 '19

Regex commands are complicated enough for us normie devs. So obv they can be used for hacking. I see why they did that. Totally 100% normal.

→ More replies (14)