#voice-chat-text-0

1 messages Β· Page 974 of 1

cosmic lark
#

Literally made me lmao

stuck furnace
#

Who would want a cold pocket?

#

I should just go to bed πŸ˜„

cosmic lark
stuck furnace
#

Erm, about 23:30

sand lark
#

same here!

stuck furnace
#

I'm in the UK

cosmic lark
sand lark
#

i would usually be asleep but i dont have school this week so

stuck furnace
sand lark
#

yeahhhh its half term currently but i go back monday

cosmic lark
#

Oh gg

#

69

#

69 semesters

#

Ewwww ai

#

Maths

sand lark
#

sorry if i sound dumb for this, i am only just starting compsci but for python do you guys use ides or not??

sand lark
#

what ide would you recommend?

cosmic lark
stuck furnace
sand lark
stuck furnace
cosmic lark
stuck furnace
#

Alternatively, you could use Visual Studio Code, or PyCharm.

cosmic lark
#

I mean literally from scratch with breadboards and stuff

sand lark
#

okay thank you!! ill try

stuck furnace
#

.wa -20C to F

viscid lagoonBOT
stuck furnace
#

.wa 20F to C

viscid lagoonBOT
cosmic lark
#

.wa who is god?

viscid lagoonBOT
cosmic lark
#

GG

sand lark
stuck furnace
#

Wolfram Alpha

cosmic lark
#

It's for wolframalpha

sand lark
#

eh-lee haha

#

yup

cosmic lark
stuck furnace
#

You can use it for calculations and other things.

cosmic lark
#

U banished me from heaven and sent to earth so I could suffer? How cruel

sand lark
#

idk i thought it was funny

cosmic lark
#

.wa 69i + 420j - k

viscid lagoonBOT
stuck furnace
#

Good for doing integrals.

cosmic lark
#

It's a vector but ok

stuck furnace
#

Yep. Although I don't think we get many queries per day πŸ˜„

#

Ah right

#

.source wa

viscid lagoonBOT
#
Command: wolfram

Requests all answers on a single image, sends an image of all related pods.

Source Code
cosmic lark
#

.wa x y ^ 5 z * / 10 +

viscid lagoonBOT
cosmic lark
#

gg

#

It can't convert infix to postfix

stuck furnace
cosmic lark
#

.wa convert infix to postfix : x y ^ 5 z * / 10 +

viscid lagoonBOT
cosmic lark
#

nice

#

It's dumb

stuck furnace
#

Oh, we might have hit the limit πŸ˜„

cosmic lark
#

.wa (+ (* A B) (/ C D) )

viscid lagoonBOT
cosmic lark
#

.wa limit

viscid lagoonBOT
stuck furnace
#

Ah, 2000 API calls per month.

cosmic lark
#

Nope

cosmic lark
#

I mean technically it's posting an image so just get it directly from the web

#

instead of the api

stuck furnace
#

Ahem

#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.

wind raptor
#

Api is king

cosmic lark
#

it doesn't wtf

#

Web is meant to be scraped

stuck furnace
#

Oh, scraping the website instead of using the API.

cosmic lark
#

or things like curl and wget wouldn't exist

stuck furnace
#

Maybe it's ok, I'd need to check their terms Β―_(ツ)_/Β―

cosmic lark
#

Cuz api calls are limited?

stuck furnace
#

Yeah, you get 2000 calls per month from the API for free.

cosmic lark
#

Yep

stuck furnace
#

Erm, Apple I think?

#

Apple uses it for Siri I believe.

#

Yep

cosmic lark
#

Well they have their own language from where they make the main money

stuck furnace
#

Probably their biggest customer.

#

Yep

cosmic lark
#

.wa who is your biggest customer

viscid lagoonBOT
stuck furnace
#

.wa customers of wolfram alpha

viscid lagoonBOT
cosmic lark
#

It's dumb

#

GG

stuck furnace
#

Nah it's just defined the word "customers" πŸ˜„

rugged tundra
#

.wa companies that use wolfram alpha

viscid lagoonBOT
cosmic lark
#

I wouldn't pay for it if I were apple

stuck furnace
#

.wa US state with the most cows per acre

viscid lagoonBOT
stuck furnace
#

:C

rugged tundra
#

.wa companies who use wolfram alpha

viscid lagoonBOT
cosmic lark
#

.wa are you dumb?

viscid lagoonBOT
cosmic lark
#

Yes u are dumb

#

Nice

#

.wa companies supporting wolframalpha

viscid lagoonBOT
cosmic lark
#

Oof

terse needle
#

@cosmic lark there's no way marin isn't best girl of this season

cosmic lark
#

.wa [(6,7,8)(9,8,7),(4,3,2)]^-1

viscid lagoonBOT
rugged tundra
#

.wa who was wolfram

viscid lagoonBOT
sand lark
#

random question; is there an age restriction for this server? because i just realised i am probably way younger than the rest of you, and i don't want anybody to feel uncomfortable with my presence here

cosmic lark
#

.wa who is your creator

viscid lagoonBOT
#

You've used up your limit for Wolfram|Alpha requests.
Cooldown: 23 hours

#
Huh? No.

