#voice-chat-text-0

1 messages · Page 535 of 1

weak vine
#

fetch some data from a stock website in my country

#

it seems to pose a problem because the site is rlly garbage

#

kinda

simple flicker
#

can you tell me where pls?

somber heath
weak vine
#

theres api's on github

#

but not on the official site

#

its a stock site i thought they'd have it

vocal basin
weak vine
#

i'm only trying to get very public data too

#

it should not be this hard

#

😭

vocal basin
#

maybe they expect you to pay for easy access to that data

weak vine
#

i would but

#

theres literally nothing

#

yeah this chart is killing me

#

i spent so long trying to find the end point

#

and when i did it jus ttold me i didnt have access

hasty nova
#

is anyone suggest me where should i practice sql query for data extraction as data analyst

simple flicker
weak vine
#

the data im trying to get is literally just

#

a stock price at a given date

#

not something crazy

#

and they're not allowing me

#

like i cant just look it up

#

i'm just trying to automate it

#

yeah no this one has no paid api either

#

or else i would have paid for it

#

this data is daily not even live

vocal basin
#

they'd really like to make at least some money on your alternatively profitable endeavours

weak vine
#

like Open, close

#

that typa stuff

#

yeah but this isnt an american stock market

#

i'm not sure where else i'm supposed to find this data tbh lol

vocal basin
#

maybe I should close some things there

weak vine
#

this stuff is probably on investing.com i just dont like that website

#

zoe mama

#

yeah im very to coding in general

#

i didnt even know scraping is illegal

#

but thats good to know ima go find where i can pay for the api

#

isnt it both

#

either way

#

🧌

#

see

#

me i'm from north africa

#

i doubt they care

#

from a legal perspective

#

ciao

#

u told me it was 3 days right

vocal basin
weak vine
#

i seem to be doing great

#

ciao

vocal basin
#

okay I should stop reading whatever there is

weak vine
#

sorry bud

vocal basin
#

I attempted using Eclipse Che but so far unsuccessfully

#

(cloud VSCode)

#

with low employee count it might be profitable

#

thankfully at least some companies put this as part of their values

#

likely someone else

#

vocalist of Slaughter to Prevail did break one of his teeth by biting stuff at some point

#

(biting raw meat while that same chunk of raw meat was also bitten by a tiger or something like that)

fast gyro
#

anyone wants to build a project to learn?

wise loom
calm spire
#

@wise loom i said "Yooo everyone wsp"

wise loom
#

that's crazy..

calm spire
#

that's me tho, i talked with you before this not our first time

#

the VC dead

tough tartan
#

my mic is suppressed

mighty linden
#

@fast gyro can you share the link to that somewhere

whole bear
#

hi heml

mighty linden
#

Is there any platform to practice real development like LeetCode is for DSA... ?

whole bear
#

im working on a project again

fast gyro
whole bear
#

thsi time i will not throw it away

#

yeaaa

#

alr

mighty linden
whole bear
#
https://index.aspizu.org/index.toml
https://index.aspizu.org/packages/{NAME}/manifest.toml
https://index.aspizu.org/packages/{NAME}/{NAME}.tar.xz
wise loom
#

This is what the meeting between the paparazzi and Anthony Kiedis looks like when he is in a good mood. Sometimes you have to be creative to make your favorite frontman smile and cheer up.

#redhotchilipeppers #redhotchilipeppersfan #rhcp #johnfrusciante #frusciante #rhcplive #rhcpconcert #anthonykiedis #flea #fleabass #rhcplive2023 #redhotchil...

▶ Play video
vocal basin
#

I'd expect many would be "our company needs this feature" type of contributors like with Linux

#

the contributor list and other stats also lag a lot on GitHub

#

Rails🚀

#

and then you get acquired by Atlassian

#

@peak depot "found a consulting company trying to convince other companies that whatever you do is more needed than they think it is"

#

@rugged root
"so... we're replacing COBOL 2023 with Java 8"

#

FuzzBiz is a great security company name

rugged root
#

Even as a joke that hurts me

vocal basin
#

GoBOL

vocal basin
#

I am kind of a fan of doing coding slightly academia-style where I put sources (permalinks pinned to exact commit/version) in comments that excuse code being the way it is (this takes more time in the moment, but saves a lot later on, and also helps not to violate the license if this is adopted code), and AI is doing the opposite of that

terse shoal
#

yo

#

uuuh

#

yeah im rejoining

vocal basin
#

Cloudflare does have some WebRTC stuff

terse shoal
#

wait yall are talking

#

weird

#

cuz i cant hear shit

#

nvm how i hear yall

#

for some reason output is steam streaming speakers

#

and not Realtek

vocal basin
#

@amber raptor also, since everything is Cloudflare, it's very easy for Cloudflare to see which domain the connection goes to (no need to break HTTPS, they just see everything themselves)

terse shoal
vocal basin
#

@upbeat oasis is your bot hosted on an exclusive IP? or sharing with other cloud tenants?

#

I have done that through Tor before and that is, like, the worst of shared IP experience

