#voice-chat-text-0

1 messages Β· Page 31 of 1

shadow sable
#

Hmmm makes sense

rugged root
#

I feel called out (I work at an accounting firm)

#

Not as an accountant, mind

shadow sable
#

You work in accounting?

#

What do you even do in accounting you just make bank accounts for people?

rugged root
#

Taxes, business services like payroll, auditing, stuff like that

shadow sable
#

Oh shiiit thats such a good job 🀯

rugged root
#

Ehhhhhhhhhhh

shadow sable
#

auditing is good πŸ‘

rugged root
#

It's tedious, and it makes me happy I'm not an accountant. I'm happier being in house IT

shadow sable
#

Damn

rugged root
#

And when tax season is happening, there's a lot of frustration, anger, depression, etc. High stress for a few months out of the year, mild irritation the rest

#

I'm just here to keep them happy and working

#

I'm not a programmer by trade

dusk raven
quasi condor
molten pewter
#

To combat Russia’s immense military power, Ukraine has built an army of drones, turning everyday aerial vehicles into military weapons that have helped change the momentum of this war.

#Drones #Ukraine #Military

Watch The National live on YouTube Sunday-Friday at 9 p.m. ET

Subscribe to The National:
https://www.youtube.com/user/CBCTheNation...

β–Ά Play video
#

The MiniHawk-VTOL is a 3D-Printed VTOL aircraft. The design is intended to provide the robotics and FPV community with a common and accessible VTOL testbed for experimentation, either as a platform for flying robotics behaviors and tasking, and/or for FPV. The aircraft is designed to integrate a set of (optional) flexible solar cells for migrato...

shadow sable
#

Wait does the % operator mean divide or remainder I can't determine?

#

yea basically remainder

#

Is the remainder the thing they taught us in grade 2 in long division?

#

Wtf

#

Ok

#

But is the remainder the thing they taught us in grade 2 when doing long division?

#

Ok

#

But Idk any of that d*y+r = x stuff

#

So when would you use this dy+r=x?

#

Ok I have zero clue what that stuff means but I get the remainder stuff

trail mural
#

hi @woeful salmon

shadow sable
#

What's d?

woeful salmon
shadow sable
#

Is there a word for it?

#

Oh yea remainder is 3 because 5*2 = 10 and the extra 3 is remainder

swift mulch
#

can i know how to start project in python

#

?

shadow sable
#

OHHHHH I get it now

#

lemme ss this

shadow sable
swift mulch
#

Simulation based

shadow sable
#

Yea not experienced for that stuff ask AF he might know or ask Mr. Hemlock he also might know

#

Wait what's the <=?

#

and >=?

#

Oh

#

≀ just use that

#

≀β‰₯ ez

#

you on mac?

#

or windows?

#

Is there an option key at the bottom left of your keyboard.

#

Damn

#

They’re useful tho

trail mural
#

explained it pretty well

#

! clear @quasi condor

#

..\! clear

shadow sable
#

Ha noob

trail mural
#

discord cuts the \ 😦

quasi condor
shadow sable
#

Why does 8/2 go first when there's multiplication behind it? is it because of the brackets??

woeful salmon
#

hello :)@rugged root

shadow sable
quasi condor
#

results = modifications(event_type, event_time, row_id)

trail mural
#

noodle got any browser games

woeful salmon
#

not really

trail mural
#

πŸ₯Ή

woeful salmon
#

been much into path of exile these days which is not browser either ><

trail mural
#

til what unsigned int is ty Maroloccio

rugged root
woeful salmon
#

i need to go now see you guys later

rugged root
#

I have to focus on something for work

#

Nooooo

#

@woeful salmon Why have you forsaken me!?!?

#

Miss ya, bud

sweet lodge
woeful salmon
#

well not feeling great right now

sweet lodge
#

Hang out with us

trail mural
#

feel better soon

woeful salmon
#

i forgot i don't handle burgerking burgers well for some reason T-T

#

idk why everytime i eat one i feel sick

shadow sable
cosmic lark
molten pewter
#

@dusk raven

cosmic lark
trail mural
cosmic lark
trail mural
#

where did it go

#

give it back

cosmic lark
trail mural
#

please#

cosmic lark
cosmic lark
rugged root
cosmic lark
rugged root
#

https://www.amazon.com/gp/product/B0B4SWQ39Y/ Oh regarding the black friday thing, I'm getting one of these to expand my PS5.

#

Not at the moment, no

#

Appreciated, though

cosmic lark
#

aight

rugged root
#

@tough wind Hello

tough wind
#

hi

#

i am lagging

rugged root
#

Ah, gotcha

tough wind
#

creating a programming language

rugged root
#

Oh neat

#

What all have you done on it so far?

tough wind
#

creating for my os

#

ok

#

lag

rugged root
#

What distro for school?

dusk raven
#

@midnight agate are u back later?

echo glade
#

isnt it whale poo? @rugged root

#

i guess thats not a liquid

#

what was the message in morse? @gentle flint

#

typegang

rugged root
molten pewter
rugged root
#

It is tedious

#

py -3.9

#

py -0

echo glade
#

EVERY DRUG?? now we know why his throat is fucked!

mild quartz
rugged root
#

py -3.9 -m venv .

lethal thunder
#

Fantaisie Impromptu, Chopin Op. 66
Click the πŸ””bell to always be notified on new uploads!
β™« Listen on Spotify: http://spoti.fi/2LdpqK7
β™« Sheet Music on nkoda: http://bit.ly/nkodaChopinFantaisieImpromptu
β™« MIDI: https://patreon.com/rousseau
β™« Facebook: http://bit.ly/rousseaufb
β™« Instagram: http://bit.ly/rousseauig
β™« Twitter: http://bit.ly/rousseau...

β–Ά Play video
elfin fractal
sweet lodge
#

.xkcd 37

viscid lagoonBOT
abstract pike
#

@rugged root we meet again

sweet lodge
rugged root
#

Yo, how goes it

#

Love it

#

So much

abstract pike
#

@rugged root How have you been?

#

its been a long time dude

rugged root
#

Been okay. Although I'm sorry to say I'm not recognizing you...

#

When we talked was it under a different account possibly?

abstract pike
#

I dont remember its been a long time

rugged root
#

Well I apologize for not remembering you

wise cargoBOT
#

streams/examples/src/main/java/org/apache/kafka/streams/examples/wordcount/WordCountDemo.java lines 75 to 85

