#voice-chat-text-0
1 messages · Page 804 of 1
yeah cool down
well i wanna get his attention
i meant the motivation behind it
the story
well we were buddies but now he blocked me
i told him i helped a 9yr old get out of the sadness cus she is short
why is he so pissed off at that?
and did you appropriately solve the situation?
no he blocked me
what you mean
I meant with her
well i unfriended her
did you explain?
me ?
I dont have a microphone
Really good way to not get the permission, actually
WHAT DO YOU FREAKING MEn by that
As in they do not own a microphone
oh, ok
Not sure what's complicated about that
maybe they broke their microphone?
hey well have a nice day video saviour
?
arent you the person who grants streaming? if its not funny then I'll stop
Or incinerated it because it is broken for 1 year?
Maybe they physically cannot make sound because they are in a vacuum 🤔
I am one of many people who can grant it now
nice
so vacuum sound is 0 infra, ultrasound, right?
well I went from laptop to PC conversion and I dont have a micrphone... so do I make a noise haha? (tree example)
That sucks
Yep, no air particles to carry the sound waves
it also has no vibration
That's the same thing in this case
Maybe we can vibrate the spacetime itself to create sound
Only to make dubstep
but, it cannot get sound energy form?
Bangarang.
Okay, time to try to sleep some more. Will be around in 5ish hours
goodnight
when ever i make a website form will it automatic push to database with connection method only is enough ?
Can anyone answer Questions regarding Python?
sure
?
lyrics lol
its over already?
Only the first part
@zenith radish
@rugged root Hemmy are You awake, my liege?
for data in data_list:
acc_number = data['_source']['account_number']
#optional to convert the acc number to hash value.
hashed = hashlib.md5(acc_number.encode()).hexdigest()
# print(f'Account_number: {acc_number}, Hashed_acc_number: {hashed}')
print(hashed)
return hashed
#
hashed = encodeaccount_number()
hashed = encodedaccount_number(data_list)
Join the challenge or watch the game here.
hashed = encodeaccount_number()```
!e
hashed = encodeaccount_number(2)
@whole bear :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | NameError: name 'encodeaccount_number' is not defined
hi
hemophobia
Apparently it's 'thrombophilia'.
?ailihpomeah
hello
print (r"""
88888
,8888888888888.
8888 d88888b 8888
-88 8888888 88-
8888 q88888p 8888
`8888888888888'
88888
""", end="")
https://github.com/ChibaniMohamed/Polaris?fbclid=IwAR23TxJgU86sBkzfPdtI6Jq8AuJJOjx_qjNqAzf6ebpQS5UL8zaRY5sNpEI
GitHub
ChibaniMohamed/Polaris
Polaris is a Face recognition attendance system . Contribute to ChibaniMohamed/Polaris development by creating an account on GitHub.
gays can you see my app
print (r"""
88888
,8888888888888.
8888 d88888b 8888
-88 8888888 88-
8888 q88888p 8888
`8888888888888'
88888
""", end="")```
!e
for i in range(0..8):
print (r"""
88888
,8888888888888.
8888 d88888b 8888
-88 8888888 88-
8888 q88888p 8888
`8888888888888'
88888
""", end="")
@whole bear :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | for i in range(0..8):
003 | ^
004 | SyntaxError: invalid syntax
!e
print (r"""
88888
,8888888888888.
8888 d88888b 8888
-88 8888888 88-
8888 q88888p 8888
`8888888888888'
88888
""", end="")
@whole bear :white_check_mark: Your eval job has completed with return code 0.
001 |
002 | 88888
003 | ,8888888888888.
004 | 8888 d88888b 8888
005 | -88 8888888 88-
006 | 8888 q88888p 8888
007 | `8888888888888'
008 | 88888
009 |
010 | 88888
011 | ,8888888888888.
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/oxemiquris.txt?noredirect
!stream 696634651875213322
@unborn storm
✅ @unborn storm can now stream.
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
You can use our paste bin
bbl food/tv
Hello
Hey Aurora
hey
Uhm, I have some problems vit Visual Studio Code
And I have no idea how to fix it
or even what is its problem
what's the problem
it doesn't offer me things like append and things like that
It takes 10s to start
Do you have the python extension installed?
Griff sent that to you? 😄
He sent me this the other day 🤔 https://www.youtube.com/watch?v=HMD-bAWfPSw
Yeah lol
last time I didn't have to download anything
But lately my computer is a joke or cursed or idk
I don't think it comes preloaded with python intellisense
the trolleys in wallmart type
You sound normal volume, but I have you on 180% volume, because you were quiet in the past.
can i have video permissions so i can turn my camera on and show my cat
We’ve been hard at work on the next version of Sublime Text. Here’s a little preview while we add the finishing touches: https://t.co/N55sDpBmL7
262
1333
are you a kiusaaja @whole bear
what?
anyone can help me?
when i start my discord bot shows that error
File "main.py", line 21
embed = discord.Embed
curl -F f:1=^<"test.txt" ix.io
Why are we spamming the same image of his avatar?
If you have a Windows service that accesses shared resources, such as shared drives and shared printers, you need to launch a process as a user with "Logon as batch" enabled.
Apparently they slipped in curl into Windows around 2018, that being said, Powershell still aliases it to Invoke-WebRequest Alias curl -> Invoke-WebRequest
@ I Only Know Batch why havent you considered learning any other language besides batch(if you can call it a programming language)?
i have curl on cmd ?
yeah
you know, if you want to use CMD
lol, yeah
@severe pulsar NO
just, import requests 😔
hmm im asking why, could you tell me?
or start up powershell and use invoke-webrequest
pip install requests 😔
or install an async http client
like httpx
@ Rabbit you support the use of serverless right?
@scenic goblet I've superstarified you. Please change your nickname on this server to something less vulgar please.
ah yeah will do
Can someone help me in #help-pear please
Yes
https://www.youtube.com/watch?v=AuMeockiuLs&ab_channel=BenAwad
***if *** you get the time and feel like it, watch this video and let me know your opinions
Every time I try serverless it doesn't make any sense to me and just feels kinda of meh.
links from video:
https://mikhail.io/serverless/coldstarts/gcp/
https://mikhail.io/serverless/coldstarts/aws/
https://mikhail.io/serverless/coldstarts/big3/
#benawad #serverless
Checkout my side projects:
If you're into cooking: https://www.mysaffro...
Hey @honest pier, remember that K Subsequence DP problem? This was my solution in the end 😄 https://paste.pythondiscord.com/gufawayuhu.py
This was the problem: https://binarysearch.com/problems/K-Subsequence
how fast?
63% 
Slightly above average 😄
I think it's technically still pretty bad asymptotically.
Oh right, this is 711 ms, so not much better 😄
Warmup time is generally big problem
@zenith radish is your cat on catnip?
why is the tiger 2H so fucking op
actually nevermind, you can pen it from the front still with a mega cheesy shot
in short stay of the discord https://www.youtube.com/watch?v=AgIggrkBFcU 🙂
When you work from home, you work near all your favorite distractions - your personal computer, game consoles, family, favorite snacks, and more. Plus, home just often doesn't feel like a good "work" spot. It can be hard to get started.
But what if you HAVE to work from home - like many of us do right now? In this video, I'll share a process th...
for data in data_list:
acc_number = data['_source']['account_number']
data['_source']['account_number'] = acc_number```
@pulsar island
@hollow haven https://youtu.be/SsoOG6ZeyUI
; ~ ;
;-;
why does he even mention that it generates smaller file sizes
that's such a dumb critique
well lets now discuss lambda vs function
!otn a you-can't-choke-on-fizzbuzz
:ok_hand: Added you-can’t-choke-on-fizzbuzz to the names list.
LOL
@rugged root welcome back :)
We don’t like lambdas at work
Constants trigger me
i wish python had syntax like javascript arrow functions
!resources @whole bear check these out
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
ok thanks
anything instead of that horrible keyword lambda
I just realized that a nice hug is enough for you remembering it for your whole life...
Like if a hug can do that
What will be a kiss 
Can someone please help me in #help-pear ?
!remind 3h do the thing
Your reminder will arrive in 3 hours!
Greetings folks
Hi :)
That's it Hemlock, I don't know who you are anymore 😛
lol
Radical Sandwich Anarchy 
How he said tortiya it was so good
lmfao the poptart
@hollow haven 
!otn a pedantic-food-discussions
!otn a duck-typing-sandwich
:ok_hand: Added duck-typing-sandwich to the names list.
!otn a pedantic-food-discussions
:ok_hand: Added pedantic-food-discussions to the names list.

