#voice-chat-text-0

1 messages ยท Page 74 of 1

valid finch
#

!cod

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.

valid finch
#

    jokes = [
        "What did the ocean say to the other ocean? Nothing, it just waved!"
        "Don't trust atoms, they make up everything!"
        "Why did a tomato blush? It saw ranch dressing!"

]
    print(random.choice(jokes))
    print(random.choice(jokes))```
vocal basin
#

in what way does it fail?

#

oh

#

SyntaxError

fluid helm
#

comma?

vocal basin
#

missing comma

fluid helm
#

yap

valid finch
#

it just doesnt give me anything

vocal basin
#

missing ()

vocal basin
valid finch
#

it gives me nothing still

#

niiiiiiiiiiice

vocal basin
#

prompt.lower == "..." is always False because you're comparing a method to a string

valid finch
#

im sorry for asking for help, im trying to do everything without a tutorial

#

ive been stuck in tutorial hell for awhile

vocal basin
#

there's also an option to do that

match prompt.lower():
    case 'can you do something?':
        ...
    case 'can you do something else?':
        ...
    case 'can you do something completely different?':
        ...
#

!e

prompt = 'Can you do something else?'
match prompt.lower():
    case 'can you do something?':
        print('A')
    case 'can you do something else?':
        print('B')
    case 'can you do something completely different?':
        print('C')
wise cargoBOT
#

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

B
vocal basin
#

I'd probably rather do that using decorators

vocal basin
# vocal basin I'd probably rather do that using decorators

!e

from typing import Callable
commands: dict[str, Callable[[], None]] = {}
def command(prompt: str) -> Callable[[Callable[[], None]], Callable[[], None]]:
    def wrap(func: Callable[[], None]) -> Callable[[], None]:
        commands[prompt.casefold()] = func
        return func
    return wrap
@command('can you do something?')
def do_something():
    print('A')
@command('can you do something else?')
def do_something_else():
    print('B')
def main():
    prompt = 'Can you do something else?'
    commands[prompt.casefold()]()
main()
wise cargoBOT
#

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

B
vocal basin
fluid helm
#

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

fluid helm
#

wkwk

somber heath
#

@shrewd sequoia ๐Ÿ‘‹

#

!d random.choices

wise cargoBOT
#

random.choices(population, weights=None, *, cum_weights=None, k=1)```
Return a *k* sized list of elements chosen from the *population* with replacement. If the *population* is empty, raises [`IndexError`](https://docs.python.org/3/library/exceptions.html#IndexError "IndexError").

If a *weights* sequence is specified, selections are made according to the relative weights. Alternatively, if a *cum\_weights* sequence is given, the selections are made according to the cumulative weights (perhaps computed using [`itertools.accumulate()`](https://docs.python.org/3/library/itertools.html#itertools.accumulate "itertools.accumulate")). For example, the relative weights `[10, 5, 30, 5]` are equivalent to the cumulative weights `[10, 15, 45, 50]`. Internally, the relative weights are converted to cumulative weights before making selections, so supplying the cumulative weights saves work.
somber heath
#

!d str.join

wise cargoBOT
#

str.join(iterable)```
Return a string which is the concatenation of the strings in *iterable*. A [`TypeError`](https://docs.python.org/3/library/exceptions.html#TypeError "TypeError") will be raised if there are any non-string values in *iterable*, including [`bytes`](https://docs.python.org/3/library/stdtypes.html#bytes "bytes") objects. The separator between elements is the string providing this method.
somber heath
#

@uncut salmon ๐Ÿ‘‹

uncut salmon
#

heyy

#

I need an opinion on the framework and the host. I am working on a project to connect to APIs.

First API will be ecommerce platform. It will send webhook events for order creation.
Second API will be the inventory management system. It will send out product information and receive orders from the first API.

There will be automated tasks to update product info on the first API.

There will be a webhook listener that would create an order on the second API.

There will be a user interface that will preview errors, logs, and the ability to create a manual order.

I am thinking about using django with django-rest-framework.

I will host it on AWS lightsail

somber heath
#

@whole bear ๐Ÿ‘‹

uncut salmon
#

I hate the new help system!!

#

It's terrible

#

Since they switched it to the new system I have not had anyone answer any of my questions

supple goblet
#

test

scenic stratus
#
from pynput import keyboard
import pyperclip

def on_press(key):
    if hasattr(key, 'char'):
        if key.char == '\x16':
            num = pyperclip.paste()
            pyperclip.copy(int(num) + 2)

starting_num = -1
pyperclip.copy(starting_num)

listener = keyboard.Listener(on_press=on_press)
listener.start()
listener.join()
somber heath
buoyant cradle
#

Define a function that takes an argument. Call the function. Identify what code is the argument and what code is the parameter.

#

!e```
def greet(name):
print("Hello, " + name)

greet("John")

#The argument is "John" and the parameter is name```

wise cargoBOT
#

@buoyant cradle :white_check_mark: Your 3.11 eval job has completed with return code 0.

Hello, John
buoyant cradle
#

Call your function from Example 1 three times with different kinds of arguments: a value, a variable, and an expression. Identify which kind of argument is which.

#

!e```
def greet(name):
print("Hello, " + name)

greet("John")
name = "Jane"
greet(name)
greet("Bob" + " Smith")

#The first argument is a value ("John"), the second is a variable (name), and the third is an expression ("Bob" + " Smith").```

wise cargoBOT
#

@buoyant cradle :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Hello, John
002 | Hello, Jane
003 | Hello, Bob Smith
somber heath
#

@round musk ๐Ÿ‘‹

round musk
#

yes

#

i cant open my mic

wise cargoBOT
#

Voice verification

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

buoyant cradle
#

Construct a function with a local variable. Show what happens when you try to use that variable outside the function. Explain the results

round musk
#

!voiceverif

buoyant cradle
#

!e```
def greet(name):
message = "Hello, " + name
print(message)

greet("John")
print(message)

#Trying to use the local variable message outside the
#function will result in a NameError,
#because the variable only exists within the scope of the function and cannot be accessed outside of it.```

wise cargoBOT
#

@buoyant cradle :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 3
002 |     print(message)
003 |                   ^
004 | IndentationError: unindent does not match any outer indentation level
somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

somber heath
#

Corey Schafer, Youtuber, playlists.

buoyant cradle
#

Construct a function that takes an argument. Give the function parameter a unique name. Show what happens when you try to use that parameter name outside the function. Explain the results.

#

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

buoyant cradle
#

!e```
def greet(name):
message = "Hello, " + name
print(message)

greet("John")
print(message)

#Trying to use the parameter message outside the function will result in a NameError,
#because the variable only exists within the scope of the function and cannot be accessed outside of it```

wise cargoBOT
#

@buoyant cradle :x: Your 3.11 eval job has completed with return code 1.

001 | Hello, John
002 | Traceback (most recent call last):
003 |   File "<string>", line 6, in <module>
004 | NameError: name 'message' is not defined
somber heath
#

!e ```py
def func(arg):
print(arg)

func(5)
func(arg=10)```

wise cargoBOT
#

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

001 | 5
002 | 10
willow gate
#

@somber heath hi

somber heath
#

!e ```py
def func(a, b):
print(a, b)

func(1, 2)
func(b=2, a=1)```

wise cargoBOT
#

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

001 | 1 2
002 | 1 2
willow gate
#

@somber heath can you help me i have one doubt?

somber heath
#

Keyword arguments.

willow gate
#

i want to find index by element

#

list

#

can you type here

#

for string too

somber heath
#

!e py data = list('abcdefg') i = data.index('f') print(i) print(data[i])

wise cargoBOT
#

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

001 | 5
002 | f
willow gate
#

ok

somber heath
#

!e py data = 'abcdefg' i = data.index('f') print(i) print(data[i])

wise cargoBOT
#

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

001 | 5
002 | f
willow gate
#

ok

#

yes

#

enumerate is only use with for loop?

sly yarrow
#

enumerate is faster that range)

#

then

willow gate
#

from enumerate i will get index of all elements present?

sly yarrow
somber heath
#

!e py text = 'abcdefgf' for iv in enumerate(text): print(iv)

wise cargoBOT
#

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

001 | (0, 'a')
002 | (1, 'b')
003 | (2, 'c')
004 | (3, 'd')
005 | (4, 'e')
006 | (5, 'f')
007 | (6, 'g')
008 | (7, 'f')
willow gate
#

yes

somber heath
#

!e py i, v = (1, 'b') print(i) print(v)Variable unpacking.

wise cargoBOT
#

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

001 | 1
002 | b
somber heath
#

!e py text = 'abcdefgf' for i, v in enumerate(text): print(i, v)

wise cargoBOT
#

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

001 | 0 a
002 | 1 b
003 | 2 c
004 | 3 d
005 | 4 e
006 | 5 f
007 | 6 g
008 | 7 f
sly yarrow
#

why by the instance we cannot find mro

#

different

willow gate
#

set is unordered then the index of element get change?

sly yarrow
#

class Sum:
pass

class Product(Sum):
pass
p = Product(1)
p.mro

#

we can only access from the class information about mro

somber heath
#

!e ```py
class A:
pass

print(A.mro())
a = A()
print(type(a).mro())
print(a.class.mro())```

wise cargoBOT
#

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

001 | [<class '__main__.A'>, <class 'object'>]
002 | [<class '__main__.A'>, <class 'object'>]
003 | [<class '__main__.A'>, <class 'object'>]
sly yarrow
#

yeah, same, they all referring to the class

willow gate
#

thanks @somber heath

#

i have forget that index()

#

method

sly yarrow
#

no, i just wondered why we cannot from the instance )) just why

