#voice-chat-text-0

1 messages ยท Page 659 of 1

severe elm
#

what are you guys discussing?

mild citrus
#

someone here works as a python developer?

#

and what you think about python certifications like this one?

hollow haven
#

Wheeee time to take a break and go grocery shopping

tiny socket
#

@faint ermine what was that

faint ermine
#

@tiny socket your mic quality hasnt improved

#

its very tincan

severe elm
#

nah i can't, it looks lame without the animations

tiny socket
#

time to switch to mobile lol

severe elm
#

alright i'm leaving guys, tbh i just joined to see hemlock and tell him that i'm his friend

#

see ya pythoneers

mild citrus
#

I'll be aplying for a job in the next few weeks and I don't know if is it any worth it

#

it is $145 usd so...

distant shuttle
amber raptor
#

BTW, if you are going to crash your computer, go big

#

Sysinternals Notmyfault

rugged root
#

That's fine

tiny socket
#

lmao my pc is still making sounds when people connect or disconnect from the channel

amber raptor
#

I'd offer to show me crashing into carrier

faint ermine
#

@whole bear

whole bear
#

Yes I can see it

#

oh ok thanks

#

im sorry i just need help with a project lol

#

ok thank u

stiff granite
#

anybody here

somber heath
#

o/

stiff granite
#

hi

#

sry not varified yet

#

cant talk

#

oof

#

oooo its cold here in US

#

No fun

#

cold

#

haha

#

lol

#

bush fire season XD

#

well yah

#

i remember the beginning of 2020

#

not very nice

#

sad time

somber heath
#

!pase

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.

somber heath
#

lol

wise cargoBOT
stiff granite
#

OG code

somber heath
#
seconds = input('Give a number. >')
seconds = int(seconds)```
#

try except while

#

break

stiff granite
#

seconds = input('Give a number. >')
seconds = int(seconds) #int('30')
timer = 30

somber heath
#

str.isnumeric

whole bear
#

.help

viscid lagoonBOT
#
Command Help

AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.

AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the user's avatar.

Battleship
.battleship
Play a game of Battleship with someone else!

BeMyValentine
.bemyvalentine [user] [valentine_type]
Send a valentine to user, if specified, or to a random user with the lovefest role.

Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.

somber heath
#

type()

#

type('vfd') == str

#
'5'.isnumeric() is True
'Ni!'.isnumeric() is False```
#

continue

stiff granite
#

if seconds == str
print "thats not right, please use a number"
seconds = input('Give a number. > ')
else
seconds = input('Give a number. > ')
timer = int(seconds) #int('30')

vagrant finch
#

U can check for seconds being a not numeric in the while statement

stiff granite
#

if seconds.isnumeric() is False
print "Sorry, thats not right, please use a number"
seconds = input('Give a number. > ')
else
seconds = input('Give a number. > ')
timer = int(seconds) #int('30')

vagrant finch
#

U can check for seconds being a not numeric in the while statement
@stiff granite

stiff granite
#

while seconds.isnumeric() is False:
print ("Please enter how long you would like to play the game")
else:
seconds = input('Give a number. > ')
timer = int(seconds)

upbeat laurel
#

print("
Decimal number")
x = int(input())
y=""
print("Binary number")
while x>0:
y=str(x%2)+y
x//=2
print(y)

green bone
#

@upbeat laurel Why are you spamming that in every channel?

#

nevermind

upbeat laurel
#

@upbeat laurel Why are you spamming that in every channel?
@green bone That's not what I meant.
I sent Python code to convert decimal numbers into binary numbers.
I'm sorry.

somber heath
#
from math import pi
from numpy import linspace
line = linspace(-pi*2, pi*2, 600)```
#
for xi, x in enumerate(line):
    for yi, y in enumerate(line):
        pass```
past elk
#
for y in range(int(scaley)):
        for x in range(int(scalex)):
            pxl[x,y] = px[x * (width/scalex),y * (height/scaley)]```
somber heath
#
mods = [(x,y) for x in (-1,0,1) for y in (-1,0,1)]```
#
def points_for(xy):
    returns = []
    for mod in mods:
        a = xy[0]+mod[0)], xy[1]+mod[1])
        returns.append(a)
    return returns```
past elk
#

โ–‘ โ–’ โ–“

vagrant finch
#

@boreal herald

#

Right here

boreal herald
#
agn = ("")
agn1 = True
first = True
while agn1 == True:
    if first == True:
        yn = input("you find a cat, do you want to pet it? y/n ")



    if yn == ("y"):
        print("you have pet the cat")
        agn = input("would you like to pet the cat again? y/n ")
        first = False

        if agn == ("y"):
            agn1 = True
        if agn == ("n"):
            agn1 = False
            print ("you leave the cat alone and walk away ")

        if agn != ("y":


    else:
        print ("please sat y/n")
somber heath
#
a = "hello"
print(a)```
#
if a == 'hello':
    print('Yes')```
past elk
#
a = lambda text: print(lambda: text)
a("yes")
somber heath
#
python
b = True
if b:
    print('Yes')```
boreal herald
#
agn = ("")
agn1 = True
first = True
while agn1 == True:
    if first == True:
        yn = input("you find a cat, do you want to pet it? y/n ")



    if yn == ("y"):
        print("you have pet the cat")
        agn = input("would you like to pet the cat again? y/n ")
        first = False

        if agn == ("y"):
            agn1 = True
        if agn == ("n"):
            agn1 = False
            print ("you leave the cat alone and walk away ")
        else:
            print("please say y/n")




    else:
        print ("please say y/n")
vagrant finch
#

Guys @somber heath @past elk Care to move?

past elk
#

?

vagrant finch
boreal herald
#

you find a cat, do you want to pet it? y/n a
please say y/n
you find a cat, do you want to pet it? y/n y
you have pet the cat
would you like to pet the cat again? y/n a
please say y/n
you have pet the cat
would you like to pet the cat again? y/n y
please say y/n
you have pet the cat
would you like to pet the cat again? y/n

vagrant finch
#
agn = ""
answer = True
print("You find a cat")
while answer == True:
    agn = input("Would you like to pet it? { y \ n } ")
    if agn == "y":
        print("U have pet the cat")
    elif agn == "n":
        print("Good bye")
         answer = False
    else:
        print("Please answer with y \ n")

somber heath
#
def func():
    #This is not okay
print('Done')```
```python
def func():
    pass #This is okay
print('Done')```
#
def func():
    pass
    print('I will print.')
func()```
#
for i in range(10):
    pass```
Loop 10 times, but don't do much anything else.
fiery hearth
#
print('What is the principal amount?')
passws = input()
print('What is the rate of interest?')
rate = input()
print('What is the time?')
time = input()
print('Calculating!!*3')

def asd(paqss):
    tot = int(paqss) + int(paqss) * (int(rate)/100) ** int(time)
    print('The total amount is: ' + str(tot))

asd(passws)
stuck furnace
#

@somber heath I'm not listening to the conversation, so sorry if this is not relevant ๐Ÿ˜„ But I've taken recently to using the ellipsis ... to denote a function body that I intend to fill in later. Like this:

#
def myfun():
    ...
#

It's valid syntax!

somber heath
#

Sorcery!

stuck furnace
#

Erm, I don't think screen sharing is currently permitted.

#

Only for staff members.

somber heath
#

Class ellipsis. Pffff.

stuck furnace
#

Alright, that's my random python factoid for the day.

#

See ya

somber heath
#

Ta ta.

#

I guess I can just write this if I want, too.

def func():
    int```๐Ÿ™ƒ
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.

fiery hearth
#

!pandas

#

!dict

wise cargoBOT
#
Did you mean ...

dictcomps
iterate-dict

frozen oasis
#

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

frozen oasis
#

!print("hello")

#

!e

wise cargoBOT
#
Command Help

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

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

frozen oasis
#

