#voice-chat-text-0

1 messages · Page 735 of 1

inland idol
#

@wise glade there's this guy on youtube called coding garden he makes full stack apps usually

#

you'll learn a lot from those streams

#

even if you don't use js you can follow along

#

it's really simple stuff

wise glade
#

good thing, I've learned JS before
don't remember it well, cause never used it after learning it

inland idol
#

trueee

wise glade
#

yeah, I have a class called Fundamentals of IOT and Applications in my syllabus right now

#

now they're teaching something called Anaconda using python

inland idol
#

One of the important things a developer should have is the ability to look things up

#

you cant expect to know everything

snow marlin
#

" Knowing the answer , doesnt mean you know how to answer the question " - Quote of the day

#

Damn couldnt say it better than myself

#

its not even a joke

#

its a really good quote

inland idol
#

someone should pin it

snow marlin
#

Waaay too many times i jsut seek the answer from Stack Overflow

wise glade
#

yeah, @faint ermine a lot of things were said right, worth remembering
except that 416 error part, cause that went over me

marble shadow
#

Why I cant join to this voice channel?

zealous wave
#

maybe your voice banned or something

snow marlin
#

you need to get at least 50 comments

inland idol
#

you have to wait 3 days and have more 50 msg

marble shadow
#

Aha okay

faint ermine
#

@marble shadow you should be able to join, but you wont be able to talk

marble shadow
#

Its hard

whole bear
#

Hi

wise glade
#

@faint ermine when did you become a helper?

whole bear
#

I wanna TALK! 😄

snow marlin
#

lol me too

whole bear
#

lol

tidal salmon
snow marlin
#

but rules are rules

whole bear
#

I know man

wise glade
#

I can't believe it, and Opal's still not been given that honor 😠

whole bear
#

I need send 50msg

inland idol
#

it was really nice hearing you talk

#

take care

zealous wave
#

you too!

snow marlin
#

whats the teapot about again guys ?

#

oooohhh

whole bear
#

Yep

snow marlin
whole bear
#

What is it channel: help-fluorine, help-iron... etc

#

???

#

Oh, thx boy!

wise glade
#

@zealous wave press ctrl + k, and top of list come last channel you posted into

#

i think its "dunder chili"

zealous wave
#

na its just chili lol

whole bear
#

Sorry bro

#

I can write this way, I just write in my native language so that my colleagues from my country can see me!

#

Okay?

#

50 messages is a lot

snow marlin
#

lol chill ones your be active you'll eventually get in

wise cargoBOT
#

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

snow marlin
#

just talk here like normal

whole bear
#

OK

snow marlin
#

just dont spam

whole bear
#

What should I write in this channel?

snow marlin
#

just talk about anything

wise glade
whole bear
#

Is this an offtopic channel?

#

k

wise glade
snow marlin
#

just publicly say if there okay if they DM

whole bear
#

@mystic marlin, how did you make your custom discord activity?

wise glade
#

this is an awesome server, you'll never need to dm anyone, you always get a response in no time

orchid scroll
#

do you guys any recommendation for image processing

whole bear
orchid scroll
#

i am in this club

#

try to understand willingly

whole bear
#

@mystic marlin can you write the name of the program here?

orchid scroll
#

college club has their own

#

video

#

for image processing

#

but how can i improve myself

#

in image processing

wise glade
whole bear
#

Is this real information from your computer?

#

Yes yes Petrosyan

halcyon flare
#

Thanks

wise glade
#

not the docs, but the homepage, I had docs saved as my bookmark

faint ermine
whole bear
#

How can I find out how many messages I have sent?

#

What are you doing?

#

My ears!!!!

#

Who can help with the configuration of Linux arch on xfce?

snow marlin
#

@faint ermine aboout Database Management Systems , Do you think I should prioritize on MySQL or PostgresSqL ?

faint ermine
#

IMO, PostgreSQL, its much more flexible

snow marlin
#

but I heard soo much good stuff on PostGresSQL

#

alright thats a good enough answer for me to prioritize on since I've heard so many good things about it

faint ermine
#

either are fine though, you probably wont be able to take advantage of the flexibility untill you're a bit down the line

wise glade
#

so this is imp => HTTP request methods (GET, POST, PUT, PATCH and DELETE)

gentle flint
wise glade
#

ok, I'm going to bed now
🖖

whole bear
#

@faint ermine, where can I find a text channel, where can I ask a question and will I receive an answer in text form?

honest pier
whole bear
#

Thank you

wise glade
# whole bear Thank you

I told you the same earlier, but I guess you didn't read it before
spend some time reading it, then you won't need any help in how to get help

whole bear
#

Yes my dear friend, I have forgiven your message. I apologize a thousand times.

#

Guys, bye everyone! I went to Linux!

gentle flint
#

congrats

#

which distro

whole bear
gentle flint
#

not u @whole bear

#

u just get a cup of tea

whole bear
#

😢

#

Arch

gentle flint
#

uh
as a first distro?

whole bear
#

No)

gentle flint
#

oh good

#

I thought you were using Linux for the first time and immediately using Arch

whole bear
#

No my friend, I've been using Linux since 2019, if I'm not mistaken

zealous wave
#

nice

#

good update

whole bear
#

@gentle flint, are you using Linux too?

gentle flint
#

mhm

#

since around 2015

whole bear
#

Wow, you have a lot of experience. It is very good!

gentle flint
#

I had little choice, lol

#

