this post was submitted on 28 Feb 2024
975 points (97.2% liked)

Memes

8107 readers
1165 users here now

Post memes here.

A meme is an idea, behavior, or style that spreads by means of imitation from person to person within a culture and often carries symbolic meaning representing a particular phenomenon or theme.

An Internet meme or meme, is a cultural item that is spread via the Internet, often through social media platforms. The name is by the concept of memes proposed by Richard Dawkins in 1972. Internet memes can take various forms, such as images, videos, GIFs, and various other viral sensations.


Laittakaa meemejä tänne.

founded 2 years ago
MODERATORS
 

(skeletor is leading by example by adding that unnecessary apostrophe...)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 333 points 6 months ago (11 children)

Most CSVs these days are separated by semicolons, so make sure to add one of those as well!

To protect against shitty databases, add one of every quote ("'`) to your password so inserting the password fails.

To fuck with computers that don't know how to do UTF8, add a few emoji.

To limit the risk of Chinese hackers, add a Taiwanese flag 🇹🇼. Their iPhones can't render that glyph!

To make sure millenials can't read your password, 𝔀𝓻𝓲𝓽𝓮 𝓹𝓪𝓻𝓽 𝓸𝓯 𝓲𝓽 𝓲𝓷 𝓬𝓾𝓻𝓼𝓲𝓿𝓮.

Then to top it all off, add a right-to-left override character to invert the direction of the password halfway through.

[–] [email protected] 159 points 6 months ago* (last edited 6 months ago) (6 children)

To fuck with computers that don't know how to do UTF8, add a few emoji.

I once set a WiFi ssid to 🌻 and I was amazed at how much problems that likely caused. I had people showing me their network manager was dumping random characters. Some other routers web interfaces became corrupted when trying to show the neighborhood. Some clients refused to connect. Even a bsod on a windows XP box.

[–] [email protected] 52 points 6 months ago* (last edited 6 months ago) (3 children)

One of my projects was validation for form submission and emojis melted me. I gave up trying to do it from scratch and trusted a library.

[–] [email protected] 43 points 6 months ago (1 children)

I'm currently in a project where the client has a custom, but not entirely consistent or known subset of utf-8.

They want us to keep the form content as it is, but remove the "bad" characters. Our current approach is to just forward everything as it is and wait for someone to complain. How TF am I supposed to remove a character without changing the message?

[–] [email protected] 14 points 6 months ago (1 children)

Yeah I had a backend with poor support for anything that wasn't ASCII. So my solution was turning everything into hex before storing it. I wonder if people are still using it.

[–] [email protected] 8 points 6 months ago* (last edited 6 months ago)

Yeah I had a backend with poor support for anything that wasn't ASCII

PHP is like this. Poor Unicode support, but it treats strings as raw bytes so it usually works well enough. It turns out a programming language can take data from a form, save it to a database, then later load and render it, without having to know what those bytes actually mean, as long as the app or browser knows it's UTF-8, for example through a Content-Type header or meta tag.

The tricky thing is the all the standard string manipulation functions (strlen, substr, etc) don't handle Unicode properly at all and they deal with number of bytes rather than number of characters. You need to use the "multibyte" (Unicode-ready) equivalents like mb_substr, but a lot of PHP developers forget to do this and end up with string truncation code that cuts UTF-8 characters in half (e.g.if it's truncating a long title with Emoji in it, it might cut off the title in the middle of the three bytes that represent the Emoji and only leave 1 or 2 of them)

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago)

You just need to ensure you validate character by character (NOT byte by byte) and allow characters in the Emoji Unicode ranges (which are well-defined in the Unicode standard). Using a library is a great idea though.

[–] [email protected] 4 points 6 months ago

Why not simply discard them?

[–] [email protected] 36 points 6 months ago

They called it "The Sunflower Incident."

[–] [email protected] 24 points 6 months ago (1 children)

Fun fact: SSIDs are just bytes. They don't need to he any kind of UTF compliant. You can use a set of unprintable characters

[–] [email protected] 2 points 6 months ago (3 children)

Is there a character limit? Can it be the binary for DOOM?

