#voice-chat-text-0

1 messages · Page 421 of 1

elfin flicker
spare galleon
last plaza
#

yo how the hell do i chat in voice already.

vocal basin
#

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

vocal basin
#

!user 278770089967353856

wise cargoBOT
#
daftruffian
User information

Created: <t:1486534368:R>
Profile: @last plaza
ID: 278770089967353856

Member information

Joined: <t:1579410841:R>
Roles: None

Activity

Messages: 26
Activity blocks: 8

Infractions

Total: 0
Active: 0

vocal basin
#

halfway there

last plaza
#

see you in another 5 years i suppose

vocal basin
#

@main comet iirc you are in the brick rigs discord server, and that game associates way too much with missile engineering in my brain, because that's basically the only thing that I did there recently

main comet
#

you arent in that server

vocal basin
#

I was

main comet
#

how do you know Im in there??

vocal basin
main comet
#

idk what iirc means

#

I know what irccm is

vocal basin
#

"if I remember/recall correctly"

main comet
#

ah

#

makes sense

vocal basin
#

dropped the game before the big logic/maths update thing

#

most of things I made were when there was still a limit of 256 channels

main comet
vocal basin
#

@main comet you should probably move this conversation to DMs

vocal basin
#

@main comet whatever you find/see, I advise against discussing it here.

vocal basin
#

@main comet that's not how things work.

#

@main comet this is not a server-appropriate discussion

#

I'll move you two to the other VC for now

#

because Cyrillic letters?

#

it's untranslatable

vocal basin
vocal basin
vocal basin
#

very physically correct game trust me

vocal basin
#

built-in into what

#

@main comet what do you want to stream?

#

!stream 702587538849923122

wise cargoBOT
#

✅ @main comet can now stream until <t:1741043429:f>.

vocal basin
#

they aren't supposed to work yet

#

@elfin flicker what did you want to steam?

#

and now I need to go because I have to be in the office before 12 pm this time

chilly wolf
#

byeee

primal shadow
#

Can you not blow up my ears please? @main comet

#

Discord offers a testing system

#

where you can deafen yourself instead of us

#

Can you stop with the bullying as well?

#

It's not fun

#

no one is entertained but you

timid iris
spare galleon
#

!user 689245143609508025

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

merry pawn
main comet
primal shadow
chilly wolf
primal shadow
winged apex
#

I feel like i've been writing python for such a long time and I still feel like I'm bad

#

do you guys have any advice to get better. Like what habits?

primal shadow
#

Work with others

short forge
winged apex
#

ok, follow up. How do you find consistent people to work with.

winged apex
#

is another follow up

short forge
#

are you working ?

winged apex
#

yeah. I work as a developer

#

I think that adds to the difficulty

short forge
#

yeah then you are already drained from work ..

winged apex
#

but there are people who hobby code and work

#

I feel like I just need a strategy or way to build a habit

short forge
#

what's your goal ?

winged apex
#

on this server do the open source projects cycle?

short forge
#

be precise

winged apex
#

or is it the same 3?

short forge
#

then you can build towards that.do youjust want to build ahabit of regularcoding for its own sake?

short forge
winged apex
#

I think my goal is to give my self greater freedom by being empowered by being more capable in a skill which can be applied broadly

#

ahhh

#

I don't know this was not a precise answer

#

it's like I'm preparing for all possible outcomes in a way

#

and that's my goal

short forge
#

saying no is focus

#

you need that

#

find problems try to get off the machine think how you can solve them languages are just tools to implement what you have discovered after thinking how you can solve a particular problem ..what i mean is be language agnostic and solve problems get the fundamental firstprinciples right

#

atleast least that works quite well in terms of covering all the possibilites

#

no he is not

short forge
spark girder
short forge
#

yes but atleast getting started from algorithmic problems and going on autopilot first is important .like i do it because it has become a habit a norm for me everyday,

spark girder
#

When I started it was for school, then I liked AI so I started learning about text generation, then I wanted to add it to a website so I learned about APIs, then I realized it was inefficient so I learned about threads/multiprocessing so I could make it more efficient and then I needed logging so I learned about the logging/aiologger and json/aiofiles modules.

spark girder
#

Now I'm working for a small store in my town that wants to replace their cashiers with AI so that the cashiers can work in stocking and delivery and that's what I'm being paid to do until I leave for school or my next job.

primal shadow
short forge
#

are they going to use kiosks?

primal shadow
cobalt solar
primal shadow
#

Oddsparks: An Automation Adventure is a blend of Automation and Real Time Strategy for both the die-hard fans of the Automation genre and the Automation-curious. Explore a strange fantasy world, uncover the mysteries of the past, automate your workshops, and go on adventures with your odd & adorable Sparks!DESIGN, DECORATE, BUILD, AUTOMATE!Oddsp...

Price

$19.79

Recommendations

1062

▶ Play video
cobalt solar
#

Huh

#

This looks interesting

primal shadow
#

Yea. I'm really digging it

cobalt solar
#

The atmosphere seems nice

#

I saw that

primal shadow
#

as a fan of these games, this one scratches a similar itch

cobalt solar
#

Hmm

primal shadow
#

It was only $20 so I grabbed it, still EA

cobalt solar
#

Electronic Arts?

#

Or some other EA

#

Nice for CS2

#

420

spark girder
#

Trynna see if logging out and logging back in will load my achievements

#

There we go

cobalt solar
#

Oh god

#

Impressive

spark girder
#

Me and my buddy were trying to achievement farm Factorio

#

Got bored and burnt out quickly so we went back to playing CoN for a while then I just found pride in blowing shit up on Factorio

cobalt solar
#

lol

spark girder
#

Spent a few weeks back in 2024 trynna surround all the Nests with big guns and walls so I could live peacefully. Spent a couple nights with a macro going auto placing on a bunch of nests, it sucked.

#

Ended in misery cause the pollution produced to create the ammo and guns was insane.

#

Ended up getting swarmed by like 12 nests and lost my world to spawn camping bugs

cobalt solar
#

The only thing keeping me from playing more Factorio is the real world being more fun to engineer 🤣

spark girder
#

