#voice-chat-text-0

1 messages Β· Page 250 of 1

pale trout
#

like

#

ahh i feel bad

#

what are utalinking about

#

What

#

Yep

#

it is

somber heath
#
user@host://path/to/file```
#
/path/to/file```
sacred crag
somber heath
sacred crag
somber heath
#

@stray barn πŸ‘‹

wispy gull
#

i have many questions
1- when main file import modile file, how module file know the file name of main file
how?
like os module, its can give current work file whatever file imported os module
so how it do this, i need it

somber heath
#

@final iris πŸ‘‹

#

@lusty remnant πŸ€”

#

@whole bear πŸ‘‹

#

@lusty remnant Did you leave the server?

somber heath
#

@drifting garnet πŸ‘‹

#

@supple flax πŸ‘‹

#

@strong quail πŸ‘‹

lavish rover
tall ridge
somber heath
#

@delicate lava πŸ‘‹

upper basin
#

Nathan Wiebe

somber heath
#

@whole bear πŸ‘‹

upper basin
#

!e

a = (1, 2, 3)
b = (1, 2, 3)

print(a is b)
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

True
somber heath
#

!e py a = [] b = [] c = a print(a == b) print(a is b) print(a is c)

wise cargoBOT
#

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

001 | True
002 | False
003 | True
wind warren
upper basin
#

What seems to be the officer, problem?

#

I am only guilty of procrastination officer

hallow warren
#

Maybe GitHub shadowbans are for some subset of users, like users with even user IDs see them but those with odd user IDs don't?

upper basin
#

It works fine.

hallow warren
somber heath
#

@rich agate πŸ‘‹

rich agate
#

Hi

#

Yes, i join to get answer question

somber heath
#

@astral spade πŸ‘‹

rich agate
#

Thank you, i'll send in this channel

gray kraken
#

why cant i verify

#

i dont get it

wind warren
gray kraken
#

ok

wind warren
gray kraken
eager thorn
#

think you'll have to be here one more day, or few hours more. if i'm correct.

gray kraken
#

thx

somber heath
#

Oh, right. Conversation had.

#

@crystal jasper πŸ‘‹

wind warren
#

baduk

wind warren
upper basin
#

Hazbin Hotel

whole bear
#

gg

stark river
#

blue screen is an os error

upper basin
#

Greetings @jade whale

#

Greetings @supple flax

#

!e

import numpy

print(isinstance(numpy.array, numpy.ndarray))
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

False
upper basin
#

!e

import numpy

a = np.array([[1, 2], [3, 4]])
b = np.ndarray([[1, 2], [3, 4]])

print(isinstance(a, b))
wise cargoBOT
#

@upper basin :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 3, in <module>
003 |     a = np.array([[1, 2], [3, 4]])
004 |         ^^
005 | NameError: name 'np' is not defined
upper basin
#

!e

import numpy as np

a = np.array([[1, 2], [3, 4]])
b = np.ndarray([[1, 2], [3, 4]])

print(isinstance(a, b))
wise cargoBOT
#

@upper basin :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 4, in <module>
003 |     b = np.ndarray([[1, 2], [3, 4]])
004 |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | TypeError: 'list' object cannot be interpreted as an integer
upper basin
#

!e

import numpy as np
from typing import Any

a = list[int,]
b = list[int, Any]

print(a == b)
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

False
upper basin
#

!e

import numpy as np
from typing import Any

a = list[int, Any]
b = list[int, Any]

print(a == b)
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

True
idle zodiac
#

i cant talk sirrr

quick galleon
idle zodiac
#

ok

brisk bridge
#

hi

#

do you know a good and easy to work with asgi server in python?

#

i was trying make a framework for practice , so any recommened server to use to serve my app? like uvicorn, hypercorn, etc?

#

kk

#

btw are you a app dev?

upper basin
#

!e

import numpy as np
from collections.abc import Iterable

print(isinstance(np.array([1, 2, 3]), Iterable))
wise cargoBOT
#

@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

True
upper basin
#
def X(self,
          qubit_indices: int | list[int]) -> None:
        """ Apply a Pauli-X gate to the circuit.

        Parameters
        ----------
        `qubit_indices` (int | list[int]):
            The index of the qubit(s) to apply the gate to.
        """
        # Create a Pauli X gate
        x = X

        # Check if the qubit_indices is a list
        if isinstance(qubit_indices, list):
            # If it is, apply the X gate to each qubit in the list
            for index in qubit_indices:
                self.circuit.append(x(self.qr[index]))
        else:
            # If it's not a list, apply the X gate to the single qubit
            self.circuit.append(x(self.qr[qubit_indices]))

        # Add the gate to the log
        self.circuit_log.append({'gate': 'X', 'qubit_indices': qubit_indices})
#

No no

#

it's fine

#

Have a look at the if isinstance(qubit_indices, list):

#

I want it to work for even when it is passed a numpy array

#

Well I want iterable

#

I don't want to specify a lot of types and union all of them

#

Yes

#

all iterable

#

No I wouldn't pass it a string

#

it will always be a container of ints

#

the indices I mean

somber heath
#

@tranquil coral πŸ‘‹

upper basin
#

I initially had it as Iterables, but then changed to list, and I think I forgot that sometimes I am passing a numpy array.

#

So now it fails.

tranquil coral
#

Hello

#

Why I don't have permission to unmute?

somber heath
tranquil coral
#

Ok, thanks for info πŸ™‚

upper basin
#

!e

import numpy as np
from collections.abc import Iterable

print(isinstance(np.array([1, 2, 3]), Iterable[int]))
wise cargoBOT
#

@upper basin :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 4, in <module>
003 |     print(isinstance(np.array([1, 2, 3]), Iterable[int]))
004 |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | TypeError: isinstance() argument 2 cannot be a parameterized generic
upper basin
#

Well to be fair to my feelings, it's a lot to keep track of.

#

If I am to be both aware of the type exactly, but also make sure it works for a lot of different types, and also make sure I don't make a ton of types, and at the end have it be correct and readible, it's a bit tricky.

#

Especially when I have a ton of classes.

#

That's why I was asking how to have such a generic iterable interface, I would have then just used that for ANY iterable I faced, numpy array, and lists alike.

#

Well I can narrow it down to np.array and list.

#

Is it stupid to want to have sth integrated for these two?

somber heath
#

@silk helm πŸ‘‹

silk helm
#

hi!

#

i dont have permission to speak

#

but it's okay

#

just visiting

upper basin
#

I think at the end I'll have to make a class called typing.py and have all of these there, and just import from there and make my life easier.

somber heath
#

!d collections.abc

wise cargoBOT
#

New in version 3.3: Formerly, this module was part of the collections module.

Source code: Lib/_collections_abc.py

This module provides abstract base classes that can be used to test whether a class provides a particular interface; for example, whether it is hashable or whether it is a mapping.

An issubclass() or isinstance() test for an interface works in one of three ways.

  1. A newly written class can inherit directly from one of the abstract base classes. The class must supply the required abstract methods. The remaining mixin methods come from inheritance and can be overridden if desired. Other methods may be added as needed:
upper basin
#

I was using collections.abc. However, the guys told me to use list since that is more generic, but apparently not.

#

Like I was told me list and MutableSequence go hand in hand. I think either I misunderstood, or maybe I conveyed what I wanted badly.

somber heath
#

!d numbers

wise cargoBOT
#

Source code: Lib/numbers.py

The numbers module (PEP 3141) defines a hierarchy of numeric abstract base classes which progressively define more operations. None of the types defined in this module are intended to be instantiated.

stark river
#

network issue.. sometimes happens with me too bc of the slow laggy network

#

speak in a slower tempo

somber heath
#

!e py from numbers import Integral import numpy as np print(isinstance(np.uint8(123), Integral))

wise cargoBOT
#

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

True
somber heath
#

@scenic egret πŸ‘‹

scenic egret
#

?

somber heath
#

@jagged lagoon πŸ‘‹

scenic egret
#

can you guys help me whit a code ?

#

I'm writing code for a discord bot that's inside a kind of game but I ran into a problem in that after writing the code it doesn't give me an error and going to DS to test the bot when you select the This option gives the problem that this interaction failed

somber heath
scenic egret
#

ok thanks

somber heath
#

!d abc

wise cargoBOT
#
abc

Source code: Lib/abc.py

This module provides the infrastructure for defining abstract base classes (ABCs) in Python, as outlined in PEP 3119; see the PEP for why this was added to Python. (See also PEP 3141 and the numbers module regarding a type hierarchy for numbers based on ABCs.)

The collections module has some concrete classes that derive from ABCs; these can, of course, be further derived. In addition, the collections.abc submodule has some ABCs that can be used to test whether a class or instance provides a particular interface, for example, if it is hashable or if it is a mapping.

This module provides the metaclass ABCMeta for defining ABCs and a helper class ABC to alternatively define ABCs through inheritance:

gentle flint
somber heath
#

@green heath @tough galleon πŸ‘‹

tough galleon
#

what @somber heath

#

what du u want

somber heath
#

Well, nothing, now.

#

I was waving to say hi.

#

Given you joined the voice chat when I was in.

upper basin
#

@somber heath farewell sir! Pardon for missing you when you left, I look forward to enjoying your lovely company tomorrow.

#

Hopefully with a better microphone quality.

gentle flint
final sparrow
#
/tmp/_MEIleLojg/127.0.0.1/127.0.0.1.xml
Traceback (most recent call last):
  File "main.py", line 7, in <module>
  File "threaderf11.py", line 179, in main
  File "threaderf11.py", line 40, in Parse_nmap
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/_MEIleLojg/127.0.0.1/127.0.0.1.xml'
[76565] Failed to execute script 'main' due to unhandled exception!
austere gull
#

mfw i cannot say anything cause i got banned and therefore have been here for less than 3 days 😭

#

literally 1984

gentle flint
scenic egret
#

hey

#

@peak depot

#

can you help me

#

@gentle flint can you help me

peak depot
#

Check the voice verification channel

gentle flint
#
This source code is protected under international copyright law.  All rights
reserved and protected by the copyright holders.

This file is confidential and only available to authorized individuals with the
permission of the copyright holders.  If you encounter this file and do not have
permission, please contact the copyright holders and delete this file.
peak depot
gentle flint
#

debugger

upper basin
#

@gentle flint @peak depot @final sparrow can yall give me a package name for an optimization package that tells you what is the best way to go from a point A to point B usng combinatorial models.

#

Go nuts.

#

If you can add in a Q somewhere for quantum, it'd be cool hehehe.

gentle flint
upper basin
#

You taking out a bullet or sth?

gentle flint
#

lol no

upper basin
#

hehe

gentle flint
#

this was yesterday

upper basin
#

Nice

gentle flint
#

was cleaning pocketknife

upper basin
#

I weirdly both love and hate knives

gentle flint
#

but it looked weird

gentle flint
upper basin
#

Love them as tools, but have PTSD about getting cut and dying.

#

(don't ask)

gentle flint
#

wrap your wrists in kevlar or smth

upper basin
#

Hehe

stark river
#

i've got a nice couple of hunting knives.. damascus steel.. brittle high carbon content

peak depot
#

LEUKU

stark river
#

constantly need oiling

gentle flint
peak depot
gentle flint
#
peak depot
upper basin
#

sour cherries

stark river
#

git add .gitignore

#

.gitignore changed. you have to add it

whole bear
#

@scenic egretπŸ‘‹

scenic egret
whole bear
#

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

scenic egret
#

i am working on a discord bot code like 10 hours and i t dont work

uneven canyon
upper basin
#
def containsNumber(value) -> list[int]:
    """ Checks if value contains a number and
    returns a list of numbers in the value.

    Parameters
    ----------
    `value` (str):
        The string to check.

    Returns
    -------
    `num_list` (List[int]):
        The list of numbers in the value.
    """
    # Find the numbers from the string
    num_list = [int(char) - 1 for char in value if char.isdigit()]

    # Return the list of numbers
    return num_list
whole bear
#

@ivory stump It's the weekend can you give me stream perms?

upper basin
#

Gambare Gambare

uneven tulip
#

ggdsagds

#

hi

#

yes

#

i always do this

#

but im not spamming

#

im just gonna go talk to people in general channel for a bit

whole bear
uneven tulip
#

helooo

whole bear
#

Wanna chess?

uneven tulip
#

hmmm maybe

stark river
#

why is there a - 1 in there?

upper basin
#

It makes them an index

#

fixed it

uneven tulip
#

yess @whole bear

#

noo i bad at math

uneven canyon
uneven tulip
#

ye

whole bear
#

@uneven tulip Can you try to push the button now?

#

The voice button

uneven tulip
#

i hvae 48 messages

whole bear
#

2 more

uneven tulip
#

okay there :3

whole bear
#

Are you voice verified?

uneven tulip
#

nop

uneven canyon
surreal grove
upper basin
#

cheers boys

uneven canyon
whole bear
#

@split ledge πŸ‘‹

#

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

stark river
whole bear
#

@stray girder πŸ‘‹

ebon mist
#

that is not python

coarse hare
#

Pappy

#

How far are you into Python

#

wdym by novice?

#

@peak nacelle

#

Oh, I see

#

What are you working on?

#

well

#

try using a while loop for your first 2 lines

#

can you copy your code in chat

whole bear
#

@worldly needle πŸ‘‹

coarse hare
#

@whole bear Good man, you?

#

how far into your journey are you?

#

Maybe I can help

#

what's up?

whole bear
#

@clever tree πŸ‘‹

clever tree
#

Hey I was just trying to see wht ur talking abt. I couldn't talk due to permission issues

#

@whole bear

coarse hare
#

@stark river Hey!

#

@stark river Im like 35 messages away from vc

#

How are you though

somber heath
#

@brittle mural πŸ‘‹

brittle mural
#

Hellooo

coarse hare
#

@somber heath Hello

#

How are you

#

@whole bear Hi

#

Im doing well

#

Studying

#

yourself?

#

whats your project?

#

Oh hahahaha

#

That is me

#

I was doing catering that day

whole bear
coarse hare
#

interesting

#

can you show me how it works

#

loll thanks

#

@whole bear Hey bro

#

did you get some rest?

#

Good hahahaha

#

I can't stand chest

#

chess*

#

what rating are you?

#

xD

#

ahh okay okay

whole bear
#

@outer egret πŸ‘‹

#

@unique sandal

somber heath
#

@maiden breach πŸ‘‹

#

If you're wondering why you can't talk, be sure to check out the #voice-verification channel. πŸ™‚

maiden breach
#

ok thanks

whole bear
outer egret
#

@mayorc200πŸ‘‹πŸ»4

wise loom
#

win 3.11 is 31 years old
os/2 is 37 years old

#

javascript programmers are commenting in the HN thread above. they believe they can port everything from that win 3.11 machine to ubuntu probably.

wet scroll
#

dang i think i have nothing to do

#

i guess thats why i am here

#

no theres nothing interesting to do

#

i mean i do breathing every day

#

i guess i can just stay here

#

imma go

#

see ya

somber heath
#

@elder tartan πŸ‘‹

elder tartan
#

Hello

#

again..

#

thanks for that link btw it was really helpful.

#

I understand, It was a link for a youtuber that shows how to code in python from step 1.

#

Hi super. I am just having a problem with your audio.

#

very low.

#

Yes a lot better.

turbid sandal
#

@somber heath Please talk to me,

#

@verbal zenith

#

@solid perch

vocal basin
#

yes

#

are you using filter right now for checking?

#

and then .exists()?

#

it's old doc

#

idk if new has it

#

I guess it's different in 2.0

#

(not really sure if it's same thing)

#

I don't have a DB to test it on right now

#

maybe same as numpy's notion of scalar?
(i.e. interpreting something as scalar as opposed to composite of many values)

vocal basin
#

it seems like there'd be a need to extract a value from it anyway (with next or whatever; probably better to use something that extracts exactly one)

upper basin
#

Greetings Alisa!

verbal zenith
#
@app.post("/users/", response_model=schemas.User)
async def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)):
    db_user = db.query(models.User).where(models.User.username == user.username).first()
    if db_user:
        raise exc.Error(status.HTTP_409_CONFLICT, "Username already exists.")
    db_user = db.query(models.User).where(models.User.email == user.email).first()
    if db_user:
        raise exc.Error(status.HTTP_409_CONFLICT, "Email already exists.")
    db_user = crud.create_user(db, username=user.username, password=user.password, email=user.email, first_name=user.first_name, last_name=user.last_name)
    return db_user 
verbal zenith
#
@app.post("/users/", response_model=schemas.User)
async def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)):
    if db.query(models.User).where(models.User.username == user.username).one_or_none():
        raise exc.Error(status.HTTP_409_CONFLICT, "Username already exists.")
    if db.query(models.User).where(models.User.email == user.email).one_or_none():
        raise exc.Error(status.HTTP_409_CONFLICT, "Email already exists.")
    return crud.create_user(db, **user.model_dump())
#
class User(Base):
    __tablename__ = "user"
    id = Column(Integer, primary_key=True)
    username = Column(String, unique=True)
    email = Column(String, unique=True)
vocal basin
#

sqlite+aiosqlite:///

#

where does the error cross sqlalchemy bounds?

#

(deepest non-sqlalchemy code)

#

yeah, create_all would be expected to fail too for async

#

query is legacy

#

@verbal zenith what does the warning say?

#

@verbal zenith removing imports is PyCharm thing not ruff, I think

#

at least that's PyCharm default

#

on reformatting

#

I guess that's what ruff might be mimicking

somber heath
#

@whole bear @idle grove πŸ‘‹

sudden barn
#

Hi, Opal.

somber heath
#

@whole bear πŸ‘‹

whole bear
#

πŸ‘‹

sudden barn
#

Yay. FastAPI pog.

#

A lot of new people... Usually only Opal is here. :D

somber heath
#

@crude anchor πŸ‘‹

somber heath
sudden barn
#

It attracts people or the dude streaming it is important to them?

#

Like... A teacher...

somber heath
#

People like to watch streams.

#

@rich sundial πŸ‘‹

#

Maybe the psychological impact of the design of the LIVE indicator convinces people they find streams exciting.

sudden barn
somber heath
#

If something seems hard, you're probably doing it the wrong way.

sudden barn
#

I spent about 5 hours trying to figure out why service can't handle more than 1000 request per second.
Only to realise that I can't do 1000 request per second because of some internet limitation. :\

I feel stupid now.

upper basin
somber heath
#

Yes.

vocal basin
#

authentication+authorisation?

sudden barn
#

No I don't have.
I just get the user by JWT-Token.
And check it from there.

But my service was kinda small.

vocal basin
#

I haven't made any many-role-authorisation apps so far
I'd normally just look at what other services/tools do

sudden barn
#

Can't you just make columns in database like "is_admin"?
And make them bool.

Seems a very stupid way tho.

vocal basin
#

mimicking discord's role model may be okay-ish

sudden barn
#

Well. I haven't worked with anything like that.
So gonna leave it till say something dumb.

#

:D

somber heath
#

@spiral shell πŸ‘‹

spiral shell
vocal basin
#

how can the token get stolen? (what's the threat model?)

#

criteria for stealing a token would normally be same as stealing password

#

yeah misspelled

sudden barn
#

If they can steal Token, why password is more secure?

#

You can also consider storing the JWT token in Cookie.

#

At least that's what I did. But it was a year ago and I didn't know much.

vocal basin
#

keeping track of sessions (to some level) may be worth considering anyway if you're considering security at all
so that way users can invalidate specific sessions

#

jwt might still store some session-only data

#

with server-side part just being
id
description
time to expire

sudden barn
#

Ok. Guys. Gonna go. :D
Bye.

vocal basin
#

refresh just before expiry

#

(or very soon, in opposite)

#

for oauth2 it may be:
if 7 days is max and remaining time drops below 6, refresh

#

I don't remember what the official-ish guideline for this is

#

yes, to keep consistent offline-time-to-logout

#

if you're doing refreshing on your own infrastructure and not calling to some other remote service,
there's also an option to always refresh

#

brb

#

back

#

earlier-to-expire tokens should give no more access than latest ones
so it shouldn't matter

#

no, don't keep track of jwt expiration itself

#

as far as I understand, there should be an id inside it that persists -- that thing identifies a session

#

and that id is what correlates to whatever server-side session info there is

#

it ends up with timer in three places

#

cookie expiry
signed expiry inside jwt
expiry in db

#

jwt is signed

#

and stored inside a cookie

#

yes, a hint for the browser

#

it doesn't send expired ones

#

(normally deletes it once the time comes)

#

you'd probably be correlating session id to user id anyway;
though I guess that can be moved client-side (because this data is signed)

vocal basin
#

with an option to choose between cookie storage (almost jwt) and server-side

#

"you can also just delete the user"

#

!d os.urandom

wise cargoBOT
#

os.urandom(size, /)```
Return a bytestring of *size* random bytes suitable for cryptographic use.