[–] [email protected] 3 points 6 months ago

32 bytes. 31 if you want to end the name in a \0 byte to not completely break IoT devices and the like.

You can have as many SSIDs as you want, of course. So you could spam a million SSIDs and have a piece of software decode them.

load more comments (2 replies)
[–] [email protected] 10 points 6 months ago (1 children)

I had a ton of trouble with an apostrophe in my SSID until I realized that was the cause.

load more comments (1 replies)
[–] [email protected] 9 points 6 months ago

Great success!

load more comments (1 replies)
[–] [email protected] 70 points 6 months ago (4 children)

To make sure millenials can't read your password, 𝔀𝓻𝓲𝓽𝓮 𝓹𝓪𝓻𝓽 𝓸𝓯 𝓲𝓽 𝓲𝓷 𝓬𝓾𝓻𝓼𝓲𝓿𝓮.

How would this mess with millennials? I think you mean gen z.

[–] [email protected] 79 points 6 months ago (1 children)

Common mistake: When you're ascribing a bad quality to them, "millenials" means everyone born after 1960. If you're ascribing a good quality to them, it only means people born between December 12, 1989, and December 14, 1989.

[–] [email protected] 26 points 6 months ago* (last edited 6 months ago) (1 children)

Incidentally, @[email protected]'s birthday is 13th December.

[–] [email protected] 4 points 6 months ago

They're one of the good ones

[–] [email protected] 15 points 6 months ago (2 children)
[–] [email protected] 5 points 6 months ago (1 children)

Were told our assignments in high school would get an automatic zero if we didn't turn them in in cursive, even...

[–] [email protected] 7 points 6 months ago

I knew someone who did physics in cursive. It was impossible to read (not bc it was sloppy, because seeing Greek letters as cursive threw me for a loop)

[–] [email protected] 3 points 6 months ago (1 children)

Yeah! Most of us can read analog clocks too!

load more comments (1 replies)
[–] [email protected] 7 points 6 months ago (1 children)

Even my gen alpha kid was learning cursive in third grade last year. I don’t expect him to write using it much but at least he knows how to read it.

[–] [email protected] 4 points 6 months ago (1 children)

Apparently that's not very common anymore.

[–] [email protected] 3 points 6 months ago (2 children)

The only thing I write in cursive these days is my signature.

load more comments (2 replies)
[–] [email protected] 3 points 6 months ago

𝔒𝔯 𝔶𝔢𝔬𝔩𝔡 𝔢𝔫𝔤𝔩𝔦𝔰𝔥 𝔱𝔬 𝔰𝔠𝔯𝔢𝔴 𝔴𝔦𝔱𝔥 𝔢𝔳𝔢𝔯𝔶𝔬𝔫𝔢.

[–] [email protected] 33 points 6 months ago (2 children)

Sir, this is a Wendy's account.

[–] [email protected] 15 points 6 months ago

Since it's noon, that'll be $92. TYVM and fuck you.

[–] [email protected] 13 points 6 months ago (1 children)
[–] [email protected] 11 points 6 months ago

All I see is *****

[–] [email protected] 30 points 6 months ago (2 children)

To make sure millenials can't read your password, 𝔀𝓻𝓲𝓽𝓮 𝓹𝓪𝓻𝓽 𝓸𝓯 𝓲𝓽 𝓲𝓷 𝓬𝓾𝓻𝓼𝓲𝓿𝓮.

Hey, millennials know cursive!

[–] [email protected] 30 points 6 months ago (1 children)

Forced to learn it in elementary school because "highschool and college require it!" by Boomers that didn't recognize the tech revolution only to get to college and be told by those same boomers to never turn in a handwritten paper unless you wanted an auto fail.

[–] [email protected] 7 points 6 months ago (1 children)

told by those same boomers

Your elementary school teachers were also your college professors?

[–] [email protected] 13 points 6 months ago

There is only one Boomer. It’s like an Agent Smith situation.

[–] [email protected] 7 points 6 months ago

I was just memeing the "millenials killed cursive" articles thst cropped up a few years ago.

We all know $currentGenerationOfChildren actually killed cursive!

