#voice-chat-text-0

1 messages · Page 664 of 1

brave karma
#

I have some experience in java, c, c++ and python

#

can't i speak in group?

#

ok

lean rapids
brave karma
#

I can be here forever

pure path
#

Ohh Python Crash Course isn't in the resources page or it's just that i can't find it

#

no

#

they are different publications

brave karma
#

are you charging any fee?

pure path
#

one of the 7 admins

brave karma
#

my basic works in java and python and other langs are not more than creating loops, calculators, arrays etc

#

don't know about pointers and stuff.

rugged root
#

You don't have to know anything about pointers or memory management with Python

#

All of that is abstracted away from the coder

brave karma
#

in c++ i was referring for pointers

rugged root
#

Oh sure sure

slim rain
#

guys can you gelp me with something?

#

i am new at programming and looking for a C channel

rugged root
#

I can point you to a C Server

#

One sec

brave karma
#

How can we start?

frigid panther
slim rain
#

i am new at programming and i am learning C

rugged root
brave karma
#

how do I start?

pliant atlas
#

If you have prior knowledge then you can start with off a crash course

#

and then start with the project you wanna make

brave karma
#

in discord ?

slim rain
#

thank you mate @frigid panther

pliant atlas
#

in discord ?
@brave karma wdym

brave karma
#

wdym -> what do you mean?

pure path
#

@lean rapids could u mute

#

i think he is afk

lean rapids
#

i am not afk

pure path
#

then mute yourself

brave karma
#

Where can I start my crash course? Is there any website or link etc. @pliant atlas

pliant atlas
#

yeah

pure path
#

download python and do print("Hello world")
then u are good to go

pliant atlas
#

there is a course called crach course

brave karma
#

i do have python

rugged root
#

@lean rapids I muted you because you had some serious echo

brave karma
#

I just joined a university in India.

swift valley
#

@rugged root imo server mute should be like the Kick/Ban in the GUI

brave karma
#

@rugged root what do you do?

#

oh great

pliant atlas
#

@brave karma i was doing one course of data science and the instructor did a crash course. So like start with something like that

brave karma
#

I'm passionate too.

pure path
#

😄

brave karma
#

@pliant atlas can you help me with it like ping me when it'll be starting as I'm in a different time zone

swift valley
#

@rugged root what is it again?

pliant atlas
#

it's an udemy course

#

u can get it anytime

brave karma
#

paid

swift valley
#

Gimme a sec

pliant atlas
#

I mean it's ₹400

#

or $5

brave karma
#

are you an Indian

pliant atlas
#

yaeh

#

yeah*

brave karma
#

oh nice me too

swift valley
#

For my site I used something like python-dotenv but manually parsing it should be trivial

brave karma
#

but i wont be able to pay i think

rugged root
jaunty thicket
#

Mr.Hemlock

#

Please check your Pv

pure path
#

what's PV?

rugged root
#

!resources Automate the Boring Stuff and A Byte of Python are excellent beginner texts

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

swift valley
#

pipenv has a loading mechanism separate from that I believe

#

But then again, I can't be sure as my site's dockerized and I just load the .env file from there

pliant atlas
#

aight guys pizza is here gtg

#

cya

swift valley
#

welp, now I'm powered by coffee I guess it's time to do some refactors

rugged root
#

!e

spam = "bacon"
new_word = ""

for letter in spam:
    new_word += letter
    print(new_word)
wise cargoBOT
#

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

001 | b
002 | ba
003 | bac
004 | baco
005 | bacon
rugged root
#

@jaunty thicket This might help you get an idea of what you have to do

swift valley
#

I really should've made a "jump to symbol" shortcut in my vim setup lemon_sentimental

#

~2.5k lines is getting unwieldy

#

I haven't added it yet lol

#

@rugged root It would be trivial, yeah, but I got caught up doing

#

Priorities basically

pure path
#

that makes me want to eat

frigid panther
#

where are you from @gentle flint

pure path
#

🌮

jaunty thicket
#

thanks

gentle flint
#

🇳🇱 @frigid panther

frigid panther
#

okay 👍

honest pier
#

weridchamp

rugged root
#

Please remember that this is an English only server

gentle flint
#

@olive sentinel do you have a floppy disk reader?

pure path
#

@gentle flint what's your typing speed?

fallow shuttle
#

238 -Biden
213- trump

gentle flint
#

and if so, would I be able to mail you some floppy disks to scan?

fallow shuttle
#

@gentle flint what's your typing speed?
@pure path light speed I guess

gentle flint
#

?

jaunty thicket
#

I have

#

@gentle flint

#

i live in iran

olive sentinel
#

No, I don't have a floppy disk reader anymore

gentle flint
#

oh well

#

thanks anyway

frigid panther
#

which uni, verbose

gentle flint
#

open university

#

almost exclusively online

frigid panther
#

interesting

jaunty thicket
#

Your election has a greater impact than our own

swift valley
#

gah, I hate Ctrl-based shortcuts

#

My pinky can't handle it

pure path
#

use your thumb

rugged root
#

Pinky pushups

swift valley
#

My right pinky locks in place

pure path
#

isn't control supposed to be at the left side?

swift valley
#

When I clench it

#

I abuse right Alt and right Ctrl

gentle flint
#

AltGr for me is the compose key

#

ø

#

ö

#

œ

#

ł

#

stuff like that

pure path
#

åßç

swift valley
#

Hey, at least I can type µ

