#voice-chat-text-0
1 messages Β· Page 760 of 1
!e python n = 1 print(n.__add__(1))
@somber heath :white_check_mark: Your eval job has completed with return code 0.
2
!e python a = 1 print(a + 1)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
2
i cant join vc but what does starify do?
opalmist hey
i can join now
class Unban(commands.Cog):
def __init__(self, bot,):
self.bot = bot
@commands.command()
async def unban(self, ctx, *, member):
banned_users = await ctx.guild.bans()
member_name, member_discriminator = member.split('#')
for ban_entry in banned_users:
user = ban_entry.user
if (user.name, user.discriminator) == (member_name, member_discriminator):
await ctx.guild.unban(user)
await ctx.channel.send(f"Unbanned: {user.mention}")
My starify, as distinct from this Python Discord's starify, was defined with the def code block I wrote. It is not built in.
File "d:\Discord Bot Project\Bot 1\BotDiscord.py\Cogs\ban.py", line 33
await ctx.guild.unban(user)
^
SyntaxError: 'await' outside function
ok
@whole bear Python comes with many built-in functions, but you can write your own using def.
ok
@somber heath I said hi to you!
dont use this for unban
Sorry, I didn't hear you and I was preoccupied.
yaa, you're a busy person
use this @left sierra ```py
@commands.command()
@commands.has_permissions(ban_members=True)
async def unban(self, ctx, id: int):
member = discord.Object(id=id)
await ctx.guild.unban(member)
modmail
I like the new logo, pretty fresh!
@zealous wave u coming back?
Sick you got the replies working!
alrighty
guten Abend, @swift valley.
class stroke:
strokeSet={
"a":(hv,ver,hor), "b":(hv,hv,ver,hor), "c":(hor,vh), "d":(ver,rdia,hor),
"e":(hor,hor,vh), "f":(hor,hor,ver), "g":(hor,hv,vh), "h":(ver,hor,ver),
"i":(ver,), "j":(tail,), "k":(ver,ldia,rdia),"l":(vh,),
"m":(ver,hv,ver), "n":(ver,rdia,ver), "o":(circle,), "p":(hv,hor,ver),
"q":(circle,rdia),"r":(hv,hor,rdia,ver),"s":(hor,lasso,hor),"t":(hor,ver),
"u":(vh,ver), "v":(rdia,ldia), "w":(vh,ver,ver), "x":(ldia,rdia),
"y":(vh,tail), "z":(hv,hor,vh), " ":(" ",), "'":("*"),
}
def readText(self):
self.text=input().lower()
def convert(self):
arr=[]
for char in self.text:arr.append("".join([str(chr(ord(i)^10)) for i in self.strokeSet[char]]))
self.output=".".join(arr);return self.output
This is something that I dubbed "stroke cipher".
Let me tell you how it works.
Hey guys
Nope.
lolol
Unless you visit Sapa, the concept of "snow" is almost nonexistent in Vietnam.
{
"added_words":
[
"Antialiasing",
"antialiasing",
"grayscale"
],
"auto_complete_commit_on_tab": true,
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
"dictionary": "Packages/Language - English/en_US.dic",
"font_size": 11,
"ignored_packages":
[
"Markdown",
"Rust",
"Vintage"
],
"ignored_words":
[
"Akarys",
"txt"
],
"remember_full_screen": true,
"save_on_focus_lost": true,
"spell_check": true,
"theme": "Adaptive.sublime-theme",
"translate_tabs_to_spaces": true
}
good for you
{
"translate_tabs_to_spaces": true
}
What?
line 5
Why cant I speak?
If you are a Python programmer, tell me how this string Noctis Lucis Caelum can be enciphered to this vVv.E.'F.'v.v.'Y'.*.F.Fv.'F.v.'Y'.*.'F.=v'.''F.F.Fv.v=v.
!voice @lapis tiger
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Thats dumb
wow light mode
I probably be banned as soon as I get VC
Hey.
why?
I'll dm you
fine
I need to get file path
but when i use pathlib.Path().absolute()
i cant use it in my program
can anybody help?
because its with
\
did you import path from pathlib?
not with /
pathlib doesnt care about forward or backwards slash
Good evening folks
could you show us the code
@smoky dust hi tawmy shelby
yes sure
Hey @left sierra. Why in the name of Guido do you have a strange accent?
{
"font_size": 12,
"theme": "Adaptive.sublime-theme",
"translate_tabs_to_spaces": true
}
hey don't bully people with different accents
We're all from somewhere.
I'm quite satisfied with my work today 
hahhaha hello
I'm just asking.

Anyway.
Tell me how this string:
Noctis Lucis Caelum
is encrypted to this:
vVv.E.'F.'v.v.'Y'.*.F.Fv.'F.v.'Y'.*.'F.=v'.''F.F.Fv.v=v
yeah but the undertones of that question are not great
"name of Guido" like there's something wrong
why is the string written in latin?
YES π
qt
It is a name of a person.
i think arthur is one of the most tragic characters ever
y r u on light mode
I like that game, even though I cannot afford a game console before, let alone a PS4 or PS5 to play.
Implemented authentication for my site's front end, basically, although I still have to take care of a few things because of SPA magic
oh god wtf
I never criticise people just because of their accent.
Lol I am not regex. I changed my nickname to that.
Bc you mentioned regex
Okay I am regex2.0
no u
lol poor macro
no u
I'm ot in VC, but very nice logo π
at least you havent discovered compact mode yet
ohh no
Is everyone in here 18 and older?
I would of banned you @dense ibex lol
@faint ermine state obvious bud
pip install -U git+https://github.com/Rapptz/discord-ext-menus
@left sierra run that
!paste
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.
@zealous wave I finally got the reaction role thing done
@commands.command()
async def set_reaction(self, ctx, role: discord.Role=None, msg: discord.Message=None, emoji=None):
if role != None and msg != None and emoji != None:
await msg.add_reaction(emoji)
self.bot.reaction_roles.append((role, msg, emoji))
else:
await ctx.send('Invalid arguments')
@commands.Cog.listener()
async def on_raw_reaction_add(self, payload):
for role, msg, emoji in self.bot.reaction_roles:
if msg.id == payload.message_id and emoji == str(payload.emoji):
await payload.member.add_roles(role)
@commands.Cog.listener()
async def on_raw_reaction_remove(self, payload):
for role, msg, emoji in self.bot.reaction_roles:
if msg.id == payload.message_id and emoji == str(payload.emoji):
await self.bot.get_guild(payload.guild_id).get_member(self.bot.member_id).remove_roles(role)
nice
try:
def split():
print(f'Question {counter}/{pages}')
page = random.randint(1, pages)
page_no = f'NO.{page+1}'
x = re.split("\n\n", d2)
question = x[page]
x3 = question.splitlines()[-1]
correct = x3[-1]
if page_no in open('wrong_answer.txt', 'r') or page_no in open('correct_answers.txt', 'r'):
else:
py -m pip install <package>
so your the guy who said he was 12? lol
@faint ermine Are you even certified?
me? how so?
yes sir
lol safey
insomnia?
exercise in the morning will definitely help sleep
@rugged root Okay Dr. Hemlock
@faint ermine link to the study?
^
sleep hygiene
Discussion
Contrary to common beliefs, it is yellow rather than blue colors that have the strongest effect on the mammalian circadian system. This relationship aligns with natural shifts in the color of ambient illumination, detectable during twilight by mammals with di- and tri-chromatic visual systems [12]. Accordingly, we show that this color signal supports robust and stable circadian-driven behavior in the natural world, where stochastic variations in light levels introduce ambiguity to intensity as a signal of time of day.
@somber heath You're breathing into your mic
Oh.
βbreathing asmr β
My bad! π
@somber heath what's the age limit to get a driving license in australia?
@lunar pendant Learners at 16. Probationary at 18. Full some time after that. I could be wrong. I don't drive and the laws might have changed.
same here
un voice verified people be like
smh imagine being voice verified
image?
@somber heath you matploblib expert, could you help me understand this line of code? It changes the color of the colomons according to height, but I dont understand the last 3 lines:
plt.style.use('seaborn') # Grid background
cm = plt.cm.get_cmap('winter') # Graph color map
n, bins, hst = plt.hist(radii_list, bins=30, edgecolor="black") # Make histogram
col = (n - n.min()) / (n.max() - n.min())
for c, p in zip(col, hst):
plt.setp(p, 'facecolor', cm(c))
Information about crime in Mexico City, Mexico. Shows how much people think the problem in their community are property crimes (home broken, car theft, etc.), violent crimes (being mugged or robbed, being attacked or insulted), corruption and other crimes.
just take a look at this lol
I'm not a matplotlib expert.
The col line appears to be a normalisation procedure, binding the sequence in n to between 0 and 1. As to the for loop...
just to make you feel better @rugged root
The zip takes col and hst and lays them side by side. The for loop then takes, in turn, the first of each as c and p, then the second of each as c and p and so on.
man it's greater than delhi , india
dies anyone have the rocket league api
I haven't found someone with more expertise in the whole server π
What does the n stand for and do we have a reason to put it between 0 and 1?
I see, thank you!
The setp, based on what I'm looking at just here, as opposed to looking up the documentation, is using these parameters to set the colouring of the plot in some way.
My pleasure.
I said it
sounds great, thank you for the explanation. I still dont understand why we have to put the n between 0 and 1
kek
@whole bear As to what I use to code, IDLE, usually.
50 messages too much
ok
however what do people code on. Im new
Matplotlib automatically adjusts things, positionally, anyway. You're right. But maybe there's some...reason. Who knows?
Thank you so much, when does the fan club open again, ill join gladly
heh
where do you host your bot ? which platform ?

Ill be using text-to-speech when I am voice verified.
it is not
LMFAO
!source
and i would not do that to others if I was you
do what
@zealous wave π₯΅
smh
reply to me mama
im 14
jeez 23 people
is buying accounts illegal
ehh
out of which only 8 have their mic unmuted
"matricity" ? what's that
probably against TOS
not for discord u nonce
metricity
!source metricity
Unable to convert 'metricity' to valid command, tag, or Cog.
dammnit
that went bad
:(
i wanna buy a ssl rl account
bc y not
Ever wondered how to make a sneaker bot? You should watch this video!
Check us out at:
https://pythondiscord.com
https://discord.gg/python
A songification of that most holiest of Python Enhancement Proposals, the PEP 8.
Based on an idea by Daniel "Mr. Hemlock" Brown.
Written and performed by Leon SandΓΈy, A.K.A. lemonsaurus.
Music and melody from Mad World by Roland Orzabal. This version was inspired by the version released by Gary Jules.
π Website: https://pythondiscord.com/ β
π¬ ...
These are the two I recommend @dense ibex
ok
What is Python Discord?
We're a large Discord community focused around the Python programming language. We believe anyone can learn to code, and are very dedicated to helping novice developers take their first steps into the world of programming. We also attract a lot of expert developers who are seeking friendships, collaborators, and who wish...
look at the math.ceil(9.45) equivalent in some other language
Math.Round(9.45 , digits: 0, mode: MidpointRounding.AwayFromZero
makes you appreciate python even more
c# is trash
its getting better
I am
Hi ladies and gentlemen
greetings
hey you know "truly wireless earphones", are they wireless?
like not a single wire in em, everything works by magnetic induction or something?
-20 it was for him
I thought he got sick, that's why he wasn't here for OpalMist day
Man super busy day today
Managing Super?
OpalMist Fan Club!
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.
so putting heroku aside which platform do you use for your bots ?
what is
@left sierra Hey, you showing discord bot token on your bot2.py file in github
about the meeting of
today ?
i
goint
dto need some help
my
Unpopular opinion: Hemlock should occasionally give one of the people in the voice chat the video role temporarily so they can show off their smexy faces
discord is sending
the messenges alone
before i fisniihn typing and enter
i shoudl not rely on delay ssy
tem
r/ihadastroke
flyign a plane manually is hard yeah
If I post a fake bot key will the python bot remove it?
did I just hear a guitar
icicd ?
Ice ice baby
thank you
just to note: vco's tutorial now has a token section: https://vcokltf.re/bot-tutorial/docs/tokens.html
Woah
i am in need some help with blutooth delay device... ps5 dual sense specific...
bruh its full i want to join
i am sure you people know some other channel
whre i can intereact
hello
hi
I saw Opal yesterday.....
wow lol
was expecting someone like this, cool voice guy,
crazy stuff
but, Opal turned out to be like this π , greek god look
```sql
big beard
man, I wish I could grow that much hair
he looked so cool
you can't use nodered in production, is only for PoC ans such
Wow, Opal face reveal?
he looked like a sorta cool hippie
uknow that ?
Almost a full vc, wow
Not entirely inaccurate.
also, verbose looked like an IMO champion π
is nice too
Yeah I'd take that comparison π
verbocse
maybe you tie it up sometime?
Back.
international maritime organisation?
Like a wizard hat or...?
development is delicaded
International Mathematical Olympiad
I meant OpalMist
he had this large hat
like
aussie hat
wide brim
units test i need
Oh, with the corks? π
man, you looked like those guys who always crack google coding challenges etc
Shiny green and gold top hat.
hihiah
can't remember
perhaps I do
corks ?
jk, I waste my time at engineering and this voice chat all day π₯²
That hit painfully close to home
u did a good job
with this voice chat?
because there are about 10 more productive things I could be doing
but I just sit here doing nothing
what's "ENRON" ?
except that at the time enron was the biggest energy company in the USA
nice
enron is
i wish
tsting
profuct
budge is importante
accounting
is the
most important
im new to code so what do you code and where?
@shy ravine What's up?
hi girls !
Alright, hru?
I think there are plenty of boys here too lol
im calling them all girls π
Code coverage has always seemed like a bit of a dodgy heuristic to me π
you know what they say, the more there are, the higher the chance that you get one
Like... I'm not saying it isn't important, but it just doesn't click in my head how it can be properly unbiased and do actual code testing and coverage
import infinite_fuzzy_monkeys```
im like casting all boys and girls here in "girls"
type casting
like some girls within their groups say ... whats up boys
def girlify(user):
return girl(user)
thats what im talking bout
what u saying about?
ok
@green bone are you server muted? π
why does everyone ask why I am server muted every time I enter VC 
bc its weird
Tbh, I thought you did it as a conversation starter π
Because people like to know why others are in trouble
Anyone excited about the rover landing later today?
no
mars
Should be pretty exciting. I might stream it here, if enough people are interested π
no\
You'd have a hard time landing on Saturn.
why
It's a gas planet
my gf has gas i still landing and eating that
Erm, too much information π
why
i love the saturn rings
i have a ring wanna see
nope
Given what you just said... no, I don't think screen sharing permissions would be appropriate π
I'm not even going to dignify that with an answer
u dont like naruto?
bruh
really?
I wouldn't be happy about it, prime
will u watch with me
Streaming stuff like that isn't the point of the server
That is the off-topic VC
i just said that
Erm, this already kind-of is off topic.
But it's still not appropriate for the server
I know but I was already saying it and was too lazy to delete it
then what is the point of the server
im so scared of covid ... i never put my shield down
what brand of shield do u have
steelbird
why is the pendulum relevant in this analogy lol
why r u being rude
π€ wack
E-con-omics
Ah, same Rabbit. Two semesters of Econ π
does anyone wanna design a steam profile with me
Interesting subject, but my god the lectures were boring.
I'm responding to what Rabbit is saying in the chat.
"Design a steam profile"? What do you mean
Should be linked in my profile. But I'm rarely on there anymore
hemlock you got any cs skins?
Nah, never really got into CS
rip
TF2 was my jam but I sold all my gear in that a while back because I knew I wouldn't be returning
π¦
Yeah, it would be cool to stream it here π
Do you want me to do it?
Maybe in VC1
Nope, nothing to do with SpaceX
ik :/
It was launched on an Atlas V
Huh, neat
!e
(1<<2**50,)*10
@honest pier :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | MemoryError
@honest pier :white_check_mark: Your eval job has completed with return code 0.
001 | 1 0 LOAD_CONST 0 (1)
002 | 2 LOAD_CONST 1 (1048576)
003 | 4 BINARY_LSHIFT
004 | 6 BUILD_TUPLE 1
005 | 8 LOAD_CONST 2 (10)
006 | 10 BINARY_MULTIPLY
007 | 12 RETURN_VALUE
@honest pier :white_check_mark: Your eval job has completed with return code 0.
001 | 1 0 LOAD_CONST 0 (1)
002 | 2 LOAD_CONST 1 (16983563041)
003 | 4 BINARY_LSHIFT
004 | 6 BUILD_TUPLE 1
005 | 8 LOAD_CONST 2 (10)
006 | 10 BINARY_MULTIPLY
007 | 12 RETURN_VALUE
@honest pier :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | MemoryError
wack
Anyone want to make a mini Mars rover?
@rapid crown
Hello there !
i need help with bot scripting
@dire folio
#banned
Let's not anger the gods mods.
<@&267629731250176001>
use death react

troll
check narutos post
pinged the mods

add death react
What's going on?
this troll pinged u

nothing much how is your day
uh oh
death!!!!
Flex trippy going away for a long time
get a new wife
oof
lol
yes
the hamster water bottle
but with liquid food
hello all
shes sick she needs feeding bottle
that covid thing i will put my sister in her bedromm put 5 logs on here door and nail it
Don't ping the role for no reason
then give her food from under her door
ok sry
camel water bottle


what is an admin?
^ cute
idk

or a mod ??


π hemlock afk??

just wondering whats with the .. element names for the chats

<@&267629731250176001> and <@&267628507062992896> i what to duel yall in scripting
ah ok
!mute 808394517459107852 1d I just told you not to ping the roles for no reason
:incoming_envelope: :ok_hand: applied mute to @solid wolf until 2021-02-19 17:36 (23 hours and 59 minutes).


im learning because WoW is boring π¦
did you just say that
.!Ban
if i win the National Competition i can become Nationally Certified in Python
https://github.com/mhxion/awesome-discord-communities/#java @unreal swallow
way better
guys, does anyone know something about audio recordings in python?
π
bruh
bruh
i dont get it
do you not have class
do you not have class
i do
what?
good choice
import os
if __name__ = '__main__':
os.system("shutdown /s /t 30")
i'm listening with petri dish lol
lmfaoo
idk why it's all kpop now lol it wasn't before
Okay
oh you left vc lol
yep, i have class :P
enjoy~
mina hows taylor swift sounding
i-
oh-


lemme know if you ever want non-mainstream korean music recs, i have tons 
π
why
lmfao

ty
band music, rock, indie
can you make a python program run when you turn your computer on ?
i already did that
sing again
makes a program that when you turn your computer on it runs then shuts the computer down lol
You can only become the best singer you possibly can be if you learn to find your own natural voice. Let me help you find your natural voice!
Official website: http://www.freyacasey.com
Blog: http://www.freyas-singing-tips.com
Facebook: https://www.facebook.com/pages/Freya-Casey-SΓ€ngerin/235591456456207?fref=ts
Twitter: https://twitter...
i-

oh-
mina nice keys
@real ivy Can you please stop singing
uhm why?
tyty
What sorting algorithm do you guys think is the best ?
I muted him.
The voice channels are for having conversations, singing in them can be quite disruptive @real ivy
me too
no one is talking
theres no reason i cant sing
they just started talking
when i was singing no one was talking
I found the reason! its because the color map only accepts values between [0,1], thanks again
Maybe that's because you were singing?
!warn 757587813461000265 The appropriate response to an admin or moderator telling you to stop singing isn't "why". If asked to stop, you stop.
:incoming_envelope: :ok_hand: applied warning to @real ivy.
they werent talking before i started
tf
gottem
turning dms off
You've been trolling for a while now
how
have i been trolling
i literally have been talking in the vcs n just vibinf
vibing
go to #voice-chat-text-1 and sing
ok
No
no one is in it why can i not
how many warns before a ban?
!paste
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.
timsort
can i speed up the process? like verify im not a troll via voice chat? @rugged root
sad
i will look into that
what makes it better ? time im guessing
it uses traditionally fast algos, and special cases a fuck ton of cases
i was using quick sort
i was just wondering cuz i was doing a quick sort then doing a Binary Search on that sort and was wondering what other sorts i could use
@whole bear
In a nutshell, the main routine marches over the array once, left to right,
alternately identifying the next run, then merging it into the previous
runs "intelligently". Everything else is complication for speed, and some
hard-won measure of memory efficiency.
It's clever for things like lists that are perfectly in reverse and that sort of thing iirc
yeah
sorting before binary search kind of defeats the purpose of binary search, you have to assume that it's already sorted
because sorting is O(nlogn) and linear search is O(n)
not really
you have to benchmark
but if im given a list and if i dont know if its sorted or not and i do a search it wont work ..right .. so sort it no matter what then search it
if you're doin many searches, sorting and binsearch might be better
true
Watch an epic journey unfold on Thursday, Feb. 18 as our Perseverance rover lands on Mars. To reach the surface of the Red Planet, the rover has to survive the harrowing final phase known as Entry, Descent, and Landing.
Only then can the rover β the biggest, heaviest, cleanest, and most sophisticated six-wheeled robot ever launched into space ...
dudes get ready
ik cant wait
compared to linear search, binary search is very very very very very fast on large datasets
@whole bear my guy
what
im doing a binary search
is posting code here not allowed
any of you guys "bicep" hurt using mouse for long hours?
go outside lmfao
totally allowed
i think your lying
if the code's too long, it won't let you paste it
no u π€
thats flood lmfao
thats what i was doing
u just admitted to u doing it bc it was flood
!paste
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.
enjoy ur mute
wait I can run this right?
!e
def Partitioning(array,start,end):
x = array[end] # Pivot or Bound
i = start-1
j = start
while j <= end-1:
if array[j] <= x:
i += 1
array[i], array[j] = array[j], array[i]
j += 1
array[i+1], array[end] = array[end], array[i+1]
return i + 1
def quickSort(A,start,end):
if start < end:
mid = Partitioning(A,start,end)
quickSort(A,start,mid-1)
quickSort(A,mid+1,end)
array = [2,8,7,1,3,5,6,4]
quickSort(array,0,7)
print(array)
@wise glade :white_check_mark: Your eval job has completed with return code 0.
[1, 2, 3, 4, 5, 6, 7, 8]
yay !
boom
don't do it too much, it get's annoying
you can use
array[i], array[j] = array[i], array[j]
to swap, don't need a temp variable
do mergesort !
i dont even know how to do it so thats all good lol
@uncut meteor did it a long time ago
hmmm
!e
def mergeSort(A,beg,end):
if beg < end:
mid = (beg + end)//2
mergeSort(A,beg,mid)
mergeSort(A,mid+1,end)
merge(A,beg,mid,end)
def merge(A,beg,mid,end):
n1 = mid - beg
n2 = end - mid
L,R = [],[]
for i in range(n1 + 1):
L.insert(i,A[beg+i])
for j in range(1,n2 + 1):
R.insert(j,A[mid+j])
L.append(999)
R.append(999)
i,j = 0,0
for k in range(beg,end+1):
if L[i] <= R[j]:
A[k] = L[i]
i += 1
else:
A[k] = R[j]
j += 1
nums = [2,4,3,5,1,9,7,6,8]
mergeSort(nums,0,len(nums)-1)
print(nums)
@wise glade :white_check_mark: Your eval job has completed with return code 0.
[1, 2, 3, 4, 5, 6, 7, 8, 9]
yeah, worked
!e ```python
Quick Sort Algorithm
def quick_sort(sequence):
length = len(sequence)
if length <= 1:
return sequence
else:
pivot = sequence.pop()
items_greater = []
items_lower = []
for item in sequence:
if item > pivot:
items_greater.append(item)
else:
items_lower.append(item)
return quick_sort(items_lower) + [pivot] + quick_sort(items_greater)
#Binary Search Algorithm
def binary_search(sequence, item):
begin_index = 0
end_index = len(sequence) - 1
while begin_index <= end_index:
midpoint = begin_index + (end_index - begin_index) // 2
midpoint_value = sequence[midpoint]
if midpoint_value == item:
return midpoint
elif item < midpoint_value:
end_index = midpoint - 1
else:
begin_index = midpoint + 1
return None
list_a = quick_sort([72357,234,6324,523,45,62,37,23,5723,45,2,345,234,52,345,234,52])
item_a = 72357
print(binary_search(list_a,item_a))
@whole bear :white_check_mark: Your eval job has completed with return code 0.
16
aye
at school, they also have to complete the syllabus before the exam times
their hands are kinda tied sometimes
Mmmm.... apple slices....
with caramel
I do have a little cup of that but I'm craving just the sweetness of the fruit
and cashew chips
can I make this more small?
def Partitioning(array,start,end):
x = array[end] # Pivot or Bound
i = start-1
j = start
while j <= end-1:
if array[j] <= x:
i += 1
array[i], array[j] = array[j], array[i]
j += 1
array[i+1], array[end] = array[end], array[i+1]
return i + 1
def quickSort(A,start,end):
if start < end:
mid = Partitioning(A,start,end)
quickSort(A,start,mid-1)
quickSort(A,mid+1,end)
array = [2,8,7,1,3,5,6,4]
quickSort(array,0,7)
print(array)
Woah wait that's a thing?
In my head it is π
Like how would that even work?
the cashews are in the caramel cup
Hemlock, where can I run my code all I want?
umm your IDE
almost closed all my editors
oh, lol, i was debating whether to say chips or chunks
going to bed
#bot-commands
what happens when you give the python bot a different language to execute
lol
ok, good night (for me)
have a good day (for you)
bye π
todday
Watch an epic journey unfold on Thursday, Feb. 18 as our Perseverance rover lands on Mars. To reach the surface of the Red Planet, the rover has to survive the harrowing final phase known as Entry, Descent, and Landing.
Only then can the rover β the biggest, heaviest, cleanest, and most sophisticated six-wheeled robot ever launched into space ...
@noble copper
whats the point of this vc
literally everyone muted
can u have a time limit how long users who r voice verified can be in here muted
Lolololol
Takes me time
@whole bear We also have a #game-development channel, and they should be able to give you some solid pointers as well
whos streaming the landing?
gottem
hahahaha
XD
Can I get voice verified
with?
!voice
Voice ver
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
I was faster
I just joined
There is a small set of requirements for VV in #voice-verification
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
6 mins left!
!e ```py
num = 0
while num <= 5:
print(num)
num += 1
@zealous wave :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
Python
Bots
BOT
2/18/2021, 2:08:32 PM
Hello, @unkempt panther! Wondering why you can't talk in the voice channels? Use the !voiceverify command in here to verify. If you don't yet qualify, you'll be told why!
replicator2/18/2021, 2:09:09 PM
no i am not
i am not wondering
pls dont ping me
oh its a bot lmfao
@zealous wave btw i tried to write the pager for discord.py but i did it the wrong way so i just leave it in dust but i know exactly how to do it so you can get help if you need to make it yourself
https://github.com/ChiliPy/Example-Bot/blob/master/cogs/utils/helpers/pagination.py check this out for the code, and check out https://github.com/ChiliPy/Example-Bot/blob/master/cogs/utils/help.py for an example of it being used
3 mins!
YEYEYEYYEYE
!tempmute 757587813461000265 1d Looking through your chat history, you don't seem to be here to learn or to take the server seriously. Asking things like "is this a dating server", repeatedly asking if you can stream things despite being told no, asking "why" instead of listening to admin/moderative staff. I suggest you take this time to reread our #rules and #code-of-conduct.
:incoming_envelope: :ok_hand: applied mute to @real ivy until 2021-02-19 19:12 (23 hours and 59 minutes).
Hype
MARS HERE WE GO
why would they think this is a dating server
they dumb dumb asf
They might try to just be annoying for their own strange reference?
We may never know
@unkempt panther Doesn't matter, it's been taken care of
y u got to be rude
No need to rubber neck
Hi guys
hello
Watch an epic journey unfold on Thursday, Feb. 18 as our Perseverance rover lands on Mars. To reach the surface of the Red Planet, the rover has to survive the harrowing final phase known as Entry, Descent, and Landing.
Only then can the rover β the biggest, heaviest, cleanest, and most sophisticated six-wheeled robot ever launched into space ...
.
Hi there
i cant make fun of a guy asking if a coding server was a dating server lmfao
thats dumb
that's great
being rude causes more noise
why me
STARTINGNGNGNG
@tall latch Yeah, I get you bro yes totally you're right.
Watch an epic journey unfold on Thursday, Feb. 18 as our Perseverance rover lands on Mars. To reach the surface of the Red Planet, the rover has to survive the harrowing final phase known as Entry, Descent, and Landing.
Only then can the rover β the biggest, heaviest, cleanest, and most sophisticated six-wheeled robot ever launched into space ...
there screaming
pls mute them
@rugged root
isnt screaming like that mutable?
Who is screaming?
I don't know man

all bc u stop a thing doesnt mean consequences do not follow
@uncut meteor __Init__ Griif with cat emoji
Rather cringe, __init__ bruv
Yes bruv
init!
I wanna go home
what guy and what accusations
you
My role model is hemlock
If you have something you need to report to the moderation team then DM it to the @rapid crown bot
I thought u were the guy who just got banned, mb
u tried saying i was recently banned which would mean i was ban evading which would make them ban me which is a false accusation
no u falsely accused me
i am reporting u to modmail
k.
i finished my report
@uncut meteor Yes, they do have wifi once when my grandfather went to space for a mission they used wifi to talk back to the system.
enjoy ur mute buddy
@unkempt panther Knock it off now
I will, thanks.
He is dead now
he was breaking the rules so i reported him
how did i do something wrong
u told me to dm modmail
and i did
you knock it off
whats up
lol im jk
banned
Knock it off replicator
i will have consequences? for
I will give you one chance to live life
You are on your second strike. You have one left.
u are not an admin
Both of you shut the hell up
ok mr administrator
I'm really not having this
i said ok wtf
?
THE Ears
Not helping
scooby doo bie doo
this theme song was my favorite
what is all of ur favorite cartoon theme songs
Hey, was the Curiosity rover Nuclear or Electric?
electric
nvm
Starting with Curiosity, which arrived on the Red Planet in 2012, NASA engineers switched to nuclear power as the rover's main source of energy.
corporation
AlphaGo is beating humans at Go - What's the big deal? Rob Miles explains what AI has to do to play a game.
What on Earth is Recursion?: https://youtu.be/Mv9NEXX1VHc
Object Oriented Programming: https://youtu.be/KyTUN6_Z9TM
Mixed Reality Continuum: https://youtu.be/V4qxfFPgqdc
AI Playlist: AI Playlist: https://www.youtube.com/playlist?list=PLzH...
I am not even sure if this is a serious discussion
its not?
link
to the one im watching?
yeah
Watch live as NASA attempts to land the Perseverance rover on Mars! Confirmation of a successful landing at Jezero Crater is expected around 3:55 pm Eastern (20:55 UTC), if everything goes to plan. The NASASpaceflight team will be providing live coverage of all of the critical events leading up to landing through to (hopefully) the first images ...
wrong thumbnail bruh
might be the same
yeah dude, their playing Kerbel Space Program in that link.
MURICA!!!
nah more like 10
props for connecting the two farthest topics
Pretty sure pickles and dinosaurs would be further apart
lol amen
or get an andriod. lel
@lapis tiger Please stop doing the "[name here] Fanboy Club". It's getting irritating for the folks you do that for
I really like the vanilla android
done
since there are many ios users here, like are there custom roms for ios ?
one plus
custom miui
pixel is best value imo for a mid range phone
u guys watching the perseverence mission?
voice chat 1 is watching
The folks in - yeah that
oh
this will do for now
cute
how is it still alive lOL
if you have a jailbroken iPhone, Microsoft blocks you from using office 365
Itβs not mandatory but possible
everything works on custom roms
also lineageos is a great alternative to android if you've been blocked from services
@graceful grail Are you eating right now?
been using it since it was named something else
forgot the name
meh various plugins on magisk for that
think it was cyanogenmod?
oh yeah, bricked my phone on first try
it's open source built on google android code
try xda
you will find for your model on xda
my old android doesn't have an accessible recovery mode so i can't install lineageos
you can try going through all the forums on your device
unlocks flashing roms
have the same question on this whole find my device features
I mean that's not super complex

i wil kill all with my lazer eyes
