#voice-chat-text-0

1 messages ยท Page 975 of 1

half portal
#

and yes, I did install that

rugged root
#

Thesis Pieces. Because there's no wrong way to write a thesis

lyric pawn
#

its about how blockchain technology can be used for charitable donations

#

but i didnt want to say the word in here ๐Ÿ˜†

sweet lodge
#

@rugged root - is there a tag for virtual enviorments?

amber raptor
molten pewter
half portal
#

It still installs it in the coding pack directory

sand lark
#

oui oui baguette

half portal
dull edge
#

Faire lโ€™andouille

stuck furnace
#

It doesn't have the same terroir ๐Ÿง ๐Ÿท

lyric pawn
#

...

#

people dont look at their watches as much in europe?๐Ÿคฃ

dull edge
#

Europe is all same right

lyric pawn
#

that sounds like everyone is lazy(dont do anything), or dont manage their time well

sweet lodge
# half portal It still installs it in the coding pack directory

Hmm
What if you open a new command prompt, outside of VS Code, and install it there? Command prompt should be able to use the global installation.

You should be able to configure VS Code to use your Coding Pack extension, but I've never used it, so I don't know how

stuck furnace
#

Brb, moving to Taiwan.

half portal
sand lark
#

im from europe but its britain so im not sure if im included in the european stereotype

lyric pawn
#

Good discussion guys

sand lark
stuck furnace
#

After you said the first thing they ask you is "have you eaten".

#

Sound like my kind of place.

lyric pawn
#

I think if you are looking for the differences, you will find differences in anything

#

im just saying, its really all the same. If you Think about it

stuck furnace
#

brb sorry

sand lark
dull edge
#

I'm from sweden, it's not same over here

sand lark
#

when i'm older i'd like to travel the world

lyric pawn
#

no you guys went crazy on the gut thing

#

both of you, well said

sweet lodge
half portal
lyric pawn
#

Furyo used to work at Bell Labs

dull edge
#

Really?

lyric pawn
molten pewter
#

not actually

lyric pawn
#

he acts stupid but hes really smart

#

he has to dumb it down for us

sweet lodge
dull edge
#

I just wrote a paper on the transistor

lyric pawn
#

๐Ÿ˜†

dull edge
#

Okay nvm

lyric pawn
#

10 things in your room, 9 are from bell labs

molten pewter
#

Nokia Bell Labs, originally named Bell Telephone Laboratories (1925โ€“1984),
then AT&T Bell Laboratories (1984โ€“1996)
and Bell Labs Innovations (1996โ€“2007),
is an American industrial research and scientific development company owned by Finnish company Nokia. With headquarters located in Murray Hill, New Jersey, the company operates several laborato...

dull edge
#

๐Ÿ‡ซ๐Ÿ‡ฎ

lyric pawn
#

this guy sounds like the unibomber

#

@rugged tundra can you give us some personal information about him

#

something personable

#

that we can relate to?

#

get an idea of this guy, some personality?

#

like a first name

#

ok why do you think he ended up like this?

half portal
#

im so confused

#

i should probably uninstall the pack and install extensions manually

shut hill
#

Could sopmeone check why my code isnt outputting properly?

#

height = float (input("What is the height of the cylinder: "))
radius = float(input("What is the radius of the cylinder: "))
surface_area = 2 * math.pi * radius ** 2 + 2 * math.pi * radius * height
volume = math.pi * radius ** height

print("The surface area of the cylinder is {surface_area:.1f} and The volume of the cylinder is: {volume:.1f} ")```
#

;-;

lyric pawn
#

what do electrical engineers do?

shut hill
#

i know i meesed up somewhere

rugged tundra
#

Electrical engineering is an engineering discipline concerned with the study, design, and application of equipment, devices, and systems which use electricity, electronics, and electromagnetism. It emerged as an identifiable occupation in the latter half of the 19th century after commercialization of the electric telegraph, the telephone, and el...

shut hill
#

height = float (input("What is the height of the cylinder: "))
radius = float(input("What is the radius of the cylinder: "))
surface_area = 2 * math.pi * radius ** 2 + 2 * math.pi * radius * height
volume = math.pi * radius * height

print("The surface area of the cylinder is {surface_area:.1f} and The volume of the cylinder is: {volume:.1f} ")``` 

Can someone check why my code isnt out puitting the surface are or volume? I know there is  amistake some where last 3 lines but i dont get whats wrong
lyric pawn
#

why do you think people are super against computers?

noble copper
#

deep work wednesday

lyric pawn
#

radiation? the way it screws our brains up? distracts us?

#

im talking about the super smart people

noble copper
#

i dont think my mic works

molten pewter
half portal
shut hill
#

instead of ^ you can do **

dull edge
#

@rugged cloak ๐Ÿค”

lyric pawn
#

@noble copper is a smart man

#

crypto communities are spammy

half portal
lyric pawn
#

@noble copper have you made any investments yet?

half portal
shut hill
#

wdym

#

test case?

noble copper
#

@lyric pawn minimal investments

#

nothing major

half portal
shut hill
#

idc just make it work

lyric pawn
#

brb guys

half portal
# shut hill idc just make it work

this should work

import math

height = float(input("What is the height of the cylinder: "))
radius = float(input("What is the radius of the cylinder: "))
surface_area = 2 * math.pi * radius ** 2 + 2 * math.pi * radius * height
volume = math.pi * radius * height

print("The surface area of the cylinder is {surface_area:.1f} and The volume of the cylinder is: {volume:.1f}".format(surface_area=surface_area, volume=volume))
rugged cloak
#

also before the symbol was bad the symbol actually meant peace

shut hill
#

Try runnig it urself

half portal
#

its working for me

shut hill
#

bruh

rugged cloak
#

yes

lyric pawn
#

you didnt draw the symbol right

hardy shoal
#

less than 50 messages

#

lmao

shut hill
#

@half portal its working ty but what does format do

lyric pawn
#

its similar but not all the way the same

rugged cloak
#

I also support K+K+K and this actually means to me in a language I created also means peace

lyric pawn
#

you're disrespecting a religion

shut hill
#

.format(surface_area=surface_area, volume=volume))

rugged cloak
lyric pawn
#

you're not even indian

rugged cloak
#

uuuuuuuuuuuuuuuuh

olive hedge
#

!ban 943092347586109481 hate speech, racism, what not bye

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @rugged cloak permanently.

half portal
olive hedge
#

Let's not give into this type of racist trolling. This will be your one and only warning

half portal
#

can i send my .py file here @olive hedge ?

shut hill
#

lord email them to m

half portal
#

