#voice-chat-text-1

1 messages Β· Page 108 of 1

dusty apex
#

it starts from 19th sep

#

not ends

#

so you are free rigth?

craggy mauve
#

does he have a home?salary?servants?

#

πŸ‘€

raven orbit
#

he died in 1986

craggy mauve
craggy mauve
dusty apex
#

there are other libs too and if you don't want to participate its ok

craggy mauve
dusty apex
#

oh alright

#

hmm

#

maybe next year

craggy mauve
craggy mauve
wary fable
#
craggy mauve
#

πŸ‘€

raven orbit
gleaming crane
#

let's cuddle

craggy mauve
#

wow RX_neko_khana

raven orbit
wary fable
craggy mauve
#

this is a good one tharkimon

raven orbit
wary fable
craggy mauve
raven orbit
wary fable
gleaming crane
#

yes > /dev/null &
yes > /dev/null &
woala. almost 100% load shown in prometheus

wary fable
raven orbit
craggy mauve
raven orbit
#

what shall I do with it tho

craggy mauve
misty sinew
#

if we have @property ontop and call fullname like this```py

print(emp_1.fullname())``` would that make any errors ?

craggy mauve
#

hello lucid!

misty sinew
#

@property

#

In this Python Object-Oriented Tutorial, we will be learning about the property decorator. The property decorator allows us to define Class methods that we can access like attributes. This allows us to implement getters, setters, and deleters. Let's get started.

Python OOP 1 - Classes and Instances - https://youtu.be/ZDa-Z5JzLYM
Python OOP 2 - ...

β–Ά Play video
#

this video

dusty apex
#

you can watch corey hes good

misty sinew
#

thats my point

craggy mauve
#

your keyboard voice :\

#

its beautiful but not in headphones full volume :\

misty sinew
#
    print(emp_1.first, emp_1.email())