Nothing is ever more fun than trynna take over the world of Factorio

#

If you really want a PC killer what you gotta do is get that like warehouses mod and keep placing warehouses inside of warehouses.

#

Trippiest shit ever

cobalt solar
#

Go on

#

Happens to the best of us. I still suck at speaking French

#

Don't beat yourself up. This is normal

#

Yea

#

I saw that

#

I gtg rn though. I wish you a wonderful evening

#

Thank you 🙂

fading burrow
#

how can i get rid of this error

jade mountain
fading burrow
#

thank you friend

primal shadow
cobalt solar
spark girder
#
    async def executeOrder66(self):
        if self.conn:
            tables = await self.conn.fetch("""
                                           SELECT table_name
                                           FROM information_schema.tables
                                           WHERE table_name = 'public'
                                           """)
            
            for table in tables:
                try:
                    await self.conn.execute(f"""DROP TABLE IF EXSIST {table} CASCADE""")
                    await self.logger.info(f"Table {table} has been removed from the database")
                except Exception as e:
                    await self.logger.error(f"An error has occured: {e}")
            await self.logger.info("Order 66 Executed successfully.")
fading burrow
#
print("Rock Paper Scissors Game!\n")
player_score=0
cpu_score=0

def Game():
    
    print("\n")
    print("1=rock   2=paper   3=scissors")
    print("__________________________________")
    user_input=int(input("Type your choice: "))#rock=1 paper=2 scissors=3

    cpu_choice=random.randrange(1,3,1) #rock=1 paper=2 scissors=3

    if cpu_choice==1:
        1==print("CPU chose rock")
    elif cpu_choice==2:
        2==("CPU chose paper")
    elif cpu_choice==3:
        3==("CPU chose scissors")
    

    if cpu_choice==1 and user_input==1:
        print("Tie")
    elif cpu_choice==1 and user_input==2:
        print ("You win")
        player_score+1
    elif cpu_choice==1 and user_input==3:
        print ("CPU wins") 
        cpu_score+1
    elif cpu_choice==2 and user_input==1:
        print ("CPU wins")
        cpu_score+1
    elif cpu_choice==2 and user_input==2:
        print("Tie")
    elif cpu_choice==2 and user_input==3:
        print ("You win")
        player_score+1
    elif cpu_choice==3 and user_input==1:
        print ("You win")
        player_score+1
    elif cpu_choice==3 and user_input==2:
        print ("CPU wins")
        cpu_score+1
    elif cpu_choice==3 and user_input==3:
        print("Tie")


def start_menu():
    game_start=input("Say start to begin!\n")

    if game_start=="start":
        times=0
        times=int(input("How many times do you want to play?\n"))
        for x in range (0,times):
            Game()

    else:
        print("Wrong input try again")
        start_menu()

def game_stats():
    print("Game over here are the stats for the game")
    print(player_score)
    print(cpu_score)

start_menu()
game_stats()



     ``` why isnt the cpu and player values changing after the game runs x amount of times?
#

dont the objects get pulled into the game function? therefore changing their values?

spark girder
spark girder
spark girder
# fading burrow ```import random print("Rock Paper Scissors Game!\n") player_score=0 cpu_score=0...
import random
print("Rock Paper Scissors Game!\n")
player_score=0
cpu_score=0

def Game():
    global player_score, cpu_score

    print("\n")
    print("1=rock   2=paper   3=scissors")
    print("__________________________________")
    user_input=int(input("Type your choice: "))#rock=1 paper=2 scissors=3

    cpu_choice=random.randint(1,3) #rock=1 paper=2 scissors=3

    if cpu_choice==1:
        print("CPU chose rock")
    elif cpu_choice==2:
        print("CPU chose paper")
    elif cpu_choice==3:
        print("CPU chose scissors")
    

    if cpu_choice == user_input:
        print("Tie")
    elif (cpu_choice == 1 and user_input == 3) or (cpu_choice == 2 and user_input == 1) or (cpu_choice == 3 and user_input == 2):
        print("CPU wins")
        cpu_score += 1
        print(f"CPU Score: {cpu_score}")
    else:
        print("You win")
        player_score += 1
        print(f"User Score: {player_score}")


def start_menu():
    game_start=input("Say start to begin!\n")

    if game_start=="start":
        times=0
        times=int(input("How many times do you want to play?\n"))
        for x in range (0,times):
            Game()

    else:
        print("Wrong input try again")
        start_menu()

def game_stats():
    print("Game over here are the stats for the game")
    print(player_score)
    print(cpu_score)

start_menu()
game_stats()

Completed code with notes:

While the program was decent, I've made the following changes for readability and simplicity.

  • 6 liner checking
    Instead of going over each possible outcome in it's own line we've taken the possibility of the two being the same, the 3 losing possibilities, and anything else. This simplifies it and is mathematically correct so any false win/loss is not possible.

  • random.randint()
    You were using random.randrange() which is good if you want a range of numbers. If you want a singular number just use random.randint()

  • Global variables
    You were assuming that because the variables were globally defined they'd work, however functions in python are designed to assume they're working with local variables unless defined otherwise hense the global user_score, cpu_score section

winged apex
#

ah i can’t talk

somber heath
#

@normal walrus 👋

spark girder
#

Oh right and

  • Print statement fixes
    You had
if cpu_choice==1:
   > 1==print("CPU chose rock")
elif cpu_choice==2:
   > 2==("CPU chose paper")
elif cpu_choice==3:
   > 3==("CPU chose scissors")

(problems marked by the >)

You needed

if cpu_choice==1:
    print("CPU chose rock")
elif cpu_choice==2:
    print("CPU chose paper")
elif cpu_choice==3:
    print("CPU chose scissors")
somber heath
#

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

winged apex
#

doom scrolling

normal walrus
#

I said hello did u hear me

spark girder
winged apex
#

what are you working on?

spark girder
#

Just below my first code snippet

soft axle
somber heath
wise cargoBOT
#
Voice verification

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

soft axle
#

doesn't do anything right?

spark girder
soft axle
#

Ohhhh

spark girder
#

It wasn't part of the code it was just to show them

soft axle
#

I was gonna say, damn idk python

spark girder
#

