#voice-chat-text-0

1 messages Β· Page 692 of 1

tranquil barn
#

and why exactly would they buy it from you?

normal hinge
#

i will know what they do and what they like

tranquil barn
#

so does amazon

#

so does amazon

normal hinge
#

yeah but amazon ads play on youtube

#

becoz google has data

#

to find potential customers

#

and also we can use data for research

near ocean
#

i must go too

#

see u

normal hinge
#

i may sound stupid but when i saw the potential of ml,deep learning

tranquil barn
#

National Diet of Japan

noble copper
#

sounds so melodic

stuck furnace
#

Erm, the hat?

#

Ah, the dragon fractal

#
from turtle import Turtle
from colorsys import hls_to_rgb
from itertools import cycle

shelly = Turtle()
shelly.screen.colormode(1.0)
shelly.screen.bgcolor('black')
shelly.screen.tracer(0, 0)

rainbow = [
    hls_to_rgb(hue/1000, 0.5, 1.0)
    for hue in range(1000)
]

F, R, L = 'forward(5)', 'right(90)', 'left(90)'

path = [F]

for i in range(13):
    path = path + [R] + [
        {F: F, R: L, L: R}[command]
        for command in reversed(path)
    ]

shelly.speed(0)

for command, color in zip(path, cycle(rainbow)):
    shelly.color(color)
    eval(f"shelly.{command}")

shelly.screen.update()
input()
#

Yep, change 13 to a higher number.

#

That's the number of 'folds'.

#

Opal's stuff is more impressive πŸ˜„

#

I was merely imitating

tranquil barn
stuck furnace
#

Mesmerising

#

So, er, what's everyone up to? πŸ˜„

somber heath
broken kestrel
#

Yo

#

Yes i have a quest

stuck furnace
#

Yo

broken kestrel
#

Im working on this code and i keep getting an error.. anybody can check it out? I would highly appreciate it

tranquil barn
#

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

whole bear
#

😳

broken kestrel
tranquil barn
#

import random

#

Just add this at the top of your code

broken kestrel
#

all the way on top

tranquil barn
#

yes

somber heath
#

That is where imports live, conventionally.

broken kestrel
#

ok it runs now

somber heath
#

Now catch it.

broken kestrel
#

what else would you guys add to the code to make it more detail

#

detailed*

stuck furnace
#

Hey, I think the section where you select five players could be simplified πŸ™‚

somber heath
#

There is elegance in simplicity.

stuck furnace
#

There is a random.sample function.

broken kestrel
#

I see

somber heath
#

Unless, of course, said simple ends up being really awful. This is a quip and not to be considered with seriousness.

broken kestrel
#

Also when it asks for the team can i give options?

#

Because i feel like when a person runs it, it leaves them hanging if they dont know to put warriors

#

Thoughts?

rugged root
#

Could print the potential list of options ahead of time

broken kestrel
#

How?

somber heath
#

You can print them.

#

You could probably make use of the str.format method. I'd normally suggest f-strings, but if you're dealing with escape characters, which you might want to use to do multiple lines, f-strings get huffy about them.

broken kestrel
#

that sounds intersting... id like to learn the str.format

#

im n ew to this... mind walking me through it

stuck furnace
#

Hey hey.

somber heath
#

I would suggest you pick up f-strings first. It's an easier concept to grasp. I'm approaching when I'd sleep, so I'm of limited use.

broken kestrel
#

oh man

somber heath
#

You can look up tutorials on youtube, however, and there is always the help() function.

broken kestrel
#

anybody else here that helps?

somber heath
#
>>>help(str)```
broken kestrel
#

yes

#

could you walk me through an f string

#

did u see my project

tranquil barn
#
f"This is my {name}"```
broken kestrel
#

im trying to give options for the user to choose from

#

i see

somber heath
#
name = input('What is your name? >')
print(f'Hello, {name}.')```
tranquil barn
#
"This is my {}".format(name)```
broken kestrel
#

how can i change that to fit my code and what im trying to do?

scarlet drift
#

is there a site to check an encoding of something?

#

or that can autodetect an encoding and decode it?

somber heath
#

You may like to look into feeding starred parameters into functions that take more than one argument, list comprehensions and str.join.

tranquil barn
broken kestrel
#

how would it look?

digital jackal
broken kestrel
#

yes

digital jackal
broken kestrel
#

i wanted to give the user the option to choose from a set of teams

digital jackal
somber heath
#

@broken kestrel The more basic building blocks you can add to your palette, the ways you'll be able to imagine, yourself, how to fit things together.

broken kestrel
#

so use this??? name = input('What is your name? >')
print(f'Hello, {name}.')

#

and replace whats in the codes

#

quotes*

tranquil barn
#

dir winword.exe /s

somber heath
#

That was an example of how you can use input to take text from a user, = to assign the object/data on the right of it to the variable, nsme on the left.

#

To then take that variable and give it to another string, an f-string in this case

#

Which looks at things inside curly brackets{}

broken kestrel
#

so i would put {choose a team from below}

somber heath
#

and tries to resolve them. So give it name, well, we assigned the return of input as name

broken kestrel
#

so change name to teamname?

somber heath
#

!e