my dad made me

#

'cuz our computers couldn't run Windows

whole bear
#

Which distribution?

gentle flint
#

Debian stable so far, 'cuz my dad didn't feel like maintaining stuff and it's what he used at work

#

I've yet to switch to anything else

#
         _,met$$$$$gg.           eli@saladin
      ,g$$$$$$$$$$$$$$$P.        OS: Debian 10 buster
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 4.19.0-13-amd64
   ,$$P'              `$$$.      Uptime: 41m
  ',$$P       ,ggs.     `$$b:    Packages: 2276
  `d$$'     ,$P"'   .    $$$     Shell: bash 5.0.3
   $$P      d$'     ,    $$P     Resolution: 2960x1050
   $$:      $$.   -    ,d$$'     WM: i3
   $$\;      Y$b._   _,d$P'      GTK Theme: Nordic [GTK2/3]
   Y$$.    `.`"Y$$$$P"'          Icon Theme: Zafiro-icons
   `$$b      "-.__               Font: Sans 10
    `Y$$                         CPU: Intel Core i5-4570 @ 4x 3.6GHz [27.8°C]
     `Y$$.                       GPU: Mesa DRI Intel(R) Haswell Desktop 
       `$$b.                     RAM: 1081MiB / 7897MiB
         `Y$$b.                 
            `"Y$b._             
                `""""           
whole bear
#

How much is uptime?:)

#

41m

faint ermine
#

41 minutes

gentle flint
#
 19:15:14 up 42 min,  1 user,  load average: 0.40, 0.51, 0.60
whole bear
zealous wave
#

im big hacker

faint ermine
somber heath
#

"People having it as their profile picture is a bit weird."

hushed elm
#

🦜

hushed elm
#

he's a hacker omg

#

cowbunga

shut goblet
#

does anyone have a good little project to make to make with "while loops" on python? I just did one to print:
1
12
123
1234
12345

x = ""
count = 0

while count < 5:
    count += 1
    x = x + str(count)
    print(x)
    print("")
#

any other projects u guys have for me?

honest pier
#

write a program to take numbers input from the user. stop taking input when the user inputs "quit"
find the median, the max number, the min number, and the sum of all the numbers

#

@shut goblet

zealous wave
#

and the range

#

for fun

honest pier
#

@shut goblet do you know the input function?

shut goblet
#

i mean yes. but havnt learned it

#

so just ddont do that for now

honest pier
#

what better time to learn it than now

shut goblet
#

yessir ❤️

#

ill lyk when im done and u can tell me if there was a better way to write it ❤️

honest pier
#

np

shut goblet
#

how do i stop a program from running in my terminal

gentle flint
#

ctrl+c

shut goblet
#

thank you

#

@honest pier do i need to import something to be able to get median sum etc..?

zealous wave
honest pier
#

no

shut goblet
#

doing the print stuff now

zealous wave
#

dw dw lol im kidding

shut goblet
#

❤️

zealous wave
#

@coarse mortar

shut goblet
#

im getting some trouble. could someone help me out? (for the sum, median, max and min number)

#

its telling me the list dose not have int

gentle flint
#

have you checked out the math module

#

ah

#

uh

#

can you print your list

shut goblet
#

yea

#

i can

#

it works

gentle flint
#

and put it in a pastebin

#

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

honest pier
#

did you convert the input to an int? @shut goblet

gentle flint
#

^ that

#

you can check that by seeing if there are quotes around your values in the list when you print it

shut goblet
#

yup their are quotes

zealous wave
#

oops sorry

gentle flint
coarse mortar
shut goblet
#

i tried

#

but then it messes up me tiping in quit

gentle flint
#

convert it to an int before inserting it in the list

#

Oh

#

well, check if it consists of integers first

shut goblet
#

alright

#

no

#

its str

honest pier
#

check if it's valid with isnumeric string method

shut goblet
#

['1', '2' etc..]

gentle flint
#

before inserting each value into your list

if value.isdigit():
    value = int(value)
    mylist.append(value)
shut goblet
#

is there a way to convert an entire list to int? i found a way to remove the "quit"

#

by simply adding if statement

#

and .remove()

shut goblet
#

gotchu boss

gentle flint
honest pier
#

list comp

#

creates a new list

gentle flint
#

ik

honest pier
#

so it doesn't need to modify anything

gentle flint
# honest pier so it doesn't need to modify anything

I was thinking he wanted to modify the list
so that everything consisted of integers
this will return a value, but not modify the original list
so I was saying he'd have to still assign the returned value to the original llist variable

shut goblet
honest pier
#

two equals signs for comparison

shut goblet
#

gotchu gotchu

#

stillll

#

!!!

gentle flint
#

well no duh

#

you haven't converted your list so it shows numbers

shut goblet
#

no but im checking x

#

not numbers

#

x = input

honest pier
#

the order of the statements in the loop is a bit unintuitive

gentle flint
#

you
are
not
converting
x
to
a
number

#

look at what you are doing

shut goblet
#

ok ok

#

i ddid this

honest pier
#

you're missing a colon on your if statement

shut goblet
#

FINALLY!! THXXX

#

yesss!!! now quit no longer goes into the list

#

now time to convert list into ints

zealous wave
#

@tough cove who tf are you and why are you tryna send me a friend request

tough cove
#

yo i was tryanna join the call

#

sry for bothering

#

i apologize

zealous wave
#

its fine

shut goblet
#

having hard time converting list of strings to int

gentle flint
#

code was posted before by chili which should work

#

scroll up

shut goblet
#

ok 1s

#

❤️

#
if value.isdigit():
    value = int(value)
    mylist.append(value)
#

can u explain it?

gentle flint
#

I didn't mean that

shut goblet
#

what is isdigit()

#

ok

gentle flint
#

I meant

shut goblet
#

ok gotchu

gentle flint
#

only change list to the name of your list

shut goblet
#

doesnt work 😂

#

still a sting 😦

gentle flint
#

well, it's not going to modify your list

#

it returns a list

shut goblet
#

OOOOMGG

#

UR RIGHT

#

1s

gentle flint
#

you now have to actually do something with the list it returns

shut goblet
#

IT WOKRS!!!!

gentle flint
#

kudos for chili then

shut goblet
gentle flint
#

not as such

shut goblet
#

please enlighten me

gentle flint
#

int(x) will take each value from the list, convert that value to an integer, and leave the list untouched

shut goblet
#

gotchu

#

let me fix that up real quick

gentle flint
#

just use chili's suggestion

#

it's far better

shut goblet
gentle flint
#

no

zealous wave
#

i mean

gentle flint
#

that will add x as an integer to the end of each list

shut goblet
#

what is chilis sugg?

#

oohh

gentle flint
shut goblet
#

hmm

#

let me correct 1s

gentle flint
#

it's
the
thing
you
were
already
using

gentle flint
shut goblet
#

i want to learn

zealous wave
#

no

shut goblet
#

i already have var numbers = [] above

zealous wave
#

numbers = [int(x) for x in numbers]

gentle flint
#

you should be using var at all

#

this isn't js

#

and yeah, just do what chili says

#

it's simpler and neater

shut goblet
#

i understand the list comprehension. but how would i do it without using list comprehension

#

i know list comp is way better. but just to learn. how would i use if to do the same thing?

trail flax
#

''' py

zealous wave
#

you want another way?

shut goblet
#

yea the way im tryna do it

#

just to learn

#

aand undderstand

zealous wave
#
numbers2 = []
for i in numbers:
  numbers2.append(int(i))
shut goblet
#

thats what i did ??

gentle flint
#

then what's your issue? @shut goblet

shut goblet
#

i just wanted to know if that would work 😢

gentle flint
#

best way to find out if something works is to do it

shut goblet
#

fak ur right

gentle flint
#

if it doesn't work you'll get an error

zealous wave
#

!e ```py
numbers = ["1", "2", "3"]

numbers2 = []
for i in numbers:
numbers2.append(int(i))
numbers = numbers2

print(numbers)

wise cargoBOT
#

@zealous wave :white_check_mark: Your eval job has completed with return code 0.

[1, 2, 3]
shut goblet
#

thx ❤️

zealous wave
#

mmhm

shut goblet
#

mmmmmm

#

😂

gentle flint
#

mmmmmmmmmmmmmmmm

zealous wave
#

mmmmmmmmmmmmmmmmmmmmmm

gentle flint
#

that's what she said

whole bear
#

TIME TO BE BACK 45.40

zealous wave
#

IM BACK

whole bear
#

45 seconds e

gentle flint
#

my internet died

#

am bacc

whole bear
#

your point is

gentle flint
#

none whatsoever

#

no thanks

sick cloud
#

umm, y ?

shut goblet
#

how do i check if the len of a list devided by 2 is an int or a float

sick cloud
#

@versed island h e l l o

shut goblet
#

@gentle flint

sick cloud
#

how u doing ?

somber heath
#

@shut goblet type(obj) returns the type of obj. You could also subtract the int of a number from the number to see if it's zero.

gentle flint
shut goblet
gentle flint
#

no

somber heath
#

%2 is another way

gentle flint
#

if type(midpoint) == float

zealous wave
shut goblet
sick cloud
gentle flint
#

!e

x = bool(3%2)
print(x)
wise cargoBOT
#

@gentle flint :white_check_mark: Your eval job has completed with return code 0.

True
gentle flint
#

!e

x = bool(4%2)
print(x)
wise cargoBOT
#

@gentle flint :white_check_mark: Your eval job has completed with return code 0.

False
gentle flint
#

!e

mylist = [1, 2]
print(bool(len(mylist)%2))
wise cargoBOT
#

@gentle flint :white_check_mark: Your eval job has completed with return code 0.

False
gentle flint
#

yeah, that'll work

sick cloud
#

!e
x = bool(2%2)
print(x)

wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

False
sick cloud
#

Hmmmm

gentle flint
#

it'll return 0 or 1
which bool() will convert to True or False

shut goblet
honest pier
#

midpoint is always a float

shut goblet
#

wym?

#

then why dosent it say 2.5?

honest pier
#

wdym

#

only the if block will ever run

shut goblet
#

ohh

#

how do i check if a number has decimal points

#

that will solve the solution

honest pier
#

well, there is a much better way

shut goblet
#

hmm

honest pier
#

check if the length is even or odd using modulus

shut goblet
#

smarrttttttt

#

then what

whole bear
#

store bryster @whole bear

shut goblet
#

i got it

lyric kraken
#

hi

#

how are u guys\

#

i was here for 3d why i didnt got verified voice

whole bear
#

Is there a required number of messages for voice verification aswell?

gentle flint
#

yes

#

50

#

I believe

whole bear
#

and no spam

lyric kraken
#

can i doit spam?

gentle flint
#

also you need to check out voice-verification channel

lyric kraken
#

then remove it lol

gentle flint
#

see this channel's desxcription

whole bear
#

no it will make you waite 2 weeks

lyric kraken
#

ohh

gentle flint
#

says the person who isn't a mod

lyric kraken
#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

• You have sent less than 50 messages.
• You have been active for fewer than 3 ten-minute blocks.

gentle flint
#

well there you are

#

meet those two requirements and then try again in that channel

lyric kraken
#

ok

#

i

#

will

#

thank

#

you

#

so

#

much

honest pier
#

!source @whole bear

lyric kraken
#

i

wise cargoBOT
#
Bad argument

Unable to convert '@hasty kestrel' to valid command, tag, or Cog.

honest pier
#

!source

wise cargoBOT
zealous wave
#

oops

gentle flint
#

also you can find other stuff at https://pydis.com/

lyric kraken
#

oops

fair citrus
zealous wave
#

.topic

viscid lagoonBOT
#
**If you could travel anywhere in the world, where would you go?**

Suggest more topics here!

fair citrus
#

hell

zealous wave
#

mars for me

whole bear
#

your moms bed

fair citrus
#

.topic

viscid lagoonBOT
#
**What is your earliest memory of Easter?**

Suggest more topics here!

zealous wave
#

tell me when you find her address, ive been looking for a while

gentle flint
#

The DMZ between the two Cypruses

fair citrus
#

that's deep 😂

viscid lagoonBOT
#
**What is the title of the last book you read?**

Suggest more topics here!

gentle flint
viscid lagoonBOT
#
**What is your favourite color?**

Suggest more topics here!

whole bear
zealous wave
#

@scarlet plume you in here?

shut goblet
scarlet plume
zealous wave
#

no like u in the game?

gentle flint
#

Duct tape (also called duck tape, from the material it was originally made of) is cloth- or scrim-backed pressure-sensitive tape, often coated with polyethylene. There are a variety of constructions using different backings and adhesives, and the term 'duct tape' has been genericized to refer to different cloth tapes with differing purposes. A ...

scarlet plume
#

nope

shut goblet
#

how do i paste all the code @honest pier ? just paste it all in here?

honest pier
#

sure

whole bear
shut goblet
#
numbers = []
x = ""
while x != "quit":
    x = input("Tell me a number!: ")
    numbers.append(x)
    if x == "quit":
        numbers.remove("quit")

numbers2 = []

for x in numbers:
    numbers2.append(int(x))

numbers = numbers2

#
#sum
#

print("the sum of the numbers is", sum(numbers))

#
#median
#

numbers.sort()

count = len(numbers)

if count % 2 == 0:
    midpoint = (count / 2) - 1
    midpoint2 = midpoint + 1
    midpoint2 = int(midpoint2)
    midpoint = int(midpoint)
    median = (numbers[midpoint] + numbers[midpoint2]) / 2
else: 
    midpoint = (count / 2) 
    midpoint = int(midpoint)
    median = numbers[midpoint]

print("the median of the numbers is", median)

#
# max val
#

print("The maximum value is", numbers.pop())

#
#min val
#

print("The minimum value is", numbers[0])
#

write a program to take numbers input from the user. stop taking input when the user inputs "quit"
find the median, the max number, the min number, and the sum of all the numbers

#

any criticism ?

#

and how long would this have taken you guys to do?

#

this is my first ever program that actually does something!!

#

@honest pier any suggestions bro ❤️ ?

faint ermine
#

min() and max() for minimum/maximum value

shut goblet
#

u can do that!

faint ermine
#

!e print(min([1,2,3])); print(max([1, 2, 3]))

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 3
shut goblet
#

works just chhecked it

#

any other recommendations @faint ermine ?

viscid lagoonBOT
#
**Tell us 5 things you do well.**

Suggest more topics here!

faint ermine
shut goblet
#

do you have another project that i can do?

#

like gimme something

#

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

#

There are two common ways to iterate over a dictionary in Python. To iterate over the keys:

for key in my_dict:
    print(key)

To iterate over both the keys and values:

for key, val in my_dict.items():
    print(key, val)
honest pier
#

you can't spam to bypass it

shut goblet
#

is there solutions to
!projects

#

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

shut goblet
#

where do i find the solutions?

sly jolt
#

!tempmute 238257529220628482 3d No, you're not getting in by spamming.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @lyric kraken until 2021-01-19 20:46 (2 days and 23 hours).

sly jolt
#

!tvban 238257529220628482 "2 weeks" Spamming messages to up your message count is not the way to get voice verified. You can still join voice channels without being verified; you just have to get some legitimate server activity in order to get verified.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice ban to @lyric kraken until 2021-01-30 20:47 (13 days and 23 hours).

shut goblet
#

hey Xithrius

sly jolt
#

Hello

shut goblet
#

hello !!

#

do you know where i can find solutions?

#

to the projects listed in !projects

sly jolt
#

Not sure, sorry.

shut goblet
#

alright! I like ur name

sly jolt
#

Thanks lol

shut goblet
#

sounds futuristic

halcyon cipher
#

anyone down to review my code?

shut goblet
#

im down!

#

@halcyon cipher

halcyon cipher
candid venture
#

@olive hedge
thanks for the ms server, fookin dope

#

just ordered my stickers

olive hedge
#

Of course, the stockers are great

whole bear
gentle flint
candid venture
gentle flint
olive hedge
gentle flint
whole bear
#

@fair citrus YOU HAVE A QUESTION

gentle flint
#

BUT DOES HE HAVE ANSWERS

fair citrus
#

@whole bear YEA but waiting for them

#

let them finish the table thing

whole bear
#

@gentle flint

gentle flint
#

@whole bear

whole bear
#

👉 👈 HELLO

gentle flint
#

👉 👈 HELLO

#
         _,met$$$$$gg.           eli@saladin
      ,g$$$$$$$$$$$$$$$P.        OS: Debian 10 buster
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 4.19.0-13-amd64
   ,$$P'              `$$$.      Uptime: 4h 11m
  ',$$P       ,ggs.     `$$b:    Packages: 2276
  `d$$'     ,$P"'   .    $$$     Shell: bash 5.0.3
   $$P      d$'     ,    $$P     Resolution: 2960x1050
   $$:      $$.   -    ,d$$'     WM: i3
   $$\;      Y$b._   _,d$P'      GTK Theme: Nordic [GTK2/3]
   Y$$.    `.`"Y$$$$P"'          Icon Theme: Zafiro-icons
   `$$b      "-.__               Font: Sans 10
    `Y$$                         CPU: Intel Core i5-4570 @ 4x 3.6GHz [27.8°C]
     `Y$$.                       GPU: Mesa DRI Intel(R) Haswell Desktop 
       `$$b.                     RAM: 1225MiB / 7897MiB
         `Y$$b.                 
            `"Y$b._             
                `""""           
