#voice-chat-text-0

1 messages Β· Page 890 of 1

swift valley
#

or I could configure Emacs

honest pier
#

i can stream rust ig?

rugged root
#

@whole bear Actually give me a bit, I need to finish this mileage sheet

swift valley
coarse cape
#

i wanna watch people code

#

hehe

#

i can stream but my desktop is messed up

whole bear
coarse cape
#

oof :(

honest pier
#

can i stream rust πŸ₯Ί

rugged root
#

Yeah sorry, I try to keep an eye on folks when they're streaming but I can't at the moment

#

!stream @honest pier

wise cargoBOT
#

βœ… @honest pier can now stream until <t:1630595058:f>.

swift valley
#

I'll be right back

whole bear
#

Could i stream just so people can watch?

#

ok

#

i got a i7-10700k

#

switch is so good

clear shadow
#

Hey @leaden comet

leaden comet
#

hiya

tranquil wing
#

Hello!

leaden comet
molten pewter
swift valley
#

Alright I'm back

#

I'm in a bit of a dilemma

#

The json file I'm supposed to deserialize only has serialization routines in the library that implements it

rugged root
#

Wait what?

#

Is it non standard?

swift valley
#

So like, in Haskell, there's this library called aeson where the general idea is basically:

  1. You define some data type
  2. You define serialization from data type -> textual json
  3. You define deserialization from text json -> data type
#

Said data type skips the third

rugged root
#

.... seriously?

swift valley
#

Meaning I have to implement it myself

rugged root
#

Even after all this time?

#

There has to be something you can snag

swift valley
#

It's internal use by the PureScript compiler, so I can't really see it happening

#

Maybe if I ask nicely

#

Said data type is used for documentation generation

coarse cape
#

HEY LEMONN

whole bear
#

I'll be back soon

leaden comet
#

The Second Battle of Copenhagen (or the Bombardment of Copenhagen) (16 August – 5 September 1807) was a British bombardment of the Danish capital, Copenhagen, in order to capture or destroy the Dano-Norwegian fleet during the Napoleonic Wars. The incident led to the outbreak of the Anglo-Russian War of 1807, which ended with the Treaty of Γ–rebro...

#

here's the relevant battle, by the way

swift valley
#

I'll be going early to focus on work

#

see ya folks

tranquil wing
#

See ya

coarse cape
#

hewwo again

rugged root
#

Yo

tranquil wing
#

Hewwo kitty, nice profile picture btw

rugged root
#

Okay, this is strange to me. Why is there more compliance with ES7 than ES6

#

That just feels bizarre

coarse cape
#

lol

haughty idol
#

I wanted do some docker hands on as a beginner what can i do ?

coarse cape
#

Do you have docker installed mate ?

haughty idol
coarse cape
#

im a beginner too but i love helping :D

rugged root
#

I guess

#

I think the only thing they're missing is the tail call recursion optimization

coarse cape
#

Hemlock, you remind me of someone

#

for real,

rugged root
#

Good or bad

coarse cape
#

good

#

wait it got him

#

one sec

#

like- no offence

#

its ben awad

#

a ytber

#

look wise

#

your pfp atleast

#

well,

last widget
#

I can kinda see it

coarse cape
#

im sorry otherwise

#

ah

#

Hmm

last widget
#

from 50m maybe

haughty idol
#

okey dokey

coarse cape
#

cya pepps

#

i gtg and sleep

rugged root
#

Sleep well

gentle flint
tranquil wing
#

Good night

rugged root
#

Neat

coarse cape
#

special byes to : Mr. Hemlock & @primal yacht & bluenix

coarse cape
#

who else wants a bye from me ? πŸ˜‚

whole bear
#

could i share my screen now? I don't need help

rugged root
#

!stream 844265279219302492

wise cargoBOT
#

βœ… @whole bear can now stream until <t:1630598473:f>.

whole bear
#

thanks

coarse cape
#

before i go

#

@rugged root which os do you use ?

fiery juniper
#

Is it only me, or I can't join VCs?

rugged root
#

Windows primarily

coarse cape
rugged root
#

@fiery juniper Try now

fiery juniper
#

It just shows RTC connecting

rugged root
#

We may have hit the limit for a sec

#

Oh that happens

#

One sec

fiery juniper
coarse cape
#

cya people!

fiery juniper
#

I join, and it shows RTC connecting

rugged root
#

Yeah it's a server thing

#

Let me make it hop

#

Try now

primal yacht
#

@whole bear you're running it successfully, it just does not invoke your function

#

If you are unaware

#

brb ... Discord is glitchy

rugged root
#

As is its way

whole bear
#

how do i fix?

primal yacht
#

You're not calling your red function

#

etc.

#
if ans.strip().lower() in ('y', 'yes'):
    # ....
```@whole bear
#

str.lower is a method, not a getter

#

You probably killed the window and THEN accepted it :/

#

You just killed the window again

rugged root
#

Man really full today

primal yacht
#
red()
```Will invoke it and should auto-close when the window is done
brave steppe
#

gonna eat me' pizza :3

whole bear
whole bear
amber raptor
rugged root
#

Ooooooooooooooooooooooooooooooooooooooooo something just made sense to me

whole bear
#

do i need to put in a while loop

rugged root
#

I now understand why arrays give strings for in in JS

#

They're all just objects, and that's how it handles key/value

#

So it's just treating it as such

primal yacht
primal yacht
whole bear
#

done

#

The while true fixed it

primal yacht
whole bear
primal yacht
#

... Task Manager?

whole bear
#

ohhhhhhh

#

haha

#

ill be back

primal yacht
#

You only need 1 turtle

tranquil wing
#

Gtg, see ya..

primal yacht
#

bi bi

whole bear
#

back

primal yacht
whole bear
#
print("thanks")
primal yacht
gloomy vigil
#

@amber raptor is that the url?

primal yacht
#

Memory is going up and up @whole bear

amber raptor
#

https:// link is

primal yacht
#

14 MB already

whole bear
primal yacht
#

Yes, eventually you'll be out of memory

whole bear
#

oh

primal yacht
#

Now stop the window

#

X it normally

amber raptor
#
import os
from typing import Optional

from fastapi import FastAPI, Request, HTTPException, Header, Body, BackgroundTasks
from pydantic import main

app = FastAPI()

@app.post("/")
async def discord_main(
    request: Request,
    bg_task: BackgroundTasks,
    X_Signature_Ed25519:Optional[str] = Header(None), 
    X_Signature_Timestamp:Optional[str] = Header(None), 
):
    auth = Auth(os.getenv("app_public_key"))
    body = await request.json()
    body_str = await request.body()
    if auth.verify(
        body=body_str,
        signature=X_Signature_Ed25519,
        timestamp=X_Signature_Timestamp
    ) is False: #Meaning it's invalid
        raise HTTPException(
            status_code=401,
            detail="Invalid Token"
        )
    elif body['type'] == 1:
        return {'type': 1}
    elif body['type'] == 2:
        if body['data']['name'] == 'clanwars':
            bg_task.add_task(ClanWars().Get_Clan_Battles, body)
        elif body['data']['name'] == 'update':
            bg_task.add_task(Update().update_user,body)
        return {'type': 5}
      ```
whole bear
#

discord is very high should i be worried?

primal yacht
rugged root
#

!stream 844265279219302492

wise cargoBOT
#

βœ… @whole bear can now stream until <t:1630599677:f>.

green bone
#

I am involved in vcokltfre's library a bit, not sure if we'll support HTTP interactions

#

so far I was just extremely pissed off by the API documentation

rugged root
#

vco was expressing the same sentiment

#

That the API doc is bullshit

green bone
#

If a bot uses call-and-response, you could make a proxy that accepts HTTP calls and propagates them as new message events

#

but that's a huge hack

signal whale
#

@honest pier
what you doinnnggg

honest pier
#

aoc 2019 day 18

normal hinge
#

hi guys

#

does declaring class occupy memory or not?

green bone
#

@gentle flint Electrical substation?

normal hinge
#

my mic is not working 😦

rugged root
#

Weird

honest pier
rugged root
#

I would think it does in all

honest pier
#

no

rugged root
#

Same way a function woul- wait really?

green bone
#

Declaring a class definitely occupies memory in your editor

normal hinge
green bone
#

in C there are no classes

rugged root
#

Only Zuul

normal hinge
#

i mean we write text right while declaring class

green bone
#

AFAIK C++ doesn't store metadata about classes, so they have 0 size

green bone
rugged root
#

Wait, then how does it know that there's a class you can make objects from

normal hinge
#

sir, i mean

#

we declare variables and methods right

#

where does it storing then

green bone
signal whale
#

other examples are water treatment centres, they smell a lot man

normal hinge
#

that variable and methods?

honest pier
#

in python, they do

gentle flint
normal hinge
#

where they will store in stack or heap

rugged root
#

Right but how would the compiled code know that it needs to link all those things that are tied to the class onto a new instance

normal hinge
#

i'm confused

gentle flint
normal hinge
#

when i create object it will take memory in heap right

amber raptor
honest pier
#

in python, yes

normal hinge
#

then where does class take memory if i don't declare object

honest pier
#

well, depending on your definition of object

#

wdym, what language are you talking about

normal hinge
#

python,c,c+= and java

honest pier
#

you can't talk about all of those languages at the same time, they're quite different

normal hinge
#

can u please explain one by one

#

lets go with c++ and then java and python

signal whale
#

is python and C++ similar?

honest pier
#

no

normal hinge
rugged root
#

Patience

green bone
# rugged root Right but how would the compiled code know that it needs to link all those thing...

In Python all methods are virtual -- you can override every method, and when you call a method it's dynamically looked up on the instance.
In C++ methods by default are not virtual -- when you call foo.bar(), if bar is not virtual, it's just an ordinary function call.
virtual methods will be different for each subclass
If a class has virtual methods, each of its instances has a "vtable" -- it's a tuple of pointers to functions. For example, if your class Quack has non-virtual methods foo and bar and virtual methods fizz and buzz, then each object will store the pointers to the particular fizz and buzz methods. Something like

function Quack.foo(this: Quack, x: int64) { ... }
function Quack.bar(this: Quack, a: int32, b: int64) { ... }

QuackVtable {
  fizz: (Quack, n: int32) -> int32
  buzz: (Quack, n: int8, m: int8) -> *char
}

Quack {
  attribute1: int32
  attribute2: int32[4]
  ...
  vtable: *QuackVtable
}
``` (pseudocode) 
then, if you want to call a virtual method, you do 

function call_fizz_and_buzz(quack: Quacj) {
quack.vtable.fizz(quack, 1)
quack.vtable.fizz(quack, 2, 3)
}

the vtable will be shared by all instances of a class
you could say that the vtable _is_ the class, but it doesn't store all the metadata Python or Java stores
#

something like this

normal hinge
#

@green bone here virtual method means u mean interpreted

#

method right?

green bone
#

@rugged root I'm not a C++ programmer so don't trust me

#

πŸ‘€

honest pier
#

in cpp, a virtual method means its impl can be overwritten by derived classes

green bone
#

yep

#

@rugged root define 'metadata'

#

Attributes like x.foo are just aliases to (x + (some fixed offset in memory))

#

like C structs if you're familiar in C

#

so that's known at compile time

normal hinge
#

πŸ₯² i'm not understanding

green bone
#

Rust also has virtual dispatch πŸ™‚

#

with trait objects

normal hinge
#

@green bone thank u so much for putting efforts to make me understand , i really appreciate ur help

green bone
#

@normal hinge What was your original question?

#

I was mainly answering Mr.Hemlock's question

normal hinge
#

sir, my question will class occupy memory

green bone
#

In Python - yes

normal hinge
#

if we don't instance or create object for it

green bone
#

In other languages - it depends

#

yeah, JS names works like Python names

#

you can't know if a class has been used

normal hinge
#

so for dynamic languages and static languages

#

it is different

#

@rugged root u mean dunder methods

green bone
normal hinge
#

they are built functions right

whole bear
#

@rugged root perms pls

green bone
#

Is there a particular reason you're asking?

rugged root
#

!stream 844265279219302492

wise cargoBOT
#

βœ… @whole bear can now stream until <t:1630602046:f>.

whole bear
#

πŸ™‚

green bone
#

Indra

normal hinge
green bone
#

Yesterday I was trying to find out what the "without K" option does in the Agda compiler. I didn't understand anything but now I know what a homotopy is...

green bone
normal hinge
#

they are asking mix questions 😦

#

they are asking java , python and c

#

and c++

green bone
#

Does your position require Java, C++, C and Python?

normal hinge
#

System engineer role

#

python and java and sql

#

i know python but i hardly remember anything about java

#

just tell me one question @green bone

#

where does the our code saves

#

in stack or heap

green bone
#

on disk πŸ™‚

normal hinge
#

i thought u will say this

#

haha

green bone
#

I wouldn't want github to store my code on the heap

normal hinge
#

i mean disk is also memory right

#

memory are 2 types stack and heap

green bone
#

Stack and heap only exist in RAM

normal hinge
#

oh

#

i was thinking it will exist in secondary memory

primal yacht
#

wrong chat sorry

green bone
#

hi YAML

#

I just use the mic in manual mode

normal hinge
#

haha

#

u can talk

green bone
#

I'm not very motivated for AoC because it's not timezone-friendly for me πŸ˜”

#

I"m a competitive person but I suck

normal hinge
#

what is Aoc

#

oh hackathon

green bone
rugged root
green bone
#

oops I closed the discord tab

#

no u

#

I use discord in browser like the giga brain I am

lilac vector
#

Hi

#

i Spidraner

#

what do you write

normal hinge
#

print("hello spidraner, i write this")

lilac vector
#

πŸ‘

#

Damn now I would like to play brawl stars

amber raptor
#

I do agree that Advent of Code should move start time around

#

like make it +1 hour every time

#

or just move it so it's friendly for different part of the world

lilac vector
#

Ok Bye

normal hinge
#

You may have heard that everything in Python is an object, even types such as int and str. Well, it’s true on an implementation level in CPython. There is a struct called a PyObject, which every other object in CPython uses.

Note: A struct, or structure, in C is a custom data type that groups together different data types. To compare to object-oriented languages, it’s like a class with attributes and no methods.

green bone
#

I will host my own competition exclusively in GMT+3 lemon_warpaint

#

in fact I'll refer to GMT as MSK-3

rugged root
#

"MSK"?

green bone
#

moscow time

#

πŸ˜”

rugged root
#

Gooootcha

honest pier
#

more like EST+8

#

or EDT+9

green bone
#

MSK+24

honest pier
#

or is it +7

green bone
#

sorry I mean MSK-24

#

yes that was the joke

#

MSK+NaN

#

I am now at MSK-350640000

#

If Thanos snap worked, would all JavaScript programs have a 50% chance of becoming Java's programs?

#

I prefer composition over inheritance

#

Yeah, there is no absolute position in the universe

brave steppe
#

😳

honest pier
#

!e print(import('random').random() > .5)

wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

False
honest pier
#

i live!

rugged root
#

Okay, now I'm imagining that Joe has a deadman's switch for rickrolls

#

Like in the event of his death, we just get flooded with them

#

!e print(import('random').random() > .5)

wise cargoBOT
#

@rugged root :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(import('random').random() > .5)
003 |           ^
004 | SyntaxError: invalid syntax
rugged root
#

!e print(import('random').random() > .5)

wise cargoBOT
#

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

False
rugged root
stuck furnace
#

Two Swedes in the VC πŸ‘€

rugged root
#

Xith, so am I just scouring the entire repo looking for hits that got missed?

primal yacht
#

Stinky

icy axle
#

No

normal hinge
#

what if

#

avengers

rugged root
stuck furnace
#

What's Bluenix working on?

normal hinge
#

πŸ˜†

brave steppe
#

Like how FastAPI does it

stuck furnace
#

Ah, I've not tried FastAPI.

brave steppe
#

Tl;Dr I am planning on this kind of API ```py
import os

from wumpy import interactions

app = interactions.InteractionApp(os.environ['TOKEN'])

@app.command()
async def permissions(interaction: interactions.CommandInteraction) -> None:
"""Get or edit permissions for a user or a role."""
# This should be called for each command, even though you cannot invoke a
# "parent" command directly.
pass

@permissions.group(name='user')
async def user_command(interaction: interactions.CommandInteraction) -> None:
"""Get or edit permissions for a user."""
# Potentially you may want to run code each time the user subcommand-group
# is used, there may be shortcuts made so that all of these functions
# won't be necessary if not used.
pass

@permissions.subcommand(name='get')
async def user_get(
interaction: interactions.CommandInteraction,
user: interactions.User = interactions.Option(description='The user to get', required=True),
) -> None:
"""Get permissions for a user."""
await interaction.respond('Just use the client for this :p', ephemeral=True)

This style of commands may be supported (or used instead).

@interactions.option('user', description='The user to edit', required=True)
@permissions.subcommand(name='edit')
async def user_edit(
interaction: interactions.CommandInteraction,
target: interactions.User
) -> None:
"""Edit permissions for a user."""
await interaction.respond('Pretty useless tbh', ephemeral=True)

if name = 'main':
import uvicorn
uvicorn.run(app)

normal hinge
#

@ionic ferry are u from hyderabad

#

who is talking what?

#

the voices are lagging

brave steppe
#

rip

normal hinge
#

πŸ˜†

rugged root
ionic ferry
#

@normal hinge Yes I am from Hyderabad

primal yacht
#

Aero

sweet lodge
rugged root
#

Right?

#

I'm genuinely surprised you guys hadn't heard of it

#

I know I've sung its praises multiple times

normal hinge
#

Good night guys , have a nice day or night

sweet lodge
#
now = arrow.now()
start_of_week = now.floor('week').date()
end_of_week = now.ceil('week').date()

This is what I use arrow for.

#

Does pendulum have similar floor / ceil functions?

rugged root
#

I would assume so, but I'll have to look

sweet lodge
#

Ah. Was hoping you'd know. I'll take a look

rugged root
#

Yeah sorry

sweet lodge
#
>>> dt.start_of('day')
'2012-01-31 00:00:00'

>>> dt.end_of('day')
'2012-01-31 23:59:59'

Found it

rugged root
#

Neat

wintry pier
#

?

#

share screen

#

or screen shot of error

#

yeah

sweet lodge
#

We've all done it at least once

wintry pier
#

do you access by int or str

#

cool

primal yacht
frank bluff
#
from django.http import HttpResponse
from django.shortcuts import redirect

def unauthorized_user(view_func): 
    def wrapper_func(request,*args,**kwargs):
        if request.user.is_authenticated:
            return redirect('home')
        else:
            return view_func(request,*args,**kwargs)
    return wrapper_func

def allowed_users(allowed_roles=[]):
    def decorator(view_func): 
        def wrapper_func(request,*args,**kwargs):
            group=None
            if request.user.groups.exists():
                group=request.user.groups.all()[0].name
            if group in allowed_roles:
                return view_func(request,*args,**kwargs)
            else:
                return HttpResponse("<h1>You are not allowed to access this page</h1>")
        return wrapper_func
    return decorator

def admin_only(view_func):
    def wrapper_func(request,*args,**kwargs):
        group= None
        if request.user.groups.exists():
            group=request.user.groups.all()[0].name
        if group=='user':
            return redirect('userPage')
        if group=='admin':
            return view_func(request,*args,**kwargs)



    return wrapper_func
tiny socket
#

decent yeah

wintry pier
#

[0]

rugged root
#

@raw carbon We can hear you but you're kind of muffled

wintry pier
#

??

#

for i in group

#

[i]

primal yacht
#
groups = [ i.name for i in request.user.groups.all() ]
if 'admin' in group:
    return ADMIN_STUFF
if 'user' in group:
    return USER_STUFF
return FAILED_STUFF
vivid palm
#

hi

#

one of my customers:

wintry pier
#

if not there 0 while send u error

whole bear
amber raptor
wintry pier
#

@raw carbon @vivid palm πŸ₯³

hollow haven
#

how lancebot PRs are going:

vivid palm
#

:O my heart is stolen

amber raptor
molten pewter
#

Trend setter

icy axle
#

The gurkult i hope lol

rugged root
vivid palm
#

my cult

icy axle
#

@raw carbon if you make a heat seeking cucumber, i'll personally send you a few kilos of cucumbers. No joke

#

And a sticker

#

And a magnet

primal yacht
rugged root
#

I love Lemon's response

vivid palm
#

@brave steppe hmm one of my first times seeing someone use ipynb on pydis

brave steppe
#

Really?

vivid palm
#

yes

brave steppe
honest pier
#

it's good for fast testing

vivid palm
#

are you using it for like a temp space?

brave steppe
#

Yeah, I need to test code and so I want to run test smaller cells themselves

vivid palm
#

cool cool

amber raptor
#

So is heat seeking missle sentient for few glorious seconds before it explodes?

icy axle
#

Yes.

sweet lodge
#

So, it checks if it can reach the internet, and if it can't, it says it can't reach the internet?

primal yacht
vivid palm
#

LX!

stuck furnace
#

Hello πŸ‘€

warm bison
#
@bot.command()
async def afk(ctx, reason=None):
    current_nick = ctx.author.nick
    await ctx.send(f"{ctx.author.mention} is afk: {reason} ")
    await ctx.author.edit(nick=f"[AFK] {ctx.author.name}")

    counter = 0
    while counter <= int(mins):
        counter += 1
        await asyncio.sleep(60)

        if counter == int(mins):
            await ctx.author.edit(nick=current_nick)
            await ctx.send(f"{ctx.author.mention} is no longer AFK")
            break
sly jolt
#

help

stuck furnace
#

Ugh, do I have to Mina? πŸ˜„

vivid palm
#

lololololol

stuck furnace
#

πŸ˜”

honest pier
#

cute!

vivid palm
frigid panther
#

o/

#

is the site PR reviewed @sly jolt πŸ₯Ί

#

site off topic pr

sly jolt
#

@frigid panther which one

frigid panther
#

take this @olive hedge

#

review this

sly jolt
#

@frigid panther I don't know site unfortunately

frigid panther
#

fisher got this ducky_bike

sly jolt
whole bear
#

people i have a question...

rugged root
#

@stuck furnace Was that you who commented on the uwu issue?

stuck furnace
#

And yet no one uses assertions lemon_pensive

rugged root
#

Because if so, that's absolutely magical

rugged root
#

I, for one, am glad that we can remain on the cutting-edge in this vitally important area. All too often, the most advanced uwugorithms are locked up in the ivory towers of academia, where they are unable to fulfil the enormous potential they have to enrich the lives of ordinary people. Thank you, @gitautas, humbly.

stuck furnace
#

Oh no, too much attention πŸ‘€

#

Put: LGTM Β―_(ツ)_/Β―

rugged root
#

fine probs

stuck furnace
#

Couple critical bugs but Β―_(ツ)_/Β―

olive hedge
primal yacht
#

@rugged root Can you let everyone to turn down my volume as I'm on my phone

#

And it was me who posted the link

brave steppe
#

@primal yacht

primal yacht
#
M*A*S*H
#

MASH (an acronym for Mobile Army Surgical Hospital) is an American war comedy-drama television series that aired on CBS from 1972 to 1983. It was developed by Larry Gelbart as the first original spin-off series adapted from the 1970 feature film MASH, which, in turn, was based on Richard Hooker's 1968 novel MASH: A Novel About Three Army D...

vivid palm
honest pier
#

bnuuy

vivid palm
brave steppe
# vivid palm

How did you get this picture from my mail 😳

sly jolt
#

@honest pier

honest pier
#

πŸ˜”

gentle flint
honest pier
#

😩

primal yacht
#
def foo(count: int, min_: int. max_: int, step: int, /) -> list[int]:
    # ...
vivid palm
#

as in, my screenshot of his stream lmao

sly jolt
brave steppe
#

no

sweet lodge
#

min and max are built-ins
You're not supposed to overwrite built-ins

sly jolt
#

github desktop D:

sweet lodge
brave steppe
fiery juniper
rugged root
#

Shit happens

brave steppe
#

Alright well that was it

#

Going to bed lol

sly jolt
#

gn m8

rugged root
#

Sleep well

olive hedge
#

Robot voice: You are being rescued, stop resisting

primal yacht
#

@olive hedge fires and such

#

Could be Linux disguised as Macintosh

#

I remember old Macintosh

brave steppe
#

Also side note: My mom has brought up on several occasions questions about me speaking English and to who- and I don't know what to feel about that.

Did my whole family hear me having a mental breakdown over experiencing NoneType (not None) for the first time?

primal yacht
#

even as old as B&W Macintosh

vivid palm
#

1440*900

grand wyvern
whole bear
honest pier
#

type annotations are supposed to be as specific as possible right?

olive hedge
honest pier
grand wyvern
#

I approach them as generally as possible.

olive hedge
grand wyvern
#

dict[any, any] | None roo5Head

whole bear
#

people go into "dodo"

#

correct analogy ?

olive hedge
#

πŸ¦‰

vivid palm
#

chris!

brave steppe
#

Generelly though, your function isn't used anywhere else so using Dict over Mapping is fine as long as you're always passing a dict.

noble copper
#

happened after

vivid palm
#

hi schoolman :)

gloomy vigil
#

well i am gonna go sleep bye

noble copper
#

@raw carbon crazy thing about columbia was that they could've saved the crew had they known about the hole in the shuttle wing.

#

they couldn't rendezvous with the ISS to prepare for another launch?

sly jolt
#

I must go now, good conversation about spaceships.

agile horizon
#

how can I find how many more lines I need to type to be able to voice chat?

rugged root
#

I'll take a quick look

agile horizon
#

They say that some asteroids are rich in platinum group metals

rugged root
#

But typically you can use the search bar and just from:<your_user_name_here>

agile horizon
#

thank you

#

or should I say,

#

thank

#

you

rugged root
#

Cunning

olive hedge
#

Or should I say thank you

agile horizon
#

python

#

is

#

awesome

#

and

rugged root
#

Don't spam your way to it

agile horizon
#

ok

rugged root
#

Spamming your way to it will make it so that it takes longer for you to get verified

agile horizon
#

I have a Dyson vacuum cleaner but it isn't spherical

#

does a bot decide whether a message is spam? If so, has said bot been tested to be free from unfair discrimination against the neurodivergent?

agile horizon
#

yes

olive hedge
#

We generally do not auto-moderate unless it is something very obvious. Most incidents are reviewed and actioned by a human

agile horizon
#

/is extremely human but fully camouflaged against bot determination

rugged root
stuck furnace
#

Apparently the world population growth rate peaked in 1962

#

Oh yeah, it's relative rate.

rugged root
#

@restive geyser Nuuuuu

#

@pastel plover What's up?

#

Easier to ask in here in text since there's already a convo going on

restive geyser
#

i'm fixing my mic lol h/o

rugged root
#

no u

olive hedge
#

To live is to suffer, to survive is to find some meaning in the suffering.

stuck furnace
#

I know 1 but I haven't got onto learning 0 yet.

vivid palm
#

kkkkkk

rugged root
#

Yeah 0 is pretty tough

pastel plover
#

[001][011][11.0][111]

stuck furnace
#

I believe the key problem is that the international system of states is an anarchy. Each country is acting in its own self-interest.

pastel plover
rugged root
#

Right, can you ask your question again in here

pastel plover
#

move

#

from right to left

#

the 1nd one from the right

#

11.0 do i take it as 11 so it can give me a 3 in octal or do i take it as 110 so it gives me a 6 in octal

stuck furnace
#

What's the context here @pastel plover ?

pastel plover
#

converting binary to octal

stuck furnace
#

Alright, and why are you interested in this particular sequence of binary numbers? Just random examples?

pastel plover
#

yes a random example

amber raptor
#

@olive hedge I agree with you, eat at Arby’s

whole bear
#

i agree with Mr Hemlock

rugged root
amber raptor
stuck furnace
#

@pastel plover Well here are the eight octal digits in binary: 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111 If you have a ., then that, I would assume represents a fractional number. The number 101.011 is just the fraction 101011 / 1000.

#

I'm still not sure what you're asking though sorry πŸ˜„

pastel plover
#

ik them

stuck furnace
#

Ohh right.

#

So you want to convert 00101111.0111 to octal, and you're wondering about the grouping of the bits?

amber raptor
#

I heard octal and care just left my body

restive geyser
#

LMFAO

#

#mood

stuck furnace
#

Hmm, well 00101111.0111 represents the binary fraction 001011110111 / 10000

#

So, you could convert the numerator and denominator to octal.

pastel plover
#

still thats not my question

olive hedge
restive geyser
#

yaaaaassss

amber raptor
stuck furnace
#

Note that when converting from one base to another, you can't always represent a fractional number representable with a finite number of digits in one base with a finite number of digits in the other base.

restive geyser
#

maths

vivid palm
#

s

whole bear
#

meth

stuck furnace
#

For example, 0.1 in base 10 cannot be represented with a finite number of digits in binary.

olive hedge
pastel plover
#

ok ty ill give it a shit

#

shot

whole bear
#

bye @raw carbon

rugged root
olive hedge
#

!otn a hemlock is a naughty chair

whole bear
olive hedge
#

!otn a what does this command do

wise cargoBOT
#

:ok_hand: Added what-does-this-command-do to the names list.

olive hedge
#

!ot

wise cargoBOT
stuck furnace
#

I want to hear the gossip πŸ‘€

rugged root
#

Can't do it to my text

whole bear
#

i am confused

vivid palm
#

LX you are 1000000000000% not a "nobody" in my eyes OK HFDU

leaden comet
#

mina being super wholesome

#

I love pydis voice chat

vivid palm
#

well i also inadvertently called a bunch of people here "nobodies" sooooooooo pepe_eyeroll

whole bear
#

SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO CUTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

olive hedge
#

go to sleep

leaden comet
#

sounds about right.

#

I disagree

#

and when are you getting up?

whole bear
#

much talking

stuck furnace
#

What's the film where he sells guns?

whole bear
#

much guns

stuck furnace
#

It was 'Lord of War'.

leaden comet
#

engineering and sleep deprivation is a terrible combination. sleep is fucking magical. you'll learn faster, be more productive, be a better engineer in every way - but also I like being alive and sleep keeps you alive. dramatically reduces your chance of alzheimers, heart disease, increases your ability to stave off cancer. You want cancer and alzheimers and be dead by 60, keep sleeping 5 hours per night. Otherwise, maybe aim for 8.

#

read some Matthew Walker

whole bear
#

hemlock....................
my worst fear

leaden comet
#

that dude knows what's up

#

πŸ‘

#

then you're fiiine

#

sleep is a god damn superpower

#

learn to wield it and you'll be happier and more successful.

vivid palm
#

you guys should both sleep

olive hedge
#

How about you both get a room

restive geyser
#

lol

gentle flint
#

and sleep together

whole bear
#

much sleep talk

gentle flint
#

in a large bed

restive geyser
#

*pillow talk

leaden comet
#

it's my duty to educate.

whole bear
#

much education

#

much doggos

leaden comet
#
  1. don't shave
  2. repeat step 1
whole bear
#

much husky

gentle flint
whole bear
restive geyser
#

LMAO

whole bear
#

much swimming

#

i'm just putting much in front of everything

restive geyser
#

brb

vivid palm
#

it was ella but she's gone

whole bear
#

now its the sofa/couch

vivid palm
#

awwwww

whole bear
#

silence

vivid palm
#

yellow eyes πŸ‘€

whole bear
#

cute

#

more silence

#

where da doggo

stuck furnace
#

Really smooth Fisher πŸ˜„

#

Cya πŸ‘‹

#

Where did that KIX guy go? I finally understood his question and have a good explanation πŸ˜„

#

Erm, I'll re-paste it.

#

@pastel plover 00101111.0111 (base 2) = 000 101 111 . 011 100 (base 2) = 000 101 111 011 100 / 001 000 000 (base 2) = 0 5 7 3 4 / 1 0 0 (base 8) = 57.34 (base 8)So actually, you can convert fractional binary numbers to octal by grouping like this: [000][101][111].[011][100] 0 5 7 . 3 4 You need to add 0s on to the left and right ends so that you have groups of three going outwards from the 'decimal' point.

#

No need to spam-ping them πŸ˜„

#

Hey Jake

#

They probably have do-not-disturb on.

vivid palm
#

lol nebraska just dgaf

stuck furnace
#

Let's study the literature πŸ˜„

molten pewter
#

Distribution of video gamers in the United States from 2006 to 2021, by gender

stuck furnace
#

Alright, I feel like we're over-scrutinising what Jake said πŸ˜„

#

I like the term "no life it".

#

brb

terse needle
#

With Roblox Corporation now being valued at more than $45 billion, we ask whether the kids making the vast majority of its content are being taken advantage of?

Support us on Patreon: https://www.patreon.com/PeopleMakeGames

Written and presented by Quintin Smith:
https://twitter.com/Quinns108

Design and art direction by Anni Sayers:
https://t...

β–Ά Play video
molten pewter
noble copper
#

omg yaaas

calm cypress
#
Well, I heard you crying loud\nAll the way across town\nYou've been searching for that someone and it's me out on the prowl\nAs you sit around feeling sorry for yourself\nWell, don't get lonely now\nAnd dry your whining eyes\nI'm just roamin' for the moment, sleazin' my backyard, so don't get\nSo uptight, you've been thinking about ditching me\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\nOh, I heard it all before\nSo don't knock down my door\nI'm a loser and a user, so I don't need no accuser\nTo try and slag me down because I know you're right\nSo go do what you like\nMake sure you do it wise\nYou may find out that your self-doubt means nothing was ever there\nYou can't go forcing something if it's just not right\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\n\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\nWhen I come around\nWhen I come around\nWhen I come around
#

\n

#

remove

molten pewter
vivid palm
#

!e

text = "Well, I heard you crying loud\nAll the way across town\nYou've been searching for that someone and it's me out on the prowl\nAs you sit around feeling sorry for yourself\nWell, don't get lonely now\nAnd dry your whining eyes\nI'm just roamin' for the moment, sleazin' my backyard, so don't get\nSo uptight, you've been thinking about ditching me\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\nOh, I heard it all before\nSo don't knock down my door\nI'm a loser and a user, so I don't need no accuser\nTo try and slag me down because I know you're right\nSo go do what you like\nMake sure you do it wise\nYou may find out that your self-doubt means nothing was ever there\nYou can't go forcing something if it's just not right\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\n\nNo time to search the world around\n'Cause you know where I'll be found\nWhen I come around\nWhen I come around\nWhen I come around\nWhen I come around"

print(text.replace('\n', '. '))
wise cargoBOT
#

@vivid palm :white_check_mark: Your eval job has completed with return code 0.

Well, I heard you crying loud. All the way across town. You've been searching for that someone and it's me out on the prowl. As you sit around feeling sorry for yourself. Well, don't get lonely now. And dry your whining eyes. I'm just roamin' for the moment, sleazin' my backyard, so don't get. So uptight, you've been thinking about ditching me. No time to search the world around. 'Cause you know where I'll be found. When I come around. Oh, I heard it all before. So don't knock down my door. I'm a loser and a user, so I don't need no accuser. To try and slag me down because I know you're right. So go do what you like. Make sure you do it wise. You may find out that your self-doubt means nothing was ever there. You can't go forcing something if it's just not right. No time to search the world around. 'Cause you know where I'll be found. When I come around. . No time to search the world around. 'Cause you know where I'll be found. When I come around. When I come around. When I come around
... (truncated - too long)

Full output: https://paste.pythondiscord.com/ruguyigedi.txt?noredirect

calm cypress
molten pewter
calm cypress
noble copper
molten pewter
dense ibex
#
print(str(result.text)[page1+12:page2])
noble copper
molten pewter
vivid palm
#

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

dense ibex
#
url = "https://some-random-api.ml/lyrics?title=%7B%7D%22.format(songn)

        result = requests.get(url)
        page = str(result.text).replace("\n", "AAAAAAAAAAAAAAAAAAAAAAAAAAAA")
        page1 = page.find('","lyrics":"')
        page2 = page.find('","thumbnail":')
        page3 = str(result.text)[page1+12:page2].replace("\n", " ")
        print(page3)
stuck furnace
#

What problem are you working on?

dense ibex
#

"Well, I heard you crying loud\nAll the way across town\nYou've been searching for that someone and it's me out on the prowl\nAs you sit around feeling

#

@calm cypress

vivid palm
#

@calm cypress

calm cypress
#

page3 = str(result.text)[page1+12:page2].replace("\n", " ")

#

double \

stuck furnace
#

I have DMs turned off.

#

Alrighty then.

#

Raid yes sorry.

#

Yep πŸ˜„

noble copper
#

uh oh lol

#

i thought it was just a twitch thing

#

no, its like after a live stream is finished, you can "route" the audience to another stream channel

#

or direct them...aka raid another stream. It helps the channel get subscribers

stuck furnace
#

Oh yeah raiding on Twitch isn't a bad thing.

#

You just send your viewers to another person's stream.

#

Yeah exactly

noble copper
#

yup

stuck furnace
#

But on Discord, it is not a good thing πŸ˜„

noble copper
#

idk what the nature of raiding is on discord, im guessing malicious

stuck furnace
#

It's a bunch of either people or automated accounts spamming.

#

In this case, a not particularly pleasant message.

#

But we've got pretty good tools to deal with it on this server.

#

Ah right. Like a million browser help bars πŸ˜„

#

Or whatever they were called.

noble copper
#

trojan horses

stuck furnace
#

Oh yikes.

#

Ah yeah.

#

Yeah πŸ˜‘

#

I gtg actually Furyo sorry

#

Cya πŸ‘‹

noble copper
#

@molten pewter you mean those boobytrap links that turned your volume +100% and played a scream with an obscene image

calm cypress
#

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

calm cypress
#
import youtube_dl

ydl_opts = {'format': 'bestaudio'}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    info = ydl.extract_info("https://www.youtube.com/watch?v=Soa3gO7tL-c&list=PLTGrQlR0KR2KSW4RtSr4ePF4z_vsMdt_V&index=?", download=False)
    print(info)
molten pewter
spiral jay
#

i want some pizza rolls

molten pewter
#

@classmethod
async def from_url(cls, url, *, loop=None, stream=False):
loop = loop or asyncio.get_event_loop()
data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download= not stream))

#

URL = info['formats'][0]['url']
voice = get(self.bot.voice_clients, guild=ctx.guild)
voice.play(discord.FFmpegPCMAudio(URL))

noble copper
#

l8r

spiral jay
#

how many msgs

#

do i need

molten pewter
#

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

spiral jay
#

3 days

#

xd

molten pewter
tulip plover
#

ok thx

molten pewter
#

@tulip plover over here!

#

you did it! Horray!

tulip plover
#

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

tulip plover
#

lol

#

I use vs code

molten pewter
cobalt magnet
#

hi @somber heath

#

cant speak rn cuz sus

#

bg noise basically

#

im gonna play minecraft with my new 5$ mouse

somber heath
#

@whole bear A lot of clattering and clashing and crunching noise going on, there.

#

Not sure if you're aware.

#

If you are, then whatever.

#

If you weren't, now you know.

whole bear
#

hlo sir

#

ya ,its fine how are u opal

somber heath
#

!e py text = "Apples and oranges." my_list = text.split(" ") print(f"Words: Probably {len(my_list)} or so.")

wise cargoBOT
#

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

Words: Probably 3 or so.
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

Words: Probably 16 or so.
somber heath
#

NLTK

whole bear
wise cargoBOT
#

Hey @whole bear!

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

cobalt magnet
#

i am back from playing minecraft

#

with my 5$ mouse

#

its a neat one tho

#

i love math ngl

#

cuz im in 8th grade

#

wait

#

really?

#

damn

#

im pretty sure its not allowed on discord

#

how is that relevant

#

turning what

#

directions?

#

oh ok

#

lol

#

youre not wrong actually

hidden flower
#

fingers crossed 🀞

cobalt magnet
#

i think he's british

#

idk

hidden flower
cobalt magnet
#

i am in fact an idiot

hidden flower
#

I'd still like if name calling is not a norm in this server

cobalt magnet
#

yes

hidden flower
#

Β―_(ツ)_/Β―

#

no

cobalt magnet
#

not necessarily

fleet lotus
#

whats up peeps

cobalt magnet
#

brb lol

whole bear
gloomy vigil
cobalt magnet
#

whar

gloomy vigil
somber heath
#

It's like "I was right and you were wrong. 🐦 "

somber heath
#

Galileo.

#

Giving his detractors the finger for all time.

gloomy vigil
whole bear
#

alright thx

#

@gloomy vigil haha i didn't see the "don't dm"

gloomy vigil
#

i am installing this

whole bear
#

@somber heath should i start learning python

#

i am new to programming

#

ok

#

yeah i get it

gloomy vigil
#

COBAL was the lowest level language right?

whole bear
#

noice

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.

whole bear
#

i want to automate my taks

#

tasks

gloomy vigil
#

i aslo love python

somber heath
#

pyautogui

#

selenium

whole bear
#

ok...

#

that's awesome

somber heath
#

pyautoit

whole bear
#

what are those things

undone idol
whole bear
#

why

somber heath
#

beautifulsoup

somber heath
undone idol
#

Hah no problem!

cobalt magnet
#

is it just me or things get wholesome 100x more when people use exclamation marks!

clear shadow
#

Hello

cobalt magnet
#

hello

clear shadow
#

Usually 1 badge was command at every profile
now 3 badge are there at most of the profile πŸ˜„

cobalt magnet
#

do you mean batch??

rugged root
cobalt magnet
#

it took me a minute to figure out what the teeth were

#

it feels so satisfying now that my scroll wheel works again

#

yes

cobalt magnet
# rugged root

whats even worse is each "tooth" is from a different foot

gloomy vigil
#

apparently i clicked some buttons and this happened shouldn't have skipped the tutorial :(

cobalt magnet
#

hmmmmmm

#

:( moment

clear shadow
#

@rugged root
This might be good for your morning Sandwich πŸ˜„

dense ibex
clear shadow
#

I never tried it πŸ˜…

coarse cape
#

HEY HEMLOCK

#

ill brb people!

brave steppe
#

Hello @rugged root

#

Not home yet, just on the buss

#

That's one barrier I will never break, and that's speaking on the phone on the buss

#

Yet alone English lol

#

mfw getting sued by a Mayonnaise company

#

@somber heath there's no way to be quiet on a buss where no one is saying a word

#

Like it's dead quiet in here, me whispering some English talking about Mayonnaise would be embarrassing beyond the abyss of embarrassments

rugged root
somber heath
#

Underwater bar. Pub sub.

#

Wake up surrounded by feathers. Sheets torn. Slippers embedded in the ceiling.

brave steppe
#

e

somber heath
swift valley
#

Rainy evenin' folks

swift valley
#

I'm gonna be an FP nerd for a short bit; I really like how JSON deserialization is handled in Haskell/PureScript

#

Yep

#

Nope, just serialization to JSON

#

Not really, since again, this is internal use

#

They just happen to generate a JSON file along the way

#

*sigh*

#

Yeah, it does pattern matching internally

#

Yep

somber heath
#

Knitting pattern matching.

swift valley
#

So like, <|> is basically ordered choice, if the LHS fails, then it tries RHS, if that fails, then just use the error message RHS emits

#

let binds some name to a value, do is syntax sugar for monads

#

(Obligatory) Monads are containers that also happen to be able to model computation

#

Monads can be composed, like functions

#

It's an acquired thing

warm flicker
#

hello

cobalt magnet
#

uh guys the dev guy is msging me from his aly

warm flicker
#

k

cobalt magnet
#

hes cursing at me cuz i "reported" him

#

i didnt even report him LOL

#

hes in this server rn

amber raptor
#

Take it up with ModMail

cobalt magnet
#

ban him someone

#

boi what the hell boi

#

god 12 year olds these days

amber raptor
cobalt magnet
#

LOL

#

so i just dm modmail dude?

brave steppe
#

Yeah

cobalt magnet
#

ight

#

do i do it in 1 msg?

#

ok pog

whole bear
#

I'm 12 year old

#

anyone keen on reporting me to trust and safety?

#

go waste the valuable 5 minutes of your life

rugged root
#

Bold of you to assume my time is valuable

whole bear
#

and waste mine too, by ELIMINATING my discord privileges

somber heath
whole bear
rugged root
#

If you say so

whole bear
#

yes

#

And I have the sussy boys

#

but idk who the imposter is

#

the reporter

#

OpalMist and Andeemen are the main culprits

somber heath
#

Go fish.

whole bear
#

did anyone report me?

#

yes, I know

cobalt magnet
#

haha

whole bear
#

too worried about the safety of a few kids eh?

cobalt magnet
#

HAHAHAHAHA

whole bear
#

I know he did it

rugged root
#

!mute 883321240788557874 Do not insult members of our server

whole bear
#

Andeemen

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1630684652:f> (59 minutes and 58 seconds).

amber raptor
#

See, problem self resolved

cobalt magnet
#

yes

#

should i troll him

#

or leave him

#

?

#

neither did i

amber raptor
#

Can we file this all under πŸ₯± and move on?

hidden flower
cobalt magnet
cobalt magnet
#

blocked he is going to be

rugged root
cobalt magnet
#

im dumb then

#

good i asked

rugged root
cobalt magnet
#

yep

#

does anyone here play spelunky?

somber heath
#

"I stopped to get gas."
Earlier...
"I'll have the beans, thanks."

brave steppe
#

@amber raptor

#

What was error 400 again?

amber vigil
#

is python like a way to code or is it like an app?

brittle mango
somber heath
amber vigil
#

ok

#

is there a recommended program to use?

brave steppe
gentle flint
brave steppe
#

And for you to write Python, you need an editor

amber raptor
#

Maybe discord is doing a deploy and screwed it all up

#

It is Friday

amber vigil
#

im entirely new to the python thing so i dont know quite a bit

coarse cape
#

hii people

#

im back :D

amber vigil
#

hii?

coarse cape
amber raptor
#

Though if I was SRE, hell would freeze over before Friday long weekend deployment

amber vigil
#

does unity use python?

gentle flint
coarse cape
#
import face_recognition
import cv2
import numpy as np

video_capture = cv2.VideoCapture(0)

beans_image = face_recognition.load_image_file("beans.jpeg")
beans_face_encoding = face_recognition.face_encodings(beans_image)[0]

known_face_encodings = [
    beans_face_encoding, 
]
known_face_names = [
    "Beans", 
]

face_locations = []
face_encodings = []
face_names = []
process_this_frame = True

while True:
    ret, frame = video_capture.read()
    small_frame = cv2.resize(frame, (0, 0), fx=0.25, fy=0.25)
    rgb_small_frame = small_frame[:, :, ::-1]
    if process_this_frame:
        face_locations = face_recognition.face_locations(rgb_small_frame)
        face_encodings = face_recognition.face_encodings(rgb_small_frame, face_locations)
        face_names = []
        for face_encoding in face_encodings:
            matches = face_recognition.compare_faces(known_face_encodings, face_encoding)
            name = "Unknown"
            face_distances = face_recognition.face_distance(known_face_encodings, face_encoding)
            best_match_index = np.argmin(face_distances)
            if matches[best_match_index]:
                name = known_face_names[best_match_index]
            face_names.append(name)
    process_this_frame = not process_this_frame
    for (top, right, bottom, left), name in zip(face_locations, face_names):
        top *= 4
        right *= 4
        bottom *= 4
        left *= 4
        cv2.rectangle(frame, (left, top), (right, bottom), (0, 0, 255), 2)
        cv2.rectangle(frame, (left, bottom - 35), (right, bottom), (0, 0, 255), cv2.FILLED)
        font = cv2.FONT_HERSHEY_DUPLEX
        cv2.putText(frame, name, (left + 6, bottom - 6), font, 1.0, (255, 255, 255), 1)
    cv2.imshow('Video', frame)
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break
video_capture.release()
cv2.destroyAllWindows()
#

im doing beans recognition

#

@gentle flint do you work at discorddd ?

gentle flint
#

no

#

lol

coarse cape
#

wait

#

who works then-

gentle flint
#

nobody in this voice chat

coarse cape
#

whats the vs then

#

vc*

#

i just joined and heard someone speak on leaving discord

gentle flint
#

we're discussing hypothetical actions they may have taken

amber raptor
coarse cape
#

oh lol

#

my bad

#

ty hmm

#

i love how bluenix is on unmute and not a single sound is coming from his end