#voice-chat-text-0

1 messages Β· Page 45 of 1

vocal basin
#

everything wrong with threads.

whole bear
#

thats what i do is just chuck more threads

vocal basin
#

you don't need 1000 threads to handle 1000 requests at once

#

en masse, you only really need threads for CPU-bound stuff

whole bear
#

i mainly used flask for apis anyway

vocal basin
whole bear
#

put a cache system in

#

would fix the problem somewhat

vocal basin
vocal basin
vocal basin
whole bear
#

i use to be able to handle around 6000-10000 rps from a ddos attack with flask

vocal basin
whole bear
#

well i ran it through CF

#

so CF blocked most

vocal basin
#

well

#

then you were not handling 6000+ requests by flask then

whole bear
#

thats what got into my backend

#

cf was blocking over 500k +

vocal basin
frosty star
#

haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay

whole bear
#

it was processing all of the 6000-10k req

vocal basin
#

okay

frosty star
#

i'm workin so cant rly talk but I will be listening

frosty star
vocal basin
whole bear
#

didnt know about it at the time

whole bear
vocal basin
whole bear
#

i mean gunicorn still made a massive difference

#

without i could only handle 500, with it i could handle 5000+

vocal basin
vocal basin
whole bear
#

4

#

it actually wanted more ram

whole bear
#

i had a 4 core 12 gig ram

#

almost never went past 60% cpu

vocal basin
#

it needs to queue requests somewhere (therefore RAM usage)
under the hood it actually quite probably does async and stuff

#

10x speed up is probably from 4-8x by cores and something else thanks to optimisation

#

also older browsers may have mishandled response headers

#

UDP + NTP
glorious

#

NTP multiplies it

whole bear
#

amp attack yes

vocal basin
#

like, respond with last 200 requests
and you can spoof where it will send back

#

to be fair, there was a weirder number
like 600

#

any unlimited amplification is bad in general
you wouldn't really want yourself as an NTP server operator allowing that inadequate request to receive any response in the first place

#

they are a private company

#

they do whatever the f they want

#

it was never open

#

OpenAI is not open

#

unrestricted information results in unrestricted misinformation also
so there's that non-trivial choice

warped raft
#

what are you doing @lunar haven

#

are you creating something

#

ok

#

are you a mod

#

how are you able to stream

somber heath
#

@bleak copper πŸ‘‹

#

@cedar bough πŸ‘‹

bleak copper
#

can I talk in here?

#

Hey I can!

#

@somber heath Hello

somber heath
#

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

bleak copper
#

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

somber heath
stray niche
#

@somber heath

somber heath
stray niche
#

the quick broen fox jumped over the lazy dog

willow lynx
#

What's this

stray niche
#

Two-Dots

willow lynx
#

You've built?

somber heath
#

@gritty solar πŸ‘‹

gritty solar
stray niche
#

byee @willow lynx

somber heath
#

@idle shadow πŸ‘‹

idle shadow
#

πŸ‘‹

somber heath
#

@dire wedge πŸ‘‹

dire wedge
#

Greetings!

somber heath
#

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

vocal basin
#

speaking of data manipulation
I need to do that in real time

vocal basin
#

data manipulation in real time

warm jackal
stray niche
#

Brb

warm jackal
vocal basin
warm jackal
vocal basin
#

low latency

#
  1. it's over the network, so language speed doesn't really matter
  2. the library, that is required, is written in python (and making interface to some other language would be unreasonable)
somber heath
#

@open oar πŸ‘‹

vocal basin
#

discord has connection issues lately

#

I heard something

vocal basin
somber heath
#

If only every commercial featured Log from The Ren & Stimpy Show. If only.

Scene from the first episode of The Ren & Stimpy Show, "Stimpy's Big Day."

β–Ίβ–Ί Subscribe for More: https://at.nick.com/NickRewindSubscribe
β–Ίβ–Ί Watch More from NickRewind: https://at.nick.com/NewRewindVideos
β–Ίβ–Ί All That on YouTube: https://at.nick.com/AllThat
β–Ίβ–Ί Nickelode...

β–Ά Play video
stray niche
#

Internet troubles

winged hinge
#

Hazel
Cowslip
General Woundwort
Threarah
Captain Campion
Groundsel
Granite
Buttercup
Hickory
Hyzenthlay
Flyairth
Prake
Moss
Bigwig
Burdock

stray niche
#

Speedy

neon orbit
#

Is that a hobbit reference??

stray niche
#

rabbit

somber heath
#

Watership Down.

stray niche
#

ribbit

neon orbit
#

Btw hey Opal!

winged hinge
dry jasper
#

flappie

neon orbit
#

Rabbit names??

winged hinge
#

yeah

neon orbit
#

Skoll

winged hinge
neon orbit
#

SkΓΆll

waxen barn
#

Yo do one of you maybe have a link to waste bin I can't find it

neon orbit
#

It means bringer of night

neon orbit
#

Carrot

#

Skati?

#

Tu'er shen

#

Freya and Freyr

somber heath
#

@plucky stone πŸ‘‹

neon orbit
#

Chandra might be a noice name

stray niche
#

πŸ‘‹

neon orbit
#

Heyo sam!

#

Bye bye Opal!

somber heath
#

Naya.

#

@wary jackal πŸ‘‹

stray niche
#

I heard something but not coming back

#

I'll be back in 10

somber heath
#

"Bye"

#