[–] [email protected] 15 points 6 months ago (3 children)

CSVs are supposed be comma-separated files. Microsoft deviated from the specification and decided some languages would use semicolons for CSVs.

Source: StackOverflow

[–] [email protected] 12 points 6 months ago

cemicolon separated values

[–] [email protected] 6 points 6 months ago* (last edited 6 months ago)

Microsoft deviated from the specification

There is no specification for CSV, which is why it's such a mess and different parsers and renderers have wildly different features. The closest thing to a spec is RFC4180 but that RFC simply describes the most common features across several CSV implementations, and is not actually a spec.

I agree that it should be comma separated though. My understanding is that it caused issues in countries that use a comma as a decimal point.

Also, Excel sometimes uses tabs rather than commas or semicolons.

[–] [email protected] 5 points 6 months ago

Using comma would probably caused more problems as it is a decimal separator for those languages. My excel also uses semicolon in formulas instead of comma when separating parameters. Some VBA scripts break when using different language settings and some forumilas don't translate automatically to different locale so they just give an error. Overall using excel in different locale setups is annoying.

Best separator I have used is | as i have never seen it in the data as an input. Comma and semicolon both have caused issues in the past for me as they might pop up at wrong places.

[–] [email protected] 12 points 6 months ago (1 children)

Here's my confusion: as soon as it is no longer separated by commas, it is by definition no longer a CSV. Is it an SCSV now?

[–] [email protected] 12 points 6 months ago

It turns into a CSV where the C stands for character.

[–] [email protected] 12 points 6 months ago

Z̵̫̖͚̳̖̖̰̩̀̆͐͒͝ä̸̛̻́̈́̌͂̽̈́l̷̤̥̖̝͙̅g̵̱̤͙͕̥̮͌̽o̸̡̦̙̬̘͎̪̥̔ ̴͔̙̞̱̗͒͊͊̽̀̑͌ẏ̵̛̻̾o̸̡͍̤͔͌ų̶̠͔̯̲̖͇̯̅̒̓̃̏̓͊r̷͎̪̗̤̄̊̃̚͝ ̵̢̰͔̀t̵̡̘̤̙͕͎̅͂͛̀̚ȩ̷͙̙̖̲̟͍̉̎͝x̷͇̦̝̼͗͋̊t̶̫̹̳̩͇̼̠͚̿͆̅̋̔̃͐͗!̶̧̛͕̮̻̞͎͇̹͆͛͘̕̚͠

[–] [email protected] 9 points 6 months ago* (last edited 6 months ago) (1 children)

My bank basically only allowing [a-zA-Z0-9]: I think not

[–] [email protected] 21 points 6 months ago (5 children)

Why do banks have the shittiest cyber security?

[–] [email protected] 15 points 6 months ago

Because you, the taxpayer, will bail them out anyway

[–] [email protected] 13 points 6 months ago (5 children)

I emailed my bank about this a few years ago. Never heard back but to my surprise they actually updated the password restrictions! I should send another email asking for MFA and virtual cards...

[–] [email protected] 3 points 6 months ago

Jeez mate you gotta get on that! You have the magic powers and you're holding back civilization's progress with your procrastination!

load more comments (4 replies)
[–] [email protected] 9 points 6 months ago

Truly ancient Cobol running in the back is my only guess. Why they wouldn’t have their authentication systems completely separate with better security features and some sort of token based access to the backend is beyond my understanding of their back end.

[–] [email protected] 3 points 6 months ago

This isn't really true. If it were the financial world would be incredibly unstable and untrustworthy, and nobody would keep their money in banks.

Banks do tend to be behind the leading edge because their systems are thoroughly tested and have to be stable. They have to be regularly audited and there's a lot of oversight. Change control processes are inherently slow. Given a choice between rapid and flexible or deliberate and reliable, banks will take the cautious route.

load more comments (1 replies)
[–] [email protected] 9 points 6 months ago* (last edited 6 months ago)

To fuck with computers that don't know how to do UTF8, add a few emoji.

Even better, add some byte sequences that are invalid UTF-8.

load more comments (2 replies)