gentle flint
amber raptor
#

also great way to lose a ton of money

whole bear
#

yeah

amber raptor
#

unless it's fake cash

whole bear
#

yeah

versed island
#

what is scrum master

gentle flint
#

a master of scrum

versed island
#

okhaay

gentle flint
#

not to be confused with a scum master

zealous wave
#

I'll be back in the vc in 20 min

fair citrus
#

tyt

whole bear
#

@zealous wave @gentle flint @whole bear, bye going off

gentle flint
#

bye

#

cheers mate

zealous wave
#

By rej

#

Have a good one

stray niche
#

sleep is the only time the toxins in our brains are cleared.....

whole bear
gentle flint
uncut meteor
#

no hurtie

uncut meteor
stray niche
gentle flint
#

can't outweigh reddit

#

lol

stray niche
zealous wave
stray niche
#

I'm not able to join

#

the link is not taking me there

gentle flint
#

wtf

#

so strange

uncut meteor
#

same

#

send a new one!?

zealous wave
#

sure

stray niche
#

i copy pasted and im in

#

clicking dint work

gentle flint
whole bear
#

@gentle flint, hey bro, after 2 hours i install my system!

gentle flint
#

wahoot

whole bear
#

omg

#

lul

#

ok

zealous wave
#

<@&267629731250176001>