static void createWordCountStream(final StreamsBuilder builder) {
    final KStream<String, String> source = builder.stream(INPUT_TOPIC);

    final KTable<String, Long> counts = source
        .flatMapValues(value -> Arrays.asList(value.toLowerCase(Locale.getDefault()).split("\\W+")))
        .groupBy((key, value) -> value)
        .count();

    // need to override value serde to Long type
    counts.toStream().to(OUTPUT_TOPIC, Produced.with(Serdes.String(), Serdes.Long()));
}```
dusk raven
#

Cannot infer type argument(s) for <VR> flatMapValues(ValueMapper<? super V,? extends Iterable<? extends VR>>)

rugged root
elfin fractal
#

@rugged root

dusk raven
abstract pike
rugged root
#

Perhaps one of the folks who had given me death threats or doxxing? Hard to keep track

rugged root
#

Then the one that's been trying to get help parsing html in that weird way?

somber heath
#

@hot harbor πŸ‘‹

hot harbor
#

hi

somber heath
#

Hai LP 😁

hot harbor
#

why i mut?

#

why xd

zenith radish
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

somber heath
#

Sorry, I'm not as keyboard agile as I might otherwise would be.

#

I've got a frankensetup.

#

vnc and audio streaming

hot harbor
#

50 massage?

#

to open voice chat for me?

zenith radish
#

Yeap

somber heath
#

The time will come when humanity will go "oh, shit, we shouldn't have wasted all that helium"

hot harbor
#

my god

hot harbor
somber heath
#

But you are.

#

That would require my brain being in the zone.

#

I am thoroughly unzoned.

hot harbor
#

you joking

#

xd

somber heath
#

It is a good word and bears repeating. Alas.

somber heath
hot harbor
hot harbor
somber heath
hot harbor
#

I mean, if you were a rational person, you shouldn't be like your sunflower profile

somber heath
#

Your meaning is unclear.

#

Please explain it to me clearly.

#

@zenith radish Yeah, I didn't expect it to be too busy.

hot harbor
#

This is a famous Iranian joke
I thought you were talking to yourself before you told me that I was talking to someone else

somber heath
#

Please tell me this Iranian joke.

hot harbor
#

are you try hard to kill me??? xd

#

ok

#

this is a joke wait...

somber heath
#

Will telling a joke kill you? Well, I suppose if you're Iranian, it might.

#

Depends on the joke.

hot harbor
#

From my point of view, you were talking to yourself, you were chatting and giving your own answers
But that person is talking on voice... and here everyone is watching your chat
This is an Iranian proverb.... If there are two cooks... food is either salty... or unsalted.... I mean, why is one in Voice and one in Chat

somber heath
#

It sounds like a proverb about the quantum uncertainty principle.

hot harbor
#

what?

#

xd

somber heath
#

We'll often talk in voice, but also utilise chat.

hot harbor
#

Brother, don't worry, this is a proverb and it was written mostly for old stories

lethal thunder
#

kvanker where are you from?

hot harbor
#

iran

lethal thunder
#

me 2

#

where?

#

im from esfahan

hot harbor
#

gorgan

#

aha

lethal thunder
#

nice

hot harbor
#

nesf jahan

lethal thunder
#

marg bar dictator

hot harbor
hot harbor
somber heath
#

I'm in a similar predicament at the moment.

hot harbor
#

i know

lethal thunder
hot harbor
#

this is hard

#

na

#

man as basij badam miad

#

vali tarafdar keshvaram hastam

#

va khaham mand

lethal thunder
#

to tarafdar geruni hasti?

somber heath
#

English, please.

lethal thunder
#

bro hes anti revolution

somber heath
#

I'm not a complete idiot.

hot harbor
lethal thunder
#

reisi executed 30000 children

#

thats fine, you support mass genocide

hot harbor
#

Prove what you say

lethal thunder
#

our system is corrupt to the core, they all have to go

hot harbor
#

You should also go because you do not belong to your country and you are against it

somber heath
#

<@&831776746206265384> I'm dreadfully sorry, but I think we need a babysitter.

lethal thunder
#

maybe khomeini was not a bad person and not a theif but khomenei and his unerlings are theives

#

they murdered a 10 year old a few days ago...

hot harbor
trail mural
#

sus

lethal thunder
somber heath
trail mural
#

Hi LX, HI Opal, HI ALL

somber heath
#

hai

lethal thunder
#

you have access to the internet unline many people, read a book, open your eyes, they are theives and murderers and must go

stuck furnace
#

@lethal thunder @hot harbor Guys, I don't think this is really an appropriate conversation for this server. Would you mind moving to DMs if you want to continue?

stuck furnace
lethal thunder
stuck furnace
#

...

#

Please move to DMs.

hot harbor
# stuck furnace ...

I don't like to discuss politics, I want to close Discord and go to work...you should let him know that

#

ok?

#

I come here whenever I have problems or problems with Python

#

bye

somber heath
#

Maro, X or Y?

stuck furnace
#

Maro, might want to mute?

zenith radish
#

This is amazing

#

I wanna listen πŸ˜„

stuck furnace
#

Ohhh πŸ‘€

zenith radish
#

GOOD NEWS

#

HE SAID GOOD NEWS

#

Ohh only first round

somber heath
#

The birds have been getting jiggy.

#

and there's also a new young magpie

zenith radish
#

His name is now Harold

somber heath
#

They're noisy and kind of weird looking, but it's still cute

zenith radish
#

I hope Harold has a nice day

somber heath
#

It actually told off the bossy crested pigeon, too, which was amazing.

stuck furnace
#

πŸ‘‹

somber heath
#

Saw a bluetongue skink the other week. The echidna hasn't been spotted beyond the two recent sightings.

#

Nothing.

#

Tell a dad joke with several witty puns!

#

You can do it! Believe in yourself!

#

The nearest level is probably in the shed

#

Spirit level

#

Is it costs that much for a plane ticket, how much more expensive are the decorated ones?

gentle flint
#

interesting voice chat

#

well the other three are verified

somber heath
#

hai

gentle flint
#

hai

#

brb, just getting a glass of water

somber heath
#

wget - The w doesn't stand for water.

gentle flint
#

it does for me

somber heath
#

Er, wat?

gentle flint
#

er, that

somber heath
#

So I take it you're back homeish, now?

gentle flint
#

yes

#

have been for a while

somber heath
#

Best thing, worst thing, weirdest thing. Go.

gentle flint
#

if nobody's going to speak I'm leaving

#

bye

somber heath
#

But...my thumbs!

#

I'll get twiddleitis!

somber heath
#

@elfin urchin πŸ‘‹

elfin urchin
#

hello

#

sadly i cant speak

somber heath
#

Indeed.

#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

somber heath
#

@whole bear πŸ‘‹

#

@unreal crystal πŸ‘‹

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1669329398:f> (10 minutes) (reason: duplicates rule: sent 4 duplicated messages in 10s).

The <@&831776746206265384> have been alerted for review.

somber heath
#

Howdy howdy.

#

I heard a little whisper, then, at volume, "Audio check: fail."

#

I can hear you, but you're on the quiet side.

#

hai AF

#

You might be okay.

#

Keep it as is.

#

I'd say it's good.

#

@hybrid jolt πŸ‘‹

#

I would speak, but I'm not in a position to at the moment.

#

Worship worship, grovel grovel.

#

I don't follow.

#

I've not alleged any such thing.

#

You may get an honest answer, but you might not get an answer that satisfies.

#

Do I understand? In general, yes. Insomuch as anyone can really understand anyone else.

#

I don't always follow everything.

#

Occasionally, I think "so. many. words."

#

Brevity may not be a virtue, but it ought to be.

#

I waffle, too.

#

I get it.

#

People do like to hear what you have to say.

#

But there is only so much listening the ear can do.

#

I dislike the characterisation of "fixing your personality flaws"

#

We can become aware of ourselves. How we feel about ourselves, how others feel about us.

#

That awareness allows adjustment.

#

Development.

trail mural
#

Hi Af, Hi Maro, Hi Opal

somber heath
#

hi

#

Yeah, you caught him as he was going.

#

He'd been about to go for a few minutes.

#

For my love is deep and encompassing.

#

Yeah, I'm just not in a position to talk for the time being.

#

Oh, I thought...nevermind.

trail mural
#

Wait

#

really confused

#

you are voice verified but are muted on purpose

#

is that what you mean?

#

I got you

#

I do the same

#

most of the time

#

I like to listen because there are a lot of good learning opportunities

somber heath
#

Small bites.

trail mural
#

Really eating that elephant...

somber heath
#

Chewable.

trail mural
#

Oooh

#

I saw another scary bug

somber heath
#

Hm?

trail mural
#

sorry

#

hard to find a good link

somber heath
#

I sometimes wonder just how close we are to a Girl With All the Gifts scenario.

trail mural
#

Leucochloridium paradoxum, the green-banded broodsac, is a parasitic flatworm (or helminth). Its intermediate hosts are land snails, usually of the genus Succinea. The pulsating, green broodsacs fill the eye stalks of the snail, thereby attracting predation by birds, the primary host. These broodsacs visually imitate caterpillars, a prey of bird...

#

the chance increases every day that goes by :>

#

if it were a possibility of happening

#

then you have a timeline

#

each day that passes

undone idol
#

πŸ™‰

trail mural
#

really depends on how you look at it

#

rng

#

we take over galaxys and use them to run simulations

#

I completely understand what you are saying

#

I really don't want to do this ;-;

#

I am too tired to go down a rabbit hole

#

good fun though

#

love the attitude

wise cargoBOT
#

@solid trail Per Rule 6, your invite link has been removed. If you believe this was a mistake, please let staff know!

Our server rules can be found here: https://pythondiscord.com/pages/rules

somber heath
#

@golden sparrow πŸ‘‹

golden sparrow
somber heath
#

@upbeat vale πŸ‘‹

upbeat vale
#

hello

somber heath
#

@golden hazel πŸ‘‹

golden hazel
#

hello

#

how do i get permission to talk?

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

golden hazel
#

i see thanks

#

is there any chance you can explain to me how a "for loop" goes throught a matrix im bout to send you? Its a quick question if you let me explain what the loop is for

#

Basically, i want to see if there is a recursion in the matrix. Ive made a function that works but i dont know how the "i" moves through the matrix

somber heath
#

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

golden hazel
#

i see i see

#

yeye

#

i understand...thanks

#

one more question if i may

#

sometimes when I want to make a for loop to go through an array or a list lets say....i type in....for i in range(len(array)). But quite often i get an error saying "out of range" (i think) and I fix it by putting (len(array)-1). I dont understand when do i have to put the "-1" and when not to

somber heath
#

!e py "abc"[3] #index 3 meaning "the fourth thing"

wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | IndexError: string index out of range
golden hazel
#

oh

somber heath
#

!e py for letter in "abc": print(letter)

wise cargoBOT
#

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

001 | a
002 | b
003 | c
somber heath
#

!e py text = "abc" for i in range(len(text)): print(text[i])

wise cargoBOT
#

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

001 | a
002 | b
003 | c
somber heath
#

!e py text = "abc" for i, letter in enumerate(text): print(f"{letter} is at index {i}")

wise cargoBOT
#

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

001 | a is at index 0
002 | b is at index 1
003 | c is at index 2
golden hazel
#

i see

#

okok

#

thank you kind Sir

#

have a nice day

golden hazel
#

hello again

whole bear
#

@surreal wyvern A Common Sense Guide to Data Structures and Algorithm

#

`py
print("hello world")