Lol

normal walrus
winged apex
#

what do you guys think about uv? the package manager

normal walrus
#

Oh ok. Why do you say hello to me if you knew that I wasn't allowed to speak though

soft axle
#

You guys have any fave python functions? I abuse the zip() function tbh

winged apex
#

i haven’t tried but i hear it’s fast

spark girder
winged apex
somber heath
soft axle
#

I've heard good things about it too, but they're also being heavily promoted

spark girder
# winged apex yeah

Haven't tried it, got it starred so I can see it update and possibly try it in the future.

normal walrus
#

I don't want you to get in trouble

spark girder
spark girder
#

It'll also aid you in getting voice perms sooner if you talk here with us.

somber heath
normal walrus
#

Rules for thee but not for me

#

So it's okay if you break the rule

spark girder
#

It's not a rule.

#

It's literally not a rule.

#
Python Discord Rules
We have a small but strict set of rules on our server. Please read over them and take them on board. If you don't understand a rule or need to report an incident, please send a direct message to @ModMail!
Rule 1
Follow the Python Discord Code of Conduct.
Rule 2
Follow the Discord Community Guidelines and Terms of Service.
Rule 3
Respect staff members and listen to their instructions.
Rule 4
Use English to the best of your ability. Be polite if someone speaks English imperfectly.
Rule 5
Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
Rule 6
Do not post unapproved advertising.
Rule 7
Keep discussions relevant to the channel topic. Each channel's description tells you the topic.
Rule 8
Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.
Rule 9
Do not offer or ask for paid work of any kind.
Rule 10
Do not copy and paste answers from ChatGPT or similar AI tools.
somber heath
#

You're welcome to join us in voice chat.

normal walrus
#

Well is it a bug or a feature then. I just assumed if something was forbidden there would be a law about it forbidding it AKA a rule

somber heath
#

You just can't talk until you pass the voice gate.

spark girder
#

Join VC

#

The idea is you don't get to use VCs with your mic until you've become partially active

#

Or have been here long enough for a very small criteria

normal walrus
#

I feel like you're tricking me you just went through a lot of trouble tell me I'm not allowed to talk and now you want me to join VC. Hmmmm

spark girder
#

No we're telling you that there are requirements to talk

#

Not that you're not allowed to.

normal walrus
#

Yeah and I know that and I'm saying you're breaking the rules by talking to me

spark girder
#

Just that there is a requirement for voice priviledge.

#

No we aren't 🤣

normal walrus
#

Don't break the rules you might get in trouble you're not allowed to talk to me you don't have permission

spark girder
#

I just sent you the entirety of this server's rules.

winged apex
#

i like that we all have animal profile pictures

normal walrus
#

I've actually off the clock right now

spark girder
#

@vocal basin please help

winged apex
#

she doesn’t have an animal profile picture

spark girder
#

😭 I'm concerned that discord servers are starting to bully people into fearing VCs.

winged apex
#

smh

normal walrus
#

All right good chat everyone I feel very excluded. I think your non ruled rule is working as intended

spark girder
normal walrus
#

I guess you could say it's part of the culture since it's not a rule. I tried to stop you guys from getting in trouble and then you said I'm the problem because I'm trying to help you not get in trouble by following the rules

spark girder
#

If you don't want to talk, goodbye. We've wasted time and energy telling you it's a not a rule and NO ONE will get in trouble but you insist so please... begone!

normal walrus
#

I don't know I feel like you're just coming up with reasons to hate me. I don't feel like I'm being dramatic I didn't create this rule non rule that says you can't talk to people I mean that seems kind of dramatic to me

spark girder
#

You're too fuckin dramatic, I'm done.

#

Goodbye.

normal walrus
#

So first you don't allow me to talk to anyone and then you scold me for trying to help you and now you trying to tell me to go away to make myself disappear basically evicting me is this part of your inclusive strategy

somber heath
#

As I said, you're welcome to join us in the voice chat. 🙂

#

Join us or don't.

#

Moving on, now.

winged apex
#

all people without animal profile pictures are now banned

spark girder
#

I agree

winged apex
#

great

#

we’re building a consensus

winged apex
winged apex
#

do those count as messages towards voice verification?

somber heath
#

Undeleted messages do.

#

But the general idea is that it's about encouraging conversations.

winged apex
#

like the pictures don’t?

somber heath
#

They are messages.

winged apex
#

oh ok, sick

somber heath
#

No channel is a meme dump.

somber heath
#

But the occasional image, ideally relevant to the conversation, is okay.

winged apex
#

i wonder what my weight in mcnuggets is

spark girder
#

27.5:1 chicken nuggets to pounds

winged apex
#

damn i’m delicious

spark girder
#

I am roughly 6,875 chicken nuggets.

winged apex
#

this is how McDonald’s should do their marketing

#

make a website

#

weight to chicken nugget

#

global

spark girder
#

$11.59/20pc nugget

#

Selling my soul for $3,984.06

winged apex
#

wait

#

purchasing power

#

we are not saturating demand

spark girder
#

Taking out credit with McDonalds and my body is the collateral

ivory salmon
#

spicy mcchickens are my soulmate

winged apex
#

what do you guys think about ai tools like cursor?

#

“i’ll go write the black mail app myself”

#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

winged apex
#

two more messages

#

so close

spark girder
#

The liquid (now ice) expanded into the can and is gonna burst

cobalt solar
#

KPOW!

winged apex
#

You Only Look Once (YOLO) is a series of real-time object detection systems based on convolutional neural networks. First introduced by Joseph Redmon et al. in 2015, YOLO has undergone several iterations and improvements, becoming one of the most popular object detection frameworks.
The name "You Only Look Once" refers to the fact that the algor...

teal crystal
#

@somber heath Good evening

dry jasper
#

Super efficient

vestal merlin
#

Hello

#

Mics broken so I’m not talkin today sadly

vocal basin
spark girder
#

It wasn't by any means urgent.

astral coral
astral coral
#

@somber heath

somber heath
#

@twilit raptor 👋

astral coral
twilit raptor
somber heath
#

Worley

mint karma
#

Bro vc verification sucks, I only have 45 messages 😦