warped saffron
#

gulag

#

Your directions led me to the gulag

#

Shame

whole rover
zealous wave
#

coolio

hybrid berry
#

ah well

uncut meteor
wraith ledge
#

is there a more pythonic way to achieve this list ?

#
[1000*(x+1) for x in range(20)]
uncut meteor
#

could do

[1000 * num for num in range(1, 21)]
gentle flint
#

bye griff

uncut meteor
#

cya

wraith ledge
#

oh woops lol I thought I was is general

#

was wondering why its so quiet

#

thanks @uncut meteor

uncut meteor
#

np

#

wait

#

just use map

#
list(map(lambda num: 1000 * num, range(1, 21)))
#

yummy

gentle flint
uncut meteor
#

maps

#

maps are tasty

pastel shard
#

The original way was pythonic either way

pastel shard
#

there is no need to use map and a complicated lambda i think

uncut meteor
#

not really complicated, youre just saying what to do for each element

pastel shard
#

there is 0 reason to do it though

#

the list comp was better

uncut meteor
#

I like the map

#

its less pythonic tho

stray niche
#

Nice playing with you all

#

cya

wraith ledge
#

yeah I'd rather not declare any functions/lambda expressions if I can avoid that

gentle flint
#

I'm off to bed
01:41 am

#

cya

