#voice-chat-text-0

1 messages · Page 915 of 1

gloomy vigil
#

thats nice

#

i would have done ctrl + c, if it didnt inform me

#

and restarted the installation

gentle flint
#

this is on github actions

#

it would be cancel workflow

#

but yeah

#

for heaven's sake

#

it's doing this with them all

gloomy vigil
#

does the project has like a big module

gentle flint
#

this is for python 3.6

gloomy vigil
#

?

gentle flint
#

for all the other python versions it didn't check every dep

gentle flint
#

requests

#

that's the only two big ones

gloomy vigil
#

requests is 2kb

#

i think wait

gentle flint
#

it has many dependencies

gloomy vigil
#
$ 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

gentle flint
#

well, at 5 minutes per package 'cuz downloading every version...

final tusk
#

What is the difference between rand.nextInt(99) and rand.nextInt(99) + 1 ?

#

If I am looking for random numbers between [0 - 99]

final tusk
#

Java

gloomy vigil
#

oh i don't know about java sorry i can't help

final tusk
#

Thanks

gloomy vigil
#

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

final tusk
#

Thanks

patent marlin
#

What anime? Didnt hear that

gloomy vigil
#

becuase in cpp

rand() % 99 // would do 0-98
rand() % 99 + 1 // would do 1-99
gentle flint
final tusk
#

Okay I see now

#

Thanks

gentle flint
#

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"
        ]
    }
gloomy vigil
#

remove the ~

gentle flint
#

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

gloomy vigil
gentle flint
#

ugly af

gloomy vigil
gentle flint
#

but still possible

gloomy vigil
#

this is a pipenv file?

gentle flint
#
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'"
        ]
    }
gentle flint
gloomy vigil
gentle flint
#

it's still doing it
'cuz the dependencies of the dependencies don't have fixed versions

gloomy vigil
#

rip for you

#

add them too ig?

gentle flint
#

argh

#

pain

gloomy vigil
#
 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

gentle flint
#

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

gloomy vigil
#

15mins or this

gloomy vigil
gentle flint
#

no

#

sensible

#

people just need to upgrade

#

3.7 is quite enough

gloomy vigil
gentle flint
#

debian already did

gloomy vigil
gentle flint
#

oh

#

ubuntu too

gloomy vigil
#

wait what

gentle flint
#

since 20.04

gloomy vigil
#

oh i am ubuntu 20.04

#

i didnt knew this

#

i want to upgrade to 21.04

gentle flint
#

you can still manually install it with apt install python2 on 20.04

gloomy vigil
#

but they dropped gnome40?

gentle flint
#

but by default 20.04 comes with only python3

gloomy vigil
#

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

rugged root
#

@vivid palm @dire folio is needing some custom keyboard education

gloomy vigil
#

@gentle flint also what would happen to the extensions and customisation i did if i upgrade to 21.04?

gentle flint
#

idk

#

I don't use ubuntu

gloomy vigil
vivid palm
#

ohh uno moment

viral compass
#

Kailh

vivid palm
#

uhh sorry another time eivl lol

dire folio
#

yes. no worries mina 😄 thanks

lapis prawn
#

hey

#

verbose

#

what is this

#

is that macbook tho?

#

or somehting

celest pecan
#

Curious

gentle flint
#

@vivid jacinth you gonna speak or what?

somber heath
cerulean ridge
#

\refresh

#

/refresh

celest pecan
#

Up

whole bear
#

hello guyz

sour narwhal
#

hey i need help with my program

whole bear
#

what program?

sour narwhal
#

it takes screenshot

#

let me show you

whole bear
#

ook

#

DM

sour narwhal
#

ive sent you friend request

rugged root
#

On in a bit, running behind today

whole bear
#

is this book worth learning python properly

rugged root
#

Never seen it before. Worth a shot.

whole bear
#

ok

rugged root
#

Let us know if it's helpful to you or not

whole bear
#

k

rugged root
#

I did not mean to rhyme there

whole bear
#

i will read it fully and tell ya

rugged root
#

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

whole bear
#

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

rugged root
#

Some of the best ones are. Breaking things down into smaller pieces can make a difference

whole bear
#

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

rugged root
#

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

foggy tinsel
#

guys i need a help!
i'm unable to speak as the permission is suppressed\