whole bear
#

@somber heath But that's how the business works.
The client is king, you can't excuse the client because you find it illogical?

somber heath
#

Imagine sitting behind a painter and constantly criticising them as they're painting before they're finished.

whole bear
#

painters are not conscious

#

oh lol read as printers

#

I did the same with the Paid developer.
If you don't poke them, they won't think about it as they are probably doing work for more than one client in same time intervals

somber heath
#

Feedback is fine, but it needs to be at sane intervals.

#

At appropriate junctures.

#

@magic rover 👋

whole bear
#

Tbh, business is not about logic.
It's about sales, if it sells it logical even if it's not!

open moth
#

yooo @somber heath

#

OPal

whole bear
#

@somber heath I found something interesting 😁

somber heath
#

Oh oh.

whole bear
#

It's really powerful!

#

At one point i forgot it's an AI

whole bear
#

Hmm?

#

I can play chess

#

come to based.mobi

#

i made this in flask

#

do you like it

#

Whom i was playing?

#

me

#

if you make an account it saves a pgn file

#

and you can replay the games

#

Hmm

#

Opponents are bad!

whole bear
#

yes i lost intentionally

#

reduce the canvas of the board though

#

maybe

#

You've downloaded it the wrong way

#

As I've downloaded the same way as in my windows 11!
Haven't faced such an issue!

#

This Atlas makes me want to die

#

You can share a screenshot

#

Yes ig

#

share a picture on instagram and add me

somber heath
#

@ebon surge 👋

ebon surge
#

hi 🫡

astral coral
#

IT WORKS!!!! :L

whole bear
#

cool

#

pygame?

#

@whole bear how do you find rust?

#

is it good language to start with?

astral coral
whole bear
#

it's really good for basic tasks. Rust users are really annoying on the discord tho.

mint karma
whole bear
#

lol

#

this discord does not allow .rs files

#

very based

vestal merlin
#

Hallo

whole bear
#

I have an additional button exclusively for autoclicking in my newly-obtained mouse, wtf am I gonna do with it play fucking cookie clicker? is that the average case of a modern mouse or that a gift god has bestowed upon me

#

wut

#

Runescape obviously

whole bear
whole bear
#

My masterpiece

whole bear
astral coral
astral coral
#

what to do next

winged apex
somber heath
#

@golden dome 👋

golden dome
#

Hello

#

They don't lemme speak

#

@somber heath

somber heath
wise cargoBOT
#
Voice verification

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

golden dome
#

You are not currently eligible to use voice inside Python Discord for the following reasons:

  • You have sent less than 50 messages.
  • You have been active for fewer than 3 ten-minute blocks.
#

Wht I do

somber heath
#

Converse.

#

@thick blaze 👋

thick blaze
#

yup, i havent sent 50 messages yet

golden dome
#

I can't even talk

#

I'm dead

whole bear
wise cargoBOT
golden dome
#

Open source contribute

thick blaze
#

i might do that

whole bear
#

I like how time is only aspect which is beyond human understanding

thick blaze
#

well, i may may not do that

slender sierra
#

Hi🙂

golden dome
#

It seems like I'm not the only one

#

This is insane

thick blaze
#

like, 50 messages is a lot haha

golden dome
#

That's why they set this kind of trap

#

I got it sir

#

I have to ask something

#

I bought a book yesterday
Called:- SOFTWARE ENGINEERING By :- Hans van Vliet

whole bear
#

So you like to have a validation?

golden dome
#

Only 18 messages

whole bear
#

Tbh book ain't for beginner, try on your own for some time and then switch to book.
As book is for more in depth approach!

golden dome
#

Sad me

golden dome
whole bear
golden dome
#

Validation for wht

golden dome
#

Yea I do

sand ermine
#

crazy things are on my mind

whole bear
#

Tbh I can't afford book!
So piracy is only way for me.

inner hill
#

i use library gensis

golden dome
inner hill
#

there are thousand books on SE,why u choose this author ,somebody recommended u this

golden dome
#

Is this rlly bad

whole bear
# golden dome

It would have cost me 2 dollars to create hard copy of this book from pdf

somber heath
#

@blissful drum 👋

golden dome
#

It looks cool

whole bear
golden dome
#

Still haven't reached 50 messages

golden dome
whole bear
golden dome
#

Stop 🙅

whole bear
#

Why?

golden dome
#

Wht next u read the book

#

Apologize for being rude

sand ermine
#

wakeup mokeys

whole bear
#

I have completed the topics in content already

somber heath
#

@echo lynx 👋

whole bear
#

So it's of no use to me

golden dome
#

👋👋

#

Let's contribute

somber heath
#

@uncut sky 👋

uncut sky
#

Hi

golden dome
#

Taco barito

somber heath
#

@lethal siren 👋

lethal siren
#

hello

whole bear
#

Hello

uncut sky
#

sokme may know me as MR frog

whole bear
#

Hello

uncut sky
#

@peak depot

#

Remember me

#

As Mr. Frog?

lethal siren
#

@whole bear ?

golden dome
#

Hello

whole bear
lethal siren
#

@whole bear yes

uncut sky
#

Broooo

lethal siren
#

@whole bear where are you from

uncut sky
#

U said a lot good things bout me

whole bear
uncut sky
#