willow gate
#

yes

sly yarrow
#

)

buoyant cradle
#

Show what happens when a variable defined outside a function has the same name as a local variable inside a function. Explain what happens to the value of each variable as the program runs.

somber heath
#
def a():
    def b():
        ...```
sly yarrow
#

actually, the book of mark lutz has a section about LEGB rule very clearly

buoyant cradle
#

!e```
name = "Jane"
def greet(name):
print("Hello, " + name)

greet("John")
print(name)

#The value of the global variable name is not changed by the function,
#so after calling the function, name still has the value "Jane".
#The local variable name inside the function has a separate scope,
#so it only affects the output of the function and does not impact the global variable.```

wise cargoBOT
#

@buoyant cradle :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Hello, John
002 | Jane
buoyant cradle
#

Write a function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine lines.

Now add a function named clear_screen that uses a combination of the functions nine_lines, three_lines, and new_line (provided below) to print a total of twenty-five lines. The last line of your program should call first nine_lines and then the clear_screen function.

The function three_lines and new_line are defined below so that you can see nested function calls. Also, to make counting โ€œblankโ€ lines visually easier, the print command inside new_line will print a dot at the beginning of the line:

def new_line():

print('.')

def three_lines():

new_line()

new_line()

new_line()

It is very helpful if you print a placeholder between the printing of 9 lines and the printing of 25 lines. It will make your output easier to read for your instructor to assess. A placeholder can be output such as โ€œPrinting nine linesโ€ or โ€œCalling clearScreen()โ€.

sly yarrow
#

i have two py file, but it should serve the same purpose, but the second code is rising the exception
!e

class DuplicateSuper:
def init(self, val):
self.val = val
def getattr(self, item):
return getattr(self.val, item)
obj = [1,2,3]
proxy = DuplicateSuper(obj)
proxy.append(2)
print(obj)
the second script

obj = [1,2,3]
getattr(obj, append(4))

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.

buoyant cradle
#

!e```

Define the function new_line

def new_line():
print('.')

Define the function three_lines. it will print 3 lines

def three_lines():
new_line()
new_line()
new_line()

Define the function nine_lines. it will print 9 lines

def nine_lines():
three_lines()
three_lines()
three_lines()

Define the function clear_screen. it will print 25 lines

def clear_screen():
nine_lines()
nine_lines()
three_lines()
three_lines()
new_line()

Call the functions nine_lines and clear_screen

nine_lines()
clear_screen()```

wise cargoBOT
sly yarrow
#

!code

print("hello worrld")

#

oh thanks

somber heath
#

!e py class DuplicateSuper: def __init__(self, val): self.val = val def __getattr__(self, item): return getattr(self.val, item) obj = [1,2,3] proxy = DuplicateSuper(obj) proxy.append(2) print(obj)

wise cargoBOT
#

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

[1, 2, 3, 2]
sly yarrow
#

yes

#

so getattr i am referring to the list instance' append method, so theoretically it should work the same

somber heath
#

!e py append

wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'append' is not defined
somber heath
#