print(f'Hello, {name}.')```
wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

Hello, Pete.
stuck furnace
#

Oh like a macro @digital jackal?

#

Did you try this command from the article? dir winword.exe /s

broken kestrel
#

opal im stilll confused becaus emy example is kind of different regarding asking something and providing options..

tranquil barn
stuck furnace
#

Ah right.

broken kestrel
#

i cant figure it out

#

im getting errors lmao

stuck furnace
#

Erm, I'm not a Windows user πŸ˜…

somber heath
#

@broken kestrel If I suggest something that seems unrelated, it's not unrelated to one solution or another.

#

@broken kestrel In understanding the elements I'm suggesting, you may then go on to seeing how you might think about solving the problem on your own.

#

I can certainly help you with those basic elements. Project logic, that's your foe to vanquish, though I might be able to suggest strategies.

#

Show the error messages.

#

I'll try to explain them.

tranquil barn
#

~complete_path\Word 2016.lnk

whole bear
#

howdy

#

thought I'd hang out while I check out aoc

tranquil barn
digital jackal
#

~complete_path\Word 2016.lnk

broken kestrel
#

n = int(input('Please enter the number of iterations:'))

for i in range(0,n):

print('Enter 1 for choice 1\n')

print('Enter 2 for choice 2\n')

print('Enter 3 for choice 3\n')

choice = int(input('Enter your choice:'))

if (choice == 1):

    ....
    ....

else:
    print('Invalid choice')
#

i did the numbers just to simplifiy it

#

but im ganna changethe numbers to team names

#

u know????

#

can you run my code and youll understand

somber heath
#

range can just be range(n). (choice == 1) can drop the brackets.

stuck furnace
#

Erm

digital jackal
#
def open_word():
    subprocess.run(r"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Word.lnk")
open_word()
somber heath
#

int will break if you feed it letters. You can look into def, while, try and except to combat that.

stuck furnace
#

Unicode for space? Like the code point?

broken kestrel
#

n = int(input('Please enter the number of iterations:'))

for i in range(n):

print('Enter 1 for choice 1\Warriors)

print('Enter 2 for choice 2\Lakers)

print('Enter 3 for choice 3\Heat)

choice = int(input('Enter your choice:'))

if (choice == 1):

    ....
    ....

else:
    print('Invalid choice')
#

so like this

#

oh int will break???

somber heath
#

If fed letters.

stuck furnace
#

Oh, just put it in quotes?

somber heath
#

!e int('e')

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ValueError: invalid literal for int() with base 10: 'e'
tranquil barn
#

Word\ 2016

broken kestrel
#

so how do i change it

digital jackal
#

C:\ProgramData\Microsoft\Windows\Start Menu\Programs> Word.lnk

somber heath
#

@broken kestrel Reread what I've recently said. πŸ™‚

digital jackal
#

OSError: [WinError 193] %1 is not a valid Win32 application

broken kestrel
#

is it simply replacing int with def

somber heath
#

@broken kestrel No.

#

@broken kestrel Look up tutorials.

#

Look this stuff up.

broken kestrel
#

ya im reading about it as we speak

stuck furnace
#

@somber heath befriend the crow!

#

They're really smart πŸ˜„

somber heath
#

Australian "Little Raven".

stuck furnace
#

No talk of cracking software please πŸ˜„

somber heath
#

We call them crows.

stuck furnace
#

Yep, rule 5 πŸ˜„

#

Erm, I don't know really. It's dubious.

tranquil barn
#
import os
os.system("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Word.lnk")
broken kestrel
#

def GetStringChoice(prompt, **kwoptions):

#

i read about this what do u thoink?

tranquil barn
#
import os
os.popen("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Word.lnk")
somber heath
#

@broken kestrel I am not really strong on thinking at the present moment. Double-starred parameters can be a lesson for another time. They're the dict of parameters.

broken kestrel
#

i wasreading about it and it sees simple

#

for my project i have to use dictionaries thats one of the requirements... so dont you think i should take that route

#

def GetStringChoice(prompt, options):

#

so like this

tranquil barn
#

sum(a = 1, b = 2, c =3)

#

sum({'a':1, 'b':2, 'c':3})

tranquil barn
tranquil barn
broken kestrel
#

prompt = "Which Team do you want?"

input_options = {"a":"Warriors", "b":"Lakers", "c":"Heat", "d":"Clippers"}
>>> response = GetStringChoice(prompt, **input_options)
Which Team do you want?
- 'a' for 'Warriors'
- 'b' for 'Lakers'
- 'c' for 'Heat'
- 'd' for 'Clippers'

#

ya no i understand

#

so thats what i have in my code, u wouldnt suggest that

#

seriously tho i appreciate you guys sitting here elping me

#

should i eraseall this ???

#

i really dont know what to change

tranquil barn
broken kestrel
#

did u guys try running my code?

#

ya what did u put for the team name

#

did it give you an error

#

thats what im saying i need to fix that

#

i wnat to give the user to provide options

#

like to choose there team name

somber heath
#

!e

v = _dict['a']
print(v)```
wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

apple
stuck furnace
#

With the !eval command.

tranquil barn
#

!eval

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