@arctic dove πŸ‘‹

winged hinge
#

@stray niche have some paneeeeeeeeeeeeeeeeeeeer

winged hinge
#

@warm jackal you want some?

#

I bet you are missing it

stuck sky
#

ohh

#

employees

#

β˜•

warm jackal
warm jackal
warm jackal
warm jackal
#

#ChillGangster

#

Just now

stray niche
#

@lavish rover bye

#

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

plucky stone
#

e

#

lalalalalla

#

lalalalalal ahehehhehe HEHEHEHE

#

I like coding !! :D Golden retrieivng

#

ya

#

50 messg

#

Ok no worry thx

#

YEHH

#

HK

#

Hong kong

#

And u?

#

Thx

#

Cantonese mandarin and english

#

Nice India has nice food

#

lol

#

δΈ­ζ–‡ζŒΊε₯½

winged hinge
plucky stone
#

Yesz

plucky stone
#

First time use server

#

joined long time ago

#

Yeh

#

I have three days

#

Thx Ok pithink

stray niche
#

!user

wise cargoBOT
#

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

plucky stone
#

yeh

#

Ok thx

#

Yeh

#

Ok brainmon

#

Student

#

U ?

#

School

#

17 Years old

#

Small child

#

Thx

#

I just need python to automate somethign

#

For my music

#

Free promotion

#

Ya new coding

stray niche
#

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

plucky stone
#

Thx

#

Okoeeee

#

Hip Hop Rap

#

But I play instrument

#

Hello @ruby hatch

#

piano

#

U ? WWW

ruby hatch
#

Goodbye

plucky stone
#

!user

wise cargoBOT
#

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

plucky stone
#

Cant unmute

#

Its red

#

ya

#

I join next time

stray niche
#

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

plucky stone
#

what do i do in voice verifiecatin

stray niche
#

!voice

plucky stone
#

ae

#

ef

#

Yea doenst work

#

Get more messages

#

AFter I typed

#

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

stray niche
#

!voiceverify

somber heath
#

@clever flume πŸ‘‹

vocal basin
#

now it's time to name classes correctly

echo ivy
#

hello

somber heath
#

@echo ivy

echo ivy
#

can i screen share my resume and tell me if its good

#

ah shoot

#

i cant screen share

#

oh

#

damn

#

server so serious

#

I see

#

thanks for the info

#

yeah yeah makes sense

somber heath
#

@wicked river πŸ‘‹

wicked river
vocal basin
# vocal basin now it's time to name classes correctly