!e print("hello")

wise cargoBOT
#

@frozen oasis :white_check_mark: Your eval job has completed with return code 0.

hello
plain dagger
civic wyvern
#

Help im getting an error and I dont know why

#

its saying "list indices must be integers or slices, not float"

#

hello?

whole bear
#

!e print("hello")

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

hello
whole bear
#

!e
em = discord.Embed(title = 'COMMANDS')
await ctx.channel.send(embed=em)

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     await ctx.channel.send(embed=em)
003 |     ^
004 | IndentationError: unexpected indent
whole bear
#

hacking is wrong

past elk
#

@whole bear ethical hacking is a thing

whole bear
#

the word ethical and hacking do not work well

#

its like saying ethical stealing

past elk
#

um its a job you get contracted by companies to hack them before the bad hackers do so they can protect against the bad hackers

whole bear
#

its a bit of a stupid name then

past elk
#

eh

mighty finch
#

those help company avoid sercuirty risks

past elk
#

ya

whole bear
#

wtf they're all russian lol

past elk
#

huh ๐Ÿ˜„

whole bear
#

are these good people?

past elk
#

no there on a wanted list ๐Ÿ˜„

whole bear
#

russian computer crimes only apply on russian citizens

#

i think

past elk
#

um not nessasaraly there has been internatinal attacks

#

but conventionally yes

whole bear
#

that is messed up

past elk
#

yep

whole bear
#

is russia better than the us at anything?

past elk
#

they beat the us into space

whole bear
#

no we won

#

WE SENT MEN TO THE MOON

#

and they just sent a dog in orbit like who cares

past elk
#

no we got to the moon first, they got to space first

#

we have sent rats to space

whole bear
#

i wonder

#

does a human body compose in space?

past elk
#

decompose you mean?

whole bear
#

ye

past elk
#

um, no because decomposition is caused organisms eating the body and in space organisms cant strive enough to eat, so maybe but i wouldn't think so

whole bear
#

but arent there like billions of bacteria on your body

past elk
#

ya but think of it this way, there is 7 billion people on earth, if the moon hit the earth we would all be dead. so all the orginisms would die at about the same time so thats not a factor

#

is anyone talking in vc?

severe elm
#

i am talking in vc

#

join vc nerd

#

i need your opinion on my website

whole bear
#

young team of web-developers: blalbalbalbalbal

#

lol

hushed elm
#

G
O
A
L

#

big brain

stray salmon
#

nicee

hushed elm
#

blu

severe elm
#

macro can you delete the screens of my homepage

hushed elm
#

biznis

severe elm
#

i have a zoom meeting, will be back later guys

somber heath
#

Ocker

#

"Excessive use of bowels in the Dutch language"

gentle flint
#

mhm

#

it stimulates your poop

somber heath
#

Well, if anywhere is going to have good structural engineering where it concerns water...

gentle flint
somber heath
#

"Give me advice, Luxembourg!"

#

"Keep your eyes to the ground."

hushed elm
#

eww

candid venture
severe elm
#

@hushed elm do you have a good font-fam you would recommend

#

font

hushed elm
#

font-gang

gentle flint
#

it's a small
family business

hushed elm
gentle flint
#

they'll bust yer kneecaps

#

oo, oop dee doo

hushed elm
gentle flint
#

exactly

severe elm
somber heath
#
while True:
    answer = input('Enter something containing the letter "b".')
    if 'b' in answer:
        break```
fiery hearth
#
print('How much are you investing?')
p = int(input())
a = 100
print('How long will you be investing?')
time = int(input())
print('What is the rate of return on your investment?')
rate = int(input()) / 100
print('What is the market rate of return')
market_return = int(input()) / 100

# Loop for rate of return on inv
t = 0
while t < time:
    p = p + (p * rate)
    t = t + 1
    print('Cal...')
print('Your return is {}.'.format(round(p, 2)))

# loop for rate of return of market
ti = 0
while ti < time:
    a = a + (a * market_return)
    ti = ti + 1
print('Your investment as per market rate of return should have been {}.'.format(round(a, 2)))
print('So lets see what happened? Did we make any profit?')

if p > a:
    print('Your investment outperformed the market by {}!'.format(str(round(p - a, 2))))
else:
    print('Your investment generated less return than the overall market by {}!'.format(str(round(a - p, 2))))

test = int(input())
for i in range(test):
    test = 100 * 0.1 * test
    print()
somber heath
#
help(str.isnumeric)```
#
help(print)```
#
help('')```
#
help(''.isnumeric)```
vernal igloo
#

It says, I can't I ve been here for a long time ;'(

#

not enough mesages

#

can I spam them xD?

#

yes

#

anyways i got a question

#

check code help

fickle fossil
#

Morning, hope yโ€™all doing great

pallid garnet
#

I am doing well. Thank you for asking @fickle fossil. Hope your day is off to a good start

fickle fossil
#

It is! Thanks! ๐Ÿ˜

vernal igloo
faint ermine
#

LICENSE

rugged root
#

!source

wise cargoBOT
abstract ravine
#

Can sm1 explain me how exactly splay trees work

rugged root
bold dust
#

@whole bear nie mozna gadac

rugged root
#

@bold dust @whole bear Check out #voice-verification if you're wondering why you can't talk in the voice chat

pliant atlas
#

@pallid garnet i think i've seen u here? not sure

pallid garnet
#

@pliant atlas Yeah I actually met you around the time I joined the channel. I am still not quite verified to talk in voice chat. I guess it allowed me initially, but now I need to make 50 posts

#

@pliant atlas How are you doing?

#

@pliant atlas Always remain positive! Always a message away to talk ๐Ÿ™‚

pliant atlas
#

๐Ÿ˜ƒ yep

pallid garnet
#

You have a great memory!

pliant atlas
#

thnx

#

so how's the learning going

surreal skiff
#

Hi

#

anyone ?

pallid garnet
#

@pliant atlas It's going alright. Still need to put in some more practice

pliant atlas
#

noice

#

python casting

rugged root
#
x = "4"
y = int(x)
pliant atlas
#
  return lambda a : a * n

mydoubler = myfunc(2)

print(mydoubler(11))```
Will this code word?
#

work*

rugged root
#

Should

#

!e

def myfunc(n):
  return lambda a : a * n

mydoubler = myfunc(2)

print(mydoubler(11))
wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

22
hidden flower
#

Hello Hem

#

ยฏ_(ใƒ„)_/ยฏ

last lodge
#

hey

#

i love this server

rugged root
#

I'm glad!

#

We do the best we can to make it a nice place.

last lodge
#

i have to send >50 to voice verify

#

so this message is my 4th msg

rugged root
#

@last lodge 3 days and 50 messages (or more). That's about a regular conversation

last lodge
#

oh ok

trim night
#

Hey peeps how's it going?

rugged root
#

Doing well, you?

trim night
#

yeah im ok thanks

#

flamez im in the same place im on my 6th message ๐Ÿ˜›

haughty idol
#

webrtc also have python version !!

#

i guess wrapper

#

aiortc is a python implementation of webrtc

rugged root
#

Ooooo

#

Interesting, I might have to look at that

haughty idol
#

i tried to understand but it just went above my head maybe coz i am still newbie

#

start point if i want to do something related to connecting pc through network or something ?
i am even able to ask properly ๐Ÿ˜…

#

any specific framework javascript to start with WebSocket ?

candid venture
#

DOESNT MATTER WHAT FUCKING CONTEXT! FUCKING FREE SHIT

pallid garnet
#

THANK YOU SO MUCH! THIS IS AMAZING! @candid venture Incredibly kind of you

haughty idol
#

any specific framework javascript to start with WebSocket ?
@rugged root @amber raptor

candid venture
#

THANK YOU SO MUCH! THIS IS AMAZING! @Olivia Newton-John Incredibly kind of you
@pallid garnet Enjoy


