#voice-chat-text-0
1 messages · Page 608 of 1
Prevention of Vice
I suffered a lot, this year I revived thirty non-Arabs to this Persian
really cool thx
white faceeeeee
yeah is that politically correct? not sure 🙂
its on yt so it must be
dont care about that
(as a POC most of us dont really care about that politcally correctness on race lmao)
its just comedy
hes funny
AND I AM BARON HELMUT... SCHNITZELNAZI - lolz
hes acting like they are vampires... and here is this cat toy!
lolz bbiab
HELLO
anybody no any java
btw i know it is a python server but ther is no java server
@junior kayak yea Ik quite a bit
Yea if I can I will...
In this Python Flask Tutorial, we will be learning how to get started using the Flask framework. We will install the necessary packages and get a basic Hello World Application running in our browser. Let's get started...
The code for this series can be found at:
https://githu...
pd.date_range(start="1/1/1981", end="1/1/1982", freq="Q")
Out[3]: DatetimeIndex(['1981-03-31', '1981-06-30', '1981-09-30', '1981-12-31'], dtype='datetime64[ns]', freq='Q-DEC')
date_rng = pd.date_range(start ='01/06/1981', end='01/12/2019'
freq='Q')
df = pd.DataFrame(date_rng, columns=['date'])
[ins] In [7]: pd.DataFrame(dti)
Out[7]:
0
0 1981-01-01
1 1981-04-01
2 1981-07-01
3 1981-10-01
4 1982-01-01
$ cat t.csv
date,foo,bar,baz
1981-1,45,55,55
1981-2,45,55,55
1981-3,45,55,55
1981-4,45,55,55
1981-5,45,55,55
pd.read_csv("t.csv", index_col=0, parse_dates=True)
@still silo i think you got moved to afk channel buddy
had to go - have a meeting - i think the first suggestion is to work on getting your data into a dataframe and not worry about the date time yet
Hello, how does this voice chat works
I really need to make chat, talk about my python problems i faced
4000
oh no
xddd
accelerometer @elfin patrol
yup
it checks the acceleration
xd
bless you bruh
xddd
i entered this discord for one question
one simple question
helped probably 10 people
jeż
its a hedgehog in polish
i tried running my program as windows service
xd
yup
yup
polish is fucked up
same
inject oxygen into your vains
¯_(ツ)_/¯
i tried running my program as windows service
but it doesn't work
In Windows NT operating systems, a Windows service is a computer program that operates in the background. It is similar in concept to a Unix daemon. A Windows service must conform to the interface rules and protocols of the Service Control Manager, the component responsible fo...
jezmordercaniemaserca
yup
it translates to murder hedgehog without a heart
aaah ok
jeż morderca nie ma serca
noooooo
try it in google translate or something
it is polish
i tried running flask server as windows service so that it runs automatically
you need help with flask? I can speak polish as well
no
flask works perfectly
the windows service doesn't
it always throws 1053 timeout error
huh I never tried running anything as service with windows so I cant help
its my first time
i cant speak
no
i cant use my mic
i have it
but its too loud here
it sounds like shit
no, that's polish
no
xddd
no
but we have pizza
the messages
its a standard command
you literally
have a link
yup
windows service
i have a flask app
yup but as a service, not as a program
nr
no
i tried to relocate
to another room
to use mic
why not
no
yes
if you want two flasks
you will need multiprocessing.process or thread
@jolly slate how do you run it as a service?
oh ok
dont do drugs
kids
yeah
no no no
its not jazz
jeż
check it in google translate or sth
i am trying to solve my problem whole yesterday and today
os.sys("your command")```
@jolly slate
come on, multiprocessing is not that bad
wut?
xddddd
you learned it by yourself
xd
( ͡° ͜ʖ ͡°)
what a silence
can i use bad words here?
or will i be banned?
no
ok?
jeż
no
i wanted to say
BAD WINDOWS SERVICES NOT WORKING WHEN I NEED THEM
:incoming_envelope: :ok_hand: applied mute to @dusty rune until 2020-07-15 11:08 (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).
That's what happens when you formulate your sentences in height
ah come on
i was the only one using this channel
fml
it works for everyone
just not for me
HANS GET THE FLAMENWERFER
pip
or py -m pip
yeah
i know
i am very cerful
calculatored
write a script
that moves it for you
¯_(ツ)_/¯
ok ok
@fossil pebble u use pycharm?
what? why?
maybe change your path to point to other executable
xddd
or you can just set python interpreter in pycharm to global one
@fossil pebble https://stackoverflow.com/questions/61004646/pipenv-set-path-of-virtual-environment-in-vs-code
i have one small question
to server creators
why cant you share your screen here if you need help?
okay
but it could be helpful you know
notepad++
WINDOWS + V
w
WinRAR is a Windows data compression utility that focuses on the RAR and ZIP data compression formats for all Windows users. Supports RAR, ZIP, CAB, ARJ, LZH, ACE, TAR, GZip, UUE, ISO, BZIP2, Z and 7-Zip
Hey @wind folio!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
!paste
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.
are you guys actually ddos-ing a website
( ͡° ͜ʖ ͡°)
don't tell anyone
just do it
xD

df -h
fork bomb^
Hey guys, We'd rather you don't go around pasting fork bomb codes regardless of what warnings you give
alright you are right
@fallen plinth You deleted my coded but it wasn't a fork bomb! It was a scrapper script 😦
Unfortunate casualty caught in the crossfire
@fallen plinth come to vchat
I'm good
pls
@ripe patio
guy1
[cars]
guy2
[motorcycles]
commission
[car=(x=2% if less than 20,000,000 | x=5% if => 20,000,000 || commission cannot be greater than 2,000,000), motorcycle=(x=3%)]
invite
[if invited sells car =
0.05
0.95
40 * 0.05
= 2millions
y = total commision of selling a car
10 parts are of y
1 part is for each friend
so
1,000,000
20,000
10 parts are mine
1 for each friend
imagine that i have 3 friends
"friend of friends"
10/13 parts of the comission will be mine
1/13 for each friend
5 friedns
10/15 mine
1/15 each friend
SalesmanFactory
create_salesman -> method that return w 0.5 probability if it is car seller and 0.5 prob if it motorcycle seller
I'm building some python project,
I'm pretty good with pygame, but it was nearly impossible to use it in such project directly,
so, I'm using pygame-gui repository (https://github.com/MyreMylar/pygame_gui
),
I'm looking for a way to take my pygame apps and translate them automatically into pygame-gui classes to add to my code.
I linked an example (a bad one) for a pygame-gui class where there is an input box you write in and when you press ENTER what you wrote appears in an output box.
the solution does not have to be in python
git commit -m "Update"
git push
rm -r *
local-repo -> working-dir -> git add -> git commit -> git push -> github-repo
*maybe you didn't do git add
git clone <repo>
git into the local repo
make changes
$git add .
$git commit -m "some message"
$git push
WSL2
BTW - this is an advanced talk but it really explains the git model under the hood - its pretty cool talk if u want to get into the bits: https://www.youtube.com/watch?v=MYP56QJpDr4
Join GitHub trainer and evangelist Tim Berglund for a look at Git, from the bits up. This talk is not for the Git beginner, but a more advanced look at "weird internals stuff" and obscure commands that will reveal a sort of internal API that is there for you to use and help ex...
I like https://regex101.com/
Regex101 allows you to create, debug, test and have your expressions explained for PHP, PCRE, Python, Golang and JavaScript. The website also features a community where you can share useful expressions.
quotes = re.findall(r'(<p>[\w\s\n]*</p>)', html_doc, flags=0)
import requests
import re
import random
import html
html_doc = requests.get('http://basquotes.com/')
html_doc = html_doc.text
html_doc = html.unescape(html_doc)
authors = re.findall(r'(\<p\>\<b\>[\w\s]*\<\/b\>\<\/p\>)', html_doc, flags=0)
x=0
for i in range(len(authors)):
authors[x] = authors[x].replace('<p>','')
authors[x] = authors[x].replace('</p>','')
authors[x] = authors[x].replace('<b>','')
authors[x] = authors[x].replace('</b>','')
x+=1
quotes = re.findall(r'(\<p\>[\w\s\n]*\<\/p\>)', html_doc, flags=0)
x=0
for i in range(len(quotes)):
quotes[x] = quotes[x].replace('<p>','')
quotes[x] = quotes[x].replace('</p>','')
x+=1
x = random.randint(0, len(quotes)-1)
print(authors)
print(quotes)
while True:
try:
x=int(input("New Number: "))
print(authors[x])
print(quotes[x])
except:
print("Numbers only")
Regex101 allows you to create, debug, test and have your expressions explained for PHP, PCRE, Python, Golang and JavaScript. The website also features a community where you can share useful expressions.
abc+d.*?(abc+d)
[ins] In [9]: import re; s = "foobar foobaz foobop foobear"; re.findall(r"foo[^\s]+\s+(foo[^\s]+)", s)
Out[9]: ['foobaz', 'foobear']
/^(([^<>()[]\.,;:\s@"]+(.[^<>()[]\.,;:\s@"]+)*)|(".+"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/
([^"]h[^"])
recursion
you get those images with recursion man
If you're talking about functions that call itself, you're talking about recursion
I missed the rest of what you said
It's just a fractal
hey what are advanced python topics i can learn?
i learned like the basics and then started doing other stuff, so i want to get back to python
yeah multithreading i know
make pacman
If you want to learn Python itself really well, look into books like Fluent Python
ai and machine learning
And David Beazley talks
gui, i have read some stuff about how you use tkinter
so there is nothing else besides multithreading and gui?
Fluent Python is not for beginners, though. It's an intermediate level book.
Fluent python Second edition?
Yeah, it's pretty nice
There's a book called two scoops of django, but it's for an older version
is there any difference for me why i should choose js over python for backend
???
thats like the biggest yuestion in my head thats still not solved
i think slight porformance gains but idk
I enjoy programming in Python more than in js
python is pretty popular, but there are a lot of frontend devs who mainly know js
so it's natural for them to also use something like node.js for the backend
I am running a flask and background process on the same container. The process is blocking the flask app not to run. How can i solve this issue?
maybe run one with a & - like command1 & command2 - that will run first in background then run second
in the Dockerfile or in a script?
technically it would be preferable to run one in one container and one in another but for just "getting it working" that would work
In the dockerfile - or on command line when u start it - see: https://stackoverflow.com/questions/52856059/how-to-launch-and-keep-a-background-process-inside-a-docker-container
with open(cache_fname, 'wb') as f:
pickle.dump(db, f)
with open(cache_fname, 'rb') as f:
db = pickle.load(f)
hello
!paste
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.
def main(argv):
do_something...
if __name__ == "__main__":
main(sys.argv)
docstring = """
Here
Is a
Docstring
"""
lol
the kid
at the background
xD
dell vostro 2520
lol im not even one but ok
it's off topic bruh
i just got the book Fluent Python, it looks like a ton load of work that i have to put into it.
thx for recommendation @whole bear
i just got the book Fluent Python, it looks like a ton load of work that i have to put into it.
@severe elm great book
what about the other book i saw on amazon, it's called Python Cookbook
do you have any review on that one?
hi,
need help for this code, "timeframe" is a variable but where to put ?
this is the beginning of the code
Day 1 - Install Python 3.8
In 30 Days of Python, I'll teach you the fundamentals of Python. We created this series as an introduction to programming with Python.
Why Python? It's a very popular way to writing computer programs and automations with board applications: SpaceX ...
In this Python Beginner Tutorial, we will start with the basics of how to install and setup Python for Mac and Windows. We will also take a look at the interactive prompt, as well as creating and running our first script. Let's get started.
Mac Install: 1:25
Windows Install: ...
guys i needed help but the topic isnt python
pls tell me which number can you see in this image
i need use nomodeset
@warm fog came back
alright bro
float("56.4 ")
uhh guys i lost my profile pic
array1 = [OrderedDict([('source','source111'),('des','00000'),('ports','tcp'),('access','00000')]),OrderedDict([('source','111'),('des','111'),('ports','u'),('access','00000')])]
array2 = [('acountname111','source111'),('acountname222','source222'),('acountname333','source333')]
for i in range(len(array1)):
print array1[i]['department']
[]
["departtment"]
for array1_item in array1:
i = 0
print(array1_item['department'])
print(array2[i]['department'])
array2 = { "A": "true", "B": "false", ...}
if i1["department"] in array2:
adict = { line[0]: v[1] for line in db_lines }
array2 = { "A": ("true", "room1"), "B": ("false", "room2") }
array2["B"][1]
[ins] In [10]: array1
Out[10]:
[OrderedDict([('source', '00000'),
('des', '00000'),
('ports', 'tcp'),
('access', '00000')]),
OrderedDict([('source', '111'),
('des', '111'),
('ports', 'u'),
('access', '00000')])]
print array1[0]['source']
for i2 in array2:
print(i2[1])
for row in array1:
print row
#prints out each tuple in array2
for item in array2:
print item
for i1 in array1:
for i2 in array2:
if i1["source"] == i2[1]:
print(i2[0])
acountname111
37 * 10^3 x 10^2
account_by_source = { x[1]: x[0] for x in array2 }
{'111': 'acountname111', '222': 'acountname222', '333': 'acountname333'}
for i1 in array1:
if i1["source"] in account_by_source:
print(account_by_source[i1["source"]])
O(n2) - O(n)
60 * 60 * 24 = 86400
10^5 = 100,000
10^9 records
10^4 records a second
who is building a stock market app lol
i still have a whole 600pages to read for that hshsh
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...
osdev
@wispy idol How many languages you're proficient at?
snakemake
Sylabs.io
Here you can find all the documentation for Singularity, with guides and examples.
singularity build R.simg docker://R:latest
singularity exec R.simg R --vanilla
alias R="singularity exec R.simg R --vanilla"
R scripot.R
I analyze a dataset of WineEnthusiast ratings as an example of statistical modeling and machine learning in R, performed without looking at the data in advance. This includes fitting a linear regression to predict wine ratings based on price, country, and taster, and then usin...
echo "foo" \
| grep -v bar \
> tmp/t.txt
Ken Thompson added the pipe() system call and pipes to the shell and several utilities in Version 3 Unix. "The next day", McIlroy continued, "saw an unforgettable orgy of one-liners as everybody joined in the excitement of plumbing."
import sqlite3
import csv
# connect to the database
conn = sqlite3.connect("D:\Documents\SQLite\Reportal.db")
c = conn.cursor()
c.execute("SELECT * FROM customers_feedback")
data = c.fetchall()
conn.close()
# Defines the perser - this is parser is going to write text into a file
parser = argparse.ArgumentParser(description="Creates reports in CSV format")
# Define arguments
parser.add_argument("table", help="Table where you want to create the report on")
parser.add_argument("path", help="Provide a path to save report")
# after all being parsed, args object is available
args = parser.parse_args()
with open("customer_feedback.csv", "w", newline="") as customer_feedback:
customer_f = csv.writer(customer_feedback)
customer_f.writerow([key[0] for key in c.description])
customer_f.writerows(data)```
What does the voice channel AFK mean?
did discord just crash?
@severe elm cloudflare outage
yeah i already read something about cloudflare weird
@woven dune
@woven dune
[None, None, None, None, None, None, None, None, None, None, None, None, None, None, Non
e, None, None, None, None, None, None, None, None, None, None, None, None, None, None, N
one, None, None, None, None, None, None, '1', '!', '2', '@', '3', '4', '$', '5', '%', '6
', '^', '7', '8', '*', '9', '(', '0', 'q', 'Q', 'w', 'W', 'e', 'E', 'r', 't', 'T', 'y',
'Y', 'u', 'i', 'I', 'o', 'O', 'p', 'P', 'a', 's', 'S', 'd', 'D', 'f', 'g', 'G', 'h', 'H'
, 'j', 'J', 'k', 'l', 'L', 'z', 'Z', 'x', 'c', 'C', 'v', 'V', 'b', 'B', 'n', 'm', None,
None, None, None, None, None, None, None, None, None, None, None, None, None, None, None
, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
@woven dune @whole bear https://www.youtube.com/watch?v=RnqAXuLZlaE
Funny Video based on the Microsoft .net platform And Java...Watch and share it.Love by every computer engineer...
Cast And Crew:
From The Acclaimed Director Javatar and .NOT:
Eddie Larrison Scala Johansson
William Windows
Mona Lisa Hardrive
Lenny Linux
^^ Awesome!!!
ok
later maybe
lol ok cool
hadeez
@whole bear
@wispy idol my mic is not working
give a min
nah i will try again and if it's not working i will switch to my mobile earphones
@woven dune I've recenlty worked with mido, I believe something like this could solve the problem "How to convert midi files to keypresses"
from mido import MidiFile
keys = {
"40":"A",
"msg.note":"key you want pressed"
}
for msg in MidiFile('song.mid'):
print(keys.get(msg.note))
@somber heath ü
Wise words from 'Yes, Minister' and 'Yes, Prime Minister'.
@scenic wind https://en.wikipedia.org/wiki/Monty_Hall_problem
googol
Get 2 Months Free On Skillshare: https://skl.sh/improvementpill5
Join The Mailing List For The Habit Builder Challenge:
http://improvementpill.net/programs
A lot of people ask me questions about how to stay/be/get motivated. Today I'll tell you about a very interesting study ...
Hi there, there's a way to save console output to a variable AFTER is all printed? Thx 😄
Kea
@whole bear https://pypi.org/project/PyPDF2/
check this out https://www.reddit.com/r/programming/comments/cth6f9/realtime_voice_cloning_clone_a_voice_in_5_seconds/
pneumonoultramicroscopicsilicovolcanoconiosis
aibohphobia
A Santa lived as a devil at NASA
forsenSD
pneumonoultramicroscopicsilicovolcanoconiosis ty for a nice word
@graceful grail lol
b

import requests
from bs4 import BeautifulSoup
from csv import writer
from unidecode import unidecode
response = requests.get('https://www.cvbankas.lt/darbo-pasiulymai-programuotojams-it-specialistams')
soup = BeautifulSoup(response.content, 'html.parser', from_encoding='utf8')
posts = soup.find_all(class_='list_article')
with open('posts.csv', encoding='utf-8', mode='w') as csv_file:
csv_writer = writer(csv_file)
headers = ['Title', 'Linkš', 'Date']
csv_writer.writerow(headers)
import requests
from bs4 import BeautifulSoup
from csv import writer
response = requests.get('https://www.cvbankas.lt/darbo-pasiulymai-programuotojams-it-specialistams')
soup = BeautifulSoup(response.content, 'html.parser', from_encoding='utf8')
posts = soup.find_all(class_='list_article')
with open('posts.csv', encoding='utf8', mode='w') as csv_file:
csv_writer = writer(csv_file)
headers = ['Title', 'Linkš', 'Date']
csv_writer.writerow(headers)
import numpy as np
lst = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
x = np.array_split(lst, 5)
print(x[0])
Hi guys! The output of the above code is [1 2]. Shouldnt it be [1, 2]?
import numpy as np
lst = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
x = np.array_split(lst, 5)
new_x = list(x)
print(new_x)
@flat heart

Sorry can't use my microphone.
Greetings
Greeting
does anyone know how to type like this ]
@severe pulsar is it how you typed this? https://discordapp.com/channels/267624335836053506/412357430186344448/735111367505346641
length = len(people)
for i in range(length):
minimum = i
for j in range(i+1,length):
if people[minimum]["Age"] > people[j]["Age"]:
minimum = j
result = people[i]
people[i] = people[minimum]
people[minimum] = result```
`def youngest(peoples):
minimum = 100
for people in peoples:
if(people["age"] < minimum):
minimum = people["age"]
names_arr = []
for people in peoples:
if(people["age"] == minimum):
names_arr.append(people["name"])
return names_arr
`
`def youngest(peoples):
minimum = 100
for people in peoples:
if(people["age"] < minimum):
minimum = people["age"]
names_arr = []
for people in peoples:
if(people["age"] == minimum):
names_arr.append(people["name"])
return names_arr`
@unreal zinc It working here
Can you test ?
does anyone know how to type like this ]
@loud rapidssure
gruesome
hate = []
try:
hate = []
hate[4]
except:
print("Too long of a length")
@dawn flower where r u from ?
🙂
noice
help me with my hello world in vscode
@dawn flower
helpppp
look
yeah
idk how to program
~tho
im 13 : )
yeah
lemme run on terminal
how much is the book ?
lol
what do u guys use
my pc is fucked
import *
i cant close vscode
go to stackoverflow
oh noice
u fucked up my vscode
xD
hahhaa
jk
lemme delete
system 32
ok u use python the app from the site or other
@dawn flower
: (
so
u got the app
exe
from site
yeah?
PYTHON
app
do u use it
or u use other progem
program
why the fuck i cant open
my pc is rlly fucked up
help
i cant upen python
yeah
ill try
Yeah
rip
reboot
whats the command
in cmd
to reboot
well
fuck
i cant open thatº
aaaaaaaaaaaaaaaaaaaaaaa
yeah
it doesnt open 😦
wtf
ill be right back
cool

see ya
yay
yeha
i wanna learn how 2 code
do everything there
i wanna do a
gui calculator
@whole bear
how do u jailbrek tho
im on ios 14
tho
well
im on woindoes
iphone
7
how do i sdo it
oooooooooooooohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
?
how do i sdo it
@whole bear this
A team of NASA scientists and engineers are using Summit, the world's fastest supercomputer at Oak Ridge National Laboratory (ORNL), to simulate retropropulsion using NASA’s FUN3D, a computational fluid dynamics simulation library. The amount of data produced during this simul...
import requests
r = requests.get('https://github.com/timeline.json')
r.json()
import subprocess
response = subprocess.check_output(['curl', '-s', baseURL % page_num])
@somber heath nginx
my mics broken unfortunately
@somber heath
its pronounced trying to be a stoic
although the beast part is pretty cool
HipHop for PHP (HPHPc) is a discontinued PHP transpiler created by Facebook. By using HPHPc as a source-to-source compiler, PHP code is translated into C++, compiled into a binary and run as an executable, as opposed to the PHP's usual execution path of PHP code being transfo...
@fossil pebble There is https://keepassxc.org/ which is open source, cross platform and saves your password locally encrypted
so you think it is trustable
i have a problem about trusting internet sorry but i wont use it
i think movies affected me badlyy:D
I understand
hello anyone have a tip to learn python ?
So there are better algorithms and this doesn't add salt but here is the basic idea:
I'm afraid to speak on the call
import hashlib
password = 'pa$$w0rd'
h = hashlib.md5(password.encode())
print(h.hexdigest())
Developers Security Best Practices
'Developers Security Best Practices' is a bullshit-free, developers friendly, open-source reference of best practices for avoiding vulnerabilities.
#!/usr/bin/env python3
import bcrypt
passwd = b's$cret12'
salt = bcrypt.gensalt()
hashed = bcrypt.hashpw(passwd, salt)
print(salt)
print(hashed)
Python bcrypt tutorial shows how to hash
passwords in Python with the bcrypt library. It defines basic terms including
encryption, hashing, and salt.
@still silo Don't use MD5 lol
I'd recommend Argon2 personally - https://passlib.readthedocs.io/en/stable/lib/passlib.hash.argon2.html
Nice talk from you guys, see ya
Hi
is codetogheter
this looks really good i'm going to have look at it right now
@severe elm ur mic is on, can u please put it off if u r not in codetogheter
Thanks
@whole bear there is a discussion going on for
https://go.codetogether.com/#/ySGZfYyxCs5iNpwSR4EUC7/NsqUp3yiJ9cjAxzWY88k60
@jagged fable ur mic is on, can u please put it off if u r not in codetogheter
Oh I didn't know that. I'm just not at my laptop right now
='=%r;print %%';print %
edX
Access 2000 free online courses from 140 leading institutions worldwide. Gain new skills and earn a certificate of completion. Join today.
@queen folio Codecademy only offers Python 2 for free
3 is something you have to pay for
I didn't know that, I've only used python 2 a few times for specific projects that required it. Do you think the differences in syntax are significant to warrent a different course for beginners? I know it's depricated at this point
@whole bear
I believe Codecademy is useful for other things. Considering Codecademy is $40/month, it's not what I'd recommend for Python. There are better things, such as https://automatetheboringstuff.com
Whereas Automate The Boring Stuff is $39.95, and you own it.
( That's a physical copy and ebook for that price )
@cursive lake Are you asking me?
hmmm
anyone wanna chill-talk?
!ping
could someone pls help with dis? https://paste.pythondiscord.com/latatojufa.py
i hav been having some trouble with the turtle module
File "/Users/strangerswing53/mu_code/Part B Assess.py", line 38
^
SyntaxError: unexpected EOF while parsing
wn.bgcolor ("white")
pen.color ("black")
penup()
goto (-375, -300)
pendown()
right (-90)
forward (100)
left (45)
import turtle
pen = turtle.Turtle()
wn = turtle.Screen()
wn.setup(width=600, height=600)
!ping
sqlite3.OperationalError: foreign key mismatch - "question" referencing "quiz"
@blazing ridge can you help me ?
sql
umm do yall
vec = tuple((b-a)**2 for a,b in zip(p,q))
mag = sum(vec)
return tuple(v/mag for v in vec)```
sum(abs(a - b) for a, b in zip(A, B))
numpy.linalg.norm((a - b), ord=1)
@feral yoke
sup
hahah
wotw
Quine
='=%r;print %%';print %
it says this is the easiest quine to make
and if you enter and print it, it will reproduce the exact same code snippet
clippers work really well, you just have to be super careful
Technical description : https://www.nicolasloizeau.com/gol-computer
This is my programmable computer implemented in Conway's game of life computing Fibonacci sequence.
github:
https://github.com/nicolasloizeau/gol-computer
thread:
http://www.conwaylife.com/forums/viewtopic.php...
@somber heath https://9gag.com/gag/a8Gq8AO
@somber heath https://www.youtube.com/watch?v=Oj0LzWjaFpY
Family Guy- British Family Time Family Guy- British Family
🐍
@wispy idol you truly seem so experienced in the field of computer science. How many years have you been in this industry?
brb
backups and recovery are like anesthesia - its easy to put someone down, bringing them back, thats another story
.tor is a pseudo-top-level domain host suffix implemented by the OnioNS project, which aims to add DNS infrastructure to the Tor network enabling the selection of meaningful and globally-unique domain name for hidden services, which users can then reference from the Tor Browser.
+all
`fr = open("/root/top-1m.csv","r")
fw = open("/root/spfOpen.txt","w")
fw2 = open("/root/badDomains.txt","w")
import dns.resolver
line = fr.readline()
while line:
dom = str(line.split(",")[1]).strip("\n")
domain = dom.split(".")
if(len(domain)==2):
try:
answers = dns.resolver.query(dom, 'TXT')
for rdata in answers:
r = rdata.to_text().replace('"','')
if ('v=spf1' in r):
if(r[-4:] == "+all"):
fw.write(str(line.split(",")[1]).strip("\n")+":"+r+"\n")
else:
#print str(line.split(",")[1]).strip("\n")+ ":"+r[-4:]
pass
except:
pass
else:
fw2.write(dom+"\n")
line = fr.readline()
fr.close()
fw.close()`
~all
+all
?all
dmarc
ip
my internet
is not working
😥
@mighty beacon where did you go
Given nums = [0,0,1,1,1,2,2,3,3,4],
Your function should return length = 5, with the first five elements of nums being modified to 0, 1, 2, 3, and 4 respectively.
It doesn't matter what values are set beyond the returned length.
Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory.
brb
convert this to dictionary or set
path = u"path"
driver = webdriver.Chrome(executable_path= C://İİİİİÖÖÖÖ)
driver 3=D webdriver.Chrome(executable_path= C://İİİİİÖÖÖÖ)
base64
C:\Users\KETENCİ\Desktop\Python\16_Selenium\chromedriver.exe
r"C:\Users\KETENCİ\Desktop\Python\16_Selenium\chromedriver.exe"
"C:\Users\KETENCİ\Desktop\Python\16_Selenium\chromedriver.exe"
\\
/
hi
@somber heath my mic stopped working sorry http://svtsim.com/moonjs/agc.html
@wispy idol the "bicameral mind"
Acknowledged.
Bicameralism (the condition of being divided into "two-chambers") is a hypothesis in psychology that argues that the human mind once operated in a state in which cognitive functions were divided between one part of the brain which appears to be "speaking", and a second part wh...
consciousness is the thoughts we can remember
state and process
memory and instruction
the von Neumann architecture was the first to merge the two, but if you really want to know how it works in the human mind, I can show you
@wispy idol Samuel A Nastase and James V Haxby (2017) "Structural Basis of Semantic Memory" http://haxbylab.dartmouth.edu/publications/NH+17.pdf
Acquisition of the Algorithms of Social Life: A Domain-Based Approach, by D. Bugental (2000) https://pdfs.semanticscholar.org/5e69/9343b1488277f7f0f08c4eef88ab6216b530.pdf see Table 1 on p. 192.
this is from the first of the two pdf files above
The Loebner Prize is an annual competition in artificial intelligence that awards prizes to the computer programs considered by the judges to be the most human-like. The format of the competition is that of a standard Turing test. In each round, a human judge simultaneously ho...
Was it unethical to turn Tay off or should she have had the right to rehabilitation?
@whole bear to answer your question about choking, an eldercare robot might say, "if you are choking, please touch your throat" or such. It is not an insurmountable problem in general, but it's vast. Harder than self-driving cars trying to park. Not as hard as uploading people.
@whole bear The Singularity Trap - Denis E. Taylor
About as hard as folding laundry.
consciousness is the thoughts we can remember
[2:01 PM]
Vascular vibrations are several orders of magnitude larger than the neural microtubules determining neuron and thus brain response.
Neurons do not encode information at the level of which we are conscious. "Voxels" are the collections of neurons identified as self which survive the replacement of any or perhaps all of their component neurons.
@wispy idol ^
My cellphone makes me a cyborg. My automobile is an exoskeleton. My hoist commuting from the curbside gives me a wider variety of public transportation options.
May 21 (Bloomberg) --- Part-truck, part-helicopter, the Black Knight Transformer can travel at 70 mph on the ground and then hover thousands of feet in the air. The modular hybrid can carry cargo or wounded soldiers from the front line. Here is what the Black Knight's first su...
@whole bear what do you think of Cells Alive System supercooling vitrification freezers? https://www.youtube.com/watch?v=fehdWAefXWw
The supplier said it was not possible to super cool water in the rig we had, but we are so stubborn we did it anyways :)
This is a bottle of store bought water chilled down to -8.2 celcius without freezing...
the water does not freeze until we disrupt the molecular flow of...
Nature makes data. Humans made Python.
We can leverage the forces of nature to optimize the production of epidemiologists interested in maximizing the total years of productive and enjoyable life. https://www.youtube.com/watch?v=tSx_UywxF6o
Animated short film about the interstellar colony with Bussard ramjet.
Story, design and animation - Maksim Lushchyk
Habitat design - Steve Summerford
Sound - Daniil Koronkevich
(c) Condenser Labs for The Polytechnic Museum (Moscow)
If you're in a simulation, nothing matters. But you still need to consider the possibility that you aren't.
Most people want to achieve immortality by not dying. I'm into gene therapy and supercooling vitrification freezers.
After careful deliberation, the Board has decided that we are no longer hierarchical.
95.3% p<0.046
The impossible is strictly forbidden.
If time ran backwards I could make a million in the futures markets.
The internet was created by the telex system, which was created by tickertape.
vint cerf
@buoyant ember correct
if protein folding was good enough to create the internet in 1973, then why aren't you asking your legislators to require bitcoin be converted to curcoin?
https://arxiv.org/pdf/2007.07789.pdf is the first instance of the use of population statistical mechanics to prescribe specific and quantatative "ways to stop the pandemic" (that I've seen, anyway)
it's based on Brauer et al. (2019) "Simple compartmental models for disease transmission." In Mathematical Models in Epidemiology, pp. 21–61: https://link.springer.com/chapter/10.1007%2F978-1-4939-9828-9_2(edited)
from the "ways to stop the pandemic" paper abstract: "decreasing contact rate by 10%, or increasing testing by approximately 15%, or doubling lockdown compliance (from the current ∼ 15%) will eradicate infections in Texas within a year."(edited)
That's good news. Doing 10% or 15% better seems feasible.
It seems like increasing testing by a whole lot more than 15% is within reach. I hope we get an over-the-counter home test soon.
brb 10-20 mins ttyl nice conversation!
bot
@ruby wind
for i in dict:
eval(f"{i} = {dict[i]}")
terrible hacky
exec(f"{i} = par[{i}][1]")
d = {
"a": "a",
"b": "b"
}
for i in d:
exec(f"{i} = '{d[i]}'")
print(a)
print(b)
exec(f'{i} = par["{i}"][1]')
exec(f'{i} = "{par[i][1]}"')
{i} = par["{i}"][1]
hi = par["hi"][1]
hi = par["hi"][1]
parameters = {
"vbr" :[V, round(r(0, 100)) ],
"abr" :[V, round(r(0, 100)) ],
"earrape" :[V, round(r(0, 100)) ],
"deepfry" :[V, round(r(0, 100)) ],
"speed" :[V, r(1, 4) / 2 if itr == 0 else 1 ],
"timecode" :[V, round(r(1, 5)) ],
"bass" :[V, round(r(0, 100)) ],
"shuffle" :[V, None ],
"toptext" :[S, "me" ],
"bottomtext" :[S, "when" ],
"wscale" :[S, int(r(1, 5)) if itr == 0 else None],
"hscale" :[S, int(r(1, 5)) if itr == 0 else None],
"topcaption" :[S, round(r(0, 100)) ],
"bottomcaption":[S, round(r(0, 100)) ],
"threshold" :[V, round(r(0, 100)) ],
"hue" :[V, round(r(0, 100)) ],
"hcycle" :[V, round(r(0, 100)) ],
"hypercam" :[V, True ],
"bandicam" :[V, True ],
"normalcaption":[S, round(r(0, 100)) ],
"cap" :[S, round(r(0, 100)) ],
"reverse" :[V, True ],
"playreverse" :[V, int(r(1, 3)) if itr == 0 else None],
"datamosh" :[V, int(r(0, 100)) ],
"stutter" :[S, "50.1.1.1" ],
"ytp" :[V, int(r(1, 2)) ],
"fisheye" :[V, int(r(1, 2)) ],
"clonemosh" :[V, int(r(1, 5)) ]
}
@ruby wind
import fake_db
def test_function():
par = fake_db.getData()
for key in par:
globals()[key] = par[key][1]
print(toptext)
test_function()
globals. That's a new thing for me.
Developer Community for Visual Studio Product family
vcpkg
hi I need some helo
@ruby wind I wouldn't use exec() or eval() on anything. That's a pretty good way of executing random code that could ruin everything.

wrong channel, but no worries \o/
File "c:/Users/kalat/OneDrive/Documents/Abadoned/outlook_generator.py", line 1, in <module>
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
hi guys
@vestal halo bhosdike tu idhar kya kar raha hai
pehle tu bata bc
mein toh bahut time se hoon
!rule 4 folks
4. This is an English-speaking server, so please speak English to the best of your ability.
Missing required argument pep_number.

77
total=0
for line in file.readlines():
total += float(line.split(' ')[1].strip('\n'))```
#Use the file name mbox-short.txt as the file name
fname = input("Enter file name: ")
fh = open(fname)
count=0
total=0
count=float(count)
for line in fh:
if not line.startswith("X-DSPAM-Confidence:"): continue
print(line)
with open('fh', 'r') as file:
total=0
for line in file.readlines():
total += float(line.split(' ')[1])
for line in fh:
if line.startswith('X-DSPAM-Confidence:'):
count=count+1
print('There are', count, 'lines of code.')```
real html documentation: https://tools.ietf.org/html/rfc7992
@fossil pond
Muse
Muse’s 7 finely calibrated sensors – 2 on the forehead, 2 behind the ears plus 3 reference sensors – detect and measure the activity of your brain.
With 5G upon us, there are tons of worries and controversies around it. Is 5G dangerous?
Go to http://BuyRaycon.com/electroboom for 15% off your first order! Brought to you by Raycon.
Support ElectroBOOM: http://patreon.com/electroboom
Checkout my merch: http://teespring.com/...
so many finger prints
Yeah, easy for FBI to track you
The govt. cannot track you on telegram
yes @somber heath
i have
CSS]
@modest merlin c#7227
.auto {
image-rendering: auto;
}
.pixelated {
-ms-interpolation-mode: nearest-neighbor;
image-rendering: pixelated;
}
.crisp-edges {
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}
hey amit shah
@vestal halo tu vc par kya kar raha hai madarchod
talk in english man
this is an english speaking server
🤣
itni english nahi aati mujhe
@vestal halo
aur @vestal halo tu bata kya haal chal
koi kuch nahi karega hindi mein type karle
you are in europe and dont know english
@vestal halo bruh
tuj se zyaada english aati hai
i am just being humble
@vestal halo ^^
@vestal halo sup man
just joking man
somebody gave a shit yesterday morning
thats why i am talking in english
you can see the chats
was he/she a mod??
i dont know but maybe
toh gaand maro bsdk
😆
man everybody here starts to speak in their native language here
lol
man you are a living troll
it mean shut up idiot!
😉
@whole bear I was just jokin' man
chill
@whole bear ^^
umm
dizzy bro dont just start a fukkin battle here !!
@whole bear sorry for that bro, I was just pullin' your leg!
@vestal halo do min, rukh vc mein aake dekhta hoon ki kya bhosdikpan ho raha hai
yep sup
now blabber your shit in the chat
yo man dizzy speak something
kya haal hai
@whole bear damn do you know hindi lol
haha lukas
its not meme server its some serious stuff
@vestal halo bro i can be serious, very serious. sadly, idgaf rn
mat kar idhar bhosdike
be honest
chillerz mein bataunga randi
come to chillers now
@vestal halo I am back






