#voice-chat-text-0

1 messages · Page 608 of 1

jade storm
little ridge
#

Prevention of Vice

little ridge
#

Rostam (Persian: رستم‎ [rosˈtæm]) is a legendary hero in Persian mythology, the son of Zāl and Rudaba, whose life and work is described in the epic poem Shahnameh. In Shahnameh, Rostam and his predecessors are Marzbans of Sistan (present-day Iran and Afghanistan). Rostam is be...

#

I suffered a lot, this year I revived thirty non-Arabs to this Persian

still silo
cobalt mantle
#

really cool thx

still silo
cobalt mantle
#

white faceeeeee

still silo
#

yeah is that politically correct? not sure 🙂

cobalt mantle
#

its on yt so it must be

plain dagger
#

dont care about that

#

(as a POC most of us dont really care about that politcally correctness on race lmao)

#

its just comedy

cobalt mantle
#

hes funny

still silo
#

AND I AM BARON HELMUT... SCHNITZELNAZI - lolz

cobalt mantle
#

hes acting like they are vampires... and here is this cat toy!

still silo
#

lolz bbiab

junior kayak
#

HELLO

#

anybody no any java

#

btw i know it is a python server but ther is no java server

foggy sonnet
#

@junior kayak yea Ik quite a bit

junior kayak
#

so there is this question i don't really undertand

#

can u help me out

foggy sonnet
#

Yea if I can I will...

whole bear
glass vector
#

@whole bear arl did basics

#

like simple baiscs

still silo
#
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')
oak dagger
#

date_rng = pd.date_range(start ='01/06/1981', end='01/12/2019'
freq='Q')

still silo
#

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)
oak dagger
#

@still silo i think you got moved to afk channel buddy

still silo
#

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

jolly slate
#

Hello, how does this voice chat works

#

I really need to make chat, talk about my python problems i faced

foggy sonnet
#

Better than this voice chat 😅

dawn flower
#

4000

dusty rune
#

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

willow drift
#

you need help with flask? I can speak polish as well

dusty rune
#

no

#

flask works perfectly

#

the windows service doesn't

#

it always throws 1053 timeout error

willow drift
#

huh I never tried running anything as service with windows so I cant help

dusty rune
#

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

wise cargoBOT
#

: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).

molten plaza
#

That's what happens when you formulate your sentences in height

dusty rune
#

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

#

¯_(ツ)_/¯

dawn flower
#

ok ok

dusty rune
#

@fossil pebble u use pycharm?

dusty rune
#

what? why?

dusty rune
#

maybe change your path to point to other executable

#

xddd

#

or you can just set python interpreter in pycharm to global one

dawn flower
dusty rune
#

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

whole bear
#

notepad++

fossil pebble
whole bear
#

WINDOWS + V

fossil pebble
#

w

wind folio
#

v

#

what are you guys talking about

fossil pebble
willow drift
whole bear
wise cargoBOT
wind folio
#

how do i paste

#

python file

molten plaza
#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

wind folio
#

!paste

fossil pebble
wind folio
#

are you guys actually ddos-ing a website

fossil pebble
#

maybe

#

perhaps

dusty rune
#

( ͡° ͜ʖ ͡°)

willow drift
#

don't tell anyone

fossil pebble
#

just do it

wind folio
#

which website

#

i want to see

#

do it

fossil pebble
molten plaza
wind folio
wind folio
#

xD

whole bear
wind folio
#

df

#

is that dude also imagining

dawn flower
#

df -h

willow drift
#

fork bomb^

fallen plinth
#

Hey guys, We'd rather you don't go around pasting fork bomb codes regardless of what warnings you give

fossil pebble
#

alright you are right

dawn flower
#

@fallen plinth You deleted my coded but it wasn't a fork bomb! It was a scrapper script 😦

fallen plinth
#

Unfortunate casualty caught in the crossfire

fossil pebble
#

@fallen plinth come to vchat

fallen plinth
#

I'm good

dawn flower
#

pls

fossil pebble
dawn flower
#

@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 =

ripe patio
#

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

dawn flower
ruby wind
still silo
#

git add <directory>

#

git status

#

git add --all <dir>