Sharing is caring! @rugged root
(i mean marxism)

haughty idol
#

i am just a newbie i want to start

#

ohk thanks

#

ohk

tropic ice
candid venture
#

@haughty idol
i suggest you see the link i sent above, alot of free courses including python for begginers

haughty idol
#

so if i want something like chat box or something then rest will close the connection everytime or how would it work ?

tropic ice
#

it says they cost tho

haughty idol
tropic ice
#

are they free forever @candid venture

candid venture
#

yes

#

but you need to enroll now

pure path
#

facebookers

#

lol

amber raptor
tropic ice
#

Matthew Cutts (born 1972 or 1973) is an American software engineer. Cutts is the Administrator of the United States Digital Service. He was first appointed as acting administrator, to later be confirmed as full administrator in October 2018. Cutts previously worked with Google...

rugged root
#

It's like Christmas in there. Okay, actually heading out on deliveries. Should less than an hour.

tropic ice
#

LOL

pallid garnet
#

LMAO

tropic ice
dark seal
#

Joining in a bit

fiery hearth
#

How do we convert the py script into an exe file?

somber heath
#

pyautoexe is the tool I see being used.

#

I think.

amber raptor
#

Most of them will trip AV as FYI

fiery hearth
#

@somber heath is pyauto a seperate software or package?

somber heath
#

I don't know. I don't use it.

fiery hearth
#

Who would know?

somber heath
#

Google?

rugged root
#

I'll find it

#

It's one of my faves

somber heath
#

!e
def func():
#If this breaks things, I blame Hemlock.
try:
func()
except RecursionError:
func()
func()

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 139 (SIGSEGV).

001 | Fatal Python error: Cannot recover from stack overflow.
002 | Python runtime state: initialized
003 | 
004 | Current thread 0x00007f92d737f740 (most recent call first):
005 |   File "<string>", line 4 in func
006 |   File "<string>", line 4 in func
007 |   File "<string>", line 4 in func
008 |   File "<string>", line 4 in func
009 |   File "<string>", line 4 in func
010 |   File "<string>", line 4 in func
011 |   File "<string>", line 4 in func
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/zoxisiquta.txt

fiery hearth
#

Thanks @rugged root @somber heath

haughty idol
#

!e
def func():
#If this breaks things, I blame Hemlock.
try:
func()
except RecursionError:
func()
func()
@somber heath
lol ๐Ÿคฃ

rugged root
#

It won't. @wise cargo will still be able to bring up another box

#

!e print("Isn't that right, buddy?")

wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

Isn't that right, buddy?
somber heath
#

Mm. New invocation per ! command?

rugged root
#

Yessir

#

Made used wiped

somber heath
#

!e
a = ' '
while True:
a *= 2

wise cargoBOT
#

@somber heath :warning: Your eval job timed out or ran out of memory.

[No output]
rugged root
#

@whole bear If you're wondering why you couldn't talk a moment ago, check out #voice-verification. That should tell you what you need to know

faint ermine
#

!e import numpy

wise cargoBOT
#

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

[No output]
faint ermine
#

!e import pandas

wise cargoBOT
#

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

[No output]
faint ermine
#

!e import tensorflow

wise cargoBOT
#

@faint ermine :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 'tensorflow'
faint ermine
wise cargoBOT
#

@faint ermine :x: Your eval job has completed with return code 1.

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

It's not ptt force. It's the voice gate.

#

Check the voice-verification channel for the details.

haughty idol
#

its nice to talk to you all
I have to leave now
bye bye enjoyed a lot

somber heath
#

@haughty idol ta ta

rugged root
#

By stuffing I meant taxidermy

austere linden
#

Can I say something

#

??

#

Hello Uncle @rugged root

pliant atlas
#

Uncle Lmao ๐Ÿ˜…

rugged root
#

@tender plume You're sitting at around.... 6ish messages since the tracking started. Maybe a bit more

#

But that's about a conversation's worth

pliant atlas
#

we can have some voice chat moderators?

rugged root
#

Not really an option. We're entirely volunteers, and most of us are students or work, so it's not really feasible for us to have it constantly staffed.

amber raptor
#

Sorry

#

Not for anyone In the channel

#

Damn cat keeps barfing

rugged root
#
arrow = "~= 0.15"
attrs = "~= 19.3"
beautifulsoup4 = "~= 4.8"
falcon = "~= 2.0.0"
forbiddenfruit = "~= 0.1"
fuzzywuzzy = "~= 0.17"
gunicorn = "~= 19.9"
jsonschema = "~= 3.0"
more-itertools = "~= 8.0"
networkx = "~= 2.4"
numpy = "~= 1.17"
pandas = "~= 0.25"
pendulum = "~= 2.0"
python-dateutil = "~= 2.8"
python-levenshtein = "~=0.12.0"
pyyaml = "~= 5.2"
scipy = "~= 1.3"
sentry-sdk = {extras = ["falcon"], version = "~= 0.14.2"}
sympy = "~= 1.5"
toml = "~= 0.10"
yarl = "~= 1.4"
austere linden
#

I am so sorry GUYSS!!!

#

OMG ๐Ÿ˜ฎ

#

@rugged root

#

My apologies, I am doing my assignment with my class mate

rugged root
#

It happens, no need to fret

austere linden
#

Thank you ๐Ÿ™‚

somber heath
#

๐ŸŽธ

#

I'm offended there isn't a classical guitar.

wet seal
#

does anyone in here have experience with scikit image?

rugged root
#

!codeblocks

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.

amber raptor
#
PS C:\Users\rabbi> $x = @{"input" = "print('Hello World')"}
PS C:\Users\rabbi> Invoke-RestMethod -Body ($x | Convertto-Json) -Method Post -Uri http://127.0.0.1:8060/eval -ContentType 'application/json'```
faint ermine
#

r = requests.post("https://snekbox.yadamiel.com/eval", json={"input":"print(1)"})

dark seal
#

404

vagrant finch
#

Not found

faint ermine
#

sorry was down i was changing configs

pastel lance
#
def GGGGotate(lol):
    bit = lol << 1
    movebit = bit & 255
    if (lol > 127 ):
        movebit = movebit | 1
    return (movebit)
def main():
    value = input("Enter your value: ")
    ListMoveBit = []
    Index_Move_bit = 1
    Index_Value = 0
    ORD_value = []
    ORD_key = []
    Under_10 = []
    Index_star = 0
    Final_encrypted = ""
    Passs = []
    List_values_back = []
    Uncrypt = []
    for i in value:
        ORD_value.append(ord(i))
    a = ord("a")
    ORD_key.append(a)
    lol = print(ORD_value)
    ListMoveBit.append(GGGGotate(lol))
    for chars in ORD_value:
        if Index_Value == 0:
            Index_Value += 1
            pass
        else:
            lol = int(ListMoveBit[Index_Value-1]) ^ int(chars)
            ListMoveBit.append(GGGGotate(lol))
            Index_Value += 1
    for i in ListMoveBit:
        Under_10.append("0")
    for i in ListMoveBit:
        if (i < 9):
            Under_10[Index_star] = "1"
        Index_star += 1
    for i in ListMoveBit:
        x = hex(i)
        val = x[2:]
        if(i > 9) and (i < 16):
            Final_encrypted = Final_encrypted + "0" + val
        else:
            if (i<10):
                Final_encrypted = Final_encrypted +"0"+val
            else:
                Final_encrypted = Final_encrypted + val
    print("\nThe encrypted message is:")
    print(Final_encrypted + "\n")
if __name__ == '__main__':
    main()

#

Does anyone have any idea how to reverse that ?
Im supposed to reverse this = 2e84cb5f6c34b0a38fcdf99749

#

have no idea where to start from

gloomy tundra
#

e!a

#

