#voice-chat-text-0

1 messages · Page 733 of 1

digital jackal
#
@Client.command()
async def clear(ctx, amount: int):
    await ctx.channel.purge(limit=amount)
pure path
#

@Client.command()
@has_any_role(role_id)
async def clear(ctx, amount: int):
    await ctx.channel.purge(limit=amount)

maybe something like this would work?

rugged root
#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

digital jackal
pure path
#

make an api

pure path
#

it will raise commands.CheckFailure btw

digital jackal
#

k

olive echo
#

half a pack!?

#

that's a lot

#

I've only ever had 3 in my like entire life

#

that's good. Always remain in control so you dont get addicted

#

I would do that

limber blaze
#

im thinking abt doing the kickstart comps

#

anyone else?

rugged root
#

The what now?

faint ermine
#

get_channel GET /channels/{channel_id} {'channel_id': discord-api-docs\docs\resources\Channel.md}

olive siren
#

Hey guys i installed the Visual Studio Build Tools and now i get this while trying to pip install scrapy

rugged root
#

You might need to close and re-open VS Code in order for it to recognize the stuff.

#

But I'm going to check to make sure scrapy supports 3.9

#

Yeah, that might be the issue

#

Seems to only support up to 3.8 so far

olive siren
#

In the docs they say 3,6+

digital jackal
#

@pure path @hAS#6760_any_role is not defined

olive echo
rugged root
#

I'm looking on their github

#

The docs do mention 3.6+ but one of their little active tabs only shows 3.6, 3.7 and 3.8

olive echo
#

oof

whole bear
olive siren
#

oh ok i see

rugged root
#

Yeah, and that's why I'm thinking it might be the case. Couldn't hurt to give it a shot with 3.8

limber blaze
#

googles coding competitions

#

i'm thinking abt competing now that i use vim

rugged root
#

If you have it on your system, you can use the py launcher to run it py -3.8 -m pip install scrapy

olive siren
#

let me check

limber blaze
#

im learning rust

olive echo
#

cul

#

must be fun

molten pewter
olive echo
#

I'm gonna restart my vpn brb

olive siren
#

Pyhton 3.9.1

digital jackal
#

@rugged root how can i fix @has_no_role

limber blaze
#

yeah i've heard the same

#

i'm thinking about learning go as well

rugged root
#

@olive siren I'd go ahead and snag the 3.8.(whatever the latest is) and give it a shot

olive siren
molten pewter
#

@whole bear Throw snowballs back.

#

@whole bear BBgun, not recomended.

rugged root
#

@olive siren Oh for sure. But you'll still need 3.8 on your machine in order to make the venv

molten pewter
#

@whole bear You don't want to escalate, and you could shoot your eye out.

limber blaze
#

soup

#

squared

olive echo
#

hmm

honest pier
#

f u n d a m e n t a l l y

limber blaze
#

yeah

olive siren
olive echo
#

t e c h n i c a l l y

olive siren
#

Sorry if my questions are a little foolish

olive echo
#

e s s e n t i a l l y they aren't

molten pewter
#

@whole bear Flash light recomended: https://www.youtube.com/watch?v=5f6mDfc5zg4

Check out http://KiwiCo.com/hacksmith50 for 50% off your first month of any subscription crate.

Hey @Markiplier -- want to review this one? I think it's a bit brighter..

See the circuit diagram at Maker.IOhttps://www.digikey.com/en/maker/blogs/2020/the-hacksmith-the-worlds-brightest-flashlight

Check out the Imalent MS-18, the brightest fl...

▶ Play video
#

Just don't use a laser 😛

olive echo
#

I feel enlightened

whole bear
rugged root
#

Sorry, got flagged down by a partner to answer a question

#

Back in a sec

molten pewter
#

Heat discipation

#

LEDs break when they over heat.

olive echo
#

really?

#

I need to give my lamp a break

honest pier
#

it's probably not overheating

somber heath
#

@rugged root A ticket to ride.

olive echo
#

it's pretty hot when I touch it

olive siren
#

i thought led's stay could

rugged root
#

They should.

faint ermine
#

to a degree

#

the really powerfull ones still heat up

whole bear
faint ermine
#

the big LEDs used to light up football fields etc need to be cooled with a radiator

molten pewter
rugged root
whole bear
olive siren
olive siren
#

i'm not familiar with venv

olive echo
#

65,100 lumens!?

olive siren
#

so i tryin to understand how it works

rugged root
faint ermine
rugged root
#

@olive siren I'll try to find a good article about it. Not sure how to explain it

primal shadow
#

500w LED, normally LED's bulbs are what, 8 watts? for a few hundred? I think my 800 lumen LED's take 12 maybe

olive echo
#

I have to go I'll see you guys later. bye

primal shadow
#

I want that 65k light though, that sounds fun

faint ermine
molten pewter
# whole bear good idea

The kids would definately think twice about throwing snowballs. However, I still some good tit-for-tat, snow ball retaliation. Nothing wrong with a little excercise.

primal shadow
#

ON SALE! from retail to $100+, BUT WAIT, then we take money off

rugged root
olive siren
#

that looks good

#

for my understanding pip and conda are both package manager

rugged root
#

They are, although I have a hard time recommending conda unless you specifically need it for a project you're working on or if you're working on a team that uses it. I've had issues where conda completely takes over package management whether you want it to or not. But that's just been my experience, it's possible (likely) that I didn't look into how to properly work with it

whole bear
somber heath
#

@rugged root A three dollar bill.

faint ermine
primal shadow
#
primal shadow
olive siren
#

maybe i try it out in the future. right now i don't get the benefit for me

rugged root
#

Primary use for conda is typically for datascience or other scientific projects to make sure that everyone has the exact same versions of everything, since even a minor version difference can sometimes give different results. Most of the time it isn't really needed, especially when starting out or in normal projects

olive siren
#

thank you for you advice and your recomendation

rugged root
#

Always happy to help!

