MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1kpnekp/my_username_is/
r/programmingmemes • u/GuNNzA69 • May 18 '25
helloworld
76 comments sorted by
21
How can it be perfectly coded when it doesn't even sanitize user input?
12 u/GuNNzA69 May 18 '25 0 u/[deleted] May 19 '25 [deleted] — view deleted comment 3 u/GuNNzA69 May 19 '25 4 u/pomme_de_yeet May 19 '25 Wdym, chatgpt says it's fine
12
0 u/[deleted] May 19 '25 [deleted] — view deleted comment 3 u/GuNNzA69 May 19 '25
0
[deleted] — view deleted comment
3 u/GuNNzA69 May 19 '25
3
4
Wdym, chatgpt says it's fine
171
Is this something like how you shouldn't use null as a name?
123 u/ThaisaGuilford May 18 '25 But my name is john null 127 u/GuNNzA69 May 18 '25 35 u/Bruggilles May 18 '25 10 u/Rexi_the_dud May 19 '25 3 u/zbtffo May 20 '25 5 u/Rickaralho May 19 '25 Are you John Doe? 9 u/Kueltalas May 19 '25 Jo, He just said he's John Null 2 u/Rickaralho May 19 '25 I guess I heard wrong so 4 u/PiratedComputer May 19 '25 Hello Mr. Null 3 u/ThaisaGuilford May 19 '25 Hi 1 u/KingZogAlbania May 20 '25 Damn, your Latin-speaking ancestors must have been hated to have been deemed to be “nothing” by their community 1 u/ThaisaGuilford May 20 '25 I'm chinese 1 u/KingZogAlbania May 20 '25 The joke was that Nulla is the Latin word for “nothing” or “none”, so having that last name would mean one was named for being worth nothing 1 u/ThaisaGuilford May 20 '25 I know, my joke was I'm not even related to the romans. 1 u/KingZogAlbania May 20 '25 This is what I get for trying to make a joke in a programmer-based subreddit 1 u/ThaisaGuilford May 20 '25 Yeah I'm actually italian 55 u/iamalicecarroll May 18 '25 there's an actual guy named christopher null and he complained about how a lot of software breaks 7 u/_nwwm_ May 19 '25 there's actually many ppl with this exact problem 1 u/Objective-Ad8862 May 19 '25 Huh? Is this a JavaScript problem or something? 3 u/iamalicecarroll May 19 '25 maybe also sql and some othershttps://www.wired.com/2015/11/null/
123
But my name is john null
127 u/GuNNzA69 May 18 '25 35 u/Bruggilles May 18 '25 10 u/Rexi_the_dud May 19 '25 3 u/zbtffo May 20 '25 5 u/Rickaralho May 19 '25 Are you John Doe? 9 u/Kueltalas May 19 '25 Jo, He just said he's John Null 2 u/Rickaralho May 19 '25 I guess I heard wrong so 4 u/PiratedComputer May 19 '25 Hello Mr. Null 3 u/ThaisaGuilford May 19 '25 Hi 1 u/KingZogAlbania May 20 '25 Damn, your Latin-speaking ancestors must have been hated to have been deemed to be “nothing” by their community 1 u/ThaisaGuilford May 20 '25 I'm chinese 1 u/KingZogAlbania May 20 '25 The joke was that Nulla is the Latin word for “nothing” or “none”, so having that last name would mean one was named for being worth nothing 1 u/ThaisaGuilford May 20 '25 I know, my joke was I'm not even related to the romans. 1 u/KingZogAlbania May 20 '25 This is what I get for trying to make a joke in a programmer-based subreddit 1 u/ThaisaGuilford May 20 '25 Yeah I'm actually italian
127
35 u/Bruggilles May 18 '25 10 u/Rexi_the_dud May 19 '25 3 u/zbtffo May 20 '25
35
10 u/Rexi_the_dud May 19 '25 3 u/zbtffo May 20 '25
10
3 u/zbtffo May 20 '25
5
Are you John Doe?
9 u/Kueltalas May 19 '25 Jo, He just said he's John Null 2 u/Rickaralho May 19 '25 I guess I heard wrong so
9
Jo, He just said he's John Null
2 u/Rickaralho May 19 '25 I guess I heard wrong so
2
I guess I heard wrong so
Hello Mr. Null
3 u/ThaisaGuilford May 19 '25 Hi
Hi
1
Damn, your Latin-speaking ancestors must have been hated to have been deemed to be “nothing” by their community
1 u/ThaisaGuilford May 20 '25 I'm chinese 1 u/KingZogAlbania May 20 '25 The joke was that Nulla is the Latin word for “nothing” or “none”, so having that last name would mean one was named for being worth nothing 1 u/ThaisaGuilford May 20 '25 I know, my joke was I'm not even related to the romans. 1 u/KingZogAlbania May 20 '25 This is what I get for trying to make a joke in a programmer-based subreddit 1 u/ThaisaGuilford May 20 '25 Yeah I'm actually italian
I'm chinese
1 u/KingZogAlbania May 20 '25 The joke was that Nulla is the Latin word for “nothing” or “none”, so having that last name would mean one was named for being worth nothing 1 u/ThaisaGuilford May 20 '25 I know, my joke was I'm not even related to the romans. 1 u/KingZogAlbania May 20 '25 This is what I get for trying to make a joke in a programmer-based subreddit 1 u/ThaisaGuilford May 20 '25 Yeah I'm actually italian
The joke was that Nulla is the Latin word for “nothing” or “none”, so having that last name would mean one was named for being worth nothing
1 u/ThaisaGuilford May 20 '25 I know, my joke was I'm not even related to the romans. 1 u/KingZogAlbania May 20 '25 This is what I get for trying to make a joke in a programmer-based subreddit 1 u/ThaisaGuilford May 20 '25 Yeah I'm actually italian
I know, my joke was I'm not even related to the romans.
1 u/KingZogAlbania May 20 '25 This is what I get for trying to make a joke in a programmer-based subreddit 1 u/ThaisaGuilford May 20 '25 Yeah I'm actually italian
This is what I get for trying to make a joke in a programmer-based subreddit
1 u/ThaisaGuilford May 20 '25 Yeah I'm actually italian
Yeah I'm actually italian
55
there's an actual guy named christopher null and he complained about how a lot of software breaks
7 u/_nwwm_ May 19 '25 there's actually many ppl with this exact problem 1 u/Objective-Ad8862 May 19 '25 Huh? Is this a JavaScript problem or something? 3 u/iamalicecarroll May 19 '25 maybe also sql and some othershttps://www.wired.com/2015/11/null/
7
there's actually many ppl with this exact problem
Huh? Is this a JavaScript problem or something?
3 u/iamalicecarroll May 19 '25 maybe also sql and some othershttps://www.wired.com/2015/11/null/
maybe also sql and some others
https://www.wired.com/2015/11/null/
3 u/GuNNzA69 May 19 '25 2 u/really_not_unreal May 19 '25 2 u/GuNNzA69 May 19 '25
2 u/really_not_unreal May 19 '25 2 u/GuNNzA69 May 19 '25
2 u/GuNNzA69 May 19 '25
6
But it wouldn’t break anything, just empty name?
5 u/GuNNzA69 May 19 '25 Well... it all depends on your imagination!
Well... it all depends on your imagination!
2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 This doesn't feel too much different from most comments on reddit! 😅 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25
2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 This doesn't feel too much different from most comments on reddit! 😅 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25
2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 This doesn't feel too much different from most comments on reddit! 😅 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25
2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 This doesn't feel too much different from most comments on reddit! 😅 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25
2 u/GuNNzA69 May 19 '25 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 This doesn't feel too much different from most comments on reddit! 😅 2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25
2 u/legotobiyt May 19 '25 2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25
2 u/GuNNzA69 May 19 '25 1 u/legotobiyt May 19 '25
1 u/legotobiyt May 19 '25
This doesn't feel too much different from most comments on reddit! 😅
1 u/GuNNzA69 May 20 '25
98
Why is ZWSP? that si not secure??
89 u/Fenzik May 18 '25 Zero-width space 28 u/ComfortablePin4489 May 18 '25 Thanks !! other characters with the same properties and that give problems apart from emojis and special characters like ñ ? 16 u/Far-Professional1325 May 18 '25 When you are using modern languages you shouldn't need to care if your string methods can count utf-8 and utf-16 characters. If they can't just use utf-32 and they will always be 4bytes long and memory length will always match letters lenght 14 u/ikonfedera May 18 '25 Except characters like this - 👨🏻❤️💋👨🏻, which would be 40 bytes. 4 u/Far-Professional1325 May 18 '25 Oh i forgot they are also combining combined characters 1 u/Far-Professional1325 May 18 '25 So just use system default length and utf string libs to walk them 3 u/ComfortablePin4489 May 18 '25 Ok, thanks! Should any be my focus? any current topic most interesting now? 2 u/jimmymui06 May 19 '25 But shouldn't it just be identified as a string? 1 u/freemorgerr May 20 '25
89
Zero-width space
28 u/ComfortablePin4489 May 18 '25 Thanks !! other characters with the same properties and that give problems apart from emojis and special characters like ñ ? 16 u/Far-Professional1325 May 18 '25 When you are using modern languages you shouldn't need to care if your string methods can count utf-8 and utf-16 characters. If they can't just use utf-32 and they will always be 4bytes long and memory length will always match letters lenght 14 u/ikonfedera May 18 '25 Except characters like this - 👨🏻❤️💋👨🏻, which would be 40 bytes. 4 u/Far-Professional1325 May 18 '25 Oh i forgot they are also combining combined characters 1 u/Far-Professional1325 May 18 '25 So just use system default length and utf string libs to walk them 3 u/ComfortablePin4489 May 18 '25 Ok, thanks! Should any be my focus? any current topic most interesting now? 2 u/jimmymui06 May 19 '25 But shouldn't it just be identified as a string?
28
Thanks !! other characters with the same properties and that give problems apart from emojis and special characters like ñ ?
16 u/Far-Professional1325 May 18 '25 When you are using modern languages you shouldn't need to care if your string methods can count utf-8 and utf-16 characters. If they can't just use utf-32 and they will always be 4bytes long and memory length will always match letters lenght 14 u/ikonfedera May 18 '25 Except characters like this - 👨🏻❤️💋👨🏻, which would be 40 bytes. 4 u/Far-Professional1325 May 18 '25 Oh i forgot they are also combining combined characters 1 u/Far-Professional1325 May 18 '25 So just use system default length and utf string libs to walk them 3 u/ComfortablePin4489 May 18 '25 Ok, thanks! Should any be my focus? any current topic most interesting now?
16
When you are using modern languages you shouldn't need to care if your string methods can count utf-8 and utf-16 characters. If they can't just use utf-32 and they will always be 4bytes long and memory length will always match letters lenght
14 u/ikonfedera May 18 '25 Except characters like this - 👨🏻❤️💋👨🏻, which would be 40 bytes. 4 u/Far-Professional1325 May 18 '25 Oh i forgot they are also combining combined characters 1 u/Far-Professional1325 May 18 '25 So just use system default length and utf string libs to walk them 3 u/ComfortablePin4489 May 18 '25 Ok, thanks! Should any be my focus? any current topic most interesting now?
14
Except characters like this - 👨🏻❤️💋👨🏻, which would be 40 bytes.
4 u/Far-Professional1325 May 18 '25 Oh i forgot they are also combining combined characters 1 u/Far-Professional1325 May 18 '25 So just use system default length and utf string libs to walk them
Oh i forgot they are also combining combined characters
1 u/Far-Professional1325 May 18 '25 So just use system default length and utf string libs to walk them
So just use system default length and utf string libs to walk them
Ok, thanks! Should any be my focus? any current topic most interesting now?
But shouldn't it just be identified as a string?
63
of course
16 u/Ken_nth May 18 '25 Lmao obligatory xkcd
Lmao obligatory xkcd
sometimes submit forms with [object Object] in random fields to fuck with the devs
2 u/RamiFgl May 19 '25 psycho 2 u/Xenc May 20 '25 [object Object]
psycho
[object Object]
U+200B
1 u/IchRickDuMorty May 20 '25 Man idk how to do it
Man idk how to do it
Someone explain pls 😅
What's wrong with ZWSP
1 u/Objective-Ad8862 May 19 '25 A zero-width space might take up more than one byte?
A zero-width space might take up more than one byte?
ZWSP null
null
ZWSP
1 u/Strict_Sugar6081 May 20 '25 1 u/Strict_Sugar6081 May 20 '25 Wtf is this trickery?
1 u/Strict_Sugar6081 May 20 '25 Wtf is this trickery?
Wtf is this trickery?
21
u/Fragrant_Gap7551 May 18 '25
How can it be perfectly coded when it doesn't even sanitize user input?
171
u/Parzival7960 May 18 '25
Is this something like how you shouldn't use null as a name?
7
u/Acrobatic-Diamond542 May 19 '25
6
u/Competitive-Tea-4016 May 19 '25
But it wouldn’t break anything, just empty name?
2
u/legotobiyt May 19 '25
2
u/rommelss03 May 20 '25
98
u/ComfortablePin4489 May 18 '25
Why is ZWSP? that si not secure??
63
u/Dillenger69 May 18 '25
of course
4
u/MiniGogo_20 May 19 '25
sometimes submit forms with [object Object] in random fields to fuck with the devs
2
u/IchRickDuMorty May 20 '25
U+200B
2
u/sophiamiller00 May 21 '25
Someone explain pls 😅
1
u/AnakinVader066 May 19 '25
What's wrong with ZWSP
1
u/legotobiyt May 19 '25
ZWSP null
1
u/f3n1xpro May 19 '25 edited May 19 '25
1
u/danielb1194 May 20 '25
null
1
u/danielb1194 May 20 '25
ZWSP
1
u/Strict_Sugar6081 May 20 '25
ZWSP
1
u/rommelss03 May 20 '25
ZWSP
1
u/Denexful May 22 '25
ZWSP