cdef GGGGotate(lol):
bit = lol << 1
movebit = bit & 255
if (lol > 127 ):
movebit = movebit | 1
return (movebit)
def main():
value = input("Enter your value: ")
ListMoveBit = []
Index_Move_bit = 1
Index_Value = 0
ORD_value = []
ORD_key = []
Under_10 = []
Index_star = 0
Final_encrypted = ""
Passs = []
List_values_back = []
Uncrypt = []
for i in value:
ORD_value.append(ord(i))
a = ord("a")
ORD_key.append(a)
lol = print(ORD_value)
ListMoveBit.append(GGGGotate(lol))
for chars in ORD_value:
if Index_Value == 0:
Index_Value += 1
pass
else:
lol = int(ListMoveBit[Index_Value-1]) ^ int(chars)
ListMoveBit.append(GGGGotate(lol))
Index_Value += 1
for i in ListMoveBit:
Under_10.append("0")
for i in ListMoveBit:
if (i < 9):
Under_10[Index_star] = "1"
Index_star += 1
for i in ListMoveBit:
x = hex(i)
val = x[2:]
if(i > 9) and (i < 16):
Final_encrypted = Final_encrypted + "0" + val
else:
if (i<10):
Final_encrypted = Final_encrypted +"0"+val
else:
Final_encrypted = Final_encrypted + val
print("\nThe encrypted message is:")
print(Final_encrypted + "\n")
if name == 'main':
main()

#

lol am copied this lol

pastel lance
#

I need to reverse this string

#

2e84cb5f6c34b0a38fcdf99749

#

lol

gloomy tundra
#

lOl

faint ermine
#
appdirs==1.4.4
arrow==0.15.8
attrs==19.3.0
beautifulsoup4==4.9.1
certifi==2020.6.20
decorator==4.4.2
distlib==0.3.1
falcon==2.0.0
filelock==3.0.12
forbiddenfruit==0.1.3
fuzzywuzzy==0.18.0
gunicorn==19.10.0
idna==2.10
jsonschema==3.2.0
more-itertools==8.4.0
mpmath==1.1.0
multidict==4.7.6
networkx==2.4
numpy==1.19.1
pandas==0.25.3
pendulum==2.1.2
pipenv==2018.11.26
pyrsistent==0.16.0
python-dateutil==2.8.1
python-Levenshtein==0.12.0
pytz==2020.1
pytzdata==2020.1
PyYAML==5.3.1
scipy==1.5.2
sentry-sdk==0.14.4
six==1.15.0
soupsieve==2.0.1
sympy==1.6.1
toml==0.10.1
typing-extensions==3.7.4.2
urllib3==1.25.10
virtualenv==20.0.29
virtualenv-clone==0.5.4
yarl==1.5.0
pastel lance
#

I know that they're using ORD and hex to create the encryption

gloomy tundra
#

appdirs==1.4.4
arrow==0.15.8
attrs==19.3.0
beautifulsoup4==4.9.1
certifi==2020.6.20
decorator==4.4.2
distlib==0.3.1
falcon==2.0.0
filelock==3.0.12
forbiddenfruit==0.1.3
fuzzywuzzy==0.18.0
gunicorn==19.10.0
idna==2.10
jsonschema==3.2.0
more-itertools==8.4.0
mpmath==1.1.0
multidict==4.7.6
networkx==2.4
numpy==1.19.1
pandas==0.25.3
pendulum==2.1.2
pipenv==2018.11.26
pyrsistent==0.16.0
python-dateutil==2.8.1
python-Levenshtein==0.12.0
pytz==2020.1
pytzdata==2020.1
PyYAML==5.3.1
scipy==1.5.2
sentry-sdk==0.14.4
six==1.15.0
soupsieve==2.0.1
sympy==1.6.1
toml==0.10.1
typing-extensions==3.7.4.2
urllib3==1.25.10
virtualenv==20.0.29
virtualenv-clone==0.5.4
yarl==1.5.0

#

Lol

#

am copied this

#

when copy the messages of codes of phyton

#

when

#

this cht is died

#

=0.5.4
yarl==1.5.0

candid venture
#

!e
print(' @rugged root ' + "hello ")
import os
os.system('pip freeze')

wise cargoBOT
#

@candid venture :white_check_mark: Your eval job has completed with return code 0.

 <@โ€‹!98195144192331776> hello 
candid venture
#

!e
print(os.system('pip freeze'))

wise cargoBOT
#

@candid venture :x: Your eval job has completed with return code 1.

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

Pup

#

appdirs==1.4.4
arrow==0.15.8
attrs==19.3.0
beautifulsoup4==4.9.1
certifi==2020.6.20
decorator==4.4.2
distlib==0.3.1
falcon==2.0.0
filelock==3.0.12
forbiddenfruit==0.1.3
fuzzywuzzy==0.18.0
gunicorn==19.10.0
idna==2.10
jsonschema==3.2.0
more-itertools==8.4.0
mpmath==1.1.0
multidict==4.7.6
networkx==2.4
numpy==1.19.1
pandas==0.25.3
pendulum==2.1.2
pipenv==2018.11.26
pyrsistent==0.16.0
python-dateutil==2.8.1
python-Levenshtein==0.12.0
pytz==2020.1
pytzdata==2020.1
PyYAML==5.3.1
scipy==1.5.2
sentry-sdk==0.14.4
six==1.15.0
soupsieve==2.0.1
sympy==1.6.1
toml==0.10.1
typing-extensions==3.7.4.2
urllib3==1.25.10
virtualenv==20.0.29
virtualenv-clone==0.5.4
yarl==1.5.0appdirs==1.4.4
arrow==0.15.8
attrs==19.3.0
beautifulsoup4==4.9.1
certifi==2020.6.20
decorator==4.4.2
distlib==0.3.1
falcon==2.0.0
filelock==3.0.12
forbiddenfruit==0.1.3
fuzzywuzzy==0.18.0
gunicorn==19.10.0
idna==2.10
jsonschema==3.2.0
more-itertools==8.4.0
mpmath==1.1.0
multidict==4.7.6
networkx==2.4
numpy==1.19.1
pandas==0.25.3
pendulum==2.1.2
pipenv==2018.11.26
pyrsistent==0.16.0
python-dateutil==2.8.1
python-Levenshtein==0.12.0
pytz==2020.1
pytzdata==2020.1
PyYAML==5.3.1
scipy==1.5.2
sentry-sdk==0.14.4
six==1.15.0
soupsieve==2.0.1
sympy==1.6.1
toml==0.10.1
typing-extensions==3.7.4.2
urllib3==1.25.10
virtualenv==20.0.29
virtualenv-clone==0.5.4
yarl==1.5.0

candid venture
#

!e
import os
print(os.system('pip freeze'))

wise cargoBOT
#

@candid venture :white_check_mark: Your eval job has completed with return code 0.

-1
candid venture
#

Pup

gloomy tundra
#