You are not authorized to use this command.

cosmic lark
#

xDDDDDD

stuck furnace
sand lark
#

oh okay because im 13 😬 should i love?

#

LEAVE

#

i eman leave

cosmic lark
#

Me

#

I mean I have been here since I was 10:/

sand lark
#

thank youu haha

cosmic lark
#

I have Instagram just for stalking and osint

sand lark
cosmic lark
#

Facebook's undocumented api is dumbass and literally gives info without having an account

#

So why have one?

sand lark
#

true

cosmic lark
#

i prevent from having an account on a media if I don't have to absolutely be in it

sand lark
#

i couldnt care less about what companies have my data; it probably should be something i worry about however i dont

cosmic lark
#

I mean ur IP doesn't reveal ur location

#

and they can't get ur mac address

#

So gg

cosmic lark
sand lark
sand lark
cosmic lark
#

prove me wrong

sand lark
stuck furnace
#

Heading off πŸ‘‹

quick rain
#

Password is password on the router btw.

quick rain
cosmic lark
quick rain
#

oh no

cosmic lark
#

well I mean just view source and see what they are doing

#

As easy as that

sand lark
#

2 minutes until the new wordle comes out; the other day i accidentally found the word order for the future's wordle games smh

cosmic lark
#

Cuz u can't deal with frontend without having frontend code

quick rain
#

^^

#

its scary how much they know

wind raptor
sand lark
#

i know everything

cosmic lark
#

Imagine opensourcing ur website

#

Specially if it's a social media

#

Biggest mistake reddit has ever done

sand lark
#

my hobby is looking through websites source code: i rarely find anything much but its fun to try

#

omg new day

cosmic lark
#

Like zap or burp

#

Helps alot understanding what the site is actually doing

sand lark
#

ooh

cosmic lark
#

All i do in day reverse engineering binaries and websites

#

gg

#

And in night i be insomniac and watch anime

sand lark
#

the server icon changed

#

yup prob for valentines

#

haha bhm is still going on (in america)

cosmic lark
#

13 years on this earth and still single in every valentine

sand lark
cosmic lark
#

Oh cyberpunk is in sale nice

cosmic lark
#

@mild quartz are u asian/Indian?

mild quartz
#

no

sand lark
cosmic lark
#

Good for u

mild quartz
#

??

cosmic lark
cosmic lark
sand lark
cosmic lark
#

yeah wait sending

sand lark
#

im going to sleep its 12:08. goodnight!!

cosmic lark
#

Wait

#

Take my address

cosmic lark
#

My address

#

Send

wind raptor
#

G2g cheers

glass plinth
#

yoooooo

#

@somber heath im codingame

#

doing

#

i can hear you

#

so you can talk

#

no need to chat

#

wanna join me

#

codingame

#

yes

#

yesss

#

@somber heath any website to learn intermediate python

somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

glass plinth
#

k

#

@somber heath yo im gonna do a euler formula project

#

that we just learned like 3 months ago

#

F + V = E + 2

#

oiler

#

lol

#

Faces + Vertices = Edge + 2

#

so you can find

#

3d obejct faces

#

or vertices or edges

#

if 2 values are given

#

idk

#

we learnt in 3

#

d

#

brb

#

blank gave answer

#

in lollipop

ember fog
#

what happens in the voice chat

#

all im hearing is dead silence

glass plinth
#

lol

#

lol

fast sparrow
#

Hello there

void sapphire
#

hi

void sapphire
glass plinth
#

ummm

#

k

#

@somber heath

#

yoooo

#

should i tell a joke

#

tommorow i have computers exam

#

python

#

and they tell for loops

waxen canyon
#

hello

#

I know python basics

glass plinth
#

k

#

wanna join

#

me

glass plinth
#

hi

#

no

#

i cant share screen toooo

#

yess

#

0 to 10

#

send the question in chat

#

not properly

#

not clear

woeful salmon
#

he said write the code to print whole numbers from 0 to 10 inclusive

glass plinth
#

for i in range(0,11,1):
print(i)

#

ye

#

eeeeee

#

k

#

easy

#

for i in range(0,11,2):
print(i)

#

done

#

0 to 3

#

ummm

#

k

woeful salmon
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

glass plinth
#

!e

for i in range(0,2,1):
    for i in range(0,4,1):
        print(i)
wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
004 | 3
005 | 0
006 | 1
007 | 2
008 | 3
glass plinth
#

i thought to find a easier way

#

for x in range(0,2,1):
for i in range(0,4,1):
print(i)

#

yaa

#

k

#

should i print ...

#

or no

#

should i print like this

0
 0
 1
 2
0
 1
 2
#

like that

#
print("0")
for i in range(0,3,1):
    print("",i)
#

ohhhh

#

ummmm

#

1 sec

#

done

#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

glass plinth
#

!e

for x in range(0,2,1):
    print(x)
    for i in range(0,4,1):
        print("",i)
wise cargoBOT
#

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

001 | 0
002 |  0
003 |  1
004 |  2
005 |  3
006 | 1
007 |  0
008 |  1
009 |  2
010 |  3
whole bear
#

hlo man @woeful salmon

#

and hi everyone in VC

