#voice-chat-text-0

1 messages ยท Page 820 of 1

vivid palm
hard locust
#

yes, 1 to whatever kinda sucks when it was decided that 0 is a number by the chinese

elfin fractal
#

!rule -418

wise cargoBOT
#

:x: Invalid rule indices: -418

paper tendon
#
constitution[5] = 0 
#

๐Ÿ˜„

gentle flint
#

amendments.pop(2)

dense ibex
#

@wise cargo Rule 1

wise cargoBOT
whole rover
#

wait

#

@wise cargo remind 1s test

wise cargoBOT
#
Aye aye, cap'n!

Your reminder will arrive in 1 second!

whole rover
#

til

paper tendon
#

constitution.__del__(1)
cause arrays start at 0 ๐Ÿ™‚

#

or
constitution.pop(1)
cause arrays start at 0 ๐Ÿ™‚

stuck furnace
#

Craft a laptop out of natural materials.

#

Like that primitive technology guy.

hard locust
#

I wish someone could actually help me LOL

whole bear
#

same

hard locust
#

Gi, what do you need, maybe I can help

whole bear
#

with cpp

#

oodb

olive hedge
#

time 4 food

stuck furnace
#

Just punch the middle of a tree ๐Ÿ˜„

whole bear
#

maybe u cant

whole bear
whole bear
#

cuz i m dum

stuck furnace
#

Erm, I haven't Jake.

hard locust
#

cpp sucks. I use to do that stuff, not done in a while. use graphql or some other repo or an actual database

dense ibex
hard locust
#

we always have a choice

whole bear
#

my uni arent teaching me developing when i havent even enrolled in a management school

stuck furnace
whole bear
#

wait that sentence was so misphrased bc of the sounds in my ears

hard locust
#

if your in school Uni, you shouldn't ask for help LOL

#

just do it

tiny socket
whole bear
#

:thonk:

hard locust
#

LOL

#

I am too old for that shit

dense ibex
whole bear
#

oh boomer

#

o ye why cant i stream inspite of having the video role?

#

oh prolly i dont have it anymore

orchid barn
#

you dont have it gi

#

you only have voice verified

whole bear
#

i had it be4 :thonk:

#

someone took it away from me

hard locust
#

is python really this impotent?

#

I can't even install numpy pip3

#

Failed building wheel for numpy

stuck furnace
#

There was once an earthquake and a bin fell over.

#

Optional extra ๐Ÿ˜„

#

Jake, you definitely said $39,000...

orchid barn
#

@gentle flint

#

in via : "null" response

gentle flint
#

hmmm?

#

eh?

orchid barn
#

i'll show you

gentle flint
#

pls do

#

this might be a bug

orchid barn
#
{
  "id": 62478,
  "fromICAO": "KSAN",
  "toICAO": "KDEN",
  "fromName": "San Diego Intl",
  "toName": "Denver Intl",
  "flightNumber": null,
  "distance": 757.33261275174,
  "maxAltitude": 0,
  "waypoints": 5,
  "likes": 0,
  "downloads": 0,
  "popularity": 0,
  "notes": "Requested: KSAN BROWS TRM LRAIN KDEN",
  "encodedPolyline": "wgxfEjrgjUf_Sk~pAavaEwavB}ksPsq_a@u}kSgfbc@",
  "createdAt": "2015-08-05T20:05:34.000Z",
  "updatedAt": "2015-08-05T20:05:34.000Z",
  "tags": [
    "decoded"
  ],
  "user": {
    "id": 2429,
    "username": "example",
    "gravatarHash": "f30b58b998a11b5d417cc2c78df3f764",
    "location": null
  },
  "route": {
    "nodes": [
      {
        "type": "APT",
        "ident": "KSAN",
        "name": "San Diego Intl",
        "lat": 32.733555499999994,
        "lon": -117.1896585,
        "alt": 0,
        "via": null
      },
      {
        "type": "FIX",
        "ident": "BROWS",
        "name": null,
        "lat": 32.631117,
        "lon": -116.769919,
        "alt": 0,
        "via": null
      },
      {
        "type": "VOR",
        "ident": "TRM",
        "name": "THERMAL VORTAC",
        "lat": 33.62808333000001,
        "lon": -116.16019444,
        "alt": 0,
        "via": null
      },
      {
        "type": "FIX",
        "ident": "LRAIN",
        "name": null,
        "lat": 36.517831,
        "lon": -110.586653,
        "alt": 0,
        "via": null
      },
      {
        "type": "APT",
        "ident": "KDEN",
        "name": "Denver Intl",
        "lat": 39.860979670000006,
        "lon": -104.67189233,
        "alt": 0,
        "via": null
      }
    ]
  }
}
#

i'm tryin to test fetch method

#

in plan

#

via: would be null

gentle flint
#

yeah, that's fine

orchid barn
#

the defaults are null ?

gentle flint
#

well obviously it'll be converted to None

orchid barn
#

Oh ok

gentle flint
#

the whole thing gets cast to a Plan

#

in dataclass

orchid barn
#

ye

gentle flint
#

have you looked at the dataclass

orchid barn
#

i saw that just wanted to check

#

that i get it

gentle flint
#

Yeah, some of the waypoints don't have a name, only an identifier

#

and some have no linked vias

orchid barn
#

ah k

gentle flint
#

removed the test temporarily so I could commit the fix

#

I've pushed now

#

time to continue working on the test

stuck furnace
#

If only it were that simple lemon_pensive

whole bear
#

Lx may i ask u sth?

paper tendon
#

punkbuster

#

๐Ÿ˜„

whole bear
#

why did my video role go ๐Ÿฅบ

#

๐Ÿคฆโ€โ™€๏ธ .

stuck furnace
whole bear
#

