#ot1-perplexing-regexing
1 messages · Page 542 of 1
C isn't getting along with these Cs
That's probably not the only motivation but it is definitely a motivation.
nice
C is ambivalent about them.
You know this website is kind of helpful
probably helps for chat any kind of filter
It's just another day at the factory for C.
\u005c : REVERSE SOLIDUS - \
\u0075 : LATIN SMALL LETTER U - u
\u0066 : LATIN SMALL LETTER F - f
\u0065 : LATIN SMALL LETTER E - e
\u0066 : LATIN SMALL LETTER F - f
\u0066 : LATIN SMALL LETTER F - f
\u005c\u0075\u0066\u0065\u0066\u0066
argh
REVERSE SOLIDUS
heyo
lol
anyone speak spanish here?
characters
!charinfo ||
\u007c : VERTICAL LINE - |
\ufeff : ZERO WIDTH NO-BREAK SPACE -
\u007c : VERTICAL LINE - |
\u007c\ufeff\u007c
there we go
!charinfo poop
You are not allowed to use that command here. Please use the #bot-commands channel instead.
A file on the Unicode website begins with a weird unicode char 😩
You asked for it.
yeah, but right here?..
How do you um know that
me: "Unicode is like a dark and scary forest"; @gritty zinc : "Let's walk into the forest."
deep
!charinfo
You are not allowed to use that command here. Please use the #bot-commands channel instead.
ouchy
L
We're not privileged.
thats what u get for not being helper
#bot-commands message
Now you see the violence inherent in the system.
\😩
is there a way to type characters by their unicode codepoints
like the U+ codes
use python
smh
i want to type characters by their U+ codes, like if i enter U+0075 it will become u
or seomething similar
bruh
@inland wolf In Windows you can do the alt + number
👨🧑🦰
@inland wolf I don't know if that's just cp437 or if you have to fiddle with it
🦰
lol what the heck. why is 🦰 a thing
02554 is ú
glorious
is that the unicode codepoint for it?
bruh
ConfusedReptile is halfway to the zalgo filter
Did you just program this?
yeah
ᴄ໐𝞹𝔣𝞾𝑠𝑎𝑏𝖑𝕖𝒔﹏│𝘪𝑛𝕖𝘴 ꓿ 𝞼𝟈ҽ𝘯["ᴄ𞸤𝕟ſ𝓊𝘴𝗮𝖇ﺍꬲ𝗌ꓸ𝗍𝑥𝙩"٫𝓮𝞹𝙘ە𝖉ιπ𝔤꓿"𝞄𝛕𝚏‑ଃ"❩܁ꭈ𝗲𝓪𝔡〔❳۰𝘀𝗉𝙡Ꭵ𝚝❲"
"﴿
m𝞪𝐩𝞀𝝸ռ𝗴 ⹀ 𝒸𝜎ا𐌠е𝓬𝒕𝜾൦𝚗sꓸ𝒹℮ꞙ𝙖ꭎ𝕀𝑡ⅾɩⅽ𝑡[𝕴𝖎𝓼𝗍]
ք௦ꭇ
𝟭⍳𝝿𝖾 ɩп 𝖼𑣈𝜋ſ𝓊ƽ𝙖𝕓𝗹𝐞𝕤ߺ|𝐢𝞏℮𝘀׃
ו𝚒ո𝓮 ゠ 𞺀𝝸𝜛𝕖٠𝖘𝗍𝗋𝓲𝓹❲❩
𝒊𝗳 𝒍𝗶ռ𝗲꘎𝚜𝘁𝒶𝖗𝑡ꜱwⅈ𝞽h〔"#"﴿ ໐𝓇 𝛡ە𝚝 │ͺᴨꬲ∶
𝖼𝞂𝓷𝐭⍳𝚗ц𝖾
𝐩𝖺𝐫𝗍𝕤 ꓿ ⅼͺ𝛡𝐞․ѕp𐌠ι𝖙❲";"〕
𝘪𝘧 𝕀ℯᴨ[𝐩a𝐫𝜏𝕤]‹Ꙅː
𝝆𝘳𝛊𝜛𝜏〔ẝ"Sϰ𝔦𝚙pӏ𝓃ցઃ𝄔𝚛ℯ𝔭𝙧〔𝗜ι𝝕𝖾]❵"❩
𝙘໐𝗻𝞽𝐢ϖս𝓮
τᴦ𑣜ઃ
𝙛𝚛ﮩmߺ𝒄һ𝖺𝗿؍ 𝘁o﹎𝗰𝕙𝚊ᴦ ꓿ mɑ𝞺〔Ⲓ𝖆m𝘣𝕕𝜶 ƽ܃ ꙇ𝔫𝓉〔𝘴܂𝓼𝐭𝓻ⅰ𝝔❲﴿؍1𑣕❩٫𝙥ɑ𝑟τ𝔰[⁚𝟐]〕
𝖾⤫𝑐𝘦ρ𝘵 𝚅⍺│𝒖𝕖ꓰ𝒓ᴦﻪⲅ׃
𝒑𝔯ɪϖ𝑡❨𝔣"𝗦кі⍴𝙥𝜾𝑛𝘨 𝄔ρaᴦ𝒕𝖘[᛬𝟤]❵ 𝐝𝑢𝖾 𝘵௦ 𝓃օ𝜏 𝒃𝘦іпɡ 𝚊ᏏI𝒆 𝚝𝒐
𝗰०𝜛𝓋𝖾𝑟𝔱 𝘵𞺄
𝔦𝐧𝙩𝕤𐩐"]
c௦𝕟𝗍𝐢𝗇𝒖ꬲ
mɑр𝚙ı𝛑𝓰[𝚝ﻬ﹎𝚌հ𝓪ꭇ]܂𝕒𝞎𝗽𝐞𝛡𝖽❲𝑓𝓇𝜊m﹎ϲ𝓱𝚊𝓇〕
btw there was a more updated one
And here's the code I used to do it!
oh my
oh god
lol I am using Firefox to search through a list of unicode and Firefox is matching ú to u.
it butchers even string literals, though
how does it lok for u guys
and keywords
i see
but, hmm
lemme do hypothesis real fast and see if it is always reversible
i doubt it will 👀
of course not, keywords are broken
you should make it ignore keywords
I wonder if maybe I should be working with the AST and not the source code
lol
perfect
lol
I wanna mess with this too D:
Time to install PyCharm Professional
and build my own dict
oh dear, the mapping isn't many-to-one, it's many-to-many
This is gonna get messy, isn't it
that means it's not reversible. whoops
@inland wolf your character is here: https://unicode-table.com/en/00FA/
Symbol: ú, Name of the character: latin small letter u with acute, Unicode number for the sign: U+00FA, the icon is included in the block: Latin-1 Supplement.
what
how does something that looks like a also look b
magic
ok
0 looks like O, apparently 😩
both are ascii chars
I should probably remove mappings between ascii chars
Can I ask an off-topic question?
yes this is off-topic
I want to set a password on a usb but I have Windows 10 home
Do you know how I could do this?
D,:
oh well
fair enough
aaaaaaaa
okay, hypothesis is far too good at breaking my code lol
>>> decode("\xa0")
' '
why the hell
oh my
wait, that's fine
my test is just wrong
it should be only ASCII chars in the input
yay, making it only choose from string.printable fixes it!
You want to encrypt a usb filesystem in Windows 10?
@inland wolf Are you using Windows and if so what codepage are you using?
с𝐨𝜋𝚏𝚞𝓼𝛼𝑏𝖨𝑒𝐬﹏𝗹ꙇℼҽѕ ᐀ ہ𝘱𝙚ᴨ["𝖈ﮦ𝖓𝚏𑣘𑣁𝝰ЬIҽs۰𝘵𝔁𝓽"؍ⅇ𝞹ᴄ٥𝚍⍳𝛑ᶃ゠"𝘂т𝕗‐৪"〕܂𝓻𝑒⍺𝐝❲]ꓸs𝑝𝚕𝙞𝘵["⧵𝝿"❳
m𝔞𝑝𝐩𝐢𝐧𝒈 ゠ 𝔠൦𝖑Ι𝓮ᴄ𝚝ιﮩռƽ܂𝒅℮𝒻𝛂ᴜl𝓽𝖽𝐢с𝐭❨ℑι𐑈𝜏〕
𝓯𝛔𝚛
𝚰i𝗇𝓮
𝒊𝜛 𝒸𞸤𝗇𝒇𝛖𝗌𝙖𝓫וeꜱߺℐ⍳𝘯ⅇ𝘀׃
𝓘𝚒𝐧𝚎 ꓿ 𝚕𝙞𝝿𝖾۰𝒔ᴛꭇ𝒾𝘱〔〕
𝐢𝒻 𝗅𝜾𝝕𝓮𝅭𝕤𝐭𝓪𝖗𝖙𝓈w𝓲тհ❨"#"] o𝓻 ᴨ𑣈𝝉 ℐ𝚤𝚗ꬲ։
𝙘ⲟℼ𝕥і𝝅ᴜ𝑒
⍴𝞪𝓇𝞃𐑈 ꓿ 𝔩𝚤𝗻𝚎𝅭𝘀𝗽𝕀ɩ𝒕[";"﴿
𑣃𝕗 𝒍𝖊𝐧[рα𝗿τ𝑠❩‹Ꝛ᠉
𝗉𝓻𝒊𝟉𝘵〔ք"Տϰ𝜾p𝛠iᴨ𝙜ઃ𝄔𝗋𝗲𝝆𝗋﴾𝓘𝗂ℼ𝘦〕❵"〕
𝙘𝝾𝟉𝞃ɩϖυ𝑒
𝓽𝙧𝗒⁚
𝘧𝑟ంm﹍𝓬Ꮒ𝞪гꓹ τჿ﹍𝗰հ𝗮𝑟 ⹀ m𝑎𝒑〔l𝚊m𝖻ᑯ𝖆 𝗌᠃ Ꭵ𝞹𝚝﴾𝙨܁𝖘𝝉𝔯𝞲ρ❨]ꓹ1𝟼〕¸𝜌𝘢𝓻𝜏𝖘[:𝟐]❩
𝖾𝙭ᴄꬲ𝗽𝑡 𝓥𝖆𝚕𝙪℮𝕰𝐫𝒓ﮨ𝑟᛬
𝒑𝔯ι𝑛𝒕❲ք"𝓢𝓀𝝸𝚙𝓅𝘪𝜋𝗴 ❴𝝔𝓪ⲅ𝗍𝐬[܃Ꝛ]❵ 𝒹𝖚𝑒 𝙩𑣈 𝝅𝝈τ
𝓫𝘦𝜄𝛑𝗀 𝗮𝖇Іℯ 𝓉ﻩ с๐π∨𝘦гᴛ 𝘵𑣗
𝙞𝜋𝝉𝔰۰"❳
𝖈o𝐧𝗍Ꭵ𝑛𝒖℮
m𝘢𝒑𝘱𝜾𝚗𝔤[𝖙ﻫߺⅽһ𝘢𝗋]․𝛼𝝆𝓅𝐞𝚗ⅾ﴾𝙛𝑟𝘰mߺ𝙘հ𝛂ᴦ﴿
this transformation is fully reversible
yay, obfuscation.
thanks for using the py syntax highlighting, really makes it clearer!
ConfusedReptile is a helper after all
indeed
yes
for some definition of perfect
lolll. yeah it was the situation at that particular day tho
def clean(f: TextIO) -> str:
lines = f.readlines()
valid = []
for line in lines:
line = line.strip()
if len(line) == 0:
continue
elif line[0] == '#':
continue
else:
valid.append(line)
return "\n".join(valid)
oh yes... progress
There is a format for the offtopic channels?
I do comments with " 😎
lol
I'm converting https://www.unicode.org/Public/security/13.0.0/confusables.txt to something I can use
clean() removes lines that I can't use
I write really_long_descriptive_identifier_names
cool
It doesn't look like Python has code filters like Perl does.
it looks like I can totally obfuscate the code on the AST level
though, hmm, can it be converted back afterwards?..
How did you generate that?
aha
codepage?
ppast(code), where ppast is from prettiest_ast import ppast, where prettiest_ast is
!pypi prettiest_ast
(made by salt_die, btw)
Thank you.
@inland wolf https://en.wikipedia.org/wiki/Code_page_437
Code page 437 (CCSID 437) is the character set of the original IBM PC (personal computer). It is also known as CP437, OEM-US, OEM 437, PC-8, or DOS Latin US. The set includes all printable ASCII characters, extended codes for accented letters (diacritics), some Greek letters, icons, and line-drawing symbols. It is sometimes referred to as the "O...
probably 437 then
I don't know how/why you got that value for that character.
same
ast.unparse in python 3.9!
i've been good thanks
I seem to have lost my admin privileges, hook me up
I'm using astunparse, close enough 🙂
Ah, are you joe and you've just lost your account or something.
def rec_search(node):
result = {type(node)}
if hasattr(node,"body"):
for child in node.body:
result.update(rec_search(child))
return result
>>> rec_search(tree)
{<class '_ast.Module'>, <class '_ast.Expr'>, <class '_ast.Assign'>, <class '_ast.If'>, <class '_ast.Try'>, <class '_ast.Continue'>, <class '_ast.For'>}
so these are all the nodes I need to learn to handle, hmm
yes, lets go with that
does it lead to treasure?
async def main():
with open("input.txt", "r") as f:
t = clean(f)
entries = isolate(t)
char_map = generate_map(entries)
with open("output.json", "w+") as f:
json.dump(char_map, f, indent=4)
remove unneeded lines, create parsable entries, make a map from them
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
"be come" should be become
</pedant>
Oh wow, my script works
𝜯𝐡𝕖 𝓆𝞾ι𝑐𝐤 𝔟ᴦ೦ա𝘯 𝒇ഠ𝚡 𝐣𝞾m𝞎𝘀 𞹤𝝼ℯꭈ𝑡𝗵℮ ߊ𝖺𝒛𑣜𝕕𝖔𝕘܁
it's a little bit um ugly
nice
neat, make it accept --pretty and --ugly arguments
good job
should u use sudo apt install or apt-get
apt install in the shell, and apt-get in a script
I don't understand what install in the shell means
when typing it into the terminal, you use apt
first you have to find a turtle
but when making a file that is run automatically, you should use apt-get
apt is higher-level
I've been using apt-get, thought that was the only command out there
thanks for the clarification
apt is newer
apt is just a higher level wrapper.. all I've ever been able to notice is color
lol
but you should definitely never use apt nor apt-get on any non-Debian-based Linux distribution.
:bigbrain:
I didn't even know you could
you can install apt anywhere afaik, but it is unlikely to work
lol idk how to improve my script
you're right but I was joking
Yeah, that's what I want to do. I have the home version of W10
I think that's what confusedreptile is trying to do
lol I'm kind of proud of the code for this
I had a silly idea that you could make the pretty/ugly versions
easy way would be to divide the unicode stuff into pretty and ugly sets
welp, now my AST tree recursive editor crashes Python
not even an exception
@gritty zinc level up
I had this script only keep characters that map to ascii
oh
hi
I might have it remove duplicates, so it's possible to convert back to ascii
I had a silly idea to generate a weighted tree of ugliest to prettiest unicode characters and figure out how to pick from that
oh yiss
duckduckgo tells me that's macy's stock ticker symbol
I need some text to test this on
𝒸o𝘯ſᴜ𝕤𝕒Ƅ𝖑𝒆𝑠ߺℓℹπⅇs = ം𝛒ҽ𝞹('confusables.txt', encoding='utf-8').read().split('\n')
m𝗮𝓅рⅰ𝞹ɡ = 𝐜௦𝟙ℓⅇ𝖈ᴛӏ𞸤𝒏𝓈.defaultdict(𝖑𝗶𝘀𝗍)
for 𞺀ӏ𝙣𝓮 in 𝒸o𝘯ſᴜ𝕤𝕒Ƅ𝖑𝒆𝑠ߺℓℹπⅇs:
𞺀ӏ𝙣𝓮 = 𞺀ӏ𝙣𝓮.strip()
if (𞺀ӏ𝙣𝓮.startswith('#') or (not 𞺀ӏ𝙣𝓮)):
continue
𝑝𝓪𝗋𝜏𝖘 = 𞺀ӏ𝙣𝓮.split(';')
if (ا𝑒𝛡(𝑝𝓪𝗋𝜏𝖘) < 2):
𝓹𝗋𝖎𝓃𝘵(f'Skipping:{гꬲ𝜚𝔯(𞺀ӏ𝙣𝓮)}')
continue
try:
(𝔣𝗋𝓸mߺᴄ𝕙𝑎𝐫, 𝗍𞹤﹏𝒸𝕙𝕒г) = m𝑎𝗉((lambda s: 𝔦𝙣𝕥(ꜱ.strip(), 16)), 𝑝𝓪𝗋𝜏𝖘[:2])
except 𝗩𝕒𝜤𝑢𝓮𝘌𝐫𝗿ჿ𝑟:
𝓹𝗋𝖎𝓃𝘵(f'Skipping {𝑝𝓪𝗋𝜏𝖘[:2]} due to not being able to convert to ints.')
continue
m𝗮𝓅рⅰ𝞹ɡ[𝗍𞹤﹏𝒸𝕙𝕒г].append(𝔣𝗋𝓸mߺᴄ𝕙𝑎𝐫)
muahahaha
:o
that's better
better
only names are mangled, and the mangling is consistent
like, it remembers what it changed map to and uses the same name each time
sadly, I haven't yet made it to not mangle builtins at all
I want it to remain valid code, you see.
File "<ipython-input-31-86a5ce3b1699>", line 1
𝒸o𝘯ſᴜ𝕤𝕒Ƅ𝖑𝒆𝑠ߺℓℹπⅇs = ം𝛒ҽ𝞹('confusables.txt', encoding='utf-8').read().split('\n')
^
SyntaxError: invalid character in identifier
aww
lol
which one, I wonder
I think the first
!charinfo ം
\u0d02 : MALAYALAM SIGN ANUSVARA - ം
this thing
yeah
it's one char, and Python doesn't like it
SyntaxError: invalid character 'ം' (U+0D02)
lol something is up with that symbol
omggg my native language
This just in, Python declares war on Malayali language.
tree = ast.parse(code)
rec_tree_change(tree)
trans_code = astunparse.unparse(tree)
exec(trans_code)
now I get automated syntax errors
File "<string>", line 3
maϱ𝘱˛𝜋𝙜 = 𝐜ﮧᛁ𝟣ꬲ𝑐𝒕𝔦ﻪ𝟉ѕ.defaultdict(𝚰ɪ𝓼ᴛ)
^
SyntaxError: invalid character in identifier
a new one each time
hmm
malayalam*
!otn a automated syntax errors
sorry, I guess Malayali is the name for the people?
A person who speaks Malayalam is known as a Malayali.
it's the a
I think I know how you can check if a char is invalid
I noticed that if you size them, they have a size of 76
its a palindrome too which is interesting.
!e
print("malayalam"[::-1])
In [12]: 'a'.__sizeof__()
Out[12]: 76
you could do
try:
ast.parse(character)
except SyntaxError:
pass
``` to check if it is a valid indentifier char
In [6]: 'ം'.__sizeof__()
Out[6]: 76
is except SytnaxError a thing
yes
yeah
hmm, set(c.__sizeof__() for c in string.printable) is {50, 54}
so maybe it'd work
doesn't python tell all the syntax errors before you can run the program?
wait what does this mean?
lemme throw away 76 and see if that works
while running too r8.
Is 'മലയാളം' a palindrome too?
Nope
yup, but you can run the compiler at runtime, so it raise a SyntaxError then
size in bytes of an object
in english, its a palindrome
oh.
@twin charm Languages in India are fun.
ah
the letters be like
ma la ya lum
too many
oh my goodness.
@latent scaffold some 80-sized ones don't work either
oh well lol. worth a try
!e
try:
eval("\N{CUCUMBER}")
except SyntaxError:
print('cannot eval cucumber')
@graceful basin :white_check_mark: Your eval job has completed with return code 0.
cannot eval cucumber
Wikipedia says there are 22 scheduled languages in India.
OH, using eval, exec and such? yeah got it
there's literally hundreds of unofficial ones
many are dead after British came right
but the "official" language (in quotes because there's no official language) for legal stuff is Hindi in Devanagari
Mhm.
most of the legal stuff is in English.. i mean... they have hindi translations too but they don't use it much
that's handy
yep
eh
is my code...syntactically correct? OMG
What a great way to waste a day lol.
ⲥ𑣗𝗻ẝ𝘂ꜱ𝖺𝖇Ι𝕖𝓈﹏𝔩𝐢𝑛ꬲ𐑈 = ס𝜚ꬲ𝚗('confusables.txt', encoding='utf-8').read().split('\n')
ma𝝆𝚙𝓲π𝗴 = 𝒸ᴑ𝛪𝗅℮𝑐𝓉𝛊ہℼs.defaultdict(Iɩ𝑠𝜏)
for ǀ𝜄𝐧𝓮 in ⲥ𑣗𝗻ẝ𝘂ꜱ𝖺𝖇Ι𝕖𝓈﹏𝔩𝐢𝑛ꬲ𐑈:
ǀ𝜄𝐧𝓮 = ǀ𝜄𝐧𝓮.strip()
if (ǀ𝜄𝐧𝓮.startswith('#') or (not ǀ𝜄𝐧𝓮)):
continue
𝛠𝘢𝚛𝓉𝚜 = ǀ𝜄𝐧𝓮.split(';')
if (ﺍҽ𝜋(𝛠𝘢𝚛𝓉𝚜) < 2):
𝕡ᴦɩ𝝕τ(f'Skipping:{𝑟е𝗽𝗋(ǀ𝜄𝐧𝓮)}')
continue
try:
(𝗳гﮨm﹎𝖼ℎ𝗮𝚛, 𝜏ⲟ﹎𐐽հ𝕒𝖗) = m𝜶𝗽((lambda s: 𝚒𝜋ᴛ(𑣁.strip(), 16)), 𝛠𝘢𝚛𝓉𝚜[:2])
except ꓦ𝐚ﺎ𝓾𝑒ℰ𝚛ⲅᴏᴦ:
𝕡ᴦɩ𝝕τ(f'Skipping {𝛠𝘢𝚛𝓉𝚜[:2]} due to not being able to convert to ints.')
continue
ma𝝆𝚙𝓲π𝗴[𝜏ⲟ﹎𐐽հ𝕒𝖗].append(𝗳гﮨm﹎𝖼ℎ𝗮𝚛)
poggers
ooooh, didn't even know \N{} was a thing. Neat
🤔
of all the things the British did i don't think they killed off languages
no syntax errors
what about standardising English in all schools? like.. as the medium of speaking in schools
if you urbanize and kill the natives, you are killing languages.
that made way for local languages to die
I mean, not to get into the weeds but if you exterminate a people then you get rid of their language.
fair
Here in the US there were native american boarding schools meant to "civilize" the native population.
i still think english is easier than hindi
I bet that if I wouldn't know English as I know today if it weren't for the British
totally.
I think if it weren't for the British a lot of countries wouldn't have independence days to celebrate.

to be fair, even if the natives didn't get exterminated it is still likely the languages would die. Globalisation is not kind to local languages
Thanks a lot, Britain!
which would remove a holiday every year 
oh shit my code actually ran
lol
hahah
𝗰օ𝛑ꬵц𝓈𝞪𝐛𝕴𝓮ƽ﹎𝗅ι𝘯℮𝐬 = open('confusables.txt', encoding='utf-8').read().split('\n')
m𝜶𝛒𝛠𝚒𝜛g = collections.defaultdict(list)
for 𞺀ꙇ𝛑𝖊 in 𝗰օ𝛑ꬵц𝓈𝞪𝐛𝕴𝓮ƽ﹎𝗅ι𝘯℮𝐬:
𞺀ꙇ𝛑𝖊 = 𞺀ꙇ𝛑𝖊.strip()
if (𞺀ꙇ𝛑𝖊.startswith('#') or (not 𞺀ꙇ𝛑𝖊)):
continue
𝛠𝒶ꭈ𝓉ѕ = 𞺀ꙇ𝛑𝖊.split(';')
if (𝑙𝖊𝕟(𝛠𝒶ꭈ𝓉ѕ) < 2):
print(f'Skipping:{𝓇𝗲𝗉𝖗(𞺀ꙇ𝛑𝖊)}')
continue
try:
(𝙛𝑟౦m﹏𝚌𝒽𝞪𝕣, 𝞃𝜎﹎ⅽ𝙝𝝰𝓻) = m𝕒𝐩((lambda s: int(𝐬.strip(), 16)), 𝛠𝒶ꭈ𝓉ѕ[:2])
except 𝓥𝛂Ιᴜ𝖊𝑬𝐫𝘳𝐨𝓻:
print(f'Skipping {𝛠𝒶ꭈ𝓉ѕ[:2]} due to not being able to convert to ints.')
continue
m𝜶𝛒𝛠𝚒𝜛g[𝞃𝜎﹎ⅽ𝙝𝝰𝓻].append(𝙛𝑟౦m﹏𝚌𝒽𝞪𝕣)
this basically works, only problem is that 𝓥𝛂Ιᴜ𝖊𝑬𝐫𝘳𝐨𝓻
😳
lemme add it to the exceptions too..
I think it would be funnier if it only used characters that are normalized to the same letters and just rerolled every identifier
so you couldn't even tell which identifiers are the same
I remember talking to a linguist who was in papua new guinea to preserve a local language that was dying out. It was a small tribe and they basically were just not repopulating at a sustainable rate.
yeah, most languages will die in a few dozen years
just like the bees
Mhm.
even programming languages? 
funnily enough, probably yes
rip python is 12 years...
Perl has been dying for ages.
what about cobol
yeah, PLs die slowly
COBOL will live out of spite.
still not dead
like the emperor in the Dark Crystal
srslly?
yes
~~we might get PythonCoolerEdition 🤞 ~~
COBOL lives because there is no one who is willing to liable for writing bugs into something that gets rewritten from cobol
do people even use it
even new code
oof
PogthonBlazeit420
ok bye 👋 time for drinking tea 🥴
bye
yes
i will also live out of spite
MS may be willing to sign that they are responsible for software bugs in ATMs, but they aren't willing to sign themselves for losses due to bugs in a rewrite of a COBOL codebase
we need Ada 2 tbh
a language that is actually safe
you sure did
𝔠𝖔𝞏𝕗𝙪𑣁𝕒𝖇𝙸𝒆𝘀_𝗅𝛊𝝕𝑒𝐬 = open('confusables.txt', encoding='utf-8').read().split('\n')
m𝖺𝔭𝞀𝗂𝝕𝓰 = collections.defaultdict(list)
𝜄𝙣𝗏_m𝓪𝝆𝓹𝑖𝞹𝑔 = {}
for 𝚰𝚒𝛡𝐞 in 𝔠𝖔𝞏𝕗𝙪𑣁𝕒𝖇𝙸𝒆𝘀_𝗅𝛊𝝕𝑒𝐬:
𝚰𝚒𝛡𝐞 = 𝚰𝚒𝛡𝐞.strip()
if (𝚰𝚒𝛡𝐞.startswith('#') or (not 𝚰𝚒𝛡𝐞)):
continue
𝟈𝚊𝐫𝖙𝗌 = 𝚰𝚒𝛡𝐞.split(';')
if (len(𝟈𝚊𝐫𝖙𝗌) < 2):
print(f'Skipping:{repr(𝚰𝚒𝛡𝐞)}')
continue
try:
(𝗳𝑟𝝈m_𝙘𝗁𝞪𝗿, 𝛕𐐬_𝖼𝗵𝛂𝓻) = m𝕒𝕡((lambda s: int(𝘀.strip(), 16)), 𝟈𝚊𝐫𝖙𝗌[:2])
except ValueError:
print(f'Skipping {𝟈𝚊𝐫𝖙𝗌[:2]} due to not being able to convert to ints.')
continue
if (𝑐𝗵𝓇(𝗳𝑟𝝈m_𝙘𝗁𝞪𝗿).__sizeof__() in (76,)):
print(f'Skipping {𝗳𝑟𝝈m_𝙘𝗁𝞪𝗿} due to being sized {𝑐𝗵𝓇(𝗳𝑟𝝈m_𝙘𝗁𝞪𝗿).__sizeof__()}')
continue
if (𝗳𝑟𝝈m_𝙘𝗁𝞪𝗿 in (125127,)):
continue
if ((𝑐𝗵𝓇(𝛕𐐬_𝖼𝗵𝛂𝓻) in 𝓈𝔱𝑟𝒾𝓷𝘨.printable) ^ (𝑐𝗵𝓇(𝗳𝑟𝝈m_𝙘𝗁𝞪𝗿) in 𝓈𝔱𝑟𝒾𝓷𝘨.printable)):
𝜄𝙣𝗏_m𝓪𝝆𝓹𝑖𝞹𝑔[𝗳𝑟𝝈m_𝙘𝗁𝞪𝗿] = 𝛕𐐬_𝖼𝗵𝛂𝓻
m𝖺𝔭𝞀𝗂𝝕𝓰[𝛕𐐬_𝖼𝗵𝛂𝓻].append(𝗳𝑟𝝈m_𝙘𝗁𝞪𝗿)
this runs
if you have the deps, at least
𝔠𝖔𝞏𝕗𝙪𑣁𝕒𝖇𝙸𝒆𝘀_𝗅𝛊𝝕𝑒𝐬
you were so preoccupied with whether or not you could that you didn't stop to think if you should.
I dunno. Spite is exhausting.
you did it, you said the thing
did you know that rust is a memory safe systems language with zero cost abstraction
good god what holy hellfire is this
ikr
bruh
did you know that if you accidentally type <= instead of < in rust, you will get a panic at runtime about out of bounds acess
!e ```python
print(m𝕒𝕡)
@wheat lynx :white_check_mark: Your eval job has completed with return code 0.
<class 'map'>
bruh
while indexing an array?
bruh
wym
rust cannot ensure that you stay within bounds of a vector at compile time
ada can
ada has a cost
even if you take input?
I'm glad I don't understand what half the emojis here mean.

costs don't matter
safety does
we are talking about banking software
a bug is hundreds of millions, hardware is way less
I think emojis are interesting because with Discord and Twitch there have sprung up unique emoji dialects.
how about hospital software
hii
bugs mean people die
@twin charm what happened to tea?
how can you determine if it will cause an OOB at compile time? like... if i want to call the index from the user's input?
finished drinking ofc
they seem to be doing just fine as it is
What tea do you drink?
hospitals use old, well tested codebases
we are talking about how to modernize that
wdym "what tea"? the normal one.
I drink basic bitch Lipton black tea. If I am feeling fancy I like green tea with hibiscus.
𝗰օ𝛑ꬵц𝓈𝞪𝐛𝕴𝓮ƽ﹎𝗅ι𝘯℮𝐬 = open('confusables.txt', encoding='utf-8').read().split('\n')
m𝜶𝛒𝛠𝚒𝜛g = collections.defaultdict(list)
for 𞺀ꙇ𝛑𝖊 in 𝗰օ𝛑ꬵц𝓈𝞪𝐛𝕴𝓮ƽ﹎𝗅ι𝘯℮𝐬:
𞺀ꙇ𝛑𝖊 = 𞺀ꙇ𝛑𝖊.strip()
if (𞺀ꙇ𝛑𝖊.startswith('#') or (not 𞺀ꙇ𝛑𝖊)):
continue
𝛠𝒶ꭈ𝓉ѕ = 𞺀ꙇ𝛑𝖊.split(';')
if (𝑙𝖊𝕟(𝛠𝒶ꭈ𝓉ѕ) < 2):
print(f'Skipping:{𝓇𝗲𝗉𝖗(𞺀ꙇ𝛑𝖊)}')
continue
try:
(𝙛𝑟౦m﹏𝚌𝒽𝞪𝕣, 𝞃𝜎﹎ⅽ𝙝𝝰𝓻) = m𝕒𝐩((lambda s: int(𝐬.strip(), 16)), 𝛠𝒶ꭈ𝓉ѕ[:2])
except 𝓥𝛂Ιᴜ𝖊𝑬𝐫𝘳𝐨𝓻:
print(f'Skipping {𝛠𝒶ꭈ𝓉ѕ[:2]} due to not being able to convert to ints.')
continue
m𝜶𝛒𝛠𝚒𝜛g[𝞃𝜎﹎ⅽ𝙝𝝰𝓻].append(𝙛𝑟౦m﹏𝚌𝒽𝞪𝕣)
so that's it, I guess
ada forces you to check and handle the erroring case.
ah
nim is trying to be ada 2, but has nonsense like null
nipples on bone apple tea
I think I drink black tea with milk.
nice
apple tea? damn
I really love tea and coffee.
coffee is better imo
i drink skimmed milk with added cream
It depends on my mood.
oh.
but generally I like coffee better.
same.
sometimes i have alkaline water with lemon
I like tea too but I just drink it twice a day and now its 'meh'.
The funniest error I ever got was when 3 separate rust threads panicked at the same time, writing overlapping error messages.
lol
I was very confused
lol
It's like that spiderman meme
where they are all pointing at each other
panik
panik indeed
Is there a way to get a list of... things like str, int, chr
builtins?
!eval
print(len("hello"))
lol
You are not allowed to use that command here. Please use the #bot-commands channel instead.
I dare you to run this
!e
import builtins
print(dir(builtins))
lol
you used different unicode symbols?
@graceful basin :white_check_mark: Your eval job has completed with return code 0.
['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'BlockingIOError', 'BrokenPipeError', 'BufferError', 'BytesWarning', 'ChildProcessError', 'ConnectionAbortedError', 'ConnectionError', 'ConnectionRefusedError', 'ConnectionResetError', 'DeprecationWarning', 'EOFError', 'Ellipsis', 'EnvironmentError', 'Exception', 'False', 'FileExistsError', 'FileNotFoundError', 'FloatingPointError', 'FutureWarning', 'GeneratorExit', 'IOError', 'ImportError', 'ImportWarning', 'IndentationError', 'IndexError', 'InterruptedError', 'IsADirectoryError', 'KeyError', 'KeyboardInterrupt', 'LookupError', 'MemoryError', 'ModuleNotFoundError', 'NameError', 'None', 'NotADirectoryError', 'NotImplemented', 'NotImplementedError', 'OSError', 'OverflowError', 'PendingDeprecationWarning', 'PermissionError', 'ProcessLookupError', 'RecursionError', 'ReferenceError', 'ResourceWarning', 'RuntimeError', 'RuntimeWarning', 'StopAsyncIteration', 'StopIteration', 'SyntaxError', 'SyntaxWarning', 'SystemError
... (truncated - too long)
Full output: https://paste.pythondiscord.com/fifalijobu.txt?noredirect
oh
__builtins__ 🤔
nice
yep
or just dir(__builtin__)
Haha, I'm glad I was on the Python Discord on the day the offtopic channel discovered Unicode.
jupyter even shows them
better than a zero depth character.
wont work
nice
nice.

neat
oh lord this is getting messy
what is?
Thanks to all
futzing with Unicode probably.
lol
I wonder if I can encode some haha funni code into unicode characters you can't display
Who can't display?
anyone
or well, whatever the default font on discord is
my father's from 2001
we had an IQ151 at our school
that looks about right
what is even that?
a very old computer
oh
those specs...
wheeze
32 KB RAM (later on 64 KB), 4 KB ROM
RAM is more than ROM lmao
still more than an arduino lul
baking
I like playing Badminton
but its been a while since I played..
Fuck you Covid-19
sincerely, Ankith
Fuck you Covid-19
sincerely, Everyone
FTFY
💯
this was a fun test(?) http://www.philosophyexperiments.com/health/Default.aspx
I wonder if ot1 has more activity than ot0 today
yeah lol
not the usual state of ot channels.
but hey, when a conversation starts... it keeps on going in the same channel.
lemme check..
def 𝔟𝘶𝐛𝑏𝙄𝑒𝑺𑣈𝗋𝜏(arr):
𝚗 = len(𝔞𝔯𝗋)
for 𝚤 in range((𝚗 - 1)):
for 𝘫 in range(0, ((𝚗 - 𝚤) - 1)):
if (𝔞𝔯𝗋[𝘫] > 𝔞𝔯𝗋[(𝘫 + 1)]):
(𝔞𝔯𝗋[𝘫], 𝔞𝔯𝗋[(𝘫 + 1)]) = (𝔞𝔯𝗋[(𝘫 + 1)], 𝔞𝔯𝗋[𝘫])
𝔞𝔯𝗋 = [64, 34, 25, 12, 22, 11, 90]
𝔟𝘶𝐛𝑏𝙄𝑒𝑺𑣈𝗋𝜏(𝔞𝔯𝗋)
print('Sorted array is:')
for 𝚤 in range(len(𝔞𝔯𝗋)):
(print(('%d' % 𝔞𝔯𝗋[𝚤])),)
nice and simple algorithm
best practices, you know
of course, of course
making a logic with 3d list be like 🥴
👀
def m𝔢𝗿𝐠𝖾(array, left_index, right_index, middle):
𝗹𝔢𝑓𝞃_𝙘𝓸𝗉𑣜 = 𝘢𝚛𝐫𝞪𝚢[𝛪𝗲𝖋𝓽_𝘪𝐧𝖽𝑒𝔵:(m𑣃𝖽𝒅𝒍𝑒 + 1)]
𝐫𝗶𝘨𝙝𝞽_𝒄𝞂𝓅𝞬 = 𝘢𝚛𝐫𝞪𝚢[(m𑣃𝖽𝒅𝒍𝑒 + 1):(𝑟𝘪𝑔𝚑𝕥_𝐢𝝿𝒹𝕖𝑥 + 1)]
𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝 = 0
𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝 = 0
𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑 = 𝛪𝗲𝖋𝓽_𝘪𝐧𝖽𝑒𝔵
while ((𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝 < len(𝗹𝔢𝑓𝞃_𝙘𝓸𝗉𑣜)) and (𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝 < len(𝐫𝗶𝘨𝙝𝞽_𝒄𝞂𝓅𝞬))):
if (𝗹𝔢𝑓𝞃_𝙘𝓸𝗉𑣜[𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝] <= 𝐫𝗶𝘨𝙝𝞽_𝒄𝞂𝓅𝞬[𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝]):
𝘢𝚛𝐫𝞪𝚢[𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑] = 𝗹𝔢𝑓𝞃_𝙘𝓸𝗉𑣜[𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝]
𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝 = (𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝 + 1)
else:
𝘢𝚛𝐫𝞪𝚢[𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑] = 𝐫𝗶𝘨𝙝𝞽_𝒄𝞂𝓅𝞬[𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝]
𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝 = (𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝 + 1)
𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑 = (𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑 + 1)
while (𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝 < len(𝗹𝔢𝑓𝞃_𝙘𝓸𝗉𑣜)):
𝘢𝚛𝐫𝞪𝚢[𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑] = 𝗹𝔢𝑓𝞃_𝙘𝓸𝗉𑣜[𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝]
𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝 = (𝙡𝘦𝖿𝖙_𝒄𝓸𝝔𝑦_𝑖𝞹𝓭𝓮𝖝 + 1)
𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑 = (𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑 + 1)
while (𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝 < len(𝐫𝗶𝘨𝙝𝞽_𝒄𝞂𝓅𝞬)):
𝘢𝚛𝐫𝞪𝚢[𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑] = 𝐫𝗶𝘨𝙝𝞽_𝒄𝞂𝓅𝞬[𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝]
𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝 = (𝖗𝗶𝘨𝘩𝑡_𝖼𝐨𝐩𝛾_𝑖𝔫𝖉𝕖𝖝 + 1)
𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑 = (𝘴𝗼𝗿𝘵𝑒𝗱_𝝸𝚗𝒅𝑒𝗑 + 1)
that's even better
i have all themes on sublime
hm.
subl for quick edits
lol wtf I'm so confused
vsc for long coding sessions
yep
this should be working but somehow all of my text is getting replaced
lemme get some thwemes btw
what the fuckfont
don't even ask
aight
gruvbox!!
no
this is sad
god
I'm so confused
def => def
This is something I print to tell me what's getting converted to what... def is mapped to def, but for some damn reason... it gets replaced with something else
whoops, forgot highlighting. There:
Oh thank you it's much more readable now
does de𝙛 look like def to any of y'all >:(
maybe I should just randomize the identifiers too
is that gamma being used as a y
I'm using https://www.unicode.org/Public/security/8.0.0/confusables.txt, so probably!
I hate it
MAN. I'm so confused
I can literally see all the words that aren't supposed to get replaced but they are
👀
you know what. I even deleted the words from this map so they can't EVEN BE REPLACED but THEY ARE
you might be missing some piece of code or something
man. I'm so confused
only one function can change the words
which is modify()
if not keyword.iskeyword(word) and word not in imported and word not in std_builtins and '.' not in word:
mod_word = modify(word, char_map)
word_map[word] = mod_word
print(f"{word} -> {mod_word}")
else:
if word in word_map:
word_map.pop(word)
huh
oh my
now it's got encoding confusion on top of my, uhh, work
Okay, I think there's an edge case somewhere
some symbol must be breaking things
like... breaking my dict
!e
Dz = 4
print(Dz)
@graceful basin :white_check_mark: Your eval job has completed with return code 0.
4
didn't know it even normalized doubled up characters
Every time I run this, the word that's broken changes
this should go in #esoteric-python lol
write a code like this and run it :D
What can cause coca-cola eruption except mentos?
#esoteric-python message this was my try to get characters that get normalised the same (but only Latin alphabet and numbers, but one can prepare the dict however they want), and only characters that can be used in identifiers
I want to cry
h𝕖𝘭l𝙤 = "Hello world!"
𝕡ʳ𝚒𝚗𝑡(𝗁𝖊l𝖑ₒ)
why is my code doing stuff by itself
I'm literally printing what's changing to what
this is awful
Make sure you saved it and execute it from a good file
it's not that
i'm literally so confused
for k, v in word_map.items():
print(f"{k} => {v}")
text = text.replace(k, v)
if I comment out the text = line
the result is just a copy
Yes
and I print everything that'll be replaced
and so things that shouldn't be replaced aren't printed
BUT THEY'RE STILL CHANGED
I don't understand
I even printed word_map and searched it
things that aren't supposed to be changed aren't listed in there
What do you mean? You just said you get a copy
huh?
I mean of the original text
if I comment out that line
the text will just be the same as what I put in
nothing is replaced
I think I see what your problem is
please enlighten me
After you replace something, the new text will be searched and replaced again
So if you have
Char1 -> char2
And further down you have char2->char3
Both will get triggered. So it will seem as if you have char1->char3 change
I just wrote it like that, I know the list above had combinations etc
wait a minute
ah. it would appear
that I was
replacing chars
welp. that makes sense
And if you're replacing words...
test>changed
"testing" -> "changeding"
well the problem ended up being that certain characters
looked like words in the eyes of program
so t all by itself would look like a word
I'm getting there
can u del str
Yes. str is just a variable. The same way you can write str=123
NameError: name 'str' is not defined
str is a class no 
nope, builtin names are special like that
if you do str = ..., you can then del str and it'll be back to pointing to a builtin
Now how do I remove the illegal symbols D:
damn
I think after I can remove the illegal characters, this will be done
😮
>>> print
<built-in function print>
>>> del print
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'print' is not defined
>>> print = 123
>>> print
123
>>> del print
>>> print
<built-in function print>
>>>
omg, that would save me so much time when helping some beginners on SO. I had a case of someone overwriting their print and of course there's a lot of other stuff (list and dict are most common)
I would love if overriding builtins was not an allowed thing
Thinking about it, it does make sense to be able to do it though
um. I can't tell if I did it or not
I would agree with making it a warning tbh
the kind of warning u get when u do an is comparison with strings
isnt that called SyntaxWarning
yes
i see
BytesWarning
DeprecationWarning
FutureWarning
ImportWarning
PendingDeprecationWarning
ResourceWarning
RuntimeWarning
SyntaxWarning
UnicodeWarning
UserWarning
Warning
``` challenge: write a program that raises all of these warnings without doing it manually (except Warning and RuntimeWarning, that's the base class)
damn
Does anybody know any modules, repositories or APIs that can generate random Minecraft seeds in Python? I'm trying to find a seed with specific biomes and features close by and hoping to do it using Python
well. I did something... https://paste.pythondiscord.com/aqiqizawac.py
I'm tired of this LOL
why are you using asyncio.get_event_loop()?
cuz async is cool bro
nono, there is asyncio.run()
- I never know when I might use async
- Love having main() as an entrypoint lol
why do all that
also asyncio.run() breaks sometimes
idk why, I just remember switching to that
which I'm fine with, it's just another line
but there was no async in there
The loop parameter has been removed from most of asyncio‘s high-level API following deprecation in Python 3.8. The motivation behind this change is multifold:
This simplifies the high-level API.
The functions in the high-level API have been implicitly getting the current thread’s running event loop since Python 3.7. There isn’t a need to pass the event loop to the API in most normal use cases.
Event loop passing is error-prone especially when dealing with loops running in different threads.
Note that the low-level API will still accept loop. See Changes in the Python API for examples of how to replace existing code.``` @latent scaffold
brhuhhy
love main() as an entrypoint
I know that run is higher level, but it used to break for me
I've not used it since
break as in?
hmm
in the same way as I've used it in that script
runtime warnings or errors
errors...?
ight
idk, it was really weird
Someone in #async-and-concurrency helped me fix it by using the event loop stuff
a long time ago
ye but ig its being removed in 3.10
!bm 828602650924417064 warnings challenge
.bm 828602650924417064 warnings challenge
lol
ooh i can do at least 1 of those
~~ suffering from success ~~
succeeding from failure
lol
Succeeding from suffering
Naw.
jetbrains IDEs do be kinda thicc
that's... less
half of my ram
1332 MB... mine goes till 2000MB sometimes
Lol
That's still less than my webbrowser XD
lmfao relatable.
Lol
antimalware service executable sucks
windows defender
it only takes 90 mb for me 😎
same
lol
In an iconic speech in The Boys gone wrong, Homelander decides the best way to shut the crowd up is to... kill them all.
» SUBSCRIBE: http://www.youtube.com/channel/UCwSIJCMWZC5GDM59wj7pMsg?sub_confirmation=1
Get More Prime Video:
Watch More: http://bit.ly/WatchPrimeVideoUKNow
Facebook: http://bit.ly/PrimeVideoUKFacebook
Twitter: http://bit.l...
dude I gotta watch this
I watched the first season and I liked it
Who knew warnings were so annoying to trigger
literally one of the only good shows on Prime
btw I think I should change my file extension.
Any good filextensions?
.tar.gz for now 🥴
cool.
Can I cheat a little? \😩 I can get a SyntaxWarning, but I can't catch it and it looks ugly if I don't trigger it manually
sure
no
as far as I can tell, no
._.
IG you have to subprocess a python 2 interpreter and raise it from that
is there a way to await variable assignments?
i want my entire code to be async 😎
uh if you have something like x = y i dont think thats awaiable
unless if ur calling a function and using its return value and that thing is awaitble then yeah
now im no expert with python coroutines but i would assume its somewhat similar to js promises or sth
Hello again. My router was behaving inappropriately and knocked me offline.
@gritty zinc Did you finish your abomination yet?
just a random question does anyone know a language with a lotta => and ==>? i'm confused over this code snippet i've come across
haven't done anything else since #ot1-perplexing-regexing message, no
<@&267629731250176001> why did the filter not catch this smh
Use the pastebin, no?
why would it?
helper privilege 👀
Staff bypass the filters
character count?
staff can upload files
oh yeah def character count lmfao
I'm on mobile so I can't view it 
Filters don't run on embedded files and helpers ignore the file filters 😄
my terminal shows absolutely none of those unicode characters.
oh lol, everyone has already answered 👀
Non text files
@gritty zinc but why did you do that?
Also that probably didn't need a moderator ping, not exactly an urgent matter >_>
#community-meta would have been much better for that
A random py file that's kilobytes big is what has occurred before 
I saw a mod ping get vanished.
I don't see the connection as to why that would require a moderator role ping
It got like a lot of people here oops
loll
Could be malicious, why would I open it on here if I can't see it's contents?
our helpers are trusted people
Isn't a ping better than no ping, as always is said.
that's why there is @polar knoll
I uh, missed it was from a helper++
woah woah woah
@vapid nymph Everyone here spent literal hours talking about unicode while ConfusedReptile did that.
gettin steamy in here
so many colourful usernames here
It wasn't a surprise.
heh?
now every mod is coming here to check what has happened? 😛
that may be the most responses I've seen at once for one ping
this channel is getting interesting.
wonder if any staff has ever received a serious infraction
There is no helper++, please explain this possible joke that I missed.
i even saw scragley show up
hahaha it's 30 people getting a notification
helper++ == helpers and up
It's a Python Discord, how serious can serious be?
but staff infractions aren't... real
ah
everything is serious
no fun allowed
Python is serious business.
yes of course
🥴
what about mods testing mute and ban commands to other mods 😛
what is going on why are there so many mods here
Mod party.
badly handled snakes can bite you
@bleak lintel I have a game breaking bug
mod pings in off topic generally means we come and stay
how game breaking
yaay.
I can't use steak bot here
yay ❤️
sorry but you're not cool enough
fuck
lmao
hmmmm... I wonder if I can work on the voting slash command bot since the other thing is stalled for a bit
So apparently my font doesn't support all the characters ConfusedReptile used in their program. That sucks.
Is that a challange?
lol
class starts in 15 minutes how am I supposed to stay calm without my steak bot???? /s
steakbot down?
what?
what
Does anyone here use a neat unicode monospace font in their Linux terminal?
You can only use it in #bot-commands
right
I'm using Deja Vu Sans Mono.
btw how is everyone?
LOL
pythondiscord=# SELECT COUNT(1) FROM api_infraction LEFT JOIN api_user au ON api_infraction.user_id = au.id WHERE ARRAY[267629731250176001] <@ au.roles;
count
-------
535
(1 row)
lmao joe
hmmm
mod pings?
how can that be
lol @honest star
infraction count leaked 😮
sounds about right
btw mods have you been informed about how zero width spaces can bypass filters?
fixx
I think there's a PR somewhere?
lololol
oh hey, there was my only real infraction from uploading too many images at once in branding
maybe, maybe not. I think Akarys talked about opening an issue but I never checked.
hey guys
Hi.
if I wanted to email the department chair
about a professor
would around 1/3 of the class having the same issue
be enough to make a change?
There is no issue currently open, would you mind writing it?
not necessarily, but it's probably all you can do
I think I remember that one 😄
ty
It probably depends. If the professor has tenure, good luck.
Man. What on Earth triggers Warning
he doesn't 🥴 he's an assistant professor
This one's gonna be the hardest, isn't it
!warn @remote socket bonk
:ok_hand: applied warning to @remote socket.
that's what triggers it
!warn @bleak lintel damn your database constraint
:x: There was an error adding the infraction: status 500.
oh o_o not what I meant
my department had a tenured professor that no one liked. And suddenly, that professor didn't teach any courses anymore.
get f0rked
maybe some 3rd party library, I did exempt it IIRC because of how rare it is
@frozen crane Did he get murked?
he's an assistant professor
murked?
so I don't think this will work well for him
murked.
he's also not on the full time faculty page
which means they either didn't update it
or he's actually not part of the full time faculty
Because Discord can now embed these with bells and whistles and syntax highlighting. Or is it discouraged anyway?
~~or are you asking why I made the unicode obfuscation thingie? 😅 ~~
does tenured mean you're full time?
@remote socket actually akarys did infact open an issue.
they just made it so that professor didn't teach any classes. she could continue to do research and collect a paycheck.
hmm.
@frozen crane Oh, the professor might've liked that. Some professors like researching but they do not like teaching.
it has a "critical" label. oOoO sounds important xD
because it needs to be done this very instant
this professor liked teaching actually. but she was pretty old and had really lost touch.
the prof is genuinely a nice guy
Aw. :(
it's just that his grading criteria is awful
also they replaced her as instructor for every course that she taught in the middle of a semester
Some academic departments really play politics.
it's not a trivial issue tho I'm really not wasting their time here
I don't like that about academia.
yeah but no one knows about this exploit yet. Or maybe no one except me exploited it 0w0.
I find it hard to believe a professor can just give 50s for an open book exam
to students who spent days studying
and also offer minimal justification
not sure. she was teaching the discrete math course and a lot of students were failing out of the program because of that class. But that wasn't the intended weed-out class.
My CS department had a professor who would give negative scores.
My CS department had a prof who would actively laugh at me
and he said I relied too much on office hours
b r u h
also I was a beginner
so I don't know how you shame people for asking "incorrect questions"
btw which year of college are you in now? or graduated already? 
I'm a soph
@frozen crane That's sad.
it's just kind of ridiculous to criticize a student for not asking correct questions
Idk whats with the terminologies.. Enlighten me on what a sophomore is.
when they're still getting into the mindset of how to ask questions about code
if you want to hop in a voice chat I'll tell you a story about her
There were a few professors emeritus at my department and they were really great.
you're not only learning how to code
you learn an entire mindset for problem solving
and it takes time to get used to the mindset
Mhm
@frozen crane Thanks but maybe another time.
no problem. the delivery is important with that particular story.
I can tho if you want to tell me
What's with the lovefest role?
I'm just so filled with love
.bemyvalentine 283760603909062656
Your input was invalid: You cannot send a valentine to danceswithdirt#4282 as they do not have the lovefest role!
Usage:
.bemyvalentine <user> [valentine_type]
bruh
Oh it was a Valentine's Day thing?
yeah it was.
Thank you.
pigs :0
.topic
Suggest more topics here!
ahah
Hi :D
minecraft
Hi :D
tetris
tetris cool
E maskk
I played so much Tetris as a kid.
Lol
Pipe Dream too.
I like tetris too
Mhm
Lately I've been playing a lot of Factorio.
tetris is available along with CodeBlocks
Cool
Minesweeper!