somber heath
#

Rockclimbing lubricant.

olive siren
olive siren
rugged root
#

So good

#

-sighs- The glory days

molten pewter
#

Loggistics

#

I have been volunteering for Masksfordocs, and logistics of getting masks to doctors was the biggest bottle neck.

wise glade
#
import operator

def dispatch_dict(func, x, y):
    return {
        'add': operator.add(x,y),
        'sub': operator.sub(x,y),
        'mul': operator.mul(x,y),
        'div': operator.floordiv(x,y),
    }.get(func, f'"{func}" operation does not exists')

print(dispatch_dict('mull',2,8))

I need some help here,
This code isn't ideal from performance perspective, we can make the dictionary a constant and reference it inside the dispatch_dict function. We don't want to recreate the dictionary every time function gets called.
How? how to do 👆 ?

rugged root
molten pewter
#

I have actually been interested in writing a blockchain application to deal with common supply chain problems in distributing aid.

#

Been working since May...

rugged root
#

@wise glade Have it outside the function. Also, you'll likely want to use Partials

#

Actually no wait

#

I derped, okay now I know what needs done

molten pewter
#

We have software called distribute aid, however it requires central servers and maintinance.

#

The Blitzkriegh was mostly about loggistics.

wise glade
#

omega-3, maybe from tomorrow? 😂

honest pier
#

new deli

wise glade
#

I'm going to sleep too, take care everyone 👋

#

New Delhi, I think

molten pewter
#

What is the Firefox extention called?

#

Aren't Chrome tabs already containered?

faint ermine
amber raptor
molten pewter
#

is that Google, or is it Alphabet that is pushing the business model?

molten pewter
amber raptor
#

Alphabet and Google are pretty similar

limber blaze
#

hey anyone want to join my study group

#

we are just racing each other on complex problems

honest pier
#

what kind of problems?

#

just cp problems?

molten pewter
#

Forinstance, if congress wants to break up google, they could separate it from it's Alphabet overlord.

amber raptor
#

That wouldn’t work

molten pewter
#

Though I guess technically it would be the FTC, or the FCC.

amber raptor
#

Google needs to be broken up

molten pewter
#

I think the same thing needs to happen to them, that happened to Microsoft.

honest pier
#

where's roosevelt when you need him

molten pewter
#

yup, and they are a better company for it.

molten pewter
#

😋

rugged root
#

@pallid cedar Check out the #voice-verification channel. That should tell you what you need to know about our system!

molten pewter
#

That is me

#

1985

#

Starwars

#

k

pure path
#

time to work with markov chain, kinda

rugged root
#

How kinda?

orchid scroll
rugged root
#

!codeblock

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.

orchid scroll
#

thanks

#

'''py

#

'''py v = 12000
print(f"abc {'$'+str(v):>20}")''

#

"""py v = 12000
print(f"abc {'$'+str(v):>20}") """

rugged root
#

It's backticks, same key as the ~ tilde key next to the 1 on the number row

orchid scroll
#

ééépy v = 12000
print(f"abc {'$'+str(v):>20}")ééé

rugged root
#

Ah, should have said on US keyboards

#

Hmm

orchid scroll
#

i cehck out from google

#

but still i doesnt

#

check*

rugged root
#

Try copying them from the embed

orchid scroll
#
print('Hello world!')
#

thanks alot

rugged root
#

Happy to help

orchid scroll
#

´´´py lksgss´´´

gentle flint
#

what keyboard are you on

#

UK?

rugged root
#

*keyboard layout

orchid scroll
#

py print(hello)

rugged root
#

Oh there we go

gentle flint
#

HURRAH

orchid scroll
#

yeah

gentle flint
#

you managed

#

congrats

orchid scroll
#

thanks lol

honest pier
#

colemak >>

pure path
#
Inheritance@Inheritance-MBP markovify % pipenv run start

When the reference count of an object cannot be altered.
A PEP is a non-profit corporation.
However, with context variables, there may be several contexts in one execution thread may have a namespace containing arbitrary Python objects.
Local variables both read and write to the global namespace.
Modules have a different value for a number of reasons.
#

@balmy nymph kinda making progress with markov chain this

balmy nymph
#

Awesome!

silver spindle
#

@rugged root

rugged root
#

Sup

#

@silver spindle Need something?

gentle flint
#

gonna clean my keyboard

#

ttyl

#

cya

honest pier
#

military intelligence

sinful estuary
#

hello

rugged root
#

Yo

sinful estuary
#

hows it going?

rugged root
#

@hallow warren I muted you because you keep stepping on conversations and derailing them entirely. I would ask that you please try to be considerate of the other people who are already discussing something in the voice chat.

#

@sinful estuary Going well, you?

sinful estuary
rugged root
#

You liking it so far? I'll gladly clarify some concepts or point you to some good resources if you need them

limber blaze
#

i'm getting a really weird error with sql

limber blaze
#

it's saying i can't query while not in logged in state despite being in logged in state

#

i'm not trying to execute two things at once or anything

rugged root
limber blaze
#

i'm trying j redeploying

#

because i have changed nothing

#

and it just stopped working

rugged root
#

!resources @sinful estuary We've got a ton of great resources on our site. Two of the common texts we recommend are "Automate the Boring Stuff" and "A Byte of Python"

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.

limber blaze
#

yeah i've heard abt both those books

sinful estuary
limber blaze
#

but i didn't notice this error and i changed so much random shit trying to fix it

#

thank god i created a new branch

molten pewter
rugged root
#

Neat, I'll take a gander

limber blaze
#

yeah redeploying fixed it but that's problematic...

#

i can't have that happen again like it just did

rugged root
#

Like I said, #databases should be able to either help you iron it out or guide you to somewhere that can

limber blaze
#

it's j in node, i'm just ranting about my problems

rugged root
#

Ah, fair enough

limber blaze
#

yeah

#

i hate what i'm doing rn it is tedious

whole bear
#

