#voice-chat-text-0
1 messages ยท Page 659 of 1
someone here works as a python developer?
and what you think about python certifications like this one?
Wheeee time to take a break and go grocery shopping
@faint ermine what was that
nah i can't, it looks lame without the animations
time to switch to mobile lol
alright i'm leaving guys, tbh i just joined to see hemlock and tell him that i'm his friend
see ya pythoneers
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...
That's fine
@whole bear #voice-verification You'll want to take a look at that channel
lmao my pc is still making sounds when people connect or disconnect from the channel
Yes I can see it
oh ok thanks
im sorry i just need help with a project lol
ok thank u
o/
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
!pase
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.
lol
Hey @stiff granite!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
seconds = input('Give a number. >')
seconds = int(seconds)```
try except while
break
seconds = input('Give a number. >')
seconds = int(seconds) #int('30')
timer = 30
str.isnumeric
.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.
type()
type('vfd') == str
'5'.isnumeric() is True
'Ni!'.isnumeric() is False```
continue
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')
U can check for seconds being a not numeric in the while statement
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')
U can check for seconds being a not numeric in the while statement
@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)
print("
Decimal number")
x = int(input())
y=""
print("Binary number")
while x>0:
y=str(x%2)+y
x//=2
print(y)
@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.
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```
for y in range(int(scaley)):
for x in range(int(scalex)):
pxl[x,y] = px[x * (width/scalex),y * (height/scaley)]```
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```
โ โ โ
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")
a = lambda text: print(lambda: text)
a("yes")
python
b = True
if b:
print('Yes')```
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")
Guys @somber heath @past elk Care to move?
?
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
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")
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.
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)
@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!
Sorcery!
Class ellipsis. Pffff.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
dictcomps
iterate-dict
!codeblock
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.
!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!*
!e print("hello")
@frozen oasis :white_check_mark: Your eval job has completed with return code 0.
hello
Help im getting an error and I dont know why
its saying "list indices must be integers or slices, not float"
hello?
!e print("hello")
@whole bear :white_check_mark: Your eval job has completed with return code 0.
hello
!e
em = discord.Embed(title = 'COMMANDS')
await ctx.channel.send(embed=em)
@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
hacking is wrong
@whole bear ethical hacking is a thing
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
its a bit of a stupid name then
eh
those help company avoid sercuirty risks
ya
wtf they're all russian lol
huh ๐
are these good people?
no there on a wanted list ๐
that is messed up
yep
is russia better than the us at anything?
they beat the us into space
decompose you mean?
ye
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
but arent there like billions of bacteria on your body
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?
nicee
blu
macro can you delete the screens of my homepage
biznis
i have a zoom meeting, will be back later guys
Well, if anywhere is going to have good structural engineering where it concerns water...
eww
font-gang
it's a small
family business
Buy Bust Your Knee Caps on iTunes :
https://itunes.apple.com/album/hey-its-pomplamoose/id531902468
or the The Everything Package direct from us
http://bit.ly/EverythingPomplamoose
Lyrics:
Jonny don't leave me,
You said you'd love me forever.
Honey believe me,
I'll have your ...
exactly
while True:
answer = input('Enter something containing the letter "b".')
if 'b' in answer:
break```
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()
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
Morning, hope yโall doing great
I am doing well. Thank you for asking @fickle fossil. Hope your day is off to a good start
It is! Thanks! ๐
LICENSE
!source
Can sm1 explain me how exactly splay trees work
I'm honestly not sure. #algos-and-data-structs might be able to help, I think
@whole bear nie mozna gadac
@bold dust @whole bear Check out #voice-verification if you're wondering why you can't talk in the voice chat
@pallid garnet i think i've seen u here? not sure
@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 ๐
๐ yep
You have a great memory!
@pliant atlas It's going alright. Still need to put in some more practice
x = "4"
y = int(x)
return lambda a : a * n
mydoubler = myfunc(2)
print(mydoubler(11))```
Will this code word?
work*
Should
!e
def myfunc(n):
return lambda a : a * n
mydoubler = myfunc(2)
print(mydoubler(11))
@rugged root :white_check_mark: Your eval job has completed with return code 0.
22
@jovial meadow #data-science-and-ml
@last lodge 3 days and 50 messages (or more). That's about a regular conversation
oh ok
Hey peeps how's it going?
Doing well, you?
webrtc also have python version !!
i guess wrapper
aiortc is a python implementation of webrtc
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 ?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
DOESNT MATTER WHAT FUCKING CONTEXT! FUCKING FREE SHIT
THANK YOU SO MUCH! THIS IS AMAZING! @candid venture Incredibly kind of you
any specific framework javascript to start with WebSocket ?
@rugged root @amber raptor
THANK YOU SO MUCH! THIS IS AMAZING!
@Olivia Newton-JohnIncredibly kind of you
@pallid garnet Enjoy
Sharing is caring! @rugged root
(i mean marxism)
@haughty idol
i suggest you see the link i sent above, alot of free courses including python for begginers
so if i want something like chat box or something then rest will close the connection everytime or how would it work ?
it says they cost tho
https://www.freecodecamp.org/news/rest-api-tutorial-rest-client-rest-service-and-api-calls-explained-with-code-examples/
@tropic ice will go through that thanks
are they free forever @candid venture
It's like Christmas in there. Okay, actually heading out on deliveries. Should less than an hour.
LOL
LMAO
Joining in a bit
How do we convert the py script into an exe file?
Most of them will trip AV as FYI
@somber heath is pyauto a seperate software or package?
I don't know. I don't use it.
Who would know?
Google?
!e
def func():
#If this breaks things, I blame Hemlock.
try:
func()
except RecursionError:
func()
func()
@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
Thanks @rugged root @somber heath
!e
def func():
#If this breaks things, I blame Hemlock.
try:
func()
except RecursionError:
func()
func()
@somber heath
lol ๐คฃ
It won't. @wise cargo will still be able to bring up another box
!e print("Isn't that right, buddy?")
@rugged root :white_check_mark: Your eval job has completed with return code 0.
Isn't that right, buddy?
Mm. New invocation per ! command?
!e
a = ' '
while True:
a *= 2
@somber heath :warning: Your eval job timed out or ran out of memory.
[No output]
@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
!e import numpy
@faint ermine :warning: Your eval job has completed with return code 0.
[No output]
!e import pandas
@faint ermine :warning: Your eval job has completed with return code 0.
[No output]
!e import tensorflow
@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'
!e discord.py
@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
It's not ptt force. It's the voice gate.
Check the voice-verification channel for the details.
its nice to talk to you all
I have to leave now
bye bye enjoyed a lot
@haughty idol ta ta
https://youtu.be/EkwD5rQ-_d4 In reference to my stuffing joke
Music video by The Toadies performing Possum Kingdom. (C) 1994 Interscope Records
#TheToadies #PossumKingdom #Vevo
By stuffing I meant taxidermy
Uncle Lmao ๐
@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
we can have some voice chat moderators?
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.
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"
I am so sorry GUYSS!!!
OMG ๐ฎ
@rugged root
My apologies, I am doing my assignment with my class mate
It happens, no need to fret
Thank you ๐
does anyone in here have experience with scikit image?
!codeblocks
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.
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'```
r = requests.post("https://snekbox.yadamiel.com/eval", json={"input":"print(1)"})
404
Not found
sorry was down i was changing configs
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
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
lOl
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
I know that they're using ORD and hex to create the encryption
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
!e
print(' @rugged root ' + "hello ")
import os
os.system('pip freeze')
@candid venture :white_check_mark: Your eval job has completed with return code 0.
<@โ!98195144192331776> hello
!e
print(os.system('pip freeze'))
@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
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
!e
import os
print(os.system('pip freeze'))
@candid venture :white_check_mark: Your eval job has completed with return code 0.
-1
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.0vv
OpP
!e
print("t")
@pastel lance :white_check_mark: Your eval job has completed with return code 0.
t
no shit
Did VC die or is that just me
!e print ("adsghsikdh")
@gloomy tundra :white_check_mark: Your eval job has completed with return code 0.
adsghsikdh
@rugged root you deafend
Oh my god
@rugged root lol dude
I'm an idiot
iu
!tempmute @gloomy tundra 1w spamming garbage in #voice-chat-text-0 is not okay.
:incoming_envelope: :ok_hand: applied mute to @gloomy tundra until 2020-11-05 18:20 (6 days and 23 hours).
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()
My kingdom for a DisplayPort to HDMI cable
uff
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
the code above reminded me of something I wrote for Code Jam 2
https://gist.github.com/lemonsaurus/b80c6eeaec715d209feb8dc063c497c9
oh
problem is you get 5 and then you give them away and company won't let you replace them
I always get a little excited when I remember that lambda ฮป is legal
As it should be
@amber raptor Thankfully they're pretty okay with me getting more tools
They trust me
MWWWAAAAAHAHAHAHA
god weather sucks
atheist weather sucks too.
Just get one of these
I love these adapters, by the way
Like... even if you have a 3.5 jack
It's like you are a Mac user
You say that but it's so good
It's the only reason this crappy gas station mic is tolerable
Hi guys
@olive hedge Wait you sing?
nvm
Hi hemlock
Come on sing me a song
Lol
@wraith eagle If you're wondering why you can't talk, check out #voice-verification
Provided to YouTube by Audiam (Label)
[Anesthesia] --Pulling Teeth ยท Metallica
Kill 'Em All
โ Blackened Recordings
Released on: 1983-07-25
Auto-generated by YouTube.
bass solo king
@olive hedge Where should i start for penetration testing 
oooh
i see
sorry
alright
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 ๐ญ
YOU HAVE BEEN CHOSEN to be eaten
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)
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
Help with what?
Ah, fair enough
unsettling
:)
bruh-
is he dumb
only do this in a controlled enviorment
please-
@tidal salmon Can you hear us
We can hear you
Even selecting it in Discord?
@wraith eagle So what're you up to?
im learning more about rule 5
apologys sir i cant speak much about it
or ill get in trouble :D
That's.... encouraging
encouraging as in ?
I was being mildly sarcastic
Fair enough
Atariยฎ returns to the living room with the Atari VCSโข โ a completely modern gaming and video computer system, blending the best of consoles and PCs to delight a whole new generation of gamers and creators.
well im just learning about malicous code in general yk
@wraith eagle Like for.... actual use?
I mean I feel like that's a fair question
If you want to talk concepts and stuff like that you might want to check out #cybersecurity
okay
For sure I think Google's dominance of the search market is bad for consumers.
ofc it is
i think a uhm
person named mutahar was speaking about this
in one of his videos
If only because it stifles innovation.
it takes up 90% if i am correct
There's loads of interesting stuff in the field of information retrieval.
Not being implemented anywhere on a large scale.
@wraith eagle he put his house in fire for a single video
Mutahar Anas ? @whole bear
who is that
nvm
i'm talking about the video u posted
Lol
but ye he lit his shit on fire
Lol
i have something funny
rabbit woah she crashed and burn
i had an off topic question if y'all dont mind
sad
Anime: New Game!!
Like and Subscribe if you crave more Animu content =w=
Comment below if you have any ideas for my next video!
Follow me on Twitter: https://twitter.com/eonisbuffering
(for my daily activities/...
LOL
its funny
watch it
i saw that
i'm getting information from rabbit
okay no prob lmao
Language is fine so long as it's not like every word
Heyo. I'm doing well, 'bout you
Sure sure
very interesting
F (for the guy who played Robby Rotten)
Dan Schneider
@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
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.
Its good if u have apple watch
cuz u can just go to the gym without ur phone
compared to spotify
๐ฆ
Probably have to if you get repetitive strain injury
Esperanto was fairly successful ๐
Designed by a... eye doctor guy.
Opthalmologist!
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
we've been spooked
Disney do some insane research actually.
Disney's new "Stuntronics" are flying stunt robots that perform acrobatic feats. How does the technology work? Could these bots be used in action movies, even replacing human stunt doubles? We spoke to top stuntman Bobby Holland Hanton to find out.
---------------------------...
I've always loved the Firefox logo
@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
Google something...
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.
What does the pinwheel represent?
CamelCase
!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
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
No I mean, why represent chat with a pinwheel?
def __init__(self, name, age, height= 180, weight = 60, ) -> None:
Here is Office365
didnt know they had todo list
!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)```
@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>
Sorry, what are we talking about? I wasn't listening.
!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)```
@amber raptor :white_check_mark: Your eval job has completed with return code 0.
001 | 21
002 | 40
Mutable default arguments?
!e python a = 1 b = a a = 2 print(a) print(b)
@amber raptor :white_check_mark: Your eval job has completed with return code 0.
001 | 2
002 | 1
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 