golden hazel
#

'''print("hello world")'''

#

print("hello world")

#

py print("hello world")

#
print("hello world")```
somber heath
#

@hidden jacinth πŸ‘‹

#

@hidden jacinth Down here. 😁

#

Yes, you do.

hidden jacinth
#

Hi

#

thank you

#

I have like 120 discord servers, it's hard to keep track

#

that is true

#

well, I created this account back in 2016

#

text chat is not that bad

#

after all

#

my typing speed is 120 WPM,

rocky wing
#

ups

hidden jacinth
#

so I won't have a problem typing

#

80 is enough

#

use type racer

#

it helps you get above 100

#

nope, it's not important at all

#

what matters is that you do the SOLID principles with good OOP practices with team

#

BUT

#

it looks cool

#

yup

#

plus

#

sometimes I just don't want to code at all

#

and I want to play games

#

so I play typeracer

#

play MMORPG games as a developer

#

because we don't have real life >.> \

ionic ferry
#

@somber heath

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @hidden jacinth until <t:1669479422:f> (10 minutes) (reason: duplicates rule: sent 4 duplicated messages in 10s).

The <@&831776746206265384> have been alerted for review.

rugged tendon
#

hello

somber heath
#

@vague igloo πŸ‘‹

vague igloo
#

hey ! i don t have th permission to open th mic why is that πŸ™‚

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

vague igloo
#

hhh

#

oh so i can open th mic if i do voice verification ,

#

alright

somber heath
#

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

vague igloo
#
import numpy as np
import time
import heapq
from math import sqrt
from sklearn.model_selection import train_test_split
import pandas
start=time.time()


iris=pandas.read_csv("iris.csv")
z=iris.loc[:,"petal_length"]
y=iris.loc[:,"petal_width"]
lab=iris.loc[:,"species"]


def distance_euclidean (a, b):
    euclidean_distance = pow(a[0]-b[0],2)+pow(a[1]-b[1],2)
    return (sqrt(euclidean_distance))

# make kd tree
def kdTree(point, dim, i=0):
    if len(point) > 1:
        point.sort(key=lambda x: x[i])
        i = (i + 1) % dim
        half  = len(point) >> 1
        return [
            kdTree(point[: half], dim, i),
            kdTree(point[half + 1:], dim, i),
            point[half]
        ]
    elif len(point) == 1:
        return [None, None, point[0]]


# k nearest neighbors
def find_knn(node, point, k, dim, dist_euc, return_distances=True, i=0, heap=None):
    
    is_root = not heap
    if is_root:
        heap = []
    if node is not None:
        distance = dist_euc(point, node[2])
        dx = node[2][i] - point[i]
        if len(heap) < k:
            heapq.heappush(heap, (-distance, node[2]))
        elif distance < -heap[0][0]:
            heapq.heappushpop(heap, (-distance, node[2]))
        i = (i + 1) % dim
# Goes into the left branch, and then the right branch 
        for b in [dx < 0] + [dx >= 0] * (dx * dx < -heap[0][0]):
            find_knn(node[b], point, k, dim, dist_euc, return_distances, i, heap)
    if is_root:
        neighbors = sorted((-h[0], h[1]) for h in heap)
        return neighbors if return_distances else [n[1] for n in neighbors]
#

d=list(zip(z,y))
x=(5,1)   # point of study
k = 5   # number of neighbours

#split dataset into train and test data
xy_train, xy_test, lab_train, lab_test = train_test_split(d, lab, test_size=0.2, random_state=0,
stratify=lab)

#xy_train from tuple to list - 2 dimensions
liste_xy_train = [ [ xy_train[i][0] , xy_train[i][1] ] for i in range(len(xy_train)) ]

#split species for test and train
species_test = [f for f in lab_test]
species_train = [f for f in lab_train]

correct = 0
#Take all the class labels of all the nearest k neighbors.
for j in range (len(xy_test)):
    t = kdTree(liste_xy_train, 2 ,0)
    g = find_knn(t, xy_test[j] , k, 2, distance_euclidean, True, i=0, heap=None)
    nearest_neighbors=[g[i][1] for i in range(len(g))]
    nearest_neighbors_new = [tuple(l) for l in nearest_neighbors]

    list_species_knn=[]
#index of tuples in the training data
    for i in range(len(nearest_neighbors_new)):
        indice=xy_train.index(nearest_neighbors_new[i])
     
    count0 = list_species_knn.count(0)
    count1= list_species_knn.count(1)
    count2 = list_species_knn.count(2)
#Find the majority class label.
    if max(count0,count1,count2)==count0 :
        prediction=0
    if max(count0,count1,count2)==count1:
        prediction=1
    if max(count0,count1,count2)==count2:
        prediction=2
        
    print(f"Expected {species_test[j]}  Get {prediction}")
#Calculate the prediction accuracy
    if prediction==species_test[j]:
        correct = correct+1
print(f"correct = {correct}")
print(f"Accuracy = {correct/len(xy_test)*100} ")

end=time.time()
print('Time consumed: {} secs'.format(end-start))
whole bear
#

Nobody saw anything here

tulip plover
#

do it again

whole bear
#

No I am verified now!!

tulip plover
#

ok

#

join a call

whole bear
#

what are you guys talking about

tulip plover
#

idk

whole bear
#

i'll probably just listen but i'm just a newbie to programming if that is the topic

somber heath
crimson lark
#

whatup @somber heath

opaque beacon
#

hi

somber heath
#

!e ```py
def func():
return 5