terse shoal
#

the

vocal basin
#

by 2030 we're going to have a nuclear wasteland, for all we know

#

to be fair, that would mean less load on the network

#

servers in remote areas

#

or otherwise where wired is less feasible

#

2.4GHz and 5GHz

#

?

vocal basin
amber raptor
vocal basin
#

yeah, seems like with Wi-Fi 6E it gets 6GHz

#

hmm 2021

#

I still never saw 6GHz "in the wild"

amber raptor
amber raptor
vocal basin
#

1GB very sounds like it includes files that shouldn't be there

rich zealot
#

Sorry, it's wrong

soft scroll
#

hi

#

good, just finished hw

#

nah all AP classes veyr boring

#

oh my computer is abt to die

#

i gtg

paper wolf
#

Sup what you guys doing

fossil bluff
#

Waiting for my car to charge.
Tomorrow I will learn Python.

hollow skiff
#

grand rising everyone

obtuse falcon
#

Hey admin can u unmute my voice

#

???

paper wolf
#

!voice @obtuse falcon

wise cargoBOT
#
Voice verification

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

paper wolf
#

and dont spam

obtuse falcon
#

How can i done 25 sms

#

??

paper wolf
obtuse falcon
somber heath
#

Yahoy.

#

The echidna came by today.

#

I ended up showing Grey.

#

Discord knows what's best for you.

peak depot
paper wolf
somber heath
#

Juana.

paper wolf
#

you wanna what?

somber heath
#

One of many.

#

I'm just making shit up. Don't worry.

quartz beacon
somber heath
#

The body follows the mind, somewhat, but somatically I'm fine enough.

paper wolf
#

opal:

jovial oxide
#

@quartz beacon

#

okay, thanks

peak depot
#

Meh

jovial oxide
#

but why cant I participate?

paper wolf
#

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

peak depot
#

Things

jovial oxide
#

well, I dont

#

I do understand

#

okay, but what do I need to do to get through the voice gate??

paper wolf
#

read the text

somber heath
#

In this little corner of it.

#

Well known.

jovial oxide
#

oh, okay

peak depot
paper wolf
peak depot
#

She just needs some rebooting

quartz beacon
paper wolf
#

fat and sad car

jovial oxide
#

alright, thank you for the explenations! Have nice day!

quartz beacon
quartz beacon
#

"👍You good"

#

Fiver therapy

paper wolf
#

worlds best therapy: kitty room

#

i would like to have a python pet

#
py.pet_me(user.face.cheeks)
somber heath
#

Ciao Jik.

#

I'm here.

#

In a manner of speaking.

paper wolf
#

texting*

somber heath
#

Inadvisable.

#

That's what it's called.

paper wolf
#

a what...

somber heath
#

Well, it usually is.

paper wolf
#

not sure how to pronouce that lol

somber heath
#

I could say a nesting of classes.

#

Nested classes.

paper wolf
#

this is the thing

vocal basin
#

readability💯

paper wolf
#

whats wrong with it?

#

the code is very readable....

vocal basin
#

make comments bright red

candid spire
#

Hello fam.

paper wolf
#

oh... lol

vocal basin
#

lint rules gone wrong?

paper wolf
vocal basin
#

some linters require to put some comments there

#

which makes some projects just have //

#

which is worse than not having // at all

vocal basin
paper wolf
#

whats the difference...

somber heath
# paper wolf

I didn't realise this was not Python because I wasn't paying attention. In Python, if you're wanting to place classes in a class for the namespacing, that's probably more where you'd use a module or submodule to group things together.

paper wolf
#

god i hope comment doc is same as python's

vocal basin
#

this would be the Python equivalent of doing that wrong thing

def example():
    """"""
    do_something()
paper wolf
#

i mean it will include the docs of the function call

candid spire
#

@paper wolf Are we talking about the comment block in code or documentation in .md file?

paper wolf
#

comment documentation*

vocal basin
paper wolf
#

whats the difference???

candid spire
vocal basin
#

if you have a rule that makes you write docs, then write the damn docs

vocal basin
paper wolf
#

the // and ///

vocal basin
#

ah

#

different languages

#

// in C/C++, /// in Rust

#

// in Rust are not docs, they're just comments

paper wolf
#

both works on cpp....

candid spire
vocal basin
#

whereas in C/C++ // gets interpreted as docs too

paper wolf
#

cus im using cpp 🙄

vocal basin
#

I think C#/Java do /// too

wind raptor
#

Heading out to do some work. Cheers

vocal basin
#

some tooling might require you to use /// in C++

#

e.g. when generating documentation

#

but most IDEs don't do that from what I've seen

paper wolf
#

ill still like if the cpp's linter has smarter comment documentation

#

just like what python does

#

you have the function call info like the name, arguments and its type and the comment documentation

candid spire
paper wolf
#

c++ then...

vocal basin
#

the only thing it can reasonably confused with in this context is C preprocessor

paper wolf
candid spire
#

It can be interpreted in other way

paper wolf
#