stuck furnace
#

Or !e

#

πŸ‘

#

Your yawning is making me tired too πŸ˜„

#

Yep, almost 11.

broken kestrel
#

_dict = {'a': 'warriors', 'b': 'lakers', 'c': 'Heat', 'd': 'clippers'}
yourteamname = _dict['a']
print(your team name is)

#

i followed your example

stuck furnace
#

@broken kestrel are you able to voice-verify yet?

broken kestrel
#

_dict = {'a': 'warriors', 'b': 'lakers', 'c': 'Heat', 'd': 'clippers'}
team = _dict['a']
print(team)

#

no

#

this is my first time here

stuck furnace
#

Ah right ok.

#

Just noticed you reached 50 messages.

broken kestrel
#

that waht opal had

#

so what do i change it to

#

like its a word

stuck furnace
#

gtg

broken kestrel
#

team = {'a': 'warriors', 'b': 'lakers', 'c': 'Heat', 'd': 'clippers'}
name = team['a']
print(your team name is)

stuck furnace
#

See ya @tranquil barn πŸ‘‹

broken kestrel
#

im sorry im losttt lol

somber heath
#

'This is a string'

broken kestrel
#

please put me in the right diresction

#

wait so ill still need this in my code right???

#

team_name = input('Tell me the team name: ').strip()

team_01 = Team(team_name, 5)

#team_01 = Team("Warriors", 5)

team_01.make()

#

this is a free project im just doing random stuff to make a project

#

...

#

im starting my first class this semester

#

ya

#

i will for sure

#

i like basketball so i just want to finish this

somber heath
#

Sentdex, Corey Schafer

#

!resources

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.

broken kestrel
#

can u walk me through it... like my example

#

just because i already started it

#

im learning as i go

#

yup

past elk
broken kestrel
#

Anybody on to help with my errors??

severe pulsar
faint ermine
#

from __future__ import braces

wise glade
#

what's the op voltage of a USB type c? google's confusing me on this

whole bear
#

55 volts

wise glade
#

google said from 5 up to 20, now u say 55 😡

whole bear
#

true

wise glade
#

had to google faraday cage. Any of u seen movie transcendence of Jhonny Depp, they use some copper sheilding, its the same, right?

#

cause em waves always stay outside on the surface of the closed metal containers

#

no 5g where I live, for the time

#

in india, they just blow stuff up cause they connect it to the mains, 220V 50Hz direct, to save electric bill

#

yeah,

#

sparks fly outside homes, when their thin wires burn down

#

people aren't engineers, they're just brave and don't care

faint ermine
wise glade
#

there's a video from smarterEveryday, he does something like this, with tesla coil, makes a tesla gun or something

#

Here, people tie a chain's end with a lock and throw em on these towers wires, and they short ckt & melt down cause super high voltages flow in them, and they collect the wires & sell em (these kinda wires r expensive too). Nice place India, u should visit πŸ˜…

wise glade
#

this camera reel canister?

faint ermine
#

its for photo film

wise glade
#

if u hear any noise please tell me, my mother just came, & she can b loud

#

yeah, she's doing dishes now

#

powerpoint presentation

#

😭

#

I'll do Merge sort with multiprocessing later today

#

@whole bear what did you make? with microcontroller? I mean, what does it do?

#

hmm, never seen anything like that, on youtube or anywhere

#

nice

#

neat

whole bear
wise glade
#

future salt levels?

#

soil salinity changes on its own? or can change on its own?

#

no trees, no human intervention needed

whole bear
wise glade
#

srry, want to stay, but can't, have a class, right now, just realized it, bye πŸ‘‹

faint ermine
whole bear
whole bear
#
encrypted text:
Code: 21
Text: Hello, World.
Output: -378--315--462--462--525--1176--1260--693--525--588--462--294--1197- 
versed pagoda
#

hi @whole bear

#

wassup

whole bear
#

hi @versed pagoda

#

wassup

versed pagoda
#

i can hear u

#

....

#

do u play b ball?

whole bear
#

no

versed pagoda
#

any sports

whole bear
#

no

versed pagoda
#

ok then, what do u do all day?

#

code?

#

ok then

#

bye

severe pulsar
#

F

sick cloud
#

@severe pulsar hello

severe pulsar
#

hey

sick cloud
#

welcome back

rugged root
sick cloud
#

brb

neon sleet
#

wtf

#

what does that contain lol

tawdry briar
#

WTF xd

neon sleet
#

is there any discord.event when someone enters the server?

#

I don't have games that big lol

#

I only play apex legends, I am a good man

#

heyhey, btw is there any discord.event when someone enters the server?

#

what it is ?

digital thistle
#

no i dont think so

rugged root
#

There is, we have a log that watches it

digital thistle
#

oh srry

rugged root
#

Just got to remember the event

neon sleet
#

yip

severe pulsar
#

on_member_join

neon sleet
#

oh cool, thanks!

severe pulsar
#

no problem

neon sleet
#

hmm

tawdry briar
#

omg

neon sleet
#

sounds cool

#

I was thinking about hosting a bot for my school discord server

severe pulsar
#
import discord
@bot.event
async def on_member_join(member: discord.Member):
  pass
