#voice-chat-text-0
1 messages ยท Page 758 of 1
is VC less cannibalistic today?
the other day yall were tlaking about eating humans
no python
I'll dwell on it a while longer
i have owned a python irl before
people talk about various subjects in this VC, not just python
his name was mr chiesel
the snake's name?
been working, setting up a new digitalocean server
i found ghost-cli, a really cool tool written in javascript and i want to adapt it to automatically setup servers, configure them for web servers, and deploy apps on them
you?
My New Python Project.
def fin(calculation):
print(calculation)
operation_counts = calculation.count(
"**"), calculation.count("*"), calculation.count("/"), calculation.count("+"), calculation.count("-")
power, product, division, add, subtract = operation_counts
if power > 0:
for _ in range(power):
for index, (prev, current, next_) in enumerate(previous_and_next(calculation)):
if current == "**":
calculation.insert(
index-1, op.power(float(prev), float(next_)))
calculation.pop(index)
calculation.pop(index+1)
calculation.pop(index)
if product > 0:
for _ in range(product):
for index, (prev, current, next_) in enumerate(previous_and_next(calculation)):
if current == "*":
calculation.insert(
index-1, op.product(float(prev), float(next_)))
calculation.pop(index)
calculation.pop(index+1)
calculation.pop(index)
print(calculation)
``` Calculation is a list like `["8", "**", "2", "*", "3", "**", "2"]`
@sick dew and can you help me in teachin python
@sick dew but plzz help. me i don't mind you are a good teacher or not
ok
i just need to prepare python in 2 months
because i am having exam in may
do you want to see the course of python what i am having
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
HeidiSQL is a free and powerful client for MariaDB, MySQL, Microsoft SQL Server, PostgreSQL and SQLite
flowcharts ๐
@candid venture :'(
:C
ping
oof
thought that was the actual hemlock guy
yeah the actual mr hemlock guy helped me when my ssd died
@fiery juniper do you use linux?
ever used it?
dont worry then
yeah windows is pretty good i still use it
rip
Integrate your service with Discord โ whether it's a bot or a game or whatever your wildest imagination can come up with.
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
Upper left above the tab key typically
Unless you use spaces for indents
O why am i in voice chat lel cya latet
!e ```py
import this
@terse needle :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/usovamivod.txt
!e py import __hello__
@terse needle :white_check_mark: Your eval job has completed with return code 0.
Hello world!
!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.
await guild.fetch_members()
async for member in guild.fetch_members():
print(member.name)
members = await guild.fetch_members().flatten() # makes a list
Requests
^ this pacakge
@fallen pilot this is the example of a get endpoint. the post is the same except app.post("/")
https://fastapi.tiangolo.com/#example
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Their docs seem good although its a long read.
!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.
Hi rabbit
homework folder
๐ค ๐ค ๐ค ๐ค
Linux
.
!e
print(s)
@fiery hearth :white_check_mark: Your eval job has completed with return code 0.
21
why is this 21??
how can i help you
PEMDAS
def previous_and_next(some_iterable):
prevs, items, nexts = tee(some_iterable, 3)
prevs = chain([None], prevs)
nexts = chain(islice(nexts, 1, None), [None])
return zip(prevs, items, nexts)
class Operations:
def power(self, x, y):
return x ** y
def product(self, x, y):
return x * y
op = Operations()
def fin(calculation):
print(calculation)
operation_counts = calculation.count("**"), calculation.count(
"*"), calculation.count("/"), calculation.count("+"), calculation.count("-")
power, product, division, add, subtract = operation_counts
if power > 0:
for _ in range(power):
for index, (prev, current, next_) in enumerate(previous_and_next(calculation)):
if current == "**":
calculation.insert(
index-1, op.power(float(prev), float(next_)))
calculation.pop(index)
calculation.pop(index+1)
calculation.pop(index)
if product > 0:
for _ in range(product):
for index, (prev, current, next_) in enumerate(previous_and_next(calculation)):
if current == "*":
calculation.insert(
index-1, op.product(float(prev), float(next_)))
del calculation[index: index+3]
print(calculation)
c = ["8","**","2","*","3","**","2"]
fin(c)
8**2*2**2
!e ```py
tmp = '1'*1000
print(tmp)
@past elk :white_check_mark: Your eval job has completed with return code 0.
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
... (truncated - too long)
Full output: https://paste.pythondiscord.com/yejayisodi.txt
!e
while True:
print("hello world")
@mortal burrow :x: Your eval job timed out or ran out of memory.
001 | hello world
002 | hello world
003 | hello world
004 | hello world
005 | hello world
006 | hello world
007 | hello world
008 | hello world
009 | hello world
010 | hello world
011 | hello world
... (truncated - too many lines)
Full output: too long to upload
!e ```py
while True:
print('a'*1000)
@past elk :x: Your eval job timed out or ran out of memory.
001 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
... (truncated - too long, too many lines)
Full output: too long to upload
It's going to, don't worry
@vivid palm #sorrynotsorry
calculus is cringe
it's a new mic + talking through my mask
You're at a clear muffle.
.wa short 10000th padovan number
oh
.wa area of the region between x^2 + 2x + 2 and 2x^2 + 3x - 4
It's a mathy smile.
.wa trump curve
Oh no
oh well, time for calcus
hi Hemlock, Opal, Rabbit, everyone else
drop the psn gamertag 
hemlock, check it out, I made something,
blood and sweat ๐ฅฒ
https://prateekflasky.herokuapp.com/
please register, and post something, so I know you opened it, please ๐
your email is secure, I used SSL stuff for email stuff
Opal, check it out, I made something
The link? Pass.
why pass?
I'm averse to anything that requires signup.
common, at least open it
yeah, it requires your legit email
any legit email address
it sends a confirmation email
there's a "delete profile" option, which will remove all your data from the database
@main.route('/delete-profile', methods=['GET','POST'])
@login_required
def delete_profile():
if not current_user.confirmed:
flash("To delete your profile first confirm your account.")
return redirect(url_for('auth.unconfirmed'))
form = ConfirmationForm()
if form.validate_on_submit():
password = form.password.data
if current_user.verify_password(password):
posts = current_user.posts.all()
for post in posts:
comments = post.comments.all()
for comment in comments:
db.session.delete(comment)
db.session.delete(post)
db.session.delete(current_user)
db.session.commit()
flash("Your account has been deleted.")
return redirect(url_for('.index'))
else:
flash("Incorrect Password")
return render_template('confirm.html', form=form, message='delete your account')
all of it, posts, comments, and user in the end
I guess, I can't convince you to sign up no matter what ๐
assert not os.env, "error: computer unsuccessfully failed
murica!
@candid venture Why is using gparted not an option?
no gui
the arch live cd has no gui
Then parted
idk how to do it
Do you have the facility to download and burn a livecd that has a gui environment?
wdym
Hello.
Hey @short gate!
It looks like you tried to attach file type(s) that we do not allow (.jpglarge). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.
Feel free to ask in #community-meta if you think this is a mistake.
Hemlock, ever deployed on Heroku?
why are you in here
Why not?
WSL ๐
Oh wow
did you just join mv?
i a xubuntu
Hold on brb
KASH 161156Z 00000KT 1 3/4SM -SN BR BKN005 OVC014 01/01 A2977 RMK AO2 UPB13E31SNE13B31 CIG 003V008 PRESFR SLP088 P0006 60020 70020 T00060006 10006 21022 56031
that's here
anyone deployed on Heroku?
"temperature": {
"value": 0.59999999999999998,
"unitCode": "unit:degC",
"qualityControl": "qc:V"
},
switch to WSL2
โ๏ธ use google
Hey guys.
scroll up
Yeah hold on
Watch this
jp2a + lolcat
equals
Hold on give me some random image
Idk I'll use the Discord logo for example
lmao nice pic
So watch this
this is temperature anomaly for the US right now.
I convert to ascii from a jpeg source image
Then lolcat randomly displays the terminal text in rainbow
What are you doing?
"breaks into the house like the mossad or the cia" what did I just join
Give me a simple image I can translate to ascii and then lolcat
@fierce summit thought hungary had a big thing with burning books
Squid doesn't work well
@short gate I feel like this isn't the first time I've mentioned to you to keep the pictures appropriate
Let me try Arch logo
you forgot about 39', we got problems with that too
I saw a video of someone burning a pile of Doritos, which to my D&D-loving heart was blasphemy.
Oh. Sorry about that.
that's the germans, not the hungarians @candid venture
wasnt hungary part of the N*zi party?
@dreamy trail Alright, squid girls later.
Give me a simple image of a squid girl
noice, can u drop it to me in a .txt
Sure hold on
get splatoon
@candid venture Look up unetbootin
Here. Very simple.
Just black and white.
what's with all the inklings?
They're probably horny for inklings
"Man of culture"
i mean, inside you are two gamer wolves. one wants good gameplay, and the other is friggin horny
Yes.
According to Trash Taste at least
"Why am I doing this"
[voice chat] Hey.
Glad you caught onto that xD
yo
[Voice chat] Yo.
@candid venture are you trying to dual boot?
[Voice chat] It's pronounced oo-BOON-too