v = func() #func() here being the call to func.
print(v)```

wise cargoBOT
#

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

5
somber heath
#
#this is like writing
v = 5```
opaque beacon
#

print("hello")

#

!e

wise cargoBOT
#
Missing required argument

code

somber heath
#

!e py v = print("Hello, world.") print(v)

wise cargoBOT
#

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

001 | Hello, world.
002 | None
somber heath
#

!e ```py
def func():
"Code here..."

print(func())```

wise cargoBOT
#

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

None
tulip plover
#

x = 12

somber heath
#

!e py a = [] b = [] c = a print(a == b) #True. The object refered to by a is equal to the object referred to by b. They are both empty lists. print(a is b) #False. The object referred to by a is not the same object refered to by b. print(a is c) #True. a refers to the one, same object that c refers to.

wise cargoBOT
#

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

001 | True
002 | False
003 | True
tulip plover
#

a = 1
b = 1
c = a
print(a == b)
print(a is b)
print(a is c)

terse parrot
#

yo

#

opal mist

#

can u help me real quick

somber heath
#

!e py d = {"apple": 5, "pear": 8, "banana": 10} print(d.keys()) print(d.values()) print(d.items())

wise cargoBOT
#

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

001 | dict_keys(['apple', 'pear', 'banana'])
002 | dict_values([5, 8, 10])
003 | dict_items([('apple', 5), ('pear', 8), ('banana', 10)])
terse parrot
#

i cant talk

#

its really easy

#

I am trying to do cs50 but i connected vs code

#

to their workspace

#

how i use vscode normal

#

my vscode is connected

#

ok ty anyway

somber heath
#

!e py d = {} d["apple"] = 5 d["pear"] = 8 print(d) print(d["apple"])

wise cargoBOT
#

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

001 | {'apple': 5, 'pear': 8}
002 | 5
somber heath
#

!e py a, b = [1, 2] print(a) print(b)

wise cargoBOT
#

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

001 | 1
002 | 2
somber heath
#

!e py d = {"apple": 5, "pear": 8, "banana": 10} for key, value in d.items(): print(f"The key is {key} and the value is {value}.")

wise cargoBOT
#

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

001 | The key is apple and the value is 5.
002 | The key is pear and the value is 8.
003 | The key is banana and the value is 10.
somber heath
#

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