appdirs==1.4.4
arrow==0.15.8
attrs==19.3.0
beautifulsoup4==4.9.1
certifi==2020.6.20
decorator==4.4.2
distlib==0.3.1
falcon==2.0.0
filelock==3.0.12
forbiddenfruit==0.1.3
fuzzywuzzy==0.18.0
gunicorn==19.10.0
idna==2.10
jsonschema==3.2.0
more-itertools==8.4.0
mpmath==1.1.0
multidict==4.7.6
networkx==2.4
numpy==1.19.1
pandas==0.25.3
pendulum==2.1.2
pipenv==2018.11.26
pyrsistent==0.16.0
python-dateutil==2.8.1
python-Levenshtein==0.12.0
pytz==2020.1
pytzdata==2020.1
PyYAML==5.3.1
scipy==1.5.2
sentry-sdk==0.14.4
six==1.15.0
soupsieve==2.0.1
sympy==1.6.1
toml==0.10.1
typing-extensions==3.7.4.2
urllib3==1.25.10
virtualenv==20.0.29
virtualenv-clone==0.5.4
yarl==1.5.0appdirs==1.4.4
arrow==0.15.8
attrs==19.3.0
beautifulsoup4==4.9.1
certifi==2020.6.20
decorator==4.4.2
distlib==0.3.1
falcon==2.0.0
filelock==3.0.12
forbiddenfruit==0.1.3
fuzzywuzzy==0.18.0
gunicorn==19.10.0
idna==2.10
jsonschema==3.2.0
more-itertools==8.4.0
mpmath==1.1.0
multidict==4.7.6
networkx==2.4
numpy==1.19.1
pandas==0.25.3
pendulum==2.1.2
pipenv==2018.11.26
pyrsistent==0.16.0
python-dateutil==2.8.1
python-Levenshtein==0.12.0
pytz==2020.1
pytzdata==2020.1
PyYAML==5.3.1
scipy==1.5.2
sentry-sdk==0.14.4
six==1.15.0
soupsieve==2.0.1
sympy==1.6.1
toml==0.10.1
typing-extensions==3.7.4.2
urllib3==1.25.10
virtualenv==20.0.29
virtualenv-clone==0.5.4
yarl==1.5.0vv

#

OpP

pastel lance
#

!e
print("t")

wise cargoBOT
#

@pastel lance :white_check_mark: Your eval job has completed with return code 0.

t
pastel lance
#

no shit

rugged root
#

Did VC die or is that just me

gloomy tundra
#

!e print ("adsghsikdh")

wise cargoBOT
#

@gloomy tundra :white_check_mark: Your eval job has completed with return code 0.

adsghsikdh
faint ermine
#

@rugged root you deafend

rugged root
#

Oh my god

leaden comet
#

@rugged root lol dude

rugged root
#

I'm an idiot

gloomy tundra
#

iu

leaden comet
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @gloomy tundra until 2020-11-05 18:20 (6 days and 23 hours).

pastel lance
#
def GGGGotate(lol):
    bit = lol << 1
    movebit = bit & 255
    if (lol > 127 ):
        movebit = movebit | 1
    return (movebit)
def main():
    value = input("Enter your value: ")
    ListMoveBit = []
    Index_Move_bit = 1
    Index_Value = 0
    ORD_value = []
    ORD_key = []
    Under_10 = []
    Index_star = 0
    Final_encrypted = ""
    Passs = []
    List_values_back = []
    Uncrypt = []
    for i in value:
        ORD_value.append(ord(i))
    a = ord("a")
    ORD_key.append(a)
    lol = int(ORD_key[0]) ^ int(ORD_value[0])
    ListMoveBit.append(GGGGotate(lol))
    for chars in ORD_value:
        if Index_Value == 0:
            Index_Value += 1
            pass
        else:
            lol = int(ListMoveBit[Index_Value-1]) ^ int(chars)
            ListMoveBit.append(GGGGotate(lol))
            Index_Value += 1
    for i in ListMoveBit:
        Under_10.append("0")
    for i in ListMoveBit:
        if (i < 9):
            Under_10[Index_star] = "1"
        Index_star += 1
    for i in ListMoveBit:
        x = hex(i)
        val = x[2:]
        if(i > 9) and (i < 16):
            Final_encrypted = Final_encrypted + "0" + val
        else:
            if (i<10):
                Final_encrypted = Final_encrypted +"0"+val
            else:
                Final_encrypted = Final_encrypted + val
    print("\nThe encrypted message is:")
    print(Final_encrypted + "\n")
if __name__ == '__main__':
    main()
rugged root
#

My kingdom for a DisplayPort to HDMI cable

amber raptor
#

really?

#

because I got one

leaden comet
#

the problem is

#

hemlock doesn't actually have a kingdom

tiny seal
#

uff

amber raptor
#

Horray meeting!

#

I've also got mDP to HDMI

rugged root
#

Man

#

I never have enough cables and adapters here

#

Like I could have 5 of each and I feel like it wouldn't be enough

leaden comet
faint ermine
#

oh

amber raptor
#

problem is you get 5 and then you give them away and company won't let you replace them

leaden comet
#

I always get a little excited when I remember that lambda ฮป is legal

rugged root
#

As it should be

#

@amber raptor Thankfully they're pretty okay with me getting more tools

#

They trust me

#

MWWWAAAAAHAHAHAHA

amber raptor
#

god weather sucks

leaden comet
#

atheist weather sucks too.

rugged root
#

Knew it

#

Knew it was going there

amber raptor
#

but no, the weather is crappy

#

we are getting remains of Hurricane Zeta

rugged root
#

Just get one of these

#

I love these adapters, by the way

#

Like... even if you have a 3.5 jack

amber raptor
#

It's like you are a Mac user

rugged root
#

You say that but it's so good

#

It's the only reason this crappy gas station mic is tolerable

whole bear
#

Hi guys

#

@olive hedge Wait you sing?

#

nvm

#

Hi hemlock

#

Come on sing me a song

#

Lol

rugged root
wraith eagle
#

Ah i see

#

Alright i need a bit more messages sent i think :)

tiny seal
#

bass solo king

wraith eagle
#

@olive hedge Where should i start for penetration testing sad

#

oooh

#

i see

#

sorry

#

alright

rugged root
#

Back later

#

Feel like a chicken with my head cut off

#

Too much rushing around

olive hedge
#

I feel like a chicken that has long since been frozen and is just sitting there in the frozen foods isle, waiting to be chosen ๐Ÿ˜ญ

rugged root
#

YOU HAVE BEEN CHOSEN to be eaten

wraith eagle
#

haha

#

ofc im using my nitro

#

@olive hedge no you're not a furry but you're a animal lover ahahahaha

#

ill be back my doordash is here

#

B)

stuck furnace
#

You know the gas generator of the F1 rocket engine was more powerful than an F16 at full throttle.

#

That's the engine that powers the fuel pump.

#

@olive hedge

#

And the Saturn V had five of these.

#

...but rockets are cooler ๐Ÿ˜„

#

See ya

wraith eagle
#

its dead silence in this call-

#

someone help

#

;-;

rugged root
#

Help with what?

wraith eagle
#

ah i dont mean it as in help

#

it is just very very silent

rugged root
#

Ah, fair enough

wraith eagle
#

unsettling

#

:)

#

bruh-

#

is he dumb

#

only do this in a controlled enviorment

#

please-

rugged root
#

@tidal salmon Can you hear us

#

We can hear you

#

Even selecting it in Discord?

#

@wraith eagle So what're you up to?

wraith eagle
#

im learning more about rule 5

#

apologys sir i cant speak much about it

#

or ill get in trouble :D

rugged root
#

That's.... encouraging

wraith eagle
#

encouraging as in ?

rugged root
#

I was being mildly sarcastic

wraith eagle
#

ah i see

#

sarcasm or understanding sarcasm is not my strong suit

rugged root
#

Fair enough

wraith eagle
#

well im just learning about malicous code in general yk

amber raptor
rugged root
#

@wraith eagle Like for.... actual use?

wraith eagle
#

NO

#

NONONONNONO

#

oml

#

i didnt mean it like that

rugged root
#

I mean I feel like that's a fair question

wraith eagle
#

just for learning

#

lol

#

Apologys

rugged root
#

If you want to talk concepts and stuff like that you might want to check out #cybersecurity

wraith eagle
#

okay

stuck furnace
#

For sure I think Google's dominance of the search market is bad for consumers.

wraith eagle
#

ofc it is

#

i think a uhm

#

person named mutahar was speaking about this

#

in one of his videos

stuck furnace
#

If only because it stifles innovation.

wraith eagle
#

it takes up 90% if i am correct

stuck furnace
#

There's loads of interesting stuff in the field of information retrieval.

#

Not being implemented anywhere on a large scale.

whole bear
#

@wraith eagle he put his house in fire for a single video

wraith eagle
#