!e py append = 'abc' print(append)

wise cargoBOT
#

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

abc
sly yarrow
somber heath
#

!e py my_list = [1, 2, 3] m = my_list.append print(m)

wise cargoBOT
#

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

<built-in method append of list object at 0x7f763973acc0>
somber heath
#

!e py my_list = [1, 2, 3] m = getattr(my_list, 'append') print(m)

wise cargoBOT
#

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

<built-in method append of list object at 0x7f9fa08c2cc0>
sly yarrow
#

!code

getattr(obj, 'append')(4)
print(obj)

oh yoo, it was confusing

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.

somber heath
#

!e py obj = [1,2,3] getattr(obj, 'append')(4) print(obj)

wise cargoBOT
#

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

[1, 2, 3, 4]
golden sonnet
#

๐Ÿ™Œ

#

๐Ÿฅด its not connecting

#

k i'm in

somber heath
#

@hidden rock ๐Ÿ‘‹

golden sonnet
#

how you doin'?

hidden rock
somber heath
#

@primal pier ๐Ÿ‘‹

primal pier
#

hello

sly yarrow
#

guys, do you have any project that a beginner can contribute ?

buoyant cradle
#

i dont today, but wednesday i will

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.

golden sonnet
willow gate
#

hello

#

how to get accese to mic

#

ok

#

ok i will

#

did you know how to close the activated virtual environment ?

#

ok

#

i am also leaning python

#

medium

#

i am pursuing bsc computer science

#

nice

#

where are you from

#

i am in 4 sem

#

india

#

where are you leaning from

#

had you enroll for cs50?

#

its a online course by harvard university where you can learn python

#

its free

#

what?

#

i didn't hear properly

#

in program

#

nope its not part of course

#

its just online course every year they teach python

#

Python Tutorials For Absolute Beginners: In this Python programming tutorial, we will see complete Python from scratch. This Python course is beginner-friendly which means that any Python beginner can start learning from this Course. I will start this course from zero, and then we will look into the advanced python concepts.
This Python complete...

โ–ถ Play video
#

you just watch this video sure you will like it

#

@buoyant cradle

#

see this

#

you will like his notes

#

what?

#

ok you continue

#

bye

willow gate
#

hello

#

i think i should do voice verification

#

it will take 3 days?

#

yeah 2 mins

#

browser mic permision

#

i not much good in english speaking

somber heath
#

Voice on browser-based Discord is shit.

willow gate
#

means i never talk with anyone

somber heath
#

I can barely hear you, but I heard you say hello.

#

Use the Discord application vs the webbrowser Discord.

#

If you can.

willow gate
somber heath
#

If it's inconvenient, then don't bother.

#

If it is convenient, please bother.

#

You're quite faint.

#

Are you near or on a road?

willow gate
#

nope

somber heath
#

Hello. ๐Ÿ™‚

sweet lodge
somber heath
#

It so often is not.

#

It does something to people's mics. Listening to others may be fine on it, but when people use browser Discord to transmit their voice, it ends up with snow noise in it.

sweet lodge
#

firHmm
I hear that a lot but [AFAIK] Iโ€™ve never really had a problem with it

somber heath
#

Plus, it's as if the world's microphone manufacturers got together and said, "Let's give India all of our shitty mics." then laughed maniacally like cartoon villains.

willow gate
#

lol

#

@somber heath did you like any other language than python?

#

had you make any project on ai?

#

can we use append method for strings?

somber heath
#

!e py text = "abc" text = text + "def" text += "ghi" print(text)

wise cargoBOT
#

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

abcdefghi
somber heath
#

But you are creating new strings at each step.

willow gate
#

yes

somber heath
#

Unlike list appending, where you still have the same containing list object.

willow gate
#

ok

somber heath
#

"When you know the Dutch aren't fucking around anymore."

rugged root
#

Yo

#

Girl Genius

#

That was the one

#

Just found the comic

#

I have a feeling I'm going to be very up and down today (running around work I mean)

#

Sounds about right

#

Easy to steal

#

We all are

#

Legs

#

And food is the fuel source

#

You don't know my life

#

I'll eat whatever I want

#

Petroleum or not

#

@quaint peak Yeah that sounds right

#

If there aren't cars, you steal the next best thing

#

Easy to make off with a bunch of bikes

vocal basin
#

tires production still sometimes uses oil products
though bikes' ones wear off less than those of cars

#

iirc, for cars, the problem with tires isn't as much about cost as as about pollution

#

from what I've heard somewhere (source? idk), they contribute to pollution more than exhaust

rugged root
#

People are just getting..... tired of it

#

Hey Smr

#

Called it!

#

That's good at least

#

We're making tire puns

#

Hasn't gained much traction yet, though

#

We're kind of treading old ground

#

Putting on airs

#

HA

#

We're really getting some mileage out of these jokes

#

Kilometerage?

#

Whatever

#

Oooooo

#

Subtle

#

Liked that one

#

I think the hate on them gets blown out of proportion

valid finch
#

yoooo

rugged root
#

God

valid finch
#

whats up

rugged root
#

Hey sup

#

I really really really really REALLY hate DMS

#

Like

valid finch
#

oh im sorry u good bro

rugged root
#

Really hate it

#

Yeah I'm fine

#

Just dealing with work software

#

I want to punch

#

Correct

#

Document Management Software

#

I stepped down from the position

#

I'm not able to dedicate the time and attention to admin duties and I'd rather we have people who can

#

BUT, I'm still Voice Lead, so I still have full control of my little domain here

#

Starcraft wasn't really my jam

#

Was more of a Red Alert 2 person

valid finch
#

oh hey mr hemlock, I was previously on the server for like 3 months, can i get unmuted?

rugged root
#

One sec

vocal basin
#

even more than 3 months ago

rugged root
#

Almost a year ago

#

Yeah

#

Just double checking some things

valid finch
#

aight

lavish rover
#

Wait hemlock, no admin anymore?

rugged root
#

Nah

lavish rover
#

feels wrong

#

half the appeal of being friends with you was red name /s

#

I like red

rugged root
#

Back in a sec.

somber heath
graceful magnet
#

Hello

vocal basin
#

swift?

#

banks use it

#

idrk if common people can access it

#

probably not

#

third parties don't move money when you send it

#

that's why it takes less time

#

but
withdrawals may take time if too many people try to withdraw

#

because that would actually require moving money

somber heath
#