"Worker" and "Pool" will stay as they are
"Job" is unlikely to change
simpler unit of a Job still has no proper name (it's not a task though)
same for worker-task pair
and for context-manager of a Job
"State" is the least descriptive amongst all of them

#

async

#

lectures about async in Rust and JS help to understand async in general

#

they are rolling out the new font

#

it had ... for a relatively long time

#

I'm still too noob and too broke to use kubernetes

whole bear
#

looks like the dog is asking about backend python stuff lol

vocal basin
molten bronze
#

voice!

#

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

molten bronze
#

I DID and i have been 3 days here

#

i did that

vocal basin
#

50 messages have extra nuances

molten bronze
#

and i havent met 3 days

#

u.u ok i will wait christmas days

somber heath
#

@jagged jewel πŸ‘‹

ivory stump
#

I did some digging for you and it'll be 3 full days in about 8 and a half hours, so it should work then

jagged jewel
#

Hi all

#

Compliments, first timer πŸ™‚

dense ibex
#

@zenith radish I said congratulations do u want a medal

#

but my mic isn't plugged in

somber heath
#

@rapid chasm πŸ‘‹

rapid chasm
hardy cloud
#

@honest torrent pepe got freed

honest torrent
#

no way

hardy cloud
#

he told me he did

#

15 mins after I pinged admin

honest torrent
#

lets see how long it takes for him to get banned again

hardy cloud
#

1 day he said

honest torrent
#

banned speedrun

hardy cloud
#

he got banned for threatening me lol

honest torrent
#

yh i saw

#

he did it in private dms right?

hardy cloud
#

no in this chat

honest torrent
#

oh lol

hardy cloud
#

and someone prob told an admin and then banned

hearty scroll
somber heath
#

@modest widget πŸ‘‹

modest widget
robust lichen
#

me not understanding anything these guys are saying

#

@hearty scroll

#

@peak copper

lucid blade
#

^ reddit video compilation generator

somber heath
#

@vernal light πŸ‘‹

vernal light
somber heath
#

@livid matrix πŸ‘‹

#

"You have 99 problems. You use regex to solve one. You now have 100 problems."

somber heath
#

@whole bear πŸ‘‹

neon orbit
#

@somber heath There's a lot here damn

#

Zucc if he had an updated software and hardware

solid comet
#

Hey all!

molten bronze
#

u.u what project i can do in python

molten bronze
#

voice!

#

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

cinder dawn
#

this gofek mf still at it

somber heath
#

No.

honest torrent
#

gonna deafen

#

playing ps4 rn

vestal mason
#

whats everyone up to?

whole bear
#
import pandas as pd

# Load the excel file
df = pd.read_excel('file.xlsx')

# Print the first five rows of the dataframe
print(df.head())
#

took me like 10 min

vestal mason
#

what are you working on?

vocal basin
#

depends on what terminal you use

lucid blade
robust lichen
lucid blade
honest torrent
#

gonna head out

somber heath
#

!e Equality vs identity.py a = [] b = [] c = a print(a == b) #True. a points to a list that is equal to the list that b points to print(a is b) #False. The list that a points to is a different list than the the list that b points to. print(a is c) #True. The list that a points to is the one, same list that b points to.

wise cargoBOT
#

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

001 | True
002 | False
003 | True
somber heath
#

!e The meaning of self. ```py
class MyClass:
def is_self(self, obj):
print(self is obj)

a = MyClass()
a.is_self(a)```

wise cargoBOT
#

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

True
somber heath
#

a left of . is given as self, a right of . is given as obj

somber heath
#

!e ```py
def class_decorator_with_parameters(a):
def d(cls):
class C(cls):
def init(self):
print(a)
super().init()
return C
return d

@class_decorator_with_parameters("Apples.")
class MyClass:
def init(self):
print("Native.")

mc = MyClass()```

wise cargoBOT
#

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

001 | Apples.
002 | Native.
azure rivet
#

Doesn't it call the __init__ dunder method for the parent class

worn blade
#

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

azure rivet
#

Like super().__init__() or do you have to specify something else

#

Okok

somber heath
#

!e ```py
class A:
def a(self):
print("A")

def b(self):
    print("B")

class B(A):
def b(self):
print("C")

a = A()
b = B()

a.a()
a.b()

b.a()
b.b()```

wise cargoBOT
#

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

001 | A
002 | B
003 | A
004 | C
somber heath
#

!e ```py
class A:
def method(self):
print("A")

class B(A):
def method(self):
super().method()
print("B")

b = B()
b.method()```

wise cargoBOT
#

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

001 | A
002 | B
somber heath
#

!e ```py
class A:
def method(self):
print("A")

class B(A):
def method(self):
#super().method()
print("B")

b = B()
b.method()```

wise cargoBOT
#

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

B
stray niche
#

Your mini lessons makes me want to learn python faster and get to this

#

Cyall

somber heath
#

@undone ruin @zinc elm πŸ‘‹

undone ruin
#

Hola

somber heath
#

!e ```py
class A:
def method(self):
print(self)

class B(A):
def method(self):
super().method()
print(self)

b = B()
b.method()```

wise cargoBOT
#

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

001 | <__main__.B object at 0x7f99f7850250>
002 | <__main__.B object at 0x7f99f7850250>
#

@lunar haven :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | <__main__.B object at 0x7fb56efd0310> Class A
002 | <__main__.B object at 0x7fb56efd0310>
somber heath
#

!d super

wise cargoBOT
#

class super``````py

class super(type, object_or_type=None)```
Return a proxy object that delegates method calls to a parent or sibling class of *type*. This is useful for accessing inherited methods that have been overridden in a class.

The *object\_or\_type* determines the [method resolution order](https://docs.python.org/3/glossary.html#term-method-resolution-order) to be searched. The search starts from the class right after the *type*.

For example, if [`__mro__`](https://docs.python.org/3/library/stdtypes.html#class.__mro__ "class.__mro__") of *object\_or\_type* is `D -> B -> C -> A -> object` and the value of *type* is `B`, then [`super()`](https://docs.python.org/3/library/functions.html#super "super") searches `C -> A -> object`.

The [`__mro__`](https://docs.python.org/3/library/stdtypes.html#class.__mro__ "class.__mro__") attribute of the *object\_or\_type* lists the method resolution search order used by both [`getattr()`](https://docs.python.org/3/library/functions.html#getattr "getattr") and [`super()`](https://docs.python.org/3/library/functions.html#super "super"). The attribute is dynamic and can change whenever the inheritance hierarchy is updated.
somber heath
#

!e ```py
def decorator(cls):
class C(cls):
def init(self, *args, **kwargs):
print("Decorator init")
super().init(*args, **kwargs)
return C

@decorator
class MyClass:
def init(self):
print("MyClass init")

mc = MyClass()```

wise cargoBOT
#

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

001 | Decorator init
002 | MyClass init
somber heath
#
class MyClass:
    ...

MyClass = decorator(MyClass)

mc = MyClass()```
azure rivet
#
decorator(Myclass)()
somber heath
#

mc =

pine blaze
#

hello! oden

azure rivet
#

Hello

#
class App(Tk):
    def __init__(self):
    super().__init__()
pine blaze
#

i learned from corey schafer too

#

a bit tho

neon orbit
#

I love this paragraph

vocal basin
#

atomic as in can't separate

#

Go is GC'd so not really C-ish

#

garbage collected

#

C++ has optional garbage collection, by the way

#

you can't turn it on though

#

google iirc

#

objective c

#

it's bad from what I know

#

or just weird

#

hope, it's at least performant

#

apple do swift now

#

there are multiple owners of pydis based on the roles

#

Lemon and some others

pine blaze
#

i told you oden before

#

in 1991

somber heath
vocal basin
#

coding with two thumbs on a phone: fine
coding with two thumbs on a pc keyboard: πŸ’€

#

lmao I heard "RSA"

#

(like, encryption)

vocal basin
pine blaze
#

you have this gofek?

#

it looks weird

#

gofek you got RTX ?

#

yea

#

even though in coding i don't think you need much gpu

#

ok this is yours?

#

those are cushions??

#

c and c++ are hacking lanuages? right?

vocal basin
pine blaze
#

hacking sense -_-

#

nvm

vocal basin
#

most exploits are executable with even python and stuff

pine blaze
#

idk that

vocal basin
#

being unsafe

pine blaze
#

gofek u making openai alike??

#

openai is beyond lol nvm

vocal basin
#

the world needs a petition to rename OpenAI into ClosedAI given company's policies on releasing models

pine blaze
#

see im smoll then you guys , so don't much rn

#

since when are you learning gofek?

#

?

#

hey gofek

vocal basin
#

VS Code

#

Pylance/Pyright type checker is superior to PyCharm's one

pine blaze
#

pycharm good

vocal basin
#

PyCharm is a good IDE

#

there's also an option to use VS not VS Code

pine blaze
#

what IDLE?

vocal basin
#

built-in with most desktop python installations

#

android + termux + vim = best

azure rivet
#

pydriod best ide change my mind

vocal basin
#

I will test VS Code from my phone now

#

I have my own VS Code server

pine blaze
#

what is complex() i mean what is the use of it

vocal basin
pine blaze
#

ok ty

vocal basin
pine blaze
#

sry im begginer so idk all basic

vocal basin
#

PyCharm is a little better for beginners

pine blaze
#

i use that only

#

im learning for w3school

#

from^

vocal basin
vocal basin
pine blaze
#

learn from docs seems boring a bit

vocal basin
#

python has tutorial

#
#

it's not interactive, sadly

vocal basin
pine blaze
#

yes

#

how abt w3school ?

vocal basin
#

I rarely refer to it but it's quite fine

pine blaze
#

you in university something

vocal basin
pine blaze
#

you all are old guyz πŸ˜…

vocal basin
pine blaze
#

oh

#

can you please explain me classes

#

i don't get why it is used

vocal basin
upper nimbus
pine blaze
#

ok πŸ™‚

pine blaze
whole bear
#

import pandas as pd

fed_rate = pd.read_excel("CPIAUCSL.xls")

vocal basin
# vocal basin there are many different reasons I'll try to list some

- to "bind" several other values together -
for example, if you need to store person's last name, first name and age together in one value

- to "bind" values with related behaviour -
building onto the same example:
suppose we want to format person's name in some way
instead of a function that takes last name and first name we either:

  • call a method on the person
  • call a function with the person as an argument

- to allow for a better abstraction of varied behaviour or structure -
(I can't provide a proper example right now without thinking)

azure rivet
#

@pine blaze

vocal basin
vocal basin
#

there is a word

#

I forgor

#

it's also in thermodynamics

#

entropy

vocal basin
whole bear
vocal basin
#

install xlrd

#

?

#

(run pip list to find what you have installed)

whole bear
#

thank you

vocal basin
#

pandas does not automatically install all dependencies

whole bear
#

that was easy

vocal basin
#

"just leverage 1000 to 1"

whole bear
#

I don't have that risk preference lol

vocal basin
#

how much did "guh" leverage? 25 to 1?

vocal basin
whole bear
#

also don't you have to pay interest on leverage ?

vocal basin
whole bear
#

Im assuming it ain't ever the fed rate

azure rivet
#

:v

vocal basin
#

doing something only based on some discrete signals (yes-no) sounds bad

#

"dark pools" (or whatever their legal analogue is) with their near 0 latency will outperform anything purely algorithmic

#

"options"
I thought it was about Rust/Haskell/whatever for a second

#

library author being the broker explains the only real reason that library exists

#

C++ is unreasonably complicated

#

not all data is scrapeable

#

you may need to run the JavaScript

#

@whole bear
to be fair, "just watch and code along and experiment" does not apply to all languages equally
some do require some sort of extra theoretical knowledge to get the fundamentals right

#

and not all tutorials are equal in quality

#

import not install?

#
def some_function(some_argument):
    return something_else
vocal basin
#

and also at some point I moved on to just reading the docs

#

you can do multiplication before addition in some educational programs
especially in "learning maths correctly" situation which builds up from fundamentals
though it's more for re-learning rather than encountering for the first time

vocal basin
#

you do need +1 though because that's what a lot of theorems build on top of
(anything that has to do with infinity)

#

"lose money efficiently, automatically and persistently"

#

to receive a webhook, you need where to receive it

#

i.e. hosted something

#

@whole bear
stock market is not a money making machine but is often advertised as such
so that could be a reason for distrust

vocal basin
#

in general: there are a lot of people that have a lot of advantages compared to you
if there is a strategy that works, they have probably already been using it for a long time, there's probably no room left for you
if you don't work for the large established corporation, you just can't get these advantages today

#

the greater the return, the larger the risk, usually

#

"always one command away from becoming the next (though somewhat little) Knight Capital"

vocal basin
#

webkit had arbitrary memory write recently

#

(within last 5 years)

#

spectre-meltdown

#

also quite recent

#

"each tab is in its own thing" depends on browser

#

chrome does per-site not per-tab

#

python can be isolated via docker
though may not desirable (for reasons)

#

VS or VS Code?

#

which language?

#

oh

#

the easy way (not necessarily right): just run from terminal

#

run button is more about debugging not just running

lavish rover
somber heath
#

@sand canopy πŸ‘‹

vocal basin
lavish rover
#

Hmm

vocal basin
#

or it's just too confusing

vocal basin
lavish rover
#

Well it's more for like complex scenarios it can do dependency resolution / etc in your run configurations

vocal basin
#

did I send the rps in bf code here?
probably not

#
,[>+++++++[<---------------->-]<[--[>+++++++[<++++++++++++++++>-]<+.>-<[-]]>+[>+
++++++[<++++++++++++++++>-]<-.[-]]-<[-]]>+[>+++++++[<++++++++++++++++>-]<++.[-]]
<,]
#

input is the lower one

#

python is simple

vocal basin
lavish rover
#

Here's my preferred rock paper scissors implementation:

import random
while True:
    _ = input("Enter rock, paper or scissors: ")
    print(random.choice(["You won", "You lost", "Draw"]))
vocal basin
#

I was planning to introduce random instead of cheating

#

but random was too hard to implement

#

(for me for now)

lavish rover
#

.xkcd 221

viscid lagoonBOT
#

RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.

vocal basin
lavish rover
#

Yep haha that's exactly it, I'm happy you get it

vocal basin
#

wait, how did cat if bf look?

#

[,.]?

lavish rover
#

That's not really cat though is it

vocal basin
#

stdin-stdout only cat

#

without concatenation part

lavish rover
#

well the whole point of cat is to conCATenate files

#

yea

vocal basin
lavish rover
#

didn't know you could bold only a part of the word

lavish rover
vocal basin
#

it should be called echo

#

but echo is already occupied by the other program

#

it's also useful to explicitly say to the AI thing to write good/correct code

#

you're not posting webhooks

#

you're receiving them

#

from what I understand

#

if you subscribe to a webhook API, you receive the data
and you need to have API waypoint

robust lichen
#

print("hello world")

vocal basin
#

this is why stuff like discord bots use websockets not webhooks

#

(well, one of the reasons)

#

example
repost github notifications to discord
in this situation:
github is client
discord is server

#

it's not one server

#

they will handle it

#

it's not one physical server

#

one IP is not always one receiver

vocal basin
robust lichen
#

@lavish rover why is 127.0.0.0 a thing?

vocal basin
#

google may have enough power over whoever controls internet routing around their data centres to make sure things don't end up on one single endpoint of theirs

lavish rover
vocal basin
#

ff 00 00 01

#

ff 00 00 ?? is always localhost

#

may be a little larger

lavish rover
#

Yeah my networking knowledge is not great

vocal basin
#

127.0.0.53 is local DNS

lavish rover
#

If you have questions on hardware I might know better LOL

vocal basin
robust lichen
vocal basin
#

if you have something potentially vulnerable, bind to localhost

#

or run inside container

vocal basin
#

UPnP

vocal basin
robust lichen
vocal basin
#

TCP

#

it has SSL

#

wait, what was the alternative name for SSL?

#

TLS

#

modern thing is called TLS

#

for https, will also need a certificate

robust lichen
#

Whats ze difference between http and https?

lavish rover
#

s is secured

#

Data is encrypted

vocal basin
somber heath
vocal basin
#

Java Something Whatever

robust lichen
#

i use arch btw πŸ˜‰

#

(shitty pc specs)

vocal basin
#

8:08
7:01

robust lichen
#

yes

#

dont judge my time

vocal basin
#

I'll go setup custom background in PyCharm

#

I'll provide a third option for myself

vocal basin
# robust lichen

is it transparent or custom background in the terminal itself?

#
  1. too bright
  2. transparency on an active window may reduce readability
#

I have git bash transparent when it's inactive only

robust lichen
#

πŸ’€

winged hinge
coarse gull
#

Yall we can talk in here

severe vigil
#

yes

half flare
#

hello

#

can anyone help me

winged hinge
#

what kind of help sir?

real pecan
#

Please don't take me as rude, this server won't let me join you in converation :/

#

@ashen wave

#

I'm sorry, i'm not sure what more I can offer here , I'll go elsewhere :/

winged hinge
#

Hey @real pecan you first need to be verified into the server

real pecan
#

indeed

#

β€’ You have been on the server for less than 3 days.
β€’ You have sent less than 50 messages.
β€’ You have been active for fewer than 3 ten-minute blocks.

winged hinge
#

yes
you need to complete those initials

real pecan
#

Initials??

winged hinge
#

the 3 pointers that you mentioned

real pecan
#

pointers?

are these terms?

winged hinge
#

keep interacting, stay in the server as written initially until those points are met

winged hinge
real pecan
ashen wave
#

cardguru

somber heath
#

@slim niche πŸ‘‹

slim niche
#

i was muted

somber heath
wise cargoBOT
#

Voice verification

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

somber heath
#

@rancid star πŸ‘‹

vocal basin
#

I have removed most of the global variables in my application
now I need to come up with an adequate name for the commit
(yes, it is all in one commit because I forgot to commit it step-by-step)

vocal basin
#

just restarted discord to check that it wasn't just a display glitch
if you press enter fast enough during channel creation, you can create multiple channels

somber heath
#

@obtuse pier πŸ‘‹

obtuse pier
#

πŸ‘‹

warm vapor
#

Hey

#

how are yyou?

somber heath
#

@ionic matrix πŸ‘‹

plucky stone
#

how can i stream into the server

ionic matrix
#

hello

plucky stone
#

Please help how do I stream in a server

vocal basin
plucky stone
#

Ok thx

#

What shoudl I do if I wanna show the problem

vocal basin
somber heath
#

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

plucky stone
#

Would I have to take screenshots and post it on code help?

somber heath
#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

vocal basin
#

or is it GUI?

plucky stone
#

Pycharm issue

#

Like I wanna know how to navigate across my folders to fix it

#

But i understand now, thanks

somber heath
#

@dreamy terrace πŸ‘‹

dreamy terrace
#

πŸ™Œ

ionic lake
#

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

vocal basin
#

which GPU?

#

torch may be installed incorrectly

#
  • may have been
#

or it may have been misupgraded

#

or the env may not be correctly activated

#

Note: The CUDA Version displayed in this table does not indicate that the CUDA toolkit or runtime are actually installed on your system. This just indicates the latest version of CUDA your graphics driver is compatible with.

vocal basin
#

some answers suggest compiling pytorch from source

#

do you have cudatoolkit installed? (via conda)

#

also, pytorch may require a specific version like 11.1 or something

honest torrent
#

Hey

quasi condor
#

#bot-commands

half root
#

hi

honest torrent
#

πŸ˜‚

#

gonna send to their disc

hardy cloud
#

openai?

honest torrent
#

gotta go afk coming back in like 30 mins

#

no a hike

vocal basin
#

because... it's a language model?

honest torrent
#

playing rl

hardy cloud
honest torrent
whole bear
#

why cant i talk xD

honest torrent
#

br

#

bro

#

u joined an hour ago

whole bear
#

just need help haha

honest torrent
#

yh just type here

whole bear
#

okay okay

honest torrent
whole bear
#

then go in my thread xd

#

pinged u

somber heath
#

@thorny blade πŸ‘‹

thorny blade
#

yo

#

Merry christmas everyone

molten bronze
#

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

vocal basin
molten bronze
#

!voiceverify

somber heath
#

@molten bronze You need to do the command in the #voice-verification room. Not in here.

vocal basin
somber heath
#

Oh, right.

vocal basin
somber heath
#

Once voice verified, which you are, you need to join vc to be able to unmute.

#

So if you are already joined, exit, then rejoin.

#

@wise sigil πŸ‘‹

somber heath
#

@worn blade

worn blade
#

try to use shiny for your page

#

UI

vocal basin
#

I just still don't get what's happening there

#

one-letter variables are fine when their meaning is very clear:

except Exception as e:
  future.set_exception(e)
(lambda x: x ** 2)

also pairs like k,v

#

lisp go brrr

vocal basin
#

refactor until you can't misuse the code

#

or misunderstand it

vocal basin
#

assuming the user generally is not dumb enough to Prime(n) on an n they don't know to be prime for a fact

#

imagine having 50% of the whole code base being one library of which only one 70-line class (not depending on the rest of the library) is used outside
there have definitely been some architectural misunderstandings
one day this class will become a library on its own
but not today

somber heath
#

@versed sorrel πŸ‘‹

#

!voice @versed sorrel

wise cargoBOT
#

Voice verification

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

vocal basin
#

jupyter has odd relations with venvs

#

especially jupyterhub

somber heath
#

@median oracle πŸ‘‹

median oracle
#

hi*

versed sorrel
#

next time, thanks

azure rivet
#

Bruh my discord is glitchy. It adds me to the call everytime I open discord

#

Does this happen to anyone else

somber heath
azure rivet
#

I hang up

#

I click the button to hang up

somber heath
#

A perturbing mystery.

azure rivet
#

But it randomly adds me to the call

#

As soon as I open discord

#

But it's not consistent. It happens randomly. Probably when my phone is sleeping for a while

stray niche
#

@wintry cloak πŸ‘‹

azure rivet
#

I've noticed that this happens with other discord calls too sometimes. It's a mystery

wintry cloak
#

helo frnds. mery christmas

stray niche
wintry cloak
#

i was learning some web scraping. from youtube. stuck in a problem.

#

can somebody help me walk thru it

somber heath
#

Tell us about your project.

wintry cloak
#

oh its not a personal project. im learning python. so was following a series of 'scrapy' web tutorials

#

but the data scraped is not in order

#

i would like to properly arrange it before exporting to csv

#

amazon books section
book name, author, price, book image link etc

stray niche
#

Rule3!

#

Rules!

#

!rules

wise cargoBOT
#

The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.

stray niche
#

!rule3

#

!Rule5

somber heath
#

!rule 5

wise cargoBOT
#

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

stray niche
#

!rule 3

wise cargoBOT
#

3. Respect staff members and listen to their instructions.

azure rivet
#

:v

wintry cloak
#

:v

wintry cloak
#

@somber heath @stray niche i solved it hehe
forgot to replace a variable after i added a for loop

data also needs some cleanup afterwards. but i understand the logic now

winged hinge
#

Merry Christmas Day Everyone. Today I am making butter chicken and sahi paneer. You all are invited.

Special Mention @somber heath @warm jackal @whole bear @stray niche @brazen ravine @stuck sky

winged hinge
somber heath
#

@ivory wadi πŸ‘‹

winged hinge
#

Here’s my butter chicken I made today :)

#

@somber heath @stray niche @warm jackal @neon orbit Enjoy some butter chicken

neon orbit
#

Noice

somber heath
#

@toxic niche πŸ‘‹

toxic niche
#

hello

#

i am connecting my headphones

somber heath
#

BΓΈrge Rosenbaum (3 January 1909 – 23 December 2000), known professionally as Victor Borge ( BOR-gΙ™), was a Danish-American comedian, conductor, and pianist who achieved great popularity in radio and television in the North America and Europe. His blend of music and comedy earned him the nicknames "The Clown Prince of Denmark", "The Unmelancholy ...

somber heath
#

@hazy blaze

#

πŸ‘‹

hazy blaze
#

Hello together

#

i have no permission to speak

warm jackal
#

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

hazy blaze
#

okay, i understood

somber heath
#

@whole bear πŸ‘‹

whole bear
#

hi

whole bear
#

i have a question

hazy blaze
#

i'am out for today. Read (and hear) you next time. Merry Christmas

whole bear
#

what's the best metod to learn programming?

stray niche
#

! resources

#

! resources

#

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

ok ty

stray niche
#

@dim nymph πŸ‘‹

#

@inland flower πŸ‘‹

whole bear
#

@dim nymph hi there

inland flower
#

hi

whole bear
warm jackal
stray niche
#

Veil

warm jackal
rain belfry
#

i am not allowed to speak can anyone guide me?

warm jackal
#

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

rain belfry
#

thanks mate

honest torrent
#

nice chairs x10

warped raft
#

hello @whole bear

#

how are you doing

#

i don't know
proabaly not

#

which language is thi

#

this

#

thank you

#

what are you making

#

any specific reason to chose this language

#

and what about ruby java and python

somber heath
#

@unreal zinc πŸ‘‹

#

@wise linden πŸ‘‹

#

@whole bear πŸ‘‹

warped raft
#

@somber heath hello

whole bear
#

can someone help me with a py packaging? im getting dumb errors, it would be nice if someone helped

somber heath
#

@barren vale πŸ‘‹

barren vale
whole bear
#

sure

barren vale
#

i think i have to take roles to unmute

#

am suppressed rn

warm jackal
#

!voice

wise cargoBOT
#

Voice verification

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

whole bear
#

when i do py -m build it gives me this error

#

ERROR [WinError 5] Access is denied: 'C:\Users\pcusername\AppData\Local\Temp\build-env-ykl_2v12\Scripts\pythonw.exe'

#

when i made the pyvenv.cfg pip just stopped working xD

#

makes dist folder with ur package in it

#

so u can upload it to https://pypi.org/

#

what

#

no

#

Hello

#

!voice

wise cargoBOT
#

Voice verification

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

whole bear
#

helo @somber heath

#

hello @somber heath

somber heath
#

@whole bear πŸ‘‹

somber heath
#

@cedar crest πŸ‘‹

#

@vague iris

vague iris
#

ok

#

so

#

so yk like i run it the lives system is wack i want it to e if like te word is baboon and i type like idk a j it takes one life
but if i type the correct word like b
it shouldent take a life
basically
try tunning it
running

somber heath
#
display = list("_" * word_length)```
#
display = ["_" for _ in range(word_length)]```
#

!e py word_length = 5 display = [*'_' * word_length] print(display)

wise cargoBOT
#

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

['_', '_', '_', '_', '_']
somber heath
#

!e py for i in range(9001): print(i) break print("Hello.")

wise cargoBOT
#

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

001 | 0
002 | Hello.
somber heath
#

!e py for i in range(5): if i == 2: continue print(i)

wise cargoBOT
#

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

001 | 0
002 | 1
003 | 3
004 | 4
warm jackal
#

!e

for i in range(5):
  if i == 2:
    break
  print(i)
wise cargoBOT
#

@warm jackal :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 0
002 | 1
somber heath
#

@nocturne zealot πŸ‘‹

#

@rare jetty πŸ‘‹

vague iris
#

guys is this correct

if guess not in chosen_word:
    lives =- 1```
somber heath
#

-=

#

Otherwise, what you're writing there is py lives = -1

#

@hollow granite πŸ‘‹

hollow granite
#

wassup

somber heath
#

@candid prawn πŸ‘‹

candid prawn
#

.

candid prawn
frosty star
#

heeyy

candid prawn
#

im a beginner to object oriented part of python

frosty star
#

o/

candid prawn
#

just saying

#

ive learnt till lists,tupples,sets,dictionaries

#

basically the data structures

#

a lot of stuff , yea

#

interesting too

#

only the positional reference?

#

ah

#

random question, how long have u known python

#

ive been learning since uh about 5 months

#

...damn 5 years

#

also, how do i get perms to turn on my mic

#

yea same, self taught

#

colleges dont teach shit

#

atleast in my first year

warm jackal
wise cargoBOT
#

Voice verification

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

candid prawn
#

im in my second now,there's data structures so like, cool

#

man i gotta go, will join u in a few mins sorry

#

thanks for ur time

frosty star
#

So

#

I made donuts

somber heath
#

@rain cedar πŸ‘‹

rain cedar
#

Hello

frosty star
somber heath
#

@thin shale πŸ‘‹

rain cedar
#

So,What we should do after python beginners stuff?

somber heath
#

Maybe play around with specific frameworks/modules/libraries.

rain cedar
#

Probably turtle

#

Xd

somber heath
#

A good one to play with.

candid prawn
#

the diagram maybe

#

/pattern

rain cedar
#

Ya..

#

It's great way to understand how loops work in a diagram way tbh..

candid prawn
#

all i have done is basic patterns, gotta go through them again sometime

rain cedar
#

Nice

somber heath
#

@tacit cliff πŸ‘‹

rain cedar
#

Once I tried to do creeper face from minecraft tho

#

Wait let me see if I have code or not

tacit cliff
candid prawn
#

@somber heath will u be online the same time tomorrow?

candid prawn
#

alright

somber heath
#

No promises.

rain cedar
#

import turtle
t = turtle.Turtle()
s = turtle.Screen()

s.bgcolor("green")
s.title("Creeper")

t.begin_fill()
t.setheading(360)
t.fd(60)
t.setheading(270)
t.fd(80)
t.setheading(360)
t.fd(60)
t.setheading(90)
t.fd(140)
t.setheading(180)
t.fd(60)
t.setheading(90)
t.fd(50)
t.setheading(180)
t.fd(80)
t.setheading(270)
t.fd(50)
t.setheading(180)
t.fd(70)
t.setheading(270)
t.fd(140)
t.setheading(360)
t.fd(80)
t.setheading(90)
t.fd(80)
t.setheading(90)
t.fd(110)
t.setheading(180)
t.fd(100)
t.setheading(90)
t.fd(100)
t.setheading(360)
t.fd(100)
t.setheading(270)
t.fd(100)
t.setheading(360)
t.fd(60)
t.setheading(360)
t.fd(100)
t.setheading(90)
t.fd(100)
t.setheading(180)
t.fd(100)
t.setheading(270)
t.fd(100)
t.setheading(180)
t.fd(58)
t.setheading(270)
t.fd(110)
t.setheading(360)
t.fd(90)
t.speed(4)
t.shape("triangle")
t.hideturtle()
t.color("black")

t.end_fill()

#

Few stuff

somber heath
#

@vale hamlet πŸ‘‹

rain cedar
#

Ikr

#

Well turbo sounds fun as long you know commends

whole bear
#

Gg btw

rain cedar
#

Thanks 😊

whole bear
#

πŸ‘

forest zodiac
forest zodiac
#

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

whole bear
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

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

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

honest torrent
hardy cloud
#

@honest torrent

honest torrent
#

CrΓ©

#

@hardy cloud

hardy cloud
#

@honest torrent hello

honest torrent
#

mb gtg

hardy cloud
#

k cya

honest torrent
#

cya

somber heath
#

@zealous leaf πŸ‘‹

honest torrent
#

Hello guys

cinder dawn
#

whats up

#

we back at it today opal

indigo heart
#

!eval print("How Much C would C Would a C++ if a C++++")

wise cargoBOT
#

@indigo heart :white_check_mark: Your 3.11 eval job has completed with return code 0.

How Much C would C Would a C++ if a C++++
wise cargoBOT
#

@lunar haven :white_check_mark: Your 3.11 eval job has completed with return code 0.

how much C would a C plus plus if a C plus could plus plus?
pallid hazel
somber heath
#

@whole bear πŸ‘‹

whole bear
#

hello!

lofty kelp
#

Am looking for a one teammate or two by max so we can learn together and solve ex. From leetcode everyday by choose a specific hour. I just start to attend udacity course for algorithms and data. Anyone interested DM me

vocal basin
#

someone might have also put 100 instead of 100%

#

@lunar haven
why subclass dict and not UserDict?

#

it's faster not better

#

you will solve stuff faster not sooner

#

the dict that's better fit for subclassing

#

!d collections.UserDict

wise cargoBOT
#

class collections.UserDict([initialdata])```
Class that simulates a dictionary. The instance’s contents are kept in a regular dictionary, which is accessible via the [`data`](https://docs.python.org/3/library/collections.html#collections.UserDict.data "collections.UserDict.data") attribute of [`UserDict`](https://docs.python.org/3/library/collections.html#collections.UserDict "collections.UserDict") instances. If *initialdata* is provided, [`data`](https://docs.python.org/3/library/collections.html#collections.UserDict.data "collections.UserDict.data") is initialized with its contents; note that a reference to *initialdata* will not be kept, allowing it to be used for other purposes.

In addition to supporting the methods and operations of mappings, [`UserDict`](https://docs.python.org/3/library/collections.html#collections.UserDict "collections.UserDict") instances provide the following attribute:
vocal basin
#

@somber heath
if it's better described as "parse atoms", it usually should stay in a methods called "parse atoms"
for better clarity
IF this thing wasn't called Atoms taking moov as an argument implying it will parse in init anyway

#

though

#

why is parse_atoms not returning a dict and instead is updating self?

#

that looks weird

#

idk

#

function parse_atoms

#

and then

#

call to UserDict init with the function's result

#

get may not call to getitem

#

or something like that

#

The need for this class has been partially supplanted by the ability to subclass directly from dict; however, this class can be easier to work with because the underlying dictionary is accessible as an attribute.

#

though there are no warnings to not subclass from dict

#

from what I see

#

how dict handles subclassing:

If a subclass of dict defines a method __missing__() and key is not present, the d[key] operation calls that method with the key key as argument. The d[key] operation then returns or raises whatever is returned or raised by the __missing__(key) call. No other operations or methods invoke __missing__(). If __missing__() is not defined, KeyError is raised. __missing__() must be a method; it cannot be an instance variable

#

so, for most applications it's equivalent

somber heath
#

@whole bear πŸ‘‹

whole bear
#

Hello

#

How can I get Voice Verified?

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

whole bear
#

Thanks a lot

#

I won't be able to get verified today

#

I just joined this server

whole bear
vocal basin
#

idk if bots can get voice input

#

probably yes

stray niche
#

I mean on the chat

vocal basin
stray niche
#

! voice

#

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

stray niche
#

@wind quiver

wind quiver
#

yea

#

I heard