gentle flint
#

ų

#

ú

#

ù

pure path
#

µ

gentle flint
#

µ

#

it was the slash

pure path
#

#

do u have this?

gentle flint
#

probably

swift valley
#

I don't

gentle flint
#

not sure

pure path
#

I just have to option and then it makes the keys into symbols

#

∫ ∆

gentle flint
#

#

#

cursive vortex
#

happy UNESCO international day!

gentle flint
#

this is the contents of my compose key config file; everything in here, I can make, provided I have all the correct keys for it

pure path
#

finnaly got this thing to work

swift valley
#

I'm trying to find a comfortable key combination for me to jump to files and symbols quickly

#

Currently I have \ls for jumping symbols and \lf for files but that extra l is just icky

pure path
#

@swift valley vim must have increased your typing spped

gentle flint
#

ȟ

#

Ȟ

#

Zdeňek

pure path
#

®

gentle flint
#

pure path
#

gentle flint
#

©

pure path
#

¬ø˚å

#

©

#

cosß + sinß = 1

severe pulsar
#

so whats up in vc you guys?

#

was voice channel spam actually a problem?

gentle flint
#

yes

severe pulsar
#

I didn't notice it much

gentle flint
#

big problem

severe pulsar
#

damn

#

rip

#

Ehh anyways im verified now

gentle flint
#

people would join just screaming the n word

severe pulsar
#

but i dont feel like talking

gentle flint
#

roughly 5 times a day

#

k

severe pulsar
#

F

gentle flint
#

up to you

severe pulsar
#

like i can unmute but no need yeah

gentle flint
#

mmm

#

like Inheritanc-e

severe pulsar
#

right

#

ive unmuted now but push to talk ;)

#

lmao

#

i guess im just sad that opalmist isnt talking to me ;-;

#

whats azza coding

pure path
#

@somber heath stop with the weird noises

somber heath
#

I just exited voice chat, and you could have said something, unless you did and I didn't hear anything because discord was being a shit.

pure path
#

@vernal musk can u speak in english ???

#

you werent before

#

i see

#

k, dind't know about your issue

#

11:30 pm

misty salmon
#
def setify(lst):
    something = set(lst)
    somethingelse=[]
    for a in something:
        somethingelse.append(a)
        
    return somethingelse
    ```
somber heath
#
def setify(_list):
    return list(set(_list))```
misty salmon
#
return sorted(list(set(lst)))
somber heath
#
def func(iterable):
    returns = []
    for each in iterable:
        if each not in returns:
            returns.append(each)
    return returns```
old juniper
#

how can i active my vocie chat

balmy nymph
old juniper
#

ok

#

thnks you opal

#

but i want to talk now

misty salmon
#

tommy just talk to us here for a bit

old juniper
#

ok

misty salmon
#

i'm guessing you are here for learning python?

old juniper
#

yes

somber heath
#
'apple'.replace('p', 's') == 'assle'```
old juniper
#

how can i learn ?

#

is it cost money ?

misty salmon
#

there are tons of great resources w3schools , code academy... plus massive youtube videos that offer full beginner to advanced learning

old juniper
#

oh

#

thanks a lot

#

ok

misty salmon
old juniper
#

because my primary language is not English and im having troubles...

#

Hebrew

#

its difficult hahaha

#

the courses in hebrew are sucks

#

ok

#

yes

#

thats great

#

where are u from guys ?

frigid panther
#

India

somber heath
#
a = ' apple grapes '
a.lstrip() == 'apple grapes '
a.strip() == 'apple grapes'
a.rstrip() == ' apple grapes'
a.replace(' ', '') == 'applegrapes'```
old juniper
#

are there isreal person here >?

#

my english is sucks

#

yes

#

im here to improve my english too

#

so are here to help people that need help ?

frigid panther
#

@somber heath
" ".join(a.split())

old juniper
#

do you have more groups like this one ?

#

oh

frigid panther
#

there are other programming servers tho

old juniper
#

so how is possible that only 6 are onilne?

#

im meant people that speaking

#

oh

#

i didnt know that

hallow warren
frigid panther
#

except for Among Us servers

hallow warren
old juniper
#

so how can i talk to another groups here \

#

?

#

i meant voice channle

old juniper
#

what is that t?

#

what time is it now in your country ?

frigid panther
#

10:54pm

old juniper
#

19:24.....

rose roost
#

@somber heath

#

Got any idea why i cant speak

misty salmon
hallow warren
rose roost
#

So i need 50 messages?

balmy nymph
#

Yes

#

But please don't spam to get them

hallow warren
old juniper
#

i want to talk

#

buy i cant bruh

hallow warren
#

When I gave a talk about maps in Wikipedia to the South SF Bay Python Interest Group (BayPIGgies) I credited the source code to her https://bit.ly/pymaps Ellen was my favorite sockpuppet so far.

amber raptor
hallow warren
#

"Brunch Libs"

wise cargoBOT
#

Hey @hallow warren!

It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

Feel free to ask in #community-meta if you think this is a mistake.

hallow warren
somber heath
#

@stuck coral Talk here.

stuck coral
#

@somber heath

#

Oh ok

somber heath
#

If you have something to say you would otherwise say in the voice chat, say it here.

#

Messages in channels count toward your fifty messages to qualify for voice verification.

stuck coral
#

Can you write here how I can talk to you without mute. Because then I can translate it better.

somber heath
#

#voice-verification

stuck coral
#

ah ok

#

Are you a Python programmer? @somber heath

#

👍

still quartz
#

python is Fun 😃

stuck coral
#

YES

#

I need to go

#

by

still quartz
#

see you later

stuck coral
#

👍

frigid panther
#

what are yall upto

still quartz
misty salmon
#
import random

# This line creates a set with 6 random numbers
lottery_numbers = set(random.sample(range(22), 6))

# Here are your players; find out who has the most numbers matching lottery_numbers!
players = [
    {'name': 'Rolf', 'numbers': {1, 3, 5, 7, 9, 11}},
    {'name': 'Charlie', 'numbers': {2, 7, 9, 22, 10, 5}},
    {'name': 'Anna', 'numbers': {13, 14, 15, 16, 17, 18}},
    {'name': 'Jen', 'numbers': {19, 20, 12, 7, 3, 5}}
]

# Then, print out a line such as "Jen won 1000.".
# The winnings are calculated with the formula:
# 100 ** len(numbers_matched)
# for each set of numbers check against lottery numbers

playermatches = []
largestwinner = {}

for count in players:
    playermatches.append({players[count]['name']:len(lottery_numbers.intersection(players[count]['numbers']))})
print (playermatches)

#

File "C:/Users/priest/PycharmProjects/pythonProject/main.py", line 22, in <module>
playermatches.append({players[count]['name']:len(lottery_numbers.intersection(players[count]['numbers']))})
TypeError: list indices must be integers or slices, not dict

frigid panther
#

playermatches.append({count['name']:len(lottery_numbers.intersection(count['numbers']))})

#

len(players)

misty salmon
#
for count in range(len(players)):
    playermatches.append({players[count]['name']:len(lottery_numbers.intersection(players[count]['numbers']))})
print (playermatches)
#

[{'Rolf': 1}, {'Charlie': 2}, {'Anna': 3}, {'Jen': 0}]

frigid panther
#
for count in players:
    playermatches.append({count['name']:len(lottery_numbers.intersection(count['numbers']))})```