somber heath
#

!e py d = {"apple": 5, "pear": 8, "banana": 10} for keyvalue in d.items(): print(keyvalue)

wise cargoBOT
#

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

001 | ('apple', 5)
002 | ('pear', 8)
003 | ('banana', 10)
somber heath
#

!e py d = {"apple": 5, "pear": 8, "banana": 10} for key, value in d.items(): print(key, value)

wise cargoBOT
#

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

001 | apple 5
002 | pear 8
003 | banana 10
somber heath
#

@limber iron πŸ‘‹

#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

limber iron
#

thank you

#

so i guess i need 50 messages

#

@somber heath How's it going

#

!voiceverify

#

yeah i have fewer than 50

#

so anything you guys are currently working on

#

I think I solved a leetcode problem that did that

mint loom
#

hey r any of u well versed w opencv

#
class Simulation:
    def __init__(self):
        self.videosource = VideoSource()
        self.projectiletracker = ProjectileTracker()

        videofeed = self.videosource.GetVideo()
        # cap = cv2.VideoCapture('Videos/v2.MOV')
        #self.detectprojectile = self.projectiletracker.DetectProjectile(self.videofeed)
        cv2.imshow("Image", videofeed)
#
class VideoSource:
    def __init__(self):
        pass
    
    def GetVideo(self):
        print('Type in the name of the video file you wish to upload.')
        print('Press \'W\' if you wish to access the webcam instead.')
        vidinp = input()
        
        if vidinp == 'N':
            self.vs = cv2.VideoCapture(0)
        else:
            self.vs = cv2.VideoCapture(vidinp)
        
        self.frame = self.vs.read()
        
        return self.frame
somber heath
#

!voice @jolly python

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

jolly python
#

@somber heath dw, im currently trying to understand debugging. Im quite new to python so i thought i could really use some help

#

Im currently trying to do an assignment, fixing broken code. It contains a lot of syntax errors, which i dont understand.

#

sure where can i do that

somber heath
#

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

jolly python
#

ahhh

somber heath
#
print("Hello, world!")```
jolly python
#
def main():
    decimals = {1, 4, 5, 9, 10, 40, 50, 90}
    {100, 400, 500, 900, 1000}
    numerals = {"I", "IV", "V", "IX", "X", "XL",
                "L", "XC", "C", "CD", "D", "CM", "M"}
    position = len(numerals - 1)

    number = user_input
    while number:
        div = number // decimals[position]
        number %= decimals[position]

    while div:
        print(numerals(position), end="")
        div -= 1
        position -= 1


def user_input():
    input_string = input('NatΓΌrliche Zahl > ')
    while not input_string.isdigit():
        input_string = input('Eingabe muss eine natΓΌrliche Zahl sein > ')
    return int(input_string)


if __name__ == '__main__':
    main()
#

NatΓΌrliche Zahl is just an int

#

bruh wait i just noticed i posted the wrong code

#

this is the version ive been tinkering on

#

let me send the original one

#
def main():
    decimals = {1, 4, 5, 9, 10, 40, 50, 90,
                100, 400, 500, 900, 1000}
    numerals = {"I", "IV", "V", "IX", "X", "XL",
                "L", "XC", "C", "CD", "D", "CM", "M"}
    position = len(numerals - 1)

    number = user_input
    while number:
        div = number // decimals[position]
        number %= decimals[position]

    while div:
        print(numerals(position), end="")
        div =- 1
        position -= 1


def user_input():
    input_string = input('NatΓΌrliche Zahl > ')
    while not input_string.isdigit():
        input_string = input('Eingabe muss eine natΓΌrliche Zahl sein > ')
    return int(input_string)


if __name__ == '__main__':
    main()

#

this is the original one

#

what does set do again?

#

hasheable?

#

ahh

#

okay

#

thank you

#

ok

#

may also include run time errors

#

since its currently not running

#

im getting an error, "object set is not calleable"

somber heath
#

!epy a = {1, 2, 3} a()

wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | TypeError: 'set' object is not callable
jolly python
somber heath
#

!e py {1, 2, 3} + 4

wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | TypeError: unsupported operand type(s) for +: 'set' and 'int'
somber heath
#

!e py a = {1, 2, 3} a.add(4) print(a)

wise cargoBOT
#

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

{1, 2, 3, 4}
jolly python
#

okay

#

im going to continiue trying to fix it, i have another question regarding python

#

what does the return statement do

#

for example

#

if i put it lie this:

#
def text:()
print("Text")

text()
#

if i put it like that i get a print

#

but

#

if i do

#
x=5
y=2
def calc:(x, y)
  result=x+y
  return result

print(result)
somber heath
#

!e ```py
def func(): #not the call
return 5

v = func() #func() here is the call
print(v)```

wise cargoBOT
#

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

5
somber heath
#

This is like writing

v = 5```
#

The object you give to return rrplaces the call to that function.

#

All callsbles that complete, return. If nothing is given to return, the object None is instead returned.

#

!e ```py
def func():
pass

v = func()
print(v)```

wise cargoBOT
#

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

None
somber heath
#

!e py result = print("Hello, world.") print(result)

wise cargoBOT
#

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

001 | Hello, world.
002 | None
somber heath
#

This shows the difference between printing and returning.

#

!e ```py
def func():
print("Hello, world.")
return 5

print(func())```

wise cargoBOT
#

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

001 | Hello, world.
002 | 5
jolly python
#

this confuses me

#

im so sorry

#

okay im glad you say that

#

yes

#

what is an inbox?

somber heath
#

!e ```py
def add(a, b):
return a + b

result = add(5, 2)
print(result)```

wise cargoBOT
#

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

7
jolly python
#

so there is a difference between variables and parameters

#

parameters dont need to be defined first

#

hmmm

#

im just used to defining variables first and not defining them after

#

right

#

so return says what the output of a function is again

#

my brain has become mush

#

im trying to wrap my head around this

somber heath
#

!return

wise cargoBOT
#

Return Statement

When calling a function, you'll often want it to give you a value back. In order to do that, you must return it. The reason for this is because functions have their own scope. Any values defined within the function body are inaccessible outside of that function.

For more information about scope, see !tags scope

Consider the following function:

def square(n):
    return n*n

If we wanted to store 5 squared in a variable called x, we could do that like so:
x = square(5). x would now equal 25.

Common Mistakes