rugged root
whole bear
#

Thank you 🙂

haughty pier
#

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?

molten pewter
haughty pier
whole bear
#

20 MB when the HDD was 1 GB

molten pewter
somber heath
#

I've been experimenting. Python art go brr.

gloomy vigil
#

i also tried some python art

#

it was 4months ago-6

somber heath
#

Gradients can be fun.

primal yacht
#

what happened to Discord?

rugged root
sweet lodge
rugged root
#

Poor quality video, sophomoric humor, it cracks me up.

sweet lodge
#

Humble Bundle monthly go brr

#

They have a monthly subscription
12 games a month

#

Haven't actually played hardly any of them though

rugged root
sweet lodge
rugged root
primal yacht
#

*foo* _foo_
foo foo

#

foo
***__foo__***

cerulean ridge
#

finally there are people talking lol

#

sup

somber heath
#

Nya!

primal yacht
#

nya nya nya >w<

frosty star
#

pfft

primal yacht
gloomy vigil
primal yacht
#

05:55:55 for a 24-hour clock

rugged root
cerulean ridge
#

@somber heath do you know Lenia?

somber heath
#

I've seen some thumbnails. Didn't know it was called that.

primal yacht
frosty star
#

oh my gosh

cerulean ridge
whole bear
#

Are we going to space?

sweet lodge
#

Yep

#

Get in the bus

gentle flint
agile horizon
#

don't cross the streams!

gentle flint
#

@wind raptor ever gonna finish whatever you're typing?

agile horizon
gentle flint
#

only occasionally

whole bear
#

Bye for now, it was nice listening 🙂

gentle flint
#

and again he is typing

#

and again he stops

agile horizon
#

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

somber heath
#

!e py if (v := "apple") == "pear": ... print(v)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

apple
agile horizon
#

it's kind of rare though

frosty star
#

why is it spelled reuter but pronounced ruyhter

swift valley
#

My network of notes is growing

frosty star
mortal burrow
#
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()
agile horizon
swift valley
#

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

frosty star
swift valley
#

See pinned

#

brb

#

switching to phone

agile horizon
#

the nasal cavity is involved too, which is why your voice sounds different when you're congested

frosty star
#

haha

#

classic

agile horizon
#

my coffee is cultivated with synergistic machine learning using the latest linear regression technology

frosty star
#

haha blockchain thats another one

#

boy...

swift valley
#

Toaster-as-a-service

frosty star
#

ya'll on a roll

swift valley
#

In the blockchain

frosty star
#

im sufficiently entertained

swift valley
#

Is your toaster even a toaster if it can't run Doom

agile horizon
#

my toaster's blockchain allows me to find its nearest authorized repair service with only 100 cpu-minutes of etherium mining

swift valley
#

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

agile horizon
#

i'm a thin crust fan and can never get anything even close to what I want at home

mortal burrow
#

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...

▶ Play video
frosty star
#

I tried to make baguette once but my oven wasn't hot enough

agile horizon
#

no, my oven is very inexpensive compared to my fridge

frosty star
#

Here’s what I made a while ago but could’ve turn out better if I had a hotter oven

agile horizon
#

the secret is not knowing how to bake, keeps oven costs low

frosty star
#

good tip

frosty star
swift valley
#

Still better than what my ||non-existent|| baking skills lemon_fingerguns

haughty pier
swift valley
#

I expect Valve to invest more in Linux gaming machines

agile horizon
#

all of these make me salivate

mortal burrow
#

It's work but soo worth it.

mortal burrow
swift valley
#

If the Steam Deck does well, at least

frosty star
agile horizon
vivid palm
mortal burrow
spiral monolith
#

anyone know of a good place/site to hire good quality python devs for temporary contract work?

vivid palm
#

monchi!

swift valley
#

Does Unreal target Linux?

haughty pier
spiral monolith
#

hi @vivid palm

frosty star
spiral monolith
#

in the halloween season i see @vivid palm

swift valley
vivid palm
#

you should be monchiboo

swift valley
#

The consistency of how I cook fried eggs varies too much

spiral monolith
frosty star
rugged root
#

I can only crack and open eggs with one hand

#

Like

swift valley
#

I'll give Wayland 5 years at least

rugged root
#

I've tried to do it with two, and it always ends up with shell in the egg

frosty star
#