#

@neon sleet

neon sleet
#

thanks @severe pulsar

severe pulsar
#

no problem

#

java is too object oriented

#

python gives you a choice

neon sleet
#

java is completely oop i think

severe pulsar
#

and im glad for that

neon sleet
#

python is also a good oop language

severe pulsar
#

what do you mostly code in @whole bear

rugged root
#

Yeah it takes some getting used to if you're used to the C's and what not

severe pulsar
#

ooh awesome

#

theres too much boilerplate in my opinion

rugged root
#

And Java, yeah

severe pulsar
#

MyHugeClassName object = new MyHugeClassName(params);

#

dont enjoy this syntax lmao

#

thats just personal though

#

like why am i repeating this one huge class name twice

#

niiiiice

#

i mean it reduces ambiguity so thats cool

#

yeah

#

no static typing > dynamic typing always in my opinion

neon sleet
#

that repeating is because of java's static nature

severe pulsar
#

thats why i enjoy typescript

neon sleet
#

hey btw why isn't my on_member_join() function working?

#

it does work on bot join aswell ?

#

ah ok

#

the function isn't working on member join aswell?

#
@bot.event
async def on_member_join(member: discord.Member):
    print(member)
#

aint printing anything

#

yep

severe pulsar
#

hmm

neon sleet
#

I made my test account join

frigid panther
#

hello

severe pulsar
#

ok this is sure

#

but...

#

looks pretty good!

#

bruh you did this in java? respect

neon sleet
#

a

frozen oasis
#

thats actually pretty nice man

fickle fossil
#

I saw something on some programming subreddit where someone made a webapp where you can simultaniouly watch videos w/ your friends with one url. There's w2g, but this was just some project someone made and it worked so much better than w2g

severe pulsar
#

NNNNOOOOOOOOOOO

#

XML

#

bruh hats off

neon remnant
#

omg....

severe pulsar
#

you need to go to developer portfolio

#

and then app/bot/intents?

#

something like that

sick cloud
#

is this js or java ?

severe pulsar
#

i love how you know the method will throw an error, and you're just like "aah yeah just ignore that ;)"

sick cloud
#

thx

severe pulsar
#

joking :)

#

ok cool

atomic edge
#

heyo

frigid panther
#

what is awt

atomic edge
#

I got into programming python again.

#

also quick question

#

c++ or c and java or javascript

frigid panther
#

I like dynamic langs

sick cloud
atomic edge
#

and what about c++ or c?

#

Yeah I'm planning to learn 3 programming languages.

sick cloud
atomic edge
#

oh yeah that ASUS one is dumb

severe pulsar
#