>>> def square(n):
...     n*n  # calculates then throws away, returns None
...
>>> x = square(5)
>>> print(x)
None
>>> def square(n):
...     print(n*n)  # calculates and prints, then throws away and returns None
...
>>> x = square(5)
25
>>> print(x)
None

Things to note
β€’ print() and return do not accomplish the same thing. print() will only print the value, it will not be accessible outside of the function afterwards.
β€’ A function will return None if it ends without reaching an explicit return statement.
β€’ When you want to print a value calculated in a function, instead of printing inside the function, it is often better to return the value and print the function call instead.
β€’ Official documentation for return

jolly python
#

!tags scope

wise cargoBOT
#

Scoping Rules

A scope defines the visibility of a name within a block, where a block is a piece of python code executed as a unit. For simplicity, this would be a module, a function body, and a class definition. A name refers to text bound to an object.

For more information about names, see !tags names

A module is the source code file itself, and encompasses all blocks defined within it. Therefore if a variable is defined at the module level (top-level code block), it is a global variable and can be accessed anywhere in the module as long as the block in which it's referenced is executed after it was defined.

Alternatively if a variable is defined within a function block for example, it is a local variable. It is not accessible at the module level, as that would be outside its scope. This is the purpose of the return statement, as it hands an object back to the scope of its caller. Conversely if a function was defined inside the previously mentioned block, it would have access to that variable, because it is within the first function's scope.

>>> def outer():
...     foo = 'bar'     # local variable to outer
...     def inner():
...         print(foo)  # has access to foo from scope of outer
...     return inner    # brings inner to scope of caller
...
>>> inner = outer()  # get inner function
>>> inner()  # prints variable foo without issue
bar

Official Documentation
1. Program structure, name binding and resolution
2. global statement
3. nonlocal statement

jolly python
#

hmm

#

so what happens inside a function wont bother the rest of the code only its ouptut

#

in that case

#

if i ask my friend what is 5+2

#

it does not matter what happens in his brain

#

but it matters what he tells me*

#

ahh

#

allright sleep well

mortal sundial
#

thats what i said lol

#

also I should learn functions

wintry socket
#

Hey

somber heath
#

@strong ivy @gritty schooner πŸ‘‹

strong ivy
#

yup

#

wzzup

whole bear
stuck sky
#

long time @somber heath

#

πŸ«‚

somber heath
#

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

stuck sky
#

@tidal shard

#

what type of api?
and which framework

#

ohh

#

that's what i was thinking

#

a year ago

#

soo

#

what is an API
a/c to u

#

ohk ohk

whole bear
#
while True:
  x=int(input())
  y=int(input())
  z=int(input())
  listan=sorted([x,y,z])
  print(str(listan))
boo=listan.append(input())
if boo==("X"):
 print("sada")
#

thats it so far.

somber heath
#

Initialise your list outside of the while loop.

#

Accept user input inside the while loop.

whole bear
#

πŸ‘

#

will try

stuck sky
whole bear
somber heath
whole bear
#
while True:
  x=int(input())
  y=int(input())
  z=int(input())
  list=sorted([x,y,z])
  B=list.append(input())
  if B==("X"):
    break
  print(str(list))
#

i know you said start the list before the while loop

#

but even that is something im not sure of how to do

#

@somber heath

somber heath
#

How would you create an empty list instance?

whole bear
#

list=[ ]

somber heath
#

Yes, but don't use list as a name. It's a reference to the builtin list class.

#

So you don't want to overwrite that.

#

What is the purpose of list.append?

#

Adds a thing to a list.

#

What do you want to do an arbitrary number of times?

#

Add a thing to a list.

#

How do you do things an arbitrary number of times? You do it in a loop.

whole bear
#

hence why the append is in the while loop

somber heath
#

You've got too many calls of a particular function.

#

Would you care to guess which?

#

You only need to write it once.

whole bear
#

x y z

somber heath
#

x y and z are not functions.

#

But you're close.

whole bear
#

oh

#

by having the append function in the loop it loops everytime wven when i break it

somber heath
#

Colder.

whole bear
#

smooth brain moment rn ngl

somber heath
#

What is the purpose of the loop? To ask for user input, check whether you entered a number or an x, then append or break accordingly.

whole bear
#

if the input is a number, proceed, else if the input is an x, break

#

huh

somber heath
#

@grave oak πŸ‘‹

#

@tidal shard FastAPI.

#

@lapis thunder πŸ‘‹

lapis thunder
#

@somber heath hi

#

why our microphones are muted on these channels?

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

lapis thunder
#

thank you!

#

@somber heath are you Brasilian? "O palMist" huuhsahsauh

somber heath
#

@whole bear πŸ‘‹

whole bear
#

heyy i coulduse some help

#

i just started with a book called python crash course and im trying to add a white space into my code but it gives me a error

whole bear
#

and i cant seem to get the >>> into my code? i'm quite new to this

somber heath
#

The >>> is the REPL prompt.

whole bear
#

okayy so how do i get that?

somber heath
#

Can you see sometging that says terminal or console?

whole bear
#

yeah im using sublime text atm and the terminal is right under my code, what im basically doing is just learning the basics of python

#

also how do i get permission to speak on the server?

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

whole bear
#

!voice

#

ohh i seemed to fix it

#

i used / instead of \ lol

somber heath
#

f-strings

gentle flint
somber heath
#

!e py age = 17 name = "Peter" print(f"Hello, {name}. You are {age} yeads old.")

wise cargoBOT
#

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

Hello, Peter. You are 17 yeads old.
rugged root
#

I'm here, just knocking out some stuff that's asap

#

!e
Just couldn't remember if this works or if you have to explicitly convert the age to a string

name = "Steve McSteveson"
age = 45
print("Hello, ", name, ". You are ", age, " years old.")
wise cargoBOT
#

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

Hello,  Steve McSteveson . You are  45  years old.
rugged root
#

Oh, also forgot it adds spaces between

#

But dear god that's messy

rugged root
#

@quasi condor For context of what it's like

amber raptor
#

the history washing is little meh

rugged root
#

Ooooo, forgot about that one

#

I do remember liking it

#

It's like Cataan but without the board, right?

amber raptor
#

No, it's just different, my biggest like of Puerto Rico is everyone is playing every turn

rugged root
#

JUST LET ME FINISH THE CITY FOR GOD'S SAKE

wind raptor
#

Reminds me of this painting

wind raptor
#

In your face 90's technology!

amber raptor
wind raptor
#

Totally agree. A calculator can run this stuff.

molten pewter
#

I don't know what your talking about, I am being crushed by solitaire ATM