is college worth it for this field of work? excuse me if this has been asked before

limber blaze
#

idk i never went

rugged root
#

Aaaaand I'm back

limber blaze
#

fuck why has today been the first day that it crashed

rugged root
#

@whole bear It can't hurt. You'll have an easier time finding jobs as opposed to someone with no degree, however it's not impossible to find one.

#

#career-advice can give you more advice than I can on the topic. I just do coding as a hobby

whole bear
#

ooh thank you!

rugged root
#

No problem!

molten pewter
rugged root
honest pier
#

!e import file

wise cargoBOT
#

@honest pier :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'file'
honest pier
#

!e

with open("yoink.txt", 'w') as f:
  print(type(f))
wise cargoBOT
#

@honest pier :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | OSError: [Errno 30] Read-only file system: 'yoink.txt'
honest pier
#

!e

import io
import sys
sys.stdin = io.StringIO("hey")

print(input())
wise cargoBOT
#

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

hey
rugged root
#
>>> with open("text.txt", "w") as f:
...   print(type(f))
...
<class '_io.TextIOWrapper'>
faint ermine
#

!e ```py
import io
import sys

sys.stdin = io.StringIO("hey")
print(input())
sys.stdin = io.StringIO("hoo")
print(input())

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

001 | hey
002 | hoo
hollow yacht
whole bear
#

hu

honest pier
#

!e

from io import StringIO
import sys

class MyInput:
  def __init__(self, s):
    self.old_stdin = sys.stdin
    self.new_stdin = StringIO(s)
  
  def __enter__(self):
    sys.stdin = self.new_stdin
  def __exit__(self, i, d, r):
    sys.stdin = self.old_stdin

with MyInput("hey hemhem"):
  print(input())
wise cargoBOT
#

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

hey hemhem
limber blaze
#

who would have thought calling tiers of agents with a 3 sec delay between each tier is difficult

whole bear
#

yes

rugged root
#

Hello Kin

whole bear
#

hi

hollow yacht
whole bear
#

What is python

#

Ahh it's codes

#

programmer

limber blaze
#

hi can a big global variable be problematic

honest pier
#

yes

limber blaze
#

should i just trim it

limber blaze
#

or should i store the data in a json file instead

#

because it is a global for all of the different sessions data

#

like things that each session need

#

and how can the big global be problematic, can it slow stuff down

rugged root
hollow yacht
limber blaze
#

i'm still confused why a big global is bad

rugged root
limber blaze
#

like ij have one global

hollow yacht
limber blaze
#

but it is big json

#

dict*

rugged root
#

!global

wise cargoBOT
#

When adding functions or classes to a program, it can be tempting to reference inaccessible variables by declaring them as global. Doing this can result in code that is harder to read, debug and test. Instead of using globals, pass variables or objects as parameters and receive return values.

Instead of writing

def update_score():
    global score, roll
    score = score + roll
update_score()

do this instead

def update_score(score, roll):
    return score + roll
score = update_score(score, roll)

For in-depth explanations on why global variables are bad news in a variety of situations, see this Stack Overflow answer.

honest pier
#

it's bad because it will be very annoying to debug

rugged root
#

That link has a good explanation as to the pitfalls

limber blaze
#

the global doesn't really effect testing as it only has something to do with current sessions

#

it's because i have multiple things webhooking to it, and i need the data in every one of those

faint ermine
#

if that is the case i would advocate for passing a objects around which stores your data

limber blaze
#

that seems like a good idea

#

but hmm

hollow yacht
limber blaze
#

i have twilio posting the dial status, how could i access the data there?

hollow yacht
limber blaze
#

hmm i think i need to make my call tiering a class

faint ermine
limber blaze
#
    """ transfers call
    :return: True
    """
    global sessionData

    cur_session_data = sessionData[session_id]  # gets current session data from sessionData
    call_dict = get_call_list(cur_session_data)  # gets call list

    sessionData[session_id]['call_list'] = call_dict  # storing call_dict in global dict sessionData

    tiers_xml = ""  # declaring tiers_xml
    tier_time = '"100"'  # the time between calling tiers

    # iterate through call_dict and convert into xml with keys separated by pauses
    tiers_xml = "".join([tiers_xml := tiers_xml + "".join(
        [f'<Number statusCallbackEvent="initiated ringing answered completed" statusCallback="{cur_url}/handleDialStatus" statusCallbackMethod="GET">{number}</Number>' for number in numbers])
                                      + f"<Pause length={tier_time}></Pause>" for tier, numbers in call_dict.items()])

    # finished xml
    twiml_xml = f'<Response><Dial record="true" action="{cur_url}/handleDialStatus" method="GET">{tiers_xml}</Dial></Response>'
    logger.info(twiml_xml)
    # post xml to phone number
    client.calls(cur_session_data['callSid']).update(twiml=twiml_xml)
    logger.info(f"Successfully transferred call sessionID: {session_id}, callSid: {cur_session_data['callSid']}")```
#

i'm thinking making it a generator

#

because i need it so when one person picks up, all the dials stop

faint ermine
#

@limber blaze please take this to a help channel if you have any questions, you're just talking to no one here.

limber blaze
#

and yeah ik my global should be lowercase idc

honest pier
#

huh?

limber blaze
#

ik i'm talking to myself i'm sorry it's somehow helping me with my train of thought

faint ermine
#

In software engineering, rubber duck debugging is a method of debugging code. The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, line-by-line, to the duck. Many other terms exist for this technique, often involvin...

#

rubber duck ducky_dave

limber blaze
#

yes

#

i store object in dict and then i can stop calls from right where i get status's from twilio

#

yes

rugged root
#

Stop with the reactions

honest pier
limber blaze
#

vim gang

honest pier
#

🦆

limber blaze
#

you guys think i should branch off of what i have that's working for making these major changes

#

or no

honest pier
#

🤔

limber blaze
#

just do it on main

honest pier
#

how big is the project?

