ProgrammerHumor

devMindGames

devMindGames
https://i.redd.it/4n0jcjvrlecf1.jpeg
Reddit

Discussion

ProgrammerHumor-ModTeam
:ath:

Your submission was removed for the following reason:

Rule 2: Content that is part of top of all time, reached trending in the past 2 months, or has recently been posted, is considered a repost and will be removed.

If you disagree with this removal, you can appeal by sending us a modmail.

1 day ago
SipsAndSecrets

Wait, people think we comb through random form submissions? If it doesn’t light something on fire in production, I’m not touching it. Take prod down, and maybe the council will acknowledge your presence.

1 day ago
Blue_HyperGiant

Got a URL for me?

1 day ago
KillCall
:py:

Google.com

1 day ago
CrispyDick420

bro gave the boss fight

1 day ago
someofthedead_

Must already be broken... none of the search results were actually relevant; it's just a load of spammy nonsense 

1 day ago
panzerboye
:py:

chatgpt.com

1 day ago
Femoto

http://localhost:3000

1 day ago
TheSlavicWarboss

I don't think I should put that into my searchbar but still want to

1 day ago
DuploJamaal

I once worked on an upload form where people could upload text files, but text files don't tell you about the encoding.

Just taking the text as is and putting it into the database lead to encoding issues so we had to manually encode it to be the same encoding as the database.

We implemented automatic encoding detection by simply trying to parse it as UTF8 or UTF16 and checking if it contained illegal characters.

Inputting illegal characters directly would probably lead to parsing issues so this would have showed up in our error logs.

1 day ago
great_escape_fleur

Just taking the text as is and putting it into the database lead to encoding issues

Not knowledgeable about databases, just curious, why? It's not treated as a blob of bytes?

1 day ago
Header17

DBs can store as BLOB, but at one point you have to decode it, so why not at write

1 day ago
great_escape_fleur

Thanks for the explanation. Personally I would probably store it unchanged because decode methods can evolve, but yeah it's one design decision among many.

1 day ago
Silent-Suspect1062

Little Bobby tables enters chat. AppSec team sobbing in the corner

1 day ago
ParanoiaJump

Yeah bro it’s impossible to store plain text in a database

1 day ago
DuploJamaal

Several different teams would retrieve that data.

So instead of having to let them do the decoding themselves and potentially breaking things as they might all use different ways it was much easier to just store it correctly.

Otherwise the python data analysis team, the java backend server team or the any potential new ones would have to reinvent the wheel of correctly de/en-coding it themselves.

1 day ago
Hydraa62

Wait, when your app has users and they see that in a client form, they do not think there’s a bug ? They don’t report it ?

1 day ago
Trolololol66

Yeah right. Until the BI analyst comes to you complaining about your shitty data.

1 day ago
dazedconfusedev

I’ve come across things like this accidentally before if i’m writing a quick splunk query, or sometimes on dashboards that count logs based on message type.

The one time I was able to track it down it was a actually an encoding error, but in our log ingestion pipeline 🫠

1 day ago
nediamnori

Wait, you think this is just some random guy and not one of the most influential Ruby (and Rails) developers?
I don't want to make too much of it since it's clearly a joke, but I think Patterson knows what he's talking about.

1 day ago
npc4lyfe

I have clients that comb through shit like that or some other tedious thing sometimes. They will always inevitably find something that, while there is definitely an explanation behind it, the explanation is not immediately at hand by me (or anyone), and because of that they then proclaim that means the sky is falling. While it usually gets worked out, I'm always amazed at how panicked they are. Their jobs must suck balls if they're truly that on edge over nothing, but it's also fairly obvious that it's an "issue" being propped up as a mechanism to complain and then potentially get free work. Long story long, in those moments, I'm always so tempted to just be like WEIRD SHIT HAPPENS CHILL THE FUCK OUT.

1 day ago
NicholasAnsThirty

I dream of working somewhere where the highlighter girly putting in tickets about strange symbols in form submissions doesn't somehow make it up the chain to a critical issue.

1 day ago
[deleted]

[removed]

1 day ago
LullzLullz

Before leaving my project I created a user called [Object Object] in the test environment. You don’t sign up, it uses your name. I am wondering if it’s going to lead to some confusion.

1 day ago
itsalongwalkhome