#
highest = max(playermatches, key=lambda x: list(x.values())[0])```
lusty marsh
#
rgb = int(column[0])+int(column[1])+int(column[2])
#

bias = 75

#

chris pratt

rugged root
#

@elder sable If you're wondering why you can't talk in voice chat, check out #voice-verification. That should tell you what you need to know.

elder sable
#

@rugged root Oh don't worry I know why I cannot talk I've already read it.
I just didn't really know what you were talking about so I couldn't tune in so I just went on with my day haha

rugged root
#

Oh fair enough. It's a force of habit for me to tell folks. Still working on a system that will automatically tell them

#

!paste @frozen jacinth

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.

frozen jacinth
rugged root
#

cargo install diesel_cli --verbose

wise cargoBOT
#

Hey @frozen jacinth!

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:

https://paste.pythondiscord.com

rugged root
icy axle
#

!ytdl

wise cargoBOT
#

Per PyDis' Rule 5, we are unable to assist with questions related to youtube-dl, commonly used by Discord bots to stream audio, as its use violates YouTube's Terms of Service.

For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2019-07-22:

The following restrictions apply to your use of the Service. You are not allowed to:  

1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service;  (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;  

3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;  

9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
gentle flint
#

this was not a question

#

bye

icy axle
#

bye

wraith eagle
#

Hello @rugged root

icy axle
#
# robots.txt file for YouTube
# Created in the distant future (the year 2000) after
# the robotic uprising of the mid 90's which wiped out all humans.
gentle flint
#

can you not spam

#

if you're trying to spam your way into voice verification some mod will probably just remove the role again + tempkick you for spamming

lusty marsh
wraith eagle
#

woah

past elk
#
for ix,x in enumerate(np.linspace(STARTx,ENDx,WIDTH)):
        for iy,y in enumerate(np.linspace(STARTy,ENDy,HEIGHT)):
            num = grid[ix][iy]
            if(num >= 4):
                Next[ix][iy] += num-4 
                Next[ix+1][iy] += 1
                Next[ix][iy+1] += 1
                Next[ix-1][iy] += 1
                Next[ix][iy-1] += 1 
                print(Next[ix][iy]) # 1
                
print(Next[ix][iy]) # 2

cold stag
#

okok

#

ive been here for a while lol

#

oh rip lol

#

i dont think i have 50 messages

#

ive just skimmed the community for a while

#

pretty gud

#

i know the basics of python

#

not very advanced though

#

only a couple months

#

maybe 3-4

#

lol

#

yeah im looking at trying to build bots that can play 2d games

#

using key emulators

#

not in discord

#

ohhhh

#

not making a game

#

a bot that plays a game that already exists

#

yeah i have one too lol

#

yes

#

games like mindustry

#

yeah

#

im thinking about using a numpy array with numbers that represent different possible tiles

#

like a map

#

but instead of colors and textures that represent tiles its number values

#

like 1 is sand and 2 is water type thing

#

yes

#

im not set on mindustry yes

#

yet

#

yes

#

maybe

#

ill try

#

this probably looks like spam to the mods lol

#

i swear im innocent XD

#

just jotting down thoughts

#

mapping the bot

#

looking for people with similar interests and more expertise to answer questions

#

oh yeah same

#

just the bot as a whole

#

i know ill run into hundreds of problems

#

and i might need to switch from a normal bot to a machine learning model

#

which i barely know anything about

#

yeah

#

my pycharm is really messed up aswell

#

so i have to fix this first

#

i have vs

#

tried it for a while and i just decided on pycharm

#

hello!

#

i have very little

#

im pretty sure they have to be spaced out though

#

lol

#

thats great

#

still suppressed

whole bear
#

bruh

cold stag
#

im bad lol

whole bear
#

yes

cold stag
#

ok im in pycharm rn and im getting an error whenever i try to import any statement

#

numpy

#

pandas

#

all that

#

umm

#

one second

lusty marsh
#

cv2.Videowriter is not working

cold stag
#

its giving me an error to another program

#

but im running specifically a simple program

#

nope

#

neither

#

okok

#

also this is the code

#

import numpy as np
import pandas as pd

print("Hello world!")

#

really simple

#

yes

past elk
#

(MAIN)

cold stag
#

(venv)

#

ohhh

#

i understand

#

requirement already satisfied

#

yeah

#

same thing

whole bear
#

C:\Users\hazim>

cold stag
#

oh

#

C:\Users\huffm\PycharmProjects\first_project>

#

both

#

one second let me update

#

im pretty sure ive updated pip before though

#

just yesterday

past elk
#

pip3.9 install pandas

cold stag
#

windows

#

'pip3.9' is not recognized as an internal or external command

red swan
#

python -V

cold stag
#

wait

#

i just upgraded pip

#

and i got this error tho

#

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\Users\huffm\AppData\Local\Temp\pip-uninstall-dnub7znr\pip.exe'
Consider using the --user option or check the permissions.

#

ok should i jump on vs?

#

installing rn

tender plume
#

hello

#

good

#

i have

#

a while bck

#

i just need 3 more days

#

because i left

#

ye ik

past elk
#

'jio'

#

"hi"

#

'hoi'

cold stag
tender plume
#

Maria

#

It is

#

Its a bot

#

nothing rn

#

No

#

Its a bot

#

Spam

#

Delete

whole bear
#

IO just

#

got here today

#

@past elk

#

yeah im

#

wanting

#

to go to college

#

for computer science

#

but im scared

#

I didnt take highschool

#

seriously

#

bc I went into

#

law enforcement

#

I was a correction officer

#

at 18 but i mentally couldnt handle it

#

so I decided to quit

#

So im 19 right now and I graduated highschool this year

#

so Im wanting to

#

go into pre calc for next semester

#

A lot of coding

#

from what I was told

#

not at all . I was just interested in how advance it was and was considered a high demand job

#

I want to just be apart of the tech side of the industry

cold stag
whole bear
#

I havent tooken math sersiously and Im aware im going to be doing alot of math through out my college career

#

do you think I can still do It?

#

Im only doing this bc I want to have the best career and make myself and my mom proud

#

yeah I want to be able to graduated early or on time do you think

#

I should take 18 credit hours a semester

#

while I work 30hours to help pay for my needs

#

care insurances gasoline etc

#

I want to go into software developing or somthing related to coding

#

im not sure

#

Should I just take gen eds in college first while self learning coding before i take computer science class ( coding)

mighty finch
#

hello

whole bear
#

Should I just take gen eds in college first while self learning coding before i take computer science class ( coding)
@whole bear yh like udemy courses

#

They have sale off thats like 9 bucks

#

So its not that expensive

#

If I learn python

#

will it help me

#

learn

#

C++

#

and other languages

mighty finch
#

after i learned nodejs i watched a udemy course just to do get more details lectures

#

once you understand programming languages you can learn other

whole bear
#

Some uni have c++ as the intro courses

mighty finch
#

they just different syntax

whole bear
#

once you understand programming languages you can learn other
@mighty finch every language is different

#

thanks you for the advice. whats the average time for learning the basics?

#

I really want to advance my skillset soi was using programiz

mighty finch
#

well that is like languages specifics features

#

i'm talking about the basic

cold stag
#

4 hours

#

with my video at least

mighty finch
#

yeah i remember that

whole bear
#

What video citrus

#

4 hr is impossible for basic

cold stag
whole bear
#

Ok I am going to watch the video thank you guys for the advice!

cold stag
#

i watched it

#

did some projects

#

just for basics like print variables, and modules

past elk
#
#include <iostream>
int main(){
  std::cout << "hello world";
}
mighty finch
#

java

public class Main {
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}
whole bear
#

should

#

i take notes

#

with the video

cold stag
#

you can

#

i would reccomend it

whole bear
#

ok im going to walmart to buy a notebook

cold stag
#

lol

past elk
#
public class main{
  console.log("Hello world");
}
whole bear
#

brb

past elk
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

mighty finch
#

python syntax is called Idiomatic

#

i think it short for auto idiot

#

are you on windows ?

#

pycharm has it own python env

#

you have to select which python env

#

windows 10 default python is python2

#

2.7

#

yep

#

it come with python

#

oh nvm

#

that was ubuntu i remember

#

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

mighty finch
#

better to post code there and get a link instead of posting wall of error text

whole bear
#

I got the notebook

#

I will now watch the video!

past elk
#

000
040 --->
000

#

010
101
010

surreal skiff
#

your missing a }

#

sachin

#

yeah

#

diffuse thinking ig

stable gull
#

does anyone know

#

why when you do something like

#

0.35 % 0.25

#

the computer just cannot calculate this accurately

surreal skiff
#

yeah this is in every programming language

stable gull
#

but why?

surreal skiff
#

it is due to the floating point and all that low level

stable gull
#

lol

#

so can't you ever do this?

surreal skiff
#

No ig you can't

#

check this blog if you want to know more

stable gull
#

ok thanks

surreal skiff
#

Anytime..

past elk
somber heath
#
def square(a):
    return a * a
_list = [1,2,3,4]
_map = map(square, _list)
print(list(_map))```
#
processed = []
for each in _list:
    processed.append(square(each))```
#

processed = list(map(square,_list))

surreal skiff
#

map is taking every element from the list, passing in the function and saving the returned value

#

but altogether it returns a object of the returned value from the function you are passing

#

at the end both for loop and map will take O(n)

#

@somber heath

past elk
somber heath
past elk
lavish jetty
#

:P idk anything about vectors 😕

#

And did u create these imgs in python @past elk

past elk
#

ye it was a speed run

lavish jetty
#

Oh

#

I'm just learning python, so didn't get what u guys were talking bout🤷‍♂️

somber heath
#
import math
def unit_vector(degrees):
    r = math.radians(degrees)
    return math.sin(r), math.cos(r)```