but i dont have te video role either

tiny socket
stuck furnace
#

Cya ๐Ÿ‘‹

gentle flint
#
import discord

client = discord.Client()

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

client.run("your token here")
ember silo
#

:o

gentle flint
#

nah someone else is, who I know

#

I've made several in the past though

sick cloud
#

btw, it should be discord.Bot(command_prefix="smth")

sick cloud
whole bear
#

i have made several attempts of writing bots in the past as well, p sure thats not mandatory

gentle flint
sick cloud
#

also, do u wanna see what discord once sent me?

gentle flint
#

sure

whole bear
#

woa

sick cloud
#

6 more servers and hits 100

sick cloud
whole bear
orchid barn
#

verbose can you come to a call for a minaute ?

gentle flint
#

sure

whole bear
#

time to awaken the vc members bby my weird sounds

sick cloud
#

im gonna head to bed after 3 more mins

whole bear
#

no one awakened

sick cloud
whole bear
#

ehh, these are rookie numbers

sick cloud
#

i have a holiday tmr anyway
so it doesn't rly matter at what time i go to bed

whole bear
#

i go to bed exactly one hour before the ideal time i should be waking up at

sick cloud
#

need to finish this stuff first

whole bear
#

ezz pezz

sick cloud
#

also

#

nvm

whole bear
#

o u r doing these rn?

sick cloud
#

@paper tendon whaaa

hard locust
#

don't listen to that guy. just use a dictionary

#

this isn't hard

paper tendon
#

hashmap is unordered_map

hard locust
#

cpp is a pain in the ass

#

bullshit

#

wish I could talk LOL

whole bear
#

i wish u could

#

my project killed the chat

#

i m sowwy

whole bear
hard locust
#

wow, only 7

whole bear
#

ye

hard locust
#

ok wow figured out a cheat. LOL using os

#

biab have to get dinner

#

next challenge, how do you find red pixels in a .png file

#

"detect"

whole bear
#

and keep ranting here until u get the voice verified role!

#

oh wait

#

ur oldest msg wasnt 3 dayz ago ๐Ÿ™ƒ

#

perhaps it will take longer

#

btw, how long r u gonna stay lol

hard locust
#

still muted

hard locust
#

use chrome

willow ember
#

Good morning

#

Greetings from the east.

orchid barn
#

@faint ermine you available ?

clear shadow
#

Hey @somber heath

#

Actually My mic is just not working properly

#

I need your little help @somber heath

somber heath
#

?

clear shadow
#

Just a sec. a

tidal plank
#

hey

clear shadow
#

Is I m audioable @somber heath

whole bear
somber heath
tidal plank
#

what r u guys doing ?

#

sry can u repeat it agian

#

okk

#

woo cool

#

ok

#

i think i gotta go someone's calling

#

so bye

#

cya

whole bear
whole bear
whole bear
#

Hey guys

sick cloud
#

helo

gentle flint
somber heath
gentle flint
#

@calm cypress read this

#

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

gentle flint
#

@tidal canopy same for you

clever needle
#

can you play tic tac toe with yourself

#

.ttt @clever needle

viscid lagoonBOT
#

You can't play against yourself.

clever needle
#

boring

fiery juniper
#

lol

dense ibex
#

.ttt

viscid lagoonBOT
#

It's time for the game! Let's begin.

#

๐Ÿ‡ด ๐Ÿ‡ฝ ๐Ÿ‡ด
๐Ÿ‡ฝ ๐Ÿ‡ฝ ๐Ÿ‡ด
๐Ÿ‡ฝ ๐Ÿ‡ด ๐Ÿ‡ฝ

#

It's a DRAW!

sick cloud
#

halo

#

@somber heath i have a question,
can discord bots be made by only using the requests?

#

yea, mayybee

modern sequoia
#

.ttt

viscid lagoonBOT
#

It's time for the game! Let's begin.

#

๐Ÿ‡ฝ 2๏ธโƒฃ 3๏ธโƒฃ
๐Ÿ‡ฝ ๐Ÿ‡ฝ 6๏ธโƒฃ
๐Ÿ‡ด ๐Ÿ‡ด ๐Ÿ‡ด

#

:tada: AI won this game! :tada:

modern sequoia
#

Oof

#

.ttt

viscid lagoonBOT
#

It's time for the game! Let's begin.

#

๐Ÿ‡ฝ 2๏ธโƒฃ ๐Ÿ‡ด
4๏ธโƒฃ ๐Ÿ‡ฝ ๐Ÿ‡ด
7๏ธโƒฃ ๐Ÿ‡ฝ ๐Ÿ‡ด

sick cloud
#

like, the bot would use only requests for its commands to work

viscid lagoonBOT
#

:tada: AI won this game! :tada:

sick cloud
#

Rip @modern sequoia

#

someone broke in

#

helo

#

Jag

dense ibex
#

Are you ok??

sick cloud
dense ibex
#

You just said someone broke into your room...

sick cloud
#

he was looking for smth

#

dw

#

reduce the quality

#

and the memory size would go down

#

btw, im gonna leave soon to have lunch

#

cell phone waves r nothing

#

compared to the natural back ground

#

radiation

#

he thinks its harmful

#

alr

#

brb

#

gonna have

#

lunch

dense ibex
undone idol
#

OOF

somber heath
dense ibex
clever needle
#

.ttt

viscid lagoonBOT
#

It's time for the game! Let's begin.

#

๐Ÿ‡ฝ ๐Ÿ‡ด ๐Ÿ‡ฝ
4๏ธโƒฃ ๐Ÿ‡ด ๐Ÿ‡ฝ
๐Ÿ‡ด 8๏ธโƒฃ ๐Ÿ‡ฝ

#