lmao

shut hill
#

ee

#

i will dm u

arctic ledge
dull edge
#

I accept the warning

molten pewter
lyric pawn
#

๐Ÿคฃ

quasi condor
molten pewter
#

15th of May is pun day.

quasi condor
molten pewter
#

caught in the United States flag, 'merica

lyric pawn
#

๐Ÿคฃ

#

brb

molten pewter
#

praise be to our savior Linus.

graceful grail
#

!video

rugged root
#

!stream 189200135278952450

wise cargoBOT
#

โœ… @graceful grail can now stream until <t:1645037777:f>.

whole bear
#

.isnumeric()

rugged root
#

Yeah, either that or .isdigit()

cosmic lark
#

Nice is_integer Mr h4x0r

graceful grail
rugged root
#

Wait, is there a way to spoiler code blocks?

#

||

testing

||

#

Not that way

#

Hmm

#

I've got a solution that uses try/except for this

#

Just didn't want to drop it in here until he's got his solution working

#

At least I think this would work

#

Now I'm doubting myself

#
grouped = words.split()
if len(grouped) < 3:
    return False

for i, word in enumerate(grouped):
  if i > 2:
    break
  try:
    checked = int(word)
    return False
  except ValueError:
    continue
return True
#

Eh, fuck it

#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

keen sky
quasi condor
#

Is this still the same problem?

#

Can't see the steam

rugged root
#

Might need a refresh

quasi condor
#

No no I mean I'm in mobile atm

#

So it's v small

rugged root
#

Oh yes, same problem

#

I think mine might work

#

Just kind of threw it together haphazardly

quasi condor
#

I think you're missing a few things

#

But it's a solid idea

wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

001 | True
002 | False
rugged root
#

-shudders- One liners

quasi condor
#

!e

def f(words):
    words = words.split()
    return False if len(words) <3 else any(all(not x.isdigit() for x in words[i-3:i]) for i in range(3, len(words)))

print(f("words words words words 1 2 3"))
print(f("words words 1 2 3"))
print(f("words 1 1 1 1 "))
print(f("words"))
wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

001 | True
002 | False
003 | False
004 | False
whole bear
#

are we sharing our solutions? or just wait for linuxh4xor to finish ?

rugged root
#

Nah, you're fine

#

He's focusing on the problem

whole bear
molten pewter
#

"wasted computing"

rugged root
#

Why did the conversation of wasted computing come up?

#

@graceful grail Do you mean this one?

wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

001 | False False
002 | True True
003 | True True
004 | False False
005 | False False
006 | False False
signal sand
#

search for first space index and return the slice till that space

#

@graceful grail

velvet urchin
#

<3 else

sweet lodge
#

@rugged root - How goes that data recovery?

rugged root
#

@graceful grail Using the str.strip() could help

#

Well actually hold on

#

That'd only do white space

#

Ignore me

sweet lodge
#

Sounds like a job for regex

rugged root
#

It's still trying to repair. I'm going to leave it over night

rugged root
#

I might try that in a bit when I finish my time sheets

sweet lodge
#

Looks like it is possible to access BitLocker from Linux, if you're willing to mess with it

rugged root
#

I don't think the repair is going to make any progress

sweet lodge
#

Ship it to me

rugged root
#

Can't

sweet lodge
#

I'll fix it for you

rugged root
#

Client info

sweet lodge
#

Fair

rugged root
#

Rather not have to write up an NDA

sweet lodge
#

Sounds like less work than trying to save Windows

#

When Windows decides it doesn't want to work anymore, it's arguably worse than printers

rugged root
#

I mean it's not even a problem with windows

#

It's a copied dying drive

#

Who knows if I I can salvage any of it

sweet lodge
#

It's booting to Windows

#

So at least some of it still exists

#

Oh, by the way

rugged root
#

True, it did try and did see that

sweet lodge
#

You cursed me

rugged root
#

Oh?

sweet lodge
#

I had a hard drive fail yesterday afternoon

signal sand
#

def firstword(s):
start = None
started: bool = False
for i, val in enumerate(s):
print(i)
if started:
if val == " ":
return s[start: i]
else:
if val.isalpha():
start = i
started = True

s = "first word "
print(firstword(s))

rugged root
#

#sorrynotsorry

#

What was the drive on?

sweet lodge
#

A users computer

signal sand
#

@graceful grail

rugged root
#

Yeesh

#

Were they properly backing stuff up?

graceful grail
#

@signal sand ?

sweet lodge
rugged root
#

Sick

sweet lodge
#

Do you not?

molten pewter
#

mamorazation?

quasi condor
#

memoization

pallid hazel
#

do you do the dew

molten pewter
#

memrise

sweet lodge
#

In computing, memoization or memoisation is an optimization technique used primarily to speed up computer programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again. Memoization has also been used in other contexts (and for purposes other than speed gains), such as in simple mutu...

rugged root
#

No, not currently. Most of the time, if we need something guaranteed to be backed up, we tell our folks to put things on the server

#

And they're good about it. The only reason I'm trying to recover this particular drive is so that this guy doesn't lose a day's worth of audit

#

Everything else is fine

#

So it's more a matter of pride to see if I can get it

sweet lodge
#

Rust

pallid hazel
#

you dont want to know my backup structure.. but lets say it involves 2 clouds, 1 nas, and independent local drives

sweet lodge
pallid hazel
#

whats wrong with the drive?

sweet lodge
#

On a more serious note -

rugged root
#

Wouldn't have saved this one, I don't think

#

But I'm not sure

#

Sometimes they aren't connected to the net when they're at a client's

sweet lodge
#

Why not? It automatically backups [Desktop,Documents,Pictures]

#

Oh

#

Welp

signal sand
#

Count the # of days from the date 00-00-0000... substract... convert back @graceful grail

sweet lodge
#

Whine

alpine path
#
>>> "   ".split()
[]  
>>> "   ".split(' ') 
['', '', '', '']
>>> "Hello  World ".split(' ') 
['Hello', '', 'World', '']


sweet lodge
#

!docs str.split

wise cargoBOT
#