glass plinth
#

um

#

k

#

ooo

#

no

#

pe

#

?

#

im solving in visual studio code

#

once

#

idk

#

@midnight agate yo idk

#

!e

y = 0
for x in range(0,2,1):
    print(x)
    for i in range(0,4,1):
        print(" " * y,i)
        y += 1
        if i == 3:
            y = 0
whole bear
#

i am not able to get the semantic highilighting for rust even though i hvae enabled the setting for it , rust-analyzer provide that support by default

wise cargoBOT
#

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

001 | 0
002 |  0
003 |   1
004 |    2
005 |     3
006 | 1
007 |  0
008 |   1
009 |    2
010 |     3
glass plinth
#

done

#

k

#

anything else?

#

or should i practice html for exam

#

yo gonna give more

whole bear
glass plinth
#

can anyone teach me intermedite python

#

like more

#

i use only for if while and stuff

#

i wanna learn morrree

stuck sky
#

do anybody have exp in using devposts?

glass plinth
#

@pallid hazel

#

yoooo

#

can you help

#

i wanna learn pycord

#

@woeful salmon

#

@midnight agate

#

little help

#

from any

#

if wanna help join ym server i need to share screen

#

please

#

nooo

#

discord moudle not found

#

that problem

#

pip install discord

#

pip install pycord

#

all done

#

why

#

i will unistall

#

ya

#

0.1.1

#

yee

woeful salmon
#

py -3.10 main.py

glass plinth
#

k

#

k

woeful salmon
#

py -m pip install pycord

glass plinth
#

pip install pycord -3.10

#

like that

#

py -m pip install pycord

#

like that

#

now downloading

#

numpy

#

and stuff

#

let meh check

woeful salmon
#

yeah so your pip refers to your python3.7's pip ig

#

so everything you installed before was installed in python 3.7

glass plinth
#

maybe

#

my pc

#

or cmd

#

yes

woeful salmon
#

py -m pip show pycord

glass plinth
#

2.0.0

#

new one

woeful salmon
#

py -m pip uninstall pycord

#

py -m pip install py-cord

glass plinth
#

done

#

lol

#

πŸ€£πŸ€£πŸ˜‚πŸ˜‚πŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜ΉπŸ˜Ή

#

;p;

#

;-;

#

downloading

#

done

#

k

#

let me check

#

no

#

script is

#

token = "token"

#

yes

#

import token

#

token.token

wise cargoBOT
#

Hey @glass plinth! I noticed you posted a seemingly valid Discord API token in your message and have removed your message. This means that your token has been compromised. Please change your token immediately at: https://discordapp.com/developers/applications/me

Feel free to re-post it with the token removed. If you believe this was a mistake, please let us know!

glass plinth
#
import discord
from discord.commands import slash_command
import token 

client = disocrd.Bot(debug_guilds=[943351565178249216])

@client.event
async def on_ready():
    print("Ready")

@slash_command(description="Say hello")
async def hi(ctx):
    await ctx.respond("Hello! πŸ‘‹")

client.run("OTQzMzUwOTU0NTMz")
#

me aint

#

like this

#

i did

#

dosent work

#

lol

#

same error

#

same

#

damn this tutorial is bad

#

full wrong

#

bot. what

woeful salmon
warm vapor
#

editor?

#

with python?

#

:(

glass plinth
#

??

#

pycord

woeful salmon
#

FFFFFF

glass plinth
#

@woeful salmon tell me later

#

no

#

pycord

woeful salmon
#

!e

def unhex(hex_color: int) -> tuple[int, int, int]:
  r = (hex_color >> (8 * 2)) & 0xFF
  g = (hex_color >> (8 * 1)) & 0xFF
  b = (hex_color >> (8 * 0)) & 0xFF
  return (r, g, b)

print(unhex(0xFF00FF))
glass plinth
wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

(255, 0, 255)
glass plinth
#

error

#

bye

#

im gonna ask pycord

warm vapor
#

whats >> never saw it in python

glass plinth
#

wgere

#

where

#

in some editors you see it

#

print("hello")

#

sometimes it outputs as >>hello

wind raptor
#

@glass plinth I recommend disnake

glass plinth
#

?

#

whatf is that

wind raptor
#

Pycord is not a great fork

glass plinth
#

k

#

how to install it

#

any docs

warm vapor
#

oh congrats πŸ‘€ i didnt see it before

glass plinth
#

to learn it

wind raptor
glass plinth
#

nvm

woeful salmon
#

!e

def unhex(hex_color: int) -> tuple[int, ...]:
  r = (hex_color >> (8 * 3)) & 0xFF
  g = (hex_color >> (8 * 2)) & 0xFF
  b = (hex_color >> (8 * 1)) & 0xFF
  a = (hex_color >> (8 * 0)) & 0xFF
  return (r, g, b, a)

print(unhex(0xFF00FFFF))
glass plinth
#

go it

wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

(255, 0, 255, 255)
woeful salmon
#

xD it also works for rgba

glass plinth
#

col

#

wanna try something

#

@woeful salmon

#

tell done when done

#

k

#

then of number between 1-9

woeful salmon
#

thinkmon try what?

glass plinth
#

this

#

think number between 1-9

#

done?

woeful salmon
#

ye

glass plinth
#

number*2

woeful salmon
#

done

glass plinth
#

then +5

woeful salmon
#

done

glass plinth
#

then *50

woeful salmon
#

i know that trick...

#

but yeah done

glass plinth
#

lol

#

is your bday done

#

in 2022

woeful salmon
#

gone past

#

6 th jan

glass plinth
#

mine 14feb

#

lol

#

k

#

+1771

woeful salmon
#

done

glass plinth
#

-your bday year

woeful salmon
#

done

wind raptor
#

!e

def hex_to_rgb(hex_colour):
    hex_colour = hex_colour.lstrip('#')
    return tuple(int(hex_colour[i:i+2], 16) for i in (0, 2, 4))


print(hex_to_rgb('#FFFFFF'))
wise cargoBOT
#

@wind raptor :white_check_mark: Your eval job has completed with return code 0.

(255, 255, 255)
glass plinth
#

answer

#

plz

woeful salmon
#

122

glass plinth
#

your 22 years

#

noice

#

23

woeful salmon
#

nope

glass plinth
#

no 22

#

23

woeful salmon
#

yep 23

glass plinth
#

years

#

number is 1

#

noicee

#

i use this to find others age if they dont tell me

#

@wind raptor

warm vapor
#

oh

glass plinth
#

some people dont tell

#

thats why

warm vapor
#

i was gonna visit your github ;)

