and btw they dont get highlighted in VScode. I spent 2 weeks debugging my Gameboy emulator just because the Cyrillic "с" and "c" are on the same key (I live in Ukraine so i have Combined Russian/Ukrainian layout as my secondary)
I do like notepad++’s find and replace UI better, which is insanely helpful with a quick data transcription job (e.g. excel rows to sql query.) Is there something better in VSCode I’m just not using?
Honestly I've only been using VSC for the last several months because it has better all around compatibility with Unity, and I don't really want to be using multiple editors to code between different projects, so I just wound up switching after years on Notepad++.
I will say that VSC suggestions/intellisense help a fair bit, but those are about the only big differences I've had a use for so far. Nothing I couldn't live without, but convenient.
In Japanese you have brilliant pairs like 口 (mouth) and ロ (the sound "Ro").
One Japanese streamer tried to cheat another player in Minecraft by disguising yellow wool as gold, so she renamed the wool to 金ブロック (Gold Block). Because renamed items show up in italics and make it easy to detect the fakes between the real ones, she decided to also rename the actual gold blocks so they would be all in italics.
However you cannot rename an item to its own name. So she tried out renaming the actual gold to 金プロック (Gold Plock)、金フロック (Gold Flock)、金フロッケ (Gold Blocke)、and finally 全ブロック (Total Block). So basically there are lots of options to fool people with alternate characters.
I really hate the Vtuber trend, it's like some weird uncanny valley shit that makes me almost uncomfortable, but I'm glad I stuck it out for those clips. That was pretty hilarious.
Yeah it definitely was an 'acquired taste' for me as well.
I was interested because I was looking out for Japanese listening practice anyway, they had some hilarious bilingual Engrish moments, and the Hololive Vtubers were getting big in some niches I really like (the Vocaloid type Japanese music scene and anime art). So I stuck around until the uncanney valley effect was gone.
If you were trying to learn Japanese, I'm sure it's actually an invaluable resource to hear real world usage, especially when they're playing multiplayer with each other so there's real interaction. Makes perfect sense how that would ease you in.
Interestingly, Python normalizes U+FF41 to U+0061, so the print statements will just print goodbye twice. After reading up on it a bit, it looks like Python uses NFKC normalization to convert the U+FF41 identifier back to U+0061.
I worked with a guy who did this but with quotes. He'd specifically unicode the open and close quote symbol rather than just using the standard single or double.
I feel like kids in my class would do this shot just to seem like the know a lot. “Clever” code like this is never cool imo. Just write it and keep it simple stupid
42
u/Haunting-Surprise-21 Feb 11 '22
You could also use Cyrillic letters. Some really look the same: aа eе оo уy хx сc рp КK ЕE ХX ВB АA РP СC МM ТT
7
u/CaptSkinny Feb 11 '22 edited Feb 13 '22
Used to do this with filenames and extended ASCII in MS-DOS.
There's one character that looks like a space that would always throw people, at a time when spaces weren't allowed in filenames.
301
u/Cristichi wicked Feb 11 '22
Nobody will be able to fire me after I use this little trick
379
u/glebbash Feb 11 '22
VSCode will highlight the fake one so it will not work
58
u/ebalonabol Feb 11 '22
Go devs when they run out of single letter variables:
135
u/Roflkopt3r Feb 11 '22 edited Feb 11 '22
In Japanese you have brilliant pairs like 口 (mouth) and ロ (the sound "Ro").
One Japanese streamer tried to cheat another player in Minecraft by disguising yellow wool as gold, so she renamed the wool to 金ブロック (Gold Block). Because renamed items show up in italics and make it easy to detect the fakes between the real ones, she decided to also rename the actual gold blocks so they would be all in italics.
However you cannot rename an item to its own name. So she tried out renaming the actual gold to 金プロック (Gold Plock)、金フロック (Gold Flock)、金フロッケ (Gold Blocke)、and finally 全ブロック (Total Block). So basically there are lots of options to fool people with alternate characters.
The recipients caught on though.
37
u/Icarium-Lifestealer Feb 11 '22
Get a better compiler:
72
u/zacharypamela Feb 11 '22
also seems to work in JavaScript.
Interestingly, Python normalizes
U+FF41toU+0061, so the print statements will just printgoodbyetwice. After reading up on it a bit, it looks like Python uses NFKC normalization to convert theU+FF41identifier back toU+0061.20
u/Gydo194 Feb 11 '22
aaaaaaaa!!
7
u/mldevw Feb 11 '22
This is vicious.
5
u/[deleted] Feb 11 '22
Reminds me of this https://www.bleepingcomputer.com/news/security/invisible-characters-could-be-hiding-backdoors-in-your-javascript-code/
9
u/[deleted] Feb 11 '22
For the ones that wonder where this is from it is from Learning Go by O'Reilly page 33
4
u/[deleted] Feb 11 '22
I worked with a guy who did this but with quotes. He'd specifically unicode the open and close quote symbol rather than just using the standard single or double.
4
u/[deleted] Feb 11 '22
New way to fuck with my CS classes graders
4
u/dam4rus Feb 11 '22
You are already trolling them by making them write in Go /j
3
u/[deleted] Feb 11 '22
r/cursed
2
u/Curtmister25 Feb 11 '22
Oof
2
u/[deleted] Feb 11 '22
My brain used up so much resources trying to figure this out that its now officially retired
2
u/Hesh35 Feb 11 '22
I feel like kids in my class would do this shot just to seem like the know a lot. “Clever” code like this is never cool imo. Just write it and keep it simple stupid
2
u/edible-derrangements Feb 11 '22
Just use variable variables in php
2
u/knightttime Feb 11 '22
Image Transcription: Text
Example 2-5. Using look-alike code points for variable names
[An image of a code block:]
[End of code block]
When you run this program, you get:
[Another code block:]
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
1
u/[deleted] Feb 11 '22
&zwnbsp;
1
u/BrubMomento Feb 12 '22
Wait. But that’s… what?
-3
u/DrNotch0908 Feb 11 '22
Does this work in J*va?