Mutahar Anas ? @whole bear

whole bear
#

who is that

wraith eagle
#

nvm

whole bear
#

i'm talking about the video u posted

wraith eagle
#

Ah

#

LOL

#

apologys

#

i thought we were on a different subject

whole bear
#

Lol

wraith eagle
#

but ye he lit his shit on fire

whole bear
#

yeah he thought he had superpower

#

๐Ÿ˜‚

wraith eagle
#

๐Ÿคฃ

#

famous last anime character words

#

"i got superpowers bitch"

whole bear
#

Lol

wraith eagle
#

i have something funny

whole bear
#

rabbit woah she crashed and burn

distant shuttle
#

i had an off topic question if y'all dont mind

wraith eagle
#

its a youtube vid tho

#

oh sure

whole bear
#

h sure

#

too much money make them crazy

wraith eagle
#

LOL

#

its funny

#

watch it

whole bear
#

i saw that

wraith eagle
#

.

#

:(

#

this is gonna be amazing crashes

#

no

#

no

whole bear
#

i'm getting information from rabbit

wraith eagle
#

politics = dog shit

#

excuse my language btw

distant shuttle
#

okay no prob lmao

rugged root
#

Language is fine so long as it's not like every word

whole bear
#

Hi hemlock

#

How is going

rugged root
#

Heyo. I'm doing well, 'bout you

whole bear
#

great

#

learning about security threats, how to prevent it

rugged root
#

Sure sure

whole bear
#

very interesting

wraith eagle
#

ofc

#

its amazing

whole bear
#

damn

#

crashed ,burned hearing alot

#

@rugged root Are u working on a project now?

tidal salmon
#

F (for the guy who played Robby Rotten)

amber raptor
tiny seal
#

Dan Schneider

rugged root
#

@whole bear Sort of. Mainly messing around while I work

#

And I keep having co-workers coming in to talk to me

#

It's normally not this busy

tropic ice
stuck furnace
#

Hey there are some good shows on Apple TV

#

The Morning Show was pretty good

#

I tried apple music, and it was not great.

#

Just very very slow on desktop.

#

Really good playlists though.

tropic ice
#

Its good if u have apple watch

#

cuz u can just go to the gym without ur phone

#

compared to spotify

#

๐Ÿ˜ฆ

stuck furnace
#

Probably have to if you get repetitive strain injury

#

Esperanto was fairly successful ๐Ÿ˜„

#

Designed by a... eye doctor guy.

#

Opthalmologist!

cyan quartz
#

cuties is a bad example imo

#

making a movie about how animal abuse is bad where you also abuse animals on camera is a bad idea

#

cuties was filmed really grossly

#

but if i made a video about how whaling is bad, then our camera crew went out and killed 30 whales i think that isn't helping

#

i just dont think there was any point in sexualizing children like that

#

yeah but they could have done a documentary covering what pagents or whatever are like

#

i have two girls so im probably more sensitive

tiny seal
#

we've been spooked

stuck furnace
#

Disney do some insane research actually.

stuck furnace
#

I've always loved the Firefox logo

rugged root
#

@sharp ferry Responding to you here since it's easier to point you to the right place. We instituted a voice gate. Check out #voice-verification and that should let you know what it's all about

stuck furnace
#

Google something...

rugged root
#

That's what it reminds me of

#

!projects

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.

amber raptor
stuck furnace
#

What does the pinwheel represent?

amber raptor
#

CamelCase

stuck furnace
#

CamelCase

#

jinx ๐Ÿ˜„

#

Why? ๐Ÿ˜„

rugged root
#

!resources @sharp ferry Check out our neat resources on here. For starting out, we usually suggest 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.

stuck furnace
#

No I mean, why represent chat with a pinwheel?

candid venture
stuck furnace
#

Oh, no I meant this one:

tropic ice
#

what was that before

amber raptor
tropic ice
candid venture
#
def __init__(self, name, age, height= 180, weight = 60, ) -> None:
amber raptor
tropic ice
#

didnt know they had todo list

amber raptor
#

!e ```python
class Test():
def init(self,name:str, age:int = None) -> None:
self.name = name
if age is None:
self.age = 21
else:
self.age = age

a = Test('Rabbit')
b = Test('Hemlock', 40)
print(a)
print(b)```

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

001 | <__main__.Test object at 0x7f2ecf0bd9d0>
002 | <__main__.Test object at 0x7f2ecf0319d0>
amber raptor
stuck furnace
#

Sorry, what are we talking about? I wasn't listening.

amber raptor
#

!e ```python
class Test():
def init(self,name:str, age:int = None) -> None:
self.name = name
if age is None:
age = 21
self.age = age

a = Test('Rabbit')
b = Test('Hemlock', 40)
print(a.age)
print(b.age)```

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

001 | 21
002 | 40
stuck furnace
#

Mutable default arguments?

amber raptor
#

!e python a = 1 b = a a = 2 print(a) print(b)

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

001 | 2
002 | 1
stuck furnace
#

Well, every variable is a reference in python

#

And all data takes the form of an object.

#

Ah, only if the default is mutable.

#

This is fine:

#
class Test:
  def __init__(self,name: str, age: int = 21) -> None:
    self.name = name
    self.age = age
#

I can lemon_smug

tropic ice
amber raptor
#

!e python

stuck furnace
#

Would you like me to do it for you? ๐Ÿ˜„

candid venture
stuck furnace
#

Yeah, non-staff members can't evaluate in voice chat.

amber raptor
#

!e ```python
class Test(x=[]):
self.x = x

one=Test()
two=Test()

one.x.append("object")

print(one.x)
print(two.x)```

wise cargoBOT
#

@amber raptor :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 2, in Test
004 | NameError: name 'x' is not defined
candid venture
#

!e

print("Hello")
wise cargoBOT
#

@candid venture :white_check_mark: Your eval job has completed with return code 0.

Hello
candid venture
stuck furnace
#

Oh wait, they can?

tropic ice
#

hello

stuck furnace
#

Ahhh

amber raptor
#

771483627934187594

stuck furnace
#

Probably sensible.

candid venture
#
class face:
    def __init__(self, eyes, nose, hair, skull, mouth, ears) -> None:
        self.eyes = eyes
        self.nose = nose
        self.hair = hair
        self.skull = skull
        self.mouth = mouth
        self.ears = ears


class body:
    def __init__(self, length, width, height, weight) -> None:
        self.length = length
        self.width = width
        self.height = height


class Character:
    def __init__(self, name, age, face_preset, body_preset) -> None:
        self.name = name
        self.age = age
        self.face_preset = face_preset
        self.body_preset = face_preset
tiny seal
#

!e ```py
class Test():
def init(self, x=[]):
self.x = x

one = Test()
two = Test()

one.x.append("object")

print(one.x)
print(two.x)

wise cargoBOT
#

@tiny seal :white_check_mark: Your eval job has completed with return code 0.

001 | ['object']
002 | ['object']
candid venture
#
class Character:
    class body:
        def __init__(self, length, width, height, weight) -> None:
            self.length = length
            self.width = width
            self.height = height
    class face:
        def __init__(self, eyes, nose, hair, skull, mouth, ears) -> None:
            self.eyes = eyes
            self.nose = nose
            self.hair = hair
            self.skull = skull
            self.mouth = mouth
            self.ears = ears
    def __init__(self, name, age, face_preset, body_preset) -> None:
        self.name = name
        self.age = age
        self.face_preset = face_preset
        self.body_preset = body_preset
amber raptor
#

!e ```python
class Test():
class Test1():
def init(self,age):
self.age = age

def init(self,name,age):
self.age = self.Test1(age=age)
self.name = name

Test('Hemlock',40)
print(Test.name)
print(Test.age.age)```

feral crown
#
class Test():
    def __init__(self, x=None):
        if x is None:
            self._x = []
        else:
           self._x = x
    def append(self, thing):
        self._x.append(thing)


one = Test()
two = Test()

one.x.append("object")

print(one.x)
print(two.x)
#

Try

wise cargoBOT
#

@amber raptor :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 11, in <module>
003 | AttributeError: type object 'Test' has no attribute 'name'
feral crown
#

!e

class Test():
    def __init__(self, x=None):
        if x is None:
            self._x = []
        else:
           self._x = x
    def append(self, thing):
        self._x.append(thing)


one = Test()
two = Test()

one.x.append("object")

print(one.x)
print(two.x)
wise cargoBOT
#

@feral crown :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 14, in <module>
003 | AttributeError: 'Test' object has no attribute 'x'
feral crown
#

hmm

#

class Test():
def init(self, x=None):
if x is None:
self._x = []
else:
self._x = x
def append(self, thing):
self._x.append(thing)

one = Test()
two = Test()

one.x.append("object")

print(one.x)
print(two.x)

#
class Test():
    def __init__(self, x=None):
        if x is None:
            self._x = []
        else:
           self._x = x
    @property
    def x(self): return self._x

one = Test()
two = Test()

one.x.append("object")

print(one.x)
print(two.x)
candid venture
#

face

feral crown
#

!e

class Test():
    def __init__(self, x=None):
        if x is None:
            self._x = []
        else:
           self._x = x
    @property
    def x(self):
        return self._x

one = Test()
two = Test()

one.x.append("object")

print(one.x)
print(two.x)
```
wise cargoBOT
#

@feral crown :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     `python
003 |     ^
004 | SyntaxError: invalid syntax
feral crown
#

!e

class Test():
    def __init__(self, x=None):
        if x is None:
            self._x = []
        else:
           self._x = x
    @property
    def x(self):
        return self._x

one = Test()
two = Test()

one.x.append("object")

print(one.x)
print(two.x)
wise cargoBOT
#

@feral crown :white_check_mark: Your eval job has completed with return code 0.

001 | ['object']
002 | []
feral crown
#

Yay

#

Oh

#

Ye

#

Speed doesn't matter though

stuck furnace
#

Yeah, for a cache for example.

feral crown
#

Truee

#

See that

#

This feature can be useful. When you have a function thatโ€™s time-consuming to compute, a common technique is to cache the parameters and the resulting value of each call to the function, and return the cached value if the same value is requested again. This is called โ€œmemoizingโ€, and can be implemented like this:

# Callers can only provide two parameters and optionally pass _cache by keyword
def expensive(arg1, arg2, *, _cache={}):
    if (arg1, arg2) in _cache:
        return _cache[(arg1, arg2)]

    # Calculate the value
    result = ... expensive computation ...
    _cache[(arg1, arg2)] = result           # Store result in the cache
    return result

You could use a global variable containing a dictionary instead of the default value; itโ€™s a matter of taste.

#

:D

stuck furnace
#
def fib(n, cache=dict()):
    if n in (0, 1):
        return n
    if n not in cache:
        cache[n] = fib(n-1) + fib(n-2)
    return cache[n]
feral crown
#

Big cache

stuck furnace
#

True ๐Ÿ˜„

#

I think the state of my computer is an indication that I should go to sleep:

#

I should really learn to close windows...

#

MacOS ๐Ÿ˜„

#

I have Ubuntu on my other computer ๐Ÿ˜„

#

Even tried i3

feral crown
#
def fib(n: int, _cache=dict()) -> int:
    if n in _cache:
        return _cache[n]
    else:
        _cache = {n:n * fib(n - 1)}
    if n in {0, 1}:
        return n
    return _cache[n]
stuck furnace
#

I have to agree Rabbit, I do like macs because they're pretty

feral crown
#

ikr

stuck furnace
#

MacBook Air going strong for 7 years now

#

One thing I've never been able to find is a good trackpad on a non apple laptop.

#

In the middle of a line?

#

Yeah, you can use a multiline string as a comment, but no one does.

#

Hey Hemlock ๐Ÿ˜„

#

Sorry I derailed that discussion

candid venture
stuck furnace
#

So, is a mixin like an interface?

feral crown
#

Yeah, you can use a multiline string as a comment, but no one does.
@stuck furnace
My friend KomodoKode (On GitHub) does

#

;-;

#

@candid venture, that atom?

#

๐Ÿ˜„

#

what package for the directory thing

stuck furnace
#

I suppose it helps that it's basically solid aluminium.

#

Which is a good conductor.

candid venture
#

@Olivia Newton-John, that atom?
@feral crown
vscode with vaporwave theme

stuck furnace
#

I have this aluminium plate for defrosting food. It's honestly amazing how quickly it transfers heat.

candid venture
#

i change a theme for each project depends on my dev mood

stuck furnace
#

I've got an extra long charging cable

#

Just so I can use my phone in bed ๐Ÿ˜„

#

I know

#

A little bit

#

It's not bad. Like background noise at a cafe.

#

@candid venture

#

I heard that people who work at libraries end up memorising ISBN numbers

#

@rugged root Mad Max

#

Although I haven't seen it

#

The bowls are always the worst part of loading the dishwasher.

candid venture
stuck furnace
#

Sorry Rabbit, talking to someone in DMs

#

I think I'm really annoying everyone by typing in the voice chat all the time ๐Ÿ˜„

#

Should use my microphone in future...

#

Yo

#

Nah, you'll never finish learning all of python.

rugged root
#

@whole bear If you're wondering why you can't talk, take a look at the #voice-verification channel

gentle flint
#

Should use my microphone in future...
@stuck furnace most definitely you should

stuck furnace
#

Yep

#

Like a bond car?

#

It was originally the 'European Coal and Steel Community'

#

Weirdly

gentle flint
stuck furnace
#

Butter ๐Ÿ˜„

gentle flint
stuck furnace
#

I"m just imagining a river of melted butter

#

pouring out of a car.

gentle flint
#

no, no
the cars for the big transports

#

ladies for the small stuff

rugged root
#

I'm heading out. I'll see you guys tomorrow!

tiny seal
#

bye

gentle flint
#

cya hemlock

stuck furnace
#

Seeya

#

I gtg aswell

#

I've just been here the last two days pretty much.

#

Anyway, see ya

severe elm
#

yo @fiery hearth wassup

#

hey @red swan

#

my headset broke today, i cant talk

#

normally i'm tlaking

atomic edge
#

hi

#

sorry mic trash so I wont talk

severe elm
#

hahahahah

#

same here

atomic edge
#

ordered one on amaON

severe elm
#

trash shit

#

i'll go buy one from the store tomorrow

atomic edge
#

lol I recommend fifine usb k669 or t669

#

same sound quality

severe elm
#

let me look it up

atomic edge
#

worse design as blue yeti

#

but if you're just looking for sound

severe elm
#

bro thats a singing mic

atomic edge
#

than I think that's enough.

#

its advertised as it

severe elm
#

w8 let me actually open the description

#

i'm learning

#

"distance" from naruto tbh

#

to sing in karaoke

atomic edge
#

again that can be any mic

#

and also send link

severe elm
#

i should acutally get a good one

atomic edge
#

ok can you send link

severe elm
#

do you mean me?

#

oh

atomic edge
#

yes

severe elm
#

nah i dont have a link

#

bro

#

i havent even looked up one

atomic edge
#

its a good mi

#

so ye no I don't know what you're talking about.

severe elm
#

alright copy/paste->saved

atomic edge
#

the kit

#

is 60

#

the mic

severe elm
#

i'll ask for it tomorrow in the store

atomic edge
#

30

#

ikr

#

also they dont come in stores

severe elm
#

i dont even have money right now

atomic edge
#

amazon and some other ones

#

well just saying I'm saving oyu a couple months of research

#

I don't think so

severe elm
#

yo are you guys webdevs?

#

dont oyu need js for react

#

oh you know js

#

and started learning python

#

ah i see

#

cool

#

yeah thats cool man

#

i'll learn react in january

#

i'm too busy noew

#

what about you heyo?

atomic edge
#

?

atomic edge
#

LOL

severe elm
#

are you a webdev?

atomic edge
#

no

severe elm
#

ahmad you are from UEA

#

UAE

#

ah

#

no

#

i run just django right now

past elk
severe elm
#

@heavy nacelle if you can w8 for a answer, i can send you invite for django server

#

i can feel you

atomic edge
#

yeee

#

i feel u

severe elm
#

you are soft as a sponge

atomic edge
#

;)

heavy nacelle
#

F

severe elm
#

but you have probably have to w8 a bit for the answer thou

atomic edge
#

F

#

no hes lyin

heavy nacelle
#

F

atomic edge
#

10000000000%

#

yea

#

yea

#

welcome to corona

severe elm
atomic edge
#

ok so

#

the highest price of the kit

#

is 70

#

60 being lowest

#

er 50

severe elm
atomic edge
#

and 60 is middle

severe elm
#

look at the right one

atomic edge
#

the mic itself

severe elm
#

30 +shipping

atomic edge
#

is 30

#

all in dollar

severe elm
#

for me

#

i also need one

#

he/she recommended it

#

write it in here

#

like i would remember that name

heavy nacelle
#

rode nt usb mini

severe elm
#

who do you think i am

heavy nacelle
#

lol, can you remember the name iphone?

severe elm
#

out of my budget class

#

jsut the mik starts at 100โ‚ฌ

#

yeah send me

#

send me donation

#

just kidding

#

paycheck will come next week

#

yo i'll go to sleep guys

#

@atomic edge i'll definetly have a look at that mic tom

#

00:30 am

atomic edge
#

I cant hear sound

#

so beaware

severe elm
#

lol

#

you should also deafen yourself then

#

i thought you can hear us

#

i mean ahmad, i can ttalk

#

aight see ya

fiery hearth
#

@severe elm sorry kimchi I was sleeping

past elk
somber heath
#

Minecraft ๐Ÿ˜

past elk
#

drunk minecraft*

whole bear
#
if "%~2"=="-r" (
    set "AutoRun=1"
) else (
    if "%~3"=="-r" (
        set "AutoRun=1"
    ) else (
        set "AutoRun=0"
    )
) else (
    set "AutoRun=0"
)

if "%~2"=="-d" (
    set "AutoDelete=1"
) else (
    if "%~3"=="-d" (
        set "AutoDelete=1"
    ) else (
        set "AutoDelete=0"
    )
) else (
    set "AutoDelete=0"
)

dose this code look neat?

somber heath
#

Looks a bit difficult to read.

fiery hearth
#

Under that is a selection of whether you want a console window to appear or not. Simply if you are developing a GUI application or something that doesn't need the console to appear, use "Window Based". If you do want the console to appear, keep "Console Based Selected" but keep in mind that the script needs to block somewhere otherwise execution will end and the terminal will disappear immediately; a workaround for this is to put input() at the end of the script to hold execution until input is provided.

past elk
somber heath
#
import math
def magnitude(p,q):
    return math.sqrt(sum((b-a)**2 for a,b in zip(p,q)))```
#
    a = xy2[0] - xy1[0]
    b = xy2[1] - xy1[1]
    c = (a**2) + (b**2)
    d = math.sqrt(c)
    return d```
#
    a = xyz2[0] - xyz1[0]
    b = xyz2[1] - xyz1[1]
    c = xyz2[2] - xyz1[2]
    d = (a**2) + (b**2) + (c**2)
    e = math.sqrt(d)
    return e```
past elk
#

->-----x-----

->
dx = 5

#

dy = 2

whole bear
#

anyone mind helping me understand base 10 and base 256?

somber heath
#
bytes([12,34,80,255,255,0,0])```
#

b'\x0c"P\xff\xff\x00\x00'

#

Multiply each byte value by its column, one for the ones column (rightmost), 256 for the 256 column, 65536 for the 65536s column, then add everything up to get the total result.

#

So think of base 10.
78. You've got 8 in the ones column, so you multiply that by 8. You've got 7 in the tens, so you multiply by 10 to get 70. 70 + 8...78. @whole bear

#

int('11111111', base=2) == 255

#

int('FF', base=16) == 255

#

F (base 16, hexadecimal) being 15 (base 10, decimal). 0123456789ABCDEF in hex and 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 in equivalent decimal.

#

So 256...you just use the decimal values...bytes...instead of exclusively substituting only letters

#

So any representation would pretty much be unprintable garbage unless encoded, like what b'' strings can look like.

#

Or printed as a list of byte values in decimal representation

#

[10,38,255,0,67]

#
a=0
while True:
    a += 1
    print(a)```
gentle flint
#

:wq

whole bear
gentle flint
#

@whole bear congratulations on mastering the Chinese language

whole bear
#

gun gun ging gang

gentle flint
whole bear
faint ermine
gentle flint
#

lol

gentle flint
#

that is actually cool

whole bear
winter niche
#

I have a question

#

There is a channel that can teach me how to script from basics?

vestal mason
#

@winter niche not a channel, but this is a great place to start

#
#

its one of the only classes I have found for free being taught by professionals that start off with python, and not java

winter niche
#

Thanks ๐Ÿ˜„

vestal mason
#

@winter niche no problem, I am only up to lecture 15, but just hearing a professor talk about programming in python made the tutorials and quick learning things I do online make sense

somber heath
fiery hearth
#

1

gentle flint
thick barn
severe elm
#

i'll switch to my own server guys, see ya later for sure,
have fun working on your projects ^^

rugged root
#
The Offspring - Change the World
Bad Religion - Hear It
Bad Religion - Inner Logic
Bad Religion - Ten in 2010
Bad Religion - Them and Us
The Offspring - Way Down the Line
The Offspring - All I Want
#

@primal tendon If you're wondering why you can't talk in VC, check out the #voice-verification channel. That should tell you what you need to know

tall parrot
#

@silver apex

somber heath
rugged root
swift valley
#

Evening

pliant atlas
#

hey guys

buoyant topaz
#

supppp

#

recurr. is based on tower of hanoi

#

explained

#

not based

#

my bad

#

but size also matters

#

yss

#

rec. can be hard in complex problem

#

better go for loops

#

i agree

#

single line code

#

is list com.

somber heath
#
    for i in range(10):
        yield i
    print('gen exit')

for each in gen():
    print(each)

#vs

def notgen():
    returns = []
    for i in range(10):
        returns.append(i)
    print('notgen exit')
    return returns

for each in notgen():
    print(each)
buoyant topaz
#

next fn is also used?

whole bear
#

Next is deprecated

buoyant topaz
#

nooooooooooo

faint ermine
#

Next is deprecated
@whole bear no

buoyant topaz
#

deprecated= waste

faint ermine
#

3.9 docs dont mention deprecation

buoyant topaz
#

yss

rugged root
faint ermine
#

3.10 docs dont mention deprecation either

#

next is not deprecated

#

@whole bear hey

whole bear
#

o/

buoyant topaz
#

how to check no of msg cause am still not able to speak

faint ermine
whole bear
#

Why you cant speak

buoyant topaz
#

cause of limit

rugged root
#

That'll tell you what you need to know

buoyant topaz
#

i knoww

#

a lott of dm occur

pliant atlas
#

did u guys implement it?

faint ermine
#

!bot

buoyant topaz
#

yss u can

#

lol

rugged root
#

!source

wise cargoBOT
faint ermine
#

!repo

rugged root
#

!source site

wise cargoBOT
#
Command: site

Commands for getting info about our website.

Source Code
buoyant topaz
#

lool

haughty idol
#

git branch <branch-name> ?

rugged root
buoyant topaz
#

they r trying to be more interactive i guess

#

kk