:tada: @clever needle won this game! :tada:

sick cloud
#

eww vs

#

use vsc

#

for python

clever needle
#

use vsc or pycharm

sick cloud
#

or atom

#

yeea

sick cloud
#

F

somber heath
#

Random net image.

sick cloud
#

high school does suck

#

most of the time

dense ibex
sick cloud
#

what is ?```py
nonlocal

sly gale
#

e.delete(0,END)

rugged root
#

e.delete(3,'end')

zealous wave
rugged root
dense ibex
zealous wave
#

!e ```py
print(dir(nonlocal))

wise cargoBOT
#

@zealous wave :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(dir(nonlocal))
003 |               ^
004 | SyntaxError: invalid syntax
sick cloud
#

hmmm, totally makes sense

rugged root
#

@willow wharf

zealous wave
sly gale
#

string[len(string)-1]=""

#

how to correct this line

dense ibex
#
version: "3"

services:
  database:
    restart: always
    image: postgres
    ports:
    - "5432:5432"
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
sick cloud
#

docker?

dense ibex
#

ye

willow wharf
#

@rugged root please look at code-help-voice-0 or help-mango thanks

sly gale
#

string[len(string)-1]=""

#

correct this line

whole bear
#

We are server muted?

rugged root
#

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

thank you!

#

i just joined tosay so i guess i have to wai

#

me who just started the degree - what am i doing here exactly?
confused noises

zealous wave
#

I clicked an off topic channel and this was the first thing I see

rugged root
#

Or listen to us talk random crap

#

Either way

whole bear
#

๐Ÿ˜‚ you are very optimistic

#

you have a point tho

honest pier
#

unfortunately

whole bear
#

Thats really kind of you guys

#

thank you soo much

honest pier
#

๐ŸŽ‰

#

P

#

cause griff

#

why don't settings sync :/ across discord

somber heath
#

They do.

rugged root
#

Which settings?

honest pier
#

not for notifications?

rugged root
#

Like notification - right

honest pier
#

i had to set them like 3 times

somber heath
#

There's a setting to make them sync, I think.

#

I might be wrong.

#

That might just be messages and stuff.

short gate
#

print("Hello there")

zealous wave
#

!e ```py
@import
@lambda _: _.name
class hello: ...

wise cargoBOT
#

@zealous wave :white_check_mark: Your eval job has completed with return code 0.

Hello world!
zealous wave
rugged root
#

Best PDF viewer

#

Evar

vivid palm
#

hmm have you tried foxit reader?

rugged root
#

I have

#

Sumatra is faster

vivid palm
#

is sumatra lighter?

#

nice

honest pier
#

i use sumatra since the latex plugin for intellij uses it

rugged root
#

If all you need to do is view PDFs, Sumatra all the way

#

Oh huh, I didn't know that

vivid palm
#

i highlight and annotate with text boxes too tho

rugged root
#

Might have that, I'd have to look

#

Doesn't seem to, but it's an open source project

somber heath
#

My philosophy is from function should flow form and from form should flow function. Lights on ram are a superfluous design consideration.

#

But hey. Have fun with lights.

#

Because it's fun.

rugged root
#

Although huh

#

Someone has made a way to do it

sly gale
#

IS this gui ok

dense ibex
#

looks nice!

#

I like it.

sick cloud
#

whaa

dense ibex
#
@Cog.listener()
    async def on_message_delete(self, message):
        if not message.author.bot:
            embed = discord.Embed(
                title="![trashcan](https://cdn.discordapp.com/emojis/836319153170284545.webp?size=128 "trashcan") Message Deleted",
                description="This is a message log from global channels.",
                color=0xFF0000
            )
            embed.set_thumbnail(url=message.author.avatar_url)
            embed.add_field(
                name="User",
                value=f"<@{message.author.id}> `({message.author.id})`",
                inline=False
            )
            embed.add_field(
                name="Channel",
                value=f"<#{message.channel.id}>"
            )
            embed.add_field(
                name="Created At",
                value=f"`{message.created_at.strftime(self.format)}`"
            )
            embed.add_field(
                name="Deleted At",
                value=f"`{datetime.datetime.utcnow().strftime(self.format)}`"
            )
            embed.add_field(
                name="Message ID",
                value=f"`{message.id}`"
            )
            embed.add_field(
                name="Message Content",
                value=f"`{message.content}`",
                inline=False
            )
            embed.set_footer(text="Canary Bot Made By @_jake#0001")
            channel = self.bot.get_channel(836300990209589258)
            await channel.send(embed=embed)
#

sorry ๐Ÿ˜›

sick cloud
#

if the bot is in a lot of active servers

cerulean moth
#

we have it in this server

#

so i don't think so

#

and also no one actually goes thro them until it is needed

zealous wave
wise cargoBOT
#

cogs/utility/info.py lines 107 to 130

embed = EmbedHelper(
    title=f"{guild.name.title()}'s Info",
    timestamp=datetime.utcnow(),
    description=textwrap.dedent(
        f"""
                    **Owner:** {owner.mention}
                    **Created At:** {created}
                    **Emojis:** {emojis}
                    **Roles:** {num_roles}
                            """
    ),
    thumbnail_url=guild.icon_url,
    footer_text=f"Command Invoked by {ctx.author}",
    footer_url=ctx.author.avatar_url,
    fields=[
        {"name": f"**Member Count:**", "value": value1},
        {"name": "**Presences**", "value": value2},
        {
            "name": f"**Total Channel Count:** {len(guild.channels)}",
            "value": value3,
            "inline": False,
        },
    ],
)```
honest pier
#

but why do german light tanks get heat fs

wise cargoBOT
#

@tiny socket

It has arrived!