str.split(sep=None, maxsplit=- 1)```
Return a list of the words in the string, using *sep* as the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, the list will have at most `maxsplit+1` elements). If *maxsplit* is not specified or `-1`, then there is no limit on the number of splits (all possible splits are made).

If *sep* is given, consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, `'1,,2'.split(',')` returns `['1', '', '2']`). The *sep* argument may consist of multiple characters (for example, `'1<>2<>3'.split('<>')` returns `['1', '2', '3']`). Splitting an empty string with a specified separator returns `['']`.

For example:
sweet lodge
#

!eval print(" ".split(' '))

wise cargoBOT
#

@sweet lodge :white_check_mark: Your eval job has completed with return code 0.

['', '', '', '']
velvet urchin
#

!e print("Word second test".split(" "))

wise cargoBOT
#

@velvet urchin :white_check_mark: Your eval job has completed with return code 0.

['Word', 'second', 'test']
sweet lodge
#

Huh, interesting, I thought " " was the default seperator

rugged root
#

It is, isn't it?

#

!e

spam = "abcd".split()
ham = "a b c d".split()
print(spam)
print(ham)
wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

001 | ['abcd']
002 | ['a', 'b', 'c', 'd']
alpine path
#

@dire folio Can you temporarily Kick @rugged root For data security

molten pewter
#

@rugged root you're not muted

velvet urchin
#

true

rugged root
#

Sorry sorry sorry

alpine path
#

Aha

rugged root
#

Sorry

rugged root
#

Shows how swamped I am that I didn't even think about it

quasi condor
#

My solutions earlier were O(NK). I shouldn't have focused on the fact that k was fixed to 3 in the question itself.

velvet urchin
#

[ a , b, c, d, nothing, nothing, nothing ]

#

[ a , b, d, , nothing, nothing, nothing ]
[ a , b, d, nothing, , nothing, nothing ]
[ a , b, d, nothing, nothing, , nothing ]
[ a , b, d, nothing, nothing, nothing, nothing ]

signal sand
#

Shift everything to left...

#

left*

velvet urchin
#

int[]

rugged root
#

Man I'm legit really embarrassed

dusk quarry
#

In this situation a= who is equal to?

dusk quarry
sweet lodge
dusk quarry
#

Ok

sweet lodge
#

I gave y'all my work phone and email just a couple weeks ago

dusk quarry
#

I understand

lyric pawn
#

you recruited me @rugged tundra so yes...

graceful grail
#

!stream 189200135278952450 forever

#

๐Ÿ˜„

dusk quarry
#

How can i do an application which to store my mail account for example?

velvet urchin
#

!vote-stream 189200135278952450 forever

graceful grail
#

lol

lyric pawn
#

@graceful grail ๐Ÿคฃ

#

๐Ÿ˜†

#

@graceful grail is so funny

graceful grail
#

!user @graceful grail

wise cargoBOT
#

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

lyric pawn
#

๐Ÿ˜†

dull edge
#

has crypto a use beyond representing value?

lyric pawn
#

@velvet urchin whats the federation system?

#

can you link what you're referring too?

#

@velvet urchin i would love to see this web page

dull edge
stuck furnace
#

That's some serious scrolling.

velvet urchin
lyric pawn
#

monero is private

quasi condor
velvet urchin
stuck furnace
#

Is it an Apple laptop?

amber raptor
#

What is a processor?

stuck furnace
#

Only one core? ๐Ÿค”

amber raptor
#

Is related to modem

quasi condor
#

what is a laptop?

stuck furnace
#

What is life?

stuck furnace
#

Unlimited ๐Ÿ‘€

#

Just take every day off ๐Ÿ˜„

#

@velvet urchin background noise

#

Is that a cow bell? ๐Ÿค”

#

Are you in the Swiss alps?

velvet urchin
#

Yeah I am milking a cow rn ๐Ÿ˜„

stuck furnace
#

Ah right fair enough ๐Ÿคทโ€โ™‚๏ธ

velvet urchin
#

straight to the coffee ๐Ÿ˜„

dull edge
#

"milking"

stuck furnace
#

How flexible are employers with respect to unpaid time off?

rugged root
#

Depends on if they do gymnastics

lyric pawn
#

@midnight agate ๐Ÿ˜†

#

@midnight agate victors english isnt that good

humble jacinth
#

can I speak?

#

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

humble jacinth
#

Thanks @midnight agate

broken kestrel
#

Yo

wise cargoBOT
#

Voice verification

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

regal bolt
#

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

whole bear
#

!voice

quasi condor
#

@broken kestrel ask your question in text

#

for the best result

glass plinth
#

hola

quasi condor
#

that wasn't an invitation for you to DM me

#

you should ask it here

glass plinth
#

help me

#

plz

quasi condor
#

you have a typo.

glass plinth
#

ya

#

=

#

pip if you could help

dense ibex
#

@terse needle

stuck furnace
#

Heard my name ๐Ÿ‘€

#

Oh wrong channel sorry.

terse needle
#

yeah get out of here

stuck furnace
#

:C

terse needle
#

your not welcome around these parts /s

dense ibex
terse needle
#

perfection

somber heath
#

The Vietnam war was between the United States and America???

#

Are you sure you're not referring to more modern conflicts?

keen sky
#

anyone wanna help me with java?

whole bear
#

im not good with that sorry

somber heath
#

"Children are starving in Africa, therefore, any argument against anything else is invalid."

whole bear
#

^^

#

dude is acting like a child

somber heath
#

Not my implication.

whole bear
#

it doesn't affect ur daily life therefore u shouldnt care

#

SAME

#

i agree with him but disagree

#

@molten pewter ^^

somber heath
#

Post code.

#

Post tracebacks.

#

๐Ÿ“ฌ

whole bear
somber heath
#

"Oh, you have trauma? You're just being irrational."

whole bear
#

fr lmao @somber heath

quasi condor
#

maybe there is no distinction and I'm just projecting my world view outwards

pallid hazel
#

i cant tell if this working or not..

#

sec

somber heath
#

Based on what I saw, it looked alright, though you could do away with creating the function and the call of it in favour of just having the slice notation.

#

Fewer characters, at the least.

pallid hazel
#

:(

#

!e
def reversed_string(a_string):
return a_string[::-1]
print(reversed_string('aibohphobiaโ€Š'))

wise cargoBOT
#

@pallid hazel :white_check_mark: Your eval job has completed with return code 0.

โ€Šaibohphobia
somber heath
#

@devout heath I think your question would be better framed as "Can I integrate Python into this particular job?"

devout heath
#

heh, probably

#

just quit a SWE job though

#

have to get my fix

somber heath
#

Sales associate in Dollar General? I mean, I'm not an expert, but I'm going to make a rough guess and say probably not.

deep wave
#

Sales associate as like a cashier in store?

devout heath
#

i dunno, there's probably a scheduler algo the manager would appreciate

somber heath
#

Even if you could, it wouldn't be in your job description.

devout heath
#

yes lowest of lowly jobs

#

fuck job descriptions, I'm doing this for my tiny little town

somber heath
#

I mean to imply that you should be getting paid for the job you're doing.

#

If you're doing work above and beyond what you're actually employed for, you're devaluing yourself.

devout heath
#

entirely true, but I don't want to jump through shitty hoops to prove to a bad hiring manager that I'm a competent programmer

#

was massively undervalued at SWE job, couldn't shake the guilt of not getting things done when I got home at night

somber heath
#

More the point, if you can do a thing, you should be getting paid a sensible amount for doing that thing.

devout heath
#

I've lost faith in our economy's ability to value me

somber heath
#

I'd say databasing would make the most sense for a store. Stock management and so on.

devout heath
#

that's already well in place

somber heath
#

Yeah.

devout heath
#

I think the human management side of things is mostly open

somber heath
#

There is also the issue of over-automation.

devout heath
#

delineate?

somber heath
#

The introduction of computers into a problem that doesn't really require them can cause more problems than they solve.

deep wave
#

I can't talk in vc yet ๐Ÿ˜ฆ

devout heath
#

we're reading though

somber heath
#

I'm afraid it doesn't ring a bell.

#

If you point up, you're pointing to the void.

#

GO was invented in China more than 2,500 years ago, according to Wikipedia.

#

Yes yes, I know.

#

I'm just having fun.

#

Use of the right framework for the right conversion.

#

I've heard good things said about Pendulum for horological stuff in Python.

#

Then call it a module.

#

import antigravity

#

Watches.

#

Time.

#

Clocks.

#

It's standard library.

#

import this

#

I've seen posts about that.

deep wave
#

i saw the memes

#

๐Ÿคฃ

#

I hate the keyword stuff, people use javascript once and now you are an expert at 3+ frameworks for the last 5 years

#

here is one from my linkedin

#
amazon.jobs

This is a Software Developer role at Amazon Pharmacy.Amazon Pharmacy is a full service online pharmacy that sorts medication by the dose and provides convenient multi-dose packets, vials, and bulk medications to a patient's door. We believe in the best possible pharmacy experience for our customers. Our custom software powers our many clinical a...

#

we'll test in production ๐Ÿคฃ

glass plinth
#

matlolib

#

error

#

anyone help mehhh

past elk
#

its matplotlib not what you had

glass plinth
#

@somber heath

#

matplotlib

#

k

#

thzzz

#

i did matploltlib

#

too

somber heath
#

I'm on Linux. Proper installation patterns differ.

glass plinth
#

i rember

#

oh

#

k

somber heath
#

Also, I'm pretty sure the way I install things is frowned upon.

glass plinth
#

im trying to do this

#

red to hex

#

blue to hex

#

without if

somber heath
#

Hm. Okay.

#

I think there might be some colour conversions in a module in the standard library.

#

Let's see.

past elk
#

color* ๐Ÿ™‚

glass plinth
#

hmmm

#

im using for this

somber heath
#

I'm Australian.

#

Deal with it. ๐Ÿ˜‰

glass plinth
#

@bot.command(name="say2",description="Make me say whatever you want, but cooler ๐Ÿ˜Ž .")
async def repeat_message(ctx,colortochose,*,entire_msg):
if colortochose == "green":
colortochose = 0x00ff00
elif colortochose == "cyan":
colortochose = 0x00ffff
elif colortochose == "red":
colortochose = 0xff0000
elif colortochose == "blue":
colortochose = 0x0000ff
elif colortochose.startswith("0x"):
colortochose = int(colortochose, 16)
else: colortochose = int(colortochose,16)
await ctx.message.delete()
userList = str(ctx.author).rpartition("#")
username = userList[0]
embedinglol = discord.Embed(title=f"By {username}",description=entire_msg,color=colortochose)
embedinglol.set_footer(text="Requested by" +str(ctx.message.author))
await ctx.send(embed = embedinglol)

#
@bot.command(name="say2",description="Make me say whatever you want, but cooler :sunglasses: .")
async def repeat_message(ctx,colortochose,*,entire_msg):
    if colortochose == "green":
        colortochose = 0x00ff00
    elif colortochose == "cyan":
        colortochose = 0x00ffff
    elif colortochose == "red":
        colortochose = 0xff0000
    elif colortochose == "blue":
        colortochose = 0x0000ff
    elif colortochose.startswith("0x"):
        colortochose = int(colortochose, 16)
    else: colortochose = int(colortochose,16)
    await ctx.message.delete()
    userList = str(ctx.author).rpartition("#")
    username = userList[0]
    embedinglol = discord.Embed(title=f"By {username}",description=entire_msg,color=colortochose)
    embedinglol.set_footer(text="Requested by" +str(ctx.message.author))
    await ctx.send(embed = embedinglol)
somber heath
#

Ah, okay, so it's just colourspace conversions.

#

I was thinking of colorsys.

past elk
#

see, no u (:

glass plinth
somber heath
#

Yeah. That's the module name. It would be incorrect with the u.

glass plinth
#

no moudle

#

it downloaded but no moudle

past elk
#

everything is incorrect with the u

somber heath
#

@glass plinthOkay, so, forgetting about all your code for a moment.

glass plinth
#

work

#

nvm

somber heath
#

Oh. Okay.

glass plinth
#

lets goo

#

i downloaded the moudle with python

#

and tested with py

#

lol

somber heath
#

Australian English is hardly the Queen's English.

#

What's an accent but the way someone else talks?

#

We all have accents.

glass plinth
#

hey wanna join my server

#

im testing my bot

#

@somber heath

#

yoo

#

how to quit the program

somber heath
#

Pass. ๐Ÿ™‚

glass plinth
#

with python

#

with py its ctrl c

#

right

#

with python?

somber heath
#

Are you looking to exit the execution of your Python script through use of code?

glass plinth
#

nvm it works now

#

yes

#

noo

#

nvm it works

somber heath
#

sys.exit()

glass plinth
#

using cmd it dint work

#

for 2 mins

#

now it works

#

k

#

anythx

#

and @somber heath

somber heath
#

Not really.

glass plinth
#

i have on command

#

but

#

on i should acess it

#

is it possible

#

shutdown

#

is the name

somber heath
#

Could you please rephrase your question?

glass plinth
#

umm

#

shutdown

#

is a command which makes the bot down

#

soo if anyone access it

#

its a problem

#

but the owner

#

that is me

#

should be able to access

#

it

somber heath
#

At present, I'm choosing to avoid talking.

deep wave
#

we can't talk until we meet the requirements ๐Ÿ˜ฆ

#

i just need the 50 messages now

somber heath
#

I believe there is an argument you can give to a decorator of your shutdown command.

glass plinth
#
@bot.command()
@commands.has_permission
async def shutdown(ctx):
  await ctx.send("bye")
  sys.exit()
somber heath
#

I only have a vague recollection of what I'm talking about however.

glass plinth
#

!e

a = "1Hello"
print(a[1:])
#

oh

somber heath
wise cargoBOT
#

@glass plinth :white_check_mark: Your eval job has completed with return code 0.

Hello
glass plinth
#

done

#

k

#

np

deep wave
#

is that really above mcdonalds?

#

at least you get a free meal each day

somber heath
#

!e py from __future__ import braces @devout heath

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 | SyntaxError: not a chance
deep wave
#

any perks?

#

what did you sell on facebook?

#

๐Ÿคฃ

somber heath
#

Souls.

#

Specifically your own.

#

Because Facebook.

deep wave
#

bruh, i spent one month last year selling printers on facebook, ebay, and offerup ๐Ÿคฃ

glass plinth
#

finally

somber heath
#

Streaming on Python Discord: Streaming permissions are granted on a temporary and discretionary basis by moderators and above. When requesting permissions, bear in mind you are asking them to stick around to monitor the stream. Avoid asking through ModMail. It is often advantageous to wait for someone who can grant you the privileges to be already present in voice chat before asking. Streaming of games and the like may take place over the weekend, as opposed to weekdays, where more technical subjects are preferred. Bear in mind that DMs are a viable alternative to public streaming.

glass plinth
#

color name to hex

#

then to rgb

#

now i have one problem

#
embedinglol = discord.Embed(title=f"By {username}",description=entire_msg,color=discord.Color.from_rgb(colorRGB))  
    embedinglol.set_footer(text="Requested by" +str(ctx.message.author))
#

discord.Color.from_rgb(000,000,000)

#

wait

#

@somber heath

#

yo small help

#

!e

    colors = matplotlib.colors.cnames["blue"]
    color = colors[1:]

    colorRGB = ImageColor.getcolor(colors, "RGB")
wise cargoBOT
#

@glass plinth :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'matplotlib' is not defined
glass plinth
#

!e
pip install matplotlib

wise cargoBOT
#

@glass plinth :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     pip install matplotlib
003 |         ^^^^^^^
004 | SyntaxError: invalid syntax
glass plinth
#

i need help

somber heath
#

Whatever else you're doing, the core of the conversion can be taken care of just using Python's builtins.

glass plinth
#

discord.Color.from_rgb

#

i need rgb

#

@somber heath

#

simple

#

question

#

i have a varibale

#

color = (255,255,255)

#

i need a array

#

colors = [255,255,255]

#

how

somber heath
#

Cast it to list.

glass plinth
#

howww

#

im a noob

past elk
#

list(x)

glass plinth
#

k

somber heath
#

!e py color = 255, 255, 255 colors = list(color) print(colors)

wise cargoBOT
#

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

[255, 255, 255]
glass plinth
#

no

#

!e

color = (255,255,255)
collors = list(color)
print(collors)
#

see

#

k

wise cargoBOT
#

@glass plinth :white_check_mark: Your eval job has completed with return code 0.

[255, 255, 255]
glass plinth
#

ok

#

thz

#

@somber heath

#

plzzzz join my server

somber heath
#

No. ๐Ÿ™‚

glass plinth
#

i can show error there

#

plzz

somber heath
#

I'm still a little uncertain as to what, precisely, you're intending. You've discussed about colour conversions, but I've had difficulty understanding the specifics.

glass plinth
#

im sooooo dumb

#

colors = matplotlib.colors.cnames[colortochose]

somber heath
#

You did say something about hex to rgb, and rgb to hex.

glass plinth
#

i dint write this

#

i wrote

#

colors = matplotlib.colors.cnames["blue"]

past elk
glass plinth
#

thats why it dint work

#

lollll

somber heath
#

Are you only using matplotlib for the colour names?

glass plinth
#

what

#

whatttt

#

2 answers

#

now 3 answer

past elk
#

it just adds to the last on discord

#

they are still seperate messages

#

just formated to look neater

glass plinth
#
class Deleted_Message(commands.Cog):
    def init(self, bot):
        self.bot = bot
    @commands.Cog.listener()
    async def on_message_delete(self, message):
        print(f"{message.author} deleted {message.content}")
        self.message = message
        userList = str(message.author).rpartition("#")
        self.username = userList[0]
    @commands.command()
    async def lastmsg(self, ctx):
        embed = discord.Embed(title=f"By {self.username}", description = self.message.content)
        await ctx.send(embed = embed)


def Deleted_Message_Setup(bot):
    bot.add_cog(Deleted_Message(bot))

Deleted_Message_Setup(bot)

@bot.event
async def on_ready():
    print("Bot is ready")
@bot.command()
async def kick(ctx,member: discord.Member,reason = "No Reason Given"):
    await member.kick(reason = reason)
    await member.send(f"You have been kicked from {str(ctx.guild.name)}. Because: {reason}")

@bot.command()
@commands.has_permissions(manage_messages = True)
async def clear(ctx , amount=10):
    await ctx.channel.purge(limit = amount)
    await ctx.send(f"{amount} messages cleared")


@bot.event
async def clear_error(ctx, error):
    if isinstance(error, commands.MissingPermissions):
        await ctx.send("**You are missing the required permissions to run this command!**")

@bot.command(name="say2",description="Make me say whatever you want, but cooler :sunglasses: .")
async def say(ctx,colortochose,*,entire_msg):

    colors = matplotlib.colors.cnames[colortochose]
    color = colors[1:]

    colorRGB = ImageColor.getcolor(colors, "RGB")
    colorsRGB = list(colorRGB)
    print(colorsRGB)
    
    await ctx.message.delete()
    userList = str(ctx.author).rpartition("#")
    username = userList[0]
    embedinglol = discord.Embed(title=f"By {username}",description=entire_msg,color=discord.Color.from_rgb(colorsRGB[0],colorsRGB[1],colorsRGB[2]))  
    embedinglol.set_footer(text="Requested by" +str(ctx.message.author))
#

does this look neat

past elk
#

dont worry about that right now

glass plinth
#

k

#

what should i do next

past elk
#

up to you

glass plinth
#

i have these commands

#

with kick it kicks users

#

but no dm sent

#

to the

#

m

past elk
#

dms can only be sent to people in the guild(i.e. server)

glass plinth
#

ohh

past elk
#

i think

glass plinth
#

but i the tut

#

it sent

#

wait

#

i kicked

past elk
#

dont quote me on that

glass plinth
#

then sent

#

k

somber heath
glass plinth
#

i kicked them

#

and then sent the dm

#

@past elk

#

last help

#

@bot.event
async def clear_error(ctx, error):
if isinstance(error, commands.MissingPermissions):
await ctx.send("You are missing the required permissions to run this command!")

#

it dosent print

#
@bot.event
async def clear_error(ctx, error):
    if isinstance(error, commands.MissingPermissions):
        await ctx.send("**You are missing the required permissions to run this command!**")
#

it dosent tell

#

if someone tries

#

clear

#

it should send this

#

but it wont

#

but the messages wont clear

#

so permission works

#

only error dosent

past elk
#

if the permission works, why would the error need to print?

glass plinth
#

permission

#

see

#

my friend

#

cannot manage messages

#

he tried >clear

#

it wont

#

work

#

because he cant

#

for me the owener it works

#

but when my friend tries

past elk
#

oh, did you add a role requirement for it or something?

glass plinth
#

the error wont be sent

#

no

#

manage_message = True

past elk
#

this isnt my area of programming, i recomend going to the discord.py discord server

whole bear
#

ah yes the requests library haven't heard of that in a while

warm vapor
#

Hello guys what are you doing

fresh smelt
#

Hello everyone.. Can somebody help me with writing a txt file in Python?

#

Based on the file correlations.xlsx, create and share a Python script where we can extract the contents of columns B and F and write it to a txt file
The .txt file must have unique entries avoiding duplicate lines.
Wrong:
cdn2.fyre19.xyz, content
cdn2.fyre19.xyz, content
cdn2.fyre19.xyz, update
...
Correct:
cdn2.fyre19.xyz, content
cdn2.fyre19.xyz, update
...

wise cargoBOT
fresh smelt
whole bear
woeful salmon
woeful salmon
#

i found a nice tongue twister
she sells bash shells on the C xor

pallid hazel
#

are the jobs your looking at have excess in pay, or meet your requirements?

gritty heart
#

new here

sturdy panther
#

Morning! Trying to relearn C++ today.

woeful salmon
#

@strong arch svelte is still relatively reactive

#

but without a virtual dom ๐Ÿ™‚

sturdy panther
#

(Can't talk right now.)

woeful salmon
#

for performance

warm vapor
#

lemme open chrome then

woeful salmon
#

@strong arch the reason i was talking about svelte was because you suggested him to just get a web dev job and then he talked about react followed by the performance talk xD
i didn't realize we went back to mobiles

warm vapor
#

templates, db = django?

warm vapor
#

postgresql has a document?

#

lmao

#

ok gtg bye

sturdy panther
#

Suffering through the mess that is C++.

woeful salmon
# sturdy panther Suffering through the mess that is C++.

ah i feel your pain there :x been working with both c , cpp and even rust this month and C is definitely the simplest and understandable followed by rust which is safer but feels a little overcomplicated followed by cpp which is both really overcomplicated and unsafe compared to rust

glass plinth
#
@client.command()
async def rob(ctx, member: discord.Member):
    await open_account(ctx.author)

    user = ctx.author

    users = await get_bank_data()
    
    steal = random.randrange[users[str(user.id)]["Wallet"] , user[str(member.id)]]["Wallet"]
    
    if users[str(user.id)]["Wallet"] > 500:
        await ctx.send("Dude! You need atleat 500 to steal from someone!")

    elif steal == 0:
        await ctx.send("Better Luck Next Time")

    elif steal > 0:
        await ctx.send("Sucess")
    else:
        await ctx.send("Fail")
#

plzzzz helo me

#

voice

#

@woeful salmon

#

hello?

#

anyone there

gentle flint
glass plinth
#

i did it in a rush

#

then i changed it

sturdy panther
whole bear
#

(ASCII NUL, \0)

whole bear
#

heyy!!

#

maroloccio, what does that mean

#

oo

#

working on something new?

somber heath
#

I've accomplished...existence?

wise cargoBOT
#

Voice verification

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

whole bear
molten pewter
#

should be starting at 9:20

#

they are currently tuning up

#

fair question, I will drive if Charlie sticks around.

quasi condor
#

don't do it on my account - it was only a suggestion

#

if you feel you learn better listening to Marco, that's fair enough and you should carry on doing that

quasi pivot
#

um

#

print( "thank you for your time", myCompanyName + ".", "you will need", Patients/20 + ".")

#

what did i do wrong here?

#

myCompanyName = input("Hello. What is your the of your company name?: ")

Patients = input("Thank you " + myCompanyName+ ". "+ ":How many patients have you been getting. ")

print( "thank you for your time", myCompanyName + ".", "you will need", Patients/20 + ".")
print( "Goodbye.")

#

how do i this

#

?

#

oh

#

thanks youuuu sooo muchhhhh

whole bear
#

hi i cannot chat in voice channel i just joined and upon sending my message in #voice-verification my message was removed (abuse)

rugged root
#

Did you send the verify command that's in that channel?

woeful salmon
#

@rugged root ๐Ÿ‘‹ i'm only in vc earlier in the day these days so haven't seen you in a bit xD

rugged root
#

You should have gotten a DM detailing the requirements you still haven't met

#

@woeful salmon Yeah! It's great to see you!

whole bear
woeful salmon
rugged root
#

HA

woeful salmon
#

except for opal actually :x

whole bear
#

????

#

also, do you guys know what's with discord asking me to do chapcha each time i join a server?

rugged root
#
somber heath
#

"Local UI is dead. Long live web UI"?

rugged root
amber raptor
whole bear
#

i'm still confused as to why i am asked to complete chapcha each time i join any server...

rugged root
#

Yeah that's not an us thing

whole bear
amber raptor
#

No

woeful salmon
#

@gentle flint calculate their age in dog years? xD for example

whole bear
#

weird thing is, this issue only occurs on this accounts and not on any of the other ones i have

molten pewter
#

when does your oreilly subscription end?

#

sounds like a plan

whole bear
#

could it be discord has flagged my account? i also had to verify phone right after i did email verification

rugged root
#

No idea

gentle flint
rugged root
#

Does it happen if you connect via browser?

#

Or just client

quasi condor
#
from dataclasses import dataclass

plane_1 = {
    "lat" : 0.567,
    "lng" : 42.434,
    "bearing" : 45,
}

@dataclass
class Plane:
    lat: float
    lng float
    bearing: float

whole bear
#

the issue comes both of app and web

woeful salmon
#

i was about to type you missed class xD

rugged root
#

Weird

whole bear
#

yeah, i know

rugged root
#

from dataclasses import dataclass

whole bear
#

even on old discord versions it occurs

amber raptor
#

This is account level decision non of us here made

woeful salmon
#

also enums are handy when you wanna give another programmer using your module a limited amount of things they can choose from (they happen to require you to make a class inheriting enum.Enum in python)

from enum import Enum, auto

class Jobs(Enum):
    DOCTOR = auto()
    NURSE = auto()

class Employee:
    def __init__(self, job: Jobs) -> None:
        self.job = job

doctor = Employee(job=Jobs.Doctor)
gentle flint
#

@bleak relic

somber heath
#
from PIL import Image
image = Image.open("file.jpg")
image.save("file.png")``` Done.
#