pretty sure most people use cpp than c++ to refer on the c++ language...

vocal basin
#

you might be confusing with a different abbreviation

#

never abbreviate `competitive programming'

#

which some people do

candid spire
#

Idk but I hate abbreviations, especially abbreviations for noun

#

Like the name of language

#

It creates more confusion

vocal basin
#

COBOL is an abbreviation

#

ECMAScript is an abbreviation

candid spire
#

I have no clue what they stand for and I don't use any of those language

paper wolf
#

also cpp is the official c++ source code file extension.... so it makes no sense for anyone to get confused on it...

vocal basin
#

just like how JFK is a proper name

paper wolf
#

i still dont understand wtf is cxx.....

#

lol

candid spire
#

Just because you know what it means, it doesn't mean everyone else should know as well

vocal basin
#

get educated, don't demand others to speak to you by default like you know nothing

confused => ask for clarification => you learned something

paper wolf
#

welp this is not the first time someone asked what cpp means....

vocal basin
#

"explain like I'm five" is a severely dumb concept for most of the communication

paper wolf
#

anyways you people have some good amount of expereince on programming and stuff? probably GUI and game development...

vocal basin
candid spire
#

So it be

vocal basin
#

it's not a comment, it's a guideline

candid spire
#

Idc, just because you said so

#

Doesn't mean it's guidelines to me

vocal basin
#

yeah, then don't feel entitled to demanding other speak the way you choose to either

vocal basin
#

very useful crate

candid spire
#

And I have not forced him to speak in a way I like.
It's up to him to do what he likes.

I simply said I can't help

candid spire
#

Am I Speaking on behalf of all?
No, I find it confusing.

candid spire
#

Simply a waste of time and no further progress on help or topic

vocal basin
candid spire
vocal basin
scarlet halo
#

if it's a discussion that has no meaning to you then you shouldn't participate??? what am i missing?

vocal basin
candid spire
vocal basin
#

the main issue we had with what you said is your demand to "avoid using abbreviation" and assertion that it "creates more confusion"

scarlet halo
#

cpp vs. c++ is not confusing

#

the file extension for c++ files is literally .cpp

vocal basin
#

it's only after us calling you out on this that you clarified that it's more of a your feeling/opinion not a demand/assertion

candid spire
#

It's just that I'm frustrated

#

How it stems to meaningless talk

vocal basin
#

if you think it's a meaningless talk to you, maybe don't extend it further by doubling and tripling down on it

#

(not a guideline, just an idea)

vocal basin
#

which is apparently why cxx got to be a thing

paper wolf
vocal basin
#

there historically was some amount of confusion, but nowadays there is one default meaning

#

bcantrill iirc still uses cpp to mean c preprocessor instead

#

I don't remember what talk that was

#

probably Summer of Rust one

candid spire
#

About it?

scarlet halo
#

i think "c pp" for c preprocessor could be less confusing (but that doesn't matter)

vocal basin
#

secret magic on how to end a conversation: don't reply

vocal basin
paper wolf
#

uhhh preprocessor is something like the #if and stuff right?

vocal basin
#

and #defines

#

if you're brave enough, you can do it with languages other than C

scarlet halo
#

and #include right? (or am i somehow mistaken)

candid spire
paper wolf
#

im tempted to learn c but the preprocessor looks really complex to me....

vocal basin
#

it's just text operations

scarlet halo
#

???

paper wolf
#

its like a whole language its self

vocal basin
#

not as complex as TMP

paper wolf
#

the heck is that

vocal basin
#

template metaprogramming

paper wolf
#

oh yeah...

scarlet halo
#

i mean C++ is basically just C with classes (actually the original name! also C++ has become more than that)

vocal basin
#

from the times when you couldn't constexpr

vocal basin
paper wolf
#

nuh uh

scarlet halo
#

putting Microsoft Java (C#) above actual Java is a crime

paper wolf
#

java is lot different than c

vocal basin
#

one day I'll find what to replace Objective C with

#

C++ is derived from C

#

Java is derived from C++

paper wolf
#

c# is fking way too far from the c...

vocal basin
#

C# is derived from Java

#

and also C# is literally C++++

#

four plusses

#

++
++

scarlet halo
paper wolf
vocal basin
#

C# has historically had better ergonomics than Java

scarlet halo
vocal basin
#

but Java is having a different approach to reaching same features

paper wolf
#

its not c^3?

#

lol

vocal basin
#

there are reasons why Java still doesn't have async-await

#

exactly why? doesn't need it

paper wolf
#

java is forced OOP...

vocal basin
paper wolf
#

the first time i try java its lot a hell compared when i start on c++

vocal basin
#

Objective C is terrible in all ways

paper wolf
#

its the one made by apple right?

vocal basin
#

yes

paper wolf
#

or no?

#

oh...

scarlet halo
#

what about Holy C?

vocal basin
#

Swift, unlike Objective C and C++ (standard as a whole), is a good language

paper wolf
#

the epic lmao

vocal basin
#

some dialects of C++ (by just removing features) are good too

paper wolf
vocal basin
#

C# is weird, idk where it's going

scarlet halo
#

its going down to the trashbin along with microsoft as a whole

vocal basin
paper wolf
#

java should be replaced by something else

scarlet halo
#

ugh i gotta implement a whole ass animation system from scratch

vocal basin
#

Java 8 should be replaced by something else

paper wolf
#

human should be replaced by AI

#

wha...

vocal basin
#

Java is on track towards becoming a better language

#

eventually

#

in a couple of

#

decades?

#

hopefully not more

paper wolf
#

if our profesor didnt make us learn it ill never touch it...

vocal basin
#

at least you don't have to learn Pascal

paper wolf
#

prety sure pascal is better than java

vocal basin
#

it's not

paper wolf
#

pascal as in the functional language?

vocal basin
#

the what

scarlet halo
#

i have no issues with java. sometimes it's a little hard to code in but whatever

vocal basin
#

Pascal is not functional at all

paper wolf
#

any one of you guys tried COBOL?

vocal basin
#

Language H is better

paper wolf
#

i hear most banking system still use it...

vocal basin
#

COBOL and Enterprise Java kind of exist in the same space

#

COBOL is no longer something you get paid a lot for

#

it's somewhere towards the lower end of salaries for programmers

paper wolf
#

cobol is finally retiring?

vocal basin
#

no, just the market is back to normal

#

less productivity => less value for the company => less pay for the worker

#

no more excessive demand

paper wolf
#

aw

#

we need old language to still have function

vocal basin
#

Lisp

paper wolf
#

cobol ones powered the world

scarlet halo
paper wolf
#

what...

vocal basin
paper wolf
#

💀

scarlet halo
#

just analyze this screen ratio

balmy ice
#

What game?

hasty sable
#

Hi

balmy ice
#

Wassup

vocal basin
#

... I wouldn't call Battlefield a military sim

hasty sable
#

Hi

#

Get acees to voice

#

How ?

vocal basin
#

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

mint bison
vocal basin
#

@peak depot we're migrating back to 0

peak depot
#

i saw

vocal basin
#

@heavy zenith are you using any sort of shared mutable state?

#

have you tried implementing it without threads first?

#

don't even ask ChatGPT

#

look up real code examples instead

mint bison
solar ridge
#

@heavy zenith what are you working on?

vocal basin
mint bison
#
int main() {
  printf("hello, world");
  return 0;
}
willow light
#

Which looks most appetizing?

vocal basin
#

@heavy zenith what did you mean by crashing? segfault?

#

did you try running it with valgrind?

#

there might be a possibility that your main thread just ends

dry jasper
#

Trash bin or screenshot

#

@heavy zenith

mint bison
#

```

