#voice-chat-text-0
1 messages · Page 915 of 1
this is on github actions
it would be cancel workflow
but yeah
for heaven's sake
it's doing this with them all
does the project has like a big module
this is for python 3.6
?
for all the other python versions it didn't check every dep
pytest, ig
requests
that's the only two big ones
it has many dependencies
$ python3.7 -m pip install requests
Defaulting to user installation because normal site-packages is not writeable
Collecting requests
Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
|████████████████████████████████| 62 kB 300 kB/s
Collecting certifi>=2017.4.17
Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
|████████████████████████████████| 149 kB 557 kB/s
Collecting idna<4,>=2.5
Downloading idna-3.3-py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 767 kB/s
Collecting charset-normalizer~=2.0.0
Downloading charset_normalizer-2.0.7-py3-none-any.whl (38 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
|████████████████████████████████| 138 kB 569 kB/s
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Successfully installed certifi-2021.10.8 charset-normalizer-2.0.7 idna-3.3 requests-2.26.0 urllib3-1.26.7
dunno about pytest never used it
well, at 5 minutes per package 'cuz downloading every version...
What is the difference between rand.nextInt(99) and rand.nextInt(99) + 1 ?
If I am looking for random numbers between [0 - 99]
is this python?
Java
oh i don't know about java sorry i can't help
Thanks
but i think
the first one would do
0-98
and the second one would do 1-99
@final tusk
rand.nextInt(100) will be what you want i think
Thanks
What anime? Didnt hear that
becuase in cpp
rand() % 99 // would do 0-98
rand() % 99 + 1 // would do 1-99
here's the log state at the point that I canceled it
https://paste.pythondiscord.com/iqojakeneh.apache
it had been running for 15 minutes
wow this seems cool
currently I'm doing
install_requires=[
"requests~=2.26.0",
"python-dateutil~=2.8.2",
"dataclasses~=0.8;python_version=='3.6'"
],
extras_require={
"dev": [
"Sphinx==4.2.0",
"sphinx-rtd-theme==1.0.0",
],
"test": [
"pytest~=6.2.5",
"flake8~=4.0.1"
]
}
remove the ~
thing is
on non-3.6 versions I want the ~=
on 3.6 I want the ==
I'll just try it out with the == anyway
but ideally I want maximum flexibility
umm you can make two of them
ugly af
ok
but still possible
this is a pipenv file?
install_requires=[
"requests~=2.26.0;python_version>='3.7'",
"requests==2.26.0;python_version=='3.6'",
"python-dateutil~=2.8.2;python_version>='3.7'",
"python-dateutil==2.8.2;python_version=='3.6'",
"dataclasses==0.8;python_version=='3.6'"
],
extras_require={
"dev": [
"Sphinx==4.2.0",
"sphinx-rtd-theme==1.0.0",
],
"test": [
"pytest~=6.2.5;python_version>='3.7'",
"pytest==6.2.5;python_version=='3.6'",
"flake8~=4.0.1;python_version>='3.7'",
"flake8==4.0.1;python_version=='3.6'"
]
}
yea this is how i will do it
it's still doing it
'cuz the dependencies of the dependencies don't have fixed versions
that is sad
rip for you
add them too ig?
certifi-2021.10.8 charset-normalizer-2.0.7 idna-3.3 requests-2.26.0 urllib3-1.26.7
these are the dependencies i think
ah, but they have dependencies too
typing_extensions
maybe that's from pytest or flake8
and where is six from?
ah, also requests
Screw this
I'm dropping 3.6 support
15mins or this
bad
ubuntu too needs to get off python2
debian already did
arch too
wait what
since 20.04
you can still manually install it with apt install python2 on 20.04
but they dropped gnome40?
but by default 20.04 comes with only python3
such as the GNOME 40 desktop environment and the GTK 4 development toolkit, didn’t make it into Hirsute Hippo.
atleast they still support 3.38
@vivid palm @dire folio is needing some custom keyboard education
@gentle flint also what would happen to the extensions and customisation i did if i upgrade to 21.04?
ok
ohh uno moment
uhh sorry another time eivl lol
yes. no worries mina 😄 thanks
Curious
@vivid jacinth you gonna speak or what?
@oak sorrel https://stackoverflow.com/questions/15341285/how-do-i-call-a-django-function-on-button-click
Up
hello guyz
hey i need help with my program
what program?
ive sent you friend request
On in a bit, running behind today
is this book worth learning python properly
Never seen it before. Worth a shot.
ok
Let us know if it's helpful to you or not
k
I did not mean to rhyme there
i will read it fully and tell ya
If it doesn't click with you early on that's fine too
We've got tons of resources we can suggest
I'm always just interested in seeing new stuff that's out there
why am i reading this kids book lol i am 14 but anyways ima start reading
i might find something new
that i did not know so
yeah
Some of the best ones are. Breaking things down into smaller pieces can make a difference
ahhhhhhhh thats what the book said it is broken down it many differnet chapters
i mean like every book is but this one says it so yeah
ok
i just found something new that is interesting
the first progrmmer was a english woman called ada lovelace
born in 1815
wait
it say that she coded before computer were even invented
that is weird now
The concept of putting things into a program as we know it is just creating a flow chart. There's also areas of maths that programming is pulled from as well.
And she was working with someone who was making the first computer, or at least the first concept of one
So she'd know what kinds of things would need to be done/made
guys i need a help!
i'm unable to speak as the permission is suppressed\
You'll need to check out the #voice-verification channel
Thank you 🙂
I have dark mode enabled on chrome and on some sites they have a bright white background regardless, like this one: https://plato.stanford.edu/contents.html - I tried clicking around in the CSS but I couldn't figure out why my dark mode isn't working, thoughts?
Dark mode is working on Windows 10 Chrome for me.
I contributed to this tutorial on installing NixOS on Linode: https://www.linode.com/docs/guides/install-nixos-on-linode/
20 MB when the HDD was 1 GB
I've been experimenting. Python art go brr.
Gradients can be fun.
what happened to Discord?
Music by Sesame Street and Lemon Demon (Neil Cicierega). Video by Sesame Street and wattamack4. Lovingly combined by me.
FOR ALL THOSE WHO DOUBT THAT THE SONG WAS MADE BY LEMON DEMON (NEIL CICIEREGA): http://trapezzoid.livejournal.com/167510.html
I'm just trying to give credit where credit is due.
You have the voice category collapsed
Poor quality video, sophomoric humor, it cracks me up.
Humble Bundle monthly go brr
They have a monthly subscription
12 games a month
Haven't actually played hardly any of them though
My Steam Profile: https://steamdb.info/calculator/76561197999649788/?cc=us
- Value: $7294 ($1727 with sales)
- Games owned: 686
- Games played: 395 (57%)
- Hours on record: 5,545.1h
Nya!
nya nya nya >w<
pfft
5 fives
05:55:55 for a 24-hour clock
@somber heath do you know Lenia?
Bert Wang-Chak Chan
January 15, 2020
In the field of Artificial Life, we use biochemistry, engineering and computer simulation to answer "what is life" and "what life could be". Starting from Conway's Game of Life, a famous discrete cell simulation, we tried to make everything smooth and continuous, and then something strange emerged. In this n...
I've seen some thumbnails. Didn't know it was called that.
The Legend of Zelda: Ocarina of Time must have the most beloved soundtrack in video game music history. This time around I break down some of the limitations composer Koji Kondo faced writing melodies for the game's titular instrument and how those limitations spawned some of the greatest themes of the medium.
Interview: https://www.glitterberr...
oh my gosh
It is like celluar automata on steroids
Are we going to space?
don't cross the streams!
@wind raptor ever gonna finish whatever you're typing?
are you seeing typing indicated from them? i'm not
only occasionally
Bye for now, it was nice listening 🙂
pick-up is hyphenated only in the case of stix
the get method has a second default argument for when the key in the first isn't found
!e py if (v := "apple") == "pear": ... print(v)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
apple
nice
it's kind of rare though
why is it spelled reuter but pronounced ruyhter
My network of notes is growing
def run_game(self):
"""Start the main loop for the game."""
while True:
# Watch for keyboard and mouse events.
# Below is the event loop.
self._check_events()
# Update the ship
self.ship.update()
# Update bullets
self._update_bullets()
# Redraw the screen during each pass through the loop.
self._update_screen()
I think it's French
I should compile Emacs with webkit support
So I can also have a browser
The build that the Manjaro repos provide don't have the flag
eww is tolerable-ish
oh 😳
the nasal cavity is involved too, which is why your voice sounds different when you're congested
my coffee is cultivated with synergistic machine learning using the latest linear regression technology
Toaster-as-a-service
ya'll on a roll
In the blockchain
im sufficiently entertained
Is your toaster even a toaster if it can't run Doom
my toaster's blockchain allows me to find its nearest authorized repair service with only 100 cpu-minutes of etherium mining
Hot take
If cryptocurrencies started with Proof of Stake, the only real problem would be the get-rich-quick folks
Cardano is good software for a terrible ecosystem
i'm a thin crust fan and can never get anything even close to what I want at home
https://youtu.be/pzskFI6uCFs Check out our Pizza Oven 2.0 video. You will learn how to control the fire to create different oven “functions,” from broiling to baking to low-and-slow braising, the outdoor cooking world is truly your oyster—or lobster.
https://chfstps.co/3g6s0hc
You could spend months and tens of thousands of dollars building an...
I tried to make baguette once but my oven wasn't hot enough
no, my oven is very inexpensive compared to my fridge
I am jealous 😦
Here’s what I made a while ago but could’ve turn out better if I had a hotter oven
the secret is not knowing how to bake, keeps oven costs low
good tip
I'd still eat it
🥺 thank u sir
Still better than what my ||non-existent|| baking skills 
that looks gooooood
I wanna do it.
I expect Valve to invest more in Linux gaming machines
all of these make me salivate
It's work but soo worth it.
Do it! And share the results.
If the Steam Deck does well, at least
would love to see how it goes. keep us posted.
I just sent that to a pizza-freak friend who wants to try it this weekend
idk what that is but red onions are delish
pan pizza
anyone know of a good place/site to hire good quality python devs for temporary contract work?
monchi!
Does Unreal target Linux?
it'll be a month or more because I'm moving soon.
hi @vivid palm
practice is all that matters ... I've only started recently too
in the halloween season i see @vivid palm
I'd have to learn how to cook first though haha
you should be monchiboo
The consistency of how I cook fried eggs varies too much
lol i like that
u know what. I can never crack an egg without puncturing the yolk these days.
I'll give Wayland 5 years at least
I've tried to do it with two, and it always ends up with shell in the egg
show off
I just use a fork to crack one
In fairness I can only do that with my right hand. So it's not like I can crack two eggs at once
Then I do it too hard and crack it all the way through
fair enough
It's been nice guys. Time for bed for me. Good night ~
👋
See ya
Windows will live longer than Java
I think any distro with a graphical installer is okay-ish
But possibly not longer than the JVM
del
The thing about going from Windows to Linux is that common users have already invested a lot in Windows that Linux is just too much effort
del my_variable
oh ok thanks heemlock
Yarp
lol yarp
Note that it doesn't instantly remove it from memory, just marks it to be garbage collected
If that matters
If everything was 1-to-1, everyone would've jumped ship to Linux instantly
ye that maters
But unfortunately, that's not the case
In that case you'd need to look into the garbage collection stuff in the standard library
To force purge, but that'll impact performance
If there was a 1-to-1 thing, that'd be the browser. That's it.
😔 ok i will just use del
ima make my own cooldown teqniqe by using exec 🙂 
very nice and hard and very much need memor leaks
hopfuly 9 gigs of memor is enough for python 🤮
oh noice it does \t auto
I don't think it even does that. All you do is remove that "place"'s reference to it. If it is inside of a dictionary it won't be collected
If there are no more references to it, it'll be wiped
But again, you can also directly kill it
I think
I'm likely wrong
i want to kill my variables and their bloodlines for taking all my ram from me
saving ids as variable names
and then wiping them after 20 years
can i make a discord bot in cthon?
Yep, you can do it with nearly any language
cthon
ye
cython
sytheon
there is no l
a fake version of python
that cost money
and does not work atall
totallynotavirusthon
peethon
@somber heath
totally real
oh god no
EDIT.COM
yes
thanks for introducing me to fractals
fractthons
shame u cant assign 42345 as a var name instead u have to use _42345
ids
nope
i dont want to have a dict 100000000 bytes long
fine
bru
how
@terse needle **just linux things 🪟 **
guys wanna see me when i was like 5
My son Jordan was watching Napoleon and he was singing to his favourite part
sorry batch
forgot to un-reply


does discord use a on-site database?
yea
i just found this today
!e
f'{100000000:,'
!e
f'{100000000:,}'
@whole bear :warning: Your eval job has completed with return code 0.
[No output]
!e ```py
key1 = "foo"
key2 = hash(key1)
d = {}
d[key1] = 1
d[key2] = 2
print(d)
@primal yacht :white_check_mark: Your eval job has completed with return code 0.
{'foo': 1, -1761443238396284468: 2}
faq
Have you ever used stuff from weakref ? (just curious)
Standard library module
why did it complain anyways?
The basis of almost all functional programming, Professor Graham Hutton explains Lambda Calculus.
http://www.facebook.com/computerphile
https://twitter.com/computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: http://bit.ly/nottscomputer
Computerphile is a sister project to Brady Har...
@rugged root i found a bug in the server
the description of #discord-bots
"discordpy"
i think its ment to be "pycord"
discord.py is outdated
i have not heard the word poopie in a long time
@rugged root man has a issue????
anyone know how to put a cooldown on cooldown errors and limit the amount of times they can be raise untill they just dont respond again?
what?
@zenith radish were you talking to me when you said timeout or smth?
i wasnt listening do you mind repeating? LP
im using pycord
i gave up
im not doing anything anymore
i just need someway to make pycord not respond to commands that are on cooldown already
is filling up discords database like this against tos???????????
it does
thats what oncooldown error is
where they store messages
its in 5 dif channels
im not being rate limited
2 dif subjects or topics
its the same as discord.py
yes
@commands.cooldown
im already using that and in the default error handler that you can assign i.e. listener on_command_error
there is no error
nothing is erroring
ok
dont look at he bottom line
ok
!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.pythondiscord.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.
@rugged root https://paste.pythondiscord.com/hoqibocixe.http
Hemlock, reviewing papers for journals in fields without open source culture is excruciating because you have to judge all sorts of claims about code without seeing or testing it
"the transformer-rectifier models avoids autonomous vehicle collisions with pedestrians 40% more than our baseline system, which we can't show you either"
the journal editor won't accept "revise with a GitHub link" as a review, it's too much to ask
noice embed
very many messages
if your wondering how im sending so many messages the trick is each channel on discord has a seprate rate limit
How many camera lenses is too many?
lol @rugged root
hello |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| https://google.com
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
@rugged root i did a trick /\
@agile horizon You should be able to verify if you're interested
epic trick |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| https://google.com
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
NDAs.... reviers are often at competing companies :<(
i made one small
hello @late merlin
um, hi
nice name
oh
forever ago I just pointed at a periodic table and said "that element sounds good I guess"
oh, i was reading d-block elements and theres a exception for you, for atomic size, because of insertion of f-block elements, shielding effect of Hf is poor which results in the exception of the atomic size.
I don't really know what that means but it's interesting nonetheless
😄
I've been trying to be less of a lurker here lately, I'm not even voice verified yet and I think I first joined in 2019
you need 50 messages
btw i gotta go soo, bye
thats sad
try to get verified
Oh god. What have I walked in on 😄
I have a bad habit of ignoring Discord communities I join, lol. Now I can't ignore them as much because my usual hangout Discord is pretty dead
tl;dr, Rabbit's company does not look at an applicant's GitHub if they already have a work history
To have a more level playing field
this server has 60k+ members and only one on-topic general chat?
The only channels that aren't related are the off-topic channels

yeah but in which channel can I talk about a 631 LOC toy python project I made
Juniper Notebook
Jennifer Juniper?
Hello friends good afternoon and sorry to bother your friends I'm trying to develop a query but I don't have so much property I need to merge doing the joining of different parts of the database and build a query which helps me to create a view of a form you know , a return from a table of information, in a precise view that comes the result of this query
that collect all synchronized data
This is going to drive me fucking insane
I used to do so much in this program, and I just keep hitting a wall
hey guys
could someone help me RQ
def power(base, exponent):
if base == 0:
return 1
return base * power(base,exponent-1)
What's the problem?

you have been banned from the micky mouse club
Hush
Yep, that's what it's saying.
The problem is that you're changing the exponent, but not the base. And the base variable is what starts to get you out of the recursion
oh I see that's recursion right there
you are checking for base
you should be checking
Yeppers
yahoo
Although if this ends up starting at a negative....
wait
You don't have anything to catch that, and it'll also go forever
i need to exclude those
def power(base, exponent):
if power == 0:
return 1
return base * power(base,exponent-1)
still lmaoo
That's.... a good question, actually
good job
thanks
my pleasure
!vban 603610743811604513 After reviewing your infraction history, you previously received a final warning regarding such jokes. You received a 2 week voice ban previously regarding this.
:incoming_envelope: :ok_hand: applied voice ban to @tough panther permanently.

.
hi
How's it going
[Ctrl]-[Shift]-[F] in the Discord app for Windows toggles Discord in full screen mode.
Looks like a problem with either PowerShell or VSCode ... can you try to use a full path that ONLY contains basic ASCII characters?
Nevermind. I closed the terminal part and run it again, and now it runs fine
ah wait a second ... it tried to cd into Python somehow ...
Like ... the Python executable is not a directory!
bravo @fierce summit
(assuming you didn't crop off too much)
Hi
They chopped off too much
But their problem was with the first of their semicolon separated commands. They tried d: first, and that doesn't exist.
PowerShell would say "command not found", but a colon is not a valid character for names, so it's confused
Also looks like it's sticking its tongue out at you
Heading home, I'll be back on in the car
lol
is it cool if I text here as replies to voice chat 0's vc?
also how do I voice verify? 🤔
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Yes
hey guys
def productOfArray(arr):
if len(arr) == 0:
return 1
return arr[0] * productOfArray(arr[1:])
why do i call arr[0] and then productOfArray(arr[1:])
why cant i just use arr[0] * arr[1:]
NVM
got it
@zenith radish What were you streaming earlier? I wasn't able to view it because of the current restriction
Ah I see.
Sure, I'd like to hear about it
Sounds fine for me
Can you watch the stream?
I can see it now
I'll take your word for it
@zenith radish How long have you been working on this?
Do you have an eta for completion or is it just gets done when it's done?
All things in moderation, yeah?
Are you Lithuanian or is that where you reside now?
I see. Your English sounds American which is what had me curious.
Hi people how are u?
Doing well, how's your day / night?
The US, you?
Do you play any PC games, LP?
Why's that? Not enough time?
Have you watched Squid Game on Netflix?
I don't usually jump on trends but I really enjoyed the show so this morning I watched an hour's worth of TikToks Squid Game themed lol
My friends kept talking about it so I gave it a go
ended up binging it lol
@zenith radish No, you're not dumb
You've learned to code! That's pretty exciting
I thinking learning is important but I dislike how (in the US at least) how monetized it is and the various course requirements there are related to a degree
Oh yeah I'm a junior at uni and I'm already 28k in debt
@whole bear That's cool, gj
No, IT
I'm taking a class currently on programming
python as you might have guessed
Hmm doing fine? idk about that
I feel like Courage the Cowardly Dog
Just running around
in constant panic
nice
I think the voice actor for the old lady passed away semi-recently
@whole bear wb boyo
If that were so I'd be an author. I'm going to pursue cyber security for $$$
Jobs want you to be 12 with 20 years of experience
Only person who has that is Ash Ketchum
I love cats 
Working from home is awesome. I know it's not for everyone. For me though it's wonderful.
Oh yeah, do you do your coding in English?
Do you do any coding in Lithuanian?
Or rather the language spoken there
pretty much all code is in english
Interesting, I did not know
Great outlook, LP
The millennial mindset
Can we use python in a big company as a main system?
with a milions of requests
wich is better, java or python?
i work in Localiza
its a rent car company in Brazil
really depends
and work with telemetry
what do you want to do?
Diff tools for diff jobs
Yes, exactly what i mean
Well, for starters, python is much more popular
and modern programs use python a lot more than java
interesting
but, about the clouds, wich is better, Oracle Cloud or Aws?
Oracle have more cheaper prices
and 100% disponibility
yes, understeand
Which is better, PS4 or PS5? haha
PS3
🙂
Different tools--a spoon is great for soup but terrible for cutting steak.
Sure you could do it
But not ideal, you know?
I did it backwards. C++ was my first real programming language, but I picked up Python pretty quickly when I started using it
I think I'm almost there
Which is better, x86 processors or ARM?
I mean, C++ has foreach as for (auto &x: myvector)
you think we shouldnt use mysql in ARM instances?
oci offers a 24 gb ram and 4 ocpu with 2,8 ghz for free lifetime, in arm instances
i think its a really good
with 50gb to storage
what do people even use Raspberry Pis for, I have a Beagleboard xM and I don't use it for much
i have my website here
when i start learn c++ i made a budgeting software for the company I worked for
and my boss thought I was hacking the company
hahaha
I still have to send ~17 more messages
I put all my clocks on 24-hour time because the numbers are easier to do math on

I contributed to this tutorial on installing NixOS on a Linode server: https://www.linode.com/docs/guides/install-nixos-on-linode/
!voiceverify
:incoming_envelope: :ok_hand: applied mute to @indigo cedar until <t:1634364379:f> (9 minutes and 58 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
Haha
morning
hey anyone out htere?
yep
@wraith kernel you learning python or a pro?
learning
why do you ask?
im back
and im ready to do something
on python
while no one watches me
1st though
i need to make new file
which i have
and use python
now to begin coding something
hmmmmmm,
perhaps i could try make like a computer
@wraith kernel Hi, I see that you're in a voice-chat, mind explaining me something about importing images ?
importing images?
Mind if I join the voice-chat ?
sorry bro but man isnt that great at understanding that
sure why not?
theres a channel where you can get voice verification
I need to wait for 3 days
you new to coding?
yup
and python discord?
also
ah okay
Mind if I call you ?
idk
we could just chat here you know?
just saying
Ok, so I am coding Flappy Bird and need to import images from a file but I gat and error message when I specify the path to the file.
Have looked up on google but people only use images and not files with images in it.
I my case I need the file so the code cycles through the images.
hmmmmm ok
path = 'images/'
image = pygame.image.load(path).convert_alpha(fenetre)
image = pygame.transform.scale(image, (FLAPPY_LARGEUR, FLAPPY_HAUTEUR))
ajoutePose(oiseau, nom_image, image)
"images" is the name of the file with the images inside
Here's the function:
for nom_image, nom_fichier in (('AILE_HAUTE','bird_wing_up.png'),
('AILE_MILIEU','bird_wing_mid.png'),
('AILE_BASSE', 'bird_wing_down.png')):
chemin = 'images/'
image = pygame.image.load(chemin).convert_alpha(fenetre)
image = pygame.transform.scale(image, (FLAPPY_LARGEUR, FLAPPY_HAUTEUR))
ajoutePose(oiseau, nom_image, image)
what im trying to say is that if someone saw your code like that they'd not like it like that
I see
Yes
hey
@zenith peakHi, can't speak cause I'm new to the server.
?
can someone please explain what happened while i was gone
2 pple joined the VC and discussing about Local Minecrafter's problem
and what was his problem?
something about implementing a camera in python
that sounds weird
welcome in @olive vigil
how are you bro
how so @mystic lily
paste it in
let me test it @mystic lily
in a new file
if close >= target:
print('')
print(symbol)
print('target reached')
print(f'sell for {close}')
print(datetime.datetime.now())
print('')
intrade = False
if close <= stoploss:
print('')
print(symbol)
print('hit stoploss')
print(f'sell for {close}')
print(datetime.datetime.now())
print('')
intrade = False
ok
AKROUSDT
buy for 0.03556
2021-10-16 11:15:05.869708
target: 0.03566668
stoploss: 0.03548888
AKROUSDT
target reached
sell for 0.03556
2021-10-16 11:15:05.870706
AKROUSDT
hit stoploss
sell for 0.03556
2021-10-16 11:15:05.870706
im gonna test it ill tell you if there is something wrong or not
wait what bot?
i feel as if the bot you said @olive vigil may kinda break the rules
idk if im right or wrong though
@mystic lily forgot to mention but the code here doesnt look something like this code
like this
print(f'sell for {close}')
print(f'target: {target}')
does anybody think they could help me in #help-chestnut ?
bros is it fine if i can stay in the chat while making my A.I friend called kam
komputer (dont ask why i made c into k)
artificial
machine
@zenith peak sadly not
OpenCV
oh 😮
#my friend
import time
attempts = 0
cp = "turn on kam"
while True:
print ("enter password to turn on kam")
password = input()
attempts = attempts +1
if cp == password:
print("access to kam is granted")
else:
print("access denied cannot access kam")
if attempts >2:
time.sleep(60)
if attempts >5:
time.sleep(300)
hmmmmm
cv2 - ImageCapture
Pillow - saving as .apng
im trying to make like a A.I friend called kam
Komputer (dont ask why k replaces c)
artificial
machine
i want there to be a password system 1st to access Kam but its went wrong
after i enter the password correct it still asks for it
oh ok
ok im getting more problems and getting confused
@mystic lily that sounds very depressing like my life
i want to have a good career using programming languages
maybe become a great game designer
like coding , drawing the designs of stuff ect
explain more about open CV's @uncut meteor since im making a A.I friend
ah okay
see ya @zenith peak i hope your product works
ah okay
vc has became silent
very silent
hmmmmmmm
you guys wanna talk about something?
to do with coding?
hmmmmmm
im gonna carry on making Kam
aka komputer artificial machine
cam sounds weird
kam sounds better
each letter stands for a word
meaning cant call it camputer
komputer
artificial
machine
idk @woeful salmon since its not A.I is it?
idk if it is A.I or not
hmmm
you know what
ill change the name to kai
ok that part is done now
now to solve the other problems
#my friend
import time
attempts = 0
cp = "turn on kai"
while
print ("enter password to turn on kai")
password = input()
attempts = attempts +1
if cp == password:
print("access to kam is granted")
else:
print("access denied cannot access kai")
if attempts >2:
time.sleep(60)
if attempts >5:
time.sleep(300) ```
this is what it looks like currently i apologise that i havent added quotation
recommend using getpass.getpass
??
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.
👌
there
does x = importlib.import_module(args) allow x to use functions from the python file?
like, x.func?
ok now that that's done i need to fix the problems
1st i need it to not repeat the to try do password if someone has got it correct
no i want the program / A.I to speak
saying hello,how are you, all of that
#my friend
import time
attempts = 0
cp = "turn on kai"
while True:
password = input("enter password to turn on kai")
attempts += 1
if cp == password:
print("access to kam is granted")
break
print("access denied cannot access kai")
if attempts > 2:
time.sleep(60)
if attempts > 5:
time.sleep(300)
print("Hello, I am Kam")
ah okay
thx
@mystic lily did you say your going to send your coke????
😅
is getpass a builtin? never seen it before
!e
import getpass
print(help(getpass.getpass))
@woeful salmon :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | NameError: name 'help' is not defined
its givingModuleNotFoundError: No module named 'sample_match'
but it is definitely there
i found new problem
when i play the code it say "enter password to access kam" but im trying to access kai
its probably cause im not specifying location
how do I do that?
while we are talking im putting on music
match_history.sample_match
since i like music
so like
match_data = importlib.import_module(match_history.sample_match)
it saysNameError: name 'match_history' is not defined
ah
you can do that?
match_data = importlib.import_module("match_history.sample_match")
oh
the location
LETS GOOOO
I love you griff
I'll kiss you when I have the chance
....
w o t ?
if intrade == True and openitme != openitme:
if intradesymbol == symbol:
if close >= target:
print('')
print(symbol)
print('target reached')
print(f'sell for {close}')
print(datetime.datetime.now())
print(f'target: {target}')
print(f'stoploss: {stoploss}')
print('')
intrade = False
if close <= stoploss:
print('')
print(symbol)
print('hit stoploss')
print(f'sell for {close}')
print(datetime.datetime.now())
print(f'target: {target}')
print(f'stoploss: {stoploss}')
print('')
intrade = False
if intrade == False:
if ema4 < ema3 and ema3 < ema2 and ema2 < ema1:
if closelast > ema1last and openlast < ema1last:
if ema1 < open and ema1 < open:
# macds less than macd
if macds < macd:
# macdlast less than macdslast
if macdLast < macdsLast:
print('')
print(symbol)
print(f'buy for {close}')
print(datetime.datetime.now())
intradesymbol = symbol
buyprice = close
hi = np.sum(0.003*buyprice)
lo = np.sum(0.002*buyprice)
target = np.sum(hi+buyprice)
stoploss = np.sum(buyprice-lo)
print(f'target: {target}')
print(f'stoploss: {stoploss}')
print('')
intrade = True
what
look at #voice-verification channel
@somber heath is type func usally slow? like does it usally take 0.2 secs to see if two classes are eqal?
function calls in python are slow in general
Shouldn't be.
ik
@tacit rampart The issue is not one of audio volume, but clarity. We can hear you, but it's not great. You sound like you have a pillow over your face.
It's fine. We'll deal.
I use vanilla JavaScript and am proud of it
The guys get into that classic debate of which is better (SPOILER: It's PC!)
Download the Official Element Animation App!: http://bit.ly/1mhikQe
Our Official Minecraft Server:
server.elementanimation.com
Hebrew subtitles - Mor Haviv - http://www.youtube.com/user/morha9
French subtitles - http://www.youtube.com/user/jeje2201
----------------...
nope
]
watermelon
I am loving this channel.. so cool animations
also for all the linux user aplay /dev/urandom
why is LP on binary decoder?
pydis ctf??
pls explain
im really dumb at coding
yeah joe made a ctf challange just ffor fun
ctf?
capture the flag?
no?
while you lot are watching stream im gonna work on kai
yeah
ah okay
👀 well its hard to make a legal one
(that wont get annihallated by youtube)
and suffer CaD
CaD = cease and desist
👀 even if YouTube doesn't see it we're supposed to be people who know we shouldn't be doing stuff against their tos
so we wouldn't do it anyway
#my friend
import time
attempts = 0
cp = "turn on kai"
while True:
print ("enter password to turn on kai")
password = input()
attempts = attempts +1
if cp == password:
print("access to kai is granted")
else:
print("access denied cannot access kai")
if attempts > 2:
time.sleep(60)
if attempts > 5:
time.sleep(300)
print("hello friend i am kai, komputer, artificial, intelligence ")
print("what is your name?")```
this is what ive got for my bot
im doing computational thinking @woeful salmon doing many things at once
watching stream,writing code,talking here
hmmmmmm
whatup 👋
hi
hemlock aint here? :sus:
for now
i need to find idea to solve problem in the code
thats a lot of stuff
yees
hmmmmmm
@primal yacht its a command to make a reaction role embed
and it works perfecto
self, ctx: Context, emoji1=None, role1: discord.Role=None, emoji2=None, role2: discord.Role=None, emoji3=None, role3: discord.Role=None, emoji4=None, role4: discord.Role=None, emoji5=None, role5: discord.Role=None, emoji6=None, role6: discord.Role=None, emoji7=None, role7: discord.Role=None, emoji8=None, role8: discord.Role=None, emoji9=None, role9: discord.Role=None, emoji10=None, role10: discord.Role=None, emoji11=None, role11: discord.Role=None, emoji12=None, role12: discord.Role=None, emoji13=None, role13: discord.Role=None, emoji14=None, role14: discord.Role=None, emoji15=None, role15: discord.Role=None, emoji16=None, role16: discord.Role=None, emoji17=None, role17: discord.Role=None, emoji18=None, role18: discord.Role=None, emoji19=None, role19: discord.Role=None, emoji20=None, role20: discord.Role=None
str
rolesReactions: tuple[tuple[Optional[str], discord.Role], ...]
@zenith radish add == at the end
does this work @whole bear ?
im not re working it i would have to read old code 😒
@zenith radish https://en.wikipedia.org/wiki/Base64
Have that old function wrap around a new one?
Also, this new one can just iterate easily without having to manually have names specified to check with a lot of ifs
its not
!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.pythondiscord.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.
@primal yacht here is the code for my reaction roles command https://paste.pythondiscord.com/bocucurequ.py
yeah, you have a heck ton of repeated code there
isEmpty = True
for emojiName, roleToAdd in rolesReactions:
...
if isEmpty and the_curent_role_item_is_valid:
isEmpty = False
....
if isEmpty:
# no valid values
...
@primal yacht
I don't trust that either discordc.gift
because self bot raiding servers with 1,268,312 accounts on 50,212 ips is very usfull for annoying people
just input spam data so differently that when they goto sign in they get 30,000 404 403 or any other error and bthen get ip banned for 24 hours
because the signing in is automatic
yes
getting 30,000 errors in 1 hour on discord will get you ip banned for 24 hours
i would know
i tried making a bot in batch and it sent like 40000 requests