Pretty sure open and save takes pathlib Paths, too.

#

I could be wrong.

quasi condor
rugged root
#

Dude if he had that kind of power.....

rugged root
#

I'm pretty sure even I would have captchas for days

amber raptor
#

My solution is simple

gentle flint
quasi condor
#

Keynes later commented to Strachey that beauty and intelligence were rarely found in the same person, and that only in Duncan Grant had he found the combination.[169] The union was happy, with biographer Peter Clarke writing that the marriage gave Keynes "a new focus, a new emotional stability and a sheer delight of which he never wearied".[29][170] The couple hoped to have children but this did not happen.[29]

gentle flint
#

The Therac-25 was a computer-controlled radiation therapy machine produced by Atomic Energy of Canada Limited (AECL) in 1982 after the Therac-6 and Therac-20 units (the earlier units had been produced in partnership with Compagnie Gรฉnรฉrale Radiographique (CGR) of France).
It was involved in at least six accidents between 1985 and 1987, in which ...

zenith radish
#

I miss you guys

gentle flint
#

hi lp

rugged root
gentle flint
#

without support it would be this:

rugged root
#

@proven fox What's the question?

proven fox
#

can u read this?

rugged root
#

6J-27-C-4826?

proven fox
#

i have a guess as to what it should be but double checking