rugged root
#

@quasi condor do people actually use rhyming slang

quasi condor
rugged root
#

^ @zenith radish

gentle flint
#

hi

quasi condor
#

@zenith radish what in the fuck

rugged root
#

This has context. It's a Mahjong game site

quasi condor
rugged root
#

Oh that's from your site, right

quasi condor
#

yeah

gentle flint
rugged root
#

That'll tell you what you need to know about the voice gate system

quasi condor
#
#

108CHF = 114usd

rugged root
#

@limpid sparrow The keyboard I have

quasi condor
gentle flint
#

ger-nome

mild quartz
zenith radish
#

If I didn't have morals I'd work at this company

#

Move to Palantir

#

And then leave and start a new company

#

Orthanc

mild quartz
#

oculus founder

rugged root
#

Wait, what's his... the one with the weird name

quasi condor
limpid sparrow
quasi condor
rugged root
#

@stray niche @limpid sparrow Yeah sorry, there's a certain combo of people that almost guarantee that things get heated. As voice lead, I apologize.

limpid sparrow
#

Maybe fix bad attitudes before expecting to get a proper job πŸ™‚

rugged root
#

Agreed

#

I'd join you down there if I didn't have to babysit

gentle flint
zenith radish
quasi condor
gentle flint
rugged root
#

Be back in a bit, talking with the HVAC folks

gentle flint
fiery bone
#

i wanna output this airflow.cfg into my windows folder with cp command does anyone know how could i do it ?

real solstice
#

blah why do I need to send 50 messages to talk in voice dogkek

rugged root
#

This was happening like.... 6 or 7 times a day

real solstice
rugged root
#

50 messages over three 10 minute blocks shows (ideally) interaction with the community, and the 3 days will typically make it not worth a troll's time.

real solstice
#

50 messages is a lot lol - I'm a fairly reserved person and don't typically type unless I have something especially pertinent to say

molten pewter
#

Suck it solitaire:

rugged root
#

And that's fair, but that's why we encourage folks to engage in the conversation here. Most people in VC will be watching the paired text channel

rugged root
molten pewter
#

yes

rugged root
#

There are so many games that aren't actually winnable

molten pewter
#

so many restarts....

gentle flint
#

*many especially pertinent things

real solstice
gentle flint
#

like russian roulette

rugged root
#

Sure but where's the fun in that?

molten pewter
#

that's loser talk

real solstice
#

by definition it is winner talk

rugged root
#

You also can't win if you don't play

#

You're a ghost, a spectator

#

Spoooooooooky

real solstice
#

quantum superposition winner+loser+spectator

#

compose does not survive restarts I believe

rugged root
#
real solstice
#

the best way to get the right answer is to proclaim the wrong answer as correct

sweet lodge
#

Just want all the containers in a single compose file to restart on reboot?

real solstice
#

just run code on your viewers' side to transcode for you trollface

sweet lodge
#

The real correct answer is - [...]

real solstice
#

k8s

#

secretary fascination

#

I want one too hatwobble

sweet lodge
rugged root
#

Oh god damn it

#

I just realized that I had my mic muted

real solstice
#

whiteboards reinforce hue stereotypes loadingcolor

sweet lodge
#

@rugged root DogWave

rugged root
#

Yo

real solstice
#

imagine if you hired an ex-MBA

sweet lodge
#

@rugged root Haaaalp

rugged root
#

?

sweet lodge
#

Look at this shit

#

I placed the order on Wednesday

#

My users are unable to work without it

rugged root
#

Call them?

sweet lodge
#

I sent an email

rugged root
#

That'd be I'd try to find

sweet lodge
#

Never saw a phone number

#

y

rugged root
#

You used the chat thing in the bottom right of their site?

real solstice
#

i like phones

sweet lodge
rugged root
#

When

sweet lodge
sweet lodge
rugged root
#

Try multiple avenues

#

Especially with such a time crunch

sweet lodge
#

Automated response said "probably within four hours"

rugged root
#

Although the ordering Wednesday

#

That makes sense

sweet lodge
#

y?

#

Holiday?

rugged root
#

Thursday and Friday being ho - yeah

#

They probably had both days off

sweet lodge
#

Heck these people

#

I already only have to buy it because Pantone and Adobe are in a bitch fight

#

They're both global companies

real solstice
#

that pantone situation is everything wrong with closed-source software

sweet lodge
#

They could have someone in another location approving things

rugged root
#

I'm still confused with all that

sweet lodge
#

Regardless, there's no excuse for not automating things or forcing me to jump through hoops to "convert" a "personal" account to a "business" account

sweet lodge
# rugged root I'm still confused with all that

https://www.youtube.com/watch?v=qMWAY8Cdsz0
The company that gets to decide what a color actually looks like gave Adobe an "all access" license to Adobe to allow all of Adobe's users to use those colors in their products.
They got bitchy about some licensing crap, and revoked the license.
Adobe users are now unable to use colors in their software.
They're now forced to pay the color company a monthly fee to add these colors back into their programs

TEAMGROUP's Black Friday/Cyber Monday Sale: https://bit.ly/3FffwDC
TEAMGROUP Delta RGB DDR5 6400 - White at Micro Center: https://bit.ly/3CGMObR

Buy a Seasonic Prime TX-1600: https://geni.us/TBRYP9U

Pantone recently decided that their expensive plastic chips and colour matching binders were not making enough money. Now, even old files will sto...

β–Ά Play video
#

OOH me too

real solstice
#

πŸ΄β€β˜ οΈ 🦜

rugged root
#

Does make me wonder like.... is it certain hex codes are limited?

#

Just unsure how all that works

real solstice
#

it seems like instead of putting an rgb/hsv/... color to something you give it a pantone designation

quasi condor
rugged root
#

Anyone ever play Fortune Street?

real solstice
#

so the rgb/hsv/cmyk actual color changes depending on the medium it is printed in, which is pantone's tech

rugged root
#

It was on the Wii

#

Fucking LOVED that game

real solstice
#

so they patented a lookup table facePalm

rugged root
#

That.... kind of makes sense

quasi condor
real solstice
#

"valorant was a mistake"

sweet lodge
rugged root
#

Weird

sweet lodge
#

AND NOW YOU HAVE TO HAVE AN ACCOUNT JUST TO SEE THE COLOR PICKER ON THEIR WEBSITE
firA firA firA firA firA firA

#

This company is getting on my nerves

rugged root
#

Oh huh

#