lavish jetty
#

Lemme try it

somber heath
#

I may have got sine and cosine swapped, but I think that's right.

lavish jetty
#

Ok👍

somber heath
#
import math
from numpy import array
def unit_vector(degrees):
    r = math.radians(degrees):
    return array(math.sin(r), math.cos(r))```
lavish jetty
#

Ohok

somber heath
#
a = unit_vector(46)
a *= 50```
lavish jetty
#

Damn I don't have the jumpy module 😕

#

Wait how do I install modules?

somber heath
#

pip

lavish jetty
#

--pip install numpy

#

Ryt?

somber heath
#

python3 -m pip install numpy

lavish jetty
#

Oh ok

somber heath
#

But you need pip installed.

lavish jetty
#

I have pip, I install jupyter notebook yesterday from that.

#

Yay

#

It's dloading!

somber heath
#

You don't need numpy, but it can be handy.

lavish jetty
#

Hey how do I upgrade pip, seems I have a older version installed...

#

It's telling -m pip install --upgrade pip

#

Should I do that?

somber heath
#

You can.

lavish jetty
#

Ok tnx

#

What! It uninstalled pip!!!

#

Huh... It installed the latest version now 🐈

#

It's saying cannot interpret 0.6736437647636747 as a data type in the return statement

past elk
lavish jetty
#