but maven uses xml(>:( personal preference lmao) ;-;

sick cloud
#

it also probably has TabNine

rugged root
#

!resources

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.

sick cloud
#

do u prefer tabnine or kite ?

atomic edge
#

I am missing two screens

frigid panther
#

they are useless unless you pay

sick cloud
#

there is a payware and freeware versions

neon sleet
#

Kite?

frigid panther
#

I am not sure about java

#

but It hasn't been much a of a help in python

sick cloud
#

freeware is restricted

neon sleet
#

promotion?

#

lol

frigid panther
#

IDE suggestions are more than enough for me in pycharm

severe pulsar
#

wait

#

oh never mind

#

lmao

frigid panther
#

yep

sick cloud
severe pulsar
#

what ide do you guys use for python bois

frigid panther
#
.disable-select {
  -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;
}```
neon sleet
#

isn't there any framework in python similar to electron.js?

amber raptor
#

Neuron, no

#

Electron exists because JavaScript

#

Like browsers and JavaScript

neon sleet
#

what does discord.Role() takes in as parameters?

severe pulsar
#

are you creating a role?

neon sleet
#

hmm if it is an existing role

frigid panther
#

then just get it

neon sleet
#

I don't wanna get it from the user

frigid panther
#

noo

#

its a method given to us by dpy

faint ermine
#

i assume you were referring to the getter/setter pattern? python has it in the form of properties, not methods

frigid panther
#

I want to learn java sometime later, just for minecraft modding

#

I know only the basics as of now

verbal ibex
#

SUUUP!

verbal ibex
#

I cannot talk, cuz I'm new))

frigid panther
#

not really, its something like class.method.set or get

#

we dont use set directly

frigid panther
#

the assignment operator is basically the set

#

some for python

verbal ibex
#

yep

#

sure))

frigid panther
#

@whole bear

#

I like geography

neon sleet
#

what does String args[] means in public static void main(String args[])?

frigid panther
#

not sure about geology

#

I like learning about forests and the environment

severe pulsar
#

i dont understand why getters and setters are features though

#

is it just for clean code?

#

you can directly change the property in both python and java

#

given the property is public

frigid panther
#

maybe you do person.name = "somename , and say name is a property but instead of saving it as somename, you wanna modify it and save it @severe pulsar

#

thats when you write a custom setter

verbal ibex
#

Where r u from, guys?

tawdry briar
#

turkey

severe pulsar
#

hmm ok

verbal ibex
#

I'm from Ukraine

frigid panther
#

btw, I just finished my University admission today

#

finally entering uni

#

lets see

#

I am more of an introvert, and its online classes

#

uni starts from jan

neon sleet
#

woo, thats cool

#

extroverted?

#

nono

frigid panther
#

I go out only to play sports

neon sleet
#

I just feel so uneasy when extroverts jump around me shouting

frigid panther
#

Not a big fan of partying or shopping

neon sleet
#

wat

#

I myself didn't party on my birthday

frigid panther
#

I am a kinda of person where, instead of going out to eat, I would order food and spend time watching a movie or playing UNO

frigid panther
#

Unless there is UNO

#

Sometimes, me and my friends spend the whole night playing UNO

#

and minecraft takes a lot of my time

#

I play on a minecraft server, I have been with them for over an year

#

amazing community

#

closed community

#

we got secret santa event coming up soon

neon sleet
#

do you play minecraft with rtx on?

frigid panther
#

jk

neon sleet
#

how can I? I am poor :/

frigid panther
#

I play with BSL shaders

#

Not always tho

#

Only for pics

neon sleet
#

I can't buy myself a good graphics card for ML

#

I am student right now tho

frigid panther
#

i have a 1650 super, got it recently

neon sleet
#

I got a 1650 😦

frigid panther
#

laptop?

neon sleet
#

pc

frigid panther
#

oh

neon sleet
#

would buy a new one soon

frigid panther
#

cool

neon sleet
#

prolly a rtx 3080

#

haha joking, I am not rich

frigid panther
#

I wanted a better processor

#

compared to the GPU

#

so went with intel i5 6 core processor

neon sleet
#

I got a i7 8th gen

#

so I am almost okay

#

with 16gigs ram

frigid panther
#

I still have to buy windows, lol

#

I am using the organization version

#

which lasts for 180 days

neon sleet
#

haha yeah? I didn't even buy win 10, I used win 7 product keys and it activated that trial version

frigid panther
#

wow

#

why is the vc so quite

neon sleet
#

idk

#

btw did you solve day 4 challenge aoc?

frigid panther
#

I haven't done day 2

rugged root
#

Oh shit

#

I'm behind again

#

Did day 2 yesterday, haven't done 3 or 4 yet

frigid panther
#

was busy with uni admission stuff

rugged root
#

Understandable

neon sleet
#

and I was on my school stuff

#

but challenges were easy and took only around 1 hour or so

frigid panther
#

1 hour is still a lot, lol

neon sleet
#

it wasn't 1 hour tbh

#

I just did some weird things and got confused between my own loops

#

and so wasted way more time

wise glade
neon sleet
#

could have done it in 20 mins or so

rugged root
#

rderp

frigid panther
#

thought u said rdr2

neon sleet
#

what is rderp?

wise glade
#

Rabbit's sound have a techno vibe to it

frigid panther
#

btw, red dead online is available for 5 USD on steam, till feb

rugged root
somber heath
#

Honk honk.

rugged root
#

Sorry, didn't mean to goose you, Opal

wise glade
frigid panther
#

I will be back after dinner

neon sleet
#

see ya!

rugged root
#

I heard "plebian" rather than "debian"

somber heath
#

Well...

wise glade
#

does cloud computing mean, you write the code but it you run it on some different computer somewhere else in some server?

#

cloud computing services are used for building, testing, deploying, and managing applications and services through data centers.

somber heath
#

Pretty much.

wise glade
#

so If i want to learn more bout it, where to begin?

#

AWS, Azure etc? something like this to study up?

#

does there exists some link or some book, which contains all the info for beginners like that if they want to learn something new where should they begin, and how to go bout it ?

#

they cost money to use?

#

ok

amber raptor
#

Not always

#

AWS and Azure have free tiers

wise glade
#

ok, so like pro versions of them cost money

#

do you guys know MS Excel? is it a good skill?

#

Rat, take a break, you've gone too deep into this stuff πŸ˜‚

faint ermine
wise glade
faint ermine
#

its a joke, its just a lot of technobabble to confuse the viewer

wise glade
#

Rat, take a break, or you'll be talking that sh** in your sleep, & then family's really gonna ......

wise glade
severe pulsar
#

πŸ‘Œ

wise glade
#

don't do it, I have exams from 11, & I just do one class per week now

#

for extra credit 😏

sick cloud
#

i'm in high school

wise glade
#

no you're at home, you high school life's going past you

#

Rat, all u need now is a youtube channel, & put all you're doing right now in those videos, & make some money off of it as well

sick cloud
#

finally i made a code which would automatically log into my gmail and discord account

wise glade
#

one major change in education I see is:
my father didn't see a computer untill 14-15 year in his job, his little brother didn't see till post-grad
now they have to start teaching programming in elementary

#

ok, I'm gonna go learn more about missles from that video, bye πŸ‘‹

sick cloud
#

comment

whole bear
#

python no more sucks baby

#

found my way to it

sick cloud
severe pulsar
#

change the nick then

#

;)

whole bear
#

well its cool

#

its a trend now!

severe pulsar
#

awesome

whole bear
#

@somber heath thanks for the suggested tutorial

wanton blade
#

Hey guys, can anyone tell me how to convert Numpy array to list????

sick cloud
#

@faint ermine true

sick cloud
#

@faint ermine yes?

faint ermine
severe pulsar
#

πŸ‘€

faint ermine
severe pulsar
#

vikash

#

whats up

whole bear
#

@whole bear Yes my friend

severe pulsar
#

lel

whole bear
#

how is going

#

honda

#

lol

stoic ore
#

some times its too loud in there

whole bear
#

what is sypder module

#

@rugged root I got a question, do you know what is __future__ module is because i'm confused about what it's?

#

Huh

frigid panther
#

what is its use in python 3?

faint ermine
#

!e ```py
from future import braces

wise cargoBOT
#

@faint ermine :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 | SyntaxError: not a chance
rugged root
#
__future__ is a real module, and serves three purposes:

To avoid confusing existing tools that analyze import statements and expect to find the modules they’re importing.

To ensure that future statements run under releases prior to 2.1 at least yield runtime exceptions (the import of __future__ will fail, because there was no module of that name prior to 2.1).

To document when incompatible changes were introduced, and when they will be β€” or were β€” made mandatory. This is a form of executable documentation, and can be inspected programmatically via importing __future__ and examining its contents.
frigid panther
#

Can I use a meta class to check if any of the instance attributes are None? is it possible?

faint ermine
#

yea

frigid panther
#

can you give me an example

#

okay, thanks

#

lets go to help 2 @faint ermine

somber heath
#

My attempt at a branchless conditional I mentioned earlier.

def outcome_a():
    pass

def outcome_b():
    pass

condition = True

{True: outcome_a,
 False: outcome_b}[condition]()```
vs
```python
if condition:
    outcome_a()
else:
    outcome_b()```
severe pulsar
#

dictionaries for if statements

#

is the true gamer move

#

i feel like its much more dynamic and clean this way

odd raven
#

hi

severe pulsar
#

hi

odd raven
#

so um

#

wow you must be

#

a pretty active member

#

1000+ messages

severe pulsar
#

not really lmao

odd raven
#

pretty cool

severe pulsar
#

i used to be in the summer

odd raven
#

yeah i guess you've fallen off

#

to be expected

severe pulsar
#

yeah

#

im irrelevant now

#

;-;

odd raven
#

yep

#

as always

#

wdym now

#

you were always irrelevant

severe pulsar
#

true true

#

right so

#

you working on any coding projects?

odd raven
#

how come you're muted

severe pulsar
#

background noise

odd raven
#

say something

severe pulsar
#

i unmute with keybind whenever i need to talk

odd raven
#

say something NOW

severe pulsar
#

we'll see :)

#

nah

odd raven
#

-;-

severe pulsar
#

bothering is too much mean

odd raven
#

who's greg

severe pulsar
#

interrupting is also bad

odd raven
#

who's scott

#

who's atticus

#

the heck

severe pulsar
#

to kill a mockingbird

odd raven
#

oh

severe pulsar
#

from that book

#

apparently

#

havent read it

odd raven
#

waho

#

neither have i

severe pulsar
#

woah whoa

odd raven
#

im more of a non-fiction fan myself

severe pulsar
#

right

odd raven
#

it's hard to find a good fiction series

#

a lot of them are directed at pre-teens

severe pulsar
#

yeah you read huge comp science books in a day right

odd raven
#

uhh, no...?

severe pulsar
#

right

#

AP

odd raven
#

ap

#

ap

#

ap

#

he said ap

severe pulsar
#

college advantage

odd raven
#

everyone get down

severe pulsar
#

get DOWN

odd raven
#

get down

#

hide in the bunker

severe pulsar
#

cower in fear

odd raven
#

he's flexing on us

severe pulsar
#

FLEX

odd raven
#

im trying not to make any sounds

severe pulsar
#

AP PHYSICS

odd raven
#

so that he doesn't know

#

where i am

#

so he cant hunt me down

#

AP PHYSICS

severe pulsar
#

lol

odd raven
#

he's got us

severe pulsar
#

hes got us good

odd raven
#

in the palm of his hand

#

ladies and gentlemen

#

they got us

severe pulsar
#

yeah he can crush us whenever he wants

#

LMAO

odd raven
#

mich

#

ig

#

an

severe copper
odd raven
#

@whole bear whats emancipation

somber heath
#

"It's either maths or no maths." 2b or not 2b. Because algebra. Laughter may now commence.

severe pulsar
#

HAHAHA πŸ˜‚ πŸ˜‚ 🀣 🀣 πŸ˜† πŸ˜† LOLOL lmao

frozen oasis
#

lmfaoooo

severe pulsar
#

i always post cringe

odd raven
#

you are cringe

severe pulsar
#

please dont ping me for obvious things ;)

odd raven
#

too much

odd raven
severe pulsar
#

alright

#

thats awesome

#

bye! @odd raven

#

(also we're playing around)

#

for anybody reading/moderating

somber heath
#

@severe pulsar ducky_camo

severe pulsar
#

lel

somber heath
#

Non-obvious duck is non-obvious.

odd raven
#

lel

#

guys we should make a lol-train

#

in vc chat

severe pulsar
#

is that allowed

somber heath
#

Best to not.

severe pulsar
#

ban hammer really do be scary

#

lmao

wise glade
#

I know your pain, with report, I have to make PPT, cause teach refuses to take viva from report

#

going to python general πŸ™‚

#

ok, they're not helping

#

how can I make all dict's values equal 0? i mean, is there a built in function for it?

severe pulsar
#

sample i/o?

#

input/output?

#
dictionary = {
  "key1": 1,
  "key2": 2,
  "key3": 3
}

dictionary=  make_zero(dictionary)
#

and now dictionary should become?

#
dictionary = {
  "key1": 0
}
#

?

#

(with all keys, just using 1 for shorthand)

#
def make_zero(dictionary: dict) -> dict:
  for key in dictionary.keys():
    dictionary[key] = 0
  return dictionary
somber heath
#
_dict = {'a':1, 'b':3}
for key in _dict:
    _dict[key] = 0```
severe pulsar
#

this works too

wise glade
#

so I have to iterate over it

severe pulsar
#

yup

somber heath
#

Or... python _dict = {'a':1, 'b':3} _dict = {key: 0 for key in _dict}

severe pulsar
#

ONE LINER OPTIMIZATION FOR THE WIN

#

also wouldnt it be?

_dict = {'a':1, 'b':3}
_dict = {key: 0 for key in _dict.keys()}
somber heath
#

It does create a new object, which may or may not be desirable in some cases.

#

Iterating over a dict gives the keys.

severe pulsar
#

immutability is always better in my opinion

#

so new is better lol

somber heath
#

If you want to be explicit about the keys, you can do .keys()

#

Dropping it is tidier, imo.

severe pulsar
#

right

#

for sure though

somber heath
#

I'm saying it's key with the variable name, so it's clear enough.

severe pulsar
#

yup

#

very clean

wise glade
#

ok, thank you opal, u can stop now, I iterated it

severe pulsar
#

no but we're being esoteric about it

#

there are multiple ways to achieve the same thing

#

;)