wind raptor
glass plinth
#

python 3.10

#

lol

#

nvm

#

@wind raptor error

#

im on windows 11

warm vapor
glass plinth
#

i like to keep it clean

woeful salmon
glass plinth
#

@woeful salmon wanna test my bot

#

so your life is hard

#

k

#

man

#

@wind raptor it takes years to run disnake

#

@woeful salmon can you identify this language

#

i cant

#

i wanna learn this language

#

i think its c

cobalt arrow
#

Roblox

woeful salmon
warm vapor
#

finally i completed coding

glass plinth
#

@wind raptor yo damn its still compiling

cobalt arrow
#

Im trying to learn

glass plinth
#

ohhh

#

ohh

#

k

cobalt arrow
#

How to make a software

glass plinth
#

i forgot to print if bot starts

cobalt arrow
#

Where u put ur webhook

warm vapor
#

python dont require compiling

cobalt arrow
#

Anyone could help?

glass plinth
#

@wind raptor

#

mport disnake
from disnake.ext import commands

bot = commands.Bot(command_prefix=">", test_guilds=[943351565178249216])

@bot.user_command()
async def avatar(inter, user):
embed = disnake.Embed(title=str(user))
embed.set_image(url=user.display_avatar.url)
await inter.response.send_message(embed=embed)

#

code

#

and error is this

warm vapor
#

Noodle can you show me your cool projects?

glass plinth
#

disnake

#

oh

wind raptor
# glass plinth

Avatar attribute name is different in disnake. You managed to find one of the only tweaks they made to the original

warm vapor
#

anyone know vim?

wind raptor
#

user.display_avatar

#

They dropped the url

warm vapor
#

anyways gtg bye :D

wind raptor
cobalt arrow
#

Anyone how to make this?

glass plinth
#

@wind raptor or @woeful salmon discord.py docs anyone

#

the docs where we can find commands

#

like kick

#

that stuff

wind raptor
somber heath
#

Github needs spork requests.

glass plinth
#

no disnake

wind raptor
#

Google

glass plinth
#

im checkign

#

@wind raptor

#

yo help

#

plz

#

i get id

#

i want name

#

@somber heath

#

yo what about you

#

i wanna g et name

#

instead of id

#

k

#

understood

wind raptor
#

ctx.guild.name is correct

glass plinth
#

@wind raptor check dm

#

i brb

woeful salmon
#

!voice @wise plover

wise cargoBOT
#

Voice verification

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

glass plinth
#

@wind raptor why the f dosent this work in disnake

#

async def on_message_delete(message):
print(f"Message Deleted: {message.content}")

#

nvm

#

works

#

@wind raptor help

#

@bot.event
async def on_message_delete(message):
message = message

#

now i wanna use this message in @bot.command()

#

how

woeful salmon
#

πŸ˜… am i colorblind or are the line numbers not changing to red there

#

@wind raptor

wind raptor
#

You would need a way to store the messages in your bot @glass plinth probably a class variable self.deleted_messages = {} when you initialize in your __init__ of your cog or you can make an attribute directly on your bot when you instantiate it so you can access it anywhere - bot.deleted_messages = {}

#

You could also store them externally in the case that your bot goes down

#

Then database or json would work to store them

glass plinth
#

can you show example

#

with code

#

of cogs

wind raptor
#

I g2g for a bit. Will be back in a bit

glass plinth
#

dm me

#

then

pallid hazel
#

finally, useful python..

#

!e
import random
drink = []
lst = ['vodka', 'whiskey', 'brandy', 'wine']
mix = ['coffee', 'orange juice', 'punch', 'milk']
drink.append( random.choice(lst))
drink.append(random.choice(mix))
print(f'Your drink is made with {drink}')