TypeError: 'str' object is not callable```
#

error

#

if i use it

gleaming crane
misty sinew
#

oh i know why there is an error

dusty apex
misty sinew
dusty apex
#

before

dusty apex
#

its @property method

craggy mauve
raven orbit
wary fable
craggy mauve
craggy mauve
#

HOW TF 😱

#

@raven orbit

craggy mauve
#

your neighbours? panda_durp

craggy mauve
#

do you do job πŸ‘€

#

1 ver....

#

hmmm you can use your keyboard at world war 3 not now :\

raven orbit
#

second line was an accident

craggy mauve
#

Bye

craggy mauve
#

is now

#

les go!

dusty apex
#

hi potato

#

@kind seal when have you joined the server

kind seal
#

hello brother πŸ™‚

#

can you explain me what is asyncio in python

craggy estuary
raven orbit
#

yes

raven orbit
craggy estuary
#

may i ask why typewriter?

raven orbit
#

why not typewriter?

craggy estuary
#

true

kind seal
#

maybe its mechanical keyboard

shrewd widget
#

Hi

misty solar
#

hi guys

#

i am from italy

uneven niche
#

hi guys nice to meet you

golden marsh
#

@dreamy vault hi there

dreamy vault
#

I see the cool kids are having a meeting

golden marsh
#

yep lol

#

cooler than u apparently

dreamy vault
#

So sad

#

so sad

dusty apex
dreamy vault
#

@tender sand u r a bastard

#
  • josh
tender sand
#

wow v bad

dreamy vault
dreamy vault
dusty apex
#

thats sad then

dreamy vault
#

@tender sand pls let me share screen xoxoxx

dusty apex
dreamy vault
dusty apex
#
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
dusty apex
misty sinew
#

oh

fervent notch
dreamy vault
hollow helm
#

Traceback (most recent call last):
File "C:\Users\NomisS\PycharmProjects\simon's test\face detect.py", line 1, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'

quaint olive
#
pip install opencv-python
#

!paste

coarse hearthBOT
#

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.

quaint olive
quaint olive
#
python face_detect.py args
#

@misty sinew

misty sinew
#

hlo

quaint olive
#

can you join the vc now?

misty sinew
#

hlo

#

just wait

quaint olive
#

sys,argv[1]

misty sinew
#

print

#
def ma():
  pass

storm heron
#

cant speak rn sry

ruby mauve
#

does anyone knows how to use socket module with port forwarding

storm heron
#

yeah i came here for asking for help so i fit in perfectly

#

for voice verification

ruby mauve
#

np

raven orbit
#

barely used imac g3
repost from a different server

true valley
true valley
weak locust
torpid relic
#

you guys seem p cool

dusty apex
#

@quaint olive wanna join?

quaint olive
fierce prawn
#

Wait, could you guys make a group and invite me or smthn? It'd be really helpful if I explain my problem better

#

Today

#

Yeah, thats why.

#

@quaint olive I sent you a request

#

I meant friend request

#

Do you guys know about dynamic programming?

quaint olive
fierce prawn
#

Yeah, cause this is a dp problem actually

#
def fsum(tsum,num,memo={}):
    sm=0
    if tsum==0:
        return 1
    if tsum<0:
        return 0
    for n in num:
        rem= tsum-n
        remr= fsum(rem,num,memo)
        sm+=remr
        
    return sm
#

My code became slow for larger numebers as well

#

Mine?

#

Yeah, it goes

#

But i'm getting an output when tsum=3 and num=[1,2]

#

This is the problem

#

why?

coarse hearthBOT
#

Hey @quaint olive!

It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.

Feel free to ask in #community-meta if you think this is a mistake.

quaint olive
fierce prawn
#

I mean yeah, num will be default [1,2] but here I'm taking a general case

dusty apex
fierce prawn
#

nCr?

#

Combinations formulae

random minnow
#

!e

import dis

print(dis.dis('True is not None'))
print(dis.dis('not True is None'))
coarse hearthBOT
#

@random minnow :white_check_mark: Your eval job has completed with return code 0.

001 |   1           0 LOAD_CONST               0 (True)
002 |               2 LOAD_CONST               1 (None)
003 |               4 IS_OP                    1
004 |               6 RETURN_VALUE
005 | None
006 |   1           0 LOAD_CONST               0 (True)
007 |               2 LOAD_CONST               1 (None)
008 |               4 IS_OP                    1
009 |               6 RETURN_VALUE
010 | None
random minnow
#

@raw wren same thing

peak frigate
#

@tight haresee below

#

!voice

coarse hearthBOT
#

Voice verification

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

peak frigate
#

^ read the above

#

there are requirements you need to meet before you can speak in vc

tight hare
#

thanks to you

#

Can i text here?

peak frigate
#

yup yup

#

we will usually be reading the text channel as well

raw wren
#

@random minnow it works

tight hare
#

Okey . I am new here and also decided to learn python. I am a student of Computer science & Engineering . And really so palatinate to learn

#

I know the basic of C,C++,Java

#

What should i do for my better future ?

#

@raw wren

#

Brother. can you reply me please

#

i wanna know about python

#

Can i use java,c,c++ for project or after gaining the basic of Python ?

keen barn
#

and what this main .py do? i know some basic of python and 2 or 3 functions

peak frigate
#

@misty sinew we hear the wind noise

#

can you please mute praise

#

we're also talking to u and u ignore us :(

keen barn
#

i'm trying hard to understand what this program will do

#

what is async fuction

shut cove
#

@raw wren your voice is so relaxing

shell echo
sage shuttle
#

Sorry I had to go so abruptly Jake

raven orbit
true valley
raven orbit
harsh blaze
#
import torch
N, T, C, H, W = 32, 3, 3, 10, 10
x = torch.rand(N, T, C, H, W)
print("Shape of x = ", x.shape)
out = torch.zeros_like(x)
print("Shape of out = ", out.shape)
fold = 0
out[:, :-1, :fold] = x[:, 1:, :fold]
print("Out = ", out[0,0,0,:,:])
out[:, 1:, fold: 2 * fold] = x[:, :-1, fold: 2 * fold]
print("Out = ", out[0,0,0,:,:])
out[:, :, 2 * fold:] = x[:, :, 2 * fold:]
print("Out = ", out[0,0,0,:,:])

raven orbit
#

for context, this is the flag of aAmsterdam

harsh blaze
#
out[:, :-1, :fold] = x[:, 1:, :fold]
true valley
peak frigate
true valley
raven orbit
#

@elder wraith is this you?

unique raptor
raven orbit
unique raptor
#

spin

#

mine to

elder wraith
raven orbit
#

here's an actual video

hearty heath
#

πŸ‘€πŸ’¦

mild flume
#

@elder wraith sorry, server folks are here to remove the old one and I'm snagging the hard drives

#

I now have 12 server drives: 6 HDD and 6 SSD

#

I didn't realize we had SSDs in there

raven orbit
#

congratulations

#

can I have an SSD

mild flume
#

No, I've got to do some serious data wiping on them

raven orbit
#

it wasn't a serious request

mild flume
#

No but I did think about it

raven orbit
#

postage + cost would be far more than ordering one here

mild flume
#

Yep

#

You're assuming I'd make you pay more than postage

raven orbit
#

well, it would be fair

#

even postage would probably be more

#

if the SSD needs to survive the trip

#

although it's easier than with an HDD

mild flume
#

Also true

#

At least more GB per dollar

raven orbit
#

fajitables

#

@halcyon notch why is your video flashing on and off

#

back in 2

sage shuttle
#

Really good ^

sage shuttle
random minnow
#

fair but not everyone is a beginner

sage shuttle
#

I find it still helpful when understanding a lot of the quirks of these methods

#

https://sass-lang.com/guide @random minnow. Scroll down to "Extend/Inheritance". You should do fine without it, but it could be something to consider switching to (SCSS)

true valley
#

deep selector >>>

sage shuttle
mild flume
hidden cliff
#

@raw wren what u doin

mild flume
#

Oh thank god, I just managed to stop myself from diving back into Elm and ReScript

#

Back to Python and JS

raw wren
sage shuttle
#

cya

raw wren
#

look at how shit this diagram looks

mild flume
#

It does the job

scenic lynx
#

Finally, stream is working for me

#

Sorry for keyboard sounds if there any, the browser version does not have very good noise suspension

dusty apex
raven orbit
#

we sometimes switch

#

it's a sort of gradual shifting process

scenic lynx
#

@floral current

floral current
#

uvicorn app:app

scenic lynx
#

@floral current

mild flume
#

@elder wraith So here's a fun irritating thing. So you can add a tab to Teams for a Forms page, right? Well if you select "Open in Excel" to see the results, it opens the browser version

#

It doesn't even ask if you want to try to open it on the desktop app

elder wraith
#

Superior version?

mild flume
dusty apex
#

teams is good

main bluff
#

what are you guys working on

shell tangle
#

"do not cross" i agree everyday bro

scenic lynx
#

@floral current question, can we do w/FastAPI a dep injection thing? Just don't wanna make it in global scope

#

aren't saying that in vc since there is talk going on...

scenic lynx
#

how

floral current
scenic lynx
#

thanks

dusty apex
#

if opal was here he would have definitely made a pun

scenic lynx
#

@floral current btw, if I do param: str = None with path smth like /{param}, will it recognize it as optional param?

#

like if we do /

scenic lynx
#

nice

random minnow
scenic lynx
#

@floral current Also, I think that is the usual layout for FastAPI app, am I right?

#

Sorry for so much pings aniblobsweat

floral current
#

somewhat yeah

scenic lynx
#

okay, nice

floral current
#

(You should totally follow the tutorial user guide)

scenic lynx
#

oh wait

floral current
scenic lynx
#

yeah

#

found it

raven orbit
#

@unique raptor I feel chased

unique raptor
#

@raven orbit no

elder wraith
#

Really, only thing a user has is email and OneDrive, everything else is β€œpublic”

floral current
scenic lynx
#
@app.get(
    "/items/{item_id}/name",
    response_model=Item,
    response_model_include={"name", "description"},
)```
dusty apex
raven orbit
#