#

even if it reaches the same efficiency

#

so its up to the coder

#

to "paint a picture" with their "words"(code) ehh opal? ;)

normal hinge
#

do u guys have back pains

somber heath
#

Mhm.

wise glade
#

why wouldn't this work?

_dict = {'a':1,'b':2}
_dict = dict(map(lambda x: x=0, _dict.keys()))
severe pulsar
#

bro thats one of opals catchphrases

#

it might

#

ok yeah its some syntax error

wise glade
#

lambda x: x=0 this part

severe pulsar
#

yeah

#

not very knowledgeable about lambda functions

#

i would rather make a fully different function

#

and just pass that in

normal hinge
#

@rugged root whats going on mate

severe pulsar
#

lolol

normal hinge
#

@somber heath ur audio is cutting

#

for me

somber heath
#

Right.

normal hinge
#

many times i got bullied

wise glade
#

I was bullied once, was kinda fun, really

severe pulsar
#

for what indratej

normal hinge
#

when i play online games

#

lol

severe pulsar
#

yeah but online bullying should be taken with a grain of salt

wise glade
#

wait, i might have confused bullying with ragging back there

#

it was ragging, kinda fun

#

can we trade lives

#

CS:GO for life

stuck furnace
#

Hey πŸ˜„

#

Just popping in...