This function returns random bytes from an OS-specific randomness source. The returned data should be unpredictable enough for cryptographic applications, though its exact quality depends on the OS implementation.

On Linux, if the `getrandom()` syscall is available, it is used in blocking mode: block until the system urandom entropy pool is initialized (128 bits of entropy are collected by the kernel). See the [**PEP 524**](https://peps.python.org/pep-0524/) for the rationale. On Linux, the [`getrandom()`](https://docs.python.org/3/library/os.html#os.getrandom) function can be used to get random bytes in non-blocking mode (using the [`GRND_NONBLOCK`](https://docs.python.org/3/library/os.html#os.GRND_NONBLOCK) flag) or to poll until the system urandom entropy pool is initialized.
vocal basin
#

!e

from os import urandom
print(urandom(16).hex())
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.

5f1041d80836e088d3578f0a8fcf7ad2
vocal basin
#

I think db-stored ones should have a bit longer timeout

#

like a minute longer

#

(I forgot why I though that, like, 20 minutes ago, I don't remember)

#

without deleting, it probably won't crash and burn but it will still waste space

#

if you need full audit, you might have to store them indefinitely

vocal basin
#

I don't remember if I did

#

huh TIL linkedin doesn't SEO descriptions as hard as it does headline

#

(I tried to look up the name)

#

"Alisa Feistel" specifically

#

I think I had it mentioned there in the description as, like, an alias

#

it's banned regionally

#

I need to open tor and go through, like, three auth things to access it each time

reef agate
vocal basin
#

secrets is a wrapper around urandom

reef agate
#

!e

import secrets
print(secrets.token_hex(16))
wise cargoBOT
#

@reef agate :white_check_mark: Your 3.12 eval job has completed with return code 0.

9cd2d4d22684c96730d234fdacb806a0
reef agate
#

url_safe, token_bytes.

vocal basin
#

or, like, wrapper around the same thing as urandom is

reef agate
#
__all__ = ['choice', 'randbelow', 'randbits', 'SystemRandom',
           'token_bytes', 'token_hex', 'token_urlsafe',
           'compare_digest',
           ]
#

For whoever asked.

#

Not sure.

verbal zenith
#

!e

import secrets
print(vars(secrets).get("__all__"))
wise cargoBOT
#

@verbal zenith :white_check_mark: Your 3.12 eval job has completed with return code 0.

['choice', 'randbelow', 'randbits', 'SystemRandom', 'token_bytes', 'token_hex', 'token_urlsafe', 'compare_digest']
reef agate
#

Same.

vocal basin
#

it's suppossed to be pvp

reef agate
#

PVP?

vocal basin
#

with premoves

reef agate
#

Ahhh

#

I see.

vocal basin
#

it's turn-based

#

session there makes sure it syncs across tabs

#

and devices, if discord auth is used

#

sync of game state

#

yes, websockets

#
  • event-sourcing
reef agate
#

Makes sense.

vocal basin
#

almost all the state client sees, can be rebuilt from replaying server-to-client events

reef agate
#

πŸ‘‹

ebon mist
#

@upper basin sup

upper basin
#

Greetings

#

You are deafened, therefore I don't imagine you can hear me.

#

Regardless, greetings!

ebon mist
#

??

#

bye?

#

sup @misty prawn

#

bye

upper basin
#

anyone down for some lethal company?

ebon mist
#

hello?

stark river
#

hello

somber heath
#

@tall frost πŸ‘‹

tall frost
#

in call

#

just tryna learn how to code better

#

as i can barely code

somber heath
somber heath
tall frost
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.

somber heath
#

YouTube, Corey Schafer, playlists, Python for Beginners.

#

@lament mirage πŸ‘‹

lament mirage
#

i'm muted

somber heath
lament mirage
#

well i'm not eligible for verification

#

yeah

somber heath
#

@woeful summit πŸ‘‹

#

@umbral perch πŸ‘‹

umbral perch
somber heath
#

@prime burrow πŸ‘‹

prime burrow
#

Hi @somber heath

tall frost
#

@somber heath would you know how to code something that sends a message to a discord webhook

#
import json
import webhook


print('Webhook')

message = input('what do you want  to send? ')

print(message)

webhook = input('Enter Webhook ')


response = requests.post('webhook' + message)```
#

this is what i used

#

idk if i did it wrong or not

obsidian dragon
#
import requests
import json
import webhook


print('Webhook')

message = input('what do you want  to send? ')

print(message)

webhook = input('Enter Webhook ')


response = requests.post('webhook' + message)
somber heath
tall frost
#

@obsidian dragon

obsidian dragon
#

no

tall frost
obsidian dragon
#

neat

somber heath
#

@whole bear πŸ‘‹

peak nacelle
#

@somber heath πŸ‘‹

#

How do I add a function to a HTML buntton?

eager thorn
peak nacelle
#

Opal??

somber heath
#

@whole bear πŸ‘‹

peak nacelle
somber heath
peak nacelle
#

Do anyone else know ?

somber heath
#

!kindling

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

somber heath
#

@shy reef πŸ‘‹

willow garnet
#

@tulip bobcat

#

here

tulip bobcat
#

Yeah

upper basin
#

Quantum

#

Combinatorial optimization

#

VRP

somber heath
#

@turbid kiln πŸ‘‹

turbid kiln
#

hi

somber heath
#

@chilly rampart πŸ‘‹

upper basin
#

What's the name that you chose?

somber heath
#

I haven't chosen this, and other people have used this combination of letters. QuIQ

upper basin
#

I'm done. I'm gonna send the repo in a moment.

#

You can see how it looks, and maybe that'll help?

#

Go nuts hehehe

somber heath
#

Quantum IQ

#

IQ as in knowledge

#

As in "the" knowledge.

#

The knowledge taxi drivers have in their head to get from P to Q as efficiently as possible.

#

and it also sounds like "quick"

upper basin
upper basin
#

Check out package demo in notebooks.

#

You'll get a feel for how it is used.

somber heath
#

@fresh patio πŸ‘‹

upper basin
#

To use the package though you need a D-Wave API token.

#

The user would need to create an account and then use his/her own token.

#

I have mine there, so you can just use that.

#

I'm thinking of creating a sneaky scraper that makes an account, verifies it using a temp generated email, and then sends the API token.

#

Basically generates a token if you don't have one.

#

I'm gonna try to do that this week.

brisk bridge
#

hi

eager thorn
#

Morning @wind raptor β˜•

wind raptor
#

How's it going?

eager thorn
#

eh ya know, tryna figure out breakfast atm.

brisk bridge
#

guys can you help me this , why do i see such text instead of image when i serve static png file? it works fine for txt file

    def serve_static(self, route: str):
        with open(self.static[route.replace("/static", "")], "rb") as file:
            return file.read()
wind raptor
#

Nice

#

because you are writing the bytes

#

rb

brisk bridge
#

so i need to return original text instead of bytes?

#

i thought browser will decode it

wind raptor
#

Doesn't seem like it does

brisk bridge
#

i see this when i do in "r" mode

UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 111: character maps to <undefined>
#

its confusing

wind raptor
#

Maybe you need to specify the encoding

brisk bridge
#

in headers?

wind raptor
#

hmm, actually you are receiving a file from a user, right?

brisk bridge
#

no

#

i serving it from a static folder

#

using uvicorn

wind raptor
#

Did you set the content type header?

#

the bytes way should work actually if you set it to image/png

brisk bridge
#

i sent text/html mistakely

wind raptor
#

Ahh, that'll do it

brisk bridge
#

btw is there any library for getting suitable headers for all formats?

eager thorn
#

How does it look like your work day is gonna go this morning @wind raptor

wind raptor
eager thorn
#

yes, been working for a while now.

left leaf
#

ghidra

amber raptor
#
SELECT * FROM c WHERE c.type = 'test' AND c.test.other = 1 # This is fine
SELECT * FROM c WHERE c.type = 'test' AND c.test.'1234' = 4 # Nope
SELECT * FROM c WHERE c.type = 'test' AND c.test.1234 = 4 # Nope Again
SELECT * FROM c WHERE c.type = 'test' AND c.test['1234'] = 4 # I LIED, LOLZ MAYBE WORKS``` Your drunk CosmosDB, go home
woeful salmon
#

i mean it kinda makes sense tho as strings cannot be variable names and numbers cannot be variable names

#

think its pretty similar in almost any language

scarlet halo
#

today we started programming in math class :)

#

i am better than the teacher lmao

whole bear
#

SPELIS

scarlet halo
#

charizard?

whole bear
#

whats up

scarlet halo
#

whar

#

;)

