#voice-chat-text-0

1 messages ยท Page 280 of 1

urban abyss
#

pawgrammers

#

GIF

#

pronounced JIF

rugged root
#

Most of these things I say interchangeably. So long as people know what you're talking about, doesn't matter.

potent sable
#

guys how to make a background a different color using tkinter

elfin moth
potent sable
civic ivy
#

anyone who calls gif jif doesnt deserve speaking permissions

elfin moth
civic ivy
#

Gif supremacy

urban abyss
rugged root
#

@potent sable Some of these things are going to be easier to find searching them online. So for the thing you're asking about, I used the search terms "python 3 tkinter background color" and ended up finding https://stackoverflow.com/a/2745312

elfin moth
civic ivy
rugged root
#

@golden delta Different operating systems mean you should do things differently

rugged root
#

You still want to ask, Hav

#

In the off chance that they aren't

#

Install using py -m pip or pip3 or what have you

urban abyss
#

i hate pip

rugged root
#

@severe geyser Set

#

It's a Set

#

Hashmap that's just the keys

#

Different but similar

potent sable
#

how make the background transparent for a label?

rugged root
#

Have you tried to find the answer on your own? I love helping people, but ideally I want to help people learn how to find these answers on their own so that they become more self sufficient.

urban abyss
#

^ you'll mostly find what you need with a google for well known packages like tkinter e.g. "python tkinter label background transparent"

rugged root
#

Sort of

#

So it does work

#

I use it for some tools here at work

#

But the problem is that Windows will sometimes flag it as a virus or malicious software

#

You can tell VS Code to point to it. Bottom right hand corner it'll say what Python version you're using

#

Hold on, opening it on my system so I can tell you the right thing

stark river
#

i have to make bread there is no flour ๐Ÿ˜ฆ

rugged root
#

So if you click on that

#

And then enter interpreter path, you'll then navigate to your project folder

#

Should bring that bar up

#

If you haven't created one, then do that

#

If you have, then you can just point it to the one you've made

#

Right

#

Yep, you'd do Enter interpreter path

#

Yeah just do create. Yep

#

Yep

#

That'll make the venv based on that version

#

It takes some getting used to

#

Once VS Code makes it, it'll auto select the venv for that project

#

Then you're golden

#

Whenever you open a terminal in VSC now, it'll be in that venv automatically

#

@obsidian dragon You alright there, chief?

#

Bite me

#

Your mom is wall text

#

That certainly won't cause any issuesOH WAIT

#

The thicc one?

#

Yeah Opal relayed it to me

#

Was cracking up reading that

#

How

#

And you cannot lie

#

You other coders can't deny

golden delta
#

how can i install pyflit on windows again

potent sable
rugged root
#

Open up a terminal in VS Code (bottom left hand corner, looks like >< or something). You'll run the pip install there

rugged root
#

It makes it hard to want to help folks who won't do the work themselves

urban abyss
#

asking people directly is useful but just have to be considerate that you're also shifting the effort away from yourself onto a generous stranger

rugged root
#

Oh wait

#

Wrong thing

#

CTRL + ```

#

God damn it

#

The back tick

#

~

#

Whatever

obsidian dragon
#
\`\`\`
rugged root
#

It didn't work

urban abyss
#


`
`
`
```
rugged root
#

\ `

#

Jesus christ, Discord

#

Stop being drunk

queen folio
#