#

yeah ok thnx

rugged root
#

Not sure about the first and the last

gentle flint
somber heath
proven fox
#

adding data labels

gentle flint
#

I think y0nliud was doing something similar a while ago

#

he was in the chat about half an hour ago I think

rugged root
#

Briefly yeah

proven fox
gentle flint
rugged root
#

Kind of looks like Hebrew

#

@gentle flint It's looking more and more like a doily

#

Still really pretty

gentle flint
#

I see what you mean lol

stuck furnace
#

๐Ÿ‘‹

somber heath
#

Compile c, decompile. Innocent coincidence or suspicious conspiracy? You decide!

stuck furnace
gentle flint
stuck furnace
#

Oh

gentle flint
#

lol

stuck furnace
#

Macro? ๐Ÿ‘€

somber heath
#

He pops in.

#

Infrequently.

stuck furnace
#

Yeah he was here quite a lot when you were Charlie.

zenith radish
somber heath
#

"Rot" and "dam". Two words whose shared company bears ill portent.

stuck furnace
#

Also "terd"

somber heath
#

Colourful drinks with paper umbrellas, yes.

stuck furnace
#

I guess there are variances introduced by the mechanical parts? pithink

gentle flint
whole bear
#

thats not a Nazi salute lmao

#

ur taking that outta contexts