amber raptor
honest pier
#

how many people are working on it?

limber blaze
#

oh it's just me

#

but it is a big project

faint ermine
limber blaze
#

ahahahahahahaha

honest pier
#

just use branches then, they're easy enough to use

limber blaze
#

yeah for some reason my mic won't work if i join

#

yeah

#

wait shit i'm on a branch rn lool

#

i have to merge it

honest pier
#

🤔

amber raptor
limber blaze
#

yes

#

merged it

#

ok i made new branch for this

rugged root
#

Back later, delivery run time

molten pewter
#

cya

limber blaze
#

stay safe

molten pewter
faint ermine
whole bear
#

@faint ermine I saw you always are in voice channel, and You tried to help everybody.
I know that, even though I got never your help.
When I saw you some days ago, You have not helper badge, But I can see now.
Congrates!🌷
Because there are many nice people like you, this server will always grow up 👍
I also love this server. :):):)

faint ermine
limber blaze
#

i can't use time.sleep right lol

molten pewter
#

Eccomerce Platforms.

#

@whole bear

whole bear
#

TY

molten pewter
#

np

whole bear
#

here is an email they where sending me

#

We have just detected an attack on your IP address 51.195.157.xx.

In order to protect your infrastructure, we vacuumed up your traffic onto our mitigation infrastructure.

The entire attack will thus be filtered by our infrastructure and only legitimate traffic will reach your servers.

At the end of the attack, your infrastructure will be automatically withdrawn from the mitigation and we will notify you again once this is the case.


If you experience any problems because of the attack or have any questions, please don't hesitate to contact us. We will be happy to assist you.
#

then i get charged

#

a guy in c# discord said he hacked me and this email was sent to me

vivid gull
#