Here's your reminder: random space font.
[Jump back to when you created the reminder](#voice-chat-text-0 message)

tiny socket
dense ibex
#

.catify

viscid lagoonBOT
#

Your catified nickname is: jake | แ“•แ˜แ—ข

sly gale
#

.catify

viscid lagoonBOT
#

Your catified nickname is: sirjan | แ˜กแ˜แ—ข

#

Your catified nickname is: sirjan | แ˜กแ˜แ—ข | แ˜กแ˜แ—ข

#

Your catified nickname is: sirjan | แ˜กแ˜แ—ข | แ˜กแ˜แ—ข | แ“•แ˜แ—ข

#

Your catified nickname is: sirjan | แ˜กแ˜แ—ข | แ˜กแ˜แ—ข | แ“•แ˜แ—ข | แ•‚แ˜แ—ข

#
Not gonna happen.

Your display name is too long to be catified! Please change it to be under 26 characters.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @sly gale until 2021-04-27 14:22 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

dense ibex
#

lol

zealous wave
hollow haven
#

!unmute 425201093929205780

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @sly gale.

sly gale
#

Thanks

unique sequoia
#

Hiiiiiiiiii

manic lichen
#

We live in a (cat) society

unique sequoia
#

Does Anyone Need Help In PYTHON

sly gale
#

um

honest pier
#

i need help with RUST

dense ibex
#

you are learning rust?

#

since when?

honest pier
#

๐Ÿค”

zealous wave
#

I need help with COFFEE

paper tendon
somber heath
#

Ooh!

paper tendon
#

unrustify project ๐Ÿ™‚

honest pier
#

@hollow haven this album is awesome ๐Ÿฅบ

zealous wave
#

wait a second, could yall hear me when I was talking?

dense ibex
#

No?

zealous wave
#

bc idk how long my mic was muted for lol

dense ibex
#

lol well we didn't hear anything

rugged root
manic lichen
#

Best Megadeth album

somber heath
#

Chronic Traumatic Encephalopathy.

gloomy vigil
#

.catify

viscid lagoonBOT
#

Your catified nickname is: SeleniumSoup แ“šแ˜แ—ข | แ•‚แ˜แ—ข

gloomy vigil
#

ooh

#

cool

#

.catify

viscid lagoonBOT
#

Your catified nickname is: SeleniumSoup แ“šแ˜แ—ข | แ•‚แ˜แ—ข | แ˜ฃแ˜แ—ข

gentle flint
#

why are we on the sydney server?

#

oh

#

nvm

#

it's 'cuz OpalMist was inside

manic lichen
#

@rugged root

tiny seal
#

I beat cesar's high score, gotta run

manic lichen
#

caesar

#

Cruise Ship Public Computers

near niche
#

http://www.mywebsite.com/hello?name=Felix&company=Contoso

rugged root
#

!voice @whole bear If you're wondering why you can't talk....

wise cargoBOT
#

Voice verification

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

manic lichen
sick cloud
#

mvp = minimal viable product or smth

gentle flint
#

Core: C
GUI: C++ (with Qt), Objective-C (with Cocoa), Swift, Java
Bundled Extensions: Lua

#

for VLC ^

rugged root
#

@amber raptor Do you know how to wipe a WSL instance? Just trying to remove it so that it's not eating space

hollow haven
#

@rugged root the terrifying thing I was talking about before I got a call: We're going to hit 200,000 people this year on this server

rugged root
#

Oh god

sly gale
#

root.iconbitmap('img.png') what is the problem in this code

rugged root
#

Yeah that's really just... wow

rugged root
somber heath
#

@gentle flint Did you get around to asking your Windows vs Linux api wrapper success disparity question?

rugged root
#

It needs to be a bitmap .ico file

#

It can't be a png or jpg

gentle flint
#

I'm going to sort that out later

#

for now I'm working on datetime conversion to iso format

dense ibex
#

Hey @dire folio ๐Ÿ‘‹

rugged root
clever needle
#

.ttt

viscid lagoonBOT
#

It's time for the game! Let's begin.

#

๐Ÿ‡ฝ ๐Ÿ‡ด ๐Ÿ‡ฝ
4๏ธโƒฃ ๐Ÿ‡ด ๐Ÿ‡ฝ
๐Ÿ‡ด 8๏ธโƒฃ ๐Ÿ‡ฝ

#

:tada: @clever needle won this game! :tada:

rugged root
#

Keeps the clutter down

clever needle
#

ok

rugged root
#

Cheers

wise cargoBOT
#
Missing required argument

package

gentle flint
#

I hate myself

mytime.strftime("%Y-%m-%dT%H:%M:%S.%f")[:-3]+"Z"
rugged root
#

I mean that's not.... too terrible...

gentle flint
#

it kinda is

rugged root
#

I was trying to make you feel better about it

gentle flint
#

the thing is
if there was a good way to strip down the number of microseconds I could do

mytime.strftime("%Y-%m-%dT%H:%M:%S.%fZ")
#

%f is 6 milliseconds

#

I need 3

#

and there is no way to cut it down within strftime

manic lichen
#

Uh oh

#

Stinky

rugged root
gentle flint
#

the format I need is 2015-12-19T19:25:38.000Z

rugged root
brittle mango
#

Timezones are the worst. We should all just live in UTC, reasonable sunset hours be damned

gentle flint
#

every day GMT and UTC drift relative to each other by 0.002 seconds

#

occasionally it's gets corrected by a leap second

rugged root
#

Ohhhh right right

#

Leap seconds

#

Because we hate ourselves

gentle flint
#

'cuz every 500 days or so you get a second off

cobalt fractal
#

best as in it will beat any other military due to sheer numbers

#

quality is another question

gentle flint
#

the difference is becoming more and more btw as the rotation period of the earth increases

#

UTC is always kept within 0.9 seconds of GMT

#

but yeah

#

they're not identical

cobalt fractal
#

Oh yea, just what we needed more timezones

#

mars time

#

moon time

gentle flint
#

where is the prime meridian of mars

dense ibex
#

Good question...

dire folio
#
datetime_object.strftime('%Y-%m-%dT%H:%M:%S.%f')[:-3]+'Z'
dense ibex
#

no one knows

gentle flint
#

utc in french

cobalt fractal
#

At 14th level, Zealot Barbs pick up the Rage Beyond Death feature, which lets them stay active at 0 hit points and regardless of how many death saves they've failed:

While youโ€™re raging, having 0 hit points doesnโ€™t knock you unconscious. You still must make death saving throws, and you suffer the normal effects of taking damage while at 0 hit points. However, if you would die due to failing death saving throws, you donโ€™t die until your rage ends, and you die then only if you still have 0 hit points.

At 15th level, barbarians gain the Persistent Rage feature, meaning their rage ends only if they fall unconscious or choose to end it.

gentle flint
#

when barbariants

cobalt fractal
#

unless a level 1 caster with sleep turns up

gentle flint
#

๐Ÿœ โš”๏ธ

rugged root
#

Just got a BSoD on one of our machines

#

Back in a bit

gentle flint
molten pewter
olive agate
#

@molten pewter how did i JUST realize you talk about shit delivery since 5 min straight, how did i JUST realize that

#

you sound so legitimate

paper tendon
#

everyone should be change time at the same time in daylight saving.

gentle flint
#

bairn

faint ermine
gentle flint
#

eivl when someone implies ISO8601 is good

gentle flint
#

or should I say ISO 8601

#

or should I say ISO-8601

dire folio
#

py -m pip -V

amber raptor
#

Python installer will put it back in path lemon_hyperpleased

tall latch
#

im making a code that reads a .txt file and then converts that into a pdf file

gentle flint
#

can I customise behaviour for dataclasses.asdict on a specific dataclass?

#

sorta like with a __to_dict__ method or smth

faint ermine
#

@gentle flint seems like asdict relies on dataclasses.fields which uses __dataclass_fields__

gentle flint
#

I mean, I could play around with __deepcopy()__

faint ermine
#

i would start with modifying that __dataclass_fields__ but be aware that will affect basically everything dataclasses

dire folio
#

py -0

gentle flint
#

otherwise I'll just define my own custom method

#

to_api_dict()

#

as a function of the dataclass

wise cargoBOT
#

Lib/dataclasses.py lines 1078 to 1085

def _asdict_inner(obj, dict_factory):
    if _is_dataclass_instance(obj):
        result = []
        for f in fields(obj):
            value = _asdict_inner(getattr(obj, f.name), dict_factory)
            result.append((f.name, value))
        return dict_factory(result)
    elif isinstance(obj, tuple) and hasattr(obj, '_fields'):```
faint ermine
#

have some asdict source

gentle flint
#

it looks goddamn awful

faint ermine
#

hah, thats to be expected for code this generalised

gentle flint
#

underscores and getattr all over the place

gentle flint
tall latch
#

im predicting that this will be one of the biggest programmer yt
https://www.youtube.com/watch?v=NSHsaG2a4WU

In this lesson, we'll focus on the Pillow Python library, also known as PIL.
I'll show you a few basic functions and useful tricks to manipulate each and every pixel on a given image.
By the end of this video, you'll know how mathematical operations affect images and you'll be comfortable with exploring Pillow further on your own!
#imageprocess...

โ–ถ Play video
severe pulsar
#

ooh the new pfp trend is kinda cool, might participate.
This is kinda like the cat nick trend v2.

vivid palm
#

lol eivl is talking abt me

faint ermine
#

.xkcd 1987

viscid lagoonBOT
#

The Python environmental protection agency wants to seal it in a cement chamber, with pictorial messages to future civilizations warning them about the danger of using sudo to install random Python packages.

faint ermine
#

relevant xkcd

severe pulsar
#

thanks

faint ermine
vivid palm
severe pulsar
#

woah nice

molten pewter
#

PDF/X (ISO 15930)

#

PDF/A (ISO 19005)

#

PDF/UA (ISO 14289)

#

PDF/E (ISO 24517)

#

PDF/VT (ISO 16612-2 and ISO 16612-3)

#

ISO 19593

#

ISO 21812

tall latch
#

txtfile.rfind("\\")

#

\

#

\\

flat sentinel
#

@tall latch

gentle flint
#

I gtg

#

cya

tall latch
#
import universe
import me
black_hole = universe.blackhole.new()
me.loc = black_hole.loc```
flat sentinel
#

black_hole.pop

#

now you are not

tall latch
#

well black_hole is not an array

flat sentinel
tall latch
#

del black_hole

flat sentinel
#

no you

tall latch
#

๐Ÿ˜Ž

tall latch
#

!qj

#

!q

tall latch
#

oh wait i forgot this is python server

flat sentinel
tall latch
#
class me():
    def __init__(self, name, age):
        self.name = name
        self.age = age
        if name = "Kemal":
            self.name = "User.idiocy = 100"
            self.age = 0
#

@flat sentinel

#

๐Ÿ˜‚

flat sentinel
tall latch
flat sentinel
#

i fond that out too late

tall latch
#

haha

whole bear
stuck furnace
vivid palm
#

:O hdu

vivid palm
#

lol the encouraging messages

molten pewter
#

they try

vivid palm
#

just read all the questions veeeeeeerrrrrrry carefully and pay attention to the dates, especially the year..

paper tendon
flat sentinel
sly gale
#

sorry

long quiver
#

!voiceverify

gentle flint
whole bear
#

oh shoot

vivid palm
icy hare
wise cargoBOT
icy hare
whole bear
#

hello gois

#

<9)))><

