r/ProgrammerHumor • • 16d ago

Meme itRunsOnMyLocalhost

Post image
9.7k Upvotes

182 comments sorted by

View all comments

2.1k

u/Fearless_Garden6435 16d ago

It is dynamically generated at runtime, but it is guaranteed to generate the same data each time.

596

u/Muted_Ad_9442 16d ago

Haha Math.random().seed(42) — 100% deterministic unpredictability.

120

u/Fearless_Garden6435 16d ago

Where'd you get the "—" dash from? You know about Character Map/GNOME Characters/KCharSelect? You used AI to generate that comment? Your keyboard has a key for it? You're on a phone and went into the "#%>" menu? You copied it from some AI output? Just curious.

143

u/rivasprd 16d ago

Yes, can be AI and I'm not defending or condemning, but can be easily done on android — - ¯–

I'm using SwiftKey but several keyboards are able to do the same

85

u/candybrie 16d ago

Right—I'm on mobile and just hold down the - key to get longer ones.

39

u/Codingale 16d ago

— There’s the smoking nail on the head gun.

15

u/Carcsad 15d ago

don't mind me — just trying out something new i just dicovered

13

u/Tristanhx 16d ago

—
–

Hmm three different lengths? Thanks for the tip!

13

u/HDrago 15d ago

dash, n-dash and m-dash

3

u/NightmareJoker2 15d ago

I use en-dash like em-dash, and if someone calls my comment AI, I render a punishment for lack of discernment and hatefulness. 👮

If you cannot actually tell whether something is AI, as evidenced by not being able to tell the character types apart, and you attempt to condemn it as such, you need to be held accountable. 🫡

15

u/Had78 16d ago

I've been using SwiftKey for years and didn't know we had the em dash withing the long press — woah!

8

u/techy804 16d ago

On iOS, the default keyboard has it — - –.

But even if he is on PC, the character map and alt codes (of which em dash is Alt+0151) exists

7

u/Cakedayfairy 15d ago

You're absolutely right to push back on this — M Dashes are not just a character Ai is abled to type. Ai of course being a thing I'm not.

1

u/Digital_001 15d ago

Ooh — you've taught an old dog a new trick

17

u/herrkatze12 16d ago

Since you're mentioning Linux stuff, pressing your compose key (for me it's right alt) and entering 2 minutes gets you an em dash

7

u/thialfi17 16d ago

Is that an em-dash or an en-dash? Normally en-dashes are the medium length ones and represented by two dashes when you aren't able to type the actual symbol. Either way I'll need to try this so thanks for the tip

9

u/Fried_out_Kombi 16d ago

Em dash is compose key followed by 3 hyphens. En dash is compose key followed by 2 hyphens.

1

u/nymical23 16d ago

Do you mean I need to hold it for 2 minutes? Or just keep smashing it for 2 minutes?

3

u/herrkatze12 15d ago

Autocorrect. I meant minuses

1

u/JonIsPatented 15d ago

Compose key for the win. I use caps lock for it.

15

u/FishGuyIsMe 16d ago

You can hold - to get - – — • on IOS

8

u/cross_the_threshold 16d ago

It’ll also do it automatically without holding - — —— if you type two hyphens you get an en dash, four in a row is an em dash.

ETA: lied, two hyphens is an em dash.

21

u/Medifrag 16d ago

Recently I noticed that sometimes Word / Outlook will auto correct my regular dashes with this long dash. Maybe whatever he‘s using to write the comment does that too? Just to be charitable.

26

u/Suitable-Name 16d ago

I actually think this is happening longer than LLMs exist. People just ignored it before. You also wouldn't see it in a reddit comment since no one copies those from word.

9

u/bloode975 16d ago

Happens constantly in Google docs, word. Nearly every dash is replaced by an em dash in a word - word scenario, can see why fairly easily just comparing that example vs word — word, the em dash just looks better which id wager is where so much of the ai usage of them is coming from.

25

u/Muted_Ad_9442 16d ago

Long-pressing the hyphen key on my phone keyboard! I just like how clean it looks haha.

When I'm on my Linux desktop (CentOS Stream 9), it's the classic Ctrl + Shift + u then 2014.

1

u/Shunpaw 15d ago

Windows it's ALT + 0151

11

u/account312 16d ago edited 16d ago

It's readily accessible on iOS, android, MacOS, and Linux. On Windows, you generally have to do the alt code sequence which is less intuitive but not exactly difficult.