`` `

rugged root
#

THat

#

Thank you

#

How

obsidian dragon
#

```py
#code
```

rugged root
#

@urban abyss Oh dude, the number of times I get an email that just says "Help, Lacerte isn't working!!!" in the subject line and nothing else...

#

I'm talking like maybe a couple times a day

#

It drives me absolutely insane

potent sable
#

uhh

rugged root
#

I would KILL for it to be via IM

potent sable
#

i cant find the answer on google, how do u use f strings in this?

rugged root
#

Instead of an email where it's just the subject line

potent sable
#

oh wait nvm i did it

rugged root
#

@urban abyss They didn't use a .env?

obsidian dragon
#
hello = tk.Label(text="Ballance", bg="gray")
hello.pack()
rugged root
#

Gross

#

And you forget to push

obsidian dragon
rugged root
#

Apparently cleans too thoroughly

#

One l

potent sable
obsidian dragon
#

isn't this what you wanted

obsidian dragon
potent sable
#

balance size

#

i want it a bit bigger but idk how

#

i cant find anything on google either

obsidian dragon
#

font size

#

scale

potent sable
#

uh

obsidian dragon
#

font=('Times New Roman', 15, 'bold')

potent sable
#

fixed

obsidian dragon
#
txtstr="Ballance"
color="gray"
hello = tk.Label(
  text=f">{txtstr}<",
  bg=f"{color}",
  font=('Times New Roman', 15, 'bold')
)
hello.pack()
potent sable
#

how do i add a line thng

#

underneath balance

#

Balance: 0
---------------

#

well that text didnt work as expected

urban abyss
#

@potent sable you'd be better off learning tkinter/python with some guides rather than making changes by a thousand cuts like this IMO

obsidian dragon
#
txtstr="Ballance"
color="gray"
hello = tk.Label(
  text=f">{txtstr}<",
  bg=f"{color}",
  font=('Times New Roman', 15, 'bold'),
  underline = "True"
)
hello.pack()
severe geyser
#

/Users/myname/Documents/Projects/site-search/venv/lib/python3.9/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020

GitHub

Subject The system Python on macOS 12.6.5 is Python 3.9.6 whose ssl module is compiled with LibreSSL 2.8.3. The removal of LibreSSL support in urllib3 2.0 makes it impossible to be used with the sy...

nimble epoch
#

Hemlock

urban abyss
#

urllib3<2.0

nimble epoch
#

It's me again

urban abyss
#

source site-search/venv/bin/activate; pip install urllib3<2

rugged root
#

Would you choose urllib3 over requests?

#

Or is it just an issue with the install

#

@urban abyss Oh that's fucked

#

WHY would they do that

#

Are you Welsh by chance?

#

Trying to better identify UK accents

#

Ah okay

#

Swing and a miss for the American

#

Which is crazy for how small of a place it is by comparison to... most places I guess

stark river
#

leeds

rugged root
#

LEDs

potent sable
#

underline dont work properly

rugged root
#

It's because you're so bright

dry jasper
#

glasgow edinburgh

rugged root
#

That's weird

stark river
#

aint no scouser

urban abyss
#

more newcastle

rugged root
#

Yes

#

Yes it is

#

Hey Rod

#

@urban abyss Although you say Newcastle and now I want a brown ale

urban abyss
#

newcy brown!!

rugged root
#

I do love it

earnest crow
#

Yeah so ive got my ankle fixated gfor 3 weeks and cant go walkin for 2 :c

rugged root
#

I want to try all the ciders you folks have

#

I loooooooove cider

dry jasper
#

you need to try Wheat beer

solemn drift
urban abyss
#

depth first search

rugged root
#

Never learned all those algo things

#

Unless you're doing really primitive game AI pathing

#

A*

#

@amber raptor Sup

amber raptor
#

Oh god algorithms

rugged root
#

Al Gore rhythms

#

Sorry not sorry

urban abyss
#

A (v1) -> B (v1) -> A (v2)

rugged root
#

@terse needle Sup

rugged root
#

See ya

#

@gentle flint Sup

terse needle
rugged root
#

Understandable

#

No u

#

Shots accurately fired

#

Oh I thought you said a "standing knife"

#

Was really confused what that was

#

Yeah, Stan Lee knives

#

Utility knife

#

Typically the same kind of blades you see with box cutters

#

Yep, preserves the metal

#

Since those rust like crazy

terse needle
#

Stanley No. 4

rugged root
#

Those look so elegant for some reason

#

I keep overthinking so many of these Rust problems

terse needle
rugged root
#

I keep thinking it's going to be way more complicated and it's like "Nah. If else"

gentle flint
#

also a set of screwdrivers made by them

#

they make many tools

rugged root
#

Going through the Rustlings exercises

#

They're neat. It's like the Koans for Python and Ruby

#

Make it level

#

Uniformly level

#

I'll be back later

stark river
#

dashrath manjhi

#

Dashrath Manjhi (14 January 1934 โ€“ 17 August 2007), also known as Mountain Man, was an Indian laborer from Gehlaur village, near Gaya in the eastern state of Bihar. When his wife died in 1959 due to injury caused by falling from a mountain and due to the same mountain blocking easy access to a nearby hospital in time, he decided to carve a 110 m...

golden delta
#

anyone here

whole bear
golden delta
gentle flint
#

@severe geyser i hear noises

whole bear
#

@ivory stump Are you available?

#

@muted prairie๐Ÿ‘‹

gentle flint
#

A torque wrench is a tool used to apply a specific torque to a fastener such as a nut, bolt, or lag screw. It is usually in the form of a socket wrench with an indicating scale, or an internal mechanism which will indicate (as by 'clicking', a specific movement of the tool handle in relation to the tool head) when a specified (adjustable) torque...

peak depot
gentle flint
peak depot
gentle flint
#

jute twine

eager tapir
#

What is wack

#

And always will be

#

Needs maintenance

#

Just need to hold out for a few more years

#

Until advancements in medicine is supreme

#

wack cominator

#

they funded more than just AirBnB\

#

Stripe

#

Sam Altman was foiunder

#

altman and ai lore

#

wild guesses

#

its down under

stuck sky
eager tapir
#

its top secret

#

actually more than that

#

but its on BitBucket

#

no

#

@stuck sky are you a student?

stuck sky
earnest crow
#

Anyone down for a quick game o'chess?

eager tapir
#

only if you lose

stuck sky
#

lol

earnest crow
#

Well we can guess the result quite well depending on our elos

eager tapir
#

What is yours?

earnest crow
#

1300+somethin in rapid

eager tapir
#

let me check mine

whole bear
#

Rodentus no

eager tapir
#

but i dont like rapid

earnest crow
#

We can do unrated blitz then

eager tapir
#

i hate blitz

earnest crow
#

You do bulett?

eager tapir
#

i loathe bullet

earnest crow
#

Oh well thats gonna end up badly, but why not

#

Name?

eager tapir
#

OK i start; E2 to E4

#

pawn

earnest crow
#

e5

eager tapir
#

good one

eager tapir
#

knight B1 to C3

earnest crow
#

You sure brah?

eager tapir
#

Sure

scarlet halo
#

wait dude what happened to my video permission role :(

eager tapir
#

Banned

stuck sky
earnest crow
#

:--(

eager tapir
#

For impersonating wack

stuck sky
whole bear
scarlet halo
stuck sky
scarlet halo
somber heath
scarlet halo
#

indefinite

#

but now gone

earnest crow
#

Not indefinite enough

scarlet halo
#

WHAT DOES PROBATION MEAN??

stuck sky
somber heath
#

Well, you know who to talk to.

scarlet halo
#

hemlock is offline

whole bear
#

@rugged rootHelp

scarlet halo
#

oh wrong hemlock i gues

eager tapir
stuck sky
rugged root
#

What'd I do?

eager tapir
#

the 12+ hours per day type position

earnest crow
#

Sir Spelis cant stream

stuck sky
scarlet halo
#

my screenshare role is gone :(

#

i dont need it rn but

#

was just curious why its gone

whole bear
scarlet halo
#

what does probation even mean

eager tapir
#

means youre under arrest

scarlet halo
eager tapir
#

anything you say can and will be used against oyu in the court of law

rugged root
#

Probationary means you have it for a given time, like a trial period

#

Like a monitored trial

earnest crow
eager tapir
#

one will be provided to you

scarlet halo
eager tapir
#

lucky for you spelis, i can be your lawyer today

scarlet halo
#

:)

scarlet halo
rugged root
#

Perma granted, you're good to go now

scarlet halo
#

:D

eager tapir
#

Perma banned

earnest crow
earnest crow
#

Anyways whats with the socrates?

eager tapir
earnest crow
rugged root
earnest crow
#

yeah i know

eager tapir
#

Socrates wasnt forced

#

He said "I'll do it myself"

rugged root
#

I mean, he was given an ultimatum

#

Close enough

eager tapir
#

because of him, DEMOCRACY

#

or idk that far into the story

earnest crow
#

Funny enough it was him calling out democracy and he was one of its first victims

scarlet halo
#

what does [3,3] mean

stuck sky
#

hey the cto @eager tapir

earnest crow
eager tapir
scarlet halo
#

yeah for what

stuck sky
eager tapir
#

What languages are you specialized in?

stuck sky
#

i manage team, i manage everybody
i also use to trade markets i had a agency and i've worked for enterprises

#

here too i work as a sort of cto
i lead the development, i hire, i assign the work

eager tapir
#

very nice, whats the problem then?

scarlet halo
#

switching linux distros really aint that hard

stuck sky
#

looking for better candidates

scarlet halo
#

im thinking about switching to debian

eager tapir
#

@golden delta create a script that reads ip of the people you connect to on sites like omegle to freak them out

stuck sky
#

but this time you're the cto
so anyhow trying to connect to u

scarlet halo
#

but ive had bad experience because of raspberry pi

somber heath
#

@twilit blade ๐Ÿ‘‹

eager tapir
twilit blade
stuck sky
#

i love self managed ppl

eager tapir
#

what type of job are you doing

scarlet halo
#

look at this cool raspberry pi case i found

stuck sky
scarlet halo
#

its for model 4B

#

i wonder if the reset and power buttons work ๐Ÿค”

#

yeah me too

eager tapir
scarlet halo
#

yeah i believe

#

i would wire in so in software they press keys

stuck sky
scarlet halo
#

because my raspberry pi has recalbox

#

which is just an emulation system

eager tapir
#

i was freaked

#

but he wanted to be a cybersecurity boy

#

cyber boy

stuck sky
#

hacker chocolate boy

scarlet halo
#

"cyber boy" ๐Ÿ’€

scarlet halo
eager tapir
twilit blade
#

hi guys

#

whats going on

eager tapir
#

hello tree

#

ask Opal

stuck sky
eager tapir
#

Yes I understood what it is

#

But its not necesarilly untapped

#

Just not well explored

somber heath
twilit blade
#

oh

#

thats really cool, you have me intrigued

stuck sky
scarlet halo
#

wait imma reboot

eager tapir
#

NOOO SPELIS

#

NOOOOOOOOOOOOOOO

scarlet halo
#

pc been up for 12 hours

eager tapir
#

YOUR MEMORY WILLBE WIPED\

scarlet halo
scarlet halo
#

that is heavy metal

eager tapir
#

pokemon ost is the heaviest of metal

twilit blade
#

so i have this phone, and im good at python, whats my potential of making a cool project and the limitations

#

im not supposed to be talking about this here right?

eager tapir
somber heath
twilit blade
eager tapir
#

Bots are nice

#

web scrapers and such

twilit blade
eager tapir
#

your imagination

amber raptor
stuck sky
amber raptor
stuck sky
#

its very good

#

;-;

amber raptor
#

It's not

twilit blade
#

thats just for backend right. you can make a whole web app with it

eager tapir
#

Technically everything is very good if you yourself are good with it, even jQuery

stuck sky
eager tapir
#

Some of the highest paid freelancers on Upwork still work with jQuery only

#

Crazy

amber raptor
somber heath
#

@lethal rivet ๐Ÿ‘‹

twilit blade
#

flask

stuck sky
#

flask sucks tbh in 2024

amber raptor
scarlet halo
#

yoo im bacc

eager tapir
#

SPELIS NOOOOOO

#

DO YOU REMMEBER ME

#

D YOU>??

#

DO YOUUUU????

#

NOOOOOOOOOOOOOOOOO

twilit blade
#

i know a guy who works for nokia his main expertise are flask and fast api and hes still employed

whole bear
amber raptor
#

FastAPI is in wide usage, my current company uses a ton of FastAPI as well though it's slowly getting replaced

stuck sky
amber raptor
#

I've personally used FastAPI

stuck sky
#

noice!

#

we are using Django as of now for our product,

ig 2025 we'll transition to fastapi

#

it's good,

twilit blade
#

isn't the whole coding thing about doing what you love, making your or someones life better. i feel like all this new poeple are just in it for the money

#

whats the best language to start with?

#

how many languages should i learn

amber raptor
eager tapir
scarlet halo
#

sazk is really cool

twilit blade
#

certificates, internships

eager tapir
eager tapir
stuck sky
#

wack

#

is my bestie

eager tapir
#

learn more of the higher level topics too

#

like SOLID principles and software arhcitecture

#

thjat way you can then jump to any language

#

And it will be comfortable

scarlet halo
#

sazk doesnt talk often as far as i have seen

stuck sky
twilit blade
stuck sky
#

maybe he's shy

twilit blade
#

currently nothing, even if i wanna do something, i can't and i don't have the courage

#

or privilege

eager tapir
#

wdym

#

how come?

twilit blade
#

i don't have a device

scarlet halo
#

dude

eager tapir
#

no PC?

#

or laptop?

scarlet halo
#

gnome has literally everything

#

they have their own emulator app

twilit blade
#

i Learned everything i know on my phone, now im into data science and i can't do anything about it

scarlet halo
#

and virtual machine app

scarlet halo
stuck sky
#

just like u

#

:kek

#

:kek:

#

no nitr

earnest crow
#

Thats real crazy

eager tapir
#

dedication too

earnest crow
#

I used to be anxious a lot and scared of people

twilit blade
#

im i getting mocked?

earnest crow
#

Nag

#

More like respected

#

I couldnt see myself coding on a phone

twilit blade
earnest crow
#

Nah generally

somber heath
eager tapir
#

There was a brief period i tried programming on my phone

#

very painful experience

earnest crow
#

I sometimes run some scripts online if i really need but thats about it

twilit blade
scarlet halo
#

hi

#

wha

scarlet halo
#

nuh uh

eager tapir
#

I dare not

twilit blade
#

i tried to make some money of of donations with my meme account, lost a ton of followers eventually stopped it, now im just leetcoding

scarlet halo
#

exactly chharizard

#

did i just stutter over text

#

ich komme aus schweden

eager tapir
#

das ist crazy

scarlet halo
twilit blade
eager tapir
#

Its a place to run code

#

In any language i believe

#

Virtual environment from the web

#

Online IDE

#

Run on i9s

scarlet halo
#

!rule 4

wise cargoBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

twilit blade
#

i can see that, i was asking whether there are premium membership and stuff

scarlet halo
#

oh yeah i love ebglis

twilit blade
#

i got the modded version of pydroid so i get that autocomplete and no ads and stuff

scarlet halo
#

speak it fluently

#

what if i install linux on my phone

#

i kinda dont want to

twilit blade
#

whats ebglis

scarlet halo
somber heath
#

@crimson lark ๐Ÿ‘‹

scarlet halo
#

brb boys

eager tapir
#

slovakian

#

czech

twilit blade
#

i used to have replit

#

it sucked

eager tapir
#

there is codesandbox too

#

i was in Prague in Deus Ex Mankind Divided

scarlet halo
#

JA

eager tapir
#

damn

#

@earnest crow what is your current occupation?

#

so you are a Career Opportunity Strategist (unemployed)

#

@somber heath what is your current occupation?

#

very nice

scarlet halo
#

wait github is owned by microsoft right

#

shit

eager tapir
#

Microsoft is big papa now

scarlet halo
#

gitlab is github on reverse steroids imo

eager tapir
#

They own like 49% of OpenAI

scarlet halo
#

dude my discord is glitching tf out

earnest crow
eager tapir
#

@golden delta pass that info to me

#

i will forward it to the relevant authorities

#

(me)

earnest crow
#

Bruh

golden delta
#

lol

scarlet halo
earnest crow
#

wdym

scarlet halo
#

guys hear me ouyt

whole bear
#

.8ball Is Spelis stupid?

viscid lagoonBOT
#

It is certain

scarlet halo
#

.8ball is Charizard "konstig"

viscid lagoonBOT
#

Very doubtful

scarlet halo
#

WHAT

eager tapir
#

.8ball is wack wack?

viscid lagoonBOT
#

As I see it, yes

scarlet halo
#

.8ball is spelis wack

viscid lagoonBOT
#

As I see it, yes

scarlet halo
#

haha

eager tapir
#

lol

scarlet halo
#

.8ball ""

viscid lagoonBOT
#

Usage: .8ball <question> (minimum length of 3 eg: will I win?)

scarlet halo
#

tf u mean usage

#

i think i broke it

whole bear
#

.8ball will I hit a 1000 elo before the end of hte year?

viscid lagoonBOT
#

Yes

whole bear
scarlet halo
#

.8ball if i go to a casino will i win?

viscid lagoonBOT
#

It is decidedly so

scarlet halo
#

i cant even go to casinos

#

br

#

b

whole bear
#

.8ball Will @ivory stump accept my friend request?

viscid lagoonBOT
#

Better not tell you now

ivory stump
#

I'm a man of my word

earnest crow
#

!paste

whole bear
earnest crow
#

This is one of my newest codes

whole bear
#

.8ball will spelis go to sleep?

viscid lagoonBOT
#

Without a doubt

whole bear
#

Spelis go to sleep

#

@cunning spear๐Ÿ‘‹

cunning spear
#

why am i muted

eager tapir
#

racism

whole bear
whole bear
#

Follow the rules

cunning spear
#

Our glorious Country became THE SUPERPOWER OF THE WORLD

#

Xฤฑ xjinping

#

Goat

#

bro discord is so

#

cringe

whole bear
#

@ivory stump Help

cunning spear
#

what can i do sometimes

ivory stump
whole bear
#

This guy is spamming images to to get perms I think?

ivory stump
#

!mute 372793216677838849 2d Rudeness towards other members, spam

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @cunning spear until <t:1711224076:f> (2 days).

whole bear
ivory stump
#

717749310518722691

whole bear
#

!stream 717749310518722691

#

@ivory stump Why is this not working?

ivory stump
whole bear
#

!stream 717749310518722691

chilly parcel
ivory stump
whole bear
chilly parcel
whole bear
#

.8ball Will I get timed out if I ping @leaden comet ?

viscid lagoonBOT
#

Very doubtful

whole bear
potent sable
#

guys why dosent underline work properly

somber heath
#

@potent sable Are you starting your mainloop?

wise escarp
#

kll;.

#

kml,

whole bear
#

@stark river๐Ÿ‘‹

whole bear
#

@warm sinew๐Ÿ‘‹

wind raptor
#

!stream 264657660190654464 1h

wise cargoBOT
#

โœ… @wise loom can now stream until <t:1711070279:f>.

real lance
real lance
#

incel

shrewd ibex
#

@whole bear how's the grind going?

#

You've been programming lately?

#

nice

earnest quartz
#

command > log.txt

cerulean bloom
#

@wind raptor hey

#

Cant speak

earnest quartz
#
          • cd playground; docker -v >> test.txt;
somber heath
wind raptor
#

!stream 962128994814263316

wise cargoBOT
#

โœ… @sweet sorrel can now stream until <t:1711073350:f>.

cerulean ridge
#
display(list(tagged_HVAC))
display(np.array(list(tagged_HVAC)))
#
[rdflib.term.URIRef('https://brickschema.org/schema/Brick#Dry_Cooler'),
 rdflib.term.URIRef('https://brickschema.org/schema/Brick#HVAC_Zone'),
 rdflib.term.URIRef('https://brickschema.org/schema/Brick#HVAC_System'),
 rdflib.term.URIRef('https://brickschema.org/schema/Brick#HVAC_Valve'),
 rdflib.term.URIRef('https://brickschema.org/schema/Brick#HVAC_Equipment')]

array(['https://brickschema.org/schema/Brick#Dry_Cooler',
       'https://brickschema.org/schema/Brick#HVAC_Zone',
       'https://brickschema.org/schema/Brick#HVAC_System',
       'https://brickschema.org/schema/Brick#HVAC_Valve',
       'https://brickschema.org/schema/Brick#HVAC_Equipment'],
      dtype='<U51')
#
display(np.asarray(list(tagged_HVAC), dtype=object))```
somber heath
#

