#voice-chat-text-0
1 messages · Page 776 of 1
!e py print(['Black tile', 'White tile'] + [f'{piece_colour} {piece} on {tile_colour} tile' for piece_colour in ('White', 'Black') for piece in ('Pawn', 'Rook', 'Knight', 'Bishop', 'Queen', 'King') for tile_colour in ('white', 'black')])
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['Black tile', 'White tile', 'White Pawn on white tile', 'White Pawn on black tile', 'White Rook on white tile', 'White Rook on black tile', 'White Knight on white tile', 'White Knight on black tile', 'White Bishop on white tile', 'White Bishop on black tile', 'White Queen on white tile', 'White Queen on black tile', 'White King on white tile', 'White King on black tile', 'Black Pawn on white tile', 'Black Pawn on black tile', 'Black Rook on white tile', 'Black Rook on black tile', 'Black Knight on white tile', 'Black Knight on black tile', 'Black Bishop on white tile', 'Black Bishop on black tile', 'Black Queen on white tile', 'Black Queen on black tile', 'Black King on white tile', 'Black King on black tile']
@scenic wind
My attempt at creating a little chess playing program!
Think you can beat it? Give it a go over here: https://sebastian.itch.io/chess-ai
If you'd like to support the creation of more videos (and get early access to new content), I'd greatly appreciate the support here: https://www.patreon.com/SebastianLague
Project Source:
https://github.com/S...
@gentle flint hi sandwich
hola señor
no habla español
I feel stupid
I forgot how I combine default arguments with type hinting in a function
def search(self, plan_query: PlanQuery, limit=100: int) -> List[Plan]:
^
SyntaxError: invalid syntax
i have a little problem running python code
never knew
001 | File "<string>", line 19
002 | pi = (var * 6) .5
003 | ^
004 | SyntaxError: invalid syntax
uh-huh
is it like in python 3?
introduced in 3.5
but most people are on 3, right?
I'm learning F#, it's the same over here in .NET land
oof
one day
rlly?
OHHHH
I got it
it should be
def search(self, plan_query: PlanQuery, limit: int = 100) -> List[Plan]:
yeah
i thought, limit=100 is the default argument
it is
but the type hinting goes in between
so either limit=100
or limit: int = 1000
ohhhh
coz limit = 100 already hints that it's an int?
no, because int refers to the argument's default type, not to the default value
therefore it goes right after the argument
i'm confused, but okay
what does -> List[Plan] do?
that's what the function will return
except actually it'll return Generator[Plan]
so I need to update it
well, -> is purely for documentation
Python is getting functional everyday
people in IDEs will see that pop up if they use the library
and I hope to also use it for the autodocumentation
but why u have a : at the end of func def?
def myfunc():
pass
oh yeah
function def has colon
it does
but it's not actual executable code
if you use an ide like vscode or pycharm
it will show a small popup if you type that function
with what sort of thing it returns
i see
it also shows which arguments it takes, with the type each argument has to be
also if I make my docs with sphinx and put them on readthedocs it will generate a small section for that function, where it will also say what gets returned etc
so it's purely for documentation purposes
that was madcowken's idea, and I like it
still that wrapper
for the flight database thing
I left it for a few months
just started working on it again yesterday
have u made past the HTTP request yet?
Sure, it's almost done
kewl
I'm implementing iterative requests and format
after that's done I'll start work on refactoring and docs
i don't really understand how you use that GET , POST things in code
i've only started learning about web dev recently
well, do you kinow how a basic http request works
basically you send a request to a server, and the server sends a response back
and, I quote from Wikipedia:
The request message consists of the following:
a request line (e.g., GET /images/logo.png HTTP/1.1, which requests a resource called /images/logo.png from the server) request header fields (e.g., Accept-Language: en) an empty line an optional message body
The request line has the request method, url, and protocol
There's several request method
ohh so we used that API link mumbo jumbo, and send our request and API key along with it?
basically yes
a role
you have light mode????
life s you see kay s
sucks
Since when does a server of over 130,000 people have not a single person in the VC?
It feels cold here
dark
tomorrow will be a brighter day
tonight is going to be a moonlight
I'm travelling on a train and have varying network speed run so can't join VC
Cool
I hope to travel again soon
oooh people in VC
buddhu, can you speak?
Oh they're not Voice verified
buddhu means fool in his native language
hahahaha
I just noticed my network speed is also varying
And I'm at home
Keeps going from green to red
Cauz he has named it so it's on him
Alright my speed is dwindling as the train is catching up speed
cya
cya
Read the rules in voiceverification channel
Yes I read
Hey
well it did the whole day
That's nice sweety
ikr OwO
life sucks
ikr
backend sucks
absolutely
i can't speak
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
50 message is too high i think
if i don't want to interrupt the help channels, it is really hard to complete this
im fine thanks for asking
how are you
it run away few days ago
Have you found it yet?
nope 😦
my cat is ruling our home. i am only allowed to see her 3 minutes per day
what is going on here ?
it was delicious
just socialising
Just a normal day in the python discord
mic issues
for real, i want to ask that i want to visualize 3d plane and dots and shapes how can i do this easily with python, im currently using porcessing
of course raw
is porcessing pork processing?
i love scrapple
DO you have a pink tail?
how do you know about my tail
Are you a furry?
kinda
he guessed it from your pfp
my dad was a giant
And your mother?
did he eat trees for breakfast
everyday
if anyone is able to, may I get some help in code/help 0
which part of the tree
very bottom
he had a root fetish, did he?
thats a good one
I love this
it says im still under 50
im sad half giant
nope
otherwise i need to be smart to write logical things in help channels
yes turkey
I thought you were chicken
yeah its a habit
try again now @winter raft
Do you?
You believe it's Constantinople or Istanbul?
import ast
center_point = ast.literal_eval(input("Enter the center point\n"))
radius = input("Enter either the radius or the diameter (enter `r=' or `d=')\n").replace(" ", "").strip()
if radius[:2] == "r=":
radius = radius[2:]
elif radius[:2] == "d=":
radius = radius[2:]/2
else:
quit()
radius = ast.literal_eval(radius)
print("%f^2 = (y + %f)^2 + (x + %f)^2" %(radius, center_point[0], center_point[1]))
.2f'
!e
print(f'{3.140:g}')
import("sys").version
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
3.14
!e
print(f'{3.14000000000000:g}')
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
3.14
!e
print(f'{3:g}')
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
3
!e
print(f'{3.0:g}')
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
3
!e
print(f'{0000030.000:g}')
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
30
g causes
insignificant trailing zeros [to be] removed from the significand, and the decimal point is also removed if there are no remaining digits following it.
what does this g do there
look at the message above
oh ok
!e
name = "james"
print(f"hello {name}")
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
hello james
!e
name = "james"
print("hello {}".format(name))
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
hello james
agreed
!e
a = 3
b = 5
print(f"a is {a} b is {b} product is {a * b}")
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
a is 3 b is 5 product is 15
does anyone actually use semicolons in python?
no
no
xd
in codingame shortest mode 😄
@fading pecan has been staring into our souls for half-an-hour now
"I fear no man...but that thing...it scares me..."
They are, very true
wow, I did not realize there was metting a going on
seems like the whole management is in the room
I never even knew that there was a staff VC
Good guess
yes
yes
I expect whoever comes to take away my soul to look like this
same
with a bot?
If It doesn't, I will be disappointed
creepy
hahaha
privacy concerns maybe
hahaha
what we have to do to get permission to talk ?
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
iviček
Type 50 messages
sell your soul
stay here for at least 3 days
!voice
Have lengthy conversations
:((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
that's easy with gazi's pfp
i had my verification but my speaking is awful
all that hard work

your speaking is fine, don't worry
c# is microsoft java
they are both small lakes, connected via rivers to the great C
to the great 
we are now suggesting people how to kill themselves ?
hahahah
no
we are discussing C#
like I said
Crucifixion is the only option
yes, but the mods might not get the joke @hoary inlet
what is the time for you
19:50
20:50
@scenic wind you were here yesterday, talking about starting this project ?
He's made progress then hoorah!
@gentle flint what time is it there, it is 10 pm now in turkey
9 pm
8
I'm Dutch, not German
Mein Arsch ist sexy
but I used to know a Czech lady
Your gf?
mother?
very sad times
Anyway, after that I learned a bit of the Gaj alphabet
why
how'd you think that ?
I got better at it when I knew a Bosnian person
!voice
recently I've been learning the fine difference between ć and č
What is the difference?
and đ vs dž
dont forget the ô
the syntax is too hard for me to discern
@radiant solar How's your pet rat?
starving
How often do you feed it?
i dont
1000 ms from turkey
Can't talk after rejoining server for three days

10 ms from the Netherlands
:/
I generally use ookla
i live in most crowded city in turkey
I think morning

ooo
i have no good reason for choosing vsc

Discord drains my battery
Phones battery
ahhahahahahah
people shit on atom sometimes but I think its just nice only being an editor

you just flexin now
I used it when I couldn't get c++ to run on vsc
really liked it
Those people don't want to appreciate the good things in life
They are lost
yeah, I use it for C, C++ and Python. I use Visual Studio when im on windows
C++???? Isn't it designed for JS?
JS?
??
javascript maybe?
definitely not javascript lmao
I thought it was for JS the whole time
I'm kidding
what were you guys streaming ?
hahah
yep, always seems to work
Im thinking of switching to something like KDevelop on linux for C++ but i'm pretty sure it works well with python too
hahahaha
ide ?
@crystal fox https://www.online-tech-tips.com/computer-tips/how-to-stop-robotic-voice-issues-on-discord/
yeah
doesn't look bad
When you insult God on discord and think he won't do anything:

@radiant solar hey hey, did u know that im bald
haha wtf
my head is cold
you keep a cold head
i shaved it myself, don't ever try
mid life crisis ?
my motivation for doing this is
:DDDDDDDD
Don't keep us in suspense...
waiting
i dont like my hair
...bruh
sounds like an abusive relationship
true true
i feel the beauty inside me
this took a little too long to make but here it is
all credits go to penelope scott
support her on bandcamp !! https://penelopescott.bandcamp.com/
I don't get how this guy has managed to piss off literally every person on the planet
It's something to marvel at
How's he arrogant?
he has an arrogant look
how did he piss off everyone
what
i dont watch the news
What do you mean?
idk
are you talking about elon musk
it feels like an arrogant look
yes
yep
sdğpdprpdr
this is good
Is his hair artificial
I am waiting for him to open adoption papers
XDDDDDDDDDDDDD
silence
hahahahah
he has fun personality
the paragon of human evolution
Musk was criticized for his public comments and conduct related to the COVID-19 pandemic. He spread misinformation about the virus, including promoting chloroquine and claiming that death statistics were manipulated. He claimed that "Kids are essentially immune" to the SARS-CoV-2 coronavirus, and called "the coronavirus panic...dumb." Musk repeatedly criticized lockdowns and violated local orders by re-opening the Tesla Fremont factory. In March 2020, Musk predicted there would be "close to zero new cases in US too by end of April."
@PPathole Based on current trends, probably close to zero new cases in US too by end of April
7087
11820
hahaha, is this joke @crystal fox
yep
That was so random
def getiter(self, path,
ignore_statuses=[],
limit=100,
params=None,
*args, **kwargs):
url = urljoin(self.url_base, path)
auth = HTTPBasicAuth(self.key, None)
session = requests.Session()
# initially no results have been fetched yet
num_results = 0
r_fpdb = session.get(url, params=params, auth=auth)
num_pages = int(r_fpdb.headers['X-Page-Count'])
# while page <= num_pages...
for page in range(0, num_pages):
r_fpdb = session.get(url,
params=params,
auth=auth
*args, **kwargs)
# ...keep cycling through pages...
for e in r_fpdb.json():
# ...and return every dictionary in there...
yield e
num_results += 1
# ...unless the result limit has been reached
if num_results == limit:
return
exceptionally ugly
Please don't post loud videos here
or... anywhere, really
Hello
Hello
its loud??? oh i had my headphones turned down sorry
that was fast
Bisk =```py
while True:
print("Just don't")
@crystal fox you have to realize people won't listen and do things
It's better to let them do whatever they want
Let God handle it
Let Elon Musk handle it
Plant the seeds
plant the rockets
Watch the tree grow
trockets
flying tesla
A.I. and chips in your head
that would be something
rat people?
the burgeuoise
*bourgeoisie
ok I think I am having a stroke
alright harvard guy
I can't believe how hard it is to pronounce that word, at least for me
When you are having a bad time and look to discord for advice:
oi reads like 'ua' in French
b
oo as in school
rzhwaa
what?
hm?
???
"All I feel is pain"
mate, I think I am legit having a stroke
are you sure ?
What do you want me to do about it?
cold
Ice
Lactose intolerant? just tolerate it
english is not my native language, and I speak real quick so
wait, why ?
hey, i gotta go, see you guys
I don't really know, it's just my nature to speak quickly
I've been told I sometimes quite fast too
don't have a wife? you don't have a life
and vice versa
this is bothering... I can't talk in the vc to get help since I haven't been in here for three days and I can't really explain what I need help with in text as it would be confusing.
I won't have the motivation to do it in three days...
Don't need to be on discord for 3 days
yes you do...
yep
we certainly got some hitlers in the making here
the only 3 times I tried to actually speak were super awkward, sorry bout that, just need some sleep
Just wait till they fail art school entrance exams
and join a war
"Peace was never an option"
"GFeria.com wants to know your location"
yes I do
shut...
This is funny as well as slightly concerning
let's move on to stalin
This animation discusses the difference in two ammunition types, HEAT and HESH.
There are many resources on the subject here's an introduction:
HESH:
https://en.wikipedia.org/wiki/High-explosive_squash_head
HEAT:
https://en.wikipedia.org/wiki/High-explosive_anti-tank_warhead
HISTORY IN A MINUTE: Some notes on what makes a modern armor piercing shell so powerful and how a discarding sabot works.
Please note: I have mispronounced SABOT it is pronounced SA-BOW. Thank you to viewers for pointing that out.
Further information on the topic: https://en.wikipedia.org/wiki/Sabot
@flat sentinel could stop posting unrelated videos please
pro tip, setup a mining rig somewhere that you dont pay for electricity. instant profit!
there's a max cap
@crystal fox you know the inner workings of bitcoin, or how do the exchanges fit into the framework
what's the point of having exchanges, how many are there ?
yep
It's currency can lose value
inflation and deflation
I think bisk is talking about enforcement of a contract
@icy axle he is talking about how/why the allied nations agreed to take german mark even after it had lost it's entire value
no one has control over the bitcoin when things get tough
I went on mute because I'm trying not to interject
Fair
Etiquette 👌
assets ?
bitcoin is non productive asset
Non-productive?
hottake
it doesn't have any use beyond trading it for value with others
Expensive Art I would classify as same way
at least you can appriecate art
Do you not like bitcoin?
This, I agree. am waiting to see whether it reacts the same way to an economic downturn as art or not
What's all the commotion around Dogecoin about?
It's currency can, especially if it's borrowed in a foreign currency
I saw some people on Musk's twitter saying that it's the future currency of Mars
🤦♂️
has no one read stories on country transporting gold to each other in case of war
I've heard that Nazi's stole it during the war
and hid it in caves and compunds
Ever heard of the Nazi gold train?
they went bankrupt due to euro
but every country has their own set of financial conditions
Have you eaten Indian food
"Terrible writing doesn't mean terrible game" Change my mind?
Do you like Indian food.
Why do you keep asking about that?
Just bored
I have
I wish to learn some programming
You pray to the programming Lords
I am not able to learn
What do you mean?
Just keep failing
It's how anyone learns
Keep learning by failing and learning from mistakes
There are many free resources online
Yes
e.g. Youtube, freecodecamp etc
Lots
This discord has a website
learn html/css
that went dark
very
Verily
you have to keep grinding
hm?
What do you mean
hello balding programmer lords
Who ya callin balding?
Balddd
ya'll
alright, Night ✌️ ✌️
Cya
please decode
only low level programmers understand
I know it's binary yet I don't have the strength
I know what I have to do but I don't know if I have the strength
Just do it, pal
yes
Death to the preservation
causes discombobulation
o/
not usually vc active
just after Vestergurkan

yo andy what for a deep voice
who woud play a monopoly on the pc when its not online
how do u can play this game so long
took a 6 month break pre-dec this year
it got bored after a week
44M credits
i mean idk isnt it like always almost the same thing every mission
1m25s
0% damage taken means no damage
You can break a minute lol
3 times for the reward
griff what is that for a game u playing
17
Never got the gumption to go and grind everythign so I've got stupid hours with low mr
soul stealing frisbee
mr doesnt matter to much if u in a good clan
these guns are awesome
something like 122 rounds per second
void missions make them 
last time i played was when they introduced the new void system
but how can u play this so damn long i mean its always the same @proud tangle
i was around mr13 i think
its a fun game
a fun grind
whats the dojo looking like these days
yeah i played it for like a week but i think its not a game for me evenso that it makes fun sometimes
but i cant play this for more than 45 min at ones
fairs
o/
Deimos as of like
2 weeks ago
and there was another new one not too long before that
iC
iC
Seashore warning.
Yike
Caesar
can you teach me how to do the SeizureCipher
bast what melee u using
ඞ
:ok_hand: applied mute to @dusty summit until 2021-03-08 00:11 (9 minutes and 59 seconds) (reason: discord_emojis rule: sent 57 emojis in 10s).
@dusty summit Don't post such flashy emojis please
lol
sports A E, game the in it's
!e ```py
print(' '.join("E A sports its in the game".split()[::-1]))
@proud tangle :white_check_mark: Your eval job has completed with return code 0.
game the in its sports A E
Dan Dan Noodles
Don't be mean, GUY 😄
Yeah, moving on...
Alright, getting chaotic in here...
@dusty summit can you not?
I don't have the power 😄
Yes LX listen to the kid
Oh thank fuck.
Maybe I shouldn't have told you that however 😄

I dunno.
Yeah sorry, this is getting too much... <@&267629731250176001>
uh oh
!tempvoiceban 767902045839294504 1D Multiple reports of unappropriate noises over VC.
:ok_hand: applied voice ban to @dusty summit until 2021-03-09 00:54 (23 hours and 59 minutes).
"left"
Inappropriate noises?
!warn 98206199576539136 Excluding other members in voice by collectively muting them isn't exactly the type of welcoming community we wish to have here.
:incoming_envelope: :ok_hand: applied warning to @errant folio.
Wtf is wrong with you? We muted him because he was being annoying.
Voice issues are reportable to moderators.
So what you're telling me is if someone's being annoying I am not allowed to mute them.
Multiple people muted a user and then proceeded to mock them knowing they were listening. Not acceptable, and it's just inflammatory of the situation. If you have an issue with someone, contact mods via modmail, you don't get to escelate issues with such behaviour.
Lmao okay.
I like how I got muted for 'inappropriate noises'.
Nice to know this server is run like a fucking dictatorship.
Who?
@whole bear is being inflammatory. Does he get a mute or a warn? Or does he not get in trouble because you like him and not me.
They could also just remove the 'voice-verified' role @dense ibex
Not sure how it's implemented.
Great conversation Griff 😄
!tempmute 800123895411638272 1D For your first two messages, this ain't a great start, no matter who you directed the insults to. Please reference our rules and Code of Conduct for future.
:incoming_envelope: :ok_hand: applied mute to @whole bear until 2021-03-09 01:05 (23 hours and 59 minutes).
@dusty summit You should probably reconsider the attitude you're giving in response to being asked to improve behaviour by staff. Have a long hard read over our code of conduct too https://pythondiscord.com/pages/code-of-conduct/
You should probably consider going and fucking yourself. (:
aight
Rip
!tempban 767902045839294504 7D Poor behaviour in response to moderation.
:ok_hand: applied ban to @dusty summit until 2021-03-15 01:10 (6 days and 23 hours).
Put some cheese on the outside of the sandwich 😄 It goes kind of crispy.
anyone able to help me?
@cosmic plume what with?
Hey 🙂 What do you need help with?
my project
im using turtle and cant figure out these directions, or how to implement it.
funny enough, i was looking into cmd module, and there is a cool tutorial on how to make cli for turtle here: https://docs.python.org/3/library/cmd.html
Goodnight!
gn
Nice find!
@errant folio it's easier to get away with posting some things here since it's recommended to be "in context" of the convo. This is a bit of a self-moderating thing. If people get annoyed, they'll report it and we'll action. Also it's about being sensible; mass-dumping is gonna be obviously clear that the channels just turned into meming
So yeah on-offs aren't likely be an issue
@dense ibex all good, but keep in mind if people are muting you, they could have just as easily reported you for annoying behaviour, so try keep to being sensible in future if you recognise you could have contributed to the situation somehow. If you didn't, then there's no worries there. Keep well and see you around.
basically, there is code below module explanation that you can paste and run and have command line for turtle, you input fprward 10 and turtle will go forward etc... i dont know how detailed drawings ylu can make, but its cool to get familiar with turtle module...
@lethal thunder https://python.swaroopch.com/exceptions.html
@lethal thunder another way to trap issues with converting numbers is to use isdigit() on a string
>>> x="32"
>>> x.isdigit()
True
>>> x="32f"
>>> x.isdigit()
False
.isdigit() is a method available to all strings
>>> x="hello"
>>> x.isalpha()
True
>>> x="hello23"
>>> x.isalpha()
False
best of luck!
hello bro
here
have you goit it
no nothing sorry
yeah
how it's going
hmm
how much do you earn opai
hm
hm
I just wanted to know
sorry
hm
i got verified
@atomic willow Are you german?
I ask cause of the accent
me too :D
@atomic willow
@somber heath @atomic willow Are you participating in PyWeek?
what do you thing about it at all?
i think so
it's my first time too
[ERROR ] [Image ] Error loading <./test.mp4>
Depending on your Video core provider, platform, and plugins, you will be able to play different formats.
Hessen
xD
hm
will das net in den chat hier schreiben
I don't have problems of this kind, but my connection is struggeling all day
Has anyone ever written a Discord bot?
How many lines?
what kind of bot?
@somber heath thats true
but
Wait you can split Projects in Multiple files?
*files
oh damn
I have just written 203580 char in one single file and always wondered how other people manage something like this
(3182 lines currently)
wait
i can't hear you
are you talking?
we are talking both
@cursive minnow It's you.
uff, my connection
I'll try to reconnect
I can hear you
I don't want to talk in voice, even when I'm verified, my german accent is tooo bad 😆
my german accent is also the worst 😉
mine is the worst, believe me
yeah
you can talk
you are voice verified
(rank)
you got the rank
germany
me and WuGGu
both
guys, need help, quick question, regarding HTML/JS
any idea why my video tag is able to preload the video file in a static HTML file, but not able to do it through WebComponent?
we can't talk to you if you aren't in voice.


> 
?