stray niche
#

6:11am

#

gn

gentle flint
#

dude

zealous wave
#

where did everyone go

gentle flint
#

that is disturbed

zealous wave
#

ohh

stray niche
#

to catch some zzzzs

zealous wave
#

goodnight everyone!

gentle flint
stray niche
#

i dont do this everyday

#

i was about to go to sleep

#

and then

gentle flint
#

go
now

stray niche
#

i came on the server

gentle flint
#

right now

stray niche
#

and scribbel

gentle flint
#

NOW

stray niche
#

yes thansk

#

bye

gentle flint
#

bye

stray niche
#

oh and i need 50 msgs

#

to

#

talk

orchid scroll
#

50 messages

#

be able to talk

whole rover
#

lol

uncut meteor
#

talking is for nerds

zealous wave
#

true

#

well, talking irl is at least

hybrid compass
#

LOL

#

!e import this

wise cargoBOT
#

@hybrid compass :white_check_mark: Your eval job has completed with return code 0.

001 | The Zen of Python, by Tim Peters
002 | 
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/buyomefami.txt

honest pier
#

!zen

wise cargoBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

snow marlin
#

hello

lunar pendant
#

hi

snow marlin
#

gotta love @somber heath advice

#

felt like im in a podcast

lunar pendant
#

@snow marlin you are from north korea, right?