should have been duck-typed-sandwich 😔
!otn help
!otn r duck-typing-sandwich
!otname
Can also use: otn, otnames
Add or list items from the off-topic channel name rotation.
Subcommands:
!otname add <name>
Adds a new off-topic name to the rotation.
!otname delete <name>
Removes a off-topic name from the rotation.
!otname forceadd <name>
Forcefully adds a new off-topic name to the rotation.
!otname list
Lists all currently known off-topic channel names in a paginator.
!otname search <query>
Search for an off-topic name.
!otn d duck-typing-sandwich
:ok_hand: Removed duck-typing-sandwich from the names list.
this conversation is amazing
@hollow haven Can you please do !otn list?
!otn a duck-typed-sandwich
:ok_hand: Added duck-typed-sandwich to the names list.
Define numbers in terms of a linked list
it's a surprise :3c so no

:O
What is the discussion about?
Streaming Now on Disney+ – Sign Up at https://disneyplus.com/
Your favorite chef - The Swedish Chef - shares his recipe for popcorn, or as he refers to it "Pöpcørn."
Subscribe for all new videos from The Muppets! ► http://www.youtube.com/subscription_center?add_user=MuppetsStudios
Watch more from The Swedish Chef ►https://www.youtube.com/watch...
Honestly, I just don't know anymore

