#voice-chat-text-0
1 messages ยท Page 765 of 1
anyone know how to do websocket integration into a script
i do
hey
how r u doing
i am doing good thx for asking
i am
its gonna look like im spamming lmfao
yh i dont rlly type here
for what?
hows that fair
it isnt my fault no one else is typing
me
yh but what if they mute me
@grave osprey
Competitive Sniping Montage
(Clips from $8s/Gbs/
Ranked/UMG/LAN) PlayStation 4
thanks for watching!
Get custom modded controllers at KongkerGaming.com
Music by e-dubble
bc its funny
might wanna keep them not on
i might die of laughter
wtf is that song
in the montage
pls next time put a better song
dude the song is so bad
i rlly like the facial recognition software code bro
ur welcome friend
yh that will be a good idea
great code here man
btw y do u post blank repos
thats pretty pointless lmfao
bc im not a weirdo
do u guys watch anime
we all cant be like you
dono unmute
int=int(input())
no
come on dono
starting to think ur a very very old man
does this server host movie nights
bc id watch some movies here ong
y wouldnt they have a movie night
its a fun interactive thing
!e python int = 5 num = int('6') # num = int(input()) print(num)
@somber heath :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | TypeError: 'int' object is not callable
u got error haha
Intentionally
no not intentional smh
dono is a expert coder
let him teach u ong
no i mean expert coder
get off ur high horse
num=int
num+=1
print(num)```
int = 5
num = int(input())
print(num)```
This is why we don't overwrite builtins.
kivy
@somber heath https://www.quantamagazine.org/
sorry my mic wont work
hello can someone help me
with
@grave osprey help this scrub
I just want to know how to find the index of an item within a file
and store it within a variable
there u go
gonna go now ttyl
with open('text.txt', 'r') as file:
data = file.read().strip().split('\n') #Assumes one entry per each line consisting of only the intended entry```
Just never store passwords that way in the real world.
Hello
what up python coders
use a proteced exel
Never store passwords.
Only ever store hashes.
That way, if your user database gets exfiltrated, they can't use it to log in to your system as all the users.
yeah that make sense
Yeah
!voiceverify
!voiceverify
import random
message = bytes(input('>'), 'ascii')
key = bytes([random.randrange(256) for i in range(len(message))]) #or longer
encoded = bytes([(message[i]+key[i])%256 for i in range(len(message)])
#Not cryptographically sound as implemented. ```
@somber heath
Yeees?
str.strip or str.rstrip will do it.
Thankuuuu
Mm?
Readlines is probably not what you want to use, there.
But. Assuming you have a clean list of usernames, absent newlines...
yes...
['Apples', 'Pears', 'Grapes'].index('Pears') == 1```
333333333333333333333333333333333**200
!e
print(333333333333333333333333333333333**200)
@cloud stratus :white_check_mark: Your eval job has completed with return code 0.
3764861949599026419883421890010363268580431171597942571572346399205524247440050668921392615772832694777876581545230362519216816021700977025504763092532786944864846506379838348327473087936170236026225322800520458088856348584774370516941157533331602021738376535611795910399113625878619275972070656317316075078248115796443768808863399452502192490191057587674012199608939921289042201069602166951489497270695078950650687223373659915058357447094346540381951717915712346930325928553335449267516614845152719966712103605549848803916268599700391990112529776431127853736353775596009434264672235801082324137178578728858070367817814911897561020944296280576647601054165209008051887103396224105966467896499734535134357347565225588998026659793004481301869130526518060685030087275760482039917569598193598812996865030706373114349953782391914008405936646738830479813276556275376062166163263248949672693609357736993628805022851792871041733891984683850766314880793037454676987986638301911417099626327418217005955630621306
... (truncated - too long)
Full output: https://paste.pythondiscord.com/debeqekuxa.txt
Hey
Heya
come back, I have
Hey @somber heath @amber raptor, how is the covid situation in your cities?
That's nice. Coz, its spreading again rapidly around here in India.
I have done that as well...๐
It's a sad thought
what location is this vc set to
But it's much better when you try it
@somber heath https://youtu.be/7xUYbI64QHI
Subscribe for latest content every week: http://bit.ly/Gruenhq
Gruen on Facebook : https://www.facebook.com/gruenhq
Gruen on Twitter : https://twitter.com/GruenHQ
Agency: 303
Sometimes taking a humorous approach to The Pitch creates nothing more than a skit, but when the heavy metal afterburners kick in and this ad invites you to lay waste to ...
!server
Europe
ohk, I wonder why I was geting 300+ ping
Demons
europe is about 150 ping
!voice @hexed quartz If you're wondering why you can't talk....
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Evenin'
Hey bud
Gotta get some snacks and I'll hop on
Sounds good
supreme cucumber
is here
@icy axle 

I recently got the gurkan crown
I stole it

hi
Am back
I feel pure happiness about that
just listening in

halo o/ pure
its a nice face
O @rugged root is that the computer you were talking about a few weeks ago or it was earlier I dunno
Never heard of that ๐
I've heard
That's what I know ๐
O that looks good
Yea ๐
Those m&ms ๐
They look so similar...
mnm > smarties
is that momo from twice in your pfp @swift valley
the chocolate smarties look very much like brownies on the inside
Ye
Actually more like fudge

pocketss (sic)
Hey @somber heath
I'm takin' a break from my site from now
Too burned out 
I deployed yesterday or so https://purefunctor.me/
chocolate toast
Choast!
Heresy 
Toasted chocolate chocolate chip muffin.

It's a shame I only made two slices
did you know that when it rains it pours
People die when they are killed
so is it murder
Every 60 seconds in Africa, a minute passes
yea
What's up with Discord blowing up my CPU usage
I've been starting to prefer the browser version more and more
Meh, I'll try and install Canary
Suicide is a crime in some parts of the world. However, while suicide has been decriminalized in many western countries, the act is stigmatized and discouraged. In other contexts, suicide could be utilized as an extreme expression of liberty, as is exemplified by its usage as an expression of devout dissent towards perceived tyranny or injustice...
makes you a felon for life ๐
brb
Actually it said historically idk if it still is tho
green means its leagal
Never mind I lied.
i feel like we could get in trouble for talking bout this
@whole bear It's fine since it's in a general like... legal perspective
Actually do I want to know?
you guys wanna play scribble
That's cool
someone is falling
So yeah I'm on Canary now lol
Haven't tried it. How does it work?
This server has made me love using these ๐
@dense ibex
ez
Just hit control shift i inspect element and get the url for it
Alright
do you know why that would do that tho?
Hello
Hello I am ModMail
Lmao
The nitro booster role making it blue makes it look so legit lmao
do @ modmail
there's 2 ๐
not anymore
you draw something hinting towards a word and the others try to guess the word
is there a channel for project ideas?
Sure, send a link
I remember someone mentioning it
Sorry if it sounded like my computer was leaving and rejoining over and over
Didn't on my end
I dunno if it was or if it was just client side but my internet is acting wack..
ok good
we need more ppl
@whole bear Come on you know that is lies the earth is flat /s
I would if I wasn't at work, Ice
np
not me
@rugged root What would've happened if we were in the solar flare?
Whole lot of dead
Like how much like extinction?
๐ค
Total, I would assume
are we gonna be the bad guys in the universe ?
....
Thats actually terrifying that it was that close
a week??
Thanos
How long ago did you say that was?
Did you make that yourself @icy axle ?
Hello folks
Hello
halo o/ @balmy nymph , how is it going
Heyy akarys
nvm
Pretty fine, and you?
What about heat dissipation though? (To stop your massive computer from frying)
good too, got 3 holidays in a row so kinda relaxed
lot of these types of news coming out of govt. agencies
Niiice
Wdym?
my uni works only 2 and half days a week offline
due to covid now
before it was all day online classes
for 8 hours
damn 8 hrs
got govt. confirmation on existence of aliens
I'd throw myself off a cliff
yes online classes for 8 hours
The bigger deal with soloar pannels is effeincy as it's still much less than 50%
still tho
I love this discord server, fellow nerds like me ๐
๐ต๐ต๐ต๐ต๐ต
you have to get that power back too no ??
no no, you have to get the power back on earth!
oof
I guess you could make a spatial elevator, but for electricity
now there's an idea
I was just saying that with the current levels of efficency, it makes more sence to concentrate on improving that then trying to send it to space
You send batteries back and forth @rugged root
๐
with rockets
https://skribbl.io/?0czheg2tUfaX
we can try 1 game if you wanna see how it looks @icy axle
who ever wants to join can join
"tap in" how though?
@whole bear What are we talking about ๐
did you join @icy axle
Yep
name?
I'm a doorknob, it seems
oh okay ๐

No clue how/why
@jaunty falcon
you can change names before game
what's the timeframe we talking about here ?
there is no timeline
๐
lol what
There is only zool
wow yea thats uhh thats something
LLOL (Litterally laughed out loud)
kind of what a blackhole does ?
no because gravity
You can't have perfect empty space
@rugged root Vsauce made a video with that same idea w/ a space straw
... gravity
Click to subscribe for free! http://bit.ly/POIaN7
Links to learn more and sources below.
http://www.twitter.com/tweetsauce
http://www.facebook.com/VsauceGaming
Music by Jake Chudnow:
https://soundcloud.com/jakechudnow
http://www.YouTube.com/JakeChudnow
Great video from Veritasium about the WORLD'S LONGEST POSSIBLE STRAW: https://www.youtube.c...
Same idea
A lift though...
you think you will think of something unique
Lmao
It is one of the law at the base of quantum sciences, you can't have a perfectly empty space, tehre will always be something
A space elevator is a proposed type of planet-to-space transportation system. The main component would be a cable (also called a tether) anchored to the surface and extending into space. The design would permit vehicles to travel along the cable from a planetary surface, such as the Earth's, directly into space or orbit, without the use of larg...
Earth rotates
Just like you can't have a perfectly regular surface, or an even temperature
Love it though
What about a space cannon?
yes - geosynconus orbit
You launch something into space using an explosion
A very bad idea, in short
Scientists think it has happened before
Your basically proposing turning Mars into Australia
A manhole cover once got shot into space scientists believe
(Australia used to be a penal coliny
I found this:
https://www.youtube.com/watch?v=NSeL5c65v-g
Then again it's Half as Interesting so I dunno how trusted this source is.
Learn with Skillshare for free for two months by signing up at http://skl.sh/hai23
Get a Half as Interesting t-shirt: https://standard.tv/collections/half-as-interesting
Suggest a video and get a free t-shirt if we use it: http://halfasinteresting.com/suggest
Follow Sam from Half as Interesting on Instagram: http://Instagram.com/Sam.From.Wen...
๐
It was from a nuclear blast
@rugged root Yea but that being said joining this VC gives us access to fellow nerds.
how was it @icy axle
Bread sticks not needed.
That's fun
yea
guiitar
but my dispenser was terribleeee
lmao yea
Is there a channel dedicated for project ideas? I'm bored asf ;D
there was
but not rn
!projects @jaunty falcon We've also got this
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
Ahh alright I'll check it out
Whenever I got a question I need to just find a single word to sum it up and add an ! prior to it and there's prob a command
So it a specific word?
Your Collage boards are privatised?
God damnit, I hate to do this guys, but anyone here has any actual idea on cryptocurrencies, not from articles but like what is the actual code behind this.
hello @rugged root ,can you come to code help 0
lol what ?
"tight fist" ๐
do you have any music bots on this server??
We do not, as they typically break ToS
has there been any case of discord servers getting banned ?
Iโm waiting for Music bot purge day
So I have found a course online, someone suggested for algorithms, wanted opinions or if someone has any other links
Computer Science 61B: Data Structures
one day.... maybe
noooooo
hopefully...
you monsters
Iโm just wanting for Reddit popcorn
I didn't know there was an algos channel, my bad
!server
I have messed up my mouse scrolling
How'd you manage that?
@sour peak What's your question? It's better to ask it first so we can have an idea how to help
Type it out
may I plz have streaming permission, I need code help
@shrewd hawk Im sure you could buy a bomb off Facebook Marketplace if you wanted.
oh god please don't even joke about that
sometimes I use excel as a database :3c
plz, my fbi agent is already pissed at me
I don't know if you can in this Code/Help vc but I'd go in there
You monster
I might even use sqlite ... ON PROD
yea but icegurkan said to ask hemlock for permissions
(don't let joe see, he'll demote me)
i use sticky notes as my IDE
Ahh
im gonna go back to code help
Lmao image I use minecraft book and quills then retrieve the data using external programs...
you should try MS Word. lel
food time
nope, I expect it from them
i take my class notes in minecraft
I code in minecraft using binary (block / noblock)
Yo I got this bs python assignment and itโs very simple if you know what your doing, I donโt. Anyone wanna help me out ?
@whole bear I take my notes on book and quills on a hardcore world
telling your teacher you lost your notes cause you died, would be a cool story though
Luna I need some code help dawg
Ima start doing this
I am not that good, but ask in code help, someone here will
Ight
That... Okay that'd actually be really cool. Impractical, but pretty cool
Me, usually...
it's alright, you will get through this
I perfer MacOS but apple is well apple.
I will say, if I could get a laptop just for browsing and relaxing, I'd be more than happy with a macbook
It's a great user experience
why is the clion available only for a 30 day trial period ?
yeah, I currently have intellij
didn't know that
Yeppers
And I think you have other options with a student license? Might be wrong about that
yeah, it's hard to meet the requirements from where I live.
what's the difference b/w vscode and the vscode ide ?
like sublime, just that it has plugins
Yeppers, although it does come with some support built in
Although I guess sublime does as well
hey
hi
how r u big papi
can never get used to how people greet each other ๐คฃ ๐คฃ
nothing much just in my graphic design class
yo bro, that's totally rad
rager lol
Rabbit: I'm gonna get in trouble for this..... continues on anyway
He'll have that on his tombstone
y would he get in trouble for what hes saying
I'm struggling to find a way to merge Elmo and yolo
yelmo
Elmo looks like he took something before that picture was taken
I like how matter of factly rabbit is about these things
Released On October 1st, 1999 In Theaters
tell me this aint the best chase scene of the 21st century
now that's an ambitious fellow
in the words of lady gaga, "it's money, honey"
im trying to learn browser lang
depends on the size and the industry
you MEAN HTML, right?
or maybe it's javascript...
LMFAO

js
wow, microsoft cloud really doesn't get the press as much as aws does
Itโs a boring cloud
Microsoft has never been cool hip company
what is aws credits
halo o/
until duo came in
It's a money printing machine, if I understood correctly
AWS was first cloud so it was hot and GCP is Google so itโs known
what about snowflake, like what does it provide ??
Sure boring can print money
My company is my puppy...
wheres the party
congrats
Like McDonalds is boring but prints money
jealous much !! ๐ง
somethings rising and it isnt just my K/D this time
nothing much bond yields puked today @amber raptor
time to sleep, gn people
My interest rate is like a hair under 3% iirc, pretty excited about that
It's hard to say, given the govt. stimulus
yeah. the economy is a much larger scope
that's labor, natural resources, capital, etc.
but if those feelings go down it affects the economy
absolutely
ooof.
lOL
i'm just laughing at the reaction of everyone
Huh, hadn't heard of west elm
boojie
it's ok. we can still dream
why are they harvesting the treeS??
๐ณ why is this called a delicious tree?
same thing




damn the fact checking stuff is just awful
that and cancel culture.
really hard to blame it on someone, everyone does it
so isn't everyone to blame? ๐
just people getting angry on twitter
yeah, but that is a fundamental human nature, we can't just blame people for being people
lol what ?
yeah
no, but you can blame people for being ignorant. there's a difference between not knowing and choosing not to be enlightened.
oh this site is the best
with words that aren't actual words
but resemble words/patterns
I dictate
type(@hoary inlet)
dumb
Kinda Cringe, __init__ bruv
it isnt cringe
i was confessing my love
ong
then how am i supposed to get over my ex
๐
now that's funny
No we're not. You're being creepy and not abiding by our code of conduct.
@umbral rivet trust me just listen to them and have fun
i just wanna get over my ex
just code one

LOLOLOL
lmao....
huh?
what r u even talking about
dont act dumb you know you did that lol
I have to give it to you, you really are taking the fastest route to getting banned
nag nag nag
You are, once again, responsible for what happens on your account
nag nag nag
troll confirmt.
aren't we being too professional about it ?
ur trying to punish me for what my little brother did lol
nah. just following the code of conduct. can't be too careful ^^
!tempmute 813281024922484767 1h When a member of the moderation team is telling you that your behavior is unacceptable and then say "nag nag nag" when they're telling you how this server works, you're going to have a bad time.
:incoming_envelope: :ok_hand: applied mute to @umbral rivet until 2021-02-25 20:36 (59 minutes and 58 seconds).
!warn @whole rover stop clearing your infractions
:incoming_envelope: :ok_hand: applied warning to @whole rover.
lmao
Nah, itโs more like Thanos vs Batman, not even worth acknowledging ๐คช
!user

Created: 4 years, 9 months and 6 days ago
Profile: @honest pier
ID: 182894631921516545
Joined: 7 months, 11 days and 3 hours ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764802720779337729>, <@&267630620367257601>, <@&799041111573266503>
Total: 1
Active: 0
1 infraction 
no, just the E lololol
lowercase gang
lit lit gang gang
KingCapital Gang
kubectl
Rather cringe, __init__ bruv
mafs class
Krompit
I feel like I missed the switch from "oh my god british accents are so cool" to everyone making fun of them
doesn't it depend if it's genuine? lol
all I can hear is ricky gervais talking
*bri'ish because they swallow their t's lel
bri ish
Wartor
tf is a duck pond lmao
๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ
define
Cube Control
joe pronounces it like: cubecuttle
๐ฎ where we gooooin'
yay!!!!
โค๏ธ
you should totally put like a Lamborghini on the registry
Yeah, air fryers are over-rated.
~~@hollow haven put me on ๐ณ ~~
Hey Chromey, Chromey
coke
@whole rover I'm 14....
east coast come back at 5-6pm ๐
US
lmfao
@whole rover Also it would be 20 shots......
LOL DAMN
๐ the life of a student
8 - Notion
6 - Discord
15 - FF
23 - VSCode
6 - Slack
i didn't even realize..
cordial
wait i closed all my chrome
why so my tabs though ?
is that really # of tabs? it might bc of all my extensions
double strength ๐
nope, I am out
what I imagine when joe says squash:
so it's just super concentrated?
LOL THIS
^^ I'm like... who the fuck is drinking liquified that?
i opened 1 tab of chrome and have google chrome (26)
git squash
Random fact: roasted butternut squash seeds make a nice snack ๐
long list of extensions, I guess
hm i should look into this
in height, sure
he doesn't know... obviously
joe is a fetus
hahahaha
LMAO
it's like a kindergartner
bahahahaha
yeah that's a real template. no
sending you good vibes~
what you just said would have gotten you an additional 1hr mute xD
yoinks
legaleagle ๐
Find out about donating! โบ https://bethematch.org/
Subscribe to not miss a Film Theory! โบ http://bit.ly/1dI8VBH
In honor of Halloween, I decided to watch The Purge movies andย it got me thinking. If crime was legal for 12 hours like in The Purge movies, how could you come out on top? How can you WIN the Purge?ย The answer? Get rich of course...
why would anyone dress up as a postman ?
movies
not covered under free speech, in cases I think context is judged upon
that would be funny
Exceptions to free speech in the United States refers to categories of speech that are not protected by the First Amendment. According to the Supreme Court of the United States, the U.S. Constitution protects free speech while allowing for limitations on certain categories of speech.Categories of speech that are given lesser or no protection by ...
damn...
no wae
how dare you
no. there is more to discover
you don't know for certain what is out there ๐
uhhhhh
which one should i trust ๐
wait, you can check all the messages you have sent before ?
ahhhh
they were asking to
because it's in bot commands
issoke
we don't count messages in #bot-commands and #sir-lancebot-playground
okie dokie
now it should be 30, correct?
Great urban camouflage
One of the greatest things made possible by internet
im speechless...
Im wordless...
@vivid palm Scanner s = new Scanner(System.in);
typo
I am dialectless
java, right ?
no, python
I thought it was BrainPoop
@honest pier i don't gettit lul
good tools are good lol
brainF!@$%
BrianFluff
you had me there, for a second
OHOHOUUUAUAAAHAHAH123!_monki
you forgot '@'
well, it's been fun listening to you guys โ๏ธ โ๏ธ
print("OOF")
File "main.py", line 2
print("OOF")
^
IndentationError: expected an indented block
i was looking at this
i dont lev anyone unread
unread?
_
from typing import List, Union
def fizz_buzzer(n: int, first_divisor: int, second_divisor: int) -> List[Union[str, int]]:
...
@terse needle ^ make it work
๐
list[int]
This article lives in: Dev.to Medium GitHub FastAPI's docs (including translations to other langua...
oh i see
from fastapi import APIRouter, HTTPException
from pydantic import BaseModel
from ..modules import calcmodule as calcmodule
router = APIRouter()
class Calc(BaseModel):
op: str
number1: int
number2: int
@router.get("/add")
def add(number1:int, number2:int):
return calcmodule.perform_operation(number1=number1,number2=number2,op="add")
@router.get("/subtract")
def subtract(number1:int, number2:int):
return calcmodule.perform_operation(number1,number2,'subtract') #function variable can be just passed in order
@router.get("/multiply")
def multiply(number1:int, number2:int):
return calcmodule.perform_operation(number1=number1,number2=number2,op="multiply")
@router.get("/divide")
def divide(number1:int, number2:int):
return calcmodule.perform_operation(number1=number1,number2=number2,op="divide")
@router.get("/expo")
def expo(number1:int, number2:int):
return calcmodule.perform_operation(number1,number2,'expo')
@router.post("/calc")
def calc(body: Calc):
return calcmodule.perform_operation(body.number1,body.number2,body.op)
@router.get("/ping", status_code=200)
def ping():
result = calcmodule.perform_operation(1,1,'add')
if result['result'] == 2:
return 'pong'
else:
raise HTTPException(status_code=503,detail="Failed Pong")
!e
def fizz_buzzer(n: int, first_divisor: int = 3, second_divisor: int = 5) -> list:
my_list = []
for i in range(n):
if all([i % first_divisor == 0, i % second_divisor == 0]):
my_list.append('FizzBuzz')
elif i % first_divisor == 0:
my_list.append('Fizz')
elif i % second_divisor == 0:
my_list.append('Buzz')
else:
my_list.append(f'{i}')
return my_list
print(fizz_buzzer(10))
@terse needle :white_check_mark: Your eval job has completed with return code 0.
['FizzBuzz', '1', '2', 'Fizz', '4', 'Buzz', 'Fizz', '7', '8', 'Fizz']
!e
def fizz_buzzer(n: int, first_divisor: int = 3, second_divisor: int = 5) -> list:
my_list = []
for i in range(1,n):
x = [i % first_divisor == 0, i % second_divisor == 0]
if x[0] and x[1]: my_list.append('FizzBuzz')
elif x[0]: my_list.append('Fizz')
elif x[1]: my_list.append('Buzz')
else: my_list.append(f'{i}')
return my_list
print(fizz_buzzer(10))
@terse needle :white_check_mark: Your eval job has completed with return code 0.
['1', '2', 'Fizz', '4', 'Buzz', 'Fizz', '7', '8', 'Fizz']
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
โข PEP 8 document
โข Our PEP 8 song! :notes:
if title:
embed.title = title
if description:
embed.description = description
if colour:
embed.colour = colour
if timestamp:
embed.timestamp = timestamp
if footer_text:
if footer_url or footer_text:
if footer_url:
if footer_text:
embed.set_footer(text=footer_text, icon_url=footer_url)
else:
embed.set_footer(icon_url=footer_url)
elif ...
!voice @sick tusk
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!e
x = [5,5]
result = [x]
y = x[:]
i = 0
while y[1+i] > 1:
if y[-1] != 1: y += [0]
while y[1+i] > 1 and y[-1] < y[1+i]:
y[1+i] -= 1
y[-1] += 1
if y[-2] >= y[-1]:
result.append(y[:])
i += 1
print(result)
@dusk burrow :white_check_mark: Your eval job has completed with return code 0.
[[5, 5], [5, 4, 1], [5, 3, 2], [5, 2, 2, 1], [5, 2, 1, 1, 1]]
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
it's not that many
Learning Python
sorry
if,else,elif
anyone known datatypes?
know*
im just coding random programs to practice
does anyone know networking basics?
new to coding and working on networking?
!e
from typing import List, Union
def fizz_buzzer(n: int, first_divisor: int = 3, second_divisor: int = 5) -> List[Union[str, int]]:
return [
[
num,
[
"Fizz",
[
"Buzz",
"FizzBuzz"
]
[
num%first_divisor==0
]
]
[
num%second_divisor==0
]
]
[
not
num%first_divisor
or
not
num%second_divisor
]
for
num
in
range
(1,n)
]
print(fizz_buzzer(20))
(f"Say hi {say_hi}")
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
[1, 2, 'Fizz', 4, 'Buzz', 'Fizz', 7, 8, 'Fizz', 'Buzz', 11, 'Fizz', 13, 14, 'FizzBuzz', 16, 17, 'Fizz', 19]
oh its a server right?
na its a channel here
Does anyone here make at least 60k a year coding?
What bloody hell are rupells?
That sounds toxic
Does anyone here know hw
ignore that^
Does anyone here know databases?
databases, anyone?
me?
A few weeks in
how am i toxic for asking a question?
This is art
im gonna learn it among app development, and networking basics
What exactly did you make public?
What code is that in that picture public?
Code you should ignore
!e
import dis
dis.dis(print)
@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 | File "/usr/local/lib/python3.9/dis.py", line 85, in dis
004 | raise TypeError("don't know how to disassemble %s objects" %
005 | TypeError: don't know how to disassemble builtin_function_or_method objects
you could explain what it is, or what exactly he's trying to execute
whats the benefit of compiling things?
sounds kind of pointless tbh
idk
maybe would help you stay organized in large projects
especially when debugging
sounds like irreverent information tbh
!e
import dis
def func(n: int) -> int:
a = 1 + n
return a
dis.dis(func)
@honest pier :white_check_mark: Your eval job has completed with return code 0.
001 | 3 0 LOAD_CONST 1 (1)
002 | 2 LOAD_FAST 0 (n)
003 | 4 BINARY_ADD
004 | 6 STORE_FAST 1 (a)
005 |
006 | 4 8 LOAD_FAST 1 (a)
007 | 10 RETURN_VALUE
for a lot of languages compiling is required
I hope I have close to 50 messages soon:(
Like French for example
yeah, exactly my point
amazing code! ```py
from discord import Embed
from datetime import datetime
def EmbedHelper(title=None,
description=None,
colour=None,
thumbnail_url=None,
author_url=None,
author_name=None,
footer_url=None,
image_url=None,
footer_text=None,
timestamp: datetime = None):
embed = Embed()
if title:
embed.title = title
if description:
embed.description = description
if colour:
embed.colour = colour
if timestamp:
embed.timestamp = timestamp
if footer_text:
if footer_url or footer_text:
if footer_url and footer_text:
embed.set_footer(text=footer_text, icon_url=footer_url)
else:
if footer_text:
embed.set_footer(text=footer_text)
else:
embed.set_footer(con_url=footer_url)
if image_url:
embed.set_image(url=image_url)
if author_url or author_name:
if author_url and author_name:
embed.set_author(name=author_name, icon_url=author_url)
else:
if author_url:
embed.set_author(icon_url=author_url)
else:
embed.set_author(name=author_name)
if thumbnail_url:
embed.set_thumbnail(url=thumbnail_url)
return embed
What would you guys say is the best language for multiform development?
x86 Assembly
what?^
๐
isn't 86 architecture on 32 bit systems?
guys quick question Python Vs. JavaScript VS new C ++
from discord import Embed
from datetime import datetime
def EmbedHelper(title=None,
description=None,
colour=None,
thumbnail_url=None,
author_url=None,
author_name=None,
footer_url=None,
image_url=None,
footer_text=None,
timestamp: datetime = None):
embed = Embed()
embed.title = title or None
embed.description = description or None
embed.colour = colour or None
embed.timestamp = timestamp or None
if footer_text:
if footer_url or footer_text:
if footer_url and footer_text:
embed.set_footer(text=footer_text, icon_url=footer_url)
else:
if footer_text:
embed.set_footer(text=footer_text)
else:
embed.set_footer(con_url=footer_url)
if image_url:
embed.set_image(url=image_url)
if author_url or author_name:
if author_url and author_name:
embed.set_author(name=author_name, icon_url=author_url)
else:
if author_url:
embed.set_author(icon_url=author_url)
else:
embed.set_author(name=author_name)
if thumbnail_url:
embed.set_thumbnail(url=thumbnail_url)
return embed
def EmbedHelper(title=None,
description=None,
colour=None,
thumbnail_url=None,
author_url=None,
author_name=None,
footer_url=None,
image_url=None,
footer_text=None,
timestamp: datetime = None):
def EmbedHelper(title=None, description=None, colour=None, thumbnail_url=None, author_url=None,
author_name=None, footer_url=None, image_url=None, footer_text=None, timestamp: datetime = None):
depends on the project
Thank you KJ
I wouldnt use C++ or Python on a website front end, because I cant
different languages
its like comparing eggs and rice, you cant but they are both food
def fizz() -> int:
return 5
๐ u32 ๐
Thanks man, really appreciate the help
Griff that picture with code is for a website , isnt it?
that picture with all the non values
none*
!e
my_dict = {
5: "test"
}
print(my_dict[5])
print(my_dict[float(5)])
print(my_dict[2+3])
print(my_dict[5+0j])
print(my_dict[5.0])
Thanks for the feedback Griff, really means alot๐
np
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
001 | test
002 | test
003 | test
004 | test
005 | test
None => { Option::from(n.val) }
None => {Option::from(n.val)}
which?
1st
or maybe
None => {
Option::from(n.val)
}
code it up

!e
import other_stuff
@uncut meteor :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'other_stuff'
!e
!eval [code]
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*
!
Sastronaut
message = "There are no items."
'If count is 1, output will be "There is 1 item.".
ElseIf count = 1 Then
message = "There is 1 item."
'If count is greater than 1, output will be "There are {count} items.", where {count} is replaced by the value of count.
Else
message = $"There are {count} items."
End If```
!e
import antigravity
@strong arch :warning: Your eval job has completed with return code 0.
[No output]
!e
print(import("this"))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
001 | The Zen of Python, by Tim Peters
002 |
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/votuhetuna.txt
!e
import hello
@terse needle :white_check_mark: Your eval job has completed with return code 0.
Hello world!
!e import world
@strong arch :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'world'
!e import happiness
@strong arch :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'happiness'
!e
import __hello__ as world
@honest pier :white_check_mark: Your eval job has completed with return code 0.
Hello world!
!e
from __future__ import braces
@terse needle :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | SyntaxError: not a chance
YES
it's not documented
good afternoon everybody!
from typing import Optional, Union
def EmbedHelper(title: Optional[str] = None,
description: Optional[str] = None,
colour: Optional[Union[Colour, int]] = None,
thumbnail_url: Optional[str] = None,
author_url: Optional[str] = None,
author_name: Optional[str] = None,
footer_url: Optional[str] = None,
image_url: Optional[str] = None,
footer_text: Optional[str] = None,
timestamp: Optional[datetime] = None):
def embed_helper(**kwargs) -> Embed:
...
all problems fixed
warning: function `treeMaximum_rec` should have a snake case name
--> src\main.rs:68:4
|
68 | fn treeMaximum_rec(root: &Option<Box<Node>>) -> Option<u32> {
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tree_maximum_rec`
|
= note: `#[warn(non_snake_case)]` on by default
``` ๐
from typing import Optional, Union
def EmbedHelper(*, title: Optional[str] = None,
description: Optional[str] = None,
colour: Optional[Union[Colour, int]] = None,
thumbnail_url: Optional[str] = None,
author_url: Optional[str] = None,
author_name: Optional[str] = None,
footer_url: Optional[str] = None,
image_url: Optional[str] = None,
footer_text: Optional[str] = None,
timestamp: Optional[datetime] = None):
PS C:\Users\rabbi> $param = @{Name = 'powershell'}
PS C:\Users\rabbi> Get-Process @param```
45984
107588