The angel problem is a question in combinatorial game theory proposed by John Horton Conway. The game is commonly referred to as the Angels and Devils game. The game is played by two players called the angel and the devil. It is played on an infinite chessboard (or equivalently the points of a 2D lattice). The angel has a power k (a natural numb...

faint ermine
whole bear
#

they charged me

#

200

#

gbp

faint ermine
limber blaze
#
if not (call_sid := request.args['CallSid']):
    call_sid = request.args['ParentCallSid']```
#

is this ok to do

#

i'm getting two different posts where CallSid has a different key

honest pier
rugged root
#

!ban 728780020457275423 Despite multiple warnings, multiple chances given, and a previous ban, you have not learned your lesson. Topping it off with random shouting or playing audio from some random video really hasn't helped your case. You do not show any attempt to correct your behavior to make it acceptable for this server. You are not a good fit for the community, and you are no longer welcome here.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @sly cypress permanently.

faint ermine
#

that was a harsh reason, lemon_surprised

rugged root
#

Was it? Felt very relevant and justified

#

Given context from their previous infractions

faint ermine
#

i mean yea, just "you are no longer welcome here" is the sort of thing id imagine a crime boss saying just before pulling a gun

#

im not entirely serious here, its justified

warped saffron
#

Entirely

rugged root
#

Thought of it more like a librarian removing someone from the library

warped saffron
#

What methods do you imagine Hemlock?

rugged root
#

Sorry?

whole bear
#

Hi guys

rugged root
#

Of how they'd remove someone?

warped saffron
#

Methods for removing the people in the library

#

yes

whole bear
#

Hi hemlock

warped saffron
#

Hello Plus

whole bear
#

Hi

warped saffron
#

I need to know how to remove someone

#

by force

#

without physical contact

#

the force?

#

I'd prefer verbal intimidation

whole bear
#

ok that's just beyond

limber blaze
#

i am getting such a weird key error

whole bear
#

@limber blaze how is that occur?

warped saffron
#

Hello

#

Ich bin gut ja!

whole bear
#

long time

#

a problem

fair citrus
whole bear
#

Woah

#

Math 😄 yaya

#

This is math

#

interesting

warped saffron
#

University?

#

I'm no good yet

whole bear
#

but I don't know math 😄

limber blaze
#

ope i understand why

vivid gull
whole bear
#

I have a math degree

#

Same

#

but i can thelp you

#

I have math degree but it's low

#

low level degree

warped saffron
#

if Understanding == 0:
print("You're on your own.")

#

What's a hackathon?

whole bear
#

@vivid gull i want to be that guy

fair citrus
honest pier
whole bear
fair citrus
#

alright

whole bear
#

!pythonrank

warped saffron
#

wat?

whole bear
#

!python-rank

#

!pyrank

rugged root
#

We don't have that command

warped saffron
#

hahahaha @vivid gull

#

Students eat bad donuts?

#

ew

#

rats?

#

jesus man

#

Tell me about your student story

limber blaze
#

bruh

thorny pulsar
#

I am suppressed and I don't know why

#

I can't speak in the chat

rugged root
#

That'll tell you what you need to know

warped saffron
#

Dude, teach me how to improve my grades

#

in maths

limber blaze
#

so i'm doing ``` sessionData[session_id]['callObj'] = StartTransfer(session_id)

whole bear
#

@warped saffron study

warped saffron
#

I mean I'm not bad

limber blaze
#

and then twilio is posting

honest pier
#

ok, but how does latex magically know where my images directory is

warped saffron
#

pratice

#

practice

limber blaze
#

and it is giving me a key error saying that callObj doesn't exist on the first itteration

#

how the fuck is that possible

warped saffron
#

noice

#

no

thorny pulsar
#

oh

#

so I must

#

send

#

50

limber blaze
#

if i'm assigning that key when i call the function that triggers what causes the key error

warped saffron
#

Yes GCSE

thorny pulsar
#

messages

rugged root
thorny pulsar
#

let's speak

limber blaze
#

hemmy why is this happening

thorny pulsar
#

I made 76 $ from ficerr

#

fiverr

limber blaze
#

how is it happening

warped saffron
#

We choose 3 topics

thorny pulsar
#

just instagram bots with selenium and scrapy

limber blaze
#

makes 0 sense

thorny pulsar
#

people buy these things

#

i mean

warped saffron
#
  • maths, sciences, religious education and english as standard
thorny pulsar
#

I have a bot for giveaways

#

it is really nice

#

I've sold it 4 times

rugged root
#

Neat

warped saffron
#

You can sell bots?

honest pier
#

like, i move the images directory up one level and it still finds it. i move it again, and it still compiles

zealous wave
#

yeah

warped saffron
#

How?

thorny pulsar
#

yes, on fiverr

rugged root
#

Finding people who are too lazy to make their own

zealous wave
#

^

thorny pulsar
#

yes

warped saffron
#

ah

thorny pulsar
#

i made 76 $ in my first month on fiverr

warped saffron
#

This is good I am learning about the coding world everyday

limber blaze
#

python prolly runs the init before oh

thorny pulsar
#

I want to work in silicon valley

#

BUT everyone wants that

#

so

rugged root
#

@thorny pulsar You should be able to verify now, if you're curious

warped saffron
#

Do you have to be at a certain age to sell bots on fiverr?

rugged root
#

No idea, I've never used it

warped saffron
#

damn

#

2 years off

slate oracle
#

Maybe 16

#

Have too look at TOS

limber blaze
#

hemmy is it because the initializer runs before the declaration?

warped saffron
#

TOS?

slate oracle
#

13

#

I think

honest pier
slate oracle
limber blaze
#

i'm getting a key error, the init triggers the method to start calling the tiers

warped saffron
#

@vivid gull "Sit down, shut up and work" -- GCSE

honest pier
#

what init

limber blaze
#

when calls start twilio sends me a post where i then try to access the object

#

like the init in a class

rugged root
#

@limber blaze Dude I haven't been paying attention to anything you've been saying for the last 20 minutes, I'm sorry

limber blaze
#

it's all good

warped saffron
limber blaze
#

i'm just asking does the init run before declaration

thorny pulsar
#

thanks man

honest pier
#

what declaration

slate oracle
limber blaze
#

x = class

honest pier
#

huh?

limber blaze
#

does the class init run before x is equal to the class

honest pier
#

of course

rugged root
#

Yes

#

Because it has to make the object before it can assign it to a variable

limber blaze
#

ah ok cool

honest pier
#

it evaluates the right side first

limber blaze
#

yeah i'm an idiot

warped saffron
#

Order, order in the VC!

rugged root
#

@vivid gull Sorry, I'm not meaning to be rude

molten pewter
#

Should we create another Off-Topic / General Channel?

rugged root
#

@molten pewter I'm considering it

#

Been rolling the idea around

digital jackal
#

@rugged root You SHOULD!!

vivid gull
#

@rugged root I get it, I'd prefer to be cautioned. I can't learn otherwise

digital jackal
#

cz its way too busy

zealous wave
#

honestly we should

#

there are three voice channels, but only one general voice channel chat

rugged root
#

@vivid gull That's fair, and I did try to give subtle hints earlier. So long as you're cool with me trying to cool you down

vivid gull
#

No problem, I get that

warped saffron
#

@rugged root Maybe you could create a classroom VC to teach code or other topics?

zealous wave
#

i mean

molten pewter
#

I would really like to know how to Say Hungry in it's native tounge

zealous wave
#

the code-help vcs exist

#

altho a general classroom would be cool

rugged root
#

@warped saffron That's actually on our road map. Like giving actual little lectures about certain things and have them hosted on our YouTube.

#

Still hammering out the details

warped saffron
#

That's great news

fierce summit
molten pewter
#

Could you pronounce that again in the channel?

fierce summit
#

Yeah, I just don’t want to talk over anyone

digital jackal
#

What is Mr.Robot?

rugged root
#

TV show

digital jackal
#

ah k

warped saffron
#

Math is beautiful

#

But you...well

zealous wave
#

^

#

true

warped saffron
#

idk

#

the last rolo guy

#

😆

#

He's great

fierce summit
warped saffron
#

I have friends who adore it

#

YES!!!

#

TV shows are contracts

fair citrus
#

have anyone said vip?

rugged root
#

I don't think so

fair citrus
#

ok I am going crazy then

warped saffron
#

maybe

#

lol

vestal badge
#

message n out of 50

faint ermine
#

aww i was too slow, hemlocks gone

rugged root
#

Sorry

warped saffron
#

Guys, how to make money coding as a teen?

vivid gull
rugged root
#

Depends on how long it takes me to get what I need at the pet store

honest pier
#

9! -> only about 350k possibilities, should be easily brute forceable

fair citrus
#

but in each checking I think it will take a lot

#

I am going to give a number for each letter and then check each row and column

honest pier
#

it shouldn't really be that hard though

#

adding numbers isn't exactly an expensive operation

fair citrus
#

giving value for each variable will take time since I am going make sure that other variables will not have it

honest pier
#

nah

#

!d itertools.permutations

wise cargoBOT
#
itertools.permutations(iterable, r=None)```
Return successive *r* length permutations of elements in the *iterable*.

If *r* is not specified or is `None`, then *r* defaults to the length of the *iterable* and all possible full-length permutations are generated.

The permutation tuples are emitted in lexicographic ordering according to the order of the input *iterable*. So, if the input *iterable* is sorted, the combination tuples will be produced in sorted order.

Elements are treated as unique based on their position, not on their value. So if the input elements are unique, there will be no repeat values in each permutation.

Roughly equivalent to:... [read more](https://docs.python.org/3/library/itertools.html#itertools.permutations)
fair citrus
#

since u r caling ur solve void main

#

I am actually tring to solve it

#

in Java

honest pier
#

ah

#

lol

warped saffron
#

@rugged root On the discord website, there is the possibility to join to a free MITx course for python. Do you need any prior experience or knowledge to join?

honest pier
#

no

warped saffron
#

So, I can learn with the univerity of my dreams from the 27th Jan this year!?!?!?!

honest pier
#

taking the course is not the same as going to mit, but yeah, you can take the course

warped saffron
#

Of course

#

But I mean MIT!

honest pier
#

well tbh, lots of stuff is online rn so it's kinda the same lol

warped saffron
#

yeah

#

Is it like buying a t-shirt vs a supreme t-shirt (same thing but branded)?

#

In the U.S., there are federal laws against monopolisation

#

So all of the other stores are safe-ish

#

@vivid gull What kind of reasons would he make?

molten pewter
#

The Hungarian alphabet (Hungarian: magyar ábécé) is an extension of the Latin alphabet used for writing the Hungarian language.
The alphabet is based on the Latin alphabet, with a couple added variations of letters.
One sometimes speaks of the smaller (or basic) and greater (or extended) Hungarian alphabets, depending on whether or not the lette...

warped saffron
#

They work extremely hard for it

#

Well, it depends

#

Because new markets are opening all the time

#

Mars is yet to be opened as a market

#

Maybe create a political discord server?

zealous wave
#

thats a bad idea

warped saffron
#

exactly

formal prism
#

bruh.. romania is not the worst country in europe.

limber blaze
#

i'm pretty trash with servers and stuff

#

how do i return code 204

#

do i just return the number 204

warped saffron
#

Idk yet I'm still learning to code

#

I hope i'll be able to help you in less than a year

formal prism
#

you can return 204

limber blaze
#

so just return 204

#

it didn't work i can't return an int

#

do i make it a string

formal prism
#

from http import HTTPStatus

HTTPStatus.NO_CONTENT
<HTTPStatus.NO_CONTENT: 204>
HTTPStatus.NO_CONTENT == 204
True

limber blaze
#

ok cool thank you

faint ermine
#

maybe ask in a help channel instead, or #web-development
or at least tell us the libraries/frameworks youre using

limber blaze
#

j flask

whole bear
#

@graceful grail hey man

faint ermine
#

oy, just return "204", 204

#

second return val can be status code

#

in flask

limber blaze
#

okay thank you

faint ermine
#

first one is just some random text

limber blaze
#

makes sense

rugged root
#

Yeah I'm not getting back on. Got a weather headache coming in

faint ermine
#

oof

#

and i got my webcam ready 😦

#

headache is more important tho

dusky monolith
#

lol

formal prism
#

Why the public vc is not open to join directly?

faint ermine
uncut meteor
#

why is Laundmo yellow

#

idk, but I support it

formal prism
#

I read it. However I might underestimate the hit-and-run trolls in a random discord server

faint ermine
formal prism
#

Yeah. Probably its the first time, I`ve joined the vc in this server out of curiosity

faint ermine
#

you dont need to be in voice to verify, just be active on the server

uncut meteor
#

@faint ermine 🍌

#

ty

#

congrats yellow man

#

on becoming yellow

faint ermine
#

thnaks

faint ermine
#

.wa 1*3

viscid lagoonBOT
faint ermine
#

nice

whole bear
#

awsome

oak sorrel
#

Any chance anyone wants to help with applying concurrent.futures? 😄 I think it's working mostly but doesn't return results

uncut meteor
oak sorrel
paper forge
#

Hey ? Can i join in ? =) I just joined the server and wont be able to talk, but i will at least hear what you say and i might learn some new things :D