!e python
Would you like me to do it for you? ๐
Yeah, non-staff members can't evaluate in voice chat.
!e ```python
class Test(x=[]):
self.x = x
one=Test()
two=Test()
one.x.append("object")
print(one.x)
print(two.x)```
@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
!e
print("Hello")
@candid venture :white_check_mark: Your eval job has completed with return code 0.
Hello
Oh wait, they can?
hello
Ahhh
771483627934187594
Probably sensible.
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
!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)
@tiny seal :white_check_mark: Your eval job has completed with return code 0.
001 | ['object']
002 | ['object']
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
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
@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'
!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)
@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'
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)
face
!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)
```
@feral crown :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | `python
003 | ^
004 | SyntaxError: invalid syntax
!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)
@feral crown :white_check_mark: Your eval job has completed with return code 0.
001 | ['object']
002 | []
Yeah, for a cache for example.
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 resultYou could use a global variable containing a dictionary instead of the default value; itโs a matter of taste.
:D
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]
Big cache
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
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]
I have to agree Rabbit, I do like macs because they're pretty
ikr
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
So, is a mixin like an interface?
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
I suppose it helps that it's basically solid aluminium.
Which is a good conductor.
@Olivia Newton-John, that atom?
@feral crown
vscode with vaporwave theme
I have this aluminium plate for defrosting food. It's honestly amazing how quickly it transfers heat.
i change a theme for each project depends on my dev mood
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.
@rugged root
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.
@whole bear If you're wondering why you can't talk, take a look at the #voice-verification channel
Should use my microphone in future...
@stuck furnace most definitely you should
Yep
Like a bond car?
It was originally the 'European Coal and Steel Community'
Weirdly
Butter ๐
I'm heading out. I'll see you guys tomorrow!
bye
cya hemlock
Seeya
I gtg aswell
I've just been here the last two days pretty much.
Anyway, see ya
yo @fiery hearth wassup
hey @red swan
my headset broke today, i cant talk
normally i'm tlaking
ordered one on amaON
let me look it up
bro thats a singing mic
w8 let me actually open the description
i'm learning
"distance" from naruto tbh
to sing in karaoke
i should acutally get a good one
ok can you send link
yes
We test drive the Fifine T669 microphone, a great USB mic on a budget!
Available here: https://amzn.to/2vEdueQ
Subscribe to MetalSucks on YouTube: http://bit.ly/1lVGsJS
FOLLOW US:
Website: http://www.metalsucks.net
Facebook: https://ww...
its a good mi
so ye no I don't know what you're talking about.
alright copy/paste->saved
i'll ask for it tomorrow in the store
i dont even have money right now
amazon and some other ones
well just saying I'm saving oyu a couple months of research
I don't think so
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?
?
LOL
are you a webdev?
no
Wave interference pattern
@heavy nacelle if you can w8 for a answer, i can send you invite for django server
i can feel you
you are soft as a sponge
;)
F
but you have probably have to w8 a bit for the answer thou
F
and 60 is middle
look at the right one
the mic itself
30 +shipping
for me
i also need one
he/she recommended it
write it in here
like i would remember that name
rode nt usb mini
who do you think i am
lol, can you remember the name iphone?
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
lol
you should also deafen yourself then
i thought you can hear us
i mean ahmad, i can ttalk
aight see ya
@severe elm sorry kimchi I was sleeping
Minecraft ๐
drunk minecraft*
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?
Looks a bit difficult to read.
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.
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```
anyone mind helping me understand base 10 and base 256?
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)```
@whole bear congratulations on mastering the Chinese language
gun gun ging gang
lol
that is actually cool
@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
Thanks ๐
@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
Trans-ship Beaming https://imgur.com/gallery/pMy8CuC
1
Pilot Boarding Ship in Rough Weather
#PilotBoarding #PilotEmbarking #PilotDisembarking
Don't Forget to Subscribe Us
Like Facebook: https://www.facebook.com/MarineOnlineYoutube
Follow Twitter: https://twitter.com/MarineOnlineYou
Follow Google+ https://plus.google.com/1...
i'll switch to my own server guys, see ya later for sure,
have fun working on your projects ^^
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
@silver apex
https://i.imgur.com/bs9qeEQ.jpg Dame Edna
Evening
hey guys
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.
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)
next fn is also used?
Next is deprecated
nooooooooooo
Next is deprecated
@whole bear no
deprecated= waste
3.9 docs dont mention deprecation
yss
o/
how to check no of msg cause am still not able to speak
A guide to all the Magic Methods in Python
Why you cant speak
cause of limit
If you're wondering why you can't speak, check out the #voice-verification channel
That'll tell you what you need to know
did u guys implement it?
!bot
!source
!repo
!source site
Commands for getting info about our website.
lool
git branch <branch-name> ?
@whole bear Check out #voice-verification