nova berry
#

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

still silo
#

git commit -m "Update"

#

git push

#

rm -r *

#

local-repo -> working-dir -> git add -> git commit -> git push -> github-repo

willow drift
#

*maybe you didn't do git add

ruby wind
#
git clone <repo>
git into the local repo
make changes
$git add .
$git commit -m  "some message"
$git push
still silo
#

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

▶ Play video
dawn flower
whole bear
dawn flower
#

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")
whole bear
ruby wind
#

abc+d.*?(abc+d)

still silo
#
[ins] In [9]: import re; s = "foobar foobaz foobop foobear"; re.findall(r"foo[^\s]+\s+(foo[^\s]+)", s)
Out[9]: ['foobaz', 'foobear']
ruby wind
dawn flower
#

/^(([^<>()[]\.,;:\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,}))$/

still silo
ruby wind
#

([^"]h[^"])

whole bear
#

recursion

severe elm
#

you get those images with recursion man

whole bear
#

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

severe elm
#

hey what are advanced python topics i can learn?

ruby wind
#

uh

#

multithreading

#

GUI stuff

#

uhhh

severe elm
#

i learned like the basics and then started doing other stuff, so i want to get back to python

ruby wind
#

idk its kinda a wide topic

#

make a game

severe elm
#

yeah multithreading i know

ruby wind
#

make pacman

whole bear
#

If you want to learn Python itself really well, look into books like Fluent Python

clever copper
#

ai and machine learning

whole bear
#

And David Beazley talks

severe elm
#

gui, i have read some stuff about how you use tkinter

#

so there is nothing else besides multithreading and gui?

whole bear
#

Fluent Python is not for beginners, though. It's an intermediate level book.

jolly slate
#

Fluent python Second edition?

whole bear
#

Next year

#

February 9, I think

severe elm
#

is anyone using django as backend framework?

#

i'm also reading a book on that

whole bear
#

Yeah, it's pretty nice

#

There's a book called two scoops of django, but it's for an older version

severe elm
#

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

ruby wind
#

i think slight porformance gains but idk

whole bear
#

I enjoy programming in Python more than in js

severe elm
#

aight

#

i just see the majority using js

whole bear
#

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

jolly slate
#

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?

still silo
#

maybe run one with a & - like command1 & command2 - that will run first in background then run second

jolly slate
#

in the Dockerfile or in a script?

still silo
#

technically it would be preferable to run one in one container and one in another but for just "getting it working" that would work

#
        with open(cache_fname, 'wb') as f:
            pickle.dump(db, f)
#
   with open(cache_fname, 'rb') as f:
        db = pickle.load(f)
wind folio
#

hello

wind folio
#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

still silo
#
def main(argv):
   do_something...

if __name__ == "__main__":
    main(sys.argv)
wind folio
#

dunder

#

pycharm

#

im from india

#

:)

#

"""wasd
wasd
wasd"""

still silo
#
docstring = """
Here 
Is a 
Docstring
"""
wind folio
#

lol

#

the kid

#

at the background

#

xD

#

dell vostro 2520

versed sapphire
#

it's off topic bruh

wind folio
#

sorry

#

my bad

severe elm
#

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

cobalt mantle
#

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

severe elm
#

what about the other book i saw on amazon, it's called Python Cookbook

#

do you have any review on that one?

whole bear
#

hi,

#

need help for this code, "timeframe" is a variable but where to put ?

#

this is the beginning of the code

jolly slate
molten rose
#

dude atcha talkin

#

dooooooooood

wind folio
#

guys i needed help but the topic isnt python

little ridge
#

i need use nomodeset

clear sparrow
clear sparrow
#

@warm fog came back

warm fog
#

alright bro

clear sparrow
#

float("56.4 ")

wind folio
#

uhh guys i lost my profile pic

clear sparrow
#

</>

#

``

nocturne scaffold
#
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']
clear sparrow
#

[]

#

["departtment"]

#

for array1_item in array1:
i = 0
print(array1_item['department'])
print(array2[i]['department'])

still silo
#
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]