#

fishy

#

@icy hare what are you trying to do

icy hare
whole bear
#

hello

#

me-g-oo-m-in-n

#

try and say that

#

then we can edit your code at the same time

icy hare
whole bear
wise cargoBOT
#

Hey @icy hare!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

โ€ข If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

โ€ข If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

whole bear
#

@icy hare pastebin link

icy hare
sleek niche
#

hello

paper tendon
#

later

whole bear
pine ledge
#

Hi

whole bear
#
import pygame
pygame.init()
  
surface = pygame.display.set_mode((400,300))
 
color = (255,0,0)
  
pygame.draw.rect(surface, color, pygame.Rect(30, 30, 60, 60))
pygame.display.flip()```
#
test.myFunction()
#

return_thing_int = test.myFunction()

whole bear
tall latch
somber heath
#

@spare pollen Sorry. I was asking if my audio sounded robotic.

#

Or if it was okay.

dense ibex
whole bear
#

can i take someones online programming classes for them?

somber heath
#

You wouldn't be doing either one of you a favour.

#

The point of the class is that the person taking it learns from it. Doing it for them would be you robbing them, by their leave or otherwise, of that enrichment.

#

Secondly, schools tend to frown on academic malfeasance. You would be rendering both of you liable to penalty.

#

Tutoring your friend would be a viable alternative.

somber heath
#

@whole bear o/

whole bear
#

hello!

#

oh nice

#

4-5 days

#

ayy

#

do you code professionally?

#

oh ok

#

ah ok

#

no not yet

#

oh ok

#

wait then

#

finally

#

odne

vivid palm
flat sentinel
#

but not the other

somber heath
queen geode
#

no permission to speak

#

can you help me with a code

candid mirage
#

got it

#

do you have experience w selenium?

#

i need some help on something

queen geode
#

are you guys familiar with opencv ?

#

im making a emotion based music player

#

it will recognise ur mood by facial recognition

#

and play suitable songs

#

yes

candid mirage
#

i am trying to get the json from this website

fair helm
#

xhow can I turn off the microphone

candid mirage
queen geode
#

yeah ive used pretrained models, keras , opencv

#

can you take alook at my code

#

need some help

#

yeah im pretty much a beginner

#

its working perfectly

#

but i need to implement the music player thing

#

preloaded songs in my pc

#

exactly

#

yes

#

tried it

#

i tried pygame mixer module

#

yeah ill try it

#

thanks a lot man

#

its a clg project

candid mirage
#

frederik any chance you can figure out how i can get a json from a website?

#

yes

#

so

#

there is a search result

#

yes

#

not every person

#

see

#

i've done so much w selenium

#

well

#

in terms of workload for the project

#

is there a tutorial for it

#

i've gotten each person and stored it in a list so far

#

like the object item

#

okay

#

yes

#

they are stored in a list

#

look at this

#

ill explain it

#
try:
    main = WebDriverWait(driver, 15).until(
        EC.presence_of_element_located((By.ID, "noticesResults"))
    )
    ## I need to get the list that holds each individual item then iterate through it.

    ## I want to hold each list in each page in a 2D list, iterate through each list and scrape the info from each item.
    ## then convert the information into a JSON file.
    num_clicks = 0
    notice_list = main.find_elements_by_class_name("redNoticesList__item")

    #for item in notice_list:
        ##DO something
    first_item = notice_list[0].find_element_by_class_name("redNoticeItem__labelText")
    link = first_item.find_element_by_tag_name('a').get_property('href')
    response = json.loads(requests.get(link).text)
    print(response)
finally:
    driver.quit()
#

okay i will print notice_list[0]

#

which will be the first item

queen geode
#

is there a command to open windows music player and load a folder of mp3 files?

candid mirage
#

ill use

print(notice_list[0].text)
#

this is the first item in the first page

#

mhm

#

what link holds

#

the variable link

#
link = first_item.find_element_by_tag_name('a').get_property('href')

This holds the page for that specific item aka the first item

queen geode
#

i want it to play the songs from the folder(wihich i willl give the path)

#

thanks guys

candid mirage
#

its in the text form

#

so yes

#

its the string

#

but i want to scrape the json from the item's own page

#

not from the page that holds every item in a iterable type struct

#

no

#

each item has its own page

#

yes

#

so i need to scrape from there

#

json that looks familiar to this

#

{
"source_code": "INTERPOL_RN",
"source_name": "INTERPOL Red Notices",
"source_url": "https://www.interpol.int/How-we-work/Notices/View-Red-Notices",
"persons": [
{
"firstname": "ATIKAT",
"lastname": "KURBANOVA",
"about": {
"date_of_birth": "1995-03-29",
"place_of_birth": "CHALYAKH VILLAGE, TSUNTIYSK DISTRCIT, Russia",
"nationality": "Russia",
"gender": "Female"
},
"other": {}
}
]
}

#

no

#

i dont

#

yes

#

but its missing things

#

i need to go further into its own page

#

to grab everything

#

i need all this

#

yes

#

and thats the first item in the list

#

do i need to write the json from scratch?

#

i have never worked w jsons

#

yes

#

ok ez

#

1 more thing

#

sorry

#

{
"source_code": "INTERPOL_RN",
"source_name": "INTERPOL Red Notices",
"source_url": "https://www.interpol.int/How-we-work/Notices/View-Red-Notices",
"persons": [
{
"firstname": "ATIKAT",
"lastname": "KURBANOVA",
"about": {
"date_of_birth": "1995-03-29",
"place_of_birth": "CHALYAKH VILLAGE, TSUNTIYSK DISTRCIT, Russia",
"nationality": "Russia",
"gender": "Female"
},
"other": {}
}
]
}

if you see this format how would i store the persons tab into a dictionary

#

is the persons area of the json another dictionary?

#

ok cool thank you

faint ermine
#

@whole bear

hollow bison
#

Is it possible to find a solution for this using python?

faint ermine
barren bison
#

damn so basically

barren bison
#

if you replace any one of those odd number with an even number it solvable

#

@spare panther

spare panther
#

what

#

what were you saying

#

@barren bison

#

where did you go

#

bro?

#

lol ok..

barren bison
#

i am here

opal mulch
#

yo guys

#

i need help

barren bison
#

in?

#

did you try to restart the router already?

opal mulch
#

I already know how to:

  • Print text to the screen.
  • Start a new line.
  • Fix errors.
#

make this into an output

strong arch
#

0x800f0922

spare panther
#

idk whats wrong tbh

#

im concerned lmao

barren bison
#

damn

#

so basically

spare panther
#

?

barren bison
#

im sorry my wifi cut off

#

i restarted the router doe

#

call your isp

spare panther
#

its okay

#

i did lmao

#

they dont do anyth

#

what is this?

flat sentinel
#

listen

spare panther
#

this is a python server

barren bison
#

is this the impostor from among us?????

faint ermine
#

C:\Windows\Temp

spare panther
#

please delete that.

whole bear
#

hello gois

#

who deleted the video obove?

#

was it a discord crasher?

spare panther
#

why are there so many trolls today.

#

this is very NOT funny.

barren bison
#

damn

spare panther
#

?

barren bison
#

basically this is not very funni

whole bear
#

i am now a furry

flat sentinel
#

ok then

#

we cant be friends

somber heath
whole bear
#

i dislike you to a degree kemal

whole bear
flat sentinel
#

yes

spare panther
#

you are very not funny.

#

trolling everyone like this

#

what

#

what was this

#

was this magic

#

?

flat sentinel
barren bison
#

is this money

#

this is money

#

yes, this is definitely money

whole bear
#

ever just listen to a song for 10 hours strait and have 1000 ads after when you listen to another song

somber heath
#

@barren bison Will you be joining us?

#

The nearest strait to here is the Bass.

barren bison
#

I will, when my 3 day wait is done

faint ermine
#

you can listen in just fine, just cant talk

whole bear
#

fucking memories man :"(

somber heath
#

That's why that was familiar.

#

It was on ads on tv.

#

"Strongest Avenger."

faint ermine
flat sentinel
#

gtg

somber heath
#

@sly gale Could you write down your question?

sly gale
#

in my tkinter program my code of backspace is acting wwied after i press any operator if i use back the answer is wrong

wise cargoBOT
#

Hey @sly gale!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

โ€ข If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

โ€ข If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

sly gale
#

Thanks

#

is it easy to use

faint ermine
#
sly gale
#

which is the advanced one

tall latch
#

!e

line = "{picture.jpg-x,y}"
line = line[1:-1]
parts = line.split("-")
x, y = parts[1].split()
wise cargoBOT
#

@tall latch :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 4, in <module>
003 | ValueError: not enough values to unpack (expected 2, got 1)
tall latch
#

ahh

sly gale
#

ok i will try my best to learn pyside6

#

is the spelling correct

tall latch
#

i dunno

sly gale
#

ok i will try my best to learn pyside6

runic forum
#

hello @faint ermine

vivid palm
swift valley
#

Evenin'

flat sentinel
#

nein

#

es ist nich jest

swift valley
#

Been a while since I subjected myself to RSI

gentle flint
#

very fun

thin fox
swift valley
#

Right in the middle too

swift valley
#

I'll be back, grabbing snacks and switching devices

#

??????????

rugged root
#

!charinfo heroโš™

wise cargoBOT
rugged root
manic lichen
#

"That depression dummy thicc"
-Walkabout Wednesday 28th April, 10:02am (America/Toronto)

faint ermine
#

America/Toronto

manic lichen
rugged root
manic lichen
#

spootifoo

gentle flint
#

hola

#

on second thought I'll actually go take a shower and hop in vc after

dense ibex
#

Cya lol ๐Ÿ˜›

rugged root
gentle flint
#

so I'll see y'all in 20 minutes I guess

#

yeah, cya

swift valley
#

Having to translate all my Tailwind styling to Sass is pain

dense ibex
#

For your website?

rugged root
#

Is there not something that can transpile it?

swift valley
#

Yeah, for my site

#

Also responsive design is gonna be a pain

rugged root
#

I mean it looks like you can use one with the other

#

Shouldn't need a full conversion

swift valley
#

Yeah but like

#

My styling is too coupled with my PureScript code, and compilation isn't exactly instant

dense ibex
#

Why are you switching to Sass?

rugged root
#

Sass is awesome

molten pewter
dense ibex
#
with open("words.json", "r") as file:
    data = json.load(file)
FileNotFoundError: [Errno 2] No such file or directory: 'words.json'
rugged root
#

@muted bobcat Hey there. I typically don't accept friend requests until I get to know someone more. Was there something you needed?

muted bobcat
paper tendon
#

nice Avatar @vivid palm ๐Ÿ™‚

vivid palm
#

thanks!

dense ibex
#

.griffify needs to be a thing ๐Ÿ˜†

tiny socket
dense ibex
#

Yesss!!!

swift valley
#

Much more simpler

dense ibex
#

Looks very clean

cerulean moth
#

called it letter bubble pfp

tiny socket
#

in that case feel free to do it instead of me im starting to realise how pain this will be

opal mulch
#

people here working on coding api while idk how to even code in a single language

rugged root
#

@dense ibex I'm okay with it, simply because you're able to take your existing games that you have on disk and link them (properly link them as in the license) to your account.

#

If I remember correctly

#

Not to mention you can get games on disk MUCH cheaper, so that cost sometimes pays for itself

dense ibex
#

Yeah true, I didn't know that it links the license as well.

rugged root
#

Well let me verify that.

#

I think I might be horribly wrong

#

Hmm looking like I'm dumb

#

I could SWEAR I read that somewhere

stuck furnace
#

Hello ๐Ÿ‘‹

paper tendon
#

You'll like this

#

@gentle flint ^

dense ibex
gentle flint
#

couter

paper tendon
#

1 blip per second 1 metter per second

#

If you hate cows erase your COW filesystem ๐Ÿ™‚

#

cow joke

#

Due to the covid19 all of the TCP ports have been converted to UDP to avoid a handshake. ๐Ÿ™‚

gentle flint
#

you mean due to

paper tendon
gentle flint
#

nah, just a pedant

#

don't worry

paper tendon
#

pydantic is good ๐Ÿ™‚

gentle flint
#

I corrected vestergurkan on his swedish

#

and I don't speak swedish

#

you're far from the only one

paper tendon
#

type-hints are good. ๐Ÿ™‚

gentle flint
#

mhm

stuck furnace
#

SKIP ADVERT

#

Why isn't it working?!

manic lichen
#

Want a break from the ads?

#

Try spotify premium starting at only 10$ a month!

gentle flint
gentle flint
#

that's not fair

paper tendon
stuck furnace
rugged root
#

How much of a difference is that?

#

The exchange rate can't be that steep

gentle flint
#

10 euros is 12 dollars

stuck furnace
#

Erm, like ~$13

gentle flint
#

ยฃ10 is $13.90

#

hurrah for UK keyboards

#

ยฌยฌยฌ

stuck furnace
dense ibex
#

Wait really??

gentle flint
#

รŸ

#

ยฑ

stuck furnace
#

But no #, weirdly.

#

I had to remap ยฃ to #.

gentle flint
#

โ‚ฌ

#

ล‚

dense ibex
#

!@#$%^&*() these are all the symbols I have ๐Ÿ˜ฆ

gentle flint
#

ลฏ

#

รฅ

#

jรคke

whole bear
#

var node

gentle flint
#

nล‘de

whole bear
#

use multi/handler

gentle flint
#

ลแบŠ

whole bear
#

gotta love metasploit

stuck furnace
#

@gentle flint, can you type the name of the band I'm listening too? ๐Ÿ˜„

gentle flint
#

sure, but I can't be bothered

#

too many keys to press

stuck furnace
#

You're a fan of โฃŽโก‡๊‰บแƒšเผฝเฎ‡โ€ขฬ›)เพ€โ—ž เผŽเบถ เผฝเงฃเงขุžเงขุžุ– ๊‰บแƒš? Name three of their albums.

paper tendon
stuck furnace
#

๐Ÿ‘€

#

Ohh, Alec?

#

We hunted all the predators in Britain to extinction.

#

So no worries there.

#

Oh, good point ๐Ÿ˜„

#

Although I heard they are re-introducing wolves to Scotland.

gentle flint
#

we're getting wolves in the netherlands nowadays

#

they're coming over the border from Germany

#

they eat sheep

#

to the frustration of many farmers

stuck furnace
#

I always wanted to try a communion wafer, but stopped going to church before I was old enough ๐Ÿ˜„

#

Even like beer and salad dressings.

sly gale
#

Fun Fact according to payscale a software engineer gets paid lower wages than a manual labourer at the rate of $7.14 per hour

rugged root
#

Woah wait what?

#

Where?

sly gale
#

INDIA

rugged root
#

That... unfortunately sounds right

sly gale
rugged root
#

Although I suppose regarding risk of life and limb, it makes more sense to compensate the labourers more

amber raptor
#

Are you comparing India SWE wages to American Manual Labor wages?

sly gale
#

No a manual labourer is like the guys who paint's wall oor things like that

amber raptor
#

but you gave 7.14USD then gave software wages in rupee

sly gale
#

500rs

compact stump
#

CREATE TABLE Record(
-> rollno INT(4) NOT NULL PRIMARY KEY,
-> name VARCHAR(20) NOT NULL,
-> fees INT(10) ,
-> group VARCHAR(10) NOT NULL);

compact stump
#

help

amber raptor
#

Sure but you gave salary in year maybe? One of keys of communicating well is making sure your units match up

sly gale
#

500rs That is not even enough to get 2 meals from a good restraunt even including a mcdonald

amber raptor
#

so if you are going to discuss per hr in USD, do the calculations so you give every figure in that

compact stump
sly gale
#

I live in india and 500rs doesn't buy you 2 meals in a good restraunt a dominoes margarita pizza costs 289 rs

amber raptor
#

ok...........

molten pewter
#

Allergen immunotherapy, also known as desensitization or hypo-sensitization, is a medical treatment for environmental allergies, such as insect bites, and asthma. Immunotherapy involves exposing people to larger and larger amounts of allergen in an attempt to change the immune system's response.Meta-analyses have found that injections of allerge...

compact stump
#

@rugged root hi

molten pewter
compact stump
#

can u help me out with my error in mysql

#

@rugged root

#

ohh ok ๐Ÿ‘

sly gale
#

I am starting it in school 1month later

compact stump
#

@amber raptor u know mysql ?

amber raptor
#

yes

gentle flint
#

ooh, I can type โ‚จ

#

วญวฌ

#

รฎ

#

รฐ

#

รท

compact stump
#

@amber raptor can u help me now ?

#

@amber raptor ??

gentle flint
#

quit pinging him

#

he won't thank you