lol Where did it start?
holy crap there are so many people in voice chat XD
So.... It started with a question about the differences between pop tarts and hot pockets
Then it went to "what is a sandwich"
And now we're here
Currently doing a bit of contrib work for the PureScript compiler; they do squash merges making it easier to catch up
Wow I thought this would be good stuff about python but this is just uh oof
hold up. a taco salad is not a taco
^
everything is cake don't forget
you ever have a softshell taco salad? NO. lol
do they delete branches?
daaaamnit
I'm in a very shit-posty mood today. So y'all are dealing with me in voice
That's.....
aww cute cat
Something I didn't want to hear....
I'm Mr. Hemlock, and I approve this message
hello
hi
.topic
oh wow thats actually a pretty cool bot feature
Learn about other important features included in PyCharm 2021.1: https://www.jetbrains.com/pycharm/whatsnew
0:14 - Faster indexing
0:47 - Collaborative development tool: Code With Me
0:57 - Code With Me: getting started
1:24 - Code With Me: audio and video calls
2:20 - Code With Me: follow participants and full sync mode
2:45 - Code With Me: ...
.topic
wack 🤔
lmfao
Hemlock is a great community builder
voice gating
locally for linux
users 😄
Still terrifies me
i feel that because @ Mr. Hemlock joins more often, the conversation quality as @ kutiekatj9 just said increases because:
- He makes amazing jokes
- He starts great conversation
- He's an Admin, 'nuff said
admin power lmao
This channel is dedicated to the tech of at-home, professional voice over. I review microphones, studio equipment and help new voice actors set up their studios from hardware to software so they can make the next great recording!
Do you have a product you'd like me to review on this channel? Here is everything you need to know:
https://geni.us/...
making a 3rd point sound like a kiss ass 🙂
admins are cringe
lolol
hot take
not wrong if cringe means having fun =P
🤔
cringe usually never means that but yeah
Person 1: "you're bad"
Person 2: "yeah, if bad means good"
Person 1: 😑
Pretty sure that's just me
l33t gonna 33t now
Command raised an exception: RuntimeError: dictionary changed size during iteration
If I am getting an error but the code works perfectly fine. Should I change it lol and try to figure it out.
Is microsoft going to buy Discord?
Awesome
happy birthday!
@swift valley Happy birthday and helpering!!!
Well, in 2 months :P
why
?
dict == unordered_map -- C++
Happy Birthday!
One year of quarantine
bye
But it works. So should I do anything about it lol
!e
d = dict(a=1, b=2, c=3)
for k, v in d.items():
if v == 3:
d.pop(k)
@honest pier :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | RuntimeError: dictionary changed size during iteration
Can't decide between messing around with Vercel and my site or this PureScript feature I'm working with
can we hear kutiekat's girl voice
But web dev is growing to me
-_-

lmao

nooo come back to systems

web dev, more like bad dev
I'm gonna start pushing for server-side rendering
weeb dev
Pretty hard
😔
Static is the future
saves gif
why render serverside when you could just render not server side
client side is better imo
Wasn't the appeal of client-side rendering less work for the server?
And UI/UX
less load on servers
Right, right
I'd say UI/UX drove it more then server load
I really do have a tendency to gravitate towards obscure stuff, even in web
back!
bye!
I'll be right back
Minecraft crashed while in a skywars game 