@torn vessel ๐Ÿ‘‹

past oar
#

hi

#

i cant verify yet

#

seems im a bit short of 50 messages to verify

#

is python really the best option for teaching programming?

vocal basin
#

"best for what/who?"

past oar
#

in my use case im using it to teach begineers ( high school)

#

however they seem to struggle alot with syntax

#

i feel like c will be too difficult

rugged root
#

Yo

#

I'm here sorry, just juggling things at work

#

Unfortunately not as fun as it sounds

torn vessel
#

sorry i was tryin to verify myself

rugged root
#

Well with this it'd be computer hardware

torn vessel
#

but seems like I need to send at least 50 messages

rugged root
#

Bit hard to crumple

past oar
#

i ttok my students off training wheels yesterday. until now ive had them kinda copying code and modifying code . however yesterday i asked them to create a basic script from scratch but they seemed to have difficulty @somber heath

rugged root
#

Wireless mice

#

You're awkwardly shaped....

vocal basin
#

there are reasons to say why Rust is best for beginners
it forces to write less bad code
like, "suffer now to suffer less later"
if "suffer now" part actually turns out to be suffering, then, well, probably Rust isn't the good choice[ for that particular person at that particular level of knowledge]

rugged root
#

HA

torn vessel
#

why would you want to juggle mice?

rugged root
#

To bring any shred of joy possible into my life

torn vessel
#

ok fair enough

rugged root
#

That went way darker than I meant it to

#

Huh.... TIL there are passive PoE injectors

past oar
#

yeah ive done that but they seem to just be memorizing stuff and not applying it

torn vessel
rugged root
#

Power over Ethernet. Some devices let you just use a powered ethernet cable to both power and send the data. In our case, our office phones allow it

torn vessel
#

?

rugged root
#

But you need a switch or a passive PoE device to give that power

#

Yeah

#

I just didn't realize that was a thing

torn vessel
#

wouldn't that be a problem considering the average length of an ethernet cable?

vocal basin
past oar
#

@somber heathgot some pretty picture scripts you can send me? theyve done strings artimetic variables data types and numbers and if else statements

rugged root
#

Neat

#

Sounds cool

vocal basin
#

my "minimalistic" database somehow got to a state where it consists of at least 30 classes
this is probably going to be at least 32 by the end of this day

past oar
#

ive been using w3schools as a reference for them

rugged root
#

I thought the same thing before

#

Nor is it an issue if you use them on devices that don't support or require PoE

vocal basin
past oar
#

tldr they have heavily restricted internet access and cant google due to content filtering so ive had 2-3 sites whitelisted @somber heath

rugged root
#

W3Schools HAS gotten better, but yeah

#

I treat it more of a quick reference than anything else

vocal basin
torn vessel
rugged root
#

Nah

vocal basin
#

I mostly avoid w3schools

rugged root
#

They have improved, but...

vocal basin
#

but for the latter, there is MDN

rugged root
#

Yep

#

MDN can be a bit dense, though

past oar
#

@somber heathgot a better recommendation ? note any site that gets whitelisted will need to be heavily reviewed for content

torn vessel
#

guys does anybody have experience with web scraping and selenium?

past oar
#

ive had freecodecamp blocked

somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

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.

vocal basin
#
rugged root
#

@cerulean ridge Sup Bea

#

โค๏ธ

vocal basin
cerulean ridge
#

i'm doing well mister

rugged root
#

Good good

vocal basin
#

docs.python.org is reasonable to have allowed

rugged root
#

Best site for starting on JS

vocal basin
rugged root
#

Hands down

vocal basin
rugged root
#

Love it

vocal basin
rugged root
#

God the photoshop job on some of these images...

#

Like... Come on

#

It won't hurt not PoE devices

torn vessel
#

@past oar you do cyber security?

rugged root
#

@valid finch If you're going to cough, please mute

past oar
rugged root
#

@amber raptor So would it be advised to just get a regular access point that has a couple lan outs and just grab an injector?

torn vessel
#

do you know if there is a way to spoof webgl hash without being detected?

past oar
rugged root
#

@somber heath It's okay, it just helps you explain how to install packages

#

I try

past oar
rugged root
#

Works for this guy

torn vessel
rugged root
#

It's free on their site

#

Nah

#

Just lots of practical application cases

#

And good for small automation and other cools stuff

#

I think of it as Python is quicker to develop but slower in runtime

#

But in quite a few cases, that runtime speed isn't a big factor

#

HA

vocal basin
#

if you can just throw money at hardware and if programmer performance is more important, going for python may be an option

but, like, python allowing for programmer performance is also relative

rugged root
#

Depends on the libraries, too

#

Plenty of them are in compiled C and Python is just the wrapper

vocal basin
#

!d str.casefold

wise cargoBOT
#