uncut meteor
#

@proven fox i mean, you're saying that things that can be reinstalled is more important than data that is specific and cannot just be installed from the internet

whole bear
#

that like takingn this video out of context and saying his acting like a child

#

but hes asking where is am i, to understand where he needs to stand for the cam..... as u can see there no x mark on the floor or anything

#

ur taking a video to bend into another reality to hurt someone image to support ur belief

#

that causes ALOT!! of misinformation. but that the new media of today taking things out of context

#

anyways yall are lowkey closed minded no need to type anymore lol laters

vivid palm
#

@gentle flint heyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy don't wanna be a bummer but can you end your stream? discord doesn't let me hide it and it's always blocking part of my view

quasi condor
#

@vivid palm you can disable it by right clicking on oof and clicking disable video, then dcing and rcing will get rid of the box

vivid palm
#

OH yes forgot

#

ty

#

carry on

stuck furnace
#

Gree

#

your volume is low

quasi condor
gentle flint
vivid palm
#

oo

stuck furnace
#

Oh, it's smaller than I thought.

#

Anyone else getting intermittent robot voices? ๐Ÿ‘€

rugged root
#

Not I

vivid palm
#

๐Ÿฅ

stuck furnace
#

Don't think Mina had joined the server by that point ๐Ÿค”