wise cargoBOT
#

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

Your drink is made with ['brandy', 'punch']
stuck furnace
#

Yeah, depends on what you use it for πŸ€·β€β™‚οΈ

#

Basically, can you get things done.

#

And done well.

hallow coyote
#

Easy, ask them how many Monty Python movies they’ve watched

pallid hazel
#

snakes on a plane 1 and 2

hallow coyote
#

I’d say worry less and code more

glass plinth
#

@wind raptor

#
import disnake
from disnake.ext import commands

bot = commands.Bot(command_prefix=">")

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}")
    @commands.command()
    async def lastmsg(self, ctx):
        await ctx.send(f"{self.message.author} sent {self.message.content}")

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: disnake.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()
async def clear(ctx,*,amount=10):
    await ctx.channel.purge(limit = amount)
    await ctx.send(f"{amount} messages cleared")

@bot.command()
async def ping(ctx):
    await ctx.send(f"Pong! {round(bot.latency * 1000)}ms")
#

the message delete works

stuck furnace
#

Bye Maro πŸ‘€

glass plinth
#

the print

#

but when i do >lastmsg

#

it shows this error

#

help meh

stuck furnace
#

Ah yeah, that's because you haven't yet assigned that attribute.

#

In the lastmsg function, you're accessing the attribute self.message. Is that supposed to refer to the last message deleted?

glass plinth
#

yes

#

sir

#

self.message.content

#

is the message content

stuck furnace
#

Ah right. In the deleted message listener, you need to save the message that was deleted.

#

Otherwise you'll have no way to access it later.

#

Could be as simple as adding ```py
self.message = message

glass plinth
#

k

#

thz

#

dude

stuck furnace
#

πŸ‘

glass plinth
#

@stuck furnace

#

yo dude

#

in here it dosent work

#

it shows error

#

when i do embed

#

last time when i did

#

await ctx.send({self.message.content})

#

it worked

#

not exactly that

#

i added a small sentence

#

was deleted by

#

like that

#

see how to make it work

#

@stuck furnace

#

yooo[ooooooo

#

@stuck furnace nvm

#

works

#

i just want to get the discord username

#

instead of discord username + tag

#

any way

#





Final Question


I want discord username only not username+tag


Is there a way

stuck furnace
#

Sorry @glass plinth I was afk

#

What was the issue in the end?

glass plinth
#

no prob

#

issue is

#

can i get only username

#

like Beast0214

#

instead of tag also

#

Beast0214#1065

#

not like that

#

i mean

stuck furnace
#

Right. I'm not sure if there is a proper way to do it with discord.py, but you could just strip everything to the right of the #?

glass plinth
#

yes

#

how

#

im not too god at python

#

good*

#

somthing like this rirght

stuck furnace
#

One sec.

glass plinth
#

!e

a = "YoMama"
print(a[:-4])
stuck furnace
#

I think str.rpartition will come in handy here.

wise cargoBOT
#

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

Yo
glass plinth
#

works

#

let meh check

stuck furnace
#

Ah yeah, you could also do that, as the discriminator is always 5 chars long πŸ‘

#

Remember to include the #.

glass plinth
#

im checking

#

wanna join my server

stuck furnace
#

Here's how you could use rpartition:

glass plinth
#

dmed

#

oh

#

xDkryc6C

#

if you wanna join

stuck furnace
#

!eval ```py
username_with_discrim = 'LX#4932'
username, _, discrim = username_with_discrim.rpartition('#')
print(username)
print(discrim)

wise cargoBOT
#

@stuck furnace :white_check_mark: Your eval job has completed with return code 0.

001 | LX
002 | 4932
stuck furnace
glass plinth
#

it coms like this

#

@stuck furnace

#

error with rpartition

stuck furnace
#

Sorry, dealing with something rn.

glass plinth
#

np

warm vapor
#

guys can you see his screen share?

frosty star
#

Just saw a video that says nothing rhymes with orange

#

And I’m like

#

Strange rhymes with orange

#

πŸ€”

molten pewter
#

Yes. The video is wrong. There are many things that rhyme with Orange.

glass plinth
#

can yoo guys

#

help me

#

error not coming

molten pewter
#

It also depends on how you pronounce Orange. With a short "i" sound like in Door hinge, or with a short "a" sound in flange.

#

But yes, many examples of rhymes, no matter what ones pronunciation.

pallid hazel
#

i pronounce orange with champange. you may now drink

molten pewter
#

as in pain?

pallid hazel
#

im so sad, I broke my algo and now have to figure it out again

molten pewter
#

sounds like your are in champange.

pallid hazel
#

no, more like squuezing lemon juice in my eyes

molten pewter
#

Or, champagne lemonade.

pallid hazel
#

looks tasty... but my problem is really a time thing, as I do the programming in my spare time.. i understand the code totally when i have time to work on it, but when im getting slammed with work and try to go back to it.. I feel lost at times.. then ofcourse get slammed with work again.. the constant back and forth it killin me

#

well gym time now, get both out of my head for a bit

quasi condor
quasi condor
#

Full rhymes with the whole syllable, not partial rhymes

vital peak
#

I want to learn python can you help me?