:(

#

Bru

#

i know

lethal siren
#

👍

uncut sky
#

But i dont want to

lethal siren
#

@somber heath hey hi

#

why everybody silent!!!!

somber heath
#

@hoary narwhal 👋

uncut sky
#

Wait bouta get Mic

#

@peak depot

hoary narwhal
#

yo

uncut sky
#

Wait

inner hill
#

@whole bear where are you from

hoary narwhal
#

could you help me set up python? @somber heath

uncut sky
#

W @peak depot

#

BRB

golden dome
#

Blahhh

#

9 more messages to go

#

I'm depressed

uncut sky
#

Keep going

#

xD

golden dome
#

No 4 more

golden dome
somber heath
hoary narwhal
#

@somber heath i did download python and set it up but if i go in cmd and do opython --version ist says not found

rugged root
inner hill
#

last Add to env variable

hoary narwhal
#

@somber heath i also did that path

golden dome
#

It's easy to do dut

peak depot
#

Hi LX!

whole bear
# hoary narwhal could you help me set up python? <@317279909112446976>

How to install python and should you add it to your path? I'll answer those questions in this video.

Watch my video on how to learn to code
https://youtu.be/YwNcneR4vA4
Data Science Essentials
https://youtu.be/RgFV13WyqoM

Learn Data Science (affiliate)
🎓 Data Quest - https://bit.ly/3yClqbZ

Learn Python with Giles
🎓 Exploratory Data Analysis...

▶ Play video
hoary narwhal
whole bear
#

So why did you asked?

hoary narwhal
#

cause when i open cmd it still says not found @whole bear

golden dome
#

Something is wrong

hoary narwhal
#

python --version

stuck furnace
#

Heyo

somber heath
#

py

whole bear
#

But had no issue

golden sonnet
#

hii

whole bear
#

This tutorial is for window only!

hoary narwhal
hoary narwhal
stuck furnace
#

py --list to list the versions you have installed.

hoary narwhal
#

nicee

whole bear
rugged root
#

py -0 will as well, I think

stuck furnace
#

It's nice little thing they have for the Windows python

whole bear
#

and look for it where you added it or not

hoary narwhal
#

@somber heath i wann a show you something how can i stream?

rugged root
#

And I think py -0p will give you the paths to them?

#

Double checking

somber heath
#

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

hoary narwhal
#

ahh schuks i wanna run a script that moves my mouse every 4 or 5 minutes for minecraft so i dont get kicked while akf

#

afk

stuck furnace
#

👀

rugged root
#

Yeah, it'll give you the path if you do -0p. It'll also tell you which one is currently the default

whole bear
rugged root
#

By that I mean which one you'll enter/use when you just do py without specifiying the version

hoary narwhal
#

alright lemme try

whole bear
hoary narwhal
wise cargoBOT
golden dome
rugged root
hoary narwhal
golden dome
#

This isn't working

whole bear
hoary narwhal
stuck furnace
#

3.13_t_ 🧐

whole bear
#

Hemlock are you as fat as Peter?

rugged root
#

Surprisingly no

hoary narwhal
#

is this in kind the right way?

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

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.

For long code samples, you can use our pastebin.

stuck furnace
hoary narwhal
#

!code

golden sonnet
rugged root
#

Yeah I'm putting on some weight, but I'm not huge or heavy

hoary narwhal
wise cargoBOT
golden sonnet
#

the screaming guy is my favorite

hoary narwhal
#

@rugged root

golden sonnet
#

space in file name :/

rugged root
#

@lilac flax If you're wondering why you can't talk, check the #voice-verification channel. That'll tell you what you need to know about the voice gate

stuck furnace
#

That's only really common here in the countryside

hoary narwhal
stuck furnace
#

In London you'd get weird looks

rugged root
#

Is it giving you an error?

#

Forgot to ask that

hoary narwhal
#

no no error

rugged root
#

It just isn't doing anything?

hoary narwhal
#

but it wontropen

rugged root
#

How are you trying to open it?

hoary narwhal
hoary narwhal
stuck furnace
#

Yep logo_ukpython

rugged root
#

Won't run or open, just making sure I'm understanding

hoary narwhal
#

i click on it a cmd or python flashes for a sec and thne noth9ign

whole bear
#

Make sure python is accessible from cmd

rugged root
#

So open up a terminal/command prompt, etc.

#

Then do py and drag and drop the file into the window

hoary narwhal
#

yes?

stuck furnace
hoary narwhal
#

like this?

whole bear
#

If python is accessible

rugged root
#

Correct, which is why we need to keep the window open so we can see the error

golden sonnet
stuck furnace
#

Open Powershell at the folder containing the file, then use the command py test.py, assuming the file is called test.py.

hoary narwhal
rugged root
#

If it's popping up and closing (especially if it's supposed to be a while True: loop) then there's an error

golden sonnet
hoary narwhal
#

yes

golden sonnet
#

don't do that
test.py is the file name, shouldn't be in the file

hoary narwhal
#

without the test

golden sonnet
#

ok that's better

#

you need to install pyautogui

#

preferably in a virtual env

stuck furnace
#

Ah, so you're going to need to install the package pyautogui.

rugged root
#

py -m pip install pyautogui

whole bear
#

He can use pip list?

#

to check whether he did installed or not

rugged root
#

Better to assume that it isn't installed

hoary narwhal
whole bear
#

yes

hoary narwhal
hot drum
#

Hi

hoary narwhal
#

now?

whole bear
#

run the file

#

and look for error if any

hoary narwhal
#

i renamed it

whole bear
#

If you find error use GPT for solution

rugged root
#

That's not the best way to do it

whole bear
#

Or use google search

rugged root
#

Even with GPT, researching is still a really important skill

whole bear
hoary narwhal
#

when i run the script it dosent do anthiny

viscid scaffold
#

i do like maths 😄

hoary narwhal
#

jusst this

golden sonnet
# hoary narwhal

i don't know pyautogui but i think you aren't really running the gui

viscid scaffold
#

long time not using them tho

whole bear
#

@unique wyvern thats rly cool

hot drum
#

I can't use the mic @somber heath

hoary narwhal
golden sonnet
#

i don't do dms, sorry

hoary narwhal
#

sorry

hot drum
stuck furnace
#

I haven't used C#, but I've mostly heard good things about it

#

Yea it's meant to be like Java but a bit better (in some way)

whole bear
#

C# is windows java with lots of extra stuff included

stuck furnace
#

Yea operators are like +, -, /, *

#

The one you're looking for is the remainder operator: %

#

Also known as the modulo operator.

#

^ @cedar mason

rugged root
rugged root
stuck furnace
#

I tried elm, but I remember getting frustrated with it for some reason

#

Can't remember why

hoary narwhal
#

OI DIDDDDDDD ITTTTTTTT

rugged root
#

@cedar mason % modulus

hoary narwhal
#

thanks to yall

#

love yall

amber raptor
#

Fuck Google Docs, that is all

#

This is awful

rugged root
#

!e

print(3 % 2)
print(4 % 2)
wise cargoBOT
rugged root
#