woeful salmon
#

pithink well if you like programming you spend alot of time programming vs teachers who spend way more time preparing for classes, teaching students, marking tests, trying to keep up with ever evolving programming languages that they have to teach, try to figure out ways to explain things easier to students (which for the major part have no interest in programming and don't understand how to make a variable at the end of first year)

scarlet halo
woeful salmon
#

f-strings are like 2 year old now? so not too old he probably doesn't regularly read release docs for all languages or read through newly written python code all the time so i can understand how it'd be hard or he might've simply thought its not that important considering we already have the % operator overloading way of formatting strings and the format method (which is still pretty useful sometimes btw)

#

its not great but it is understandable

scarlet halo
#

yeah thats fair

woeful salmon
#

the best way to learn programming even if you have a teacher who's really passionate about programming and keeps up with everything latest is still to self learn and then goto the teacher for doubts and clearning concepts you don't understand i think

#

ofc it completely differs based based on the person learning but most people i know who are really good did it that way

amber raptor
#

Few teachers are passionate about programming. If they were, they would be in private sector making a ton more.

woeful salmon
#

yeah the point was that regardless of if they are or not passionate, self learning is still a way more efficient way of learning and doing it while you have a teacher to goto for doubts or concepts you don't understand from just reading text online is really beneficial

#

its also why this server is so great because it allows people to find that teacher even if its temporarily in the help channels for python

wind raptor
#

Gotta go for a bit. Cheers all πŸ˜„

scarlet halo
whole bear
#

@visual hinge πŸ‘‹

upper epoch
#

hey guys

upper basin
#

Just, um, just sth for yall to see because I had to see it.

whole bear
gentle flint
#

good historians become lecturers or write books, they don't teach a bunch of kids

scarlet halo
scarlet edge
#

hy @high token

kind wharf
high token
scarlet edge
#

fine

#

were are you from?

high token
#

from my house

#

where are you from

kind wharf
#

I can't hear anyone

scarlet edge
#

from my mom

high token
#

nice bro

#

;)