@bitter knoll๐Ÿ‘‹

bitter knoll
#

Can't talk

somber heath
bitter knoll
#

Mic issue

whole bear
#

@scarlet halo

somber heath
#

@twilit blade๐Ÿ‘‹

twilit blade
#

i don't think i have the permission to talk in the voice chat

wind raptor
#

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

twilit blade
#

ok

#

its done ty

somber heath
#

@thorn ermine๐Ÿ‘‹

thorn ermine
#

Hi

#

Sounds like something someone would say if they were Canadian

somber heath
#

@median flint๐Ÿ‘‹

median flint
#

Hi

#

Sorry I'm too new here to speak

thorn ermine
#

Same

#

I am going to hop out since I cant speak though. Have a good night everyone

rapid cargo
#

Hello I gotta go but what is your beginners python tip of the day?

median flint
#

Having some issue with some code of mine. Tried getting chatGPT to help but that only sent me in circles with errors. Thought some human input would help

somber heath
rapid cargo
#

Ok

somber heath
#

Your brain is your tool. Your brain relies on your body. Look after your body. Look after your mind.

rapid cargo
#

Ye

#

Thanks have a good night!

twilit blade
#

gotta go to college

#

ill be back in a eternity

median flint
#

I'm making a text based RPG, something simple and I have an inventory system where items can be added, removed, and used.
So far I've gotten the whole inventory system to work and can add items and use them. But when I use them they wont get removed from the inventory