nocturne scaffold
still silo
#
[ins] In [10]: array1
Out[10]: 
[OrderedDict([('source', '00000'),
              ('des', '00000'),
              ('ports', 'tcp'),
              ('access', '00000')]),
 OrderedDict([('source', '111'),
              ('des', '111'),
              ('ports', 'u'),
              ('access', '00000')])]
nocturne scaffold
#

print array1[0]['source']

still silo
#
for i2 in array2:
    print(i2[1])
nocturne scaffold
#
for row in array1:
    print row
   
#prints out each tuple in array2
for item in array2:
    print item
still silo
#
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

cobalt mantle
severe elm
#

who is building a stock market app lol

#

i still have a whole 600pages to read for that hshsh

jovial meadow
dim wagon
#

osdev

jovial meadow
jovial meadow
urban haven
#

@wispy idol How many languages you're proficient at?

still silo
#

snakemake

#

singularity build R.simg docker://R:latest

#

singularity exec R.simg R --vanilla

#

alias R="singularity exec R.simg R --vanilla"

#

R scripot.R

whole bear
still silo
#
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."

stoic shale
#
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)```
warm fog
jolly slate
whole bear
#

What does the voice channel AFK mean?

wispy idol
severe elm
#

did discord just crash?

wispy idol
#

@severe elm cloudflare outage

severe elm
#

yeah i already read something about cloudflare weird

whole bear
#

@woven dune

woven dune
wispy idol
#

@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]
graceful grail
#

^^ Awesome!!!

severe pulsar
#

beautiful

#

by the way @earnest crag is a 10x dev

severe elm
#

ok

severe pulsar
#

@severe elm

#

come back

#

PLEEEEEAAASE

severe elm
#

later maybe

severe pulsar
#

lol ok cool

wind folio
#

hadeez

severe pulsar
severe elm
#

@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

severe elm
willow drift
#

@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))
wispy idol
#

@somber heath ü

gleaming geyser
#

Hi @wispy idol

#

How are yo

somber heath
wispy idol
#

The Monty Hall problem is a brain teaser, in the form of a probability puzzle, loosely based on the American television game show Let's Make a Deal and named after its original host, Monty Hall. The problem was originally posed (and solved) in a letter by Steve Selvin to the A...

lean onyx
#

googol

severe elm
dim wagon
lost sapphire
#

Hi there, there's a way to save console output to a variable AFTER is all printed? Thx 😄

somber heath
#

The Australian magpie (Gymnorhina tibicen) is a medium-sized black and white passerine bird native to Australia and southern New Guinea. Although once considered to be three separate species, it is now considered to be one, with nine recognised subspecies. A member of the Arta...

somber heath
#

Kea

wispy idol
whole bear
lean onyx
graceful grail
#

pneumonoultramicroscopicsilicovolcanoconiosis

wispy idol
#

aibohphobia

lean onyx
#

A Santa lived as a devil at NASA

echo hollow
#

forsenSD

clear sparrow
#

pneumonoultramicroscopicsilicovolcanoconiosis ty for a nice word

#

@graceful grail lol

whole bear
#

b

clear sparrow
clear sparrow
whole bear
#
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)
dawn flower
#
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)
whole bear
dawn flower
whole bear
flat heart
#
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]?

severe pulsar
#
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

olive plover
#

Hello bros!

#

@everyone

astral igloo
shadow flare
#

Sorry can't use my microphone.

wheat oar
#

@south dew

#

why am I not surprised lol

south dew
#

Hohoh

#

Greetings

wheat oar
#

Greetings

honest cipher
#

Greeting

loud rapids
#

does anyone know how to type like this ]

flint narwhal
#
    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```
unreal zinc
flint narwhal
#

I cant use itemgetter() or lambda

#

big lols from my professor

unreal zinc
#

`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

`

flint narwhal
unreal zinc
#