scarlet edge
#

maybe you want fix my code?

high token
#

Want is a strong word. But I'll take a look

#

It looks like super library specific stuff specific

#

Whats not working?

scarlet edge
#

12 second

high token
#

What?

whole bear
#

@meager sleet πŸ‘‹

oblique ridge
#

outlook has neutered itself in what it can do so hard
it's actually so stupid

golden sonnet
#

πŸ‘‹

minor sage
#

little sneak peak for this weeks project πŸ™‚

whole bear
minor sage
whole bear
visual hinge
whole bear
#

Bro that was at 11am

visual hinge
#

yea.. just saw the msg

somber heath
#

@indigo dragon πŸ‘‹

indigo dragon
#

hi

whole bear
#

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

indigo dragon
#

it not leting me talk 😦

whole bear
indigo dragon
#

I falled

#

😦

whole bear
#

You need 50 messages

indigo dragon
#

ah

#

1

#

2

whole bear
#

No spamming

indigo dragon
#

k

#

what yall doing

whole bear
#

Also type in full sentences

indigo dragon
#

alright

#

is that required?

#

k thx, also when I get back I just need a little help

whole bear
#

@calm mesa πŸ‘‹

calm mesa
#

all good just checking out the server

somber heath
indigo dragon
#

well I just trying to make a new line useing \n but for some reason its not working, sorry I just started

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

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.

