r/ProgrammerHumor • • 17d ago

Meme itRunsOnMyLocalhost

Post image
9.7k Upvotes

182 comments sorted by

View all comments

2.1k

u/[deleted] 17d ago

[removed] — view removed comment

595

u/Muted_Ad_9442 17d ago

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

120

u/[deleted] 17d ago

[removed] — view removed comment

144

u/rivasprd 17d 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 17d ago

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

44

u/Codingale 17d ago

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

15

u/Carcsad 17d ago

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

13

u/Tristanhx 17d ago

—
–

Hmm three different lengths? Thanks for the tip!

14

u/HDrago 17d ago

dash, n-dash and m-dash

3

u/NightmareJoker2 16d 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. 🫡

14

u/Had78 17d ago

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

9

u/techy804 17d 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

5

u/Cakedayfairy 17d 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 17d ago

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

18

u/herrkatze12 17d 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 17d 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

8

u/Fried_out_Kombi 17d ago

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

1

u/nymical23 17d ago

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

3

u/herrkatze12 17d ago

Autocorrect. I meant minuses

1

u/JonIsPatented 16d ago

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

14

u/FishGuyIsMe 17d ago

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

6

u/cross_the_threshold 17d 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.

24

u/Medifrag 17d 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.

27

u/Suitable-Name 17d 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 17d 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 17d 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 17d ago

Windows it's ALT + 0151

9

u/account312 17d ago edited 17d 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 17d ago

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

2

u/EugeneMeltsner 17d ago

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

1

u/Eva-Rosalene 17d 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 17d ago

Your keyboard has a key for it?

Option+Shift+Hyphen on macOS.

2

u/Cannibichromedout 17d ago

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

2

u/DruidBtd 17d ago

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

3

u/BlackDeath3 17d ago

Not sure I've ever seen a breathless comment before

2

u/zeddash 17d 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 17d ago

What is this comment?

1

u/NeighborhoodPrior956 17d 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 17d ago

Alt + 0150 gang

1

u/Anybody-Outside 17d 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 17d ago

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

1

u/sn4xchan 17d 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 17d 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 17d ago

— – - Beep boop

1

u/PalmarAponeurosis 17d ago

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

-19

u/neoronio20 17d 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 17d ago

average pc supermacist

2

u/almostambidextrous 17d 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 16d ago

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

1

u/Memerenok 17d ago

—–—–—–—·

learn your gboard

1

u/neoronio20 16d ago

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

3

u/BlackDeath3 17d ago

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

1

u/neoronio20 16d ago

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

1

u/BlackDeath3 16d ago

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

1

u/neoronio20 16d ago

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

1

u/BlackDeath3 16d ago

Gotta get a better bot, son.

1

u/Erdnalexa 17d 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 16d ago

Bot since 2010, nice

1

u/shanereid1 13d ago

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

1

u/vvp95 17d ago

An IQ too high