`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 ?

severe pulsar
#

does anyone know how to type like this ]
@loud rapids sure

whole bear
gilded rivet
#
gilded rivet
turbid oyster
gilded rivet
gilded rivet
gilded rivet
#

gruesome

gilded rivet
#

hate = []
try:
hate = []
hate[4]
except:
print("Too long of a length")

dawn flower
whole bear
#

@dawn flower where r u from ?

#

🙂

#

noice

#

help me with my hello world in vscode

#

@dawn flower

dawn flower
#

print("goodbye world")

#

print "goodbye world"

whole bear
#

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

whole bear
#

my pc is fucked

dawn flower
#

import *

whole bear
#

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

gilded rivet
#

Yeah

whole bear
#

u guys fucked my pc

#

: )

#

hahaº

#

xD

#

and then booom tf

#

wtf

#

i cant

severe pulsar
#

rip

whole bear
#

reboot

#

whats the command

#

in cmd

#

to reboot

#

well

#

fuck

#

i cant open thatº

#

aaaaaaaaaaaaaaaaaaaaaaa

#

yeah

#

it doesnt open 😦

#

wtf

#

ill be right back

severe pulsar
#

cool

whole bear
severe pulsar
#

see ya

whole bear
#

never

#

click

#

many times

#

on discord

#

is this it?

#

omgggggggg

#

looookkk

severe pulsar
#

yay

whole bear
#

ehat should i do now?

#

yeah

dawn flower
#

what should you do now?

#

uhhhh

whole bear
#

yeha

dawn flower
#

idk?

#

what are you trying to do nnow?

whole bear
#

me dont know too

#

idk

dawn flower
whole bear
#

i wanna learn how 2 code

dawn flower
#

do everything there

whole bear
#

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

severe pulsar
#

ping him

#

he'll tell you lmao

whole bear
#

?

severe pulsar
#

how do i sdo it
@whole bear this

dawn flower
dawn flower
#
import requests
r = requests.get('https://github.com/timeline.json')
r.json()
#
import subprocess
response = subprocess.check_output(['curl', '-s', baseURL % page_num])
wispy idol
#

@somber heath nginx

flat heart
#

my mics broken unfortunately

#

@somber heath

#

its pronounced trying to be a stoic

#

although the beast part is pretty cool

still silo
#

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

still silo
real arch
fossil pebble
#

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

real arch
#

I understand

blazing ridge
#

hello anyone have a tip to learn python ?

still silo
#

So there are better algorithms and this doesn't add salt but here is the basic idea:

blazing ridge
#

I'm afraid to speak on the call

still silo
#
import hashlib
password = 'pa$$w0rd'
h = hashlib.md5(password.encode())
print(h.hexdigest())
fossil pebble
still silo
#
#!/usr/bin/env python3

import bcrypt

passwd = b's$cret12'

salt = bcrypt.gensalt()
hashed = bcrypt.hashpw(passwd, salt)

print(salt)
print(hashed)
whole bear
#

@still silo Don't use MD5 lol

real arch
#

Nice talk from you guys, see ya

analog urchin
#

Hi

severe elm
#

w8 what is this link

#

??

#

@pearl ocean

pearl ocean
#

is codetogheter

hybrid compass
severe elm
#

this looks really good i'm going to have look at it right now

hybrid compass
#

@severe elm ur mic is on, can u please put it off if u r not in codetogheter

#

Thanks

#

@jagged fable ur mic is on, can u please put it off if u r not in codetogheter

severe elm
#

Oh I didn't know that. I'm just not at my laptop right now

queen folio
#

='=%r;print %%';print %

#
whole bear
#

@queen folio Codecademy only offers Python 2 for free

#

3 is something you have to pay for

queen folio
#

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

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
#

adobe premerir pro

#

have you ever use?

whole bear
#

@cursive lake Are you asking me?

clever mortar
#

hmmm

slender wolf
#

anyone wanna chill-talk?

hearty junco
#

Anyone waana play battleship?

#

In #bot-commands

#

??

next surge
#

!ping

faint crater
#

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)

hearty junco
#

!ping

pearl ocean
#

sqlite3.OperationalError: foreign key mismatch - "question" referencing "quiz"

#

@blazing ridge can you help me ?

#

sql

blazing ridge
#

i try to help you

#

hehe

#

sorry again to my english

#

hehe

clever mortar
#

umm do yall

somber heath
#
    vec = tuple((b-a)**2 for a,b in zip(p,q))
    mag = sum(vec)
    return tuple(v/mag for v in vec)```
clear sparrow
#

sum(abs(a - b) for a, b in zip(A, B))