For long code samples, you can use our pastebin.

indigo dragon
#

so use triple ''' and I wont be spaming?

somber heath
#

ESC
~` 1
TAB

#
print('Hello, world.')
print('Goodbye.')```
indigo dragon
#

Oh thats sick

#

print('Hello')

#

ok so I have alot of pysdo code so but im trying to fix this

somber heath
#

Pseudocode.

indigo dragon
#


print('this many' \n number)```
somber heath
#

!e py number = '13' print('this many\n' + number)

wise cargoBOT
#

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

001 | this many
002 | 13
indigo dragon
#

oh ok, but why does the \n work? wont it be printed?

somber heath
indigo dragon
#

kinda

somber heath
#

!e py a = '\n' b = len(a) print(b)

wise cargoBOT
#

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

1
somber heath
#
'''
'''```
#

!e py a = '\n' b = ''' ''' print(a == b)

wise cargoBOT
#

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

True
whole bear
#

Good night opal

somber heath
#

''' multiline/docstring.

indigo dragon
#

ok, that makes alot more understanable

whole bear
#

Bye ian and stay out of trouble

indigo dragon
#

sorry distracted what?

#

print(\\)

somber heath
#

!e py print('\\')

wise cargoBOT
#

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

\
somber heath
#

!e py print(r'\')This might fail.

wise cargoBOT
#

@somber heath :x: Your 3.12 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     print(r'\')
003 |           ^
004 | SyntaxError: unterminated string literal (detected at line 1)
indigo dragon
#

Good night Charizard

somber heath
#

!e py print(r'\n')

wise cargoBOT
#

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

\n
somber heath
#

!e py 'abc' + 123

wise cargoBOT
#

@somber heath :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     'abc' + 123
004 |     ~~~~~~^~~~~
005 | TypeError: can only concatenate str (not "int") to str
somber heath
#

!e py print('abc' + str(123))

wise cargoBOT
#

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

abc123
somber heath
#

!e py name = 'Peter' age = 16 print('Hello, ' + name + '. You are ' + str(age) + ' years old.') print(f'Hello, {name}. You are {age} years old.')

wise cargoBOT
#

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

001 | Hello, Peter. You are 16 years old.
002 | Hello, Peter. You are 16 years old.
somber heath
#

!e py name = 'Peter' age = 16 print('Hello {}. You are {} years old.'.format(name, age)) print('You are {a} years old, {n}. {a} is mere moments to an immortal.'.format(a=age, n=name))

wise cargoBOT
#

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

001 | Hello Peter. You are 16 years old.
002 | You are 16 years old, Peter. 16 is mere moments to an immortal.
somber heath
#

!d str.format

wise cargoBOT
#

str.format(*args, **kwargs)```
Perform a string formatting operation. The string on which this method is called can contain literal text or replacement fields delimited by braces `{}`. Each replacement field contains either the numeric index of a positional argument, or the name of a keyword argument. Returns a copy of the string where each replacement field is replaced with the string value of the corresponding argument.

```py
>>> "The sum of 1 + 2 is {0}".format(1+2)
'The sum of 1 + 2 is 3'
```  See [Format String Syntax](https://docs.python.org/3/library/string.html#formatstrings) for a description of the various formatting options that can be specified in format strings.
somber heath
#

!f-string

wise cargoBOT
#
Format-strings

Creating a Python string with your variables using the + operator can be difficult to write and read. F-strings (format-strings) make it easy to insert values into a string. If you put an f in front of the first quote, you can then put Python expressions between curly braces in the string.

>>> snake = "pythons"
>>> number = 21
>>> f"There are {number * 2} {snake} on the plane."
"There are 42 pythons on the plane."

Note that even when you include an expression that isn't a string, like number * 2, Python will convert it to a string for you.

somber heath
indigo dragon
#

ok, thanks

#

Im going to leave for a minute, Ill probly be back lol

#

bye for now

somber heath
#

@north dagger πŸ‘‹

north dagger
#

Aye, Opal.

north dagger
#

Do biological rules even apply in comics?

upper basin
north dagger
#

I've only seen a few of the movies too.

#

Gotta make progress on protecting the Earth and it's species.

#

That's interesting.

north dagger
#

It's all about the different geography. The mountains, valleys and rivers. Different looking places around the world.

#

Bees follow the fibonacci sequence don't they?

#

The Golden Ratio is news to me.

#

Oh, I've seen it before. It is "a ratio between two numbers that equals approximately 1.618"

somber heath
#

!e print((1 + 5 ** .5) / 2)

wise cargoBOT
#

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

1.618033988749895
somber heath
#

:1

north dagger
#

What is ** in ((1 + 5** .5) / 2)?

somber heath
#

In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Expressed algebraically, for quantities

    a
  

{\displaystyle a}

and

    b
  

{\displaystyle b}

with

    a

...

north dagger
#

That makes sense. Reguardless of the ratio between a and b, they both add up to a + b

upper basin
#
# pyproject.toml

[build-system]
requires      = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "realpython-reader"
version = "1.0.0"
description = "Read the latest Real Python tutorials"
readme = "README.md"
authors = [{ name = "Real Python", email = "info@realpython.com" }]
license = { file = "LICENSE" }
classifiers = [
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
]
keywords = ["feed", "reader", "tutorial"]
dependencies = [
    "feedparser >= 5.2.0",
    "html2text",
    'tomli; python_version < "3.11"',
]
requires-python = ">=3.9"

[project.optional-dependencies]
dev = ["black", "bumpver", "isort", "pip-tools", "pytest"]

[project.urls]
Homepage = "https://github.com/realpython/reader"

[project.scripts]
realpython = "reader.__main__:main"
north dagger
#

I'm heading out for the night, you guys have a good one.

upper basin
#

@rugged root I published the quantum random number generator package!

#

Try it out and let me know what you think!

eager thorn
eager thorn
#

notebooks directory, that file. last output at the very bottom

upper basin
#

I know

#

OHHH

#

I swear it's randomly selected

#

HEHEHE

eager thorn
#

kek me personally thought it was funny but

brisk bridge
#

hi

somber heath
#

@scarlet edge πŸ‘‹

scarlet edge
#

@somber heath hi

#

you know pyhton

#

help me pls?

upper basin
scarlet edge
#

dm?

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

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.

For long code samples, you can use our pastebin.

scarlet edge
#

fix pls

somber heath
#

@scarlet edge Tell me what it is you need help with.

brisk bridge
#

guys is it fine if i guess header content-type using mime-types lib as it checks using file ext instead of content?

eager thorn
scarlet edge
#

this mode to spectate mode

#

in the game cs2

#

help fix 8 line

#

Game

somber heath
#

Multiplayer?

scarlet edge
#

yap

#

this work

#

i`m have trust video

#

inject i`m think

final laurel
#

what is he trying to do

#

yeah

scarlet edge
#

look simple

upper basin
#

You want to do wallhacking?

somber heath
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

scarlet edge
#

this not rat

upper basin
#

This seems like that.

#

You're seeing people through the walls.

#

To shoot at them.

scarlet edge
#

So I wanted to check the code for the presence of a rat

somber heath
#

@whole bear πŸ‘‹

scarlet edge
#

but I can't run it

whole bear
scarlet edge
#

error in 8 line

final laurel
#

he means ESP

upper basin
final laurel
#

@scarlet edge why cheat

scarlet edge
#

why?

upper basin
#

Make a custom game, and kick people if they stay in the same spot without moving.

#

Like COD

final laurel
#

lol people still play COD?

upper basin
#

Yeah

#

MWIII dropped a few months ago

eager thorn
#

big fan of it too

upper basin
#

It's fun for a few hours

scarlet edge
#

lol XD

upper basin
#

Then it gets boring, then it gets annoying.

final laurel
#

not sure why ppl wanted a new version of mw when BO2 was the best COD game

eager thorn
#

the spawns are still dog shit as always

upper basin
eager thorn
#

BO2 and mw2 was probably the best two.

scarlet edge
#

Isn't this a cycle?

eager thorn
#

you're still asking for the same thing which no one is gonna help with.

upper basin
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

upper basin
#

Ask in a CS2 discord.

#

This is considered cheating, which CS2 discord may be fine with, but in Python discord it is prohibited.

#

Apologies.

#

If you want to learn, do modding instead.

final laurel
#

hello

#

i think they are afk

upper basin
#
pip install qoin
#

IBM Composer

somber heath
#

!e py import random for _ in range(5): random.seed(123) choices = random.choices(range(5), k=10) print(choices)

wise cargoBOT
#

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

001 | [0, 0, 2, 0, 4, 0, 2, 1, 4, 0]
002 | [0, 0, 2, 0, 4, 0, 2, 1, 4, 0]
003 | [0, 0, 2, 0, 4, 0, 2, 1, 4, 0]
004 | [0, 0, 2, 0, 4, 0, 2, 1, 4, 0]
005 | [0, 0, 2, 0, 4, 0, 2, 1, 4, 0]
somber heath
#

!e py import random for _ in range(5): choices = random.choices(range(5), k=10) print(choices)

wise cargoBOT
#

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

001 | [0, 3, 0, 2, 4, 2, 0, 3, 0, 1]
002 | [0, 3, 2, 3, 3, 0, 2, 1, 4, 3]
003 | [0, 3, 3, 2, 1, 0, 3, 2, 4, 1]
004 | [1, 0, 2, 4, 2, 2, 0, 0, 3, 1]
005 | [3, 1, 0, 2, 0, 0, 0, 4, 3, 3]
somber heath
#

The seed, by default, is based on the time when stuff gets initialised.

upper basin
#

In physics, a hidden-variable theory is a deterministic physical model which seeks to explain the probabilistic nature of quantum mechanics by introducing additional (possibly inaccessible) variables.
Indeterminacy of the state of a system previous to measurement is assumed to be a part of the mathematical formulation of quantum mechanics; moreo...

obsidian dragon
#

@somber heath hi

upper basin
#

Universe 0 : 0000011111
Universe 1 : 0000011111

#

Universe 0 : 0100101101
Universe 1 : 0011010110

somber heath
#

@grim gorge πŸ‘‹

upper basin
#

FeynmanHibbs book

somber heath
#

"Don't call me Shirley" - Richard Feynman

upper basin
#

Star my repo

stark river
#
echo /__pycache__ >> .gitignore
glad pagoda
#

I'm working on my offline speech transcription program (with GUI).

upper basin
#

🌟

#

I want these

glad pagoda
#

to the beginning in terms of, you know, the progression of the tune. And so if you give it an ending, that resolves that loop. I like that. Is there a quantum relationship here, possibly? Your mom was so fat, she plays pool with the planets.

rugged root
#

That sentence went everywhere and nowhere

#

I guess that's also quantum?

obsidian dragon
#

@rugged rootyes they ware talki9ng about quantams

upper basin
peak depot
rugged root
#

Majestic

peak depot
#

I know the window is unclean.. I did clean it before winter but the rain and dirt got it...

verbal hazel
#

@rare trellis dm

somber heath
#

@native berry πŸ‘‹

native berry
peak depot
whole bear
#

Um @rugged root Can you read my bio?

rugged root
#

Cool

whole bear
#

Read the hidden things

solemn helm
#

Dont

#

Still you won't regret it

#

It's good tho

rugged root
peak depot
#

Everybody, let Hemlock breath

somber heath
#

@mystic thicket πŸ‘‹

peak depot
#

Microsoft just fired 1600 people...

whole bear
mystic thicket
peak depot
#

Wtf?

whole bear
#

You said they were fired

somber heath
#

They're not made of pottery.

glad pagoda
rugged root
#

Oh sick

glad pagoda
# rugged root Oh sick

It uses CUDA cores AND threading. So I can stack up a dozen mp3, mp4, wav files, etc. and it automatically transcribes them and dumps a .txt file in the same place as the audio file.

somber heath
#

@peak depot

glad pagoda
#

this is the gui running.

long nimbus
#

@somber heath The semantic kernel, after boot, can now behave relatively autonomously for some tasks.
@lucid blade Let's not forget that fruit picking turns out to be the hardest to automate human skill.

glad pagoda
#

gotta run. Bye for now!

upper basin
#

babye

somber heath
whole bear
#

Bye everyone

peak depot
#

Answer only in GIF

rugged root
peak depot
rugged root
peak depot
tulip bobcat
#

Sentimental analysis of restaurant review@mr.hemlock

rugged root
#

I've never messed with that before

tulip bobcat
#

Ur ideas if any

rugged root
#

You're full robot, sorry

tulip bobcat
scarlet halo
#

"alone nugget"

rugged root
#

Still doing sentimental analysis or possibly something else?

peak depot
#

"Hating life?"

tulip bobcat
scarlet halo
rugged root
#

!kindling

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

peak depot
scarlet halo
peak depot
#

I would not smash that escape room

scarlet halo
#

thats easy as an introverted person

peak depot
scarlet halo
#

shell prompt at bottom concept

peak depot
#

Murica:

scarlet halo
#

am i meant to do that

peak depot
#

Yes

whole bear
#

My mic is not working

scarlet halo
#

woking

mossy grove
#

Hello everyone 🀠

scarlet halo
peak depot
mossy grove
#

Please can I know more about this group

scarlet halo
mossy grove
#

I was looking for a game developer

peak depot
#

Check the Careers -option

obsidian dragon
#

@peak depot don't die

scarlet halo
#

"alone nugget"

peak depot
#

Lets all be alone nuggets together, to become a happy meal

scarlet halo
peak depot
#

Nuggets in a box

tulip bobcat
#

Hey do u have any other idea to include in sentimental anlaysis of restaurant reviews any feature. @rugged root it should be unique

#

Can we extend to something more

rapid chasm
#

!e

primary = "adc"
secondary = "fill"

valid_roles = ['top', 'jungle', 'mid', 'adc', 'support']

if primary == secondary or (primary not in valid_roles and secondary not in valid_roles):
    print("NOT OKAY")
else:
    print("OKAY")
wise cargoBOT
#

@rapid chasm :white_check_mark: Your 3.12 eval job has completed with return code 0.

OKAY
minor sage
#

!e

wise cargoBOT
#
Missing required argument

code

minor sage
#

!e primary = "adc"
secondary = "fill"

valid_roles = ['top', 'jungle', 'mid', 'adc', 'support']

if primary not in valid_roles or secondary not in valid_roles:
print("NOT OKAY")
elif primary == secondary:
print("NOT OKAY")
else:
print("OKAY")

wise cargoBOT
#

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

NOT OKAY
rapid chasm
#

!e

primary = "adc"
secondary = "fill"

valid_roles = ['top', 'jungle', 'mid', 'adc', 'support']

if primary == secondary or primary not in valid_roles and secondary not in valid_roles:
    print("NOT OKAY")
else:
    print("OKAY")
wise cargoBOT
#

@rapid chasm :white_check_mark: Your 3.12 eval job has completed with return code 0.

OKAY
minor sage
#

if primary == secondary or (primary not in valid_roles and secondary not in valid_roles):

#

!e
primary = "adc"
secondary = "fill"
valid_roles = ['top', 'jungle', 'mid', 'adc', 'support']
if primary == secondary or (primary not in valid_roles or secondary not in valid_roles):
print("NOT OKAY")
else:
print("OKAY")

wise cargoBOT
#

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

NOT OKAY
rapid chasm
#

!e

primary = "adc"
secondary = "fill"

valid_roles = ['top', 'jungle', 'mid', 'adc', 'support']

if primary == secondary or (primary not in valid_roles or secondary not in valid_roles):
    print("NOT OKAY")
else:
    print("OKAY")
wise cargoBOT
#

@rapid chasm :white_check_mark: Your 3.12 eval job has completed with return code 0.

NOT OKAY
rapid chasm
#

!e

primary = "fill"
secondary = "fill"

valid_roles = ['top', 'jungle', 'mid', 'adc', 'support']

if primary == secondary or (primary not in valid_roles or secondary not in valid_roles):
    print("NOT OKAY")
else:
    print("OKAY")
minor sage
#

@rapid chasm

wise cargoBOT
#

@rapid chasm :white_check_mark: Your 3.12 eval job has completed with return code 0.

NOT OKAY
minor sage
#

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

rugged root
#

It's also free on his site

#

Not to download, but as the webpage

whole bear
#

@raven ferry πŸ‘‹

#

@north kayak πŸ‘‹

north kayak
#

Hello

#

Desculpe mas eu sou brasileiro

slim kiln
#

@somber heath pls help broo

slim kiln
#

damn, how is ti?

echo garden
whole bear
#

@tropic lance Are you free?

#

We need help

somber heath
#

@dim palm πŸ‘‹

dim palm
somber heath
dim palm
#

i have to be in the server for like 3 days and send 50 messges :0

#

yeap i will

#

so what are u up 2

#

oh

#

are u a programmer

#

tell me about urself\

#

oh noice

#

alright

somber heath
#

Echidna.

whole bear
#

Image
Echidna.

somber heath
#

@latent atlas πŸ‘‹

whole bear
somber heath
#

@dusky plank πŸ‘‹

dusky plank
#

hey

#

how are yall this fine evening

#

intresting

#

what are you guys up to

somber heath
dusky plank
#

gotcha

#

thanks

somber heath
#

@thick cobalt πŸ‘‹

somber heath
#

@dapper root πŸ‘‹

#

@ripe ibex πŸ‘‹

#

You thought that bats were dangerous killer animals. Well, not this one at least. This is a gigantic fruit bat that we met up in the mountains of Bali Indonesia. This Indonesian guy has this bat as a pet that he rescued as a baby and has kept it with him for many years.

🌍 Let’s connect on Instagram https://instagram.com/olestories
⭐️ To See My ...

β–Ά Play video
pallid verge
#

hellooo'

#

@somber heath do you know about any library or framework ...where i can trigger my script ..let's say every morning at 6:00 ..something like that ?