Thinking of changing my name legally to Null.

1 day ago
handym12

There are people with the surname Null.

They can't get passports, driving licences, etc.

There's also someone who got the licence plate "null", and kept getting fines for speeding, parking, etc. because the system would use "null" if no plate details were included in reports.

1 day ago
itsalongwalkhome

That seems like an easy way to speed for a few months then have the tickets thrown out when they fix it.

1 day ago
technook

Or getting 500 parking tickets in your name

1 day ago
itsalongwalkhome

That actually seems accurate for me. But its because I was in a legal battle with the council and purposely getting them because their stupidly written by-laws meant they could scare people into paying but not actually enforce them.

1 day ago
100BottlesOfMilk

If i remember right, the company contracted for the tickets would send him the original tickets. Then, once they found that he drives a different car, they'd illegally change the vehicle description on the tickets and then resend them. Basically, if he didnt keep the original paper ticket, he'd have no record of it

1 day ago
TheCannings

If no licence plate was included in the reports how would they get the fine

1 day ago
handym12

When no licence plate information was included, the value was set as "null".

When the "null" licence plate was assigned to the owner, all of the reports missing a licence plate (where the plate field contained "null") were assigned to the newly created "null" licence plate and therefore the owner of the plate.

1 day ago
BlockBannington

I may be a stupid ass Powershell guy but the string "null" is not equal to $null. How would they get the fine?

Again, I'm a dumbass so someone please teach me

1 day ago
handym12

Different languages treat null differently.

Or maybe in this case, inputs weren't sanitised properly.

1 day ago
spaglemon_bolegnese

Because if they didnt enter a plate in the report it would fallback to 'null' which now matched his plate

1 day ago
Ilookouttrainwindow

Wasn't there a guy named Dell Null?

1 day ago
mothzilla

Related:

https://www.wired.com/story/null-license-plate-landed-one-hacker-ticket-hell/

1 day ago
GMarsack

I like my user name to be “OR 1=1–“

1 day ago
chicametipo

1 day ago
Sophiiebabes

I did that in an online uni exam and they sent out an email the next day saying there was something wrong with one of the questions so marks were being ignored for it 🤭

1 day ago
128schwifty

Truly the silent killer of front-end sanity. A classic.

1 day ago
GMarsack

You are evil!

1 day ago
sometimes_interested

I use that as my pronoun settings in Microsoft Teams.

1 day ago
Anal_bleed

There’s that lady called Jennifer Null who’s had IT issues her entire life

1 day ago
WinnieFlicker_67 OP

My favourite Unicode character is U+200B , the zero width space. You can imperceptibly smuggle the characters inside any string.

1 day ago
Puzzleheaded-Weird66

won't .trim() just remove that? or a string replace /\s/ regex?

1 day ago
Noddie

Bold of you to assume people run regex replacements on any input.

1 day ago
Puzzleheaded-Weird66

true, I only do that when reading from the db

1 day ago
Jaggedmallard26

Most people are just passing it through whatever sanitisation and trimming functions provided by the language or framework which will od this.

1 day ago
hivemind_disruptor

That is the first I do to clean databases. I'm not even knowledgeable, I just work with social science.

1 day ago
FlowerBuffPowerPuff

Yourregexewouldremoveanywhitespacesinastring.

1 day ago
Puzzleheaded-Weird66

obviously you'd do this to both ends of the input only

1 day ago
FlowerBuffPowerPuff

But the fun is in putting that character inside and inbetween random words, not just the beginning and end of the text.

1 day ago
Puzzleheaded-Weird66

I'll let them have their fun

1 day ago
FlowerBuffPowerPuff

That's nice of you :)

1 day ago
theboxfriend
:cs:

Probably depends on the language, I know in some languages it is not removed with trim because it is not considered a standard whitespace character. I know C# does not remove it with Trim and I don't think Javascript does either

1 day ago
CrossScarMC

I also quite enjoy to place U+2800 in random places.

1 day ago
someofthedead_

⠀

1 day ago
MoffKalast
:js: :j: :cs: :py:

You know I bet you could make a script that runs in the background that just constantly spams that character and nobody would ever notice except that nothing that relies on string matching would fucking work anymore. This is far more evil than the greek question mark replacement.

1 day ago
backwards_watch
:py:

​

1 day ago
dastrike
:cs:

That character cost two developers a day at work when my colleague had copy-pasted an endpoint name from an API documentation into a string in our code, and it for whatever reason contained that zero width space character.

And thus the call failed but everything looked right when inspecting the variables and string literals. Finally, I got a bit suspicious that something like this could be in some of the strings so I copy-pasted the piece of code into Notepad++, enabled Show All Characters, and there the culprit was now in plain sight.

1 day ago
budapest_god
:ts:

You're delusional if you think I look at data in prod every time a form gets submitted

1 day ago
SlovenianTherapist

someone will need to look at that form, so they might file a bug

1 day ago
NordschleifeLover

I even know the title of the bug: "Form isn't working"

1 day ago
musedav

And here is the user submitted bug description, “Form isn’t working for me”

1 day ago
budapest_god
:ts:

What?

At worst, when he is in the screen where his data is shown, he can screenshot that and make a report there

1 day ago
bluecorbeau

Well it can still cause issues. And if the thing crashes they will look at the recent logs

1 day ago
all_is_love6667

hey calm down

1 day ago
tscalbas

I forget, what character causes the second one? Swear I've seen it 100 times in subtitles. Guessing it's UTF8 rendered as ASCII

1 day ago
matthewralston
:p::js::msl::bash:

I strongly suspect it's a GBP ’ symbol.

1 day ago
matthewralston
:p::js::msl::bash:

I meant a ’.

1 day ago
matthewralston
:p::js::msl::bash:

Hey Siri, how do I type ’?

1 day ago
matthewralston
:p::js::msl::bash:

Damn.

1 day ago
Secret_Account07

You alright bud?

1 day ago
matthewralston
:p::js::msl::bash:

Probably not. 😂

1 day ago
FuufuuWindwheel

It's UTF-8's ’ being read as something as Windows-1252 (as each of those characters aren't in the standard ASCII set)

1 day ago
smushkan

’

1 day ago
1T-context-window

Nah, i don't care. I just nuke that account and move on

1 day ago
_Yolk

This is the way.

Being actively malicious gets a paddling

1 day ago
decker_42

My birthday is always 01/01/1970

1 day ago
bread-man-

Good to know

1 day ago
SuperChick1705

mom said its my turn to repost this

1 day ago
Littux
:s::bash::py::js:

It's just as fun as adding fake HTML encoding issues

1 day ago
chic_luke
:rust::c::cp::cs::j::dart::bash:

I'm being tasked with writing a full suite of Chaos tests for the APIs at my company. Lots of ideas for tests cases to add in this thread. Thanks, folks!

1 day ago
IAmARobot

https://paulbutler.org/2025/smuggling-arbitrary-data-through-an-emoji/

‮‬‫ ‮‮‮‮‮Also there's the right-to-left override character.

https://www.fileformat.info/info/unicode/char/202e/index.htm

1 day ago
chic_luke
:rust::c::cp::cs::j::dart::bash:

WHAT THE FUCK

This is evil. I love it.

1 day ago
IAmARobot

notably RLO shenanigans were used to hack LinusTechTips, and others.

basically if you send file[RLO]fdp.exe by email it appears like fileexe.pdf

say you had a made-up company called flexe or something, you can send over a file called flexe.pdf for them to open up, pretty devious.

7 hours ago
Behrooz0
:c::cs::rust:

Don't forget mixed RTL text from different languages.

1 day ago
chic_luke
:rust::c::cp::cs::j::dart::bash:

Thanks! That's actually diabolical

1 day ago
phugyeah
:bash:

Just add ^M at the end of every input

1 day ago
DaisyGlimmer31

Same. I once spent hours wondering why my code wasn’t matching anything—turns out the “empty” strings were full of invisible betrayal. Who uses zero-width anything as a separator? That’s not clever, that’s dark magic.

1 day ago
The_Real_Black
:gd:

added some items called java.lang.NullPointerException on staging... my colleagues did not like it.

1 day ago
SwayInSilk

Evil. Too evil. You must be stopped

1 day ago
prussian_princess

I put 'undefined' in my responses.

1 day ago
ImportantToNote

Posting 10year old tweets, huh?

1 day ago
Gnonthgol

I did this. There was an event where we registered with team names. First year we had some unicode characters in the team name and everywhere at the event they were rendered differently. So next year I did it intentionally and got part of the team name from /dev/random. However they had fixed whatever bugs they had so now it was rendered the same everywhere.

1 day ago
nardev

This is purpusfully causing time and financial damage, just because. Just think about it a little more maturely and you realize how sad this is. It’s really not funny, it’s like going to a doctor with an MRI scan and drawing in stuff that looks like cancer, but with a pen. Of course the medicinal stuff is much more important, but it’s just very petty, cringe and damaging. It’s a character flaw. These kinds of people will absolutely do similar things in other life situations.

1 day ago
turtle_excluder

Exactly. The worst part is that this specifically messes with software written to be able to accept multilingual text input, since it's so easy to sanitize monolingual English input with a whitelist and simply throw away characters like the ones used in the post.

You can't do that if you have to be able to accept exotic characters such as those that are used in many non-English languages.

So congratulations to the guy in the post for making it harder for software devs to internationalize software correctly thus making it harder, for example, for people from foreign backgrounds to be able to write their names correctly and otherwise use online apps! You've done your part to make life a little bit worse for everyone who isn't English speaking.

1 day ago
rob_cornelius

[object Object]

is another good one

1 day ago
Lumpy-Measurement-55

This is Posted once every month. This is Repost bro.

The link from same sub 8 years ago. Posted multiple times and deleted by mods.

https://www.reddit.com/r/ProgrammerHumor/s/w33ZvNmvpw

1 day ago
lovecMC
:c::cp:

Bold of you to assume filters won't just auto flag it as spam.

1 day ago
fly_over_32

Nah, we just assume it’s from your end

1 day ago
FruityGamer

He has a Dev I'll Will.

1 day ago
ILoveBigCoffeeCups

Good luck receiving that jira when you’re the 15th person assigned and 14 other people could not figure this out.

1 day ago
novus_nl

NULL

1 day ago
fevsea
:py::cp::rust:

No need to be that creative. I broke by bank's app by putting an UTF-8 emoji on the account name.

1 day ago
coggsa

I once lost my shit at a developer who fixed a data corruption issue by simply filtering those fields out. Would have worked for this, but for us it was random valid characters instead of a person's name.

Took 3 people to explain why it wasn't a solution.

1 day ago
backwards_watch
:py:

There are 2 reasons why a dev or data scientist would care about this: 1) Your submission, specifically, is important. 2) There is statistical significance in the amount of entries with these characters, which wouldn't be the case for someone doing this as a joke.