I love idle/incremental games

#

SO much

#

It's my guilty pleasure

#

@sweet sorrel bus or boss

#

bawls?

#

@sweet sorrel Like that?

#

Wait, you're going to try and put a card in that?

#

I just realized that the picture is just a rendering, not an actual blade

ivory flower
rugged root
#

Oooooooo

#

That would actually be a fun project

#

@somber heath Hi hi

whole bear
#

incremental CS 🤨

rugged root
#

Ooooo

somber heath
#

@woeful totem👋

hoary narwhal
#

@rugged root the script works perfectl yit moves my mouse but its not working in minecraft

whole bear
#

Guys I'd like to know, how can I check my GPU detailed info in PC?

hoary narwhal
wise cargoBOT
whole bear
#

or MSI afterburner

#

I use NVIDIA 3050rtx

rugged root
whole bear
#

nvidia control panel should also have detailed info

rugged root
#

Conveninetly, there is a Python library for it as well

whole bear
rugged root
#

So you don't have to use their language

somber heath
#

@brittle gazelle 👋

whole bear
hoary narwhal
rugged root
#

Oh if that's all

#

One sec

whole bear
hoary narwhal
whole bear
#

unless you mean you literally have no Help menu lol

whole bear
whole bear
whole bear
rugged root
#

One that won't be suspect

#

(by that I mean the jiggler itself isn't sketch)

hoary narwhal
rugged root
#

Can you link that one?

hoary narwhal
#

sure

hoary narwhal
whole bear
# whole bear I want to know utilization detail. Like how in Linux, there is utility which hel...

https://www.cpuid.com/softwares/hwmonitor.html free version of this should show utilization

rugged root
#

Give this one a shot

whole bear
#

I hope you're a user of this application!

whole bear
whole bear
#

I don't want to check these things

whole bear
#

Hmm I got the help

rugged root
#

Ye @hoary narwhal

whole bear
#

@whole bear Thanks dude for you r time and help!
I do appreciate!

#

Nsight is tool that I needed

#

bye

hoary narwhal
rugged root
#

Should be fine

somber heath
#

The movement.

hoary narwhal
#

mouse aint moving xd

hoary narwhal
rugged root
#

Hold on

somber heath
#

@real valve 👋

real valve
hoary narwhal
#

so im back

rugged root
#

Any luck?

hoary narwhal
#

nop

#

wont move

rugged root
#

Can you take another screeny of the settings?

hoary narwhal
#

exact like tihs

rugged root
#

Zen means that you won't see the jiggle

#

And it'll currently only jiggle every 6 seconds, which should be plenty

real valve
#

can someone explain oop (object oriented programming) i cant understand it

rugged root
#

What part is tripping you up?

real valve
#

everything

#

what does it even mean

#

what object

rugged root
#

You want this Opal or should I?

somber heath
#

This is one of my favourite things to explain. I am not awake enough.

rugged root
#

Conveniently, I love explaining it too

hoary narwhal
rugged root
somber heath
#

@whole bear ...👋

rugged root
#

So OOP (object oriented programming) is the concept of having self contained packages of functionality and information that you can pass around. For Python, that takes the form have having classes that you can make objects (or instances) of

#

Let's take a quick example (bear with me, it'll take a moment to type out)

real valve
rugged root
#

Correct

real valve
#

so are the classes kind of like properties?

rugged root
#

!e So for this example, I'm going to be making a class called Student and making a couple students/objects from it

class Student:
  def __init__(self, name: str, age: int, favorite_subject: str):
    self.name = name
    self.age = age
    self.favorite_subject = favorite_subject

  def introduce(self):
    print(f"Hi!  My name is {self.name}.  I'm {self.age} years old and my favorite subject is {self.favorite_subject}.")

sally = Student("Sally", 10, "math")
billy = Student("Billy", 9, "science")

sally.introduce()
billy.introduce()
wise cargoBOT
real valve
#

how important is understand the concept of oop

#

at the beginning

#

will it be easier if i learn more

rugged root
#

At the very very beginning, you can get by

somber heath
#

It's slightly optional, but highly advantageous.

rugged root
#

The core concepts (functions, data types, loops) are more important to get down initally

real valve
#

data types are like booleans right

#

like true or false

somber heath
#

Every object has a type, a class. Class list vs a list.

#

The class is the blueprint.

#

The instance is an object created by that class.

#

True and False are instances of the bool class.

real valve
#

so for example if i had a car the "properties" aka color or engine would be class/s and the car itself is an object?

#

the color and engine was an example

#

not to be used literally

somber heath
#

The data structure of instances is defined by the class.

real valve
#

Okay I think I understand it now.

#

thanks man

#

opalmist and mr.hemlock

#

I'll come back later

quiet sleet
#

hiii

#

whatchu doing salt-die?

rugged root
#

Man I fix one issue just to have to take care of another. Back in a bit, have to change lightbulbs

quiet sleet
#

This is my lock screen

#

L O N G D O G

whole bear
#

lol looks like they got a green eye and a red eye

quiet sleet
#

This is him rn

willow light
#

making progress on my switch from windows to linux for the gaming desktop. today's project: setting up neovim.

quiet sleet
rugged root
willow light
#

cant get my lock screen lol, but it's still the default fedora one. working on that.

quiet sleet
#

daw

willow light
#

I was wondering if someone would ever make that joke

rugged root
upper basin
#

I feel I don't fully understand the impact of the number of cores and threads.

rugged root
#

For what you're doing, I would not worry about it too much

upper basin
#

I feel the clock speed when I run heavy stuff, but never really noticed num cores.

upper basin
#

Like I should go for sth lower (kind of want to avoid buying another CPU soon after it).

rugged root
#

What do you think you need the cpu for? Like what are you specifically looking for other than the numbers

#

What problem is it supposed to solve

upper basin
#

I would like to be able to game with it eventually as well.

#

Like for now just make a very minimalistic build and later buy GPU and other stuff.

#

Main use is heavy coding (some of my code take days) and gaming.

#

Maybe eventually some blender.

quiet sleet
#

i bought a bad prebuilt and upgraded it over time and it is still rather cheap

#

it's worth 400-600 USD

upper basin
#

I feel I can afford 700-800 within 2-3 months.

willow light
#

My main use for my laptop is code editing and job searching when I get tired of being in my apartment

upper basin
#

But I want sth really good if I am skipping the GPU entirely.

#

Like I am completely skipping the dedicated GPU.

#

For now.

willow light
#

The desktop is where the power currently lives, it currently exists for Stalker 2, TF2, and hobbies

upper basin
#

A 4060 GPU with 13900 CPU with 16gb ddr5 was 1.25K usd.

upper basin
#

Horribly unoptimised.

upper basin
whole bear
#

also keep in mind theres a lot of tweaking you can do in windows to increase performance

rugged root
#

You can but that hits a ceiling fairly quickly

whole bear
cerulean cloak
#

can i ask you guy smth. please be nice, what do you think of my program (if i have anything misspelled then mb)

rugged root
#

That's a neat way of doing things

cerulean cloak
rugged root
#

I was yeah

hoary narwhal
#

lol i didnt even notice i was in vc the whole time

rugged root
#

I hadn't thought about just opening a calc and doing it manually like that

rugged root
hoary narwhal
#

but mr hemlock it workes perfectly

#

tysmmmm

astral coral
#

whats going on?

astral coral
#

take ocver the wworld :L

#

the power of satan

rugged root
#

The power of Santa

#

But like

#

Less gun

#

Less gun more fun

#

That still drives me bonkers

astral coral
#

@rugged root wanna see the game I've been working on?

rugged root
#

Here in a sec, but sure

astral coral
#

kl kl

#

can I stream?

#

@rugged root ?

rugged root
#

!stream 1157723305265078272

wise cargoBOT
#

✅ @astral coral can now stream until <t:1741113298:f>.

latent imp
#

sup

calm smelt
#
ALL IT Hypermarket

🎁 Free Gifts : Lenovo Laptop Backpack 🎁 Pre-Installed Microsoft Office Home & Student 2021 MODEL : 82XM00JCMJ - Abyss Blue 82XM00JBMJ- Arctic Grey ==== SPECIFICATIONS ==== PROCESSOR : AMD Ryzen™ 5 7430U Processor GRAPHICS : Integrated AMD Radeon™ Graphics MEMORY : 16GB Soldered DDR4-3200 STORAGE : 512GB SSD M.2 224

rugged root
#

!stream 1157723305265078272 30M

wise cargoBOT
#

✅ @astral coral can now stream until <t:1741115497:f>.

fading burrow
#

guys why does my tinker app not open?

#
from tkinter import ttk
import random

class App():
    def Menu(self):
        self.root=tk.Tk()
        self.root.geometry('500x200')#changes size of widget
        self.root.title('Game')#name for app
        self.mainframe = tk.Frame(self.root, background ='white')
        self.mainframe.pack(fill='both',expand=True)

        self.text = ttk.Label(self.mainframe, text='Rock Paper Scissors Game', background='white', font =("Times New Roman",30) )
        self.text.grid(row=0, column =0)
        start_button = ttk.Button(self.mainframe, text='start', command=self.start_menu) #creates a button with txt
        start_button.grid(row=1, column =0, pady=10)

        #self.set_text_field = ttk.Entry(self.mainframe)
        #self.set_text_field.grid(row=1,column=0, pady=10, sticky='NWES')#pady creates a border of space in y cords sticky makes the text box the same as the txt above
       
        self.root.mainloop()#need this for the widget to show on screen
        return
    
   
                
                
if __name__=='__main__':
    App()``` it was opening and it stopped
rugged root
rugged root
#

@nova stream Yo

nova stream
#

Could you please tell me where can I request a code review? I'm afraid I have misunderstood repository pattern

rugged root
#

You can use the help system (see #❓|how-to-get-help for more details on that) or you can pass it by one of us

vocal basin
rugged root
#

Also yes

nova stream
#

but how is it conducted? should I upload my piece of code first?

vocal basin
#

!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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

nova stream
vocal basin
#

I can probably do review of the code, I'm currently working on a several projects that use one of the implementations of the repository pattern

nova stream
vocal basin
#

also seems like @wise cargo has a bug (-ish): it deletes all reactions on timeout not only its own reaction

#

@rugged root

rugged root
#

Interesting.

#

Probably more on the -ish side

#

Good catch, though. I never would have noticed that had you not mentioned it

vocal basin
#

!paste test

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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

rugged root
#

Showing that it's a test

vocal basin
#

@placid jackal

rugged root
#

Jesus christ

vocal basin
#

the optimal running conditions

rugged root
#

When you want to run your computer but also have a cup of tea as well

vocal basin
#

why can't liquid water we hotter than 374 °C pithink

vocal basin
#

@tacit crane aliexpress

alpine crater
wise cargoBOT
#

bot/utils/messages.py lines 101 to 107

try:
    try:
        await bot.instance.wait_for("reaction_add", check=check, timeout=timeout)
    except TimeoutError:
        await message.clear_reactions()
    else:
        await message.delete()```
rugged root
#

Yo Viv

rugged root
#

Neat though

nova stream
placid jackal
#

Oh wait when I said if it's not on fire

vocal basin
#

yes

placid jackal
#

lol

nova stream
alpine crater
#

my pc is on a constant 80 degrees

rugged root
#

@placid jackal That's pretty lit

placid jackal
#

Fire joke

rugged root
#

Sick burn

vocal basin
#

shouldn't get_all be returning list[T]?

alpine crater
vocal basin
rugged root
#

That... wha..... Viv why

alpine crater
#

because its a pre build, and "its fine"

rugged root
#

The fact that your idling is 80ish is scary

#

Well

#

Idleish

nova stream
alpine crater
#

because the manufacturer wants the system to run quiet, so the fans never really spin up fully until you hit 100

#

(and ofc only their stupid software is able to change the fan speed, and ofc that doesnt run on linux)

rugged root
#

Water Block

placid jackal
#

Can I ask which of these makes more sense:

AWS Site-to-Site VPN is an IPSec VPN solution that is designed for connecting a data centre or office directly to AWS and would be ideal for our implementation however it requires a static IP address and does not work well with dynamic Network Address Translation(NAT). The network that the On-Premises server is connected to does have a static IP address and it uses dynamic NAT as well as having strict Dynamic Host Configuration Protocol(DHCP) rules that meant using Site-to-Site would be impractical.

AWS Site-to-Site VPN is an IPSec VPN solution that is designed for connecting a data centre or office directly to AWS and would be ideal for our implementation however it requires a static IP address for the VPN connection. The network that the On-Premises server is connected to does not allow this configuration as it uses dynamic Network Address Translation(NAT). NAT converts an internal IP address to an external static(Usually, but not always) address. This conversion changes regularly meaning that the VPN connection would breakdown regularly. Another roadblock is the network's strict Dynamic Host Configuration Protocol(DHCP) rules. These cause the internal IP address of devices to change periodically. Both of these issues prevent Site-to-Site from working.

alpine crater
#

tho... it has been a few years since I tried linux fan control on this system.... maybe one of them has gotten a fix for this

rugged root
#

Boom

vocal basin
# nova stream yes, you are right

as with many such patterns patterns, they are targeted more towards languages like Java,
so when you apply them in Python, it's generally a minimal requirement to have the code pass strict pyright and/or mypy;
(typing is important when you're turning something into a formal pattern)

placid jackal
rugged root
alpine crater
rugged root
#

Fair point

nova stream
rugged root
#

!d functools.singledispatch

wise cargoBOT
#

@functools.singledispatch```
Transform a function into a [single-dispatch](https://docs.python.org/3/glossary.html#term-single-dispatch) [generic function](https://docs.python.org/3/glossary.html#term-generic-function).

To define a generic function, decorate it with the `@singledispatch` decorator. When defining a function using `@singledispatch`, note that the dispatch happens on the type of the first argument...
rugged root
#

I forgot that existed for a bit

sweet sorrel
rugged root
#

Also kind of bummed that there isn't multiple dispatch

#

But I'm looking at the wrong language for that

nova stream
sweet sorrel
rugged root
#

OH no no, this was for my thoughts

#

Sorry

vocal basin
#

@nova stream (I'm typing in #code-help-voice-text; and you have streaming perms if you want to show the code)

alpine crater
#

brb, reboot time

calm smelt
sweet sorrel
rugged root
#

PWM = Pandas with Machetes

#

Oh you can cut it

#

Doesn't mean it'll work after

alpine crater
#

good new

#

I got fans to run at 100%

#

by fucking with bios

rugged root
#

Hell yeah

alpine crater
#

.... I saw dust start flying inside the case

rugged root
#

HA

alpine crater
#

fucking prebuilds

rugged root
#

It's like self-cleaning ovens

alpine crater
#

on the other hand I still cant seem to control the fans via linux

#

but at least its actually using them now

rugged root
#

Weird. You'd think Linux would make it easier. Just as easy as they make dealing with audio sou- oh right

alpine crater
#

already dropped to a stable 60 degrees (hopefully drops more once I clean it tomorrow)

alpine crater
#

as far as I understand it you would need a dedicated software for the model

rugged root
#

What brand of pre-built?

alpine crater
#

acer predator

rugged root
#

Oh hmmm..

#

I've never known them to have weird stuff like that, but I haven't dealt with them too terribly much

sweet sorrel
alpine crater
#

no fan control software (except theirs) worked on windows either

rugged root
#

Okay now that's weird

#

And the bios is up to date?

alpine crater
#

thats.... likely not

rugged root
#

More just curiosity on that one

alpine crater
#

(tho honestly do you expect them to lift the restrictions)

rugged root
#

Hmm

#

Fair point

alpine crater
#

"we know whats best for your system" kinda bs

#

(thank god for noise cancelling headphones)

rugged root
#

HA

#

That's partly why I invested in a fan control panel

#

Barring the CPU and GPU fans, obvs

alpine crater
#

(for future reference, dissabling "smart fan control" in bios => 100% 24/7)

rugged root
#

That's really bizarre

alpine crater
#

or at least way higher than what they were WHEN THE CPU WAS 80 DEGREES

placid jackal
rugged root
#

They're waiting on the paste

alpine crater
placid jackal
#

Use peanut butter

rugged root
#

Crunchy?

alpine crater
#

tho I might just clean out the dust tomorrow

rugged root
placid jackal
alpine crater
#

also idk wtf they were thinking with this case, like 70% of the fan is covered up

alpine crater
#

#AirFlow

rugged root
#

That's the vent?

#

Not the intake?

alpine crater
#

its the intake

#

but still

rugged root
#

That's a bit more common

#

Yeah still

alpine crater
#

I guess, just with the rest of the disaster the default cooling on this is

sweet sorrel
rugged root
#

I miss the old beige cases. Just one giant heatsink

alpine crater
rugged root
#

Is that glass or plastic in front of it?

alpine crater
#

plastic

sweet sorrel
alpine crater
#

I might be able to take the case apart more, idk.
havent really tried

rugged root
#

I have a terrible idea

alpine crater
#

break it?

rugged root
#

Also an option

#

I was thinking drilling additional holes

alpine crater
rugged root
#

OR, cutting it with a Dremel and making a little hatch so you can clean it directly

#

I mean

#

If you want to be right, then sure

#

Front could afford some more holes, though

alpine crater
#

and like theres a crate on the inside, so even if I unmount the stuff in the way its gonna be hell to clean

rugged root
#

True

placid jackal
#

thx hemlock

rugged root
#

Well now I'm doubting myself

#

Yeah, 12v or 5v

alpine crater
#

(I mean if I really wanted I just put a arduino in the case and use it to control the fans :P)

rugged root
#

HA

placid jackal
rugged root
#

Fan control panels are fairly cheap

#

@alpine crater Found the solution:

placid jackal
#

My power bill this month: $375 grid power & $1800 of AA batteries

rugged root
#

HA

#

I mean there are rechargeable batteries that suck ass and are a pain and yeah you might as well just buy new ones

sweet sorrel
#

DELL ODD Slim SATA Power Cable

astral coral
#

I am done with Windows

#

now gonna install Ubunutu