Woah

past elk
#

eh

lavish jetty
#

Howdo I fix this?

plain dagger
#

Howdo I fix this?
@lavish jetty waiting like 15 minutes

#

hahaha

lavish jetty
#

Ok 😂

stuck coral
#

whats up bro @somber heath

#

?

#

thx for yesterday*

#

whats up

#

lol

past elk
whole bear
#

@past elk hi bro

#

messaged you in inbox

past elk
whole bear
#

can we be good mates @past elk

#

??

#

ok request sents

somber heath
#
def normalise(values, max_out=255):
    _min = min(values)
    values = [v-_min for v in values]
    _max = max(values)
    return [int(v/_max)*max_out for v in values]```
whole bear
#
def normalise(values, max_out=255):
    _min = min(values)
    values = [v-_min for v in values]
    _max = max(values)
    return [int(v/_max)*max_out) for v in values]```

@somber heath {
"workbench.colorTheme": "Solarized Dark"
}

civic wyvern
#

userList = [int(x) for x in input_nums.split()]

whole bear
#

import numpy as np

Creating two arrays of rank 2

x = np.array([[1, 2], [3, 4]])
y = np.array([[5, 6], [7, 8]])

Creating two arrays of rank 1

v = np.array([9, 10])
w = np.array([11, 12])

Inner product of vectors

print(np.dot(v, w), "\n")

Matrix and Vector product

print(np.dot(x, v), "\n")

Matrix and matrix product

print(np.dot(x, y))

potent urchin
#

# Creating two arrays of rank 2 
x = np.array([[1, 2], [3, 4]]) 
y = np.array([[5, 6], [7, 8]]) 

# Creating two arrays of rank 1 
v = np.array([9, 10]) 
w = np.array([11, 12]) 

# Inner product of vectors 
print(np.dot(v, w), "\n") 

# Matrix and Vector product 
print(np.dot(x, v), "\n") 