xfce4-terminal

dusty apex
raven orbit
#

it works!

#

learning kotlin

dusty apex
raven orbit
#

sudo apt install xfce4-terminal

dusty apex
#

i would thought smth like wget or curl

raven orbit
#

you almost never need to download stuff with wget

#

unless you're using weird software

dusty apex
#

and i don't use snap

raven orbit
#

what sort of apps do you install

#

that's never been an issue with me

unique raptor
dusty apex
raven orbit
#

what apps do you install that you need to use snap

#

or wget

#

or other non-apt stuff

unique raptor
#

none

raven orbit
#

@unique raptor shut

unique raptor
#

i use pacman

raven orbit
#

I wasn't asking you

unique raptor
#

okj

dusty apex
#
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

sudo apt-get update; \
  sudo apt-get install -y apt-transport-https && \
  sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-5.0
dusty apex
#

you use wget or curl before using apt

raven orbit
#

these are commercial packages

unique raptor
#

im at 3

raven orbit
#

that's why

#

I mostly use open-source software

dusty apex
#

they are not weird though

raven orbit
#

so it's in the repos

#

I'm an open-source fan, anything closed-source is weird

unique raptor
#
idk apt or something
i use pacman
raven orbit
#

fair point though

raven orbit
#

Spotify and Microsoft kinda suck

dusty apex
raven orbit
#

PyCharm is also a problem

dusty apex
unique raptor
#

what are they talking about

raven orbit
dusty apex
#

it you have rider

raven orbit
#

it's a pain
to install

true valley
unique raptor
#

.NET Core supports cross-platform @dusty apex

dusty apex
raven orbit
#

if I want rust, I run apt install rustc
if I want python I run apt install python3
if I want C++ on linux I run apt install g++

unique raptor
#

you can use vs code

unique raptor
raven orbit
#

if I want C# on linux I must go through many pains

#

it saddens me

dusty apex
#

boom c# installed

raven orbit
#

that causes pains later on

dusty apex
raven orbit
dusty apex
#

it will cause pain if you snap it

raven orbit
#

as it frequently has in the past
and then your apt update fails

raven orbit
true valley
#

From Wikipedia: "Courts have distinguished between copyright infringement and theft."

dusty apex
raven orbit
#

it has?

#

for days on end

dusty apex
#

whenever i run apt update it runs

raven orbit
#

just a few months ago it happened for 3 days, and a few months before that as well

raven orbit
#

Doesn't mean they weren't down

dusty apex
true valley
#

"The terms piracy and theft are often associated with copyright infringement.[4][5] The original meaning of piracy is "robbery or illegal violence at sea",[6] but the term has been in use for centuries as a synonym for acts of copyright infringement.[7][8] Theft, meanwhile, emphasizes the potential commercial harm of infringement to copyright holders. However, copyright is a type of intellectual property, an area of law distinct from that which covers robbery or theft, offenses related only to tangible property. Not all copyright infringement results in commercial loss, and the U.S. Supreme Court ruled in 1985 that infringement does not easily equate with theft"

dusty apex
#

you cannot del bots

#

so i don't know what they will do with groovy

#

well i am gonna sleep its 3am here, i am gonna customize terminal tmrw

raven orbit
#

alright

#

good night

unique raptor
#

A

quaint olive
#

@dusty apex

frigid hatch
#

wat

dusty apex
wary fable
elder wraith
wary fable
random minnow
#

!voice @cursive ledge

coarse hearthBOT
#

Voice verification

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

fierce onyx
dusty apex
#

hi @hollow helm

cold fulcrum
#

hi

#

why i mic not work

sleek parrot
#

rename to HRMAs

fierce onyx
#

hi joe_anime

#

@supple prairieo>5555

hidden cliff
#

@raw wren we're sorry, we'll stop now

karmic ginkgo
#

print("hello world")

quaint olive
#

@dusty apex

#

you wanna come down?

dusty apex
#