heavy zenith
#

void Accept(server *server) {
assert(server);
if (!server->listening) {
Listen(server);
}

unsigned threadID;

while (server->listening) {
    conn * connection = AcceptConn(server->sock);
    if (!connection) {
        continue;
    }

    HANDLE hThread = (HANDLE) _beginthreadex(NULL, 0, handleConnection, connection, 0, &threadID);
    if (hThread == nullptr) {
        printf("Error creating thread\n");
    }
    printf("Thread ID: %d\n", threadID);
    CloseHandle( hThread );
}

}

dry jasper
#

Paste bin

mint bison
#

```lang
{code goes here}
```

#
void Accept(server *server) {
    assert(server);
    if (!server->listening) {
        Listen(server);
    }

    unsigned threadID;

    while (server->listening) {
        conn * connection = AcceptConn(server->sock);
        if (!connection) {
            continue;
        }

        HANDLE hThread = (HANDLE) _beginthreadex(NULL, 0, handleConnection, connection, 0, &threadID);
        if (hThread == nullptr) {
            printf("Error creating thread\n");
        }
        printf("Thread ID: %d\n", threadID);
        CloseHandle( hThread );
    }
}
solar ridge
#

u mean it also ignores the rest of the main thread?

heavy zenith
#
int main() {
    server* server = InitServer(8080);
    Listen(server);
    Accept(server);
    printf("ending");
    FreeServer(server);
    return 0;
}
mint bison
#

pthread_t thisThread = pthread_self();

wheat sigil
#

Uh oh, sounds like we're not talking about Python in voice! Call in inquisitors! ABBATH

solar ridge
#

is TThread supported in c?

#

can use this lib #include <classlib/thread.h>

vocal basin
#

the what

mint bison
#
int main() {
  pthread_t thread1, thread2;
  server* server = InitServer(8080);
  pthread_create(&thread1, NULL, Accept, NULL);
  pthread_create(&thread2, NULL, Listen, NULL);
  //blah blah blah
  return 0;
}
vocal basin
solar ridge
#

concurrent? @heavy zenith

#

i think you can do something like this

class Thread : public TThread
{
  public:
    Thread( int id) : Id(id), Count(0) {}

  private:
    unsigned long Run();
    int Id;
    int Count;
};