show off

swift valley
#

I just use a fork to crack one

rugged root
#

In fairness I can only do that with my right hand. So it's not like I can crack two eggs at once

swift valley
#

Then I do it too hard and crack it all the way through

frosty star
#

fair enough

swift valley
#

Django Workshop is booming

#

Very nice

frosty star
#

It's been nice guys. Time for bed for me. Good night ~

swift valley
#

👋

rugged root
#

See ya

swift valley
#

Windows will live longer than Java

#

I think any distro with a graphical installer is okay-ish

rugged root
whole bear
#

how do i delete a variable from memory?

#

like un assign a var

rugged root
#

del

swift valley
#

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

rugged root
#

del my_variable

whole bear
#

oh ok thanks heemlock

rugged root
#

Yarp

whole bear
#

lol yarp

rugged root
#

Note that it doesn't instantly remove it from memory, just marks it to be garbage collected

#

If that matters

whole bear
swift valley
swift valley
#

But unfortunately, that's not the case

rugged root
#

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

swift valley
#

If there was a 1-to-1 thing, that'd be the browser. That's it.

whole bear
#

😔 ok i will just use del

#

ima make my own cooldown teqniqe by using exec 🙂 lemon_bald

#

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

brave steppe
rugged root
#

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

whole bear
#

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?

rugged root
#

Yep, you can do it with nearly any language

whole bear
#

cthon

#

ye

#

cython

#

sytheon

#

there is no l

#

a fake version of python

#

that cost money

#

and does not work atall

#

totallynotavirusthon

#

peethon

whole bear
forest zodiac
#

@somber heath

whole bear
#

totally real

forest zodiac
whole bear
primal yacht
#
EDIT.COM
whole bear
#

yes

forest zodiac
whole bear
#

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

#

how

#

@terse needle **just linux things 🪟 **

#

guys wanna see me when i was like 5

primal yacht
whole bear
primal yacht
#

sorry batch

#

forgot to un-reply

whole bear
#

😭

#

everyone keep the line going below!

rugged root
whole bear
#

does discord use a on-site database?

#

yea

#

i just found this today

#

!e
f'{100000000:,'

#

!e
f'{100000000:,}'

wise cargoBOT
#

@whole bear :warning: Your eval job has completed with return code 0.

[No output]
whole bear
#

bruh

#

yea

#

neet

#

i was gonna make a func to do it for me

#

what sucks

primal yacht
#