wind raptor
#

!resources @vital peak

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

wind raptor
#

Lots of good stuff on there and they just revamped the entire thing

vital peak
#

thanks

somber heath
serene perch
#

hello

somber heath
#

@rugged root Smuggling baggies in baggies.

#

Plastic-sniffing dogs.

#

Plastic raids.

#

"Sir, you've tested positive for microplastics. At this time, I am placing you under arrest under the Plastics Elimination act of two weeks from never."

#

If you eliminated customs, you'd just end up with traditions, anyway.

#

"...Picked up Jack Daniels..."
"Hey, Jack. Going my way?"

rugged root
#

Amazing

#

This friggin failing/copy is going to be the death of me

#

I just need the items from the desktop

sweet lodge
#

Only one hour?

rugged root
#

Might

#

Yeah, I'll trade you

#

This is a might be fixed

sweet lodge
#

Fair

#

Are you still trying to boot off of it?

rugged root
#

Yeah only because I don't have an additional drive I can boot from then pull the data off

#

Wait

#

I might

#

Hmm

#

Do I let this finish trying to fix it or do I try the other plan...

sweet lodge
molten pewter
#

@quasi condor Depending on the local pronunciation or orange: phalange short "a", long "a": shortchange, prearrange, downrange, estrange (etc) .... short "i": constringe, infringe, syringe, unhinge, impinge... etc.

rugged root
#

I have 2, but they're at home

#

Fuck it, plan b

quasi condor
sweet lodge
# rugged root Fuck it, plan b

Burn the Ubuntu ISO to a USB and boot to the live environment

Inside the Linux environment, mount the drive, and then mount another storage device
You can use another USB, mount a file share, connect OneDrive with rsync, there's several options

Then copy only the data you need
Linux has a lot less fuckery, and it completely ignores Windows file permissions
It's so much simpler

somber heath
#

@crystal fox Curling.

crystal fox
#

:D

rugged root
#

Mm, true

#

I think I did go ahead and snag the Ubuntu thing

#

Well shit, will it have NTFS support built in?

somber heath
#

Yes.

rugged root
#

I thought that was something - okay cool

somber heath
#

Should.

rugged root
#

I thought most of the time that was something you had to snag elsewhere

#

Oh no wait, I remember

#

It's that it's only read only

somber heath
#

No.

#

Shouldn't be.

rugged root
#

Hmm

#

Times have changed

sweet lodge
molten pewter
quasi condor
#

Well in hinge there's no r

#

Infringe is probably another rhyme

#

Actually

#

I'm wronger

molten pewter
#

hold on, do you pronounce the r on the second syllable of orange? as in o-range?

quasi condor
#

Well

#

I hate syllables, they're such wishy washy definitions

molten pewter
quasi condor
#

Got it

#

Rhymes are about stressed syllables

#

And the or is always the stressed syllable

#

That's why

#

You can very clearly feel that orange and syringe don't rhyme

#

But picking out why is difficult

stuck furnace
#

They do love a revolution.

molten pewter
#

Also a better map of Taiwan languages: https://en.wikipedia.org/wiki/Languages_of_Taiwan

The languages of Taiwan consist of several varieties of languages under the families of Austronesian languages and Sino-Tibetan languages. The Formosan languages, a branch of Austronesian languages, have been spoken by the Taiwanese indigenous peoples for thousands of years. Owing to the wide internal variety of the Formosan languages, research ...

#

I think it depends on the accent. In the south I have heard a long A sound with OrAnge, but also the shortened "Arnge".

sweet lodge
#

The "very important files" that need to be archived apparently contain about 15 versions of the Adobe Acrobat Reader installer that're between five and ten years old

#

Any reason not to delete all exe files before creating backups?

rugged root
#

Only if you're sure that you can't get them again

#

Worst comes to worst you can just pack them up in a zip

sweet lodge
#

True
I'm not really concerned about them taking up space though
I'm mostly just ranting about my boss being a hoarder and me not being able to throw anything away
I don't need 15 copies of a 10-year-old installer. I can have Creative Cloud automate installation and updates

rugged root
#

Yarp

somber heath
#

There would be security implications.

sweet lodge
#

How goes the data recovery?

rugged root
#

Having to make the live usb, going from there

somber heath
#

Pretty sure there have been a couple of arbitrary code execution vulns that popped up in pdf readers over the years.

rugged root
#

Boy howdy were there

sweet lodge
#

Disclaimer: It's not a guarantee, even Linux can't fix bad sectors

rugged root
#

Not looking to repair

#

I've already cloned the disk, I'm working from that

#

So I don't have to worry about disk failure mid retrieval

#

However, it cloned it skipping bad sectors, and I don't know which partition was hit the most

#

Hopefully just boot

sweet lodge
#

Speaking of vulnerabilities...

molten pewter
#