#

numpy.linalg.norm((a - b), ord=1)

#

@feral yoke

#

sup

feral yoke
#

hahah

clear sparrow
#

@solid matrix

solid matrix
#

wotw

severe elm
#

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

silver flint
#

clippers work really well, you just have to be super careful

severe elm
wispy idol
dim wagon
#

The Nokia 1110 and Nokia 1110i are low-end GSM mobile phones sold by Nokia. The 1110 was released in 2005; the 1110i was released in 2006. Both are aimed at first-time mobile phone users. In Nokia's view, the 1110i has the advantage of ease-of-use, reliability and a low pri...

#

A marble is a small spherical toy often made from glass, clay, steel, plastic, or agate. These balls vary in size. Most commonly, they are about 13 mm (1⁄2 in) in diameter, but they may range from less than 1 mm (1⁄30 in) to over 8 cm (3 in), while some art glass marbles for d...

whole bear
dim wagon
#

Daronavo

severe elm
wispy idol
copper stream
#

🐍

copper stream
#

@wispy idol you truly seem so experienced in the field of computer science. How many years have you been in this industry?

still silo
#

magnet is a URI scheme that defines the format of magnet links, a de facto standard for identifying files (URN) by their content, via cryptographic hash value rather than by their location.
Although magnet links can be used in a number of contexts, they are particularly useful...

copper stream
#

brb

still silo
#

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.

dim wagon
#

+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

copper stream
#

😥

median pewter
#

@mighty beacon where did you go

whole bear
#

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.

whole bear
#

brb

wild geyser
#

convert this to dictionary or set

fossil pebble
#

helloooo

#

can someone help me

#

im in the Code/Help chat

dim wagon
#

path = u"path"

fossil pebble
#

driver = webdriver.Chrome(executable_path= C://İİİİİÖÖÖÖ)

whole bear
#

driver 3=D webdriver.Chrome(executable_path= C://İİİİİÖÖÖÖ)

dim wagon
#

base64

fossil pebble
#

C:\Users\KETENCİ\Desktop\Python\16_Selenium\chromedriver.exe

dim wagon
#

r"C:\Users\KETENCİ\Desktop\Python\16_Selenium\chromedriver.exe"

#

"C:\Users\KETENCİ\Desktop\Python\16_Selenium\chromedriver.exe"

#

\\

#

/

somber heath
#

Acknowledged.

lusty marsh
#

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
lusty marsh
#

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

#

Tay was an artificial intelligence chatter bot that was originally released by Microsoft Corporation via Twitter on March 23, 2016; it caused subsequent controversy when the bot began to post inflammatory and offensive tweets through its Twitter account, causing Microsoft to s...

#

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.

wispy idol
#

@whole bear The Singularity Trap - Denis E. Taylor

lusty marsh
#

About as hard as folding laundry.

lusty marsh
#

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.

#

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

▶ Play video
#

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)

▶ Play video
#

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.

#

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.

buoyant ember
#

vint cerf

lusty marsh
#

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!

ruby wind
whole bear
#

what is this for ?

#

@ruby wind

ruby wind
#

bot

wispy idol
#

@ruby wind

for i in dict:
  eval(f"{i} = {dict[i]}")

terrible hacky

ruby wind
#

exec(f"{i} = par[{i}][1]")

wispy idol
#
d = {
    "a": "a",
    "b": "b"
}


for i in d:
    exec(f"{i} = '{d[i]}'")
    
print(a)
print(b)
ruby wind
#

exec(f'{i} = par["{i}"][1]')

wispy idol
#
exec(f'{i} = "{par[i][1]}"')
ruby wind
#

{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))                      ]
        }
wispy idol
#

@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()
ruby wind
somber heath
#

globals. That's a new thing for me.

dim wagon
#

vcpkg

shell bridge
#

hi I need some helo

whole bear
#

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

hybrid compass
errant helm
#

:>

glad loom
#

HECK YEA

#

thanks for the game lmao

#

it was fun

errant helm
#

wrong channel, but no worries \o/

grizzled gate
#

File "c:/Users/kalat/OneDrive/Documents/Abadoned/outlook_generator.py", line 1, in <module>
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'