[Voice chat] I don't know if my Windows 8 PC has any virus.
I frequently hear it pronounced as yoo-bun-too
[Voice chat] Anyways...
[Voice chat] This is the only way I can talk to you guys through voice chat.
why are you saying [Voice chat] in front of all your messages?
[Voice chat] because it is fun
Voice chat Because I can't do direct voice chat.
[Voice Chat] You need to do it like this
I have been in this server for a few days.
@short gate and what else do you think this channel is meant for that you need to specify that your messages are destined for the voice chat
poggersss
I cannot speak.
[Voice chat] [Voice chat] I wonder what the #voice-chat-text-0 is for xD

So there is no way to do direct voice chat at all.
[Voice chat] [Voice chat][Voice chat] haven't a clue
[Voice chat] /tts comes to mind, but I don't think this server has it enabled.
[Voice chat] [Voice chat] [Voice chat] [Voice chat] Soo, this is a thing now
Voice chat @rugged root Hello.
[Voice chat][Voice chat][Voice chat][Voice chat][Voice chat]Indeed
[Voice chat] [Voice chat] [Voice chat] [Voice chat] [Voice chat] apparently
[Voice chat] [Voice chat] [Voice chat] [Voice chat] [Voice chat] [Voice chat] 1-up
[Voice chat][Voice chat][Voice chat][Voice chat][Voice chat][Voice chat][Voice chat][Voice chat] /me sips tea "Indeed"
/tts
[Voice chat] [Voice chat] [Voice chat] [Voice chat] [Voice chat] [Voice chat] [Voice chat] that's what you thought
Voice chat Hey.
Why? I can't speak.
hemlock is not amused
This is no longer funny, admin has spoken.
Alright, just stop.
joy, vanish henceforth!
This has gone too far.
Thus spoke the Admin
for message in "voice-chat-0":
message += "[Voice chat] "
I have revolutionized the vc
Mod is gonna kill you if you keep doing that.
But anyway
Voice chat Not everyone is Americans.
Katsumi, stop
can i speak.
Are you verified?
oh my bad...
hemlock
it's fine lol
this happens like 40 times a day
Can i speak just one time, i have a question.
just ask it in text
SPEAK.
I CANT
ask
in
text
no.
No, SPEAK in text.
then don't
i wanna say it.
up to you if you do or don't wanna ask
im confused???
type out your question
ok fine.
thanks
this isreali guy is pretty blunt, luv this dude
๐คก
!ban 805240748734939136 Wasting my time as well as asking inappropriate questions
:incoming_envelope: :ok_hand: applied ban to @native burrow permanently.
f*** him, if he's ban
fuck u
and its a "he", we all know it
Reasons to respect staff:
1)
@sacred bison Do I have to ban you as well? I'm really not in the mood for this shit
Hemlock, I thought people in america have something called a "thermostat" which heats up the whole house or something?
!ban 801480741757386812 You've been here for 6 minutes and all you've said is "stfu kid" and "fuck u". You have no place here.
:incoming_envelope: :ok_hand: applied ban to @sacred bison permanently.
it controls the heater/furnace
if the heater/furnace is broken the thermostat is powerless
right time to buy a heater, I would say
oh, man, kinda feel bad for you now, after hearing your voice
oh ohhhh
someones breaking in
k
Oh fair enough
arch
but it makes your nose cold; besides, when it's that cold, it feels like there's sellotape in your nose
at least for me it does
what is the coldest you can remember it being where you are?
we don't have thermostats, or heater, its like our bodies are evolved now to accepting cold
and hot both
where's that?
India
how cold does it get?
it got 4 C, where I live
ah
not these days. its 17 right now
Rick and Morty Full Episodes: http://asw.im/5YhIE8
Enjoy this extended clip of Justin Roiland struggling to keep it together.
SUBSCRIBE: http://bit.ly/AdultSwimSubscribe
About Rick and Morty:
Rick and Morty is Adult Swim's most scientifically accurate animated comedy. Created by Justin Roiland and Dan Harmon, it catalogues the bizarre misadve...
then it makes sense that you can live with no heaters, tho 4ยฐC is still a pain
It still boots
@versed basin If you're wondering why you can't talk, check out the #voice-verification channel
brb
bye guys ๐
I hope you "heat up" somehow Hemlock
praying for it, Indians have like 100 gods, someone would do something, ๐
This isn't a good look for them. C# only has 3 and a half stars
You think they'd make it look better
how do you share your discord info with others?
just my name?
or my name + 4 digit tag thingy?
I think the latter
Hi
Yo
I have issues with my hp energy star
@torpid cosmos
I can't dual boot
i have returned from calcus
Did you have fun?
it is what it is
Fair
You all know the best config files are ini and csv don't lie
It's called irony
It's called hirony
var fibonacciNumbers = new List<int> {1, 1};
```This bothers me. I don't like creating a list using curly braces
Why, C#
Why
Fair point
C++ is like that right?
Possibly, I never learned the old C's
You sure you canโt do []
vector<int> vect{ 10, 20, 30 };```
Possibry, let me check
there are like 6 ways to init a vector in cpp because cpp
or let vec = vec![1, 1]
int arr[] = { 10, 20, 30 };
int n = sizeof(arr) / sizeof(arr[0]);
vector<int> vect(arr, arr + n);```
๐ c style array definition
vector<int> vect1(10);
int value = 5;
fill(vect1.begin(), vect1.end(), value);```
In C you can easily type out of bounds, you get sigkilled
def sort(L):
return L
so many people write garbage code
what a waste
why isnt code like physics ... just a few laws
people do garbage physics too. Like Newtonian physics.
i mean...
newtonian physics is perfectly fine for normal day to day stuff ... unless you are going super large or small
and also leibnitz
wasnt calculus invented by someone else around the same time?
leibnitz
yeah right
does anyone know why tesseract is not working?
once they offered me the admin ROLE on this server
but then i denied it
did they?
print(pytesseract.image_to_string(Image.open('sssd.png')))
quit()```
i have this code
it doesnt give error
its just not printing
without vaccines you'll die before growing old enough to get a job lmfao
Hey guys, is there a way to format a date/time like "1 hour ago" in python without using time delta?
Without using time delta?
im my country gov has gone bonkers ... nobody has any accountability as far as COVID is concerend
I mean... possibly, but is there a reason why you wouldn't want to use it?
Because there is a chance I might get 1 month ago as well
So instead of having multiple checks I wanted something cleaner
I mean you can specify only the minutes or what have you
There's ways to normalize it
nobody talks about the side effects of vaccines ... i mean viruses are used to alter DNA
They do
๐ค
However the risks are considered significantly smaller than the benefits
dna? what's that
A long time ago someone suggested me to use dateutil for this sort of thing but not sure if dateutil has something like this
pendulum
genetic engineering is done using viruses ... they are used as like forks to put in a protein or remove it
๐ค
Pendulum is friggin' amazing
Thanks for the reference
I'll check that out
Otherwise I'll just go with checks and use timedelta
why not use timedelta though
that sounds fake
Because I'll be getting dates like a month ago, 2 months ago, 1 hour ago etc
Attenuated (live) & inactivated (pulverised dead)
Hold on, Calm. Let me double check something
yaeh sure
google is your friend
pfft, google doesn't give you accurate information
Read the question again, fucktard, it is ill-formed. If you cannot see that it
is ill-formed then you can't properly comprehend the fucking English language.
- Mr Flibble
*not related to anything someone said, just something funny i saw
#include best
be scared when programmers are talking about medicines
๐ค
its always adderall
We're already something like 10% viral DNA.
I'm misremembering
I'm pretty sure I can still quote that entire thing. Like, the entire Rejected thing
hehe
pfft, printing things in 2021
Happy to help! What'd you end up doing?
Found a package called dateparser
it does the exact same thing that I want
it's built by guys at scrapinghub
imagine what would happen if all the mods disappeared ๐
discord is very essential for me
python general would become even worse ๐
also yeah, some people use discord to communicate
so it is essential
like zoom
heat transfer coefficient heat shmansfer coefficient
When you said "Unlimited power", I was thinking Palpatine, not Genie. That'd be a mismatched crossover.
The idea of Robin Williams being Darth anything just doesn't really sit. Though he did a good job of 2-hr Photo
If you do a "_" method in a class, and create a child class, you can't call this method
Happen to me some days ago while i was trying to create a ML class
yeah
Ho. I'll test it right now then
If you make something foolproof, somebody is going to make a better fool.
Ho yeah you're actually right (i had no doubt but to see it IRL is something else haha)
It's never been something I've done outside of learning about it and confirming how it works.
You can prepend things with a single underscore as a way of saying to users "Don't futz with this, directly."
Without double underscoring it and 'forcing' the point.
Hmm ok.
I was searching online for a way to create a private class that is not accessible to the user BUT can still be used in child classes. Is this doable ?
Even when you double underscore something, you can still access the method in question. Put the class into dir.
You'll see how the mangling works.
As to inheritance...probably.
I'd be surprised if it blocked you on that.
Give it a go.
hi griff~
I would have some more question but won't spam it here. I'll try to find the answers on my own. Thank you for the answer as it helped me know that my parent private class is detected by my children class!
For rich
Good images to see what it does
apparently, out.write(integer) writes a char with ascii value integer
๐
out.write("" + integer)
I'll leave you here. See you guys !
griff ... mr hemlock ... laundmo ... an opalmist are the reason why im still on this server ๐ฅฒ
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
Command raised an exception: TypeError: '>' not supported between instances of 'Context' and 'int'
ive never eaten a pancake ... i like spicy things
from discord.ext import commands
class CommandEvents(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(
description="Deletes the given amount of messages")
@commands.has_permissions(manage_channels=True)
async def clear(ctx, amount=5):
if amount > 200:
await ctx.send(
'**Big limit**')
else:
await ctx.channel.purge(limit=amount + 1)
await asyncio.sleep(2)
await msg.delete()
#--------------------------------------------------------------------------------------------------------
def setup(bot):
bot.add_cog(CommandEvents(bot))
clear was invoked incorrectly
Command raised an exception: NameError: name 'asyncio' is not defined
clear was invoked incorrectly
Command raised an exception: NameError: name 'asyncio' is not defined

Command raised an exception: AttributeError: 'Context' object has no attribute 'msg'
Traceback (most recent call last):
File "d:\Discord Bot Project\Bot 1\BotDiscord.py\bot2.py", line 106, in <module>
bot.load_extension('cogs.Unmute')
Our Soothing Sand Window is a little piece of paradise for your desk, classroom, home... anywhere! The mesmerizing scenery inside this interactive sand window changes every time you flip it over! You'll love creating sparkling patterns, rolling waves, snow-capped mountains that morph into avalanches, rushing waterfalls, and so much more. This be...
your files
Traceback (most recent call last):
File "C:\Users\Shahe\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
TypeError: on_ready() takes 0 positional arguments but 1 was given
are in the wrong directory
from discord.ext import commands
import asyncio
class CommandEvents(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
async def on_ready():
print('Bot is Online')
def setup(bot):
bot.add_cog(CommandEvents(bot))
cogs.misc
to on_ready
it's not probably defined in the path
async def on_ready(self):
i fixed tthat
rabbit fax
bro its a troll bot
but that message is still on this server
because i also wanna get it verified
and with your discord name, it's probs best to stop with that talk
agree
it's cringe bruv, __init__
line 11 to 13
Find support and troubleshooting info including software, drivers, and manuals for your HP LaserJet Enterprise M608 series
so you attach these arms to the screen
"Rods are for night" - Hemlock 2021
@rugged root ineed help
your merge failed
@plain ferry Hmmmmmm?
why?
@rugged root how i can speack in your voice ?
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
#voice-verification
you need to somehow pull your change sinto your local branch. You may need to specify the origin branch.
You may wish to rebase instead.
This is happening because you made changes to your local, but your local is not up to date with your remote.
Write a program that allows you to enter a matrix
M by N positive integers (with 2โค N โค10 and N is
odd) then displays the sum of its two diagonals.
The program will display: The sum of the two diagonals is = 153
With 153 = 12 + 3 + 50 + 6 + 14 + 4 + 8 + 50 + 5 + 12
def saisir():
n = int(input("write entier n : "))
while not 2< n < 10
n = int(input("write entier n : "))
return n
code...
def remplire():
code ...
def Rem_Matrix(n):
Matrix = [0]*n
for i in range(n):
Matrix[i] = [0]*n
return Matrix
def my_function(matrix):
# Calculate the diagonal sums here
...
my_matrix = [
[12,52,9,47,4],
[0,3,210,8,7],
[39,88,50,92,11],
[4,5,22,6,29],
[12,71,10,32,14]
]
assert my_function(my_matrix) == 153
def affichage(n,Matrix):
for i in range(n):
print("\n")
for j in range(n):
print(Matrix[i][j],end="| ")
print(Matrix)
@uncut meteor
development team just messaged/called me asking ?s because the owner had a meeting with them saying to tokenize our CC payment system
apparently wants them to maybe even write a whole new accounting system from scratch

why
yes i agree "no"
i suspect
bc we are going thru a (voluntary) audit
they just want to pass
and then maybe sell the company eventually?
i really don't know
Refresh my memory, Fred
@uncut meteor
#Fonction Saisir N
def saisir():
n = int(input("Donner Longure de Matrice : "))
while not (2<n<10):
n = int(input("Donner Longure de Matrice Again : "))
return n
#Fonction get MatriceN
def remplir(n):
m=[0]*n
for i in range(n):
m[i] = [0]*n
for i in range(n):
for j in range(n):
m[i][j] = int(input(f"Donner votre entier de some M[{i}][{j}] : "))
for i in range(n):
print()
for j in range(n):
print(m[i][j],end="|")
return m
def some(m,n):
s=0
for i in range(n):
s = s+m[i][i]
for i in range(n):
s = s+m[i][n-i-1]
print("Some Matric: ",s)
#Programme principale
n=saisir()
#m=n*([0]*n)
m=remplir(n)
print("\n")
some(m,n)
Hmm
!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!*
Are you able to make Clojure code that is accessible by Java or Kotlin?
Like cleanly I mean
Neat
MISTUH GRIFF!
Huh
That doesn't seem too bad then
It's not awesome, but
Although in Java it wouldn't be terrible
@plain ferry change your inputs to hard coded variables.
input("enter n")
# should be
my_n = 5
@plain ferry
my_matrix = [
[12, 52, 9, 47, 4],
[0, 3, 210, 8, 7],
[39, 88, 50, 92, 11],
[4, 5, 22, 6, 29],
[12, 71, 10, 32, 14]
]
# Fonction Saisir N
def saisir(n):
# BAD! n = int(input("Donner Longure de Matrice : "))
while not (2 < n < 10):
#BAD! n = int(input("Donner Longure de Matrice Again : "))
return n
# Fonction get MatriceN
def remplir(n):
m = [0] * n
for i in range(n):
m[i] = [0] * n
for i in range(n):
for j in range(n):
# BAD! m[i][j] = int(input(f"Donner votre entier de some M[{i}][{j}] : "))
my_matrix[i][j]
for i in range(n):
print()
for j in range(n):
print(m[i][j], end="|")
return m
def some(m, n):
s = 0
for i in range(n):
s = s + m[i][i]
for i in range(n):
s = s + m[i][n - i - 1]
print("Some Matric: ", s)
# Programme principale
n = saisir(5)
# m=n*([0]*n)
m = remplir(n)
print("\n")
some(m, n)
how long of a number do I need so it never repeats itself?
oh
if i randomly pick on between that range
just use uuid
you mean in a randint? yeah, no guarantee its not gonna repeat.
!e
import uuid
print(uuid.uuid4())
UUID is gold standard to get ID that won't repeat
i know no "Guarentee" but very unlikely
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
f2c72f2f-e4ba-444e-b712-2e222d9f7c36
UUID Seed include time in their seed
by better i mean less long
What is this for?
!e python import uuid for x in range(0,15): print(uuid.uuid4())
@amber raptor :white_check_mark: Your eval job has completed with return code 0.
001 | 869e2457-c88a-49c3-a072-10f5e1650b85
002 | 5d100f11-82ff-4b5b-8bd3-7409434551d1
003 | 893dd6de-2e5e-43c1-a2e8-4626f3d56ff0
004 | fa00f117-8d78-4009-884d-763584cadb06
005 | edd7e1dd-9958-4513-b0a1-bb95718f6bb0
006 | aca12798-ff2a-400f-bfd1-79c2e8da3f92
007 | 52d572c1-619a-4adc-bb0b-81e94be93d07
008 | 75c4aacf-b9a1-41e7-bf55-a6cfe28a4125
009 | f41711af-bef0-407f-8aca-b3e6e68e6793
010 | 646053d0-53db-4271-abf1-fba1223ef452
011 | 3f1a115a-fb82-4a17-b680-223b7ad3065c
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/osebekiluq.txt
So basically its a code. Every session I have i want a code for that specific session
so if I have 100 session i want 100 different codes
uuid is probs best
uuid is 100% the way to go
minhas, theres literally a example above
its a python import
look at the last eval #voice-chat-text-0 message
ok
are uuid just a random bunch of numbers and letters or do they mean anything?
i fucking hate js
pip flip over is still pip
dockerhub > pip > npm
just get pre-configured envs

import React from 'react';
import { Text, View } from 'react-native';
const YourApp = () => {
return (
<View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<Text>
Try editing me! ๐
</Text>
</View>
);
}
export default YourApp;
Fuck javascript for real
fuck
chill out, plz
ok ok
typescript is fine
for (int i; i < x; i++){} for (int i = 0; i < x; i++){}
daspecito
#2187
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
for(int i = 0; i <= 20; i++)
{
int[] numbers = new int[1, 2, 3, 4, 8];
int MyIndex = Random.Range(0, 4);
randomKodiya = numbers[MyIndex];
}
halp
whats your error?
@flat sentinel https://www.qt.io/download-open-source
cannot implicitly convert int[,,,,*] to int[]
@terse needle
csharp
actually
im sorry im desperate for help
same error?
yes
Guys if i have this list [2,4,5,6,7] and want to remove 4 and 5 and 6 how to do iit?
change to @regal badge
int[] numbers = {1, 2, 3, 4, 8};
you could try here discord.gg/csharp
thanks @terse needle
change int numbers[]
griff was probably right
i never wrote in csharp
it worked yay
mhm
@uncut meteor are saying assign Random.range a class
void myFunc(int myArg){}
void myFunc(char myArg){}
for (int i = 0; i <= 20; i++) {
var rand = new Random();
int[] numbers = {1, 2, 3, 4, 8};
var index = rand.Next() % numbers.Length;
var randomNumber = numbers[index];
}
love you @uncut meteor
i need help please
What do you need
i installed python 3.9, and no matter what i do, pip doesn't work
and yes, i tried running it in administrator mode
send a screenshot of CMD message
x : int = 5
it says Random is ambiguous to Unity.collection & system.collection @uncut meteor
๐ญ
a dice roller
Unit.collection.Random
Severity Code Description Project File Line Suppression State
Error CS0104 'Random' is an ambiguous reference between 'UnityEngine.Random' and 'System.Random' Assembly-CSharp C:\Users\Shivam\Changay Ashtay\Assets\kodiyaroller.cs 44 Active
yes
ok
for(int i = 0; i <= 20; i++)
{
int[] numbers = {1, 2, 3, 4, 8};
var index = Random.Range(0, numbers.Length);
var randomNumber = numbers[index];
}

false => ![]
true => !![]
undefined => [][[]]
NaN => +[![]]
0 => +[]
1 => +!+[]
2 => !+[]+!+[]
10 => [+!+[]]+[+[]]
Array => []
Number => +[]
String => []+[]
Boolean => ![]
Function => []["filter"]
eval => []["filter"]["constructor"]( CODE )()
window => []["filter"]["constructor"]("return this")()
hi
:incoming_envelope: :ok_hand: applied mute to @dreamy flax until 2021-02-16 22:25 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
Also ngl the raid was ass nobody knew what to do and they all just copied my old username it was dry as lmao
!d discord.ext.commands.Bot.command
command(*args, **kwargs)```
A shortcut decorator that invokes [`command()`](#discord.ext.commands.command "discord.ext.commands.command") and adds it to the internal command list via [`add_command()`](#discord.ext.commands.GroupMixin.add_command "discord.ext.commands.GroupMixin.add_command").
Returns A decorator that converts the provided method into a Command, adds it to the bot, then returns it.
Return type Callable[โฆ, [`Command`](#discord.ext.commands.Command "discord.ext.commands.Command")]
!d discord.ext.commands.Command
aliases=('m',)
class discord.ext.commands.Command(func, **kwargs)```
A class that implements the protocol for a bot text command.
These are not created manually, instead they are created via the decorator or functional interface.
`name` The name of the command.
Type [`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)")
`callback` The coroutine that is executed when the command is called.
Type [coroutine](https://docs.python.org/3/library/asyncio-task.html#coroutine "(in Python v3.9)")
`help` The long help text for the command.
Type [`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)")
`brief` The short help text for the command.
Type Optional[[`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)")]
`usage` A replacement for arguments in the default help text.
Type [`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)")
`aliases` The list of aliases the command can be invoked under.... [read more](https://discordpy.readthedocs.io/en/stable/ext/commands/api.html#discord.ext.commands.Command)
[]
['m']
@willow light why cant i hear you guys?
I'm hearing things fine.
Things to try: Check Discord's audio settings, volume, output device, etc. Operating system's audio settings, etc.
Restarting Discord.
Restarting your computer.
Oh thanks for some reason my os settings were off
vulkan
What do you guys think of rust?
Watch what unfolded at JuliaCon 2020 here. The latest developments, optimizations, and features happen right here, at JuliaCon.
function mandelbrot(a)
z = 0
for i=1:50
z = z^2 + a
end
return z
end
for y=1.0:-0.05:-1.0
for x=-2.0:0.0315:0.5
abs(mandelbrot(complex(x, y))) < 2 ? print("*") : print(" ")
end
println()
end
example julia code
so yeah, it has very familiar syntax
class discord.ext.commands.Command(func, **kwargs)```
A class that implements the protocol for a bot text command.
These are not created manually, instead they are created via the decorator or functional interface.
`name` The name of the command.
Type [`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)")
`callback` The coroutine that is executed when the command is called.
Type [coroutine](https://docs.python.org/3/library/asyncio-task.html#coroutine "(in Python v3.9)")
`help` The long help text for the command.
Type [`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)")
`brief` The short help text for the command.
Type Optional[[`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)")]
`usage` A replacement for arguments in the default help text.
Type [`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)")
`aliases` The list of aliases the command can be invoked under.... [read more](https://discordpy.readthedocs.io/en/stable/ext/commands/api.html#discord.ext.commands.Command)
aliases=('m',)
@lime yarrow Chat in here. ๐
โข You have sent less than 50 messages.```
Perhaps it would be.
i think i have more then 50 messages but it still shows me this, does text messages in in voice-chat-* Chanel dont count ?
uh
total
bye guys
in the server
ow
so you'll probably get it
tchau tchau
more then 2 weeks
I tried staying silent. xD
To lurk. but idiocy really cracks me up.
@ SOFT jojo!
big fan
yeet
gappy is like
too good
but i didnt like how araki fully destroyed the og jojo world
and just moved on in sbr
like nothing happened
i think he will explain in the next part if there is
will he was my favorite untill gappy
aah nice
!voice @west mason
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@west mason You'll have to chat via text for a while before you can be voice verified/unmuted.
Then there's also the three days you have to have had on the server.
ok thanks โค๏ธ
what are you guys talking about now ?
Hello folks ๐
I'm starving so guys I'm leaving now. see you later! :3
Bye @west mason
sorry, I forgot I have a test in 5 min, so i need to study rq
@nocturne thunder my mic is not working
and i never talk generally
I just here to listen @somber heath
I am a fan of him
y tho ?
From today me too
!source
opalmist is always a motivation to me
!invite
BASIC
Truly inspiring!!! @faint ermine
+1
I am new to this server
How can I get to know all of you ?
Hanging out here is a good start.
okay.
?
supporting both the political parties
but you can vote for only one
Who says?
Yup , but my vote is secret..kept to me..
oh one person vote more than onces?
donno I just came to know now.
Me too.
guys know anything about Mono?
I think we can replace fan with enthusiast
@rain comet I've had more success with Wine.
o/
Luv u opal
bro OPAL IS TOO GOOD
hey back off, i'm the biggest opal fan
no doubt
you too
!source
I started opalmist fan club
'murica
FUCK YEAH!
sup people
hey laundmo
haha
@flat sentinel hey you're funny
remember we talked about Flask like 15-16 days ago, you talked about a lot of webstuff, and told me about fastAPI, that day? @faint ermine
aye?
look I created something ๐ https://prateekflasky.herokuapp.com/
learned it ๐
harsh reality
.topic
Suggest more topics here!
.topic
oh, this parent-teacher conference bull***
.topic
We rarely talk about python
I buy black clothes, most of the time, so black I guess?
.topic
@wise glade hello prateek
I realized that weeks ago haha. I'm just doing russian roulette, trying to connect at the right time
Make Tea
Workout
Clean
Program (its says "well")
fly_kite? (there was a festival yesterday)
@faint ermine Quite easily.
lined up nicely ๐
.topic
.topic
.topic
Suggest more topics here!
OpenCV is c++ stuff right?