# Matrix and matrix product 
print(np.dot(x, y)) ```
dusty tree
#

!play I hate my friends

#

Oh

icy axle
#

@dusty tree Are you sure they’re really your friends, then? Hahah

surreal skiff
#

Hi

#

@red stratus

#

I'm not verified yet

#

yes

#

very much

red stratus
#

you can verify that

surreal skiff
#

i don't meet the criteria

#

ig

#

yeah you speak

#

yeah

gentle flint
#

read this channel's description

surreal skiff
#

i read

gentle flint
#

o ok

surreal skiff
#

okay

pure path
#

sup

#

i am sick too

#

i got cold

#

So @rugged root u finished the voice verification ping thingy?

#

i see

#

Python Crash Course is also a good one

#

it teaches u about matplotlib, pygame and django

pure path
#

well u do if u use finnaly

#

mhm

swift valley
#

Yes @rugged root

pure path
#

yes, it will only get triggered it any erros were not raised

#

iirc

#

it's fine

swift valley
#

I don't mind lol, not sure about the others

pure path
#

i like listening to conversations

#

@elder sable could u send your code here

#

ohh

#

ok

somber heath
swift valley
#

no

#

no

#

!otn a chicken-ramen-beer

wise cargoBOT
#

:ok_hand: Added chicken-ramen-beer to the names list.

swift valley
#

@rugged root Hope you approve this

#

You want me to?

rugged root
#

!otn s hemlock

wise cargoBOT
#
Query results

• channeling-my-inner-hemlock
• diesel-powered-hemlock
• hemlock-demoted-for-the-lulz
• hemlock-needs-more-comments
• hemlock’s-beard-garden
• hemlock’s-biological-mail
• hemlock’s-dungeon-dreams
• hemlock’s-earless-adventures
• hemlock’s-fussy-butt
• hemlock’s-morning-deliveries
• hemlock’s-motivational-posters
• hemlock’s-pipe-dreams
• hemlock’s-second-rodeo
• hemlock’s-tiny-roasts

swift valley
#

@rugged root The wrong @swift valley gets pinged once in a while

pure path
#

it sounds like talking tom

swift valley
#

@rugged root The ones that have parentheses are decorator factories

#

I hate cleaning my glasses, they get more foggier instead of clearing out

#

I am using one lol

pure path
#

My bad I went to get some caffeine

ruby lantern
#

whats better javascript or python for discord bot's?

pure path
#

idk

#

haven't tried js

swift valley
#

@rugged root Most of the time, cleaning my glasses take like an hour or so just cause I keep fiddling with it, not stopping until it's crystal clear

ruby lantern
#

do they have any speed differences

#

?

swift valley
#

Does JS have native C access?

#

V8 at least

pure path
#

ye

swift valley
#

Back when I was just starting out I didn't get why JS got so big

ruby lantern
#

i prefer c# for discordbot .net framework but it doesn't work on linux and i think what i should take

#

python or js

amber raptor
#

.Net Core runs fine on Linux

#

If you want to learn JS or Python that’s fine but .Net Core works great on Linux

ruby lantern
#

ok i try to use .net core

gentle flint
#

hemlock's fussy butt?

#

good channel name

ashen slate
#

hi i am voice verified

#

lol

surreal skiff
#

use django's docs

#

@severe elm

severe elm
#

i am

past elk
#

nextPile[ix][iy] += curPile[ix][iy]-4

somber heath
#
d = dict()
d[1,2] = 3```
elder sable
#

@rugged root sir please give me talking perms again I need a voice

past elk
#

o=(v-minv)/(max * x-min '' x)

pure path
#

@rugged root my teacher told me that but for essays

#

caffeine is always great

rugged root
pure path
#

@rugged root do u prefer hot coffee or cold coffee?

#

i prefer cold coffee presonally

#

Could someone answer a postgres question of mine?

#
testing=# SELECT * FROM person WHERE id = 1;
 id | first_name | last_name | gender |    dob     | email 
----+------------+-----------+--------+------------+-------
  1 | Abhigya    | Pokharel  | MALE   | 2006-03-15 | 

is there a way to check if the email for that id is empty or not?

#

ohh ok

#

leme try

past elk
rugged root
#

I like that

#

That's really cool lookin'

#

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

faint pivot
#

Can anyone explain the 'self' argument in python. But I still cant work with it.

pure path
#

self is the instance

#

of the class

#

if u want to call the class through the instance u need self

faint pivot
#

self is the instance
@pure path what does the instance do?

pure path
#

so instances are like the specifications of the class

class Cat():
  def __init__(self, name):
    self.name = name
  
  def give_name(self):
    return f"The Name of the cat is {self.name}"

marry = Cat()
print(marry.give_name())
#

so marry is the instance

#

and cat is the more bigger picture

#

if u don't have self in there then u can't call the function

faint pivot
#

Oh ok, so you use it so get stuff out of a class?

pure path
#

self is the instance itself

faint pivot
#

okay thanks!

#

btw in the example code:

#

return f"The Name of the cat is {self.name}" dont you have to format {self.name}?

#

like: return (f"The Name of the cat is {self.name}").format(self.name = self.name)

pure path
#

@faint pivot why would u use format when u have self

#

format is stupid

#

imo

faint pivot
#

Oh okay

#

OOh now it makes sense

#

I appreciate your help

pure path
#

np, glad i could

#

i just accidentally entered command+q and closed discord lol

#

yes

#

meeeee

#

lol

#

so what yall doing rn?

fallow shuttle
#

🇭 🇪 🇱 🇱 🇴

pure path
#

Well people ima go to sleep ,now cya later

somber heath
#

convert -loop 0 *.png out.gif

pure path
#

GN

past elk
somber heath
#

Whee

rugged root
subtle orchid
#

minks

hushed elm
#

WTF

subtle orchid
#

thats what it says

hushed elm
#

TURNED DOWN FOR WHAT

gentle flint
#

yo mom

hushed elm
#

mods get him

subtle orchid
#

who?

gentle flint
#

you

subtle orchid
#

😪

hushed elm
#

llll

gentle flint
#

Il|

subtle orchid
hushed elm
#

big explode

gentle flint
#

I am reminded of myself

#

"let's make a poisonous smelly mess in own room"

dark seal
#

mic is dead

hushed elm
#

you heard it here first, hemlock is POPPIN

#

hhhh

#

oof ouch my bowels

dark seal
#

fixed my mic

subtle orchid
#

@rugged root what you had in the breakfast?

dark seal
#

i heard "what are you trying to bruteforce?"

subtle orchid
#