Forgot that I actually recorded a few sessions of it

#

Wow that was a really long game.... They don't usually run that long

real solstice
#

emacs NoNo

#

furiously typing for 20 seconds = #!/bin/bash

#

what is wrong with lex fridman

zenith radish
rugged root
zenith radish
real solstice
#

I've run out of useful things to say

#

I will now live-blog what I'm working on

#

modifying some internal docs for k8s process

rustic mantle
#

What are the conditions for getting video role? How can I get a video role?
@rugged root

real solstice
#

there is a different video role?! how much DKP does that cost?

quasi condor
rustic mantle
real solstice
rugged root
rustic mantle
#

How about screen sharing?

rugged root
#

Oh that's how you do it, it's role bound

#

So I temporarily grant the role, thus giving perms

zenith radish
real solstice
#

I joined this server in 2018, and can't chat in vc ImFineMelting

rustic mantle
rugged root
#

Ah right right

rugged root
rustic mantle
#

@real solstice
You can go there and verify your voice.

zenith radish
terse needle
rugged root
#

God I love Sublime

terse needle
quasi condor
rugged root
#

@quasi condor did you scare everyone off?

gentle flint
rugged root
whole bear
#

okayy so i have to send like 50 messages in order to get voice vertication

whole bear
#

spinnekop is like a spider incase you didnt know XD

#

afrikaans :)

#

I bought the Python crash course book

#

eric matthes

#

yeah im really new to this, are you guys very experienced?

#

yeah i want to get a job here in south africa, thinking of changing my career

#

Aluminium windows and doors but its quite labour intensive and I want more money i get like R4.400 a month

#

yep

#

so i have to teach myself to code basically, python is much bigger in the US than here in SA but if I don't learn python I won't have a good foundation

#

#C is what the people use here

#

yes C#

#

Do people get jobs there in the US without a CS degree?

#

I see, yeah I dont have the money to get a degree nor was my points good at school lol

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.

whole bear
#

Thanks alot I appreciate it

rugged root
#

@mortal eagle

whole bear
#

so what do you guys do for a living?

gentle flint
#

press the thing in the screenshot above @mortal eagle

#

to turn on noise suppression

whole bear
#

oh cool

#

yeah, I here trades are in demand in the US

#

I was considering building

#

XD

gentle flint
whole bear
#

my dad makes like 28k a month, which to me is not good enough

#

rand

#

18 rand to the dollar

#

i always see these videos of greg secker, do you guys know him?

rugged root
#

Doesn't ring a bell

whole bear
#

its this dude that does videos of teaching people how to trade online, like forex trading

#

like there must be some kind of catch lol

stuck sky
#

i do trade crypto's

#

futures

#

😎

whole bear
#

oh yeah? is it legit?

stuck sky
#

yeah

#

crypto is hard

#

like understanding the market

#

is hard

whole bear
#

id rather start a busniss than do crypto

stuck sky
#

like if somebody can trade

#

in crypto

#

he can fk everyone in stock market

stuck sky
#

just knowledge (alot of knowledge)

#

alot of exp alot of patience and risk management

#

alot

rugged root
#

Spider, how old are you if you don't mind me asking?

whole bear
#

23

rugged root
#

Gotcha gotcha

#

I'm 32 for context, just to be fair

whole bear
#

I'm trying to store a persons nameand print a message to that person

lavish rover
#

@rugged root will you do my work for me

rugged root
#

I'm not that smart

whole bear
#

nvm figured it out i didnt put in quotes

rugged root
#

So you're missing a few quotes to indicate which things are - yep

lavish rover
rugged root
#

Eh, setup is always a bitch

mortal eagle
lavish rover
#

i have a deadline tomorrow to finish implementing a project

whole bear
#

yeah I'll never have kids

mortal eagle
#

now I'm using the desktop one

whole bear
#

in our country if you have kids your life is as good as gone

rugged root
#

Back in a bit

mortal eagle
#

big-tech companies suck

whole bear
#

i see plenty of people get pregnant like its a game they dont understand what living costs are like

mortal eagle
#

google sucks. but i use youtube

dusk raven
#
SAP

SAP SE (; German pronunciation: [Ι›sΚ”aːˈpeː] (listen)) is a German multinational software company based in Walldorf, Baden-WΓΌrttemberg. It develops enterprise software to manage business operations and customer relations. The company is the world's leading enterprise resource planning (ERP) software vendor. SAP is the largest non-American softwar...

molten pewter
ornate ore
#

@uneven yarrow hello

#

my voice not verified cant talk vc

#

the 50msg left

#

maybe 10 or something

#

ok

#

nope

#

nope ..

#

im asian

quasi condor
ornate ore
#

where you from

#

oh cool

#

nothing just .. bored

ornate ore
#

yeah

#

ok

quasi condor
whole bear
#

print('Albert Einstein once said, "A person who never made a mistake')
print('never tried anything new."')

#

can someone explain why it outputs this

#

Albert Einstein once said, "A person who never made a mistake
never tried anything new."

#

basically what are the single qoutes used for?

gentle flint
#

they're equivalent to double quotes

#

if you need to include a double quote in a string you obviously can't use double quotes to enclose it

#

print("she said "hi" then walked on") will give an error
so will
print('she said 'hi' then walked on')
because you're closing your opening double quote halfway through the sentence
but if you do
print("she said 'hi' then walked on")
or
print('she said "hi" then walked on')
you won't have the error

#

because you aren't closing your opening quote until the end of the string

#

@whole bear

whole bear
#

so basically in a nutshell you cant use double qoutes twice within a string?

#

same for single quotes

gentle flint
whole bear
#

I understand now

#

also i have anoither question, why do integers that you divide always have decimals? is there a way to change this?

#

print(4+4)
print(4*2)
print(14-6) and the last one with / I cant seem to get working properly

gentle flint
#

because the result of dividing two integers is a float

#

!e

top = 8
print(f"type of top is {type(top)}")
bottom = 4
print(f"type of bottom is {type(bottom)}")
result = top/bottom
print(f"result is {result}")
print(f"type of result is {type(result)}")
int_result = int(result)
print(f"integer result is {int_result}")
print(f"type of integer result is {type(int_result)}")
wise cargoBOT
#

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

001 | type of top is <class 'int'>
002 | type of bottom is <class 'int'>
003 | result is 2.0
004 | type of result is <class 'float'>
005 | integer result is 2
006 | type of integer result is <class 'int'>
gentle flint
#

does that help @whole bear