nah :(

#

come up

quaint olive
#

:/

dusty apex
#

yea i have cold

#

no

#

where is your friend potato

#

ooh

#

he won't be able to join for pyweek?

#

will you be there for pyweek?

#

ok nice

#

they might be homosexual

#

alright i will watch it currently i am coding

#

that IDE i was talking about

#

lol

#

no

#

i am thirteen

#

ooh

#

if potato drops out then we can keep him

#

alright

#

is that your friend?

#

i am coming wait

opaque radish
#

they're trying to help a guy without seeing what code he has

#

i can't

#

and he's not sending his updated code after attempted bug fixes

#

even worse is "is anyone here" and there's been a message 30 seconds agao

peak frigate
#

lol

opaque radish
#

5 second rule

#

imagine living in a city lol

stuck bluff
#

I think living in the city would kill me.

mild flume
peak frigate
mild flume
#

Delivery run, I'll probably hop on in the car (with the car audio system since I got so much shit for using my earbuds in the car before)

opaque radish
#

like for being distracted?

hearty heath
mild flume
hearty heath
#

Or like air pollution πŸ˜„

stuck bluff
hearty heath
#

Ah right

#

Hey Fisher πŸ‘€

#

Sooo... how is everyone? πŸ˜„

dusty apex
#

how are you

hearty heath
#

Trying to find every possible way to procrastinate πŸ˜„

peak frigate
#

@random minnow @hearty heath rate his accent 0-10

hearty heath
#

2 3

random minnow
#

2

peak frigate
random minnow
#

what am i rating

#

whose accent?

peak frigate
#

rabbit

#

did you not hear it lol

random minnow
#

ah

#

2

hearty heath
#

How's your mom? lemon_smug

runic knoll
#

fyi, that's my kind of joke
ask: "how's your mom"
and just leave it there
purposefully delay the justification

hearty heath
dusty apex
hearty heath
dusty apex
#

Β―_(ツ)_/Β―

peak frigate
#

a life of cheating and fear

opaque radish
#

why would you decide to become a teacher without knowing how to read

#

like, i get not knowing how to read when you're a kid

#

but when you're an adult you can make decisions, like learning to read

elder wraith
#

@stark saddle

opaque radish
#

cuddle is cute though

#

or wait: cubicle

opaque radish
#

i'm halfway through

hearty heath
#

"All my exes live in Texas" has a ring to it.

opaque radish
#

it rhymes

#

statistically there has to be someone

autumn raft
#

!voice @obsidian scarab

coarse hearthBOT
#

Voice verification

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

obsidian scarab
#

!voice

opaque radish
#

ban appeals seem like they would be fun though

dusty apex
opaque radish
#

i can't imagine a channel like pygen with image permslol

stuck bluff
opaque radish
#

no it won't

dusty apex
#

i am not gonna test it in pygen but i can show in other server

stark saddle
#

πŸŽ‰ down to 53 unread emails! πŸŽ‰

dusty apex
stark saddle
#

mhm

opaque radish
#

just click the read-all button

#

that way you'll have 0

#

if it really matters they'll just send another

peak frigate
#

^ my strategy for 2020

#

if it really matters they'll call me

mild flume
#

Wish I had that luxury

peak frigate
#

idioms

opaque radish
#

the worst is trying to express an idiom in another language

mild flume
#

Agreed

#

It's painful

true valley
#

ε₯½δΉ…不见

#

ε₯½δΉ…不見

#

Simplified, and traditional

dusty apex
peak frigate
#

i recognize the 1st and 4th

#

actually no i know all of them :D

runic knoll
#

hao ? bu jian?

opaque radish
#

my dad can beat up your dad

mild flume
#

Was just thinking that

runic knoll
#

Sapphire's Wolf

#

Sapir–Whorf hypothesis

autumn raft
#

meeting tiiime

runic knoll
#

The hypothesis of linguistic relativity, also known as the Sapir–Whorf hypothesis , the Whorf hypothesis, or Whorfianism, is a principle suggesting that the structure of a language affects its speakers' worldview or cognition, and thus people's perceptions are relative to their spoken language.
Linguistic relativity has been understood in many d...

true valley
#

Where -> Tell me the location of

dusty apex
#

Where were you-> tell me your location at that time?

#

^that seens a litle confronting

true valley
#

Who -> tell me the person that

#

what -> tell me the thing that

#

where -> tell me the place

runic knoll
#

wither?

#

whence?

frigid hatch
mild flume
#

I hate those ingrown hairs on facial hair

#

Those just hurt

frigid hatch
#

in my country

mild flume
#

.wa s 2.3 kg to lbs

ocean orbitBOT
runic knoll
runic knoll
tiny pumice
#

Hey folks

#

Bit feverish today and also have a class in 7 hours ><

misty sinew
#

is manlet a bad word

#

?

tiny pumice
#

It's derogatory, but I personally don't see it policed

misty sinew
tiny pumice
#

I think it is anyways, could be wrong

fossil citrus
#

In this regard, an AppImage is very similar to an .exe file on Windows or a .dmg file on the Mac. These files are normally prepared by the original application authors rather than by third parties. This ensures that the software works exactly the way the original application author has envisioned it to work. It also means that the application author does not have to follow arbitrary rules set by Linux distributions.

frigid hatch
#

i have an acer nitro with an rtx 3060

mild flume
tiny pumice
#

Fully remote

mild flume
#

That's good at least

tiny pumice
#

The city the campus is in is a hotspot

misty sinew
#

discod py library is closing

stuck bluff
#

Plates into a woodchipper. As each plate is smashed into a million tiny shards, its instruction is being run. As instructions are queued up, more plates go on top of the stack. Maybe. I don't know. I'm not a computer scientist.

tiny pumice
#

Already archived unfortunately

#

Alternatives will come up

mild flume
#

VCO is working on one actually

misty sinew
#

any other good python library?

mild flume
tiny pumice
#

But tbf Danny made a solid library given he's the sole maintainer

mild flume
#

True enough

#

But this was bound to happen BECAUSE he was the sole one

tiny pumice
#

I'm actually surprised that was the case

stuck bluff
#

He wasn't just a shoe-in?

misty sinew
#

burnout was inevitable i guess

tiny pumice
#

Big projects like these usually tend to form orgs

mild flume
#

Doesn't surprise me given how he operated

#

He didn't want anyone to taint his vision, which fair enough

misty sinew
#

egotistical but fair

tiny pumice
#

Perhaps he just wanted to have fun with it

#

I'm gonna spin up some slash command apps once I find the time

stark saddle
mild flume
runic knoll
#

mirrorless

mild flume
#

Most of the reviews are fairly happy with it

misty sinew
#

lol

#

Hello

tiny pumice
#

Greetings

#

Haven't heard of screamers in a while

misty sinew
#

raid sleeper cell edition

stuck bluff
#

Account compromise as a possibility.

#

Disillusionment. Falling out, so "fuck you all" kinda thing.

tiny pumice
#

Huh

misty sinew
#

isn't Schrodinger's douchebag a meme?

tiny pumice
#

It was more of a mockery, yeah

true valley
misty sinew
#

dune is like allegory for islam

raw wren
#

Grant it I didn’t write any of the code and the tool was already made. But I did have to mod my kinect

misty sinew
#

i read the first 3 dune books. then his son start writing it

#

or something

stark saddle
true valley
misty sinew
#

harry potter would have been a good tv series

stark saddle
#

fear is the mindkiller

stuck bluff
#

Hemlock: Aquarium dweller.

raw wren
misty sinew
#

jk

raw wren
tiny pumice
#

Phone likes to kill background apps for no reason

#

Ergh

raw wren
#

Yeah, lemme find the video

misty sinew
#

i have seen it

raw wren
#

Oh ok

misty sinew
#

check the channel called stuff made here

misty sinew
tiny pumice
#

Yeah

misty sinew
#

i think its some option in developer options thats doing that

elder wraith
tiny pumice
#

Got disconnected twice on call already so yep

misty sinew
#

hey anyone have any good study materials to get started with python

tiny pumice
#

There were a few instances when I fell asleep while still on voice

#

Waking up hours later

elder wraith
#

Sounds like bug in your OS

tiny pumice
#

Yeah MIUI optimizations are hyperagressive

#

Just have to bank on objects being collected once they're out of scope

#

But that's not really something you worry about a lot

mild flume
#

So the profilers, are those supposed to improve performance during use, similar to a JIT?

tiny pumice
#

Oh well, I'll brb

mild flume
#

Need me to adjust it?

misty sinew
#

bye guys

tiny pumice
#

Something something memory tracking/call stack costs

mild flume
#

It's not something you'd want run in production, right?

tiny pumice
#

Usually just something in your testing pipeline

#

But you can definitely run a profiler in prod if you're brave enough

true valley
#

"almost 1 in 4 Americans do not have a primary care provider" -Office of Disease Prevention

elder wraith
#

Most do but most prod languages are not python.

frigid hatch
true valley
# elder wraith Sounds right

I'm helping my wife with her homework, the stats are horrific ie. "Approximately 1 in 5 Americans (children and adults under age 65) do not have medical insurance."

mild flume
#
@property
def website_name(self) -> str:
  return self.__website_name
elder wraith
tiny pumice
#

gtg folks, see y'all later

mild flume
#

Did I do it wrong?

sage shuttle
#

No, that's used somewhat often, but that isn't to say I don't strongly dislike it

mild flume
#

I'm just copying what he had

sage shuttle
#

Oh lol

mild flume
#

Just added the string type hint

#

Since he was asking about that

true valley
mild flume
#

Scared me, thought I'd been doing returning type hints wrong

true valley
#

Radiofacsimile, radiofax or HF fax is an analogue mode for transmitting monochrome images via high frequency (HF) radio waves. It was the predecessor to slow-scan television (SSTV). It was the primary method of sending photographs from remote sites (especially islands) from the 1930s to the early 1970s. It is still in limited use for transmittin...

mild flume
#

That'll tell you what you need to know

potent fog
#

Hello

#

Okay

true valley
#

The Finch Facsimile

mild flume
#

@daring walrus Check out the #voice-verification channel. That'll tell you what you need to know

daring walrus
#

@mild flume Thanks

rotund geode
#

/

runic knoll
#

Chinese preschool really does seem to consist of sitting still. Unless given different orders, all students were required to sit in their seats with their arms at their sides, and their feet flat on a line of tape on the ground. This is not an easy task for three-year-olds.

There were two teachers in the classroom with a classic good cop/bad cop dynamic. The good cop stood in the front of the room with the desks splayed out before her. She would give simple instructions like orders to get food, water, or sometimes paint, though usually she said nothing at all. The bad cop was another teacher who prowled the classroom. Any time she saw a student remove a foot from the line, move arms from his side, or otherwise deviate from the instructions, she would yell at the student to fall back in line. Lenora spent about a week watching tiny kids get screamed at for trying to get water, shifting in their chairs, or talking to classmates.
https://slatestarcodex.com/2020/01/22/book-review-review-little-soldiers/

meager laurel
runic knoll
#

Critical theory (also capitalized as Critical Theory) is an approach to social philosophy that focuses on reflective assessment and critique of society and culture in order to reveal and challenge power structures. With roots in sociology and literary criticism, it argues that social problems stem more from social structures and cultural assumpt...

meager laurel
# meager laurel
WIN = pygame.display.set_mode((900, 500))

ship_height, ship_width = 55, 40    
img1 = pygame.image.load(os.path.join("games.pygame","Assets", "ship1.png"))

img11 = pygame.transform.rotate(pygame.transform.scale(img1, (ship_width,ship_height)), 90)

img2 = pygame.image.load(os.path.join("games.pygame","Assets", "ship2.png"))    
   
img22 = pygame.transform.rotate(pygame.transform.scale(img2, (ship_width,ship_height)), 270)

SPEED = 5

def colors(red , yellow):
    #WHITE = 255, 255, 250
    #WIN.fill(WHITE)
    
    WIN.blit(img11, (yellow.x, yellow.y))
    WIN.blit(img22, (red.x, red.y))
    pygame.display.update()
    
def controls(yellow):
    keys_pressed = pygame.key.get_pressed()
    if keys_pressed[pygame.K_a]: # Left
        yellow.x -= 1
    if keys_pressed[pygame.K_d]: # Right
        yellow.x += 1
    if keys_pressed[pygame.K_w]:
        yellow.y -= 1
    if keys_pressed[pygame.K_s]:
        yellow.y += 1

def starter():
    red = pygame.Rect(300, 100 , ship_width, ship_height)
    yellow = pygame.Rect(700, 100 , ship_width, ship_height)
    red.x += 1
    clock = pygame.time.Clock()
    YEP = True
    while YEP:
        clock.tick(60)
        #red.x += 1
        #yellow.y += 10
        colors(red , yellow)
        controls(yellow)
        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                YEP = False
                         
    pygame.quit()```
sage shuttle
runic knoll
#

If the editor somehow decides to accept this paper, they risk permanently destroying the credibility of this journal and its entire editorial board. As well as every author who has published in this journal or will do so in the future.

https://medscicommunications.com/2020/09/30/the-best-worst-reviewer-comments/

MedSci Communications

Reviewer comments are the most anxiety-laden, occasionally joyful, but often disheartening and painful element of peer-review. This week I share some of the harshest reviewer comments.

meager laurel
runic knoll
#
  1. The author should abandon the premise that his work can be considered research.
runic flame
#

I want this into a fraction 0.16666666666666669

#

3002399751580331/18014398509481984

sage shuttle
#

1 ^6?

mild flume
sage shuttle
#

!e print(1/6)

coarse hearthBOT
#

@sage shuttle :white_check_mark: Your eval job has completed with return code 0.

0.16666666666666666
sage shuttle
#

!e ```py
import decimal

print(decimal.Decimal(1) /decimal.Decimal(6))

coarse hearthBOT
#

@sage shuttle :white_check_mark: Your eval job has completed with return code 0.

0.1666666666666666666666666667
mild flume
#

!e

from fractions import Fraction
print(Fraction(1/6).limit_denominator())
coarse hearthBOT
#

@mild flume :white_check_mark: Your eval job has completed with return code 0.

1/6
sage shuttle
sage shuttle
#

@safe agate

#

!code

coarse hearthBOT
#

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.

runic flame
#

@mild flume thankyou the code worked

safe agate
#
require("dotenv").config();
const Discord = require("discord.js");
const axios = require("axios");
const prefix = "!";
let args = "";
let data = "";
function getRandomIntInclusive(min, max) {
  min = Math.ceil(min);
  max = Math.floor(max);
  return Math.floor(Math.random() * (max - min + 1) + min);
}
const client = new Discord.Client({ intents: ["GUILDS", "GUILD_MESSAGES"] });
client.on("ready", () => {
  console.log(`${client.user.tag}has logged in`);
});
client.on("message", (message) => {
  console.log(`[${message.author.tag}]:${message.content}`);
  if (message.content.charAt(0) === "!") {
    args = message.content.substring(prefix.length).split(" ");
    console.log(args);
    switch (args[0]) {
      case "news":
        if (!args[1]) {
          message.channel.send("you need to provide a category");
        } else {
          run = async () => {
            const [a, ...b] = args;
            args = "";
            let search = b.reduce((res, item) => (res = res + " " + item));
            console.log(search);
            //   switch()
            axios
              .get(
                `https://newsapi.org/v2/everything?q=${search}&apiKey=${process.env.API}`
              )
              .then((res) => {
                let n = res.data.articles.length;
                let index = getRandomIntInclusive(0, n - 1);
                console.log(index);
                data = res.data.articles[index].url;
                console.log(data);
                message.channel.send(
                  `Here is the news You're looking for...${data}`
                );
                data = "";
              })
              .catch((err) => {
                console.log(err);
                message.channel.send("OOps! can't find a news");
              });
          };
          run();
        }
    }
  }
});
client.login(process.env.TOKEN);

#

@sage shuttle

sage shuttle
runic knoll
raven orbit
dusty apex
raven orbit
#
eli@parsley:~$ ls -al ~/.ssh
total 20
drwx------  2 eli eli 4096 May 26 11:03 .
drwxr-xr-x 38 eli eli 4096 Aug 30 21:23 ..
-rw-------  1 eli eli  484 May 26 11:03 id_ed25519
-rw-r--r--  1 eli eli  116 May 26 11:03 id_ed25519.pub
-rw-r--r--  1 eli eli 1326 May 26 11:08 known_hosts
eli@parsley:~$ 
#

keepassxc

dusty apex
#

!pypi dumpling

coarse hearthBOT
misty sinew
#

!pyp

#

!pypi

coarse hearthBOT
#
Missing required argument

package

#
Command Help

!pypi <package>
Can also use: pack, package

Provide information about a specific package from PyPI.

dusty apex
#

yo@raven orbit you were talking about it some days ago and it happened

cursive ledge
#

can someone help me to install flask

#

on pycharm community

raven orbit
#

pip install Flask

dusty apex
raven orbit
#

!pypi Flask

coarse hearthBOT
#

A simple framework for building complex web applications.

raven orbit
cursive ledge
#

i should put it in the terminal ?

raven orbit
#

wait

cursive ledge
#

i am in voice chat 1

#

but i can't talk

#

could u demonstrate it pls

raven orbit
#

can you post a screenshot of your pycharm

#

the whole window

cursive ledge
#

so what should i do ?

#

no mac

#

i opened it

raven orbit
#

if you type pwd what does it show

dusty apex
#

small f also works

#

Β―_(ツ)_/Β―

cursive ledge
#

thx man

#

really appreciate it

raven orbit
#

np lol

cursive ledge
#

beginner problems

dusty apex
#

ssh-ed25519 AAAAC3Nbadstuffwrittenherex/g1234567 example@gmail.com

#

@raven orbit sad we can't talk

raven orbit
#

indeed

#

rip that stream

dusty apex
#

i replied to wrong message

raven orbit
#

i saw

dusty apex
#

dont know how many times people have scolded me for replying to the wrong guy in pygen

misty sinew
#

@misty sinewoi

dusty apex
#

why did you del your message verboof

#

bruh

#

is python discord glitching

raven orbit
#

when xithrius is c o n f u z

dusty apex
#

yea lol

#

hes contacting support

#

chris stream lets go

raven orbit
#

"halp pc is broken"

misty sinew
dusty apex
#

rip stream again

misty sinew
#

you working on python or anything

raven orbit
#

@misty sinew why don't you voice-verify btw?

#

same for jis0324

dusty apex
#

!voice

coarse hearthBOT
#

Voice verification

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

misty sinew
#

don't know what it is

raven orbit
#

oh

#

it gives you a voice role

misty sinew
#

I verified.

raven orbit
#

so you can speak

misty sinew
#

how do I do it

raven orbit
misty sinew
#

you can say in channel with voice verify badge.

raven orbit
misty sinew
#

I did

#

it's this one right

raven orbit
#

yes

#

go there

misty sinew
#

ya

raven orbit
#

and do what it says

#

I can't see it

#

so can't help you in there

misty sinew
#

I did

#

got a bot message

#

but that's it

raven orbit
misty sinew
#

I mean like voice using mic

#

I got the bot message

raven orbit
#

ik

misty sinew
#

just doesn't do anythink

#

anything*

raven orbit
#

it does

#

you can now talk in those other channels I mentioned

misty sinew
#

🀨

raven orbit
#

in those other channels you're no longer muted

misty sinew
#

ohhhhhhhhhhhhhhhhh

#

my bad

raven orbit
#

only in the one we are now in

#

lol

misty sinew
#

oh fair fair

#

my bad

#

πŸ˜‚

raven orbit
#

lol np

misty sinew
#

btw bruv

#

you busy rn

raven orbit
#

hmm?

misty sinew
#

working on anything

raven orbit
#

uh

#

not very

#

why?

raven orbit
#

yeah let's

misty sinew
#

I just have a question about attribute errors

#

I'm not expert in OOP

raven orbit
misty sinew
#

but been trying to learn it and build something in PyQt5

raven orbit
#

and explain

misty sinew
#

give me min mate

#

bruvs in my room

raven orbit
#

<#channelid>

#

<@userid>

dusty apex
#

@little hound

misty sinew
#

alright bruv

#

so just wondering as a general concept in OOP

dusty apex
misty sinew
#

how can I use both class A and B and have all the attributes of both classes able to be used in each .

#

hope that makes sense

#

@raven orbitBeen trying to do it but thing is

#

with the PyQt5 layout

#

look's ugly asf

#

so let's say

#

I have class A

#

contains the first window of the user interface

#

but when I switch to a different window

#

the functions contained within class A

#

won't work in class B

dusty apex
#

what are you using as the layout is QMainWindow?

misty sinew
#

or is there a way out

misty sinew
dusty apex
misty sinew
#

@raven orbitit's all good I'm just having more of a logical error then Qt error

misty sinew
#

and everything contained within it

#

is the methods

dusty apex
misty sinew
#

class A B etc

#

would be just multiple windows

dusty apex
misty sinew
#

@dusty apex

#

Video #2 in a tutorial series for building a fully functional app with PyQt5. In this video, you'll learn how to create the Login Screen for the application as well as connect the application to a database in order to validate user information.

Playlist link: https://www.youtube.com/playlist?list=PLs3IFJPw3G9LTcNjRVR6BSJwUaoj44rCV

In this vide...

β–Ά Play video
#

you can watch this link it's pretty good thing is

#

I was following her layout

#

but

dusty apex
misty sinew
#

for mine I had a function which I want to run after a widget is clicked in the first window

#

or first QMainWindow

dusty apex
misty sinew
#

and within it

misty sinew
#

there's just a X.clicked.connect() function

misty sinew
#

which will switch to a different window

#

does the make sense

misty sinew
dusty apex
misty sinew
#

the object name is Play but don't worry about that

misty sinew
#

issue is

#

and I'm curious how it works with OOP

#

is it possible so that when I click Qpushbutton

#

and it switches to a different window

#

but the second it does that

#

it runs the function that I specifyed it to run.

dusty apex
misty sinew
#

yes it's in the same exact code

#

not in a different .py file

dusty apex
#

alright

#

i mean you can do something like

misty sinew
#

you want me to also send you what I mean

#

like the function I'm talking about

raven orbit
dusty apex
#
@QtCore.Slot()
    def on_click(self):
        self.main_window: QMainWindow
        self.b_class: B
        self.main_window.setCentralWidget(self.b_class)
        self.your_func()
misty sinew
#

so self.b_class would just allow attribute of class permission in the function.

#

@dusty apexI was wondering where you let

#

left*

marsh spear
#

why cant you speak

dusty apex
dusty apex
coarse hearthBOT
#

Voice verification

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

misty sinew
#

allowing the methods from class B to be used in method on_click

dusty apex
misty sinew
#

like becaused Qt designer

dusty apex
misty sinew
#

all the objects are just from class Main

marsh spear
#

ok

dusty apex
#

here is how i do buttons and all QtWidgets objects

misty sinew
#

here

misty sinew
#

you use pure python code instead of using

#

qt designer*

dusty apex
misty sinew
#

fair enough what's why I had to fix mine up

#

it kinda sucks mid way

#

when you try to use the attributes of the UI file

#

but it'x in XML code

#

so you don't actually have the full widget defined as an object if that makes sense

#

here though

#

the way he did it though

#

was he complied the Ui file

dusty apex
#

well i havent used XML to design Qt stuff i just use normal coding

misty sinew
#

and it defines an the objects in python code

#

which is way better honestly

#

with pyuic

misty sinew
#

but the thing is that I'm wondering

#

what if you have multiple python files

dusty apex
misty sinew
#

for different userinterfaces

#

how did you deal with that

dusty apex
misty sinew
#

what's up

dusty apex
misty sinew
#

no πŸ˜…

#

I mean the picture

#

what about it

dusty apex
#

you can check everything here

misty sinew
#

sure

#

btw

#

can I send you my code if that's fine

dusty apex
#

!paste

coarse hearthBOT
#

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.

misty sinew
#

I'll edit it though looks off rn

#

@worthy stumphello

dusty apex
molten ocean
#
from django.shortcuts import render, get_object_or_404
from django.http import HttpResponse, HttpResponseRedirect
from django.urls import reverse
# Create your views here.
from . models import Question
def home(request):
     latest_questions = Question.objects.order_by('-pub_date')[:5]
     context =  {
         'latest_questions': latest_questions
        }
     return render(request, 'polls/home.html', context )
    # the context forms the bridge between the html and the objects stored in the sqlite database
    # pub_date was one of the parameters for our question objects, using the order_by function will order
    # the question objects by creation date.

## the text inside of http response is the text that we are passing directly to the website in http format

def detail(request, question_id):
    question = get_object_or_404(Question, pk=question_id)
    context = {'question': question}
    return render(request,"polls/detail.html", context)
#
# question = Question.object.get(pk = question_id)
# this creates a variable called question_id with the goal of linking each question in our database with
# a unique question id
# the above question definition expands on this approach by allowing django to return a 404 error if the
# object being searched for doesn't exist.
def results(request, question_id):
    question = get_object_or_404(Question, pk=question_id)
    return render(request,"polls/results.html",{'question': question})

def vote(request, question_id):
    question = get_object_or_404(Question, pk=question_id)

    try:
        selected_choice= question.choice_set.get(pk = request.POST['choice'])
    except:
        return render(request,'polls/detail.html',{'question': question, 'error_message':'please select a choice'} )
    else:
        selected_choice.votes+=1
        selected_choice.save()

        return HttpResponseRedirect(reverse('polls:results'), args=(question.id,))

# the inclusion of a try/except statement here will allow django to return an error message to the user if
# they haven't selected anything
# request.post returns a dictionary like object that allows you to access submitted data via a key name.
# in this case, request.post will return the id of the choice object created from user input, if no such
# object exists, our try/except blocks will catch the error and return an error message to the user.
# the reverse function takes two params, what your destination is (polls:results) and what we are pass

#
from django.urls import path
from django.conf.urls import url
from . import views

## this allows you to connect the urls file to the views file, the views file allows you
##to access templates, this command passes them to the local urls file, and the include function we typed
## in the mysite directory passes the urls from this file to the main site urls, which is where they are displayed
## from
urlpatterns = [
    path('', views.home, name='home-page'),
    ##url(r'^$', views.home, name= "home") does the same thing as the above code
    ## this passes arguements to the url extension where we specified our include function
    ## in this case, views.home is being displayed at 127.0.0.1:8000/polls/
    url(r'^(?P<question_id>[0-9]+)/$', views.detail, name="detail"),
    ## the ?P tells the interpreter that this is a string
    ## this is then set equal to the question id value
    ## the 0 to 9 says that its supposed to be a digit from 0 to 9 and then ends it with the plus sign
    ## this url links to 127.0.0.1:8000/polls/1 or whatever question number
    url(r'^(?P<question_id>[0-9]+)/results$', views.results, name="results"),
    ## this url links to 127.0.0.1:8000/polls/1/results
    ## the dollar sign ends the url string, in the first example, not adding to the path before the $ redirects to the
    ## homepage
    url(r'^(?P<question_id>[0-9]+)/vote$', views.vote, name="vote"),
    ## this url links to 127.0.0.1:8000/polls/1/vote
#

NoReverseMatch at /polls/1/vote
Reverse for 'results' with no arguments not found. 1 pattern(s) tried: ['polls/(?P<question_id>[0-9]+)/results$']

misty sinew
#

@dusty apexyou there

dusty apex
misty sinew
#

did you check the code

#

I can screen share instead

#

and show you how it functions

dusty apex
misty sinew
#

nah it's all good mate

#

I'm going to get some water

#

give me min

dusty apex
#

{'import': ['requests', 'json'], 'from': ['Flask'], 'as': []}

#

it returns this empty list

misty sinew
#

@dusty apexcan I screen share and show you