#ot1-perplexing-regexing
1 messages · Page 516 of 1
make it sound fancier than it is
Is there any trading groups
thats pretty funny bro
yes
is Fisher not a staff anymore?
lol. I see him online but not on the list. weird
lol
Oof
I just realized there is an airport near me
@bleak lintel
That's the third time lol. You might get in trouble
!tempmute @grim blade 4h Let's not spam ping for roles.
:incoming_envelope: :ok_hand: applied mute to @grim blade until 2021-01-21 21:59 (3 hours and 59 minutes).
special xD
yes
Oh lord
ikr there are far too less imports
python is all about third party libs 
You could make some space between them 🙃
lol
If you're using something like VSC, there's a plug-in to sort imports that'll do all the work for you
honestly, I feel like a lot of python libs have too many modules. We are in 20201, You can have multiple things in one namespace
But namespaces are one honking idea
Jokes aside, what's the issue with having multiple modules? I find it quite nice to keep things separated in logical ways like that
it makes imports needlessly complex and you have look up every other thing in the docs to find which module you actually import it from
it does make things easier for the dev, but you can just reexport in __init__.py
Any examples of modules you think should be merged?
lark was one example which just annoyed me
django is large enough that I can kind of understand it
but even there it feels like you literally can't dev it in anything other than pycharm since there is no way you are finding the imports
from rich import Syntax, Console, Markdown
``` vs
yeah, you can have your code nicely in modules, and reexport into a single module for the users
don't we do that?
It makes a lot of sense in examples like that, but they might just be planning for scalability. It could get messy quickly if things are just all part of a huge class. In the rich example, it seems ridiculous to have to do that, but if someone were to import 5 console related functions as well, it starts to make a bit more sense
I really don't think "it may possibly be an issue sometime in the future" is a great reason to make your entire library less nice to use. Consider tkinter, which is a whole GUI framework and has one notable submodule, ttk which has multiple namespace conflicts with it.
the standard library does this well (except for etree for some reason)
nvm, lark wan't the annoying one
yeah, lark is good
from lark import Lark, Transformer
@lost vortex when you inherit from a class, you can change some of its methods. The compiler can then decide which to run based on the type at runtime.
ahh that makes more sense, thank u
You can try searching around for some examples of it. If I remember, I will write up a few tmr when I am at a PC
alright awesome
send screenshot, prefereably (how do you even spell this?) in dm
its not him losing his role its your discord glitching
monke got rickrolled
guys is using botclient allowed
no
pls send the link or line in tos where it says because a friend is asking where it says that you cannot use botclient
sure I'll find it one sec
and I put chrome on a pendrive from another pc and installed using pendrive B) nothing is better than chrom
yo
YO!
YOO!
YOOO!
YOOOO!
why would you do that >:(
hehe sorry
Technically, it's still a length of 7 lol
lolll
This channel must be very zen
Haha
lol
!zen
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
We need to convert this into The Zen of lemon, by Python Discord
oof
ikr.
is there a way to regex search a dm on discord?
huh?
hey guys I dont' know if anybody is willing to help me out
on a bit on Javascript? I am working on a Webapp with Flask.
To get the user info and a googlemaps load I have to use
pure Javascript. This is what I got for my on click event
and it works just fine.
// Google Map initialize
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 10,
center: { lat: 47.2172500, lng: -1.5533600 }
});
document.getElementById('submit').addEventListener('click', function () {
var userQuestion = document.getElementById('userQuestion').value;
requestQuestionMap( map, userQuestion);
});
}
But when I try to add an addEventListener for the enterkey and prevent
default reload of the page it never works. I am probalby getting something wrong!
btw. my field for user search in HTML is a classic "input"
how do I resize an image in html while maintaining the aspect ratio
haha
I rate it an 'more-than-halfway zen'
change only the height or only the width
I changed both the height and width together to maintain the ratio
yeah its good
thanks btw
wait so what did u do?
I changed the height and width both in equal proportions
<img> tag
One Piece is so good, any of ya watched it?
its an anime
its really good
I get such an intoxicated feeling when I am watching it
Its so good i can't describe it in words

Anybody here familiar with Visual Studio and github?
hello
im having trouble running my dart code
this is my code
and when i click run it doesnt run anything
at all
try debugPrint instead of print
Don't get it.
You can't have spaces?
snake case with underscore would help
Sorry, but this isn't java...
Did you manage to solve it?
use underscores if u want space
that’s python
I love writing code that writes code
hm. wot?
same
i dont think u can do that in java either
noice
is that emacs with star wars background
wait thats ur actual desktop background
wtf
woah thats nice, I wanna pretend to be inux user, send link to these pics
you can right click and copy link
k
k.
oooo dwm
which compositor though?
picom?
also get a better bar 
more like cmatrix going brr lol
@jade breach hey
Why'd u block me bro
lol
using google docs how does the table of contents work? its just saying this currently
Add headings (Format> Paragraph style) and they will appear in your table of contents.
When i do that and reload nothing happends
Oh, I thought he declared a pizza class variable
And the variable name was "worker"
I seriously thought he declared a Pizza named "worker," and the class Pizza was an extension of a string
lol
Yeah ok, sue me
Can someone please explain the point of slack?
It looks just like Discord to me
but paid
Different markets
Discord is geared towards communities while Slack targets the professional market
oh okay thanks
hiiiiiiiiiiiii
hi bruv
Eyo
tabs and spaces matter
oh
@scenic lodge
my opinon is that these little things distinguish between someone who simply writes code and someone who designs programs
a coder just cares about if the thing works or not and doesnt worry about if the program can be changed in the future
except tabs and spaces can be formatted with the click of a button in modern IDEs and no sane software developer would give a damn about tabs or spaces
there's this scene in silicon valley where it's making fun of people who use spaces, and it's just the person hitting the spacebar 4 times
always annoyed me because... that's not what it looks like. it's just hitting tab but getting 2-4-8 spaces instead of a tab character. wtf
Yep
The best argument I have heard against tabs is that the tab length is not standardized across systems, meaning it might look different depending on your operating system and region editor/browser/whatever you are using to read the code
Shouldn't be an issue if you are one of those "works on my machine"-devs, but for someone that actually care about portability it matters
Anyone ever felt like they wanted to date a programmer?
well im 16 so i have time but
idk that'd be really cool to date someone who had the same interests as me
maybe do some discovery
never before have I been so offended by something I 100% agree with
im only interested in dating a girl rn (even though im a little into guys too)
but girls are like VERY outnumbered in this firled
when u come to discord to talk about dating
lol
it as if u r asking the same question on reddit
Try dating advices on reddit lol
thinking that ppl who dont have lives have advice lol
ehh i dont need advice
ah yes r/relationship_advice
^
everything is a red flag
but if there was like a programming dating app or something, I'd be fucked cause of the gender ratio in programming
funny thing
supply and demand
Divorce/break-up is nasty. Can ruin your live. Hopefully I don't have to date lol. I prefer being single.
bf gave you milk chocolate when asked for white? he's not for you
and its literally doing some wack ml algorithm to match u with someone
holy shit i wanna try that
i just looked that up
I wanna try the "dating by IQ" app too lol
some wack sht made by some ppl at some eastern canadian university
but the aphrodite seems cooler
lmao ppl on reddit just complain their match ghosted them
idk what they were expecting
If I wanted to date a programmer/cs major. I would ask someone out in some class.
yeah i tried talking to this girl in my cs class once...
we were friendly but then she found out i liked her and she started acting much less friendly around me
That's life
and i found out she was lesbian 😬
Oof
lmao
and we had had a group project together, and I was asking her to change this piece of code cause i was worried we'd get points off
Reason why I don't date: I don't want to pay more taxes.
and she hid me from her instagram story
and then she ranted about me "mansplaining coding" to her on it
lol
I found out from a friend
rED flAg, yOU're beTTer Of wiTHout hER
ok.
ik, well i mean shes lesbian anyway so lol
dm
The more you are in a relationship, it is probably more expensive. Unless both of you follows Dave Ramsey's advice.
Ah it's a reference thingy lol. He's financial literacy advisor. He have youtube channel.
You should watch some of his videos. They are funny. For example, a guy borrowed $300k for a tuba degree.
I'm saying learn things from Dave so you don't make mistakes like these guys.
tf is a tuba degree
hello
Hello
Man I cannot stand googling for something and getting only results for python 2
Just wait till it's like that w/ python4
I had a question...
Can I alter BSD 2-clause or 3-clause licenses to add some extra clauses for identity protection?
Or should I make new licenses, rather than using license templates?
I just want to caputre IO in realtime from a subprocess.Popen
communicate is not real time
there are loads of solutions to it, but they're all python 2 and don't work for python 3
gahhh it's so close...
just randomly freezes
finally making progress, I had to subclass stringio
@blissful kernelVim isn't faster than anything else. It's all about what you're comfortable in
You can take a sample of vim developers, I'm sure I'm just as fast as them when I'm using what I'm comfortable in (VS Code) as they are in vim.
It eliminates the mouse input for a lot of common actions
See, that argument is a bit of a phallacy
I just use Vim bindings in VS Code though, I wouldn't dream of actually using Vim in a terminal for some big OOP thing
I've been programming for the past 3 hours straight in VS Code
and I haven't touched my mouse at all
save for browsing discord
you don't HAVE to use your mouse, in most cases it's not efficient
As long as you're not using your mouse it's fine, it's just a preference at that point
but mouse v no mouse, no mouse defininitely faster
Just, editors like VS code have more sane bindings that aren't straight out of the 80s like vim
instead of spending a year programming at half the speed to learn the editor inside out, you can adjust what you need over time and keep your efficiency high
every single thing in vs code can be touched without the mouse
I'm assuming atom is the same
not sure about pycharm
It is still nice to have though, vim is on literally everything
I don't think you can do that with sublime though
so you reliably have a text editor to do things even in the worst case
or over an ssh connection
but yeah, for the folks that did do that to themselves, vim bindings are available for everything
even emacs, though vim bindings for emacs defeats the purpose of emacs if you ask me
It's fine really, I don't really remember why or how I learned vim
I was pretty young when I did and I don't know if I would have considered it a good use of time if I learned it now
I didn't have much better to do when I was struggling through vim bindings
I also willfully forgo the built in terminal output in VS code most of the time, and the vast majority of the features that aren't intellisense
mostly because I don't feel like learning it though, not because it's bad
I'm very feature locked into vs code these days
It's a very good editor, it's also what I use
the test running ui is amazing, I use intellisense, intellicode, pylance, and the python plugin extensively
There's no substitute for that combo, in ANYTHING, not even pycharm
plus the added benefit of I can use extensions to make it an IDE for all the languages I work in, which unfortunately is a lot of different lanugages
Yeah, and it's on every platform as well
any given project I might be using Python, Rust, C, C++, C#, Java, Kotlin, JavaScript, or TypeScript
it's very versatile and the configs are very portable
Occasionally some Assembly or Fortran as well
Jump between Windows and Linux a lot and it's nice to have largely the same dev environment
Language server support for other editors can get close, but the autocomplete is never as good as vsc makes it
other than Powershell being kind of stinky
It's definitely a lot better than it used to be
I just hate that it has aliases for unix commands and then only goes halfway
to match my development environments between operating systems I use a bunch of microsoft stuff
Editor: VS Code
Shell: Powershell 7 with oh-my-posh3
Browser: MS Edge Chromiun
Terminal: ExtraTerm
all these work on Windows, Mac, and Linux flawlessly
and the browser also runs on both ios and android
so every single device and environment I have runs the same stuff
basically only possible with microsoft products these days
embrace, extend, extinguish
there aren't really many other shells that support windows
there's this one called elf but it seems kinda garbage
That's the old Ms
Satya Nadella has done great things and is still doing them
they're more of a service provider than an OS vendor these days
powershell is ok
I enjoy the alternatives / competition for all that software more than Microsoft's offerings though
with the exception of VS Code
there probably are extensions in vsc for vim/emacs keybinds
Yes there are and ^
It works alright for the most part
I just can't get into a groove at this point without vim keybindings
and for a good hour after I stop I'll be trying to navigate web pages with vim keybindings lmao
theres qutebrowser which has vim keybindings
nah I can live without browser keybinds
I just use my mouse for the second monitor usually
I would love to have zshell on windows
and it messes me up when I switch my browser over to my primary monitor
that would make me so happy
it's the vim monitor
But there hasn't even been an attempt at it, apparently
and I do not have the time to try to port a shell to windows
you can get zsh through wsl right? 
yes but that's not running on windows
nothing on windows is available through it
WSL is fairly isolated from your windows system
what is the joke behind this ot name
WSL 2 is somewhat isolated, since it's in a VM, but WSL 1 is still fully supported and not isolated in any meaningful way.
You can run explorer.exe from zsh on wsl and it'll work
There's some tricky stuff related to the filesystem - you shouldn't edit files created from WSL using non-WSL tools.
yeah see, it's all too weird and tricky
and path-related issues
javac --version shows no javac from wsl
it's not worth trying to deal with just for zsh when powershell is a great shell
how to claim a help channel?
WSL should get the same PATH environment variable as powershell gets
#❓|how-to-get-help has instructions
thanks
I can't imagine working on Windows without Unix tools available. WSL is my daily driver.
@solid elbow agree
so hard leaving windows
i just learned little bit python
ultimately the only thing that ties me to windows is Ableton
and ive tried double booting but it makes me less productive, as im too lazy to switch so i end up disregarding whatever i do on the other OS
windows is good for compatibility
wdym?
windows has nearly all of the programming apps
what are the programming apps?
So does Linux to be fair
Visual studio 2019
It's much easier to program on a Unix environment than a Windows one, imo
Windows dominates the gaming/creative market
the thing linux does beat is being lean
all my other machines are some kind of it and i just push the on button and they are up
problem with linux is audio imo
only thing that windows need is linux terminal but you can download tho
you can have a working terminal, maybe even run x apps using sth like cygwin
but its not the same
You can get a terminal through wsltty and X apps through VcXsrv
First-class support for Msys2 is interesting
yeah but my point is you still got these moments where the whole computer locks because its updating
you can also enable something in the windows control panel and then you just download any linux terminal from microsoft store
yeah thats wsl
oh
ok
how long are yall programming python?
On and off for about 9 years
python? a couple of months
I started I think at 3.4, so about 5 or 6 years ago, started taking it seriously these past two years
Although I haven't done anything significant in Python for the last few months
damn i just started yesterday
which ide are you using?
pycharm
i dont use an ide
i use the IDLE cmd and vscode
hmm good enough 😄
uh no?
downloading things in windows so much more work and pain than unix, overall i find unix much more convinient than windows for programming at least
only if its in the package manager
i never used linux so i cant really comment
tar is a pain
imo in terms of developing its almost the same in any OS, of course leaving aside compatibility tier stuff, but i dunno if this one applies to python
the big point linux has in its favor is the sense of ownership of your machine you can get, for example, how it allows you to revive seemingly dead old machines
its not, in windows you have to open up the git bash to acess whereas in unix you can access it through anywhere, and it was such a pain downloading pipenv in windows.
and you also have a different shell for postgres and you can't access it through anywhere.
i don't think you have access to that paths on windows either
you can use WSL for that though
So basically in linux you control the system but in windows system controlls you??
Lmfaooo
Jkjk
for example i got an old beat up netbook that came with win 7, could barely run it, took ages to load a web browser, and as time went by it got worse as websites got more and more loaded with js
nowadays it runs lubuntu with no x, which isn't even the leaner you can get

but that's not out of the box and you also have to through the trouble of getting it installed and stuff.
Also does it take space?
but it basically does all i want to do with it, turns on instantly, etc
i dunno how much space it takes, i suppose some, it also isn't that fast, its not a VM as far as i understand, (WSL2 is i think), but its still slower than it should
however its very very easy to set up
as @rough sapphire said is just clicking a thing in settings
VM are very bulky and slow
agree
this thing is just a terminal that has an (almost) exact kind of linux machine
you can chose distro
not any distro
but i remember you had some options
it is performant enough that you can run emacs in it through x tunneling and program in it fine
the one thing where I found linux significantly easier was setting up latex
or if you try going into some files
and well, if you for some reason want to use languages that refuse to support windows, like crystal
i would assume that kind of stuff works under wsl?
a way of explain it, is that wsl is a kind of reverse wine that works better
crystal probably does, but it does complicate things somewhat, since for example running a webserver in wsl and accessing it from a native browser only works sometimes
mmm
i had no issue with the sharing of networking between wsl and the rest of my machine
I had it break randomly multiple times
you are using wsl 1 or 2?
ah, i dunno then, i went for 1 for the file system back and forth
i mostly just use it for vim and cron
meaning shell scripts mostly
I had it for emacs, and trying out crystal, but nowadays I just dual boot
though driver issues are a pain which I CBA to solve
i dual booted for a while, but i like using ableton
i found out i couldn't figure out how to make keygens and vsts work on wine
hitting levels of ping that shouldn't even be possible
and im not ready to spend 1k+ usd for them all
maybe when i can pay for my hobbies id switch to linux
i actually tried to fashion a makeshift solution with an lcd screen, a midi controller, and an arduino, but i fucked up the soldering
and i realized bill gates is my god and i should just accept my submission to him
I have used GNU/Linux for 8 years now. currently uses Arch GNU/Linux and i dropped windows 10 completely after i heard of the privacy nightmare windows 10 is.
It's really easy to get the hang of
maybe not arch, but you get the jist
if your a person who cares for privacy, don't use windows 10 as it tracks every little thing you do and sells it even if you turn personalization off
@quiet carbon i agree
and i use it in all but my main machine, but like i said, $$$
for example, if i could have two good machines, and had a bigger living space, id have a machine for music, and a linux machine for everything else
or, if i could pay for my hobby, id just run my music stuff over wine, or have hardware for it
and just use the computer to record
i see. you can also dual boot
i used to do that, but i found out i ended up procrastinating, either id not do music stuff, or i did not do work stuff
just cause i didn't want to reboot
Virtualization 
the problem with VMs is the power of the machine
for example, say i VMd windows on linux
Yeah, that's understandable
usually a musical project starts light, but as it gets complex you end up having to up the sample rate
ah. do you make music?
in a VM that means that beyond a 64 sample size, the delay between microphone/controller and the monitors becomes too large
yeah, thats my main hobby
Hell I have specialized hardware and the delay is still an issue
i'm trying to get into that. I purchased a Roland Juno DS 61 synthesizer
but the drivers are only for WINDOWS
and MAC
in windows 10 right now the delay gets bad after 512
hell thats a nice synth
my uncle had a mini moog BUT he got rid of it
nice
i was sooo damn mad when i learned he had one
hahah
yeah, i think its mostly about the filter
but thats just from what ive heard
this thing was 800 dollars
that juno
yes
you use for midi?
it is the smallest one
or audio?
not yet, i'm waiting for my grandpa to bring massive pioneer speakers on the 29th 😂
probably that
they have both
there's midi to usb cables
i have one
they sometimes get confused
but you can make it work if you go slow
oh btw, my hands are tiny and my finger is broken and healed and never set so you can imagine me playing it 😬
hahaha
pinky finger*
you play piano?
that is my piano basically
yeah but i mean, i got a couple keyboards, but im a drummer lol
i want to get to the point where i play the wanamaker organ
ever seen the world's largest musical insturment?
big church organs usually imply both arms and both legs
they always do
you might find this interesting: https://www.youtube.com/watch?v=98KYMpBx9og
Most Philadelphians don’t realize that the largest working musical instrument in the world is built into one of the city’s landmarks, the former John Wanamaker department store, now Macy’s, at 13th and Market streets.
The Wanamaker Grand Court Organ at Macy’s is a 7-story-high contraption bigger than most people’s houses, even rich people’s. The...
my dream maniac job would probably be this 😂
i have a similar vid
The biggest of instruments.
Takes a half hour long video just to explore MOST of it.
Help videos be made and see them early + extra stuff on Patreon: http://www.patreon.com/RobScallon
John Sherer's full performances on the 2nd channel:
Johann Sebastian Bach's Toccata in D minor: https://youtu.be/vfySQBxAA4w
Edward Elgar's Nimrod from the Enigm...
ive seen that haha
our church has a pipe organ, and it's huge
you live in a big city? ever gone to the opera?
st. louis, but i DOUBT there is any here
ah man thats some crazy shit
the organist was going to teach me then he got covid
hahaha
(i assume he didn't die)
covid fucked shit up
i actually had made a whole rebudgeting math
i had decided in early 2020 that i would start going to two places
i was going to go to a motley crue concert
every wednesday id go see classical music in the big city opera place
and every saturday id go see techno at the best techno place in the city
i also decided i was gonna learn to fly airplanes
then like a week after i made all the math
a sudden killer virus hit the world
oh hey, my uncle owns a plane and his son owns 3
a 1955 cessna skyhawk
lol nice
the one i had worked around was a piper
i dunno what kind of plane is it
i'm hoping to get it when he dies (no wish intended)
piper cub?
my cousin owns a piper cub
and a piper supercub
and a piper cheyenne II
piper 172 i think was the one at the airclub
cant say more though, i dont know shit about planes
just thought it was sth i wanted to do
and i finally had money to pay for it
@rough sapphire i actually got to ride on this: https://www.youtube.com/watch?v=PSja4qYQp-c
For those that appreciate my content, you can donate, if you choose. Any funds would be used for future flight bookings. Thank you so much!
http://www.paypal.me/RyanBomar
Transcontinental Air Transport (TAT) / (Liberty Aviation Museum) Ford 5-AT-B Tri-Motor
NC9645 (cn 5-AT-8) "City of Wichita"
Philip (http://www.youtube.com/LoveJT8D), and my...
not my video
i got to see this twice
the one i had found i could learn with
An honour retracing steps of WWII veterans as I explored every nook and cranny of this plane!
Proud to be associated with ForeFlight: http://www.foreflight.com/flightchops/
Visit http://www.FlightChops.com for behind the scenes and monthly GiveAways!
A new GiveAway EVERY month; shared prizes from all our sponsors worth thousands of dollars!
...
just have two seats in front and two in the back
hhahah b29
makes me remember the right stuff book
flytime is expensive as hell
bruh the weather in korea is so weird
its literally january but its average 10 degrees (celcius for the americans out there) wtf??
oh damn
Korea is also surrounded by water
my geography knowledge go brr
thanks for the info dude
so Korea should have comparable weather to LA / SF
beside*
ooh
lmao
bruv
lol imagine if it was below australia
bruv, I said beside*
👋
What about single space indentation?
!e
def haha():
print("ha ha single space indent go brrr")
while True:
haha()
You are not allowed to use that command here. Please use the #bot-commands channel instead.
while true loop forever 💀
Guys, was wondering. Is making super fast forwarded video an effective way to store space on video data? So if the footage wants to be rewatched it can just be slowed down to 1x or something, instead of 50x
what about no indent? In fact, no newline!
haha=lambda:print("ha ha lack of newline go brrr");{haha()for _ in iter(lambda:None,0)}
Unless you can make it so you don't lose information, I don't think there's any added benefit space-wise
If you make it 50x faster, you're just increasing your framrate by 50x. The total number of frames is the same, so there's no size difference
If you take only 1/50 frames, you're losing 98% of information
ok
so i wanna get linux on my chromebook
Ohk
soi can get python
cool
do you have python?
yes i got
yes. i have it in my backyard
which version @mild abyss
3.8.6 & 3.9.1
oh twof them cool?
mhm because pyenv
damn
why?
was hoping I could compress the videos somehow, they're like 10+ gbs rn
@timid latch <-?
don't ping
his status says watching everything
lol
sadly idc ¯_(ツ)_/¯
Do you still have this question? @rough sapphire #help-candy message
I figured out a significantly more effective way to do it for what I needed, but the question still stands I suppose.
I don't understand generator expressions too well.
Thinking about it now, could I just convert that generator expression to a list, and then index the list?
yes
but you could also just use
!d next
next(iterator[, default])```
Retrieve the next item from the *iterator* by calling its [`__next__()`](stdtypes.html#iterator.__next__ "iterator.__next__") method. If *default* is given, it is returned if the iterator is exhausted, otherwise [`StopIteration`](exceptions.html#StopIteration "StopIteration") is raised.
next(offer["user"]["displayName"] for offer in trade_data["offers"] if offer["user"]["id"] == self.user.id)
Centrist indentation 👀
what?
The ever-so-existent debate of 2 vs 4 spaces
ew
i indent with 4 zero width characters
for _ in range(2):
print(1 + 2)
might not be able to tell, but that is indented
Beautiful
7```
Oh my god, it's a good way to spend your evening
lol
wait what how
its 3 right
I'm sorry what
I wonder if you could traverse the entire program's variables and replace all strings with those weird ones
\u0027 : APOSTROPHE - '
\u200b : ZERO WIDTH SPACE -
\u200b : ZERO WIDTH SPACE -
\u200b : ZERO WIDTH SPACE -
\u200b : ZERO WIDTH SPACE -
\u0031 : DIGIT ONE - 1
\u002b : PLUS SIGN - +
\u0032 : DIGIT TWO - 2
\u0027 : APOSTROPHE - '
\u0027\u200b\u200b\u200b\u200b\u0031\u002b\u0032\u0027
aah
OH that is what is going on here
somebody explain
very strange unicode is at play here meaning logic has gone out the window
You can get even get 2 seemingly identical strings with different lengths due to different ways of representing accents in unicode
let me get a simple example
^ unicode is pure magic to a beginner such as myself
this message hit the ratelimit of messa
wait, will the bot send it
!e
print('oldřichu přines řeřichu' == 'oldřichu přines řeřichu')
``` no zero width spaces here.
@graceful basin :white_check_mark: Your eval job has completed with return code 0.
False
You are not allowed to use that command here. Please use the #bot-commands channel instead.
why does your terminal display it?
¯_(ツ)_/¯
most terminals use a mono font
also, discord breaks when i try to copy the message id
which is mono for everything
oh
if anyone asks me help for hw I'm definitely sending my code riddled with these from now on
watch them suffer
epic
Damn
there are multiple such characters, so you could hide arbitrary code in innocent looking strings
why is hello world program 189KB in size?
could you give an example?
sure, give me a bit
like, how would you hide print(2)
you would need an evaluator
What's going on here, is someone goofing around with ZWSP chars again?
yep
Someone has been, yeah 😄
I'm not sure what I'm looking at really
I feel sorry for the next person looking at #bot-commands
rip
tHiS mEsSaGe iS 2000 cHaRaCtErS lOnG 
that kinda stuff?
lol
so that was a fkn lie
I feel betrayed
It wasn't actually, it's because the emoji is actually stored as !SpongeMock
ah ok
There's an 18-character code which tells Discord where to fetch the image from, and the angle brackets to represent a special object in the message
:SpongeMock:
long message
left-to-right marks aren't zero width
wtf lol
!e
from collections import defaultdict
s = 'Hello World'
exec(int(s.translate(defaultdict(str, {0x200B: '0', 0x180E: '1'})), 2).to_bytes(2000, 'big').strip(b'\0'))
@graceful basin :white_check_mark: Your eval job has completed with return code 0.
2
you could probably sneak this in somewhere
guys I want you to listen to "save your tears" its my favourite song now and Its stuck in my head, I listened to it the first time yesterday
I already know that song, its pretty dope
hm?
I think you also know that song
oh lol
damn
No
lol even my father said that he liked that song
probably a scam, want me to call mods?
good.
what did he send?
I dont think I wanna tell, he was asking to dm for free perks, it included credit card number or something he just asked to dm for it.
ooh
I found a fool proof plan to prevent my lil bro from using my discord acount
and that is.....?
Logging out?
changed the password to open phone
What font do yall currently use while programming?
consolas
same
Default haha
default is what?
dunno but i like it too
Whatever comes pre-installed
The default
both vsc's and pycharms defaults look nice i think
yea that default font must have a name r8
Oooo
NO?
VSC default looks ugly as f
wtf
bruh
gr8 b8 m8
no u
idk looks pretty clean i think
this is pycharm
this is vsc
yea its pycharm i think
that wasn'tthe one i was talking about
no, thats not the default
pretty sure you changed it
ive changed themes but never the font
do you use colour theme in vsc or no?
it doesnt change
it's not a default theme, it's called one dark pro i think
Pycharm's syntax highlighting is not that good
wait leme get which I thought was the default theme.
dark pro is an extension? coz extension can be colour theme and font also
its probably that then
hmm
where do i check the font?
afaik colour theme changes dont change the font
settings or something
press ctrl + shift + p
and type font
what is this
bruh that's times new roman or something lmao
the default theme?
and definitely not the default
yea arial or someshit
it looks like its from ms word
wait that's not default?
I thought that was default
something u see in microsoft word lol
this is what i see in settings for me
I thought the same thing!
yea consola
looks like a word document lol
its consolas for me as default
I am currently using Fira Code Light and its pretty sick
vsc?
font
its for vsc?
he said that he uses pycharm dude
oh
and i just downloaded hack so leme try that
'hack' is a font?
yes
oh lol
wierd
fira code is all i need 😌
I use the 'monokai' theme
Yep I love Fira Code Retina
default of vscode theme is my fav for html,json, and for python i use monokai too
I use tokyo night
hmm, monokai's fg is ok i guess but its bg is not good
the only brown bg theme i like is gruvbox
and thats because other colors of it match brown too
but monokai is like rainbow on poop

monokai isnt brown per-say
its like black with a lil brown mixed you wont even know the difference
I didnt roast your colour theme did I? vinam
LOL
i never told you not to
atleast your colour theme matches that explanation, monokai isnt even brown
Tokyo Night is really slick
when did i say i use gruvbox though 
it is, though i like the darker version of it which is material ocean
lol I didnt say that you use gruvbox smh
idk, I just wanted to roast your theme even though I didnt know what it was (you also gave permission to roast)
I just use defaults everywhere lmao
IMO they are almost the same
yeah
well these are the colors i am using and i dont see brown anywhere
and let me show you monokai
the whole bg is clearly brown
top right isnt monokai
only the top left one is the correct
I didnt know you became colour blind? 🤔
oh thats enough
isn't monokai the 10th one starting from the top?
row 2 column 1
1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 | 11| 12 | 13
are you talking in python terms? row0,1,2
yes
i see it now
idk what hacked version of monokai ur using
its not monokai?
its not that brown lol, filter added
yeah it is
ye
the theme you are using is some stray monokai
You should try the pydis color scheme haaha
Activate Windows >:)
nah its my old pc so i won't bother
you mean the hastebin one? thats just solarized dark
heh wat
Which one is this?
wdym stray?
i dont like taht one sorry 
not the normal monokai
"hacked" version of monokai
lmao epic uno reverse
sublime text comes with the monokai theme as default, its hacked monokai or no?
ok so hence proved?
yes
Proved what exactly?
rgb of monokai is less than 75,75,75
so?
brown is more than 75,75,75
lol bruh no
it is dude
so you are telling me this isnt brown, idk who is colorblind here
this is grey right
omg
kinda grey
that is not grey
but not the real
ok dude thats fine with me
it looks dracula
lunar midnight right?
yea is it?
just asking, cause it look familiar
@west zephyr
oh shit nvm
ok send friend request
yea sent
Pretty pretty
who uses 3 space for intendation?
Hmm
?
gang is here
hey how do you have this grey bar on the left side
|| ||
I saw that @ruby fox
so did I
So did I :#
I was testing Github annotations work here
well how did you send this without it coming
\>
escape characters yey
oh those are like f string
wait a sec
I sent this message using
< heh
\\> heh
\heh
||< heh
And I sent this one using
hey grote, are you old MOD or new MOD?
\<heh
shtop
\\\\> heh
shpam