Otherwise it will probably be either ignored or sanitized.

1 day ago
Calvin_RH_705

Monster

1 day ago
ImportantToNote

Posting 10year old tweets, huh?

1 day ago
ImportantToNote

Posting 10year old tweets, huh?

1 day ago
Citrus_Flirt

It's aerobatics to cause panic among developers with just one symbol.

1 day ago
WeeziMonkey

Apr 20, 2016

1 day ago
Splatpope
:c::cp::py::lua::bash:

bro how can you still have unicode bugs on modern apps in this day and age

1 day ago
Daemontatox
:rust:

Some people just wanna see code burn

1 day ago
Anbcdeptraivkl

Adding [Object] after my username to flashbang the QA tester

1 day ago
RobuxMaster

Nope. evil. Straight to hell. Nope.

1 day ago
ItsSignalsJerry_

The submission wouldn't raise an error so we wouldn't gaf.

1 day ago
AccomplishedIgit

Sometimes when I’m pissed off at the help docs I search a discouraging phrase in their site search. Marketers look at that shit lol

1 day ago
Rich_Housing971

Nah, I'm just gonna assume it's something on the user's end. Problem solved.

1 day ago
Varmtvannstank

I just like to slap on a good old </body> in random HTML forms

1 day ago
ScrimpyCat

🤔But sometimes they do have 🙃 bugs.

1 day ago
BlueSparkNightSky

1 day ago
Anton2038

​

1 day ago
jwd2017

I guess Satan really does exist after all

1 day ago
kirmizikopek

This is sick 😈

1 day ago
MaryCrosxx

Every dev's nightmare wrapped up in a tweet. 😂 Just wait till they start dropping emojis and SQL injections into the mix. RIP clean data! 🤯

1 day ago
Xlxlredditor
:c::unreal::sw::py::kt::js:

OK gpt

1 day ago