#

Is pasting code here allowed?

somber heath
#

Is this something that you've generated mostly with ChatGPT, or something you've written mostly yourself, but with ChatGPT help?

wind raptor
#

!paste if there is a lot

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.

median flint
#

I've used chatgpt a bit for when I'm stuck. But I often change and shift things around.

#

oooh

#

its the inventory_use function where item usage is

#

Yes

#

I think I might throw out the whole chunk. It was very generated and I don't really understand it

#

there is one other file

#

this is the whole other file

Items.py

items = {
'health_potion': {
'name': 'Health Potion',
'description': 'Restores 50 health points.',
'effect': {'health': 50}
},
'mana_potion': {
'name': 'Mana Potion',
'description': 'Restores 50 mana points.',
'effect': {'mana': 50}
}
}

whole bear
#

Ill just be listening

#

Ill stay then if yall dont mind it

median flint
#

I apologize for the messy code. I started coding less then a few months ago. And chatGPT definitely spagetiified it a bit

whole bear
median flint
#

That was not the intention

whole bear
#

We are better off reading documentation, texbooks, and stackoverflow threads

median flint
#

The code used to be much simpler. Using lists for mostly everything. But then I got the idea to convert everything to a class based system with a file import and actually getting the item consumtion system to work. But now I'm left with this pile of AI generated code that I don't understand. I feel bad.