str.casefold()```
Return a casefolded copy of the string. Casefolded strings may be used for caseless matching.

Casefolding is similar to lowercasing but more aggressive because it is intended to remove all case distinctions in a string. For example, the German lowercase letter `'รŸ'` is equivalent to `"ss"`. Since it is already lowercase, [`lower()`](https://docs.python.org/3/library/stdtypes.html#str.lower "str.lower") would do nothing to `'รŸ'`; [`casefold()`](https://docs.python.org/3/library/stdtypes.html#str.casefold "str.casefold") converts it to `"ss"`.

The casefolding algorithm is described in section 3.13 of the Unicode Standard.

New in version 3.3.
rugged root
#

user_input.lower()

#

Oooo

#

Forgot about casefold

past oar
#

!d python indentation

wise cargoBOT
#

Python Runtime Services

The modules described in this chapter provide a wide range of services related to the Python interpreter and its interaction with its environment. Hereโ€™s an overview:

rugged root
#

Oh shit

#

THAT's the thing I was looking for

past oar
#

!d indentation

wise cargoBOT
#

Leading whitespace (spaces and tabs) at the beginning of a logical line is used to compute the indentation level of the line, which in turn is used to determine the grouping of statements.

Tabs are replaced (from left to right) by one to eight spaces such that the total number of characters up to and including the replacement is a multiple of eight (this is intended to be the same rule as used by Unix). The total number of spaces preceding the first non-blank character then determines the lineโ€™s indentation. Indentation cannot be split over multiple physical lines using backslashes; the whitespace up to the first backslash determines the indentation.

rugged root
#

@somber heath You mean America?

#

Specifically the south

vocal basin
rugged root
#

Only have the one device on there that has PoE needs

#

Wouldn't even really need a passthrough on the unit

vocal basin
rugged root
#

Although at this point

#

It becomes moot since this isn't saving a plug

#

Mkay, nevermind

#

It's moot regardless

#

I know, bad hem

amber raptor
#

You want PoE pay up.

rugged root
#

Either way I'd have to use power plugs

#

Which doesn't solve the issue

#

Is this an email forwarding joke?

#

Wait

#

So it makes the entire switch board PoE?

#

GOoooooooot it

somber heath
#

Would battery advertisements be power plugs?

rugged root
#

Okay

#

Hmm

vocal basin
#

there are two different kinds of tuples, from the type system view

tuple[T0, T1, T2]
tuple[T, ...]

those represent somewhat different things usually

rugged root
#

I'll likely just get the access point and just deal with having the additional power plugged in

amber raptor
#

Ok

vocal basin
rugged root
#

Because while it would pump it through, it's just not worth me trying to figure out which port is piping out to their office

#

Strings aren't mutable, integers, floats as well...

#

Immutability is still helpful

#

Not to mention, Python internally uses tuples quite a lot

#

Saves a lot of overhead

#

Tuples are also what should be used for constants

amber raptor
#

Yea, it was probably required for internal stuff

rugged root
#

They can also be used for keys in dictionaries...

#

Like they do have a purpose

vocal basin
#

imo, there should be something like

typing.Record[T0, T1]

such that it's meaning [t0, t1] and (t0, t1)
so, like

r: typing.Record[T0, T1]
t0: T0
t1: T1
t0, t1 = r
rugged root
#

I'll agree with you regarding containers

#

However the base types are immutable

sweet lodge
#

@amber raptor what would you say if I said a new hire, in their first week, emailed the "all employees" address to notify a single department about a specific change to a specific order?

#

It's just my fault for not restricting who can send to the "all employees" address?

rugged root
#

Yeah. Since computers are just 0's and 1's

#

It just makes it more clear and consistent

sweet lodge
#

Fair

#

I really need to get around to that
Sometimes I want to just delete it... It almost never gets anything actually useful

amber raptor
#

That being said, hiring people with brains is good idea

rugged root
#

Majority of security work is running existing tools and running reports

rugged root
#

Yep

#

Rab's right on this one

vocal basin
#

still someone needs to develop those tools

somber heath
#

11111111 One 128, one 64, one 32, one 16, one 8, one 4, one 2, one 1. 00000000, zero of all the same.

rugged root
#

@past oar No it really shouldn't be by hand

sweet lodge
rugged root
#

They only care as reactionary

#

@dusk raven Sup brah

#

Yep

#

Recovery not prevention

#

It won't affect their bottom line much

#

@amber raptor Turn it down a notch

#

Honestly

#

Better than we usually get

#

Not really

#

The public memory is very short

vocal basin
#

well, they may be caring about securing some parts (to protect from competitors)
but having zero regard for customer data (because laws don't work well enough or don't exist in the first place)

#

GDPR is in Europe

rugged root
#

@mild quartz Sup

vocal basin
rugged root
#

Hardly

amber raptor
rugged root
#

That's different

#

That's them trying to branch out

#

Meta is just a branding change that's separate from everything else

vocal basin
rugged root
#

There has to be some actual stake in the game

#

Currently it's a slap on the wrist

#

That's not hurtin - exactly

#

"Customer data compromised? Apologize. Social security numbers and stuff? Sign them up for a year of credit protection and monitoring"

#

Wonder how much that costs them... I mean not enough to cripple them, but I'm still curious

vocal basin
#

in Russia, computer/information security university courses are more about getting people to do that for state agencies
(regardless of if it is about just writing reports or doing actual security)
if you go there, you'll be dealing with the military since the second year

so, like, just another way to hire people (not as much as education)
also, to stay learning one will eventually have to agree to take a grant from the government (locking in even further)

#

"grant" in quotes; it's actually a contract

dusk raven
dull pawn
#

I don't have permission to talk yet

rugged root
#

Emo genes

#

Makes you listen to Linkin Park

flat heart
#

Hi

rugged root
#

Yo

dusk raven
#

De novo gene birth is the process by which new genes evolve from DNA sequences that were ancestrally non-genic. De novo genes represent a subset of novel genes, and may be protein-coding or instead act as RNA genes. The processes that govern de novo gene birth are not well understood, although several models exist that describe possible mechanis...

flat heart
#

Wonder why linkin park was never considered metal

rugged root
#

Never really had that style or feel.

#

It was more a hiphop mixed with rock

flat heart
#

Yeah

#

Metallica is overrated

vocal basin
whole bear
#

Hello people ๐Ÿ˜„

rugged root
#

Yo Bella

flat heart
#

Melodeath songs are awesome. Thereโ€™s this band Disarmonia Mundi: severely underrated.

flat heart
rugged root
vocal basin
#

melodic death metal, shortened
I don't remembered seeing it called this way either

whole bear
#

Goodbye people as well ahahah

flat heart
#

@rugged root id recommend giving this a listen

rugged root
#

I'll take a peek here shortly

flat heart
#

Itโ€™s a combination of melody and metal

#

Some people like that

vocal basin
flat heart
#

Man the sub-genres of metal are unending

rugged root
#

Yeah it's a bit much

#

Someone argued with me extensively on something like that.

#

I say that metal is technically a sub-genre of rock

#

They say that's absurd

formal ember
#

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f94e22fea20>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/connexion/

rugged root
#

Hmm

vocal basin
flat heart
#

These are subjective categorisations, so everyone can have their cake as far as im concerned

cerulean ridge
#

A-ranked @proven fox

rugged root
#

But apparently I was just blatantly wrong or something

#

Who what where when?

flat heart
#

according to them (subjective)

rugged root
#

I am married yes

cerulean ridge
#

@dusk raven lol

flat heart
#

Okay bye guys

rugged root
#

Catch you later

#

What kind of game

vocal basin
#

play minesweeper

rugged root
#

Binding of Isaac

#

Dwarf Fortress is NOT easy to get into

vocal basin
rugged root
#

@dusk raven Later bud

#

Mystery Science Theater 3000: The Movie

formal ember
#

Margin Call

vocal basin
#

I've played some Rain World recently (because DLC came out)
but it's very not short
though easy to get into

rugged root
#

@formal ember I legit have no idea

#

Like

#

I found that but I have no idea if it's related

#

@uncut meteor Sup

#

I hear ya

#

Nice

vocal basin
formal ember
vocal basin
#

what OS?

hoary olive
#

hi AF

rugged root
#

Hey speedro

formal ember
hoary olive
#

hi hem

formal ember
hoary olive
#

isnt CentOS deprecated?

vocal basin
#

docker compose

#

not docker-compose

#

docker-compose is deprecated-ish

hoary olive
#

CentOS discontinued in 2021 or smth, why are you still using it?

#

use fedora....

hoary olive
#

ah

rugged root
#

Oh huh, thought CentOS was still active

vocal basin
#

and where (host or container)?

rugged root
#

Or am I misunderstanding

#

!stream 760820946612518922

wise cargoBOT
#

โœ… @formal ember can now stream until <t:1675790248:f>.

hoary olive
rugged root
#

Huh

#

TIL

vocal basin
rugged root
#

@proven fox Might be better to mute when you're not speaking so that we don't have to keep hearing it

#

Apologies if that came off as rude

proven fox
#

i muted myself and then greeted somebody then forgot

#

to mute again

vocal basin
#

@formal ember
what's the Dockerfile?

rugged root
#

Oh no worries

#

I don't think much else was going on

#

But yeah, probably wise

hoary olive
#

ah the usual dockerFile, where i copy everything because i have no clue how it works

#

perfect

rugged root
#

@cerulean ridge So what's new in your neck of the woods

rugged root
cerulean ridge
#

huge fire

hoary olive
#

gigga fire

cerulean ridge
hoary olive
#

man turkey was in shambles

#

poor turks

hoary olive
#

so then what do you do....

#

theres gotta be decent pressure in that bad boi

cerulean ridge
#

yea, idk about the details

hoary olive
#

its 1.5kg of pressure (20 psi)

#

thats nothing ....

#

i thought you would become a bird trying to use it

torn vessel
#

@proven fox probably most of us don't have permission to talk

#

to get the verified one needs to send at least 50 messages

rugged root
#

At least 3 days on the server and at least 50 messages over three 10 minute blocks

civic zephyr
#

Anyone here able to hop on vc and give me a quick run down on ipv6 addressing

rugged root
#

What specifically about it?

torn vessel
#

@somber heath hello

thin drift
#

hi Mr.Hemlock

fluid helm
#

Halo

whole bear
#

I can hear you

#

but I cannot use mic

#

You have a good voice

#

You sound like a Technical Support Engineer

#

Helping attractive females to code

#

hahahaha

#

@undone frost have you read the Computer Science Wizard book?

#

Hmmmmm, it's kind of a linguistics philosophical book about programming (with Lisp).

#

But can be applied to anything.

#

Just learnt, there is a startup that is able to bring mammoths back from life.

#

I wonder, when they start bringing humans back from life.

whole bear
#

@undone frost You can eat mammoths. But what about they start bringing dictators, old kings and a bunch of other people back.

#

@undone frost Same here.

#

@undone frost Laguna or Blue Lagoon, you are either into brunettes, blondes or you love thick Carribean chicks.

undone frost
#

๐Ÿ˜„

lavish rover
sweet lodge
sweet lodge
#

Cool usage of TUIs

lavish rover
#

it's the thing that won me code jam champion

sweet lodge
#

Oh itโ€™s your baby
Nice, nice

somber heath
#

@limpid crypt ๐Ÿ‘‹

limpid crypt
#

hi i muted

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
#

@whole bear ๐Ÿ‘‹

somber heath
#

@frigid void ๐Ÿ‘‹

frigid void
#

good evening

#

mtn dew hits the spot

#

zero sugar of course

#

apparently in the diet mtn dew cans they have citrus

#

so uh

#

what do you think of hogwarts legacy

#

been wondering if i should buy it

#

yeah

#

right

#

its why i enjoy games like spiderman

#

i think the game is single player only?

#

let me check..

#

so it is single-player

#

i dont think so

#

ive never tried a portkey game before

whole bear
velvet tartan
robust lichen
#

so whaz youz wants to do @buoyant cradle

velvet tartan
#
robust lichen
#
import requests
import json

url = "https://api.murf.ai/v1/speech/generate"

payload = json.dumps({
  "voiceId": "string",
  "style": "string",
  "text": "string",
  "rate": 0,
  "pitch": 0,
  "sampleRate": 24000,
  "format": "WAV",
  "channelType": "MONO",
  "pronunciationDictionary": {}
})
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)
sharp urchin
#

hello sir

#

how are yall doing today?

somber heath
#

@warm mason ๐Ÿ‘‹

warm mason
#

hello

#

seems like I still can't speak

robust lichen
#

don't look at the username

#

๐Ÿ˜‰

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.

warm mason
#

!voice

sharp urchin
warm mason
#

ohhh he uses arch btw

robust lichen
#

i was using the same setup on ubuntu previously

buoyant cradle
#

Show what happens when a variable defined outside a function has the same name as a local variable inside a function. Explain what happens to the value of each variable as the program runs.

robust lichen
#
def some_func():
    x = 1
some_func()

x = 2
buoyant cradle
#

!e def f(): s = 0 s = 0

wise cargoBOT
#

@buoyant cradle :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     f():
003 |        ^
004 | SyntaxError: invalid syntax
robust lichen
#
def f():
    s = 0
s = 0

f()
warm mason
#

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

robust lichen
#

!e

def f():
    s = 0
s = 1
    print(s)
f()
wise cargoBOT
#

@robust lichen :warning: Your 3.11 eval job has completed with return code 0.

[No output]
somber heath
#

!e ```py
def func():
v = 5 #local v
print(v) #local v