i heard "what are you trying to bruteforce?"
@dark seal wot

rugged root
#

I'm not trying to brute force anything

#

And I had a like... frozen meal for breakfast

dark seal
#

ah, classic

rugged root
#

Hey Ice

frigid panther
#

Hello Hemlock, how are you?

rugged root
#

I'm alright. Trying to test the bot

frigid panther
#

oh the new voice verification notifier/reminder feature?

subtle orchid
#

goodbye everyone

frigid panther
#

bye

civic wyvern
#

screen.fill((255, 0, 0))

frigid panther
#

I bought among us a month ago, played it for a week and stopped

#

need friends

rugged root
#

Also more of a YouTuber game

frigid panther
#

yea, I kinda like watching games on yt

#

among us game, i mean

#

the youtubers who I usually watch started streaming among us recently

misty salmon
#
def correct_signs(txt):
    return eval(txt)
#

"13 > 44 > 33 > 1"

pliant atlas
#

need friends
@frigid panther I am down

dire folio
#

!e

TOKEN = 'this-is-a-TOKEN-keep-it-secret-keep-it-safe'

class Bilbo:
    def __init__(self):
        pass

user_input = '{error.__init__.__globals__[TOKEN]}'
error = Bilbo()
print(user_input.format(error=error))
wise cargoBOT
#

@dire folio :white_check_mark: Your eval job has completed with return code 0.

this-is-a-TOKEN-keep-it-secret-keep-it-safe
dire folio
#

!e

from string import Template
TOKEN = 'this-is-a-TOKEN-keep-it-secret-keep-it-safe'

class Bilbo:
    def __init__(self):
        pass

user_input = '{error.__init__.__globals__[TOKEN]}'
error = Bilbo()
print(Template(user_input).substitute(error=error))
wise cargoBOT
#

@dire folio :white_check_mark: Your eval job has completed with return code 0.

{error.__init__.__globals__[TOKEN]}
pliant atlas
#

Is that called inheritance @dire folio

dire folio
#

no, this is litterly Hacking

#

its getting secrets you are not allowed to see

frigid panther
dire folio
#

and protecting it by using string Template

frigid panther
#

yes

#

not sure about this error.__init__.__globals__[TOKEN]

#

what is it called?

#

lol

#

if you scroll a bit down, the format strings is mentioned

#

the same example

rigid nest
#

@rugged root Hey uh, any idea why I'm surpressed?

pliant atlas
#

you need to verify

rigid nest
#

oh..

#

lol.. i easily meet all those criteria

#

it's not like i haven't spent tens of hours assisting people in code help.

#

oh it's not automatic -.-

dire folio
#

check that out @rigid nest

rigid nest
#

yeah thx read through it now

past elk
wild flint
#

the edges of your profile picture
@past elk ?

past elk
#

@somber heath

wild flint
#

bruh.

past elk
#

its an edge detection alg

#

sorry opal

wild flint
#

¯_(ツ)_/¯

#

no stress

#

was just confused lol

past elk
#

😄

frigid panther
#

coding, lol

rugged root
#

God if I could just figure out how to wipe out this cache I would be able to do so much more

whole bear
#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.

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

frigid panther
#

I'm making sure PR is ready for review, soon

rugged root
#

Finally

#

@whole bear If you're wondering why you're not able to talk, check out the #voice-verification channel. That should tell you what you need to know

whole bear
#

@rugged root Thank you so much for the clarification. Now makes sense!

tidal junco
#

@rugged root hmu when you come back haha

tall birch
#

hey Hemlock

#

May i ask you a question

#

So in this server, i can react to messages in all channels but why not in #discord-bots

#

Oh alright!

#

understandable 👍

rugged root
#

@tidal junco Did you die?

tidal junco
#

yeah

#

can you disconnect me

rugged root
#

@whole bear

whole bear
#

oooh nice @rugged root

rugged root
whole bear
#

well just make a python program that check the logs

#

yeah I know i don't talk much

#

I have been here for a while tho

#

yeah for sure

#

yeah i will just code an AI that will have a convo with you

#

idk yet Im taking this intro to AI course and im pretty sure there will be a project about coding an AI that responds to people

#

nnaah it's that Harvard course on edx

#

this one

#

it's a pretty cool course

tidal junco
#

@rugged root I gotta love parents coming in and not letting you finish the convo properly lmao

whole bear
#

yeah saaame it's very hard to understand at first

rugged root
#

It happens

whole bear
#

yeah

rugged root
#

@novel vault If you're wondering why you can't talk, take a look at the #voice-verification channel. That should tell you what you need to know

whole bear
#

people join they see that they can't talk

#

and leave right after

#

I did that 2

#

yeah people are 2 lazy to read

tidal junco
#

so yeah hemlock the system didn’t really work as expected haha

whole bear
#

I would prob be a better coder If I was reading more doc ...

#

yeaah that would be cool

#

nice

#

is it done yet

#

reviews ?

#

okay

#

I feel like I must be close enough to 50 now

rugged root
#

!projects

wise cargoBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

green bone
#

hi

#

emergency staff meeting?

whole bear
#

Hi, everyone.
I have issue and noticed that on #help-burrito.
I hope anyone help me.
Thanks.

misty salmon
#

@valid wharf are you new here?

valid wharf
#

Yes

misty salmon
#

ok they have it so you need to type at least 50 messages before being able to unmute

valid wharf
#

ok.

#

Thanks

misty salmon
#