Myrian Webster lists the pronunciation of syringe as sΙ™Λˆrinj or ˈsirinj, orange is listed as ˈÀr-inj, ˈȯr-inj, ˈÀr(-Ι™)nj, or ˈȯr(-Ι™)nj. So that r in Myrian webster would imply that they are not full rhymes. However, other online dictionaries like definithing, list words like microsyringe (mī’krō-sΙ™-rΔ­nj’, -sΔ“r’ĭnj). So, if the video states that there are "no rymes", that is false, as there are many slant-rhymes. But if the video states that there are not any "full rymes". I would say it depends on the pronunciation. One could claim that there are "no" rhymes, if one rejects all other pronunciations of words, or only acknowledges one style of dictionary.

rugged root
#

That's gotta be a false positive, right?

#

Right?

sweet lodge
#

Maybe

#

That is a weird date

stuck furnace
#

America gets a lot out of it too.

rugged root
#

Oh huh

#

Did you guys know there was a "Large FAT32" format?

stuck furnace
#

Hi Hemlock πŸ‘€

stuck furnace
rugged root
#

Hey buddy

#

Yeah, it's on the list of File Systems on Rufus

stuck furnace
#

Should have called it OBESE32

crystal fox
rugged root
#

HA

crystal fox
molten pewter
#

Also, when I start googling weird words, I find things like Sporange: the name for the structure within which spores are produced. Gorringe: a surname, and and Oranje: a family name as in van Oranje.

crystal fox
molten pewter
opaque moat
#

@cunning lake why can't i speak

molten pewter
#

because you haven't read the rules

opaque moat
rugged root
#

Let's not have snide responses to new folks

opaque moat
#

i might have missed it

rugged root
#

That'll tell you what you need to know

molten pewter
opaque moat
#

oh thanks

#

i didn't know my bad

rugged root
#

No worries!

#

No reason to feel bad

#

Fury was just being oddly combative

molten pewter
#

true story

crystal fox
opaque moat
stuck furnace
#

.wa short 1 inch in cm

viscid lagoonBOT
sweet lodge
#

You should use Arch BTW

gentle flint
sweet lodge
#

Heathens

gentle flint
#

@haughty pier do you have ideas?

sweet lodge
#

No

#

Do not summon the false prophet

#

Embrace the holiness of Arch BTW

gentle flint
#

hehe

#

I use Debian btw

#

incidentally I use KDE btw

sweet lodge
#

Me too

stuck furnace
#

There are dozens of users!

sweet lodge
#

KDE Plasma on Arch

gentle flint
#

this chair is broken btw

sweet lodge
somber heath
#

Mounting is reasonably straightforward.

#

Compile qemu to the arm target?

crystal fox
#

right so what i'm doing is trying to run i386 debian on a raspberry pi to install a bunch of java bundled into an installer bin

#

the install process starts off alright but then java shits the bed during the install process

somber heath
#

Debian comes in a lot of architectures.

#

What's rpi?

crystal fox
#

arm

#

the problem is at the end of the day i need to run an x86 linux binary on a pi

somber heath
#

Java is architecture dependent?

crystal fox
#

shouldn't fuckin be

#

since they've used the same java bundle for each different supported OS (win/mac os)

somber heath
#

Classes are how Python is supposed to be written. I thought classes were stupid and confusing. Now I get it.

stuck furnace
#

Yeah I think it comes down to not having to keep track of as much state mentally.

somber heath
#

There are times it's appropriate to have functions. There are times it's appropriate to use classes.

stuck furnace
#

Like, to understand an imperative program, you have to simulate the state in your head as you step through the code.

molten pewter
#

I need more popcorn for this conversation. 🍿

rugged root
#

Most of the time, the various cases you're dealing with even in functional can be broad

sweet lodge
#

Ew

rugged root
#

The keyboard I use

sweet lodge
#

I mean, it's a pretty keyboard, but it look's like a pain to type on

#

wat

rugged root
#

Mine?

sweet lodge
rugged root
sweet lodge
#

Yours is just weird

rugged root
#

And comfortable

#

I don't hurt when I use it

molten pewter
#

Ortholinear, so grid.

sweet lodge
#

JetBrains is best

#

By a lot

#

OS matters

#

Mac OS is just now getting "close to" getting Python 3

#

Is this the new thing nowadays?

#

Making a runtime and seeing how many languages you can fit in it?

velvet urchin
#
{
    "domain": "gmail.com",
    "users": [
        {
            "name": "test-user",
            "email": "${#name}@${domain}"
        },
        {
            "name": "second_user",
            "email": "${#name}@${domain}"
        }
    ]
}
rugged root
sweet lodge
velvet urchin
#
    preprocessConfig(config, root) {
        Object.entries(config).forEach(([key, value]) => {
            if (typeof value === "object") {
                config[key] = this.preprocessConfig(value);
            } else if (typeof value === "string") {
                config[key] = value.replace(/\${([^}]+)}/g, (match, p1) => {
                    if (p1.startsWith("#")) {
                        return p1.substring(1).split(".").reduce((obj, key) => obj[key], config);
                    } else {
                        return p1.split(".").reduce((obj, key) => obj[key], root);
                    }
                });
            }
        });
        return config;
    }
stuck furnace
#

What about something like python's syntax for relative package names?

sweet lodge
#

Is that the "Prototype" for Object?
Can you not create forEach loops on their own in JavaScript?