#

What are some resources I could look into?

#

Yes thats what I meant sorry

#

I figured a dictionary based system would be easier to expand upon in the future. And I think I was right but now I'm at this hurdle.
If I understood how the remove item system, that is 100% chatgpt made, worked I would try but where do I begin lol

#

So would I have it as a list then?
Cause before I chatGPTed it the system was something like
items = ["Health Potion", "Mana Potion", "Gold"]
itemAmounts = [0, 0, 0]

#

I wanted to move the item dictionary to seperate file so the main file wouldn't become bloated if I added more items

#

Okay, so in the item dictionary I would add an "amount": "0"
like that?

#

I don't know classes

#

Oh gosh I'm realizing I might have to scrap everything to fix this. Everything is so interconnected with the various dictionaries that It would take forever to repair if I just removed the unnecessary ones

wind raptor
#

{
"Health Potion": {
'amount': 0,
'description': 'Restores 50 health points.',
'effect': {'health': 50}
},
"etc":{}
}

median flint
#

Okay, I'll add amount to the dictionaries.

#

Not being able to speak is so difficult lol
So like here for instance

def inventoryAdd(item, pInventory, itemAmount):
item_key = item.lower().replace(" ", "_")
if item_key in Items.items:
pInventory.append(item)
itemAmount[item_key] += 1
print(f"{item} added to inventory.")
else:
print("Item not found in itemList.")