stuck furnace
#

September 2020 I think?

vivid palm
stuck furnace
quasi condor
#

unctuous

vivid palm
#

baie

quasi condor
#

Unctuous

  1. excessively flattering or ingratiating; oily.
  2. (chiefly of minerals) having a greasy or soapy feel.
uncut meteor
#

MinaBacca

vivid palm
rugged root
#

@hollow cape Since it seems it's time to get talked over...

#

How you be

vivid palm
hollow cape
stuck furnace
#

Garlic butter instead of blood.

gentle flint
#

@quasi condor how about oleaginous

quasi condor
gentle flint
#

not to be confused with onctuous

vivid palm
gentle flint
uncut meteor
stuck furnace
#

Accurate description of my life lemon_pensive

vivid palm
#

lmao guys

rugged root
sweet lodge
#

never

vivid palm
#

someone said that

#

apparently to run docker w/o admin perms

#

you have to be on windows professional?

#

anyone know?

sweet lodge
vivid palm
#

oh nice

rugged root
#

Interesting

#

Odd work around

vivid palm
sweet lodge
#

Looks like you can use PowerShell if you don't have Pro

azure surge
#

Pygame is cool

#

๐Ÿคจ

rugged root
#

Is... that a statement or a question?

azure surge
#

This is a statement

rugged root
#

Righto

terse needle
#

time to lex functions in my programming language ๐Ÿ˜ญ

sweet lodge
# rugged root Odd work around

It's just like how most (all?) GPOs set registry keys.
The "Group Policy Editor" is only included in Pro, (and above) but "Registry Editor" is always included, and you can use it to set the registry keys manually

#

You don't have to have WSL

#

You can run Docker on Windows

abstract cosmos
proven fox
abstract cosmos
#

I ended up buying Pro tho

vivid palm
#

oh lol

quasi condor
proven fox
terse needle
sweet lodge
#

What caused all the scammers to move to SharePoint?

vivid palm
#

unhappy white female wtf lmao

terse needle
#

the random capitals really annoy me

sweet lodge
#

Different audiences

gentle flint
sweet lodge
#

I love config files

#