snow marlin
lunar pendant
snow marlin
lunar pendant
#

just for fun

#

lol

snow marlin
#

terrible joke not gonna lie

#

okay

lunar pendant
snow marlin
#

so to pronounce the word

#

Py as in ( Pie )

#

sang like the word

lunar pendant
#

ya i know that

snow marlin
#

so Pisang is Banana in my home coutnry language

#

so fried Banana

#

Sang like Sing Sang Song

hybrid berry
#

its a song by sergey bolkov

snow marlin
#

yeah you got it right

#

but thanks for the acknowledgement haha

hybrid berry
#

i think its hardbass? i just searched pysang and thats what it came up with

snow marlin
#

just a play of words in this is** THE PYTHON Discord Server **

hybrid berry
#

me no gusta

snow marlin
#

Just google Pisang

#

its literally just Banana in my lanugaue

hybrid berry
#

i know you said so

#

but i searched for how you spelled it first

#

i think the gros michel still exists

#

or something very similar to it

snow marlin
#

I have no clue what the hell is plantain

hybrid berry
#

banana

snow marlin
#

but everytime i heard of it , its only in South America

hybrid berry
#

but before we selectively bred the shit out of it

snow marlin
#

and its an ingredients for Mexican food or something

hybrid berry
snow marlin
#

Looks really good

snow marlin
hybrid berry
#

no thats just a wild banana

#

so yeah technically...

#

yeah

#

...

snow marlin
#

lol now I can talk

lunar pendant
#

I like spicy food to be honest

snow marlin
lunar pendant
hybrid berry
#

i only joined on the 15th so i got another day or so yet

lunar pendant
#

Maybe I am mexican

hybrid berry
#

oh lord

lunar pendant
#

@snow marlin but how you get verified so quickly

snow marlin
#

bruh i just follow the rules on the #voice-verification

lunar pendant
#

oh you typed 50 msg

hybrid berry
#

wait 3 days after joining and post 50 non spammy chat messages

lunar pendant
#

awesome

hybrid berry
#

yeah!

#

its 20 past 5 at the moment

#

if a self driving AI in my car could decide that killing me was better than killing someone in the middle of the road i probably wouldn't use it

undone idol
#

hm

honest pier
#

protocol 3: protect the pilot

hybrid berry
#

or let me put it this way if i gave you a self driving car and said oh right if the car AI gets into a situation where it has to choose between killing someone in the middle of the road and you it might kill you would you use it?

hybrid berry
#

nice

#

BT is best robot

undone idol
hybrid berry
#

sophia?

undone idol
lunar pendant
hybrid berry
#

why is my laptop on it should be a sleep

#

nah

lunar pendant
#

@somber heath that was funny

#

😂

hybrid berry
#

the bobiverse is pretty good

#

from todays perspective they would be stupid yes

#

but back then?

#

they didn't know

#

wait have i been in this R6 queue for 12 minutes

#

VIDEO GAMES MAKE YOU VIOLENT!!111!!! (despite multiple studies saying no including some pretty long term studies)

zealous wave
somber heath
snow marlin
#

LaTEX

#

LibreOfices

whole bear
#

@somber heath Do you have any advice to give to an aspiring python programmer?

#

Thank you

#

So essentially you are saying maintaining interest and excitement is important. As well as making sure to expose myself to many different areas of knowledge.

somber heath
#

Mhm.

whole bear
#

It's scary to think about me 10 years from now thinking how fast time has gone.

#

I heard you mention that earlier

#

4-5 years

#

You can continue talking if you like, I am listening

#

That's a hard no

#

I heard python was the easiest language and that is the only reason I am here

#

Sharpie ever learned any other languages?

#

Do I need to learn computer science stuff alongside programming?

whole bear
#

You don't really need computer science. You just need to know how the computer reads and interprets your code.

#

What did you do before you learned python? What attracted you to learning it?

#

Computer science is for if you are doing advanced programming like creating libraries or working on architecture for massive systems.

zealous wave
#

The youtube algorithm sent me random python videos and I got hooked

whole bear
#

I only learned programming to build a game engine.

#

All the way down to binary

#

That's super easy

#

Binary is just base 2

#

Ooooh yes I love feeling clever

#

I will gladly milk you dry

#

Don't take that out of context

#

Mods we are talking about the propagation of knowledge within the server

#

Don't worry 😉

#

A few days now I think

#

My mic is not the best, so it isn't too big of a deal to me

#

sure

#

Honestly I just stole someone else's username and googled a picture of a pencil

#

I was tired of how bad all my past usernames were

#

They were so much worse

#

Oh god

#

I hope they change my username to something flashy

#

So you're saying I should change my name to something with noisier characters?

#

Ok, if you want me to

somber heath
#

😒

whole bear
#

On second thought, I refuse to let you use your negative peer pressure tactics on me.

#

It won't work

#

Sorry buddy

#

If you don't mind me asking, what timezone are you in?

#

What is it like there?

#

Do you have tumbleweeds?

lunar pendant
#

@whole bear I think you get verified because you typed more than 50 messages

whole bear
#

Wow, I thought Australia was just the wild west but east.

lunar pendant
#

@whole bear did you know the capital of australia?

whole bear
#

Isn't it only 30-40 million people that live there?

whole bear
#

Maybe?

#

So there is no capital city?

#

What is culture capital supposed to mean?

#

I think government funded schools hardly ever work the way they are intended. This past year I've discovered the vastness of information online. In fact, it's what led me here.