uncut meteor
#

pretty sure you can just join

faint ermine
#

sure!

uncut meteor
zealous wave
uncut meteor
zealous wave
whole bear
#

i like fish

uncut meteor
#

breaths in Anglais

whole bear
#

bonjour there

uncut meteor
whole bear
#

just books and stuff

#

@zealous wave yes ma'am

#

children terrorists?

#

nobody knows

#

im setting up my ISO because my old VM was running out of date

#

;(

#

he was a nice guy

zealous wave
#

mmhm

limber blaze
#

so the sql connection keeps breaking

#

so i added a catch where it closes and connects again and tries to execute

#

just hopefully that doesn't break stuff

faint ermine
whole bear
#

Hi guys

#

how is life?

#

@willow light Yeah, How fast the earth rotate?

faint ermine
#

Larry is a cat who has served as Chief Mouser to the Cabinet Office at 10 Downing Street since 2011. He is a brown-and-white tabby, believed to have been born in January 2007. By July 2016, when Theresa May became prime minister, he had developed a reputation of being "violent" in his interactions with other local mousers, especially the Foreign...

whole bear
#

Larry the cat

willow light
#

460 meters per second, but that's at the equator. I live at 42 degrees North, so it's a bit different.

faint ermine
#

Noctilucent clouds, or night shining clouds, are tenuous cloud-like phenomena in the upper atmosphere of Earth. They consist of ice crystals and are only visible during astronomical twilight. Noctilucent roughly means "night shining" in Latin. They are most often observed during the summer months from latitudes between ±50° and ±70°. They are vi...

wraith ledge
#

@vivid gull you sound like cosmic skeptic

willow light
#

Most deep sea fishermen in New England see 10 pints of beer as "a small breakfast"

#

Oh, but it has to be the cheapest, worst-tasting "beer" they can find.

#

We're talking Dogfishhead

limber blaze
#

IM FUCKING FINISHED

#

6 months and 1000+ lines

#

holy shit

#

fucking finally

quaint night
#

wait how did you call the hood?

#

thanks

faint ermine
limber blaze
#

nvm 704 lines

#

across all files

willow light
whole bear
#

Today has been a good day. I completed THREE functions that I've been trying to make for months now.

The weird thing is I finished them all in one day. It's almost like some kind of block was opened in my brain.

willow light
#

Today I had a support call that included the line "Okay, I found the start menu, do I click on it?"

whole bear
#

😃

quaint night
#

you need a bot

livid marlin
#

Hello guys

#

Does anyone know any server for Ui / ux?

faint ermine
#

sorry, automating amazon is against their ToS

#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.

whole bear
#

lol. it's okay. Thanks for your advice.

tidal salmon
#

@hushed elm is that a server for talking about UI/UX stuff in general?

#

I suppose I could join it and consider adding it to the white list.

hushed elm
#

yes

tidal salmon
#

Alright

hushed elm
#

sure

tidal salmon
hushed elm
#

awesome 😄

undone idol
#

Hi

#

@somber heath

#

i can't hear you

somber heath
#

Noted.

#

Now?

undone idol
#

lol

somber heath
#

I ought to be audible.

undone idol
#

Ok

#

now

somber heath
#

I've checked and tested the settings, and they should be fine.

undone idol
#

How's my pfp now?

#

Huh?

#

What should i choose? then?

#

Hey I wanna ask a question

#

Like I want a moderation command that judges messages and if someone uses vulgar languages, spamming The bot will ban him or kick as per the situation?

#

What ML algorithms should I choose'?

#

hmm

#

Ok

#

cool

#

I wanna be like a AI BOT

#

Hmm

#

Ok

#

Oh

#

Gotcha!!

#

Do you watch any youtube videos

#
#

Ohk cool

#

Hi @whole bear

whole bear
#

Hey

#

I cant speak

#

for some stupid Reason

undone idol
#

Nice song @somber heath '

undone idol
#

cool

somber heath
#

Reason solved. 😁

undone idol
#

Ya I do use linux

#

@whole bear

#

lol

#

@whole bear

#

Are you Indian?

#

@whole bear

whole bear
#

Yes

#

No

#

Kind of

undone idol
#

Cool

whole bear
#

Live in UK

undone idol
#

same here

#

so what projects are you wroking on?

whole bear
#

Currently Learning ML and DL

#

But Also I hack(white)

undone idol
#

I am also a ethical hacker

#

like a beginner

#

one

whole bear
somber heath
#

I recently encountered just that in the form of someone having an issue with an exception occurring in their child thread.

#

I suggested they try look before you leap instead of better to ask for forgiveness.

#

Which I would otherwise avoid.

#

Because try/except is awesome.

undone idol
#

lol yes

fiery hearth
#
import pandas_datareader.data as web
import datetime    
import matplotlib.pyplot as plt

start = datetime.datetime(2013, 1, 1)
end = datetime.datetime(2020, 1, 12)
df = web.DataReader('TSLA', 'yahoo', start, end)
print(df)

df['Adj Close'].plot()
plt.show()
whole bear
#

Hello. I was thinking of a project that will manage my call. Means talk with people in my voice for that first i need to clone my voice. Do you have any idea on this how should i start that.

#

Yes.

vestal badge
#

message n out of 50

whole bear
#

@fiery hearth

#

unmute

somber heath
#

Sir Philip Anthony Hopkins (born 31 December 1937) is a Welsh actor, composer, director and film producer. He is the recipient of multiple accolades, including an Academy Award, three BAFTAs, two Emmys and the Cecil B. DeMille Award. In 1993, he was knighted by Queen Elizabeth II for services to the arts. Hopkins received a star on the Hollywoo...

undone idol
#

@mystic marlin

#

I am working with github

whole bear
#

same

#

just checking

#

if

#

there is one or two

#

check if it is

#

it could be

austere rapids
#

@mystic marlin can i come to your DM?s

#

cant talk on the voice

#

@mystic marlin I do but i cant talk ._.

dark aurora
#

@deep egret sup

gilded quest
#

@fiery hearth low key need someone to work with me on a code

#

yea its fine

molten pewter
deep egret
molten pewter
somber heath
#

Plot the first frame, save, clear, plot the second, etc. Or whatever is more appropriate.

fiery hearth
somber heath
#

@fiery hearth Slicing?

dark aurora
fiery hearth
lunar pendant
#

hey everyone

somber heath
#

@fiery hearth ffmpeg would be one way. Lets you construct video from images, say, 24 per second.

fiery hearth
#

like after the gif is constructed it would be emailed

somber heath
#

Video. Not gif.

#

You could do gif.

#

Don't.

#

Unless you know why it's a bad idea and you want to anyway.

#

What's not efficient?

fiery hearth
somber heath
#

ffmpeg is command-line.

fiery hearth
somber heath
#

I'm sure python has a library for it.

#

It may not.

pure path
#

ohhh

somber heath
#

At least from pip, I mean.

fiery hearth
#

thanks mate @somber heath

pure path
rugged root
somber heath
#

@fiery hearth So this all is probably the wrong way to do it, of course...but it is a way to fo it.

light solstice
#

lol

pure path
#

the 0 looking kinda ugly

light solstice
#

need 50 voice chats to access text channels

lunar pendant
light solstice
#

yeah obviusly

#

i cant taljk

#

UID are generated for every channels

pure path
#

implement what now?

lunar pendant
#

Pain in the ass ~~Mr. Hemlock 2021

light solstice
#

lol

#

nothing much lots of anime

light solstice
#

noice good utilization of multi threading

fiery hearth
#

if anyone is free plz help me 🙂

light solstice
#

free here

#

...

fiery hearth
light solstice
#

sure

#

trying to get 50 msgs

#

pls taljk

#

talk

#

lol

fiery hearth
light solstice
#

ML??

pure path
#

Yayy, night owls

light solstice
#

which library .. ?

#

pandas

#

...??

fiery hearth
light solstice
#

what happened not able tyo load the csv

#

??

fiery hearth
#
                 High        Low       Open      Close      Volume  Adj Close
Date
2015-12-31  56.189999  55.419998  56.040001  55.480000  27334100.0  50.627274
2016-01-04  54.799999  53.389999  54.320000  54.799999  53778000.0  50.006744
2016-01-05  55.389999  54.540001  54.930000  55.049999  34079700.0  50.234879
2016-01-06  54.400002  53.639999  54.320000  54.049999  39518900.0  49.322346
2016-01-07  53.490002  52.070000  52.700001  52.169998  56564900.0  47.606789
#

im trying to use the date as x n adj close as y and then animate from 2015

light solstice
#

yeah u can do if u r using multi threading lol @rugged root

#

which graph library ur using

#

matplot??

light solstice
#

wait

somber heath
#

@light solstice By multithreading, are you referring to either the multiprocessing module, or the threading module?

fiery hearth
light solstice
#

my connection lost for a while

#

u can use this

#

thread

#

try it and let me know

#

Dont gamify

fiery hearth
light solstice
#

got it ??

fiery hearth
#

just need to animate

light solstice
#

ok

#

wait

cerulean moth
#

Now, hemlock can only stay in one channel, and if i am late on some days, no seat wld be left for me

#

Only con ^

light solstice
#

u can use widgets in matplot lib

fiery hearth
light solstice
#

generate images and make them in to gif

#

or

severe pulsar
#

ooh there is a general 1 vc now

#

when did that become a thing

#

rupesh really do be working hard

#

5 hours damn

#

fully productive

rugged root
#

@severe pulsar Like.... 15 minutes ago or so

severe pulsar
fiery hearth
# light solstice generate images and make them in to gif
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.animation as animation

start = '2016-01-01'
end = '2020-01-14'
df = web.DataReader('MSFT, 'yahoo', start, end)
print(df.head(5))
plt.figure(figsize=(12, 6))
plt.plot(df['Adj Close'])
title = (f'{i} stock chart from {start} to {end}')
plt.title(title)
plt.ylabel('Price')
filename = str(i) + '.gif'
plt.savefig(filename)
#

how to impllement here

hushed elm
pure path
#

Yayy successfully implemented markov chain

hushed elm
#

nice, now u can work at nasa

severe pulsar
#

oh awesome

hushed elm
#

haha if only 😦

pure path
#
Once this happens, or the bottom of the generator is finalized. Fatal errors are signalled by the test method. Unfortunately, just tracking them creates a reference to a module fails, for example due to a disk file are side effects, for example. Common uses for sets are fast membership testing, removing duplicates from a weakref table and a fresh set of attributes of the generator look at a global variable or by passing in some respects. “Directly accessible” here means that an unqualified reference to it for maintaining its state. This is similar to Thread-Local Storage in which attribute references are part of a mangling is helpful for letting subclasses override methods of its instances.

here is an example of it generating python texts using the python docs as corpus

rugged root
balmy nymph
#

@rugged root zero basing is just ok_handbutflipped

somber heath
hushed elm
#

yes it gives it away

whole bear
#

@rugged root Will I automatically move to AFK as i am not allowed to speak

#

ok. get it

pure path
#

it feels so weird seeing voice-chat-0 and voice-chat-1

whole bear
#

I am an old member. But due to some reason I deleted my old account.

rugged root
#

!server

wise cargoBOT
#

Server information
Created: 4 years and 7 days ago
Voice region: europe
Features: ANIMATED_ICON, WELCOME_SCREEN_ENABLED, RELAY_ENABLED, MEMBER_VERIFICATION_GATE_ENABLED, VANITY_URL, BANNER, DISCOVERABLE, COMMUNITY, VIP_REGIONS, PREVIEW_ENABLED, INVITE_SPLASH, PARTNERED, NEWS

Channel counts
Category channels: 26
News channels: 8
Text channels: 155
Voice channels: 15
Staff channels: 63

Member counts
Members: 132,561
Staff members: 87
Roles: 86

Member statuses
status_online 38,702
status_offline 93,859

whole bear
#

Yesterday, we discussed about Dropbox laying off employees. Do you remember?

#

@rugged root and get some kind of authority and power. Just Kidding😂

#

That's good for us

#

Do you guys like this one?

pure path
whole bear
#

Anyone excited for Windows 10X release?

#

Yesterday, I installed the leaked version and it looks awesome.

#

Where's that guy who get banned everywhere?😂

#

I am missing him

hushed elm
#

; DROP TABLE users;

whole bear
amber raptor
#

Window10X is basically Microsoft answer to Chromebooks, problem is, Windows store is not as filled out as Google

whole bear
#

@amber raptor Happy to see you after a long time. Yeah i agree but i like the UI.

hushed elm
#

found the guy

whole bear
#

@somber heath you're from AUSTRALIA right. Bushy green area.

#

@fiery hearth What about your Yahoo api thing? It's sorted or still struggling.

pure path
#

@rugged root could you please reload the help channel cogs, because there is only one in available

whole bear
#

@lunar pendant Are you new to server?

pure path
#

a realod should fix it

#

ya

#

akarys fixed it

somber heath
#

@whole bear Yaha.

whole bear
pure path
#

no there was a bug and akarys fixed it

whole bear
whole bear
#

@somber heath you worked in mining industry right?

#

ok

hard wyvern
#

hello

whole bear
#

hi

hard wyvern
#

everyone

whole bear
#

yes everyone

hard wyvern
whole bear
#

fine

#

what about u

light solstice
#

hi

whole bear
#

hi @light solstice

hard wyvern
#

I'm good

whole bear
#

@hard wyvern you want to ask anything?

hard wyvern
#

no

whole bear
#

ok

swift valley
#

G'evening

whole bear
swift valley
#

Been a while actually

lunar pendant
hard wyvern
#

ello

whole bear
hard wyvern
#

@whole bear are u new to this server

swift valley
#

Bruv

#

oi m8

pure path
#

@rugged root how did you find out about discord?

#

oh coool

swift valley
#

Isn't Skype almost exclusively a "serious business" thing nowadays?

pure path
#

Meet

#

a round of a plause to opal mist

fiery hearth
swift valley
#

I've yet to fix microphone issues on my laptop lol

#

Why is pulseaudio so hard to configure

pure path
#

ye eivl should do it

#

he would do it real good

#

he knows so muchhhhhh

woeful junco
#

not verified yet heh heh

lunar pendant
woeful junco
#

i enjoyed listening +1