v = 0 #global v
print(v) #global v
func()
print(v) #global v```

wise cargoBOT
#

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

001 | 0
002 | 5
003 | 0
robust lichen
#

!e

def f():
    s = 0
s = 1
    print(s)
f()
wise cargoBOT
#

@robust lichen :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 4
002 |     print(s)
003 | IndentationError: unexpected indent
warm mason
#

!e
def func():
x = 4

x = 5

func()

print(x)

wise cargoBOT
#

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

5
robust lichen
somber heath
#

!e ```py
def func():
v = 5 #local
print(v, 'local')

v = 0 #global
print(v, 'global')
func()
print(v, 'global')```

wise cargoBOT
#

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

001 | 0 global
002 | 5 local
003 | 0 global
robust lichen
sharp urchin
#

2nd one

#

ewww who says "archaiiieve"

#

noise suppression @robust lichen

#

why dont you become one of them??

#

doesnt matter

#

that guy can buy your 10 gens

#

lmao

#

andrew tate!

#

noo

#

capp

#

wrong info

#

missed a bio class -opal

#

my broke frnd is bald

robust lichen
#

shove it up your ass morty

#

everyone join zis

willow gate
#

@buoyant cradle did you watch that video?

somber heath
#

@verbal cypress ๐Ÿ‘‹