#

I definitely agree.

lunar pendant
#

@whole bear You are from australia too?

whole bear
#

I live in America.

#

I hope it tastes good!

lunar pendant
#

Did he said that he gotta go for dinner?

whole bear
lunar pendant
#

it's afternoon there right?

#

so, how's the weather in america

#

or where you live

#

btw which state you are from?

whole bear
#

Central Time Zone

lunar pendant
#

state?

whole bear
#

The weather is very uhh

#

I live in the CST

zealous wave
#

It's 12:30 am

#

So it's not rly evening for us

whole bear
lunar pendant
#

oh now i got it

lunar pendant
#

sry

whole bear
#

Mountain or Eastern?

lunar pendant
#

no it's am , oh i misread

#

sry

#

its 12:04 pm for me

#

in india

whole bear
#

I didn't know time zones could be separated by 30 minute increments.

lunar pendant
#

?

#

@whole bear In which class you are?

whole bear
#

Class?

lunar pendant
#

I mean in which standard you are in

#

Like in india we say that oh, you are in 6th class

#

in your school

whole bear
#

I am finished with the school system.

lunar pendant
#

you are in college?

whole bear
#

My parents are gracious enough to let me stay in their house until I figure out what I want to do with my life.

whole bear
#

What about you?

toxic niche
#

i am in school

viral shale
#

hello

#

guys

gentle flint
#

@hallow warren you're server muted fyi

warped saffron
#

Hello @viral shale, new here?

whole bear
#
    var date = new Date();
    var h = date.getHours();
    var m = date.getMinutes();
    var s = date.getSeconds();
    var fullTime = h + ':' + m + ':' + s;
    console.log(fullTime);
    document.getElementById("time").innerHTML=fullTime;
}

setInterval(showtime, 10)```
lunar pendant
#

hey everyone

whole bear
#

{}

#

;

whole bear
fiery hearth
whole bear
#

@vestal zinc in hear

vestal zinc
#

hello

whole bear
#

hello

vestal zinc
whole bear
#

is it in the pointing in the right place?

vestal zinc
#

iam also trying it for the first time

#

its an engine

#

to play chess

whole bear
#

dose it work if you try just from stockfish import Stockfish

vestal zinc
#

no i need to have the Stockfish point to some engine downloaded seperately

#

'/stockfish_20090216_x64_avx2' isnt this the right notation to call a file from the same directory?

whole bear
vestal zinc
#

this is a tutorial to make an engine .. thats good

#

but stockfish is a free engine

whole bear
#

?

vestal zinc
#

its made by someone and made it opensource

#

like if we use sockfish we dont need to code the entire engine from the scratch

whole bear
#

so dose it play the game or dose it just make the game

vestal zinc
#

its can do lots of stuffs

#

it can help in making the game

#

it comes with lots of fuctions

#

like whether a move is legit or not

#

like whats the best move for the current board statitics

whole bear
#

is it just for chess

vestal zinc
#

yes just for chess

whole bear
#

that scool i guess

#

cool

vestal zinc
#

yeah its cool ...

whole bear
#

will it work with an onlie chee game or only the one that you made

vestal zinc
#

it will work locally on our pc where we installed the library....

whole bear
#

i mean a web one so if you go on free chees.org will it work or not

vestal zinc
#

but we can link it with js using flask and upload to heroku or someother platform to make it online

#

stockfish is a free one

whole bear
#

ha so it is just for the game that you made

vestal zinc
#

the chess game on windows is working on stockfish

vestal zinc
whole bear
#

very good

vestal zinc
#

are you working on js rigth now ?@reg

#

google is doing it right now aint it ? @whole bear

whole bear
#

indeed it is

#
print(f.readline(5))```
vestal zinc
#

why do we want to read a text file and upload it to a webpage?

whole bear
#

no its a program that maes a webpage

vestal zinc
#

with open ('text.txt',encoding="utf8") as file:
for line in file:
stripped_line = str(line.strip())

#

just save it to an array

#

and call from the array

whole bear
vestal zinc
#

can you specify your input and output?

#

can u type again what do you want?

whole bear
#

print(f)
#

print(f)


file = f.readlines()

print(file)
#

file.replace('\n', '')

vestal zinc
#

a=[]
with open ('a.txt',encoding="utf8") as file:
for line in file:
stripped_line = str(line.strip())
print(stripped_line)
a.append(stripped_line)

print(a)

#

you can navigate through the array and do the required processing

#

u can use a uv glass instead ..

#

its cheap

#

or can use "night light" in windows .. but you use linux anyways 😄 \

#

yeah its inbuilt

whole bear
vestal zinc
#

processors?

whole bear
#

did you get that thing to work @vestal zinc

somber heath
#

Folks.

whole bear
#

print(f)

file = f.readlines()

for e in file:
    for x in e:
        e.replace('\n', '')
print(file)```
gentle flint
vestal zinc
#

@whole bear?

whole bear
#

yes

vestal zinc
somber heath
#
with open('map.txt', 'r') as file:
    lines = file.read().split('\n')
print(lines)```
vestal zinc
#

yeah we have to create a new file

#

and we can save the new file though after deleting the old one...

somber heath
#

readlines?

whole bear
#
f = open("map.txt", "r")

print(f)

file = f.readlines()

for e in file:
    file = e.replace('\n', '')

print(file)
uncut meteor
#

!e

my_str = "test\n"