no problem... if you want to chat here we can likely get you there in a bit

valid wharf
#

I am new in python too.

#

I wish to learn

#

and

misty salmon
#

that's good, i'm half way through my python course

valid wharf
#

I want to listen about several topics

misty salmon
#

that's why i joined this server too 🙂 it's fun to hear different things that can be done

#

and everyone is really good at giving help from absolute beginner to advanced

valid wharf
#

yes, I saw in the rooms. I like it!

misty salmon
#

have you started learning already?

valid wharf
#

have you started learning already?
@misty salmon I need the information about of your course.

misty salmon
#

my course i am learning from udemy.com but there are many good free courses as well

valid wharf
#

Good!

#

I was watching a good video in youtube

misty salmon
#

that is a good way to do it, i started with youtube

valid wharf
#

I was learnig in platzi

misty salmon
#

well that's quite interesting 🙂 do you enjoy it?

lime plaza
#

How much python do you guy sknow? im tryna learn flask

#

is Platzi an IDE?

misty salmon
#

platzi is an education website

somber heath
#

You sound fine

#

Much better.

#

We could hear you.

#

You could not hear us.

misty salmon
#

opal you are a saint

somber heath
#

itertools

frozen oasis
misty salmon
#

n = num1*num2 == 6

misty salmon
round lotus
#

elloz 😄

somber heath
#

o/

#

Indian. 🙂

bold lichen
#

Hello! This is my first message on this server but I joined a long time ago

#

So it will be some time before I get voice priveleges

somber heath
#

Well, that's what conversation is good for, if nothing else.

#

Getting voice privs on this specific server.

#

😁

bold lichen
#

Are you currently working on any python projects?

pure path
#

yes 2 atually

bold lichen
#

Oo intersting

#

What are they?

pure path
#

i am making a bot and making a turtle race

bold lichen
#

Is it a discord bot?

pure path
#

yes

bold lichen
#

Whats the goal of the bot?

pure path
#

idk

bold lichen
#

Haha so just trying to figure out how to make a discord bot?

pure path
#

~~but I am trying to copy @wise cargo ~~

bold lichen
#

What is a turtle race?

pure path
#

hmm it's pretty self explanatory

bold lichen
#

I searched it up and I think I get it now

pure path
#

gg

somber heath
#

@stoic ore You'll need to type it, because your audio is terrible.

stoic ore
#

Yey

#

Can we wright a functuion inside out rather than outside in

#

In python @opalmist

red swan
#

u mean funciton inside a function?

stoic ore
#

yeah but inside out

#

To inside out

red swan
#

you can search about Python Closures

#

Ie.

#

!e ```py
def function1(msg):

def function2():
    print(msg)

function2()

function1("Hello")

wise cargoBOT
#

@red swan :white_check_mark: Your eval job has completed with return code 0.

Hello
stoic ore
#

Its seem out side to in

somber heath
#

Sorry, I wasn't looking at this window.

stoic ore
#

Iam seraching wrighting a code to inside out

#

@somber heath is it posible to wright a code of functions from inside to out argumants.

somber heath
#

You want to write functions where the arguments given are inside out...what does inside to out mean in this context?

stoic ore
#

I know ne thinkin from inside to out , all the human are we see the big picture first

#

the context is those functions thinkin like math we always start with the major class of functions. But in python we start with the minors

boreal dock
#

Hi

red swan
#

Hey

onyx geode
#

hey

boreal dock
#

Where are you from?

#

Im from italy

onyx geode
#

India

boreal dock
#

Oh wow, ok

red swan
#

Middle east

onyx geode
#

How is this all anti-islam stuff going on italy?

#

As you know the things going on in france

stoic ore
#

I am at work i will see u at night

boreal dock
#

Can you help me in python if are a problem?

stoic ore
#

See u later

boreal dock
#

See u later

onyx geode
#

Can you help me in python if are a problem?
@boreal dock You asked me?

boreal dock
#

@onyx geode if you can xD

#

Im very bad

onyx geode
#

well, i can try.

boreal dock
#

oh wow ty

onyx geode
#

no issue

dawn flower
#

Hello

errant crater
#

Just wanted to say a HELLOOO😁

onyx geode
#

Any django developer here?

errant crater
onyx geode
#

thanks

errant crater
#

yw

pure path
#

!server

wise cargoBOT
#

Server information
Created: 3 years, 9 months and 28 days ago
Voice region: us-east
Features: COMMUNITY, VIP_REGIONS, DISCOVERABLE, PREVIEW_ENABLED, ANIMATED_ICON, INVITE_SPLASH, BANNER, RELAY_ENABLED, VANITY_URL, PARTNERED, NEWS, MEMBER_VERIFICATION_GATE_ENABLED, WELCOME_SCREEN_ENABLED

Channel counts
Category channels: 31
News channels: 8
Text channels: 173
Voice channels: 28
Staff channels: 70

Member counts
Members: 105,251
Staff members: 85
Roles: 73

Member statuses
status_online 24,418
status_offline 80,834

pure path
#

ohh 105k already nice

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @dusty tree until 2020-11-06 12:27 (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).

sly jolt
#

!unmute @dusty tree

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @dusty tree.

sly jolt
#

!tempmute 550017752132222976 5d It seems you've learned nothing from your temporary voice ban. If you're going to be productive on this server, reread our #rules before posting again.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @dusty tree until 2020-11-11 12:20 (4 days and 23 hours).