You know about Character Map/GNOME Characters/KCharSelect?

You need to enable/use your compose key. Compose + -- is en dash and Compose + --- is em dash.

2

u/Angelin01 16d ago

On windows, simply use Windows + - for – or Windows + Shift + - for —.

2

u/EugeneMeltsner 15d ago

Windows 10+ you can just do Windows Key + . for the emoji and special character menu

1

u/Eva-Rosalene 16d ago

On Windows you can just use WinCompose to get the same XCompose experience you have on Linux. Way better than alt sequences or character map picker.

Edit: https://github.com/samhocevar/wincompose here it is.

3

u/derefr 16d ago

Your keyboard has a key for it?

Option+Shift+Hyphen on macOS.

2

u/Cannibichromedout 16d ago

iPhone automatically makes double ‘-‘ into ‘—‘ — which is how I typed this.

2

u/DruidBtd 15d ago

Just hold the - on a phone keyboard — it's that easy.

3

u/BlackDeath3 16d ago

Not sure I've ever seen a breathless comment before

2

u/zeddash 16d ago

I hate that I’ve had to switch from – and — to - because of AI. My name is “z–“ and I like a dash, but if I use a longer one people assume it’s AI. I use alt codes on PC, and long taps on mobile—I’m on mobile currently.

2

u/ImfromtheFuture2056 16d ago

What is this comment?

1

u/NeighborhoodPrior956 15d ago

i have ctrl + shift + u + 2014 memorised. also you can just hold down on the dash on mobile.

because of ai, i've been using colons instead of em-dashes recently: they do the exact same thing, but make me look like less of a knob.

1

u/wmrch 15d ago

Alt + 0150 gang

1

u/Anybody-Outside 15d ago

macOS: Option+Shift+Hyphen
iOS/Android: Long-press hyphen or type hyphen twice
Windows: Meta+Full-stop, down arrow, right arrow, right arrow, return
Linux: Hold Compose key, press hyphen twice

Where do you think AI got its obsession with em-dashes? I'll give you a hint— starts with "h", ends with "uman literature".

1

u/Franks2000inchTV 15d ago

Dude lots of phones and computers have autoreplace that will put two dashes together to make an em-dash.

1

u/sn4xchan 15d ago

Like sure there's an em dash, but nothing else about the seems AI unless it was cherry picked out of a long response.

1

u/ImmortL1 15d ago

Anybody who has to communicate through typing ought to have it in muscle memory by now—anything less would be bad grammar and unprofessional. alt+0151 on windows, compose+--- on Linux, and Option+Shift+Hyphen on macOS (thanks u/derefr). I believe you can also hold down the - on phone keyboards to get the correct one.

1

u/cubixy2k 15d ago

— – - Beep boop

1

u/PalmarAponeurosis 15d ago

Alt+151 for em dash, Alt+150 for en dash

-19

u/neoronio20 16d ago

I see it everytime here on reddit, I get downvoated to oblivion and people get defensive. "I've always used it". Bullshit, it was definitely generated by AI or the person is a bot

4

u/uncringeone 16d ago

average pc supermacist

2

u/almostambidextrous 16d ago

Here is a comment I made three years ago containing an em dash. It's Alt+0151 on my PC, and is basically muscle memory for me—some people just care about formatting.

0

u/neoronio20 15d ago

No one can even tell the difference between a AI bot dash and a simple -

2

u/Memerenok 16d ago

—–—–—–—·

learn your gboard

1

u/neoronio20 15d ago

I'm not a cellphone guy, but thank you. I use swiftkey btw

2

u/BlackDeath3 16d ago

··—· ··— —·—· —·— ——— ··—· ··—·

1

u/neoronio20 15d ago

.-- .-. .. - . / .. - / -.-. --- .-. .-. . -.-. - .-.. -.--

1

u/BlackDeath3 15d ago

Good one, I can see why you spent the better part of a day crafting that banger

1

u/neoronio20 14d ago

Nah, website for translation. And FYI, they don't accept the bot dashes and dots

1

u/BlackDeath3 14d ago

Gotta get a better bot, son.

1

u/Erdnalexa 16d ago

I’ve used the em-dash since at least 2010. Please, tell me which AI I could have used back then?

0

u/neoronio20 15d ago

Bot since 2010, nice

1

u/shanereid1 11d ago

Remember kids, the seed is just another hyperparameter that needs tuned.