granite terrace
#

you have to install it

#

pip install selenium

vestal halo
#

hi guys

whole bear
#

@vestal halo bhosdike tu idhar kya kar raha hai

#

pehle tu bata bc

#

mein toh bahut time se hoon

errant helm
#

!rule 4 folks

wise cargoBOT
#

4. This is an English-speaking server, so please speak English to the best of your ability.

olive plover
#

go

#

to code/help

wise cargoBOT
#

Missing required argument pep_number.

somber heath
silver flint
abstract ravine
vestal halo
regal quartz
#

X-DSPAM-Confidence:

#

X-DSPAM-Confidence: 0.6178

whole bear
#

77

fossil pond
somber heath
#
    total=0
    for line in file.readlines():
        total += float(line.split(' ')[1].strip('\n'))```
whole bear
fossil pond
#

`

#

print('hello')




regal quartz
#
#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.')```
fossil pond
regal quartz
wispy idol
edgy cobalt
fossil pond
#

Muse is a wearable brain sensing headband. The device measures brain activity via 4 electroencephalography (EEG) sensors. An accompanying mobile app converts the EEG signal into audio feedback that is fed to the user via headphones. Muse is manufactured by InteraXon, a company...

glad comet
glossy spindle
#

thanks man you just helped me get a new weekend project

#

im just ass at coding

fossil pond
glossy spindle
#

so many finger prints

craggy topaz
#

Yeah, easy for FBI to track you

glossy spindle
#

you get used to it

#

ehhh

craggy topaz
#

The govt. cannot track you on telegram

vestal halo
whole bear
#

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;
}

vestal halo
#

hey amit shah

whole bear
#

@vestal halo tu vc par kya kar raha hai madarchod

vestal halo
#

talk in english man

whole bear
#

namaskar bhen ke

vestal halo
#

this is an english speaking server

whole bear
#

🤣

#

itni english nahi aati mujhe

#

@vestal halo

#

aur @vestal halo tu bata kya haal chal

vestal halo
#

nothing just chillin man

#

you are in europe and dont know english

#

thats strange

whole bear
#

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

vestal halo
#

just joking man

whole bear
#

english jaru kya bsdk

#

kk

#

no one gonna give a shit man

vestal halo
#

somebody gave a shit yesterday morning

#

thats why i am talking in english

#

you can see the chats

whole bear
#

was he/she a mod??

vestal halo
#

i dont know but maybe

whole bear
#

toh gaand maro bsdk

vestal halo
#

😆

whole bear
#

fuck that guy

#

dox karke uske ghar mein chodunga usko

vestal halo
#

man everybody here starts to speak in their native language here

whole bear
#

lol

vestal halo
#

the server would turn into living shit

#

ya lukas

whole bear
#

speak in english
@whole bear chup chutiya

#

😂 🤣

vestal halo
#

man you are a living troll

whole bear
#

it mean shut up idiot!

#

😉

#

@whole bear I was just jokin' man

#

chill

#

@whole bear ^^

#

umm

vestal halo
#

dizzy bro dont just start a fukkin battle here !!

whole bear
#

@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

vestal halo
#

🇮 yo mahn

#

yo dizzy boi

whole bear
#

yep sup

vestal halo
#

now blabber your shit in the chat

vestal halo
#

yo man dizzy speak something

whole bear
#

yes

#

kitna bakwas server hai

#

hat

#

mein ja raha hoon

vestal halo
#

so what do you want from here

#

its not meme server its some serious stuff

#

fine

glad comet
whole bear
#

kya haal hai
@whole bear damn do you know hindi lol

vestal halo
#

haha lukas

whole bear
#

its not meme server its some serious stuff
@vestal halo bro i can be serious, very serious. sadly, idgaf rn

vestal halo
#

what is your age homie

#

dizzy

whole bear
#

mat kar idhar bhosdike

vestal halo
#

be honest

whole bear
#

chillerz mein bataunga randi

vestal halo
#

come to chillers now

whole bear
#

abhi mat kar

#

bhen ki lawde

#

yep you go there

#

i am in chillers

#

aaja

somber pulsar
whole bear
#

@vestal halo I am back