!e ```py
key1 = "foo"
key2 = hash(key1)
d = {}
d[key1] = 1
d[key2] = 2
print(d)

wise cargoBOT
#

@primal yacht :white_check_mark: Your eval job has completed with return code 0.

{'foo': 1, -1761443238396284468: 2}
whole bear
#

wait

#

nvm

#

its hashing "foo"

#

so many people

rugged root
whole bear
primal yacht
#

Standard library module

primal yacht
terse needle
whole bear
#

@rugged root i found a bug in the server

#

"discordpy"

#

i think its ment to be "pycord"

#

i have not heard the word poopie in a long time

#

@rugged root man has a issue????

wind raptor
whole bear
#

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

#

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

wise cargoBOT
#

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.

whole bear
agile horizon
#

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

whole bear
#

what?

agile horizon
#

"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

whole bear
#

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

wind raptor
#

How many camera lenses is too many?

whole bear
#

hello ||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​|| https://google.com

#

@rugged root i did a trick /\

rugged root
#

@agile horizon You should be able to verify if you're interested

whole bear
#

epic trick ||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​|| https://google.com

agile horizon
#

NDAs.... reviers are often at competing companies :<(

rugged root
#

Okay, this is stupid

#
Divide          ( x / y )
Integer Divide  ( x \ y )
whole bear
#

i made one small

gloomy vigil
#

hello @late merlin

late merlin
#

um, hi

rugged root
#

Yo

#

How's it going

gloomy vigil
whole bear
#

Hello

#

wow there are alot of people in vc today

#

I was the 20th to join the vc!

rugged root
#

I had to raise the user cap a bit today

#

It's been pretty crazy

whole bear
#

oh

late merlin
gloomy vigil
late merlin
#

I don't really know what that means but it's interesting nonetheless

gloomy vigil
#

😄

late merlin
#

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

gloomy vigil
#

btw i gotta go soo, bye

stuck furnace
#

Oh god. What have I walked in on 😄

late merlin
# whole bear try to get verified

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

rugged root
#

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

late merlin
#

this server has 60k+ members and only one on-topic general chat?

rugged root
#

The only channels that aren't related are the off-topic channels

hoary galleon
late merlin
#

yeah but in which channel can I talk about a 631 LOC toy python project I made

stuck furnace
#

Juniper Notebook

late merlin
#

Jennifer Juniper?

lapis prawn
#

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

rugged root
#

This is going to drive me fucking insane

#

I used to do so much in this program, and I just keep hitting a wall

whole bear
#

hey guys

#

could someone help me RQ

#
def power(base, exponent):
    if base == 0:
        return 1
    return base * power(base,exponent-1)
rugged root
#

What's the problem?

whole bear
#

i forgot how to stop this

#

wait

#

dont tell me

#

let me think for a second

rugged root
low roost
rugged root
#

Hush

late merlin
whole bear
#

okay so like

#

that means it did an infinite loop?

#

and kept executing?

low roost
#

makes sense

#

although idk shit about your error but it sounds like it

rugged root
#

Yep, that's what it's saying.

whole bear
#

okay so wouldnt if base == 0 stop it

#

?

rugged root
#

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

low roost
#

oh I see that's recursion right there

#

you are checking for base

#

you should be checking

whole bear
#

okay so i need to check for power!!!!

#

WOW

rugged root
#

Yeppers

low roost
#

yahoo

whole bear
#

that makes sense

#

thanks

rugged root
#

Although if this ends up starting at a negative....

whole bear
#

wait

rugged root
#

You don't have anything to catch that, and it'll also go forever

whole bear
#

i need to exclude those

#
def power(base, exponent):
    if power == 0:
        return 1
    return base * power(base,exponent-1)
#

still lmaoo

low roost
#

because

#

it's exponent

#

you need to check for

#

you aren't reducing anything else

whole bear
#

wait

#

let me think

low roost
#

power is your function

#

how the fuck can it even have an integer value

whole bear
#

exponent

#

got it

low roost
#

ye

#

although Idk what you're trying to achieve

rugged root
#

That's.... a good question, actually

whole bear
low roost
#

ha

#

nice

whole bear
#

this is the question

#

i did this in like 5 mins

#

like last month

#

LOL

#

or like

low roost
#

good job

whole bear
#

30 seconds

#

now it took me a while

low roost
#

that's alright

#

you might have been confused or somethin

#

it happens

whole bear
#

thanks

low roost
#

my pleasure

rugged root
#

!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.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice ban to @tough panther permanently.

zenith radish
rugged root
ember harness
#

.

fierce summit
#

hi

rugged root
#

How's it going

fierce summit
#

I'm having trouble with a simple program

#

It doesn't want to run

primal yacht
#

[Ctrl]-[Shift]-[F] in the Discord app for Windows toggles Discord in full screen mode.

primal yacht
# fierce summit

Looks like a problem with either PowerShell or VSCode ... can you try to use a full path that ONLY contains basic ASCII characters?

fierce summit
#

Nevermind. I closed the terminal part and run it again, and now it runs fine

primal yacht
#

ah wait a second ... it tried to cd into Python somehow ...

#

Like ... the Python executable is not a directory!

formal lantern
#

bravo @fierce summit

primal yacht
#

(assuming you didn't crop off too much)

whole bear
#

Hi

sweet lodge
# primal yacht (assuming you didn't crop off too much)

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

rugged root
#

Also looks like it's sticking its tongue out at you

#

Heading home, I'll be back on in the car

cloud mulch
#

lol

#

is it cool if I text here as replies to voice chat 0's vc?

#

also how do I voice verify? 🤔

sweet lodge
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

sweet lodge
#

Yes

whole bear
#

hey guys

fierce summit
whole bear
#
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

primal yacht
#
&$szuperá't c2(2d2r $"
mortal burrow
#

That's what I have so far.

fierce summit
#

{

#

:

#

for (int i = 0; i < 20; i++){
x += 1;
}

for i in range(20):
x += 1

fierce summit
#

I think I go

#

bye

lament musk
#

@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

zenith radish
#

Can you watch the stream?

lament musk
#

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.

jolly peak
#

Hi people how are u?

lament musk
#

Doing well, how's your day / night?

jolly peak
#

Very good

#

u from?

lament musk
#

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 MeowUWU

#

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

tidal sparrow
lament musk
#

Great outlook, LP

#

The millennial mindset

jolly peak
#

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

tidal sparrow
#

really depends

jolly peak
#

and work with telemetry

tidal sparrow
jolly peak
#

150k cars sendind positins

#

very hard to handle

#

the reports

lament musk
#

Diff tools for diff jobs

jolly peak
#

Yes, exactly what i mean

tidal sparrow
#

Well, for starters, python is much more popular

#

and modern programs use python a lot more than java

jolly peak
#

interesting

tidal sparrow
#

but there are other languages to consider

#

than just python

jolly peak
#

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

late merlin
#

PS3

jolly peak
#

🙂

lament musk
#

Different tools--a spoon is great for soup but terrible for cutting steak.

#

Sure you could do it

#

But not ideal, you know?

late merlin
#

I did it backwards. C++ was my first real programming language, but I picked up Python pretty quickly when I started using it

lament musk
#

I think I'm almost there

jolly peak
#

Which is better, x86 processors or ARM?

late merlin
#

I mean, C++ has foreach as for (auto &x: myvector)

jolly peak
#

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

late merlin
#

what do people even use Raspberry Pis for, I have a Beagleboard xM and I don't use it for much

jolly peak
#

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

late merlin
#

I still have to send ~17 more messages

jolly peak
#

military time is 13:00 and go to 24:00 right?

#

we use this in Brazil

late merlin
#

I put all my clocks on 24-hour time because the numbers are easier to do math on

jolly peak
#

LP thanks for sharing your thoughts about the learning

#

i think this is usefull to me

zenith radish
echo thunder
haughty pier
pliant slate
#

hi

#

gyes

kind pike
#

.voice

#

.verify

#

.commands

indigo cedar
#

!voiceverify

wise cargoBOT
#

: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).

kind pike
#

Haha

wraith kernel
#

morning

thick beacon
#

hey anyone out htere?

wraith kernel
thick beacon
#

@wraith kernel you learning python or a pro?

wraith kernel
#

why do you ask?

thick beacon
#

im too learning

#

im coming to Django

#

hbu?

wraith kernel
#

?

#

you still there @thick beacon

wraith kernel
#

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

whole bear
#

@wraith kernel Hi, I see that you're in a voice-chat, mind explaining me something about importing images ?

whole bear
#

Mind if I join the voice-chat ?

wraith kernel
wraith kernel
whole bear
#

@wraith kernelI'm not allowed to use my mic 😄

#

Private call ?

wraith kernel
#

theres a channel where you can get voice verification

whole bear
#

I need to wait for 3 days

wraith kernel
whole bear
#

yup

wraith kernel
#

and python discord?

whole bear
#

also

wraith kernel
whole bear
#

Mind if I call you ?

wraith kernel
#

we could just chat here you know?

#

just saying

whole bear
#

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.

wraith kernel
#

hmmmmm ok

whole bear
#

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)

wraith kernel
#

bro

#

you need to do something with your code to make it look better

whole bear
#

want a screenshot ?

#

here it is

wraith kernel
whole bear
#

I see

wraith kernel
#

see this code

#

it looks better

#

? was someone in the VC we were in?

whole bear
#

Yes

zenith peak
#

hey

whole bear
#

@zenith peakHi, can't speak cause I'm new to the server.

wraith kernel
#

im back

#

whats going down?

zenith peak
#

?

wraith kernel
#

can someone please explain what happened while i was gone

whole bear
#

2 pple joined the VC and discussing about Local Minecrafter's problem

wraith kernel
whole bear
#

something about implementing a camera in python

wraith kernel
#

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

mystic lily
#
                    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
wraith kernel
mystic lily
#

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

wraith kernel
#

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

wraith kernel
olive vigil
#
print(f'sell for {close}')
print(f'target: {target}')
stable axle
uncut meteor
stable axle
#

ah ok

#

ty

wraith kernel
#

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

uncut meteor
#

OpenCV

woeful salmon
#

oh 😮

uncut meteor
wraith kernel
#

shoot

#

my code isnt working well

uncut meteor
wraith kernel
#

#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)
uncut meteor
#

cv2 - ImageCapture
Pillow - saving as .apng

wraith kernel
#

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

zenith peak
#

x3

#

thx

wraith kernel
#

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
woeful salmon
#

recommend using getpass.getpass

wraith kernel
woeful salmon
#

instead of input

#

when taking password

uncut meteor
#
print("Like this")
#

!code

wise cargoBOT
#

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.

wraith kernel
#

i cant find the backtick in my comp

#

does this work?

#

oh yeah its working now

olive vigil
#

👌

stable axle
#

does x = importlib.import_module(args) allow x to use functions from the python file?

#

like, x.func?

wraith kernel
#

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

uncut meteor
#
#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")
wraith kernel
#

thx

#

@mystic lily did you say your going to send your coke????

#

😅

uncut meteor
#

is getpass a builtin? never seen it before

woeful salmon
#

!e

import getpass
print(help(getpass.getpass))
wise cargoBOT
#

@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
stable axle
#

but it is definitely there

wraith kernel
#

i found new problem

#

when i play the code it say "enter password to access kam" but im trying to access kai

stable axle
#

how do I do that?

wraith kernel
#

while we are talking im putting on music

uncut meteor
#

match_history.sample_match

wraith kernel
#

since i like music

stable axle
#

it saysNameError: name 'match_history' is not defined

#

ah

#

you can do that?

uncut meteor
#

match_data = importlib.import_module("match_history.sample_match")

stable axle
#

oh

#

the location

#

LETS GOOOO

#

I love you griff

#

I'll kiss you when I have the chance

wraith kernel
wraith kernel
mystic lily
#
            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
wraith kernel
#

im gonna go now

#

i will see you all possibly in a few hours

#

see ya

whole bear
#

what

sand gate
#

How to turn on mic?

#

It says it needs permission

woeful salmon
whole bear
#

@somber heath is type func usally slow? like does it usally take 0.2 secs to see if two classes are eqal?

woeful salmon
#

function calls in python are slow in general

devout kelp
#

ik

primal yacht
somber heath
#

@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.

thin fox
#

lol

#

globally..

#

I use JavaScript though

primal yacht
#

I use vanilla JavaScript and am proud of it

thin fox
#

nope

woeful salmon
gloomy vigil
primal yacht
thin fox
primal yacht
#
this.laugh();
#

err...

#
this.giggle();
gloomy vigil
#

also for all the linux user aplay /dev/urandom

wraith kernel
#

bros

#

im back

#

something wrong @zenith radish?

woeful salmon
wraith kernel
woeful salmon
#

doing pydis ctf challange

#

🙂

wraith kernel
#

pls explain

#

im really dumb at coding

woeful salmon
#

yeah joe made a ctf challange just ffor fun

wraith kernel
#

ctf?

#

capture the flag?

#

no?

#

while you lot are watching stream im gonna work on kai

woeful salmon
wraith kernel
primal yacht
woeful salmon
primal yacht
wraith kernel
#

is there a music bot?

#

well that is kinda sad

woeful salmon
wraith kernel
#

and suffer CaD

#

CaD = cease and desist

woeful salmon
#

so we wouldn't do it anyway

wraith kernel
#
#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?")```
wraith kernel
#

im doing computational thinking @woeful salmon doing many things at once

#

watching stream,writing code,talking here

coarse cape
#

whatup 👋

wraith kernel
coarse cape
#

hemlock aint here? :sus:

wraith kernel
wraith kernel
whole bear
#

this is a lot of args

#

@zenith radish for i in iterable:

wraith kernel
whole bear
whole bear
#

@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

primal yacht
#
rolesReactions: tuple[tuple[Optional[str], discord.Role], ...]
whole bear
#

@zenith radish add == at the end

primal yacht
whole bear
primal yacht
primal yacht
wise cargoBOT
#

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.

whole bear
primal yacht
#

yeah, you have a heck ton of repeated code there

whole bear
#

yes

#

302* lines

#

my friend just gifted me nitro!

primal yacht
whole bear
primal yacht
whole bear
#

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

gentle flint
#

@gloomy vigil I'm coming

#

hang on

gloomy vigil
#

ooh nice

#

@scenic pasture chat here

scenic pasture
#

hi

#

you can help me ?

gloomy vigil
#

whats your question