Can't CTRL+F to find a specific setting in a GUI

#

It also keeps everything consistent
Everything from local settings to server settings to Kubernetes manifests are all just config files

#

Add it to your .bash_profile?

proven fox
sweet lodge
#

@rugged root - By the way - how goes the drive recovery?

#

You install Docker, and you can run any container you want

#

Can also use KDE in Arch BTW

#

It's not that hard to change DEs

#

Most login managers have a dropdown to select a DE on the login screen

sweet lodge
#

pandas.read_json

rugged root
#

@sweet lodge Managed to get it using my Manjaro stick

honest pier
#

!d pandas.read_json

wise cargoBOT
#
pandas.read_json(path_or_buf=None, orient=None, typ='frame', dtype=None, convert_axes=None, convert_dates=True, keep_default_dates=True, numpy=False, precise_float=False, ...)```
Convert a JSON string to pandas object.
sweet lodge
rugged root
#

Essentially none

#

Just grabbed a utility, typed in the encryption code, bam

#

In

sweet lodge
#

Nice

rugged root
#

I should have started with this, honestly

#

Feel dumb

sweet lodge
#

Where did you end up copying the data to?

rugged root
#

Thumb drive and then to the network drive for him

sweet lodge
#

Nice nice

stuck furnace
#

There are actually special separator characters in ASCII, but no one uses them.

sweet lodge
#

escape

sweet lodge
# rugged root I should have started with this, honestly

Keep that USB around - They're really useful

I keep an Arch live USB around, and I've used to run everything from data recovery to memory tests to a temporary server
Only weird thing is you have no persistent storage because you're just booting to a live environment

#

Who uses Word to store data?

#

Real programmers use PhotoShop

rugged root
#

Get out as well

#

Discord server database

sweet lodge
#

cc @Alec_

rugged root
#

I'm still sad that it exists

terse needle
#

useful just to chroot in

#

if you fuck shit up

proven fox
#
import pandas as pd

df1 = pd.read_json("abhi_labels.json")
df2 = pd.read_excel("full labels.xlsx")

mergeddf = df1.set_index("filename").combine_first(df2.set_index("filename"))

mergeddf.to_excel("corrected merged.xlsx")
rugged root
#

@placid jackal Although in fairness, if you have a hammer with a handle that is literally rotten through...

placid jackal
#

XD

rugged root
#

But I guess the craftsman can still be blamed for not maintaining his tools

placid jackal
#

then it was stored badly... probably in a box you made with said hammer

rugged root
#

Yeah fair

vivid palm
#

!d pandas.DataFrame.merge

wise cargoBOT
#

DataFrame.merge(right, how='inner', on=None, left_on=None, right_on=None, left_index=False, right_index=False, sort=False, suffixes=('_x', '_y'), copy=True, indicator=False, validate=None)```
Merge DataFrame or named Series objects with a database-style join.

A named Series object is treated as a DataFrame with a single named column.

The join is done on columns or indexes. If joining columns on columns, the DataFrame indexes *will be ignored*. Otherwise if joining indexes on indexes or indexes on a column or columns, the index will be passed on. When performing a cross merge, no column specifications to merge on are allowed.

Warning

If both key columns contain rows where the key is a null value, those rows will be matched against each other. This is different from usual SQL join behaviour and can lead to unexpected results.
sweet lodge
#

@rugged root - Embrace the Kubernetes - no operating systems required

rugged root
#

Dude, I don't even know how to write a docker compose or set up a pipeline

placid jackal
#

discord.py sending multiple file names from a list of strings that are filepaths

rugged root
#

Dafuq?

#

Can you show the code on that?

gentle flint
#

gtg eat

#

cya

placid jackal
#

None of the ways i have tried have workd

placid jackal
terse needle
rugged root
#

HA

#

I need to learn

sweet lodge
#

... Discord emojis are case sensitive?

rugged root
#

Yep

placid jackal
#
    r1 = requests.request('GET', DATA['CardsURL'], json=payload)
    print(r1.content)
    data = json.loads(r1.content)
    print(type(data['cards']))
    cards = str(r1.content).split('[')[1].split(']')[0].replace('"Cards/','').replace('"','.png').split(',')
    files = []
    x =1
    for card in data['cards']:
        files.append({'filename':f'{sys.path[0]}/{card[5:]}', 'content':f'{x}'})
        x+=1
        #files.append('filename':f'{sys.path[0]}/{f[5:]}')
        #files.append(str(f"{sys.path[0]}/{card[5:]}"))
        #files.append(discord.File[filename:f'{sys.path[0]}/{card[5:]}'])
    print(files)
    #for file in files:
    #print(f'#######################{sys.path[0]}')
    #print(os.path.join(sys.path[0], f"{file}"))
        #await ctx.send(file=discord.File(os.path.join(sys.path[0], f"{file}")))
    #await ctx.send(files=files)
    await asyncio.wait([ctx.send(f[f'filename'] for f in data['cards'])])```
#

commented things all failed

rugged root
#

You might need to break out those card splits and print in between to make sure you're getting the results you think you should

#

Also wait

placid jackal
#

the cards list is now unused, found out json was like... a thing

rugged root
#

Why break out the cards and then iterate over the data['cards']

#

Oh gotcha

sweet lodge
#

Why do we only want the filenames?

rugged root
#

Loading the images to use

vivid palm
#

!d pandas.DataFrame.combine_first

wise cargoBOT
#

DataFrame.combine_first(other)```
Update null elements with value in the same location in other.

Combine two DataFrame objects by filling null values in one DataFrame with non-null values from other DataFrame. The row and column indexes of the resulting DataFrame will be the union of the two.
placid jackal
#

grabbing them from a list of file locations that changes daily via r1

sweet lodge
#

Oh - ctx.send sends the file contents, not just the filename as a string?

#

Got it

proven fox
#

mergeddf = df1.set_index("filename").combine_first(df2.set_index("filename"))

molten pewter
rugged root
#

Oh dude that's dope looking

sweet lodge
#

No

#

I was just asking how it worked

#

My brother got this Monday off
He also gets next Monday and Tuesday off

#

I took the bus in high school

#

Only if you use Excel online

#

Oh - Google? I'd have to check

whole bear
#

hey

#

everything's such a drag

sweet lodge
#

You have to do that with everything

whole bear
#

the world is so boring

sweet lodge
#

What does your data look like?

#

regex time?

whole bear
#

nobody likes biology

#

today was my biology exam aaaa

#

it was such a drag

molten pewter
#

The normal volume of the stomach fluid is 20 to 100 mL and the pH is acidic (1.5 to 3.5).