velvet urchin
#
{
    "domain": "gmail.com.${users.1.email}",
    "users": [
        {
            "name": "test-user",
            "email": "${#name}@${domain}"
        },
        {
            "name": "second_user",
            "email": "${#name}@${domain}"
        }
    ]
}
stuck furnace
#

Erm, I think yaml has something similar.

velvet urchin
#

{{}}

stuck furnace
#

So, do all of the emails follow the same format, with a few exceptions?

rugged root
#

@mortal crystal You have a fair bit of background noise coming through

#

Can you mute when you're not speaking?

#

Thanks

#

Or see if Krisp is disabled or something

molten pewter
#

@whole bear you were correct. I finally found a dialects chart. English is a Dialect of Pro-Germanic, West Germanic, and Anglo-Frisian, but not German. https://www.britannica.com/topic/West-Germanic-languages

Encyclopedia Britannica

West Germanic languages, group of Germanic languages that developed in the region of the North Sea, Rhine-Weser, and Elbe. Out of the many local West Germanic dialects the following six modern standard languages have arisen: English, Frisian, Dutch (Netherlandic-Flemish), Afrikaans, German, and

sweet lodge
#

!eval Why not just....

e={
"domain":"gmail.com",
"users":["test-one","test-two"]
}

def process_emails(email_dict):
  return [f"{user}@{email_dict['domain']}" for user in email_dict["users"]]

print(process_emails(e))
wise cargoBOT
#

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

['test-one@gmail.com', 'test-two@gmail.com']
rugged root
#

!stream 319509382889209866

wise cargoBOT
#

βœ… @velvet urchin can now stream until <t:1645029870:f>.

sweet lodge
#

Wouldn't it be easier to just have

{
"user":"test-one",
"domain": null
}

and pull the default if it's null?

#

I love regex, but I don't think it's necessary here

crystal fox
stuck furnace
#

Pandemonium!

sweet lodge
#

What's wrong with that?

#

Beautiful day for a walk

#

If you already have Bisk on a leash, and he leashes his lawn chairs.... How long can we make this chain of leashes?

#

Pandas is great

#

pandas.read_excel can import a xlsx file and build a table for you

#

Used it a on a daily basis to import Excel files from a client before we started using an API

pallid hazel
#

are chamber pots still in use?

rugged root
#

Oh awesome, one of my monitors just gave up the ghost

sweet lodge
#

The one on the computer with the dead hard drive?

#

Is your computer cursed?

crystal fox
#

no it gave up the ghost

rugged root
#

Just me

sweet lodge
#

No

#

We left

crystal fox
#

the problem was he fed the computer gremlins water

sweet lodge
#

Again?

stuck furnace
#

Back in a bit πŸ‘‹

sweet lodge
#

Hemlock we talked about this

velvet urchin
#

@meager fractal

#

lul mb didn't want to ping you

sweet lodge
rugged root
#

Gotta love it when you look at your finger and you're randomly bleeding

#

Wheeeeeeeeee dealing with metal

sweet lodge
#

Hemlock

#

Don't make me bubble wrap you

rugged root
#

It's fiiiiiine

#

Also I'd find a way to get hurt even with said bubble wrap

sweet lodge
#

Microsoft is using my Windows devices to inspect traffic from other devices

rugged root
#

Shit, wait

#

Can you unlock bitlocker from Linux?

sweet lodge
#

OH

#

oops

rugged root
#

God damn it, back to the install media

sweet lodge
#

I don't actually know

sweet lodge
#

It found my cameras and was able to tell that they're using an out-of-date version of whatever the hell they're using

#

That's pretty cool actually

half portal
#

what is this VC for?

rugged root
#

Ah shit, no it's the zombie rig that's busted

sweet lodge
#

... and maybe a little disconcerting

rugged root
half portal
#

could I get in and get some help? It is about tweepy

sweet lodge
#

!voice

wise cargoBOT
#

Voice verification

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

rugged root
#

Tweepy?

sweet lodge
# wise cargo

See here for the voice requirements
You're welcome, and encouraged, to use this text channel to type in until you meet these requirements

sweet lodge
half portal
#

Could I get help in VC? would be better using that I think, if not its ok

molten pewter
rugged root
#

What's your question/issue? Typically it's easier to read the question, look at code, etc

shut hill
#

@rugged root yooooooooooooooooooo

#

Helooo

half portal
shut hill
#

@rugged root What are math calculations in computer science for?

#

Thats what im doing today.

sweet lodge
#

Of course, if you're not able to verify yet, go ahead and type your question out
Also, it helps us a lot when we're able to read your code as we think through how to help you, so we always recommend that you paste your code in this channel [when asking for help in voice]

half portal
#

VS Code

rugged root
#

Sorry, I'm really only able to look at the computer/channel off and on today

#

Not a lot of free time at work with what all is going on

sweet lodge
shut hill
#

idk

#

;-;

#

this is today wok

#

@sweet lodge

sweet lodge
shut hill
#

umm idk

amber raptor
mortal crystal
#

like dunder mifflin

dull edge
#

The lounge area looks fun

lyric pawn
#

@molten pewter wrote my thesis for me

molten pewter
#

not literally.

sweet lodge
molten pewter
#

What is your thesis @lyric pawn ?