guys should i learn c# to make games or java?
r6?
USB 3 and it works!
Yeah
cool sdr
I have a good idea from time to time
@whole bear Your mic is coming in really quiet and mumbly
Possible
Primarily why I want to move in the first place, getting some sort of SSR in Haskell was a bunch of work
Vercel is a different type of work, but at least it's easier
@whole bear Can you turn on echo cancellation? And your mic is still really garbled
pretty huge amount of dependencies
No no, you're fine. Just letting you know, that's why people are talking over you
Ill also increase audio threshold
Oh shit lol
microsoft servers run on linux kek
as long as linux can't run games
I'm not switching
then switch because it can!
You can play games on linux
look at steams proton
It may just be easier to type for now, Mei
or wine
It's really hit and miss
I don't remember if the client is called photon or proton
Better question is why?
Proton
ok, if I have to put up with a lot of elbow grease to run some game on linux
I don't wanna
I'm playing to reduce stress
With WSL2, you can do dev work most people need on Windows
There's one client called photon too
does this proton thing reduce performance for games?
like is it some virtual env thing?
Open Source Software for running Windows applications on other operating systems.
It's supposed to be a socket layer
Or at least much more performant than a standard VM
There's no full system emulation
Yeah, at most it ranges from 85% to 99% preformace for me
And on any good computer you don't lose much
For sure takes some tweaks at times
this is good enough for me
I can kill dragons, chickens etc and get rid of my stress
HAIL TOD
hemlock i have another Kemal but with two "a"
true
this guy said it, in probably the work written below his name
I mean.... it's entirely possible that it's someone else with that name rather than someone mimicking you
more fun now
That's one way of looking at it
so, on Linux, all I'm getting from the antenna is noise
lol
Back to windows we go
you playing with antennas? cool
it's an FCD Pro+ 2.0, using the default telescoping antenna
brb, restarting in Windows
is this it? @gentle flint
"Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo" is a grammatically correct sentence in English, often presented as an example of how homonyms and homophones can be used to create complicated linguistic constructs through lexical ambiguity. It has been discussed in literature in various forms since 1967, when it appeared in Dmit...
☝️ that's the weirdest coolest thing I've seen this whole week
yeah, they cover almost all the basic animals 🐃
:incoming_envelope: :ok_hand: applied mute to @wise glade until 2021-04-08 17:06 (9 minutes and 58 seconds) (reason: discord_emojis rule: sent 44 emojis in 10s).
!unmute 735485653902557204
:incoming_envelope: :ok_hand: pardoned infraction mute for @wise glade.
Come on dude, you know that'd be spam
that was something 😂
ok, now I know
Hemlock, are you still following up with your C#'s revision?
C-- (pronounced see minus minus) is a C-like programming language. Its creators, functional programming researchers Simon Peyton Jones and Norman Ramsey, designed it to be generated mainly by compilers for very high-level languages rather than written by human programmers. Unlike many other intermediate languages, its representation is plain ASC...
cause, Its super hard
I'm crying now 😭
specially that webapi thing
India has lot of dotnet jobs
so I'm gonna follow through
AspNetCore is surreal in C#
C# is statically typed strongly typed
ok, Im gonna try that gif here
ok @rugged root ? for your reference?
if you didn't see it
I think its in my favorites here
won't do it, unless you reply
ok, I'll do it anyway
ok, that didn't go as in off topics
5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.
A bad conversation should be called a conversation. Con-verse-ation. A good conversation should be called proversation.
you're sarcasm is on point @rugged root
!doc hashlib.blake2b
hashlib.blake2b(data=b'', *, digest_size=64, key=b'', salt=b'', person=b'', fanout=1, depth=1, leaf_size=0, node_offset=0, node_depth=0, inner_size=0, last_node=False, usedforsecurity=True)```
how can I verify my voice
!voice This should tell you what you need to know
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
thank you
hey griff 👋
suh
lel
!e
from itertools import product
from string import ascii_letters, punctuation, digits
word = "Hup45eyP"
for t in product(ascii_letters + punctuation + digits, repeat=8):
if word == t:
print("yay!")
please, can you speak turkish?
@honest pier :warning: Your eval job timed out or ran out of memory.
[No output]
😔
@ bitter public static void main what was the inspiration for your nickname?
legitimately or...
dont doubt it
you have a good sense of humour
so thats a plus
why mic is limit for some use
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
We had a lot of what I call hit and run trolls. Essentially people who joined the server, joined voice chat, screamed, and then left.
!infractions 537553907363086343
537553907363086343
!user

Created: 4 years, 10 months and 20 days ago
Profile: @honest pier
ID: 182894631921516545
Joined: 8 months, 25 days and 1 hour ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764802720779337729>, <@&267630620367257601>, <@&799041111573266503>
Total: 2
Active: 0
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
oops
!user

Created: 5 years, 6 months and 10 days ago
Profile: @rugged root
ID: 98195144192331776
Joined: 2 years, 11 months and 5 days ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764802720779337729>, <@&295488872404484098>, <@&585529568383860737>, <@&267630620367257601>, <@&797891034906099752>, <@&587606783669829632>, <@&277914926603829249>, <@&267629731250176001>, <@&807415650778742785>, <@&267628507062992896>
Total: 18
Active: 2
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
uh oh hemlock is a naughty boy
heya, i'm good 😄 trying not to play some videogames so i'm here to distract myself
how have you been
do
!infractions 537553907363086343
@honest pier
Here's your reminder: do the thing.
[Jump back to when you created the reminder](#voice-chat-text-0 message)
.cowsay
Thanks!
@fallen geyser hi
ban him for impersonating admins
yea
hi!!!!!!!!!!!!!!
lol
after being in vc for this long i think ive found the prime time(for me) to join vc from now on
the optimum, when conversation is in full swing and its quality is highest
Mr. Hemlocks' Dad
there is only 1 Mr. Hemlock
it was a joke
yup, i was dumb to know that 😅
nah you're not dumb lol
thx
😗
very similar
the one I'm using is v2.0
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
@honest pier hello
hi
its 23 pm for me how is for you?
is the only way i can talk if i am on the server for 3 days?
3 days, 50 non-deleted non-spam messages, and 3 blocks of 10 minute activity
The Montessori method of education was developed by Italian physician Maria Montessori. Emphasizing independence, it views children as naturally eager for knowledge and capable of initiating learning in a sufficiently supportive and well-prepared learning environment. It discourages some conventional measures of achievement, such as grades and t...
what's wrong with nationalism lol
vsepr 👎
like me !
lol all the people in rotc act like they're so much better than everyone
seniors taking like algebra 1 l m f a o
reserve officers' training corps
that makes sense to me though, @rugged root . we can't waste our brains on dangerous jobs and risk them dying to some work accident
that's the problem though, we don't have infinite time and patience to give to someone, especially not a teacher/professor @rugged root
ok but diamonds are a huge scam
does it derive from vision? isn't the base 'revise'?
where does revise come from lol
i memorized the codon chart lol
and promptly forgot it after a year
i still remember the 56 OLL algos and 30ish PLL algos for solving a rubik's cube with cfop
^ that's not english
😔
it just takes practice lol
at one point i was practicing cubing for 30 minutes a day
i'm a lot lot worse now since i'm out of practice, i'm up to 20 seconds 😔
no lol
i do ciphers though
like aristocrats, those are fun
it is, but it's also a type of cipher
it's a monoalphabetic substitution cipher
you encrypt by just replacing one letter with another letter
so it's a 1-1 mapping
no, caeser cipher is simply a shift
oh that's called a vignere cipher
those are a pain
to crack by hand you need to write out this giant chart 🤮
🖕
i typed :D and it came up
:D
👋
l m f a o
olive garden and good in the same sentence
@terse needle #help-falafel
🧆
🥝
why shouldn't they be svg lol


:D
hi 🙂
any site is going to have your ip if you visit it lol
what about home address?
no, it's not specific enough
the accuracy depends based on how big your city is though
it may be much more accurate if you're in a tiny tiny place
the ookay
idk
during protests around me
my address wouldn't show up on the gps
so i thought that was strange
it's not possible, a function MUST return something @pastel plover
@pastel plover show code
no, my code is shit
😔
i know :), i'm giving an example of something wrong
well no, i was wondering if he was doing something like that
just keep practicing, try codewars or codingbat @pastel plover
!voice @high nebula hey, there's no way to get around voice verification
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
really sorry!
no worries
👋
there are children here :/
Who lol
why would you want to eat mermaids lol
; ~ ;
hardwood floor reveal
How’s everyone doing?
Burnt out
Why?
Got two back to back final exams next week lol
Rip for what class, programming?
Oh it's for Uni. One is for Calculus and the other for Economics.
Oh gotcha
can we just switch topics completely
Fr
Not so far. If I happen to, I'll let you know.
big O describes how the runtime of a program increases as the input size increases
no headset, bad quality mic + echo would happen @graceful grail
i have very little programming/coding knowledge
i'm fast enough ¯_(ツ)_/¯
fuck jellyfish 👀
all my homies hate jellyfish
@solar heron you like calculus right? big O should be pretty interesting to you. it's basically classifying functions by their rates of growth
idk
😔
i have been messing around with differential geometry
i am not in school
Why not?
what is this, honesty hour :P
Thanks bud (:
i think you call the game 9th cloud
where each cloud gets to be more positive
but we don't have 9 clouds 😦
cute 😢
check out sympy @solar heron i have no xp with it at all though
hai
😄
@graceful grail wdym everyday lol, i've had the same themed name basically since i joined the server
that wasn't me lol
i'm not everyone ¯_(ツ)_/¯
❤️
:/
@graceful grail ❤️ ♥
Code together live on max counter test, a Python by dehi, with Repl.it multiplayer
lst =[]
new_in = 0
while new_in != "done" or new_in != "Done":
new_in = input("input numbers : ")
lst.append(int(new_in))
maxvalue = 0
for num in lst:
if (num >= maxvalue):
maxvalue = num
print(maxvalue)
lst =[]
new_in = input("input numbers : ")
while new_in.lower() != "done":
new_in = input("input numbers : ")
lst.append(int(new_in))
maxvalue = 0
for num in lst:
if num >= maxvalue:
maxvalue = num
print(maxvalue)
lst =[]
while True:
new_in = input("input numbers : ")
if new_in.lower() == "done":
break
else:
lst.append(int(new_in))
maxvalue = 0
for num in lst:
if num >= maxvalue:
maxvalue = num
print(maxvalue)
def restricted_input(allowed_strings, prompt='', error_prompt=''):
while v := input(prompt) not in allowed_strings:
print(error_prompt)
return v```
for num in lst:
if num < maxvalue:
continue
else:
maxvalue = num
print(maxvalue)
!e py print(max([1,1,2,3]))
@somber heath :white_check_mark: Your eval job has completed with return code 0.
3
lst =[]
while True:
new_in = input("input numbers : ")
if new_in.lower() == "done":
break
else:
lst.append(int(new_in))
print(max(lst))
9.4 Write a program to read through the mbox-short.txt and figure out who has sent the greatest number of mail messages. The program looks for 'From ' lines and takes the second word of those lines as the person who sent the mail. The program creates a Python dictionary that maps the sender's mail address to a count of the number of times they appear in the file. After the dictionary is produced, the program reads through the dictionary using a maximum loop to find the most prolific committer.
name = input("Enter file:")
if len(name) < 1 : name = "mbox-short.txt"
handle = open(name)
names = []
namecounts = {}
for line in handle:
storage = line.rstrip()
if 'from' not in storage:
continue
else: storage1 = storage.split()
names.append(storage1[1:2])
for name in names:
namecounts[name] = namecounts.get(name,0) + 1
maxvalue = 0
maxkey = 0
for key, value in namecounts.items():
if maxvalue < value:
maxvalue = value
maxkey = key
print(maxkey, maxvalue)
syntax error bad input on line 13
for 'each element' in 'this thing'
What do you want to know?
use shift+windowskey+s for a quick snippet for a picture to post here
idk what that is :\
you took a print screen type image, a snippet is a section of the screen. it will show up larger in the chat
try it
lol, "im not dumb"
that's using shift+windows key+s
super duper handy
like quick isolated screen grabs
better?
perfect!
I don't have permission to chat with voice
😦
Ill help with your code jaaaaaaan
beware I suck tho
sure
go to voice chat 1
im there
the chat channel
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
import math
math.dist``` In 3.8(?) and later.
!e print(import('math').dist.doc)
@past pawn :white_check_mark: Your eval job has completed with return code 0.
001 | Return the Euclidean distance between two points p and q.
002 |
003 | The points should be specified as sequences (or iterables) of
004 | coordinates. Both inputs must have the same dimension.
005 |
006 | Roughly equivalent to:
007 | sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
huh, vector math
I ended up writing my own dist, prior to it being in math.
import math
def magnitude(p,q):
'''Accepts two numerical coordinate iterables of equal length. Return the magnitude (distance) between the two points.'''
return math.sqrt(sum(abs(b-a)**2 for a,b in zip(p,q))) ```
I was chuffed at how similar it was to the example in dist.
You don't need sqrt when you can **0.5
Waste of an import statement
!e print(import('math').dist([0]*4,[1]*4))
@past pawn :white_check_mark: Your eval job has completed with return code 0.
2.0
@somber heath
i deserve a burrito from the gas station after figuring that one out 😄
brb
now what's the python version?
go ahead
update: i am alive, woke up about 3 hours ago
Someone breathed. I know not who. Forgive me for not saying "Hello!" to you.
its this opal
https://ducks.vcokltf.re/duck/your_username_here
I now know!!!!!!!!!!
I am currently doing homework rn
stupid random chicken
keeps ruining my mic
I might mute for now
Is very lud outside @somber heath I might mute bc my voice keeps getting interupted by some random noise
ok
thx
hi
hi
good morning
Good afternoon
oh hahah
its afternoon here
lol
I'm asian
probably in a timezone where its afternoon
oh so youre a good programmer right?
not as good as opal
ok
I'm a decent generalist.
hold on i got get a shit brb
Charmed.
I hate both of you.
Because yes, I needed to know that.
ok im back
I make original designs for my character xD
sus
when the character design is sus
lmao sorry for meme
it seems there's a bug in my game
display_surface.blit(bugLOL,[400, 300])
It keeps sowing up!
The error is from that code xD
lmao sorry I'm bad at jokes
:p
it was nice
but it was hard to clean my popo
ok eat choclate and bananas
My tounge is very sensitive
banana makes my tounge itch
:p
oh ok
yk nothing is worse than banana soooo... i dk
bruh
just use ur keyboard like in the 70s
Right
wait
kinda cool ngl
hello
i fell of lol
beuh
i dont have blocks in my game but in minecraft i like the nokia block
some random ytber made minecraft using python
whats that you're coding?
because i am learning pygames
I am making a game
what is it
3d 2d ?
tomorrow i will beable to talk in voice chat
oh nice the bed looks like in minecraft
i can not help you i am bad at coding
lmao
as i said i am learning
like 4 months and i am still bad af
hm
i like rice with cocked tomatos
I've been here for 6 months
and the 4 months I dont know how to use if/else or elif
I was a dumass
then hope came
dani
haha ok
what music?
why dont u put some spaces in the code maybe it has a interupt
what ide are you using
spaces are used for function and if and elses and elifs
bro i have a question
ye?
Just do this>
@wicked venture OFF
:spam
start
goto :spam
for i in range(0)
pyautogui.click(519,797)
pyautogui.typewrite("hello friend")
pyautogui.press("enter")```
that chicken is making so many noises -_-
AAAAAAAAAAAAAAAAAAAA
kill it then
fk the ckn
I will remove its beak
and it will be the evilest thing that I've done to a life form
I put gas on an ants base, burned it
yikes
feelin like devil himself
I saw my bro fapping on the bathtub
damnn your mic xD
mic go B R R R RRRRRRr
finally some peace...
and thats all done in batch?
yes
cool
nice
000000010110001011011110110000000
011111011000000111001111110111110
010001011101010000001010110100010
010001010010011100111001110100010
010001010011111100101001110100010
011111010001011010110000010111110
000000010101010101010101010000000
111111110110110110000011011111111
011101000101011010110000100000110
101110101100111000011000101110010
010100000111100011011110101110101
110101101101001101100101000111111
010011010101001101111100010010110
010000101100110110000111001011011
110100011100010010010010000101101
000001101100100000011010100011111
001000010011011110000001010100101
001100100001111001010100011110001
010001001101001000110000001010101
100101101101001010010011000011101
010110001010100111000111110000111
011010111111011100101101110110001
111100001110010101001010001111001
111000100101101110000001100100100
000101001100100000011001000000101
111111110100100000111000011101011
000000010001110011011111010100111
011111011110110001101101011101110
010001010110000101101101000000110
010001011001001111000110110000001
010001011011010011010011100000111
011111011110001000011010010111111
000000010101111110100000000110110
uh...