#

Erm, I don't actually know

#

πŸ₯

#

Ah, there's no cymbal emoji

wise glade
#

well I'm also gonna split, see u

#

he's stalking now

stuck furnace
#

Who is? πŸ˜„

stuck furnace
#

Nah, I don't have mod powers πŸ˜„

normal hinge
stuck furnace
#

Only thing we can do is close a help channel...

frigid panther
#

whats happening

whole bear
frigid panther
#

what are you playing @graceful grail

#

add me DSK6969, for rocket league, I will join you tmw

wise glade
#

I always thought Opal was on staff

frigid panther
#

accepted

#

no, you cannot use code help 1

#

I am not playing now

#

I can play in about 30min after I got some work done

somber heath
#

@wise glade You have not been alone in such assumptions.

frigid panther
#

we all can play among us instead

stuck furnace
#

Does rocket league run on Mac?

faint ermine
#

yea it does

frigid panther
#

I cannot play now, maybe later @graceful grail

graceful grail
#

ok

normal hinge
#

@faint ermine come on

#

man join

wise glade
normal hinge
#

whoever want to join us on rocket league

#

message here

wise glade
#

πŸ˜… no one's gonna come?

#

so someone came & left

faint ermine
wise glade
#

the hell is ultimate tic tac toe?

#

also it wasn't dragon_, it was me in your link laundmo

#

i think my intervention broke it for u guys

#

i came, i saw, i did something, and then I left, cause I didn't get anything

#

πŸ˜‚

#

i just clicked the link, it asked me who r u laundmo or dragon_

#

i picked dragon_

#

now' I' wont come

#

don't worry

#

ok, I'm gonna sleep now, next day started for me

stuck furnace
#

We should give you a greeter role.

sick cloud
#

@tranquil barn hello

whole bear
#

NOOOOOOOOOOOOOOOOO

sick cloud
#

lol

sick cloud
#

@tranquil barn 10/10 ways

#

hmmmm

#

r u sure ?