unsigned long Thread::Run()
{
    while (Count++ < 10)
        {
        Sleep(100);         // let other thread have some time
        // don't let cout be interrupted
        TCriticalSection::Lock lock(CS);
        cout << "[Thread" << Id << "] Iteration " << Count << endl;
        }
    SetEvent(Events[Id]);   // Tell main thread I'm done
    return 0;
}
vocal basin
mint bison
#

didnt fully understand what he wanted

#

I think I have an idea of it now

#

he essentially wants async

vocal basin
#

if you reach return from main without joining threads, they'll just terminate

mint bison
mint bison
vocal basin
#

I wouldn't really recommend messing with async in a language without proper support for it

mint bison
#

do you create a thread then join them

#

or smth

vocal basin
#

you can do epoll but, like, that's not really a simple interface either

#

and I don't really think Windows provides proper epoll

solar ridge
#

btw anyone knows how the vc suppression goes away?

vocal basin
#

they have their own thing whatever it's named

#

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

solar ridge
#

9 different ten mins block

heavy zenith
mint bison
amber raptor
#

Nope

mint bison
prime current
#

Why is it showing nothing in the output?

vocal basin
prime current
#

What do you mean? "Just evaluating the expressions and discarding their results"

wise cargoBOT
wise cargoBOT
prime current
#

I thought I had to do print(" ") which would then make it a string

#

and wouldn't give me the result I wanted

vocal basin
#

!e

print(f"{1 + 2 = }")
wise cargoBOT
prime current
#

no i mean

#

for the words

vocal basin
prime current
#

numbers are easy to tell

prime current
#

temp=45
preassure=80

if(temp<40 or preassure > 90) or (temp > 45 or preassure < 30):
print('sound alarm')

#

having no print before if just feels so weird

vocal basin
#

`pressure' is spelled without `a' in it

prime current
#

why is it like that

#

i know

#

but it wont matter in the code

vocal basin
#

otherwise it stays silent intentionally

prime current
#

im talking about before the initial parenthesis

#

"if(temp<40 or preassure > 90) or (temp > 45 or preassure < 30):"

#

this line

#

print(if(temp<40 or preassure > 90) or (temp > 45 or preassure < 30)): but it was incorrect

vocal basin
#

ah, no, you can't easy do that in Python

#

in some other languages you can print something and then use the result anyway

#

but not in Python, unfortunately

prime current
#

why is it not allowed?

vocal basin
#

what you would want to do if print_and_return existed:

if print_and_return((temp<40 or preassure > 90) or (temp > 45 or preassure < 30)):
    ...
#

however no such print_and_return exist in Python

#

why does print itself not behave like that?
because print can take in more than one argument

#

!e

print(1, 2, 3)
wise cargoBOT
prime current
#

weird

#

why no parenthesis before the numbers?

#

and after

vocal basin
#

print is a function, and 1, 2, 3 is a list of its arguments

prime current
#

how about 100, 200, 300?

vocal basin
#

so it takes in 1, 2 and 3 individually

#

!e

print(100, 200, 300)
wise cargoBOT
prime current
#

thats wo weird

vocal basin
prime current
#

oh so its the comma that makes it work

vocal basin
wise cargoBOT
prime current
#

so why doesn't the same work with numbers?

#

i mean

#

words

vocal basin
vocal basin
prime current
#

print(please, help)

wise cargoBOT
prime current
#

yeah with strings it will work

#

but with numbers no strings required

#

interesting

vocal basin
#

!e

a = 123
b = 456
c = 789
print(a, b, c)
wise cargoBOT
prime current
#

will the the last print print no matter what or is it contingent on if temp is greater than 0?

vocal basin
#

try running the code with various inputs and see what happens

prime current
#

it runs regardless

#

but im assuming because it wasn't indented.

vocal basin
prime current
#

idk

#

if there is, i probably didn't reach it yet

vocal basin
#

what happens if you give it an empty input

prime current
#

im reviewing an assignment

calm spire
#

sorry guys for join conv but i can help

#

@prime current what is ur problem so i can help you

prime current
#

not a problem im just trying to articulate in words any uncertainity or something not sure of 100%

#

even if i have a good idea

#

i had a feeling it was going to print regardless

calm spire
#

hmmmmmmmmmmmmm i see what happeining i'll look at ur code and tell you

prime current
#

its not my code it's my teachers lol

#

am i using the correct word

#

'indented'

#

the last line is not 'indented'

#

?

calm spire
#

but WAIT

#

get me a second

#

@prime current ur code is wrong

#

bc it's said "positive and negative temps"

#

and you using "temp > 0"

prime current
#

its not wrong

#

its an if statement

#

xD

vocal basin
calm spire
calm spire
#

i'll show you proof from chatgpt

#

bc i am lazy to open python

#

on VS Code

calm spire
#

see. ( don't use AI for coding this just a proof )

prime current
#

im talking about the code in the last screenshot

calm spire
#

@prime current

vocal basin
#

it said to run the code with such inputs

#

that has no relation to code itself

prime current
#

what if it was on the same line?

#

for example

vocal basin
vocal basin
prime current
#

you're right

#

so because it was outdented it printed anyway

#

and its not printing now because i idented it

wise loom
prime current
#

what's the elif use for?

somber heath
# prime current what's the elif use for?

Each if block consists ofpy if condition: # exactly one if ... elif another_condition: # zero or more elif (else, if) ... else: # at most one else ...In this order. At most one indent is run per reading, the first condition to be satisfied. If the if condition isn't satisfied, check the next elif down and so on. If no conditions are satisfied and else exists, run that indent.

somber heath
#

Think of it like having a stack of cards. You take from the top until you find what you're looking for, then you stop and do what it says. (if / elif). Then, if there's an else, if you've gone through all the cards and found nothing to do, you do that.

prime current
#

im trying to wrap my head around line 5

#

it would be easy to understand if it was elif temp == 0

#

but the sky condition==sunny is throwing me off

somber heath
#

Well, if you get to the elif because temp <= 0, then it's cold, but if it's sunny, then it prints that message.

#

Everything that could happen in the elifs and elses there is predicated on temp > 0 being False.

prime current
#

i think the fact that its combining it is making it harder for me to comprehend even though i get it

somber heath
#

If temp > 0, True, then do that and nothing else.

#

But if not temp > 0, then check the next thing down.

prime current
#

lol

#

i didn't even read the else

somber heath
#

Then if that's False, check the next thing down and so on until you either hit something that's truthy, or hit the else.

#

If it exists.

#

"Here's a bunch of conditions and accompanying actions. Go through them in order. If you find a satisfied condition, stop checking and do its action. If you run out of things to check and there's an else, do that."

#

"Do only one thing at most."

#

Without an else, it's possible you may do no things, depending on how you write your conditions.

prime current
#

How about this

#

I don't get line one

#

"datetime.today()?

#

or should there be a

user_birthday=input('Birthday: ') before line 1?

somber heath
#

An importing of the datetime module and the conversion of some birthday data into an object comparable with the datetime.today() object.

lavish epoch
#

yoo

tacit crane
#

YES

lavish epoch
#

what is good

inner hill
#

@tacit crane
GitHub wouldn't allow any external db connection or anything like backend
It is used only for hoisting static frontend

paper wolf
#

wdym?

#

oh the github hosting...

#

ofc its only static frontend

#

github will just show the html files you provided

wise loom
#

@paper wolf what are you doing

dry jasper
wise loom
#

@upper basin yes here but no audio have some bg noise

#

@upper basin hru?

upper basin
#

Good brother, you doing okay?

#

I found a website for us to try later.

#

I think it's called codeclash or sth.

paper wolf
wise loom
wise loom
#

@paper wolf in meeting sorry

paper wolf
#

thats fine

#

explanation isnt necessary

wise loom
#

Amazing..

candid spire
#

Several months ago, this very company posted a job application for the Data Analyst role.

To my surprise they offered me a different role after the assessment and interview. I chose to decline and move on, because I found the job unethical, The job was related to falsifying audit work

vocal basin
#

deluluitte

wise loom
calm spire
#

<@&831776746206265384> sorry for pinging. but i wanna know if this break any rule? or anything?

vocal basin
prime current
#

wouldn't the last else print regardless since it's not nested?

vocal basin
#

btw, aside from the ifs: there is an error in that code example, in real code this would generally have isdecimal instead of isdecimal

#

why? there are strings which are numeric but no decimal, therefore int(...) would fail on them

vocal basin
primal shadow
woeful blaze
vocal basin
#

judging by discord reporting non-0 ping, seemingly works without a VPN this time

somber heath
vocal basin
#

it's always random

#

but for some reason dependent on anti-DPI measures too

somber heath
#

Something against printers?

vocal basin
#

@rugged root printers are spying on your packets by deeply inspecting them

iron geyser
#

🙂

vocal basin
#

even if different byedpi settings both allow HTTPS to work fine, still influences how WebRTC reacts

#

even though WebRTC isn't passed through SOCKS5

primal shadow
#

Ooh, there's some people

vocal basin
iron geyser
#

I am testing stable diffusion 🥰

vocal basin
#

... getting surprised that deadlock errors aren't happening

#

... then realising there is in fact no deadlock it just loops forever in the same state

#

having = and == have swapped meaning compared to C is slightly unusual

wise iron
#

let's play word spud!

primal shadow
#

what is word spud!?

#

or is it just word spud and you're very excited?

wise iron
primal shadow
#

how does one play

foggy field
#

I just finished version 2.7 muspl2, my mp3 player that fixed some bugs, and added plugins (one I made is available now: SyncMaster, which lets you sync two directories easily within muspl2), It also added themes which you can edit in the settings, it comes preset with two themes: classic and new. I also increased the maximum tcaf file play size (it will not unpack it if it is under that amount), which makes it quicker to save and share music between devices. https://vmanisherenow.itch.io/muspl-2

itch.io

Very Capable Mp3 Music Player.

wise iron
#

a word is provided in the start, then one must ad on to that, if people like it, another person must add on to that addition, if the people don't like it, a word is randomly chosen from the set instead.

primal shadow
#

how many people must like it?

#

or not like it?

#

Maybe you could build it into the bot

#

then we could play here more easily

#

that would be fun

#

hello

wise iron
#

a like corresponds to 1 point, a dislike corresponds to losing a point.

wise iron
vocal basin
prime current
#

why is this invalid?

#

x=10
if x > 5:
print('x is bigger than 5')
else:
print('x is less than 5')

#

they are both indented the same

marble dust
#

Okay

#

Could you check dms?

#

Just real quick

#

When I invite my bot and everything, it wont join.

wind raptor
#

!stream 778585347562930208 2h

wise cargoBOT
#

✅ @calm ginkgo can now stream until <t:1760164924:f>.

marble dust
#

I gave it permission and it says I invited it.

#

I did

#

And it didnt work

#

I even made a new server where I am owner.

#

Still didnt work.

#

I watch youtube and tutorials.

#

Still wont work.

#

I'm just lost.

#

Yes

#

Would I show you? Like could you give me permission to ss?

#

Just real quick.

#

Could you let me screenshare?

#

So I can show you?

#

Ah

#

Alr lemme see

#

I did everything even that

#

What do you mean olaf?

#

I did

#

Before

#

Still wouldnt work

#

I DID

#

bots

#

yup

calm ginkgo
#

did you select Admin permission? What was permission int you got?

#

the thing in permissions=

marble dust
#

I did.

#

I wouldn't join

#

No before

#

Am I dumb?

#

This?

calm ginkgo
#

yes

marble dust
#

It dosent show

#

umm

#

Yes

#

no'

#

no

#

Could we make a dm call?

#

So I can screenshare

#

yes

#

I own the server

#

Of discord or the browser

#

I'm saying refresh what

#

Yes

#

app

#

and I did website aswell

#

just to test

#

I refreshed

#

okay

#

I did

#

I added a bot

#

not mine tho

#

Wait do what?

#

I didnt hear you

calm ginkgo
marble dust
#

I did

#

?

#

No clue

#

I just accepted

#

wait unaccept what?

#

yes

#

keep going

#

okay

#

You lost me at discord

calm ginkgo
#

it should look like this

#

once it's invited, turn off public bot and set default authorization to None

marble dust
#

Give me a sec

robust bone
#

Hey

calm ginkgo
marble dust
#

It fix

#

Gracias

#

My bot the best

calm ginkgo
#

np 🤟

wind raptor
#

!stream 967785147158110278

wise cargoBOT
#

✅ @severe cobalt can now stream until <t:1760161225:f>.

mighty linden
#

what is he building?

obsidian dragon
#

@severe cobalt

marble dust
#

@wind raptor Goodnight man thanks!

wind raptor
#

!unstream 967785147158110278

wise cargoBOT
#

❌ This member doesn't have video permissions to remove!

#

@severe cobalt's stream has been suspended!

somber heath
#

@bright badge 👋

#

@mighty linden 👋

mighty linden
#

hello @somber heath

#

yeah that's correct

#

perfect pronunciation

somber heath
#

@storm depot

storm depot
#

hello

storm depot
#

actualy i often see you here soo

#

i thought i should ask you this faivor

storm depot
#

@calm spire

#

hello

#

actually i am learning python

#

yeah i am bigner

#

mee tooo

#

ohh thanks

#

i made an pdf with help of chat gpt and i am practicing it

#

i think so i am learning string

#

ohh thanks

#

actualy this option will start when i willl be siting in vc for 4 hrs ;-;

#

and type 25 words in one minute

#

so i couldnt share at this moment

#

so sorry for this

#

yeah i dont why this is hapning with me

#

;-;

#

wait let me verify once more

#

You have been active for fewer than 9 ten-minute blocks

see its giving me this message

storm depot
#

@calm spire check this out

#

@

#

@somber heath

#

check this out

#

its ok i will sit here its ok

#

@somber heath

calm spire
storm depot
#

thanks

calm spire
storm depot
#

yeah actualy i am weak in english

calm spire
storm depot
#

nah not in typing i am weak in speaking

calm spire
#

same with you

#

but i try to talk even i am dumb in making convs with plps

#

@storm depot

storm depot
#

@somber heath come int

#

voice text

#

opal do you do job ?

#

couse you know that much

#

i think you have job

#

in best company

dry jasper
#

Swage die

storm depot
#

ohh

#

i also want to do in

#

best company

storm depot
#

opal where are you from ?

storm depot
#

i am from india

#

rajasthan

#

ohh

#

whats the time there

#

in here its 1:20pm

royal bane
#

Can somebody ping me

Testing something

storm depot
#

@kare

#

@royal bane

royal bane
#

Thanks

storm depot
#

he is not in vc

#

welcome

somber heath
#

@royal bane What are you testing that requires someone to ping you?

storm depot
#

bro actualy i want to play valorant

#

mobile in india

#

i play it in my pc

upper basin
#

!e

a = [1, 2, 3]

print(~a[0])
storm depot
#

bro whats this

wise cargoBOT
storm depot
#

!e

wise cargoBOT
#
Missing required argument

code

upper basin
#

!e

a = [1, 2, 3]

for val in a:
  print(~val)
wise cargoBOT
storm depot
#

!e
a = int(input("whats your name"))

wise cargoBOT
# storm depot !e a = int(input("whats your name"))

:x: Your 3.14 eval job has completed with return code 1.

001 | whats your nameTraceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     a = int(input("whats your name"))
004 |             ~~~~~^^^^^^^^^^^^^^^^^^^
005 | EOFError: EOF when reading a line
storm depot
#

nah it was not about valorant

#

guys how much it will take me to unlock my mic ;-;

#

you dont have to told me that much bigger name of mine you can say arjun

#

is you are okay with it

#

yeah couse its my realname

#

yeah its good tpp

#

too*

upper basin
#

!e

a = [True, False, True]
print(~a)
wise cargoBOT
# upper basin !e ```py a = [True, False, True] print(~a) ```

:x: Your 3.14 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     print(~a)
004 |           ^^
005 | TypeError: bad operand type for unary ~: 'list'
gaunt patrol
#

hello

somber heath
#

@gaunt patrol 👋

gaunt patrol
#

it feels like a language gets "drilled in" after like 2 months of practicing with it, for me at least

dry jasper
gaunt patrol
#

Thats so funny lol @upper basin

dry jasper
storm depot
#

@upper basin hey here are some forenigher they are here to visit jaipurs city history and they are here in exibution to see the hand made art of rajasthan

#

they visited our shop too

#

and they took some pitcure too

royal patio
#

Hello Everyone

#

anyone available to help a vibe coder...its a hobby thing...

ashen garnet
#

Join vc

wise loom
somber heath
#

@carmine slate 👋

#

If you want to talk, do so in here. 🙂

short owl
#

gobble gooble gobble gooble ... one of us , one of us

carmine slate
#

ok sir

somber heath
#

It took me a short while to realise you were deafened.

short owl
#

Mental As Anything -- The Best Of [ Full Album ] Australian pop rock

carmine slate
#

sorry sir i didn't get u

short owl
#

great album @somber heath

somber heath
#

@languid bay 👋

carmine slate
#

sir what u do

jolly rampart
#

Hi @somber heath

somber heath
carmine slate
#

haha cool

#

im a budding python developer needs guidence for future

carmine slate
somber heath
#

Much guidance is available.

short owl
#

Have you done any PC to microcontroller interfacing code ( pyserial ) @somber heath

somber heath
#

No.

short owl
#

Tkinter GUI layout @somber heath

jolly rampart
#

mmm Valorant, GTA V, F1(2020) and some indie games if possible

somber heath
jolly rampart
carmine slate
short owl
#

was looking for some ideas on PDF books on , how to layout a GUI @somber heath

jolly rampart
carmine slate
#

and ganing popularity in india

jolly rampart
#

mmm

carmine slate
#

u can get lots of views

#

from that

#

haha

jolly rampart
#

lol I ain't a youtuber to get views

carmine slate
#

i want my cut for this advice 🤣

jolly rampart
#

also not much into mobile games

carmine slate
#

o

#

cool

#

i don't know i love playing games

#

now life is playing games with me

#

🥲

jolly rampart
#

AAA games caught my attention so you should try them too

jolly rampart
carmine slate
#

haha

#

what u do btw boss

jolly rampart
carmine slate
#

cool

jolly rampart
carmine slate
#

school or college ?

somber heath
#

@proper fern 👋

carmine slate
#

not bollywood type

jolly rampart
carmine slate
#

u r so young '

jolly rampart
jolly rampart
carmine slate
#

looking for a internship

jolly rampart
#

mmm

proper fern
#

hello

jolly rampart
proper fern
#

im new

carmine slate
#

data enginner

jolly rampart
#

hello @proper fern

proper fern
#

thanks

carmine slate
#

y u like python

jolly rampart
carmine slate
#

what u thinking of becomming

jolly rampart
#

Idk currently into microcontrollers

carmine slate
#

woah

#

what grabs ur attention

jolly rampart
#

mmm in what way?

carmine slate
#

u know to choose that

jolly rampart
# carmine slate u know to choose that

well nothing much in specific since python has grabbed me into I'm just exploring the fields possible like I was into basic web dev, then game-dev (didnt go well) and finally into microcontrollers(since i was fond of robotics). So yeah comparatively it has got my attention!

carmine slate
#

yeah u r so young millions of possiblilities

jolly rampart
#

I'd love to explore more fields possible can you suggest me few like what else is interesting to explore using python

carmine slate
#

i dont know bro i have also touched almost all fields now doing data engineering

jolly rampart
carmine slate
#

if im of any use i'll

jolly rampart
#

mmm guess you're new to the server?

wise loom
jolly rampart
primal shadow
#

is a good giveaway

#

Across all discord

jolly rampart
primal shadow
#

That's why I'm letting you know, we can't all know, but we can all learn