#

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

willow gate
#

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

somber heath
#

@shrewd stump ๐Ÿ‘‹

shrewd stump
#

hi

#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

โ€ข 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.

Are you serious?

#

...

#

im keeping talking

#

lalalal

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @shrewd stump until <t:1675843681:f> (10 minutes) (reason: burst rule: sent 8 messages in 10s).

The <@&831776746206265384> have been alerted for review.

somber heath
#

@whole bear ๐Ÿ‘‹

whole bear
#

..

#

Susquipedilian...

#

That's you ^

glass vector
#

hey @somber heath

#

hows it going

somber heath
#

But also yes.

glass vector
#

neatt, do you have any knowledge on how to, go trought a json file and find lets say an EMAIL.. in it

whole bear
glass vector
#

Yeaa

#

2 sec

#

so what im doing im taking a website link, taking its html... then converting it to json... and now im trying to extrct info out of it

#

this is the structur

glass vector
#

thats what im trying to find

#

it is web scraping

#

yes, but like im trying to make one thats relative... difrent everywhere

#

no? its small random websites

#

ok thanks, cya

somber heath
#

@thin moat ๐Ÿ‘‹

thin moat
#

hola amigos

#

mucho gusto

#

r u british

#

i meant care to help me edit my code?

#

its a if statement

somber heath
#

@quasi smelt ๐Ÿ‘‹

thin moat
#

if (OpalMist.getAge() > 16) {
print("Opal Mist is a pedo")
}
else
print("Opal Mist is not a pedo")

somber heath
#

<@&831776746206265384>

golden sonnet
#

๐Ÿ˜ 

#

may we don't become like those people

hidden flower
#

!mute 1d 944124477510402149 Not appropriate. You've been warned about this before.

wise cargoBOT
#
Bad argument

Could not convert "user" into UnambiguousMember or UnambiguousUser.
1d is not a User mention, a User ID or a Username in the format name#discriminator.

hidden flower
#

!mute 944124477510402149 1d Not appropriate. You've been warned about this before.

wise cargoBOT
#

:x: The user doesn't appear to be on the server.

hidden flower
somber heath
hidden flower
#

lol

somber heath
#

@whole bear @fresh charm ๐Ÿ‘‹

somber heath
#

@upper rover ๐Ÿ‘‹

#

@jagged olive ๐Ÿ‘‹

upper rover
#

Hi

fluid helm
#

hi

#

how i can check how many msg that 've done?

#

i've

#

ah oke

somber heath
#

!d collections.deque

wise cargoBOT
#

class collections.deque([iterable[, maxlen]])```
Returns a new deque object initialized left-to-right (using [`append()`](https://docs.python.org/3/library/collections.html#collections.deque.append "collections.deque.append")) with data from *iterable*. If *iterable* is not specified, the new deque is empty.

Deques are a generalization of stacks and queues (the name is pronounced โ€œdeckโ€ and is short for โ€œdouble-ended queueโ€). Deques support thread-safe, memory efficient appends and pops from either side of the deque with approximately the same O(1) performance in either direction.

Though [`list`](https://docs.python.org/3/library/stdtypes.html#list "list") objects support similar operations, they are optimized for fast fixed-length operations and incur O(n) memory movement costs for `pop(0)` and `insert(0, v)` operations which change both the size and position of the underlying data representation.
somber heath
#

@rapid chasm

#

However...

#

My question would be whether you're wanting any data persistence for when the bot shuts down.

#

In which case you'd want to be addressing your bot's database storage functionalities.

#

For a non collections.deque approach, you have the option of list.append, list.pop and list.insert.

#

For just a Python builtin thing.

#

@whole bear ๐Ÿ‘‹

jagged olive
somber heath
#

!e py subscriptable = ["apple", "pear", "orange", "banana", "guava", "peach", "plum", "lychee"] result = subscriptable[-5:] print(result)

wise cargoBOT
#

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

['banana', 'guava', 'peach', 'plum', 'lychee']
rapid chasm
#
@client.command(name = 'next')
@commands.guild_only()
async def next_in_queue(ctx):

    next_player = queue.popleft()  # Get the next player in the queue and remove them from the deque
    await ctx.send(f'{next_player.mention} You are up next in the queue. Please join the #"Customs" voice channel to begin your game.')```