whole bear
#

wait

#

who's

#

the owner?

sick cloud
#

joe, lemon, sebastian r the owner rn

#

but the original owner let

whole bear
#

let

#

what

#

😳

sick cloud
#

the person who made this server

#

left

whole bear
#

uhg

#

why

#

:I

sick cloud
#

and gave authority to those 3 ppl

whole bear
#

he deadd?

#

jk jk

sick cloud
#

idk Mr Hemlock told us that

sick cloud
#

just a sec

stuck furnace
#

Yep

sick cloud
#

@whole bear do u play chess ?

stuck furnace
#

Sorry, I was in another channel.

whole bear
sick cloud
stuck furnace
#

Yeah, but I wont.

#

I can't.

whole bear
#

@sick cloud holy shit man

#

XD

sick cloud
#

4 moves lol

#

i'm not gud in chess btw

whole bear
#

it's been some time

sick cloud
whole bear
#

im deadd

sick cloud
#

wanna play another one ?

whole bear
#

another game?

sick cloud
#

yessss

whole bear
#

or another match?

whole bear
sick cloud
#

a casual game

whole bear
#

links

#

πŸ«‘

sick cloud
#

don't worry about it

normal hinge
#

lets play skribble

whole bear
#

do i have to signup?

normal hinge
#

no

sick cloud
#

lol

#

@normal hinge play chess dude

normal hinge
#

i don't have big brain

#

to play chess

sick cloud
#

play me then

normal hinge
#

guys come and join

sick cloud
#

@faint ermine bye

whole bear
#

@sick cloud i was actually going for that move

#

hahah

sick cloud
#

fokin ?

normal hinge
#

what is fokin

stuck furnace
#

U wot?

whole bear
#

what's dat?

#

fam

somber heath
#

@normal hinge What comes before sponin.

whole bear
#

@whole bear bro

normal hinge
whole bear
#

where are you from?

sick cloud
#

@whole bear u can only use teams ?

normal hinge
#

yahoo

whole bear
#

@sick cloud F

normal hinge
#

anyone watch anime

sick cloud
whole bear
stuck furnace
#

brb

whole bear
#

keep it fam

normal hinge
#

@whole bear what is ur favorite?

stoic ore
#

HΔ°

whole bear
#

one punch man

#

XD

normal hinge
#

yeah

#

what about dragonballz

whole bear
#

it's my childhood fam

sick cloud
#

try roblox

normal hinge
#

i felt bad , becoz i can't buy dragon ball new games

whole bear
#

i need to updgrade my pc :I

normal hinge
#

i have money but

#

they are not selling

#

in india

#

on steam

whole bear
#

i don't have enough knowledge to upgrade it myself

#

i want to do it mysefl

normal hinge
#

what is ur specs

#

i'm 22

#

damn

#

final year of btech

sick cloud
#

@whole bear i'm ||14 if u were wondering what my age is||

normal hinge
#

i'm a gamer/programer/pcbuild enthusiastic

whole bear
#

keep it goddamn it

#

you look dope

#

homie

sick cloud
#

@tranquil barn ||stuff||

tranquil barn
#

||hi||

sick cloud
#

||hi||

sick cloud
whole bear
#

how old are you fam?

#

high five fam

#

im also 17

#

lmao

#

we pfp kinda match's too XD

normal hinge
#

loving games doesn't make me under 18

whole bear
#

XD

normal hinge
whole bear
#

that's cool

#

where are you from?

whole bear
normal hinge
#

i have knowledge i can help u

#

for buying pc

whole bear
normal hinge
#

πŸ˜†

#

if u have money i suggest u don't buy now

whole bear
#

@sick cloud where did you go my friend

#

chessgod

#

XD

whole bear
#

or some souce

#

i want to learn you now :DD

normal hinge
#

i.e Youtube

sick cloud
whole bear
#

is he russian? XD

#

oh

#

cool

normal hinge
#

russians offer vodka

#

πŸ˜†

#

it is illegal in india

#

lol

whole bear
#

you smoke?

#

i bet people who smokes weed are high iq people XD

normal hinge
#

haha

whole bear
#

everyone can think like elon mask

#

XD

normal hinge
#

lol

whole bear
#

jk jk

normal hinge
#

πŸ˜†

whole bear
#

weed bruh

normal hinge
#

then snoop dog must be smarter then elon musk

#

but snoop lives with weed

whole bear
#

tru dat

normal hinge
#

open his fridge

whole bear
#

highest in da room

#

XD

#

brooooo

#

dammm

#

XDDDDDDDDDDDD

#

m deadd

whole bear
#

he batman

#

XD

whole bear
#

wat is that?

#

like

#

juice juice?

#

whoever said ppl are stupid

sick cloud
whole bear
#

you're one of em

#

F

sick cloud
#

#9999

tranquil barn
normal hinge
#

haha

#

no

#

i just randomly

#

use it

#

thank god it is not porn site

whole bear
#

nooooooooooo

#

XD

normal hinge
#

it is publications

#

site

#

no

stoic ore
#

@gentle bough Hi AslanΔ±m

normal hinge
#

chatting is much fun

#

then talking

whole bear
#

yea

#

i don't everyday