#voice-chat-text-0
1 messages · Page 614 of 1
Traceback (most recent call last):
File "C:\Users\nadav\Desktop\פייתון\hangman game.py", line 48, in <module>
main()
File "C:\Users\nadav\Desktop\פייתון\hangman game.py", line 45, in main
secret_word=choose_word(file_p,input("enter index "))
File "C:\Users\nadav\Desktop\פייתון\hangman game.py", line 6, in choose_word
text2=open(file_path,'r')
PermissionError: [Errno 13] Permission denied: 'C:\Users\nadav\Desktop'
while True:
i = 0
for _ in range(10):
chosenProxy = getProxy()
print(f'[INSTANCE {i} OPENED] with proxy {chosenProxy}')
future = executor.submit(methodToRun, i, chosenProxy)
executor.submit(threadTimeout, future)
time.sleep(1)
i += 1
print('Sleeping for 5 and a half mins')
time.sleep(330)```
def threadTimeout(thread):
thread.result(timeout = 300)```
If you want to become an expert in Python, you should definitely watch this PyData talk from James Powell.
EVENT: PyData, 2017
SPEAKER: James Powell
PERMISSIONS: Coding Tech received permissions from the Organizer to republish this video.
ORIGINAL SOURCE: https://www.yout...
@pearl ocean imagemagick
Hey @pearl ocean!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
hey
uk keyboard
us keyboard
ij
See scancodes, virtual keys, shift states and more for Dutch as defined in KBDNE.DLL.
§d 😏
¶
Help us make our next video by supporting us on Patreon! https://www.patreon.com/survivalguide
Thanks to our Patreons: Marihen Gimenez, Alejandro Cadavid, Grahame B, Harrison Klein, Sander de Wijs, Maya Cohen & Willem Revis for helping us make this one!
Most of the year The N...
_dict = {(x,y):'' for x in range(3) for y in range(3)}
_dict = {(x,y):'' for x in range(3) for y in range(3)}
@somber heath understood
thanks
Pain is bread
pain is you
why is pain?
Men At Work's official music video for 'Down Under'. Click to listen to Men At Work on Spotify: http://smarturl.it/MenAtWorkSpotify?I...
As featured on Contraband: The Best of Men At Work. Click to buy the track or album via iTunes: http://smarturl.it/MAWContraband?IQid...
Go...
he ded
Original - https://www.youtube.com/watch?v=60CXgLDRyD4
Also, I have a server now so if you wanna join it then you can - https://discord.gg/CrBPFa5
Why are you all the way down here? Scroll back up
#meme #cup_song #gun #America #Joker
NumPy
MatPlotLib
This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello World
⌨️ (10:23...
best course?
Tyler, please stop.
- Please subscribe so I can eat: http://bit.ly/21Xhy2m
↓FOLLOW GUS OR WHATEVER↓ - Twitter: https://twitter.com/Gusbuckets
- Facebook: https://www.facebook.com/gustoonz
- Reddit: https://www.reddit.com/r/gusjohnson/
- Snapchat: motherxteresa
- Instagram: in...
^^ Comfy
<3
import requests
import threading
from socks import GeneralProxyError
proxies = open('proxies.txt', 'r').readlines()
proto = 'socks4'
threads = 10
list = []
def main():
r = requests.Session()
for proxy in proxies:
try:
response = r.get('https://azenv.net/', proxies={'https':'socks4://' + proxy}, timeout=5)
if response:
if response.status_code == 200:
print(f'[+] Working {proxy}')
else:
print(f'[-] Not working {proxy}')
else:
print(f'[-] No response {proxy}')
except requests.exceptions.ConnectTimeout:
print(f'[-] Not working {proxy}')
except GeneralProxyError:
print(f'[-] Not working {proxy}')
except requests.exceptions.ConnectionError:
print(f'[-] Not working {proxy}')
except requests.exceptions.ChunkedEncodingError:
print(f'[-] Not working {proxy}')
except requests.RequestException:
print(f'[-] Not working {proxy}')
for _ in range(threads):
t = threading.Thread(target=main, args=())
list.append(t)
t.start()
print("hello world")
print("hello world")
enter after backtickspython
then code, then enter, then backticks
This looks like a good resource for learning threading: https://realpython.com/intro-to-python-threading/
$ python -c 'import this'
l = len(arr)
if l <= 1:
return arr
med = arr[l//2]
lower, mid, upper = [], [], []
for num in arr:
if num <= med:
if num != med:
lower.append(num)
else:
mid.append(num)
else:
upper.append(num)
return quicksort(lower)+mid+quicksort(upper)```
## Scrape item details from rolimons
def load_item_details():
resp = requests.get(
url="https://www.rolimons.com/itemtable",
headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"})
item_details_json = re.search('item_details = (.+?);\r?\n', resp.text).group(1).strip()
item_details = json.loads(item_details_json)
item_details = {
k: {
"projected": v[19]==1,
"rare": v[21]==1,
"value": v[-1]
}
for k,v in list(item_details.items())
}
return item_details
item_details = load_item_details()
Im getting a json decode error from the requests library
\s
\\s
\\\\
class StringBuilder:
def __init__(self, start=""):
self.string = start
def add(self, string):
self.string += string
return self
def add_not_string(self, obj):
self.string += str(obj)
return self
def build(self):
return self.string
cheese_and_2_chips = StringBuilder("cheese").add(" and ").add_not_string(2).add(" chips").build()
yo
hi
just read the letters out
yep
ok
got it
one sec
I'm slow at reading code
so it works?
>>> print("""This is
... a python console
... example!""")
This is
a python console
example!
>>>
did you try doing a recursive quicksort implementation first?
ah
hold on, I need to consult CLRS
classic algorithms book
just LX
ell ecks enn enn
erm, your implementation of the partition part of the algorithm is different
so it's too slow?
is it slow for certain kinds of input?
because quicksort is technically O(n^2) in the worst case
hmm
maybe you could try profiling the code?
erm, running your code with cprofile
import cProfile
then do cProfile.run('your code here')
should come with cpython
it gives you a breakdown of the runtime
I've never found a good way to profile memory with python
oh yeah that's probably the easier way to do it
I looked it up: python -m cProfile [-o output_file] [-s sort_order] (-m module | myscript.py)
I thought it might give some insight
whey
any useful info?
haha
ncalls
for the number of calls.
tottime
for the total time spent in the given function (and excluding time made in calls to sub-functions)
percall
is the quotient of tottime divided by ncalls
cumtime
is the cumulative time spent in this and all subfunctions (from invocation till exit). This figure is accurate even for recursive functions.
percall
is the quotient of cumtime divided by primitive calls
go ahead
you using ssh?
millibytes haha
hey @twilit lagoon I tried running some other in-place quicksort implementations I found on the net, and my own based on CLRS, and they all had pretty terrible performance
so it might not be your code
[1,2,3,2,1,2,3,4,3,2,1]
^ ^
peaks
[1,2,3,2,1,2,3,4,3,2,1]
^
valley
[1,2,3,4,3,1,2,1]
[1,2,3,4,3,1,2,1]
^ ^
[1,2,3,4,3,1,2,1]
^
In computer science, the dining philosophers problem is an example problem often used in concurrent algorithm design to illustrate synchronization issues and techniques for resolving them.
It was originally formulated in 1965 by Edsger Dijkstra as a student exam exercise, pres...
A van Emde Boas tree (Dutch pronunciation: [vɑn 'ɛmdə 'boːɑs]), also known as a vEB tree or van Emde Boas priority queue, is a tree data structure which implements an associative array with m-bit integer keys. It performs all operations in O(log m) time, or equivalently in O(l...
intresting
MIT 6.046J Design and Analysis of Algorithms, Spring 2015
View the complete course: http://ocw.mit.edu/6-046JS15
Instructor: Erik Demaine
In this lecture, Professor Demaine introduces the van Emde Boas Tree data structure and its uses.
License: Creative Commons BY-NC-SA
More...
@jovial meadow what is your latency
click on the voice connected thing
bottom left corner
it says it
gfever - 150
opalmist - 328
hovercraft - 11
it's on an eu server
@somber heath
Die Riesensteine/The Giant Stones https://imgur.com/gallery/Ys0b7bQ
if type(x) == list:
x.append("hello")
if type(x) == str:
x = x + "hello"
if type(x) == list: x.append("hello") if type(x) == str: x = x + "hello"
@wind cobalt is this polymorphism?
C:\Users\Artur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8
mydict = {
"firstkey":"firstvalue",
"secondkey":"secondvalue"
}
mydict["firstkey"]
returns
"firstvalue"
Why bacon.index('cat') return only the first position?
accidently downloaded pimp instead of pip
you mean
why does it only return the position of the first occurence of "cat" instead of the position of both occurences
you mean
why does it only return the position of the first occurence of "cat" instead of the position of both occurences
@gentle flint yes, mi spik inglish bad
spreek dan nederlands
but thank you for reiterating my question
it's literally in the definition on w3schools
Note: The
index()method only returns the first occurrence of the value.
thanks
np
while superlist:
for _ in range(threads):
t = threading.Thread(target=main, args=())
time.sleep(0.23)
t.start()
else:
print('No proxies left!')```
threads = list() for _ in range(10): t = threading.Thread(target=do_something) threads.append(t) for t in threads: t.start() #DO STUFF HERE for t in threads: t.join()
chromedriver = 'chromedriver.exe'
while superlist:
for _ in range(threads):
t = threading.Thread(target=main, args=())
time.sleep(0.23)
t.start()
else:
print('No proxies left!')```
import requests
import threading
from socks import GeneralProxyError
from queue import Queue
import time
proto = 'socks4'
threads = 50
superlist = []
proxy = open('proxies.txt', 'r').read().splitlines()
amtproxies = len(proxy)
for e in proxy:
superlist.append(e)
print(f'Loaded {amtproxies} proxies.')
def main():
r = requests.Session()
try:
response = r.get('https://azenv.net/', proxies={'https':'socks4://' + superlist[0]}, timeout=10)
if response:
if response.status_code == 200:
print(f'[+] Working {superlist[0]}')
else:
print(f'[-] Not working {superlist[0]}')
else:
print(f'[-] No response {superlist[0]}')
except requests.exceptions.ConnectTimeout:
print(f'[-] Not working {superlist[0]}')
except GeneralProxyError:
print(f'[-] Not working {superlist[0]}')
except requests.exceptions.ConnectionError:
print(f'[-] Not working {superlist[0]}')
except requests.exceptions.ChunkedEncodingError:
print(f'[-] Not working {superlist[0]}')
except requests.RequestException:
print(f'[-] Not working {superlist[0]}')
superlist.pop(0)
while superlist:
for _ in range(threads):
t = threading.Thread(target=main, args=())
time.sleep(0.23)
t.start()
else:
print('No proxies left!')
while superlist:
for _ in range(threads):
proxy = superlist.pop(0)
t = threading.Thread(target=main, args=(proxy,))
time.sleep(0.23)
t.start()
else:
print('No proxies left!')```
threadgroup python
rock
paper
no
rock
scissors
rock
rock
paper
paper
i will breath into my mic
@wind cobalt i am elon musk. do you believe
yeah im just a fragment of your imagination. an illusion
poop
shit poop
i have to keep it pg
News! Wow we're 4,4 million FANS!!! Thank you guys (almost 70%) | ¡Nostalgia total, nosotros somos casi 4,4 millones de fans, ARRIBA!
Gracias a más de 1M de hermanos latinos por ver.♥️
Views since 2012: “4,4M”
1st 🇺🇸USA🗽🌁🎃 1,7M
🌏🗿Others Countries or Territories of the World...
Boys
I am desperate as hell
can i ask you for hep
My employer has told me out of nowhere I need to accomplish these things.. or else.. I don't actually know how to use Python, but am obviously motivated to learn. I'm not looking to get this done for me, but I would love a place to even start. I'm not even sure what kind of tutorials/processes/applications I need - and Im told I need this done in about a week
Connect to any REST API (source)
Query any of the available endpoints to retrieve data
Modify the data in any way you wish
Save the modified data in a DB of your choice (destination)
Log your actions for later debugging
Based on the above task/results
How do you know if the ‘sync” (ETL) was successful?
Can you write a ‘test’ for it? *
my copy pasta
This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello World
⌨️ (10:23...
Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. Learn how to use it in this crash course tutorial.
💻Code: https://github.com/jakerieger/FlaskIntroduction
Tutorial from Jake Rieg...
**** Driver is okay **** A tractor trailer driver made it out safely after being struck by a Ferromex train. As you can see in the video, the grade crossing was NOT working. Interestingly enough, here is what Wikipedia says about Mexico's grade crossings: "These devices are e...
response = requests.get("http://api.open-notify.org/iss-pass")
@candid venture your youtube
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return "Hello World!"
if __name__ == '__main__':
app.run()```
@fast drift
python -m pip install *modulename*
Can't write pip install discord.py on terminal?
^
Just a beginner just asking btw
Itd just be pip install discord
im pretty sure but yea
alright cool I'm a beginner looking to code a personal bot just looking for a little bit of help
update pip?
I'm using python 3.7.4
I guess you need to go into your python directory and then update the pip
or try pip3 ig
I having problems just trying to start the bot
hey
<@&267628507062992896> Can someone enable screenshare for at least one the VC's? It's hard to have someone debug your stuff when you can't show them easily
we might be thinking about having VC's where people can screenshare, but only limited to 2-3 people
but currently, we can't moderate that very well with open VC's
i mean just like say it doesn't really have moderation
it does, we get plenty of reports about VC already, even with screenshare off
i just think you should add a screenshare channel or two and say that they are pretty much unmoderated
that'd be shoving the channel in the corner and letting people do whatever they want in there
ye
we're not trying to lose our partner status
oh yea
that's one thing
yeah thats the reason im not planning on partnering my server ever, i would have to delete nsfw channels and stuff
and we do not want anything inappropriate on this server
i mean like
you can say that yall try your best but people acting bad in vc/video is hard to moderate
so like be warned on entering or something
be warned on entering?
like have a thing in the rules or something that says that the voice channels are hard to moderate effectivly and that theres a possiblity of something bad in there
there's a possiblility of something bad anywhere
i have seen things in text channels that i should've never seen in my entire life lol
you should just report it and we'll take care of it the best we can
i mean
if that's the case im still not seeing why screenshare is a leap from voice-chat
because there is no evidence afterwards
because one of us is in the VC or we get multiple witnesses
either way, we're not turning on screenshare
same case with screenshares
this has been discussed millions of times before
fine, but just saying like 95% of all programming discord's have screenshare on without a problem
we are on the front page of discord discovery
i mean a lot of those are verified
that doesn't really mean much
we literally get about a thousand people joining per day, which means there are lots of trolls as well
i mean a lot of game servers with more members have screenshare enabled as well
sure
idk man, just it would improve the learning experience of many with the ability to show others what they are currently doing
i see your point there yes, that's why we're thinking of VC's with screenshare enabled, but limited to 2-3 members
alright
what about a system to only allow screenshare with staff supervision
There needs to be an accountability. A trusted closed circle of people who need to have it, only, I feel would be the most appropriate. So, as it is.
But I'd be open to having my mind changed.
If it was a more private server of just friends, whatever. Given this server's prominence and position, however...
You wouldn't give people open access to one of the display screens in Time(s?) Square.
It'd be dicks galore within the first ten minutes.
Supervised could work.
If people really need to screenshare, they can do it in dms or group dms or in their own servers.
So less the server administration's responsibility to police.
I can understand people's surprise and frustration when they find out they can't, given they can elsewhere, but that doesn't confer entitlement.
@errant helm why am I seeing gooses on the stream preview haha
it's a duck!
geese?
lmao
gosse
@whole bear Do you mean sellout your other server? If so, no.
@errant helm Greetings, my dude.
I have no idea what's occuring except I'm guessing 1.16.1 ports are out.
I mean it is 5am for me
@swift valley 👋
How goes it, fellow moderator?
Just gonna watch the stream while I do my English assignment lol
I have a full understanding of what's currently occuring
Really should get into a JVM language some time
@dim wagon If everyone gets it, then it may become spammy.
there's always github links/screenshots
@errant helm I believe in you.
moderator != modification
mod obviously stands for modulo smh
I do modify people's existance throughout the server.
static is a very weird keyword in C
I do need to learn how to program in C
so I can make sick and cool stuff for arch
I mean it's either that or Rust
both are good
I wrote a hundred lines of C and then I was done with it 
I'm actually quite surprised 30% of it is Haskell
I'm pretty sure I haven't written in java
if anything it's like
a couple lines
maybe packages are built in java and I shoved them in repos
tbh I should have a large amount of C++ in there
bruh I have no fukin clue I've been a mod for like a month
@errant helm
@sly jolt how can someone became a mod in this discord?
You don't directly become a mod. There's a nomination process and you have to become a helper first.
Turned it in, time to go back to writing a LISP
sorry
@errant helm @swift valley Imma head out, have a good one.
@whole bear Do you mean sellout your other server? If so, no.
@sly jolt YES I WAS meanin other searver ok
yea close enough lol
ya
good job dude
can somebody help? I can't arrange in the order of the textbook
hi
Anyone in voice chat?
@wind cobalt but your code work right?
yeah its ok, the point is just to know how to get it working I don't think he meant the same as the pic, also if you want it the same you can change the order of the stuff dict .
hi
hello!
how are you?
which countries are you guys from?
your audio is cutting out @mystic marlin
have you ever heard of approval voting?
fix your political system with this one weird trick
@mystic marlin
check your input sensitivity settings
x = x + 1
that's a common misunderstanding about the different meaning
of that expression in mathematics
0 = 0+1
and imperative programing
yeah, so we use the symbol = for variable assignment in programming
but it's a bit of an abuse of notation
we should use something like <-
like a leftwards arrow
In mathematics x = x + 1 is just an unsatisfiable equation
i.e, there is no value of x that will make the equation true
at least not in standard arithmetic
In programming, it's saying compute the value on the RHS and update the computer's memory to assign the result to the variable on the LHS
is there a minimum word-count?
this seems like one of these things where they have their own terminology that is specific to the course
erm, what dodgy websites are you vitising?
I don't think this is server-appropriate
So they just want you to list PC, games console, etc?
f me
Myst
90s
It's like a slideshow, and you click to move around
I think I played it when it originally came out
but I was like 8 so I had no idea what I was doing
oh wait nvm, 1993, that's before my time
I bought it in a steam sale last year, and replayed it. It's actually pretty fun.
Very atmospheric.
Lincoln?
I've heard it's a nice city
full of druggies
who?
???
wtf
whos
two minute papers
The paper "A Style-Based Generator Architecture for Generative Adversarial Networks", i.e., #StyleGAN and its video available here:
https://arxiv.org/abs/1812.04948
https://www.youtube.com/watch?v=kSLJriaOumA
Our material synthesis paper is available here:
https://users.cg.tu...
so you're a sandwich artist?
a pandas artist?
Are there any companies that have offices in both Brazil and the UK? @plucky estuary
The current government has not been particularly pro-immigration
Do you just want to work here temporarily, or move permanently?
I've heard that moving to canada provides better leverage to get into US. But mexico is another story
You shouldn't have any problems in the UK with hostile people, at least not in larger cities like London.
Maybe look at database management jobs in the NHS?
I think you're more likely to be able to migrate if your work relates to health-care.
7.25 USD per hour @plucky estuary
8.72
1 GBP = 1.31 USD
I don't know much about trading bots, but maybe don't trade with real money.
Unless you really know what you're doing, you'll probably not make a profit.
MIT OCW? @whole bear
@stuck furnace brazil == 2,125 USD per hour .-.
@plucky estuary basically a place with good internet connection to access cloud serverd and build an online empire
the BIG dream
That's awesome, in some months of work you can buy like a tesla car.
if corona_death_rate > common_cold_death_rate
print("corona is true")
if corona_death_rate < common_cold_death_rate
print("corona is false")
folding at home?
python is used for molecular simulation: https://www.python.org/success-stories/simulating-biomolecules-with-python/
and drug discovery: https://www.python.org/success-stories/python-for-collaborative-drug-discovery/
folding at home was basically a distributed super-computer
I've tried both, they're the same @covert garden
@covert garden oh yeah I loved that show
although the plot got a bit farfetched towards the end
Is skins even still going?
no
Amsterdam? @covert garden
whats the whole screen
nvm it works
good job!!!!
is that c
@whole bear python
oh okay
@void field try ACM ICPC
Awesome research for everyone. Two new science videos every week. You'll love it! Our links: Web → https://cg.tuwien.ac.at/~zsolnai/ Patreon → https://www.pa...
@limber iron https://www.youtube.com/watch?v=CV7_stUWvBQ&t=149s
We've made it through the basics of working with sockets, and now we're ready to try to actually build something with them, so, in this sockets with Python tutorial, we're going to build a console-based chat app.
Text-based tutorials and sample code: https://pythonprogramming...
@limber iron Laravel
that's cute
what
just like you
TECH WITH TIM
fit
yep that's me (I wish)
buy a new one
https://neo4j.com/docs/graph-algorithms/current/labs-algorithms/random-walk/#:~:text=Random Walk is an algorithm,resulting path in a list.
@covert garden
This section describes the Random Walk algorithm in the Neo4j Labs Graph Algorithms library.
6.6.6
127.0.0.1
10.0.0.1
4.20.6.9
I PEE IN THIS CHAT
dox me
1.34.2.5
An Internet Protocol address (IP address) is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. An IP address serves two main functions: host or network interface identification and location addressing.
raid my back door bby xoxox
@covert garden start with CTF if you love hacking 😄
Capture the flag
we are hosting a new event
but its online sorry no drinking 😂
YESSSS
no end of the mounth
ooh
*month
@parse
yeah
u sure?
yeah wanna check our site ?
sure
give me a sec
146.104.170.146
@feral bramble @covert garden https://ctftime.org/ check it out for new events
Capture The Flag, CTF teams, CTF ratings, CTF archive, CTF writeups
34.56.208.248
39.35.134.143
132.10.229.224
253.202.148.13
179.71.112.243
171.182.169.155
2.17.163.48
84.65.158.116
95.35.230.24
all my friends ip from my logs
234.225.236.80
71.134.118.19
92.137.133.103
161.204.161.198
168.19.138.123
48.53.110.58
123.218.176.151
201.163.230.220
156.72.158.15
179.215.65.220
224.103.137.251
208.57.255.202
146.190.145.79
36.59.227.236
63.156.213.255
36.103.70.9
73.60.145.156
124.87.160.121
119.13.240.24
106.46.208.238
68.115.148.195
10.127.117.77
151.58.137.26
237.252.0.107
98.121.240.243
167.30.243.219
166.78.204.197
207.202.107.68
199.110.64.37
29.34.69.238
66.210.18.73
177.140.25.203
247.34.214.224
25.228.233.220
113.168.105.146
206.248.136.171
124.178.97.195
80.166.120.33
221.223.62.210
29.118.91.184
234.225.236.80
71.134.118.19
92.137.133.103
161.204.161.198
168.19.138.123
48.53.110.58
123.218.176.151
201.163.230.220
156.72.158.15
179.215.65.220
224.103.137.251
208.57.255.202
146.190.145.79
36.59.227.236
63.156.213.255
36.103.70.9
73.60.145.156
124.87.160.121
119.13.240.24
106.46.208.238
68.115.148.195
10.127.117.77
151.58.137.26
237.252.0.107
98.121.240.243
167.30.243.219
166.78.204.197
207.202.107.68
199.110.64.37
29.34.69.238
66.210.18.73
177.140.25.203
247.34.214.224
25.228.233.220
113.168.105.146
206.248.136.171
124.178.97.195
80.166.120.33
221.223.62.210
29.118.91.184234.225.236.80
71.134.118.19
92.137.133.103
161.204.161.198
168.19.138.123
48.53.110.58
123.218.176.151
201.163.230.220
156.72.158.15
179.215.65.220
224.103.137.251
208.57.255.202
146.190.145.79
36.59.227.236
63.156.213.255
36.103.70.9
73.60.145.156
124.87.160.121
119.13.240.24
106.46.208.238
68.115.148.195
10.127.117.77
151.58.137.26
237.252.0.107
98.121.240.243
167.30.243.219
166.78.204.197
207.202.107.68
199.110.64.37
29.34.69.238
66.210.18.73
177.140.25.203
247.34.214.224
25.228.233.220
113.168.105.146
206.248.136.171
124.178.97.195
80.166.120.33
221.223.62.210
29.118.91.184
just wasting time
why is this dude leaking his friends ip's
@ivory shuttle it's from a random ip website
lol
its not its all of us that are in the call
@muted rapids nani ?
hey, just joined, what was that about?
hey, just joined, what was that about?
@stuck furnace lots of stuff 😂
@feral bramble what system do you like using to hack?
wdym by that
windows 98 is the best
ah
like os
none
hmm seems like the best way to hack.... maybe a machete is more ur style?
yeah
https://www.youtube.com/watch?v=_QdPW8JrYzQ
@visual crow
Visit http://TED.com to get our entire library of TED Talks, transcripts, translations, personalized talk recommendations and more.
Suspicious emails: unclaimed insurance bonds, diamond-encrusted safe deposit boxes, close friends marooned in a foreign country. They pop up in ...
hes awesome
have you tried parrot os ? @visual crow
@tidal nymph ive used it but it is not general use. and it is unstable
yeah i have the same idea
@limber iron can u send the code ?
boards-home probably isn't a name in your urls.py file
show us that
the code for urls.py @limber iron
no not the html
hmm
@limber iron i think you should return a json response instead of redirect function in your register file
i thought that was just a data storing format
i havent worked with django but i think that is not a response
use this to check
responseData = {
'id': 4,
'name': 'Test Response',
'roles' : ['Admin','User']
}
return JsonResponse(responseData)
hmm
ok i'll try it thank you


Does anyone have any AI problems they need help with?
Not ML, like classic AI
That's the one area I'm reasonably skilled in
Does anyone have any AI problems they need help with?
@stuck furnace could you u tell me what is RL ?
reinforcement learning
oh yeah 😂 never saw it that way
RL is an approach to training agents
in an environment where they receive rewards for actions
take the right action -> get a reward -> do that more
do the wrong action -> get punished -> do that less
is the gist of it
pretty much all the AI up till the mid-90s
based on classical logic
modern AI and machine learning is based on probability theory and statistics
like A* search, constraint satisfaction, theorem proving
modern AI and machine learning is based on probability theory and statistics
@stuck furnace i have a go game written in python using minimax algo, its damn slow.
do you know How to improve it ?
yeah, you wont have much luck applying minimax to Go
I assume you mean the Asian board game?
It has such a high branching factor
yes, 19 by 19 board
compared to say, chess
for that you really need modern methods
particularly reinforcement learning and neural networks
it was my Design Algorithms' final project.
I used one as depth for testing it 😂
have you been to codingame.com before?
@stuck furnace no i havent, i ll check it out. tnx
yeah it's a cool site
they have competitions
where you program AI bots
it's a great place to practice your AI skills
nice !
and has a nice community
@stuck furnace nice talking with you, stay safe
sup @feral bramble
hi
welcome back i guess
:D
@whole bear we used python selenium to fill our classes with random bots.
yeah, you too @tidal nymph
lol @tidal nymph
it is very useful for virtual classes
what is
python selenium
when i'm deaf i can only hear gagipose
don't drop out @whole bear
grades show that you can be organised and are willing to work hard @whole bear
everyone mute
@visual crow just mute
okay
i broke discord
@visual crow see im helping you out lol
I'm self conscious haha
@whole bear thanks man much appreciated
:}
@feral bramble comedy gold xd
i need a freaking chill pill
back
@whole bear night bro
night
Provided to YouTube by rhythm zone
休日 · THE CHARM PARK
Timeless Imperfections (Side-B)
℗ AVEX ENTERTAINMENT INC.
Released on: 2018-11-14
Composer: THE CHARM PARK
Lyricist: THE CHARM PARK/fifi leger
Auto-generated by YouTube.
bye @whole bear
how to i sent an invite to some
@covert garden still having problems?
7AJCQBw0YHVGRrH
a = list('7AJCQBw0YHVGRrH')
random.shuffle(a)
a = ''.join(a)```
YubiKey
def displayInventory(inventory):
print("Inventory")
item_total = 0
for k,v in inventory.items():
#fill in this part
print(str(v) + " " + str(k))
item_total = item_total + v
print("Total number of items: " + str(item_total))
def addToInventory(inventory, addeditems):
for i in addeditems:
if i not in inventory:
inventory.setdefault(i,1)
else:
inventory[i] = inventory[i] + 1
return inventory
inv = {'gold coin':42, 'rope':1}
dragonLoot = ['gold coin','dagger','gold coin','gold coin','ruby']
inv = addToInventory(inv,dragonLoot)
displayInventory(inv)```
x = defaultdict(lambda: 0, 'gold'=42, 'rope'=1)
dragonLoot = ['gold coin','dagger','gold coin','gold coin','ruby']
inv = addToInventory(inv,dragonLoot)
displayInventory(inv)```
inv = defaultdict(lambda:0, {'gold coin':42, 'rope':1})
def addToInventory(inventory, addeditems):
for i in addeditems:
inventory[i] += 1
return inventory
sum([v for v in inv.values()])
Because of the dictionary you passed to defaultdict(), when creating inv.
#inventory.py
def displayInventory(inventory):
print("Inventory")
item_total = 0
#for k,v in inventory.items():
#fill in this part
print(inventory.items())
item_total = sum([k for k in inventory.values()])
print("Total number of items: " + str(item_total))
def addToInventory(inventory, addeditems):
for i in addeditems:
if i in inventory:
inventory[i]+=1
return inventory
inv = defaultdict(lambda:0, {'gold coin':42, 'rope':1})
dragonLoot = ['gold coin','dagger','gold coin','gold coin','ruby']
inv = addToInventory(inv,dragonLoot)
displayInventory(inv)```
def addToInventory(inventory, addeditems):
for i in addeditems:
inventory[i]+=1
return inventory
item_total = sum([k for k in inventory.values()])
def hello():
print('hello')
h = hello
h()
def hello():
print('hello')
h = hello
a = h
h()
a()
print(a is h)
print(a == h)
i need some help in running code i just cant run any code in vs code
here come in general where i can share my screen
i cant share my screen anywhere
ok wait give me a minute
Server restriction. Only privileged members have access to screen sharing in public voice channels. If you need to screen share, you can do so in DMs.
my_list[0]
Python Programming tutorials from beginner to advanced on a massive variety of topics. All video and text tutorials are free.
X.append(X[-1]+1)
Y.append(Y[-1]+Y[-1]*random.uniform(-0.1,0.1))
data = plotly.graph_objs.Scatter(
x=list(X),
y=list(Y),
name='Scatter',
mode= 'lines+markers'
)
return {'data': [data],'layout' : go.Layout(xaxis=dict(range=[min(X),max(X)]),
yaxis=dict(range=[min(Y),max(Y)]),)}```
u need to make it global
def update_graph_scatter():
global x
global y
X.append(X[-1]+1)
Y.append(Y[-1]+Y[-1]*random.uniform(-0.1,0.1))
data = plotly.graph_objs.Scatter(
x=list(X),
y=list(Y),
name='Scatter',
mode= 'lines+markers'
)
return {'data': [data],'layout' : go.Layout(xaxis=dict(range=[min(X),max(X)]),
yaxis=dict(range=[min(Y),max(Y)]),)}
this is the intent
ctime = time.time()
while True:
line = ser.readline().decode("utf-8")
try:
val = int(line.split(",")[-1].rstrip())
data.append((data[-1]+1, val))
except:
pass```
!p past life
@whole bear I would prefer to* use manjaro linux if ur a beginner to linux
@whole bear i really like this recommdation
thank you
ok
linux already installed every language
Advantages of Linux
Open Source
Security
Software Updates
Customization
Privacy
Network Support
Performance
@somber heath I disagree with u because we can do extremely good coding with window
yes true
linux == bad coder
lol
@whole bear Success is the second letter
🙂
I'm back guys
@hard basin
@tall grail
if 'y' in user_input.lower():
yes
Yes
YES
yeah
y
@jovial meadow
- Removing items from the master list will recursively remove them from all
sublists
- Inserting items into the master list will allow them to be inserted into
any of the sublists
- Sublists cannot contain elements which are not present in the master list
- Removing items from sublists will not remove them from the master list
- Insertion and removal at any position have O(1) time complexity
@whole bear It works! Phew!
Master set
Sub set
Hash table, key: node, value: list of sets
Yeah there's always a trade-off between false-positives and false-negatives
In any system.
Each year during annual maintenance the large locks are emptied (Pumpout).
"Volunteers" from the Army Corps of Engineers scrape barnacles off the walls of main tunnels that run the length of the Locks (about 800 ft long) and the smaller fill tunnels. The scraping of barnacle...
But you get banned from casinos for being too good at blackjack
Some MIT students tried it
There was a film about it I think
Did you guys ever see this? https://www.youtube.com/watch?v=kZTKuMBJP7Y
The maths we learn in school can seem like a dull set of rules, laid down by the ancients and not to be questioned. Jordan Ellenberg shows how wrong this view is through stories that show the power of mathematical thinking.
Buy Jordan's book "How Not to Be Wrong: The Hidden ...
Some MIT students found a way to consistently make money from state lotteries.
@jovial meadow @somber heath
It was something to do with roll-over jackpots
There were times when the expected returns of a lottery ticket was positive
So they bought a tonne of tickets
Damn discord app
What time is it where everyone is?
09:39 here now in Amsterdam
oh yeah, same here, I actually kind-of prefer the cold
yeah not that cold
16 degrees and grey and rainy all summer
maybe -1 in the winter
actually quite reasonable
I spose
I don't mind the heat as long as there's air conditioning
which apparently doesn't exist in the UK
same
or here
'cuz why would you ever want airco
in a country with a heatwave each summer
What are we trying to predict?
no clue
Ugh, as soon as someone says blockchain my eyes glaze over.
lol
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.
ctrl-c -> ctrl-v
cltl c
top one is a dual-boot Linux-Windows, bottom is Windows only
gonna be getting a third disk for Linux only on Monday
Currently, I'm shifting all my data from the Windows install on the dual boot to the standalone Windows install
then when I have my Linux disk I'll shift the Linux data from the dual-boot to the standalone Linux
and then I shall put the dual-boot disk on a shelf in case I need it again someday
hi @somber heath
i have joined this server to learn coding
i absolutely dont know anything
THATS A REAL SIMP BRUH @jovial meadow
The Australien Government just released this ad about the Marriage Equality Plebiscite and it's surprisingly honest and informative. 👉 Enrol for Equality: http://aec.gov.au/enrol
__Ways you can keep us going:
☛ Become a Patron: https://www.patreon.com/TheJuiceMedia
☛ Tip us o...
raymond hettinger
All the resources you need to give yourself a world class computer science education
Learning to program?
hii @jovial meadow
@supple marsh
uefa CL night for me .. so I'm gonna rest a bit .. before watching the game in a few hours..
thanks for the invite though guys
I will join in.. maybe next week (god willing) ...
oops sorry @errant helm
:>
wut?
@crystal fox no one care about US
bruh
😂
@crystal fox u laugh like a goat 😂
@somber heath narendra modi will be ur new president
🙂
🤣
just so you guys know, I don't have to be there to keep my powers
feel free to poke me if needed bisk
@somber heath yeah i know even kids know this
i m not a kid
@crystal fox u also go
🤣
What?
the
hello weird fellow who doesn't talk
@crystal fox no u discuss i will throw dank jokes
weird jokes really
@crystal fox what is internet speed in US
?
@crystal fox who the fuck gave u right to say about india?
😠
@crystal fox 😂
fucking indians - i heard it
nothing else
no u continue
nah nah
i am not offensive
my only intention was to disturb u
@crystal fox cuz i love jokes on india
😂
@crystal fox so u can say
@somber heath fucking this word have to meaning can u tell me what do u say it
@crystal fox check
dm
@crystal fox ok
@crystal fox
@crystal fox hey hey
what r u doing
wait
lol
dont
ok
😂
@crystal fox 😂
😂
@crystal fox nah
😂
@crystal fox thnx
@crystal fox ok teacher
😂
this is a lot of pinging
grow up.
is that a request?
I mean hey, if you want silence, we can facilitate that
naah i was saying that y there is silence
@crystal fox again no one asked 😂
@crystal fox ok bye i will disturb u tommorow
now now
l'oreal
back to the staff meet
@whole bear is spamming voice with noise @olive sentinel
!mute 723516754361450576 1d Please don't disrupt Voice Channels; it's not that difficult to be nice and I think you should be able to manage that.
:incoming_envelope: :ok_hand: applied mute to @whole bear until 2020-08-24 19:25 (23 hours and 59 minutes).
thanks v
@crystal fox
@Inject(method = "<init>(Ljava/lang/String;ILjava/lang/String;)V", at = @At("RETURN"))
private void constructor(String description, int keyCode, String category, CallbackInfo ci) {
HASH.clearMap();
keybindingMap.put(keyCode, this);
}
@Inject(method = "<init>(Ljava/lang/String;Lnet/minecraftforge/client/settings/IKeyConflictContext;Lnet/minecraftforge/client/settings/KeyModifier;ILjava/lang/String;)V", at = @At("RETURN"), remap = false)
private void constructor(String description, IKeyConflictContext ctx, KeyModifier modifier, int keyCode, String category, CallbackInfo ci) {
this.constructor(description, keyCode, category, ci);
}
beehivekay streams live on Twitch! Check out their videos, sign up to chat, and join their community.
ok
im doing yes
hey g, is kotlin good yet?
yo gaydude2002
why do you feel the need to play a game that thinks ur so dumb it shows you your own keybinds in the bottom right
ugh
(Srs question)
Why don’t you play a game that requires skill like Fortnite
Or league of legends or literally anything else
Skill and fortnite in the same sentence haha
haha
!temban 710890615382212758 1d Mangling the name of a member (gdude to "gaydude") and then continuing with an insult is not going to fly on this server. If you want to come back, read our Code of Conduct and rules before doing so.
Zappa
insulting retired owner
Python said no
!tempban 710890615382212758 "1 month" Mangling the name of a member (gdude to "gaydude") and then continuing with an insult is not going to fly on this server. If you want to come back, read our Code of Conduct and rules before doing so. Apparently, you've decided to add some time to your sentence.
:incoming_envelope: :ok_hand: applied ban to @orchid dew until 2020-09-23 21:11 (30 days and 23 hours).
haha
thanks ves <3
this is entertainment
"How to add 30 days to your punishment in ten seconds"
- Be Trompone
Although tbh you can go way better with gdude
phesip
In this video we are going to learn how to perform Facial recognition with high accuracy. We will first briefly go through the theory and learn the basic implementation. Then we will create an Attendance project that will use webcam to detect faces and record the attendance li...
oh no
import face_recognition
img = face_recognition.load_image_file("your_cropped_image")
# Assume the whole image is the location of the face
height, width, _ = img.shape
# location is in css order - top, right, bottom, left
face_location = (0, width, height, 0)
encodings = face_recognition.face_encodings(img, known_face_locations=[face_location])
import cv2
import numpy as np
import face_recognition
imgGershom = face_recognition.load_image_file('gershom.jpg')
#imgGershom = cv2.cvtColor(imgGershom, cv2.COLOR_BGR2RGB)
imgGershia = face_recognition.load_image_file('gershia.jpg')
#imgGershia = cv2.cvtColor(imgGershia, cv2.COLOR_BGR2RGB)
print(len(imgGershom))
faceLoc = face_recognition.face_locations(imgGershom)[0]
encodeGershom = face_recognition.face_encodings(imgGershom)[0]
cv2.rectangle(imgGershom, (faceLoc[3], faceLoc[0]), (faceLoc[1], faceLoc[2]), (255, 0, 255), 2)
cv2.imshow('gershom', imgGershom)
#cv2.imshow('gershia', imgGershia)
cv2.waitKey(0)
import cv2
import numpy as np
import face_recognition
imgGershom = face_recognition.load_image_file('gershom.jpg')
#imgGershom = cv2.cvtColor(imgGershom, cv2.COLOR_BGR2RGB)
imgGershia = face_recognition.load_image_file('gershia.jpg')
#imgGershia = cv2.cvtColor(imgGershia, cv2.COLOR_BGR2RGB)
print(len(imgGershom))
h, w, _ = imgGershia.shape
face_location = (0, w, h, 0)
faceLoc = face_recognition.face_locations(imgGershom)
if faceLoc:
print(faceLoc)
#do the code here
encodeGershom = face_recognition.face_encodings(imgGershom, known_face_locations=[face_location])
if encodeGershom:
print(encodeGershom)
#Same thing here
cv2.rectangle(imgGershom, (faceLoc[3], faceLoc[0]), (faceLoc[1], faceLoc[2]), (255, 0, 255), 2)
cv2.imshow('gershom', imgGershom)
#cv2.imshow('gershia', imgGershia)
cv2.waitKey(0)
@visual crow What's that beeping?
def redrawWindow(w, rows, surface):
global rows, width
surface.fill((0,0,0))
drawGrid(width, row, surface)
pygame.display.update()
pass
my deepfake of tech lead
Mr. Robot's great tbh
@whole bear I've never used iTunes, so no.
@whole bear Gimme a sec and I'll hop in voice chat
my net ehh