#
@client.command(name = 'queue')
@commands.guild_only()
async def queue_command(ctx):

    queue.append(ctx.author)
    embed = discord.Embed(title=f"1 player is currently in the queue" if len(queue) == 1 else f'{len(queue)} players are currently in the queue', description=f'{ctx.author.mention} has been added to the queue.', timestamp=datetime.datetime.now(), color = discord.Color.green())
    await ctx.send(embed=embed)```
warm jackal
somber heath
#

@ripe bane ๐Ÿ‘‹

hoary olive
#

wassup opal

#

hi x10

warm jackal
#

New game:
Get next 10 from queue

New person wants to join:
Add discord ID of user to back of queue

A spot opened up in team X:
Assign next from queue to role for team X

hoary olive
#

could you give me a name that i can call you by x10?

#

or just x10

warm jackal
hoary olive
#

its pretty complex

#

i tried to do something like this (except the whole game part)

#

TLDR; i left the project

#

will you be making the VC's beerhunter? (i presume yes)

#

why dont you setup role permissions then? ( or even userid )

#

i think theres 50~100 ( or well used to be )

#

5m intervals, perhaps?

#
@bot.command()
async def make_channel(ctx):
    guild = ctx.guild
    member = ctx.author
    overwrites = {
        guild.default_role: discord.PermissionOverwrite(read_messages=False),
        member: discord.PermissionOverwrite(read_messages=True),
    }
    channel = await guild.create_voice_channel(name=f'user {member.display_name}', overwrites=overwrites)
#

this should get you up and running

#

Hem

#
    await ctx.channel.set_permissions(ctx.guild.default_role, send_messages=False)
#

this should work ?

#

wait what, its a random queue ?

#

who in their right mind would do such a thing

#

i presume it would be nice if you had the option to have a description

hoary olive
#

seems nice

#

nvm it uses typescript

#

to not show interesting stuff

rapid chasm
rugged root
#

I'm here/not here

#

But I had an idea

hoary olive
#

in the io?

warm jackal
hoary olive
#

click options

#

@bot.command(pass_context=True)

somber heath
#

In cryptography, a pepper is a secret added to an input such as a password during hashing with a cryptographic hash function. This value differs from a salt in that it is not stored alongside a password hash, but rather the pepper is kept separate in some other medium, such as a Hardware Security Module. Note that the National Institute of Stan...

whole bear
#

I will ChatGPT my way to become the CEO of Google.

#

HOw is everyone doing?

sharp urchin
#

hola

rugged root
#

Yo

#

Huwwu

#

Yeah that doesn't work

#

Yo

#

.uwu hello

viscid lagoonBOT
#

hewwo

somber heath
#

Hewowo

hoary olive
#

sup hem

rugged root
#

Oh fair enough

#

Hey speedro

#

Just checking over my notes before I go handle wiring

somber heath
#

@hot saddle ๐Ÿ‘‹

hoary olive
#

hello opal

hoary olive
#

๐Ÿ˜‚ opal you might have talent in voice acting

rugged root
#

Kinky

hoary olive
#

i have heared impressive sounds from you

rugged root
#

Documentaries

#

About birds

#

Squawkumentary

#

"Oh there's a nice pair of big ones"

#

"Look at the blue feet on THOSE boobies!"

#

I would certainly change how I write

#

But in fairness it'd be just as rambly

#

@formal ember Yo

hoary olive
#

what you wrote reminded me of the sounds opal used to make

rugged root
#

Oh thank god I don't have to worry about unhooking near as many cables as I thought

hoary olive
#

4k recreation

rugged root
#

Super duper monkey

somber heath
#

@shut rover ๐Ÿ‘‹

hoary olive
#

monkey drip

rugged root
#

Okay so far

rugged root
#

It's addicting here

hoary olive
#

dont know why i posted this, but why not

#

monkey

sharp urchin
#

deez insta reels be messing me up

#

fr

#

:}

#

monster

#

:{}

hoary olive
#

monster?

rugged root
#

I too heard master

#

Monster Master

hoary olive
#

you called opal a monster?

rugged root
#

Or Master Monster

hoary olive
#

wtf?

rugged root
#

Pokemon Master

hoary olive
#

pr?

#

opal is a cat now?

rugged root
#

@whole bear Or you could just give us the context

sharp urchin
#

hmm

#

fight fight!!

#

fight

hoary olive
#

fight this

sharp urchin
#

imma buckle upducky_ghost

#

yeh he called you an idiot!!

rugged root
#

Well that was productive

hoary olive
#

opal : ok

#

who cares

sharp urchin
#

fight him!:{

rugged root
#

Okay thus far

#

@somber heath My favorite response is, "Eh, I'm conscious"

#

@whole bear Or you could just be nice to our users. That would be appreciated

#

No need for random hostility

whole bear
#

Im just joking

#

Relaxxxxxxxxxxxx

rugged root
#

Didn't come off as such

#

Okies

rugged root
#

Oh I learned something the other day

sharp urchin
#

first day of the week?

#

sunday/monday?

rugged root
#

Jesus be patient

hoary olive
#

what game

rugged root
#

You can use old coax cables that you may have fitted across your house for your home network

#

So if you had fittings for cable TV or what have you

#

I got the basic hardware, need to go back and buy faceplates

#

Didn't realize the old ones had gotten thrown out some how

hoary olive
#

akward vc

rugged root
#

Which is REALLY annoying because it had useful information on them like what slot on the patch panel they're on

#

@whole bear I can ONLY imagine who might be making it awkward

#

Food for thought, really

#

A mystery for the ages

hoary olive
#

it was def me

rugged root
#

Philosophers in the coming ages will look back at this point in time and muse who might have caused this issue

somber heath
#

@whole bluff ๐Ÿ‘‹

rugged root
#

And they'll realize it was someone who had a comic book series

whole bluff
rugged root
#

So there's upward, downward....

#

Which direction is awkward

hoary olive
#

what games do you guys play?

sharp urchin
#

python

hoary olive
#

Java

rugged root
#

@lucid blade Sup brah

whole bluff
#

c++

rugged root
#

It's an accurate statement

sharp urchin
#

no philosophical answers

rugged root
#

Oh actually

sharp urchin
#

straight up

#

python

hoary olive
#

Java

rugged root
#

He's saying Python

#

Not pardon

whole bluff
#

xd

sharp urchin
#

i disagree with opal's prev ans

whole bear
rugged root
#

Actually 8080, you might be able to answer something for me

whole bluff
rugged root
#

You know RJ45 cable testers, right?

#

How they are usually two pieces?

#

Is the remote one just a terminator?

#

This one doesn't on mine

somber heath
rugged root
#

Yeah fair

#

Let me grab the model

hoary olive
#

have you contributed to any crashes ?

rugged root
#

Oh the green jobber?

lucid blade
#

SPLINKTECH

hoary olive
#

PHP

#

by miles

rugged root
#

@whole bear Python, JavaScript, Java...

#

Largest

#

At this point... Probably JavaScript

hoary olive
#

php has a very large ecosys

sweet lodge
#

Death to PHP!!

rugged root
#

Trying to figure out proper procedure on this

whole bluff
hoary olive
#

dawg hates php

#

but i dont care

rugged root
#

Rollercoaster Tycoon is the template to live by

#

Build an entire game in Assembly

#

Like a mad man

sharp urchin
#

in general

#

to which the answer shd be a single "lang"

#

is what i feel

#

i love OOP

hoary olive
#

Hate OOP?

#

what

sharp urchin
#

in python

#

agree

hoary olive
#

exact same reason for PHP

sharp urchin
#

8080

rugged root
#

There are some issues with it

#

OOP carries a fair bit of overhead

#

Or can at least

sharp urchin
#

or probably they havent met the best tutors/teachers for teaching OOp