print(my_str.strip())
print(my_str)
print(my_str.strip())
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | test
002 | test
003 | 
004 | test
somber heath
#

It doesn't.

#

If you wanted, you could do lines = file.read().strip().split('\n') with mine.

vestal zinc
#

import os
os.remove(file_location)

vestal zinc
somber heath
#

Ugly. Okay.

#
lines = file.read()
lines = lines.strip()
lines = lines.split('\n')``` Does this offend your sensibilities less?
uncut meteor
#
with open("file.txt", "r") as file:
    lines = [line.strip() for line in file]
somber heath
#

That's not bad.

#

I'd include the mode.

#

Because the number of times I've truncated a file I wanted to work with...

#

It's good to get into the habit.

whole bear
#

These look great!

#

just like me

#

lol

somber heath
#

Explicit is better than implicit, yes.

whole bear
#

good lokkign***

#

all about confidence

#

i got a medle one time for being the best looking

somber heath
#

*args *kwargs * * ! * ! * yarrrggs!

whole bear
#

lmao

#

oh no that spellign tho

#

you got a medal for looking good? your parents put you in a beauty padgeant when you were 5?

#

medal***

#

no i made it myself

#

lmao you MADE your own medal after you saw yourself in the mirror

somber heath
#

Was it for being kempt?

whole bear
#

let me give you a new medal

#

for being most conceited

somber heath
#

The crayons are a nice touch.

#

The Venn diagram has expanded.

whole bear
somber heath
#

Divergence!

whole bear
#

cardboard

gentle flint
#

ewwwww

somber heath
#

@gentle flint Better than any English medal, you say? Remind me, what are the colours of the flag of the United Kingdom?

gentle flint
#

I don't go by colour alone

somber heath
#

Does Mick have a passport?

wise glade
#

is there a way to run commands in windows like this one here in linux
g++ file.cpp -o file.out && ./file.out, which compiles (before &&) and runs (after &&) the file at the same line?
(Don't freak out with cpp example, just couldn't think of a python one)
I want to do this $env:FLASK_APP = 'file.py' && flask run, but this doesn't work

vestal zinc
#

do u wanna run a flask app ?

somber heath
#

Yes.

#

I don't know it all off the top of my head, and I'd be looking it up, but...yeah.

wise glade
#

you know, in linux, we can connect commands with &&

gentle flint
#

or ;

somber heath
#

I use ;

gentle flint
#

the difference is that with
command1 && command2
command2 will only execute after command1 has successfully completed
while with
command1; command2
command2 will only execute after command1 has completed
iirc

wise glade
#

worked, thanks

somber heath
#

"Surprise! Golf!"

whole bear
#

😄

somber heath
#

What was the scam?

stray niche
#

Yea what do they get

somber heath
#

Aha.

stray niche
#

ahh

#

like those apps

#

which you can get for free

whole bear
#

like "ring'

gentle flint
#

or like microsoft word

whole bear
#

yes

stray niche
#

and then you go in and they tell ya to pay

somber heath
#

There are phones that have a button pendant like that. They do need to be kept charged though. Calls a programmed series of numbers.

#

So it's no extra service costs.

stray niche
#

Wait your phones do that now

#

like by default

somber heath
#

Not the pendant.

stray niche
#

sos button or somthing

somber heath
#

Yeah.

stray niche
#

or hold the lock button for a bit

whole bear
#

/end story

stray niche
#

Well you are a student as long as you learn

#

🤷‍♂️

whole bear
#

thanks sam that's right im a student in my heart

#

:o)

somber heath
#

@gentle flint I guess they found a family member.

#

Or friend.

whole bear
#

🖐️ 🔨

stray niche
#

why have i heard that name

somber heath
#

For whom it would be such a shame if they decided to take up residence in a highrise. Those old balcony railings. So rusty.

stray niche
#

what

somber heath
#

The tendency of journalists and the like to fall out of windows in Russia.

stray niche
#

oh

gentle flint
#

oh, quite

#

yes

stray niche
#

ohhhhhhh

somber heath
#

Which seems to be in vogue at the moment.

stray niche
#

what

#

👀

#

........but also hosts content creators from other genres such as physical fitness experts, musicians and other creators who post regularly online.

#

you left this part out

somber heath
#

It's not as if lights can't be voice activated.

#

It's not a stupid thing to believe.

whole bear
#

google home

stray niche
#

yes thats annoying

#

when you are reading something interesting

gentle flint
wise glade
#

how do I find my ip address? does one even exist for me, if I'm not running a website?
using windows
ipconfig command

somber heath
#

Are you talking about your internet-facing ip address?

wise glade
#

i don't know

#

there are two

gentle flint
#

public and local IP address

#

first find out a bit more about ip addresses, maybe

wise glade
#

let me google, and I'll read more

gentle flint
#

sure

stray niche
#

what does ip stand for

somber heath
#

If you're running a webserver on your computer and you want to access it using the same computer, localhost / 127.0.0.1 will do.

gentle flint
#

let him google

somber heath
#

Depending on how the server port is bound, I suppose.

stray niche
#

like the northern lights?

#

ig i didnt hear it right

#

baa baa

#

what does the sheep say

uncut meteor
#

"goto sleep, get some rest"

wise glade
#

ok, one question, is/can public IP address assigned to more than one pc?

somber heath
#

Ha.

faint ermine
#

@whole bear here

somber heath
stray niche
#

What do you consider late?

somber heath