I can remove the whole.. item_key to item .lower nonsense?

#

Okay. I think I'm gunna start the inventory system from scratch. Most of the code is fine and I understand it, I'll save that. Its just the inventory system has turned into an incomprehensible mess. I'll work on simplifying everything and making everything based on just the items module.
It's getting very late and I should be getting to bed, thanks for the help. I'm taking notes for what to do tomorrow. I'll let you know If I make progress.

#

You as well

obsidian dragon
#

6700K

scarlet halo
#

its missing the cap

#

no ๐Ÿงข

obsidian dragon
#
        # Run the tone color converter
        encode_message = "@MyShell"
        tone_color_converter.convert(
            audio_src_path=src_path, 
            src_se=source_se, 
            tgt_se=target_se, 
            output_path=save_path,
            message=encode_message)
civic ivy
#

@rugged root unmute a brother an hour early ๐Ÿ˜” ๐Ÿ™

rugged root
#

What errors

rugged root
sacred fog
#

@rugged root yoo

obsidian dragon
# rugged root What about it isn't working
Traceback (most recent call last):
  File "e:\vanity_py\venv\lib\site-packages\discord\client.py", line 441, in 
_run_event
    await coro(*args, **kwargs)
  File "e:\vanity_py\cogs\ai_things.py", line 102, in on_message
    tone_color_converter.convert(
  File "e:\vanity_py\api.py", line 155, in convert
    audio = self.add_watermark(audio, message)
  File "e:\vanity_py\api.py", line 180, in add_watermark
    signal_wmd_tensor = self.watermark_model.encode(signal, message_tensor)  
  File "e:\vanity_py\venv\lib\site-packages\wavmark\models\my_model.py", line 37, in encode
    signal_wmd = self.istft(signal_wmd_fft)
  File "e:\vanity_py\venv\lib\site-packages\wavmark\models\my_model.py", line 25, in istft
    return torch.istft(signal_wmd_fft, n_fft=self.n_fft, hop_length=self.hop_length, window=window,
RuntimeError: istft requires a complex-valued input tensor matching the output from stft with return_complex=True.

potent sable
#

how to make the labels text update?

willow light
#

for those not in the call, this is my hometown's local roastery

potent sable
#

guys

rugged root
#

@potent sable Use the search terms "python 3 how to update label text tkinter". There's two ways to update label text

#

It's just a matter of finding the right terms to look with

potent sable
#

alriht thanks

rugged root
#

!stream 1218705542814634045

wise cargoBOT
#

โœ… @golden delta can now stream until <t:1711117029:f>.

rugged root
drifting crown
#

okee:)

#

Where are you from?

signal zealot
#

Game recommendation = For Honor

rugged root
#

!source

wise cargoBOT
signal zealot
#

you can get it via xbox gamepass for $1

#

link xbox gamepass to Ubisoft account

fierce compass
#

Hi guys, I have a python script which I want to start via the task scheduler as soon as my pc boots up. However, my system asks me every time with which program it wants to start the script, although python is selected as default. is there a way around this?

potent sable
#

how do i make an updating text label i cant find anything on google

willow light
#
% duckdb -c \
  "select license->>'key' as license, count(*) as count \
  from read_json('https://api.github.com/orgs/golang/repos') \
  group by 1 \
  order by count desc"

well that's neat

willow light
#

omg people go outside once per economic quarter, it won't kill you

rugged root
#

@golden delta discord.Intents.all()

#

Instead of default

earnest crag
#

< 3

#

<3

rugged root
#

โค๏ธ

willow light
rugged root
earnest crag
#

๐Ÿ’“โฃ๏ธ๐Ÿ’๐Ÿ’˜๐Ÿ’ž๐Ÿ’—๐Ÿ’–

fast sparrow
rugged root
#

The Great Molasses Flood, also known as the Boston Molasses Disaster, was a disaster that occurred on Wednesday, January 15, 1919, in the North End neighborhood of Boston, Massachusetts.
A large storage tank filled with 2.3 million U.S. gallons (8,700 cubic meters) of molasses, weighing approximately 13,000 short tons (12,000 metric tons), burst...

golden delta
#

Provided to YouTube by Translation Enterprises d/b/a/ United Masters

crazy ยท gavn!

crazy

โ„— 2021 gavn! under exclusive license to UnitedMasters

Released on: 2021-01-22

Producer: Ehallz
Producer: Jakebreh
Music Publisher: Carson Hobdy
Music Publisher: Gavin Maher
Composer Lyricist: Gavin Maher
Composer Lyricist: Carson Hobdy
Composer Lyr...

โ–ถ Play video
earnest crag
#

@rugged rootgimme screenshare or i cri

dry jasper
rugged root
#

@willow light Lol, Massachusetts

dry jasper
willow light
#

Lowell is indeed pronounced "loull"

dry jasper
#

@willow light

willow light
#

yes?

fair bane
#

hello lol

dry jasper
golden delta
civic ivy
#

๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡บ๐Ÿ‡ธ

rugged root
willow light
#

Here's hoping this one is less annoying than me.

earnest crag
fair bane
fair bane
earnest crag
fair bane
#

i c

rugged root
#

?

#

I am confuzzled

earnest crag
#

S

dry jasper
whole bear
#

<@&831776746206265384> Hemlock is deafened and Vc is without moderation

dire folio
#

im sure you will survive

earnest crag
civic ivy
#

HELP US

earnest crag
#

EVERYONE IS DOING IT

civic ivy
#

PLEASE

wise loom
#

@civic ivy drink some water bro, don't get dehydrated

civic ivy
#

go outside lil fella

wise loom
#

you got muted for 24h for saying that

civic ivy
civic ivy
whole bear
amber raptor
#

Just voice mute everyone

#

Thatโ€™s my recommendation

#

Voice was mistake

waxen loom
#

does anyone know how i can make my tensor flow work on my gpu rather than cpu?

whole bear
#

@vivid palm๐Ÿ‘‹

vivid palm
#

hi

whole bear
earnest crag
#

chatgpt

#

:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>:>

willow light
waxen loom
#

its dependencie s messing up i htink

rugged root
#

God damn it, why does shit go down when I leave

#

This is what I get for having stomach issues

dire folio
#

well.. voice chat ๐Ÿ˜„

rugged root
#

I know...

willow light
#

Isn't spring break this week? that would explain why people are behaving worse than usual

rugged root
#

This is a clusterfuck of singing

dire folio
#

when its more normal, ping me @rugged root and ill join in and we can nerd abit us old guys

willow light
#

count me in

rugged root
#

Sounds good, chief

#

See ya bud

#

Sorry that I'm back to just typing right now

#

Co-worker is back here

#

Streaming games is on the weekends

vivid palm
#

thursday 8pm==weekend

#

(joke)

#

but not really

rugged root
#

Me

whole bear
rugged root
#

Because it's out of scope for us

vivid palm
#

i am

rugged root
#

There's plenty of servers you can stream games on

#

Too bad

vivid palm
#

fridays are throwaway work days

willow light
#

This isn't a game discord, go stream there.

rugged root
#

@vivid palm Robo mina

#

@civic ivy Stop please

#

@earnest crag Later bud

#

@civic ivy If you're going to sing to yourself, mute

rugged root
#

What?

#

I can't win here

#

It's uncomfortable to say the least

#

That

#

@willow light No reason to slam him

#

Uh huh

#

Church of England

#

@civic ivy I'm convinced you don't even know what you're saying

#

Maybe don't

#

Well played

#

"Hi, I'm Sarah Tonin"

#

@vivid palm Protein shake

#

And sadness

vivid palm
#

i had a wonderful egg bagel sandwich thing

#

v good

rugged root
#

Niiiiice

#

Regular bagel?

eager tapir
#

@rugged root Why is your mic off

rugged root
#

Co-worker is back here. I don't want to be disruptive

eager tapir
#

This is as rare as a blue moon

rugged root
#

Not during tax season

eager tapir
#

Very grateful to witness this

rugged root
#

This has been the case for a month or so

eager tapir
#

Tell your co-worker to leave

rugged root
#

@willow light The movie?

#

Yeah that's still a dumb suggestion

#

Right to bare arms

#

Yes

#

Throw blue bottles at them

eager tapir
#

Right to bare arms as in stand up against the government, ts for the people

rugged root
#

@willow light In what way are they like a deer

#

They so aren't

simple valve
#

.

eager tapir
#

Im form the EU so i know the constitution

simple valve
#

hi

#

just trynna reach 50 msgs

rugged root
#

And nothing else

simple valve
#

lmao

#

รง.

rugged root
#

@simple valve Hey, so long as it's a legit convo, then it's fine

simple valve
#

idc

#

..

rugged root
#

You're gonna care

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @simple valve until <t:1711123227:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

rugged root
#

And that's why

civic ivy
#

Rip furkan

eager tapir
#

So long

rugged root
#

The bot did it for us

eager tapir
#

Long chat

rugged root
#

@willow light I mean it's not only for the voice chat thing

#

Just spammers in general

eager tapir
#

@rugged root whati s your favourite movie?

willow light
#

Either way you automated the boring stuff with python

eager tapir
#

Is it Back to the Future Part III?

rugged root
#

Myster Science Theater 3000: The Movie

eager tapir
#

What

rugged root
#

Ehhhh

vivid palm
#

!tvmute 1140755168938438676 2w follow our rules and instructions in order to participate on the server

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @simple valve until <t:1712332293:f> (14 days).

rugged root
#

The really early stuff isn't

#

Thanks Mina, sorry

#

I'm not on my A game today

eager tapir
rugged root
#

That's standard procedure

eager tapir
#

dont you think he would learn his lesson with like, 2 days as well?

rugged root
#

Voice is a privilege, not a right

vivid palm
#

!unmute 1140755168938438676

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @simple valve.

rugged root
#

You misbehave to get it, you don't get it

#

True

eager tapir
#

Yes

#

2 days can then grow to 14 days, then continue to 30

#

But starters to be 14, sheesh

willow light
#

Deterrence is a good thing

rugged root
#

VC is hard enough to moderate on a good day

eager tapir
#

Wait we are talking about furkan that spammed the chat?

willow light
#

yes

eager tapir
#

Or was there someone else on VC too?

civic ivy
rugged root
#

Just in general

eager tapir
#

Right

rugged root
#

We have?

rugged root
#

Not a bad idea

rugged root
#

Huh, I apparently have the Copilot pre-release for Windows

#

Neat

willow light
#

This is why I live where the temperature 1/3 of the year is -22 C

rugged root
#

@sudden lance How are you activating the camera? What language or library?

vivid palm
willow light
vivid palm
#

tell it to summarize the meeting and come up with next steps

rugged root
#

I'm curious to see how well it works for emails

vivid palm
#

or catch me up if i've missed smth

whole bear
#

Mina

rugged root
#

That'd be cool

whole bear
#

Can you play chess w/ me?

vivid palm
#

emails.. idk it took a while to give me output and during that time i could skim the email

#

i don't like chess sry

rugged root
#

True

willow light
#

We did that until the execs managed to autocomplete with a valid internal api key one day and panicked, so they disabled copilot for everyone indefinitely

whole bear
#

That would be a good bday gift

vivid palm
#

but it might be good for really really long email threads you weren't closely following

vivid palm
#

fair

#

my inbox is where information goes to die

rugged root
#

Same

#

"I sent you an email about this" "uuuhhhhhhhhhhhhhhhhhhhhh"

whole bear
#

What is copilot used for?

vivid palm
#

lol penny has come to my office to tell me she's ready for breakfast now

willow light
# vivid palm oooooo

Same issue is why we lost the ability to innersource projects on GitHub Enterprise, because people kept putting prod credentials in plaintext. My team's on-call had a bingo board, and the free space was "plaintext prod credential in a public forum"

rugged root
#

@dense ibex Sup broseph

civic ivy
#

๐Ÿ˜ฒ

dense ibex
whole bear
#

@dense ibex๐Ÿ‘‹

vivid palm
rugged root
#

@sudden lance Give me a sec

vivid palm
#

what is innersource

rugged root
#

!stream 1100935862239375370

wise cargoBOT
#

โœ… @sudden lance can now stream until <t:1711123619:f>.

willow light
rugged root
#

My god, he's dead

#

Dearly beloved, we are gathered here to mou- oh nevermind he's back

dense ibex
#

lmfao

rugged root
#

Gotcha

willow light
#
password: str = os.environ.get("SERVICE_NOW_PASSWORD")
#

that got flagged as "credentials in YAML"

rugged root
#

It does

#

Sorry

#

32 GB isn't enough?

#

The hell else do you have open?

#

All of them

#

Dearly beloved, we are gathered here to mourn the loss of Bani, who in a terrible streaming accident - nope back again

#

Howwwwwwwwww

rugged root
#

@sudden lance Yeah just let it finish processing

willow light
vivid palm
willow light
rugged root
#

It's a security checker

vivid palm
#

i mean the tool is working as designed

#

but they don't want it?

willow light
#

It saw the password: str and thought it was yaml

rugged root
#

@dense ibex Antivirus AND Antiusability

whole bear
#

Alr I can't listen to that crap

#

I'm going type only also

rugged root
#

Which crap?

willow light
#

I raised the issue and they suggested I don't use typechecking

rugged root
#

That's... what

vivid palm
#

lol

willow light
#

They then asked if it still happened when I use Python 2.6

dense ibex
rugged root
#

Actually when was type hinting introduced....

whole bear
willow light
rugged root
#

Ah, 3.5

dense ibex
#

I mean it's still python so

vivid palm
wind raptor
#

Hey all ๐Ÿ˜„

rugged root
#

Driver issue