#voice-chat-text-0

1 messages ยท Page 77 of 1

sharp urchin
#

either ways

sly yarrow
#

and how it is

#

that is all, seems that they made description a little hard

sharp urchin
#

mental ability

sharp urchin
#

agree

#

language framework is kinda bad

#

but i appreciate the problems they have

sly yarrow
#

list[-1].find(list[-2]) == True?

sharp urchin
#

this is what i tried

#

need an iterable "i"

#

well i guess your method should work too

sly yarrow
sly yarrow
sly yarrow
sharp urchin
#

as a beginner

sly yarrow
#

i see

sharp urchin
#

who has just completed python

#

i was prev on C

sharp urchin
sly yarrow
#

in C, we can also access the last element by the index

#

does not we?

sharp urchin
#

indexing is a good method there

sharp urchin
#

used "in" operator

sharp urchin
rugged root
#

Had to replace a scanner, sorry

#

And for that, I had to dig into the garage

#

.... I forgot to put the key back

#

One sec

#

Okay, NOW I'm back

#

How's it going, Rab

#

@amber raptor Think you'll be snagging the new Zelda when it comes out?

#

No comment

#

Yeah true

#

True

#

Yeah that's fair

#

I just really really really hope they make cooking not a slog

#

Fair

#

True, but it's a first party Nintendo game

#

They really don't make their prices - right you already said you'd be getting a physical copy

#

Probably yeah

#

So interesting thing

#

The new Zelda is their first $70 title

#

But they also have a game voucher thing, where you pay $100 for two vouchers that are good for two games on a list

#

And yeah, agreed

#

After playing PS5 so much and then trying to play Switch stuff...

#

It's very jarring

#

And that's processor and gpu combined right?

#

APU or whatever they're called?

#

Ah right right

#

It really is weird that they haven't done a beefy Switch. So far the Switch is lasting two console gens

#

That would be pretty damning for them at this point

#

In their past consoles they have been

#

GC > Wii > Wii U

#

Yes you could

#

That's how I played most of my GC games

#

I know you could do Wii

#

Double checking GC

#

Ah no

#

Wii U cut the backwards compat

#

Just GC

#

Yep

#

And just have folks keep remastering the game so you can just upgrade

#

Last of Us was a full remake

#

Yeah

#

Oh for sure

#

That's what I do with the Witcher

#

Oh interesting fact for that. So I got the upgrade for Witcher (think it was free? can't remember), but I had a disc copy

#

So in order to play the PS5 version, and even though it doesn't read from the disc

#

I still have to have it in the system

#

Sure sure

#

Yeah agreed

#

I'm guessing they probably will stick with the hybrid style console

#

Since that's been gold for them

#

Would be curious to see what the manufacture cost difference would be

#

So it's looking like a Switch costs them (including the doc and the 2 joycons) $257

#

Give or take

#

And now I'm thinking about X-Men

#

Possible

#

But the last few consoles they've been getting lower powered stuff compared to the time for reduced cost

#

Hell yes

#

Fo sho

#

True, but sometimes that's for the best

#

A la Breath of the Wild

#

I know you hated the weapon durability

#

But you started enjoying it I thought

#

True true

#

Oh yeah yeah

#

Guardians yeah

#

Absolutely

#

And you can also go and craft gear with the Guardian parts

#

Still, the Zelda formula had just gotten stale

#

Oh they took a huge fucking risk

#

Never any of the old ones?

#

Link to the Past on SNES?

#

Ah okay

#

Yeah

#

Makes sense

#

Same

#

I never look at E3

#

Or PAX or any of those

#

Hard not to see them there

#

True

#

Oh is Yahtzee still doing Zero Punctuation?

#

I haven't looked in a long time

#

HA

#

That's the kind of shit that would drive me bonkers

#

@odd lynx yo

#

Well

#

Shit.

#

I don't remember what type I made this registry value

odd lynx
#

hi @rugged root

rugged root
#

How's it going

rugged root
#

Never really could do vodka straight

#

Gin straight I can

#

Love it

#

Oh I'm a dumbass

#

I could have just checked regedit

#

Doy

#

Later bud

#

I'm going to assume yes

#

@lavish rover Sup brah

#

Shots fired

#

Wow

#

That... huh

#

I mean it would have had to build the skeleton and what not right?

#

Or did they strip that for Fleet

#

Unless it was still trying to

#

I've had PyCharm pitch a fit or not recommend stuff while it's still doing the skeleton.

#

Yeah

#

Not important

#

Stick with what you like

#

HA

#

God and I have ones I want to say

#

But I CAN'T

#

And they wouldn't work with text

#

Yeah hilarious

#

@whole bear Yo

#

See previous can't do the joke JUSTICE without speaking out loud

whole bear
#

???

rugged root
#

No no

#

That last part was in response to vc

#

@limpid umbra Yo

limpid umbra
#

hey

rugged root
#

Not much, you?

#

Oh huh

#

Totally forgot pre-commit was a Python package

#

Hear you there, bud

#

I respect the hussle

#

Hard for me to respond quickly

#

Super position

#

Not all jokes hit

#

It happens

#

HA

#

I get why you're saying it

#

Pun city

limpid umbra
#

my cat drinks water only inside a box

rugged root
#

@whole bear Water you talking about. He made a pun that was in relation to your joke

#

That's the pun

#

Shit, I have a punchline but no lead up

rugged root
#

And it's not even good enough to find one for it

willow flax
#

Does anyone know of any resources to help me understand why you would call a function without it's parentheses? From print() I can see it returns a reference to that function, but I'm struggling to understand where how this would be useful in some kind of example

rugged root
#

I've got a couple examples I can scratch out

somber heath
#

The property decorator would have skin in the game. As would special methods.

#

But I'm not sure that's what the question is after.

lavish rover
#
def map(func, lst):
    return [func(x) for x in lst]

map(print, [1,2,4])
#

You might want to pass a generic function somewhere

lavish rover
#

In this case you have a map function that takes I a function reference and a list

#

map doesn't really care what the function is, it's only job is to call the function with the items in the list

rugged root
#

!e

def hello():
    print("hello")

def yo():
    print("yo")

def bacon():
    print("It's what's for food")


menu = {1: hello, 2: yo, 3: bacon}

print("Pick a number and I'll say a thing!")
print("Pick 1, 2, or 3")
choice = 2

menu[choice]()

This is less common, but can be handy if you want to make little terminal programs

wise cargoBOT
#

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

001 | Pick a number and I'll say a thing!
002 | Pick 1, 2, or 3
003 | yo
willow flax
#

I understand it in this use-case

#
    # Return the price, which is the second item within the tuple
    return item[1]

if __name__ == "__main__":
    products = [("banana", 5.95), ("apple", 3.95), ("orange", 4.50), ("watermelon", 4.95)]

    # Use the function order_by_price for sorting
    products.sort(key=order_by_price)

    for product in products:
        print(product)```
lavish rover
#

That's another good one

willow flax
#

This make sense to me, however I'm looking at some mqtt stuff

lavish rover
#

What's mqtt?

rugged root
#

That's a thing?

willow flax
#
        if rc == 0: 
            print(f"Connection succesful - RC: {rc}")
        else:
            print(f"Connection error - RC: {rc}")


client = mqtt.Client("python1")
client.on_connect = on_connect```
#

I'm struggling to understand this

#

Yeah that's what I mean MQTT

lavish rover
#

Ah, that's basically their way of adding "callbacks"

rugged root
#

Oh in this case you're just l - yep

lavish rover
#

So you want to do some custom stuff when there's a connection

#

This way you just assign a function, and whenever you have a connection it will call that function

#

You want to pass the function itself, not the return value

stuck furnace
#

What have I walked in on

rugged root
#

Sup

#

Not enough

stuck furnace
#

Thoughts?

rugged root
#

Stupidity?

#

I got lots a those

willow flax
#

Ahhh I see, it still a bit confusing because it's hard to determine what parameters are getting passed to the function

lavish rover
#

The internal implementation of MQTT is responsible for the parameters

#

Usually there will be some documentation specifying the parameters the callback function should accept

willow flax
#

Cool thanks for your help! I will check the documentation

stuck furnace
#

๐Ÿ‘€

rugged root
#

ChadGPT - He gotchu brah

#

I think he's fucking with you, @lavish rover

molten pewter
#

ChadGTP

#

?

lavish rover
willow flax
#

ChadGPT ๐Ÿ˜‚

rugged root
#

He 100% is

#

Actually what does the GPT stand for

#

Yeah yeah yeah

stuck furnace
#

@lavish rover What're you debugging? ๐Ÿ‘€

rugged root
#

I missed the middle word

#

Pretrained

#

Okay

#

Not Propane

#

That makes more sense

willow flax
#

ChadGreatPairTits

rugged root
#

Bad

#

@limpid umbra So what're you up to? Working on anything neat?

#

@molten pewter Phrasing

stuck furnace
#

I always get freaked out when I wake up with a numb arm, and I think if I move it the wrong way I'm going to damage it ๐Ÿค”

limpid umbra
#

@rugged root the math behind shortened vertical antennas

rugged root
#

That sounds like something I'd be interested in but would have no hope of fully grasping the actual math behind it

lavish rover
#

missed steak

rugged root
#

I was trying to find a good gif

stuck furnace
#

Why isn't misgiving the opposite of mistaking pithink

rugged root
#

Was trying to find a cow waving goodbye

#

That....

#

That's a good question LX

#

HA

#

Ground round

#

I gotchu fam

#

I tee hee'd

#

Jesus christ I can't type

#

HA

molten pewter
#

lol so funny.

rugged root
#

Oh man I haven't seen his stuff in yeeeaaaarrrrsss

limpid umbra
#

@i have some old rc car tx , 27.145Mhz , i want ed to make a proper receiver for it , looking at ANTs

rugged root
#

So modifying the receiver that it has?

#

@grim atlas Hello

limpid umbra
#

well i may just make a regenerative receiver , most cheapo recevers use it

rugged root
#

Those were not good movies

#

So dumb

#

Ehhh

#

They weren't like... super terrible

#

That's why they're not bad

#

Just not good

grim atlas
rugged root
#

Fair

#

How's it going, Sam?

#

Expendables

#

Oh god

limpid umbra
#

last Rambo ( is there such a thing ) movie was gritty

rugged root
#

"Stop or My Mom Will Shoot"

#

Actual movie

#

No

limpid umbra
#

back on the farm , and trouble still finds him..

rugged root
#

First Blood was the first Rambo in the series

#

Yes

#

No?

limpid umbra
#

the one where he saves the misiionarys is good

rugged root
#

First Blood
Rambo: First Blood Part II

#

Rambo III

#

Rambo

#

Rambo: Last Blood

#

It's the dumbest naming schema

#

I've never heard anyone say that

limpid umbra
#

swimming pools full of money - promoted the serie to continue

rugged root
#

You're the very first person I've heard make that claim

#

Or you watch too many pedantic film critics

#

Which I now realize is all of them

#

Trying to remember, there's another movie series that's just as egregious with its naming schema

#

Pedantic is the non pejorative

#

Picky or nitpicky is

#

Wait

#

Are you describing yourself or the word

#

โค๏ธ

#

I say it with love, buddy

#

Nah

grim atlas
#

Silvester has very high IQ

rugged root
#

I counter with he fell for a trap that Arnold left for him

#

Specifically, Stop or my Mom Will Shoot

grim atlas
#

he paints, he wrote complete Rocky script. He is so successful. He acts and directs movies wow

rugged root
#

It's SO bad

#

Oh sure I don't doubt it about him

#

@peak copper Sup bud

#

Eh

#

Hanging in there

#

Yeah

#

I get joint pain in my hands

#

The stress hormone... what is it, cortisol? It's pretty rough on the system

#

People seem to think of the mind and body being separate

#

As most things in the human body are

#

The mitochondria is the powerhouse of the cell

#

I mean

#

We can just say you're very stressed

#

Pedant: someone who annoys others by correcting small errors, caring too much about minor details, or emphasizing their own expertise especially in some narrow or boring subject matter.

#

When it absolutely derails a conversation then I take issue

#

Ends up being rude to the original person

#

Not saying that EVER happens here.... No sir, nuh uh

#

Or douchey

stuck furnace
#

Is this an HCI class?

rugged root
#

That's not as much of an issue if you use a password manager

#

That can just random gen one for you

#

Back in a moment, have to put a wall panel back on

stuck furnace
#

Why do you want to know? suseyes

molten pewter
#

Passwordless.dev

#

FIDO2 WebAuthn

icy axle
#

that's a big rocket

#

lol

#

hey that wasn't even dirty! (your mind might be though)

molten pewter
rugged root
#

It can never be easy. Had to replace that keystone too

peak copper
rugged root
#

Is that the one about dentists? Section tooth hurty?

#

May 7th, 1992 @molten pewter

#

@void pilot If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate system

molten pewter
#

Fury the pedantic poopoo meanie head.

rugged root
#

poodantic

#

Oh right, pydantic is a thing

#

We deserve a lot of hate

#

Missouri

#

That's one of the issues

#

That's a fair view

#

I'm with Rabbit

#

But I get where you're coming from, Matt

#

"Why do they think they can get away with this?" "Because it's American, not American't"

#

om nom nom

molten pewter
#

It's Mexican, not Mexican't

#

It's Canadian, not Canadican't

rugged root
#

I si what you did there

molten pewter
#

the Canada one insn't great let me try again

#

It's Canada, not Can'tada

rugged root
#

Yeeaahhh

molten pewter
#

there fixed it

rugged root
#

There it is

limpid umbra
#

@rugged root what projects are a work in progress for you ....

molten pewter
#

It's The United States, not The United Statescan't.... nope doesn't work at all.

rugged root
#

At the moment me cleaning up a work program

#

It's a piddly little thing

molten pewter
#

there is no can in The United States

rugged root
#

It's actually only like ~61 lines

limpid umbra
#

@rugged root what language

rugged root
#

Python

#

Considered rewriting it in C# but there isn't a good enough reason to do so

limpid umbra
#

@rugged root is it MCU related

rugged root
#

Marvel Cinematic Universe?

amber raptor
#

@rugged root we not good enough for you?

rugged root
#

The politics was giving me a headache today

limpid umbra
#

@rugged root no the other one , uC

rugged root
#

I don't know what you mean by that then

limpid umbra
#

@rugged root micro controller = MCU = uC

rugged root
#

No, not in the slightest

#

Like I said, it was something for work

molten pewter
rugged root
#

Mean

molten pewter
#

Meanie poopoo head

rugged root
#

Are they still politicing?

molten pewter
#

Talking films

limpid umbra
#

@rugged root looking at code

rugged root
#

That's what it ends up making

#

Its sole purpose is to help our accountants save a couple steps when printing from our tax software to our document management system

#

@zenith radish Yo

#

I do

#

Let Skype go

limpid umbra
#

@rugged root i know like 5 accountants , they are kinda boring

rugged root
#

I work at an accounting firm

#

Most of them are

#

I'm not a programmer by trade, though

#

I just happened to know how to make this thing easier for them

#

@molten pewter Jesus

#

Yeah don't

limpid umbra
#

@rugged root they seem decent then i get back storys .. i try to be tolerant

rugged root
#

That's life

#

And I'm always curious about people, so I don't mind that

limpid umbra
#

@rugged root not a programmer by trade , a techy of a sort im guessing

#

@rugged root mmm you made a registry tool ?

rugged root
#

My actual title is Administrative Support, but I do a bit of everything

#

IT has been my main role for the past couple years

#

Which is good, because that's what I love

#

You mean a bugout bag?

#

@molten pewter When you said you were on their list I thought you meant you weren't allowed back there or something

rugged root
#

@peak copper I legit thought you said Abe Lincoln

#

Was like... how

#

You'll make the Hemlock cry

#

Dude come on, I already have a headache

#

Like an actual headache

limpid umbra
#

@rugged root hmm i have not tampered directly with registry

rugged root
#

You have to be careful, but so long as you sanitize what the user can put there (like how I just gave them buttons) it's not a huge deal

limpid umbra
#

@rugged root here be dragons

rugged root
#

I don't but carry on

peak copper
#

lol

rugged root
#

Your mom

limpid umbra
#

@rugged root i focus on tools in python to talk to uC

rugged root
#

That makes sense considering your interests

#

I do, yeah @zenith radish

molten pewter
#

later ๐Ÿ‘‹

limpid umbra
#

@rugged root RF is what im reviewing lately

rugged root
#

It was a lost cause when you got him the job and started doing his work for him in the first place, @zenith radish

#

Like

limpid umbra
#

@rugged root but the , i-cybie robot dog is something i need to work on , IR remote control codes

rugged root
#

In what way was that a good or sustainable idea

#

No no

#

The second part more so

#

Doing his work for him

#

You set him up to fail

#

By doing his job for him, and knowing that he probably wasn't qualified

#

You set him up to fail

#

I stand by my statement

#

Fair enough

#

Surgeon

#

After how high of a body count

#

"Man, this isn't color coded like the book was..."

#

Sandwich as a Supper

#

Janitorial, also important

#

I fix shit

pallid hazel
#

janitorial sandwhich maker

rugged root
#

Boom

#

I did it

#

BUT

#

I do other stuff too though

pallid hazel
#

i fix your internet connection

limpid umbra
#

what kinda shit do you build

rugged root
#

I disagree

#

He specifically does

#

He hates working at all

#

So

pallid hazel
#

i build systems to improve stuff..

#

if i could code missles.. they would taunt you before blowing you up

rugged root
#

You'd just hear a fart noise the whole way down

#

In fairness

#

Kind of reminds me of what they had to do for Donkey Kong 64

limpid umbra
#

@pallid hazel i was considering improving , myo-electric arms

rugged root
#

God damn it

#

Here I was hoping I could have my headache go away

#

I was apparently wrong

pallid hazel
#

i dunno what that is

limpid umbra
#

advil for headache ,

pallid hazel
limpid umbra
#

@pallid hazel artificial arms

rugged root
#

I just want the defense talk to stop. Giving me more of a headache

#

It's irritating me in the same way the politics was

#

But that's just a me problem

zenith radish
#

We can talk about other things

pallid hazel
#

how bout defense weapons that target only politicians?

limpid umbra
#

@rugged root that Dr . Ho , electric massager works great for neck headaches

rugged root
#

Back later

#

Going to actually take something for the headache, try to get some more calories in me

#

See if that's part of it

limpid umbra
#

dehydration headache

#

@peak copper you do Ham stuff ?

stuck furnace
#

Just start talking about Powershell and Rabbit will materialise.

#

At Microsoft? pithink

rugged root
#

Possibly stress. More likely I'm just hungry

#

Would explain why I'm also crabby

limpid umbra
#

@rugged root a quick noodle soup to the rescue

whole bear
#

@zenith radishtraps are not gay, fite me

rugged root
whole bear
#

...wait hold up

#

you sincerely agree with me on this point?

#

aight sec

rugged root
#

Depends how someone identifies and what they orientation is

#

Doesn't really matter

#

People are people

whole bear
#

El Pee that is a handsome man in your pfp

#

you're welcome

rugged root
#

I have to wait until these kick in

#

Sorry guys

whole bear
#

By the way, I assume you can't say too much about your job at Microsoft, but could you tell me about the general "direction" of Microsoft, as in, is it worth getting in to their ecosystem if we're looking at a timeframe of at least 10 years?

#

I ask the above question because you mentioned your team just doesn't use microsoft services internally. How can they not do that? shouldn't they be encouraged to actively use their own tools, and in the process find a bunch of stuff that can be fixed and improved?

#

I interpret that as Microsoft lacking confidence in their own products.

pallid hazel
#

why reinvent the wheel to say its microsoft... especially if your microsoft... keeps your hands in everything, and buy the company out if it seem like it can be made propreitary

limpid umbra
#

@zenith radish is python useful to know for most jobs

whole bear
#

Funnily though, Windows is used practically everywhere that isn't a giant megacorporation. The heathcare system of Sweden and major parts of the government use Windows tools, my local supermarket uses windows for printing out labels for some groceries. The company I work for uses Windows internally for EVERYTHING.

pallid hazel
#

the old school server problem.. companies where buying servers for each api/app whatever and only using 5% of the servers capabilities

whole bear
#

not much tbh

whole bear
limpid umbra
#

@zenith radish its cool when you talk about the differences in langauges and why use them

pallid hazel
#

lol, thats what im currently doing.. integrating different systems and apis

stuck furnace
#

I mean, I'm surprised they tolerated it for so long.

#

Yeah, I agree with you there ๐Ÿ˜„

whole bear
#

I don't think middle management is the biggest issue, at least not in "mid-sized" companies. I work at a factory, specifically the warehouse section where I scan labels of products to get registered into our ERP program. I swear to god, there's like 20 middlesteps that could be skipped and improve efficiency by like 50%. I have repeatedly expressed my concerns for the inefficiencies, and actively made points regarding how they could fix the problems.

They're doing JACK SHIT to fix the stuff. Because it costs time and money, and they look better on paper if they can just avoid that cost.

stuck furnace
#

I'm not sure when it was that I realised most of the people on Reddit are talking out of their backside.

whole bear
#

do most people here even have a facebook account?

#

indeed

#

aint got one myself, deleted it along with everything else. It's now only SMS, email, phone, and Discord

#

phone

stuck furnace
#

There have been attempts to make a federated facebook equivalent, but they never really caught on.

#

I think... diaspora?

whole bear
#

not sure it's really worth it, most open source tools are frankly inferior to closed-source ones. Discord is just GOOD, it's far more user-friendly than Matrix and IRC

stuck furnace
#

.xkcd 2347

viscid lagoonBOT
#

Someday ImageMagick will finally break for good and we'll have a long period of scrambling as we try to reassemble civilization from the rubble.

whole bear
zenith radish
whole bear
#

lemmi take a look

stuck furnace
#

Email is federated social media ๐Ÿ˜„

whole bear
#

I've tried matrix and IRC, IRC felt underdeveloped and utter shit, Matrix was confusing and I didn't know where things were or what to do, or why I couldn't join X server.

#

Ah okay

stuck furnace
#

gtg WAVE6

whole bear
#

But I still believe closed source is most often better than open source, at least the step in the "chain" where users like us see the effect.

#

hmm

#

Minecraft vs Minetest, VS code vs VS codium (codium lagged a lot more on my linux mint machine)

#

aight then how is it STILL worse?

#

Did it not lag more for you?

#

what are some open-source projects I should look into to really see the difference between that and closed-source stuff?

#

Just so I can try both options and really get the "aha I see" moment

#

I shitpost online

#

And I torrent and watch a ton of anime

zenith radish
whole bear
#

wait wut?...

#

holy shit that would be amazing for some long-running stuff I don't want on my drive

#

I'll check it out asap, thanks man

#

ah no, I use Transmission since it came with my linux distro

#

I'm gonna have to leave, thanks a lot for this convo, felt like I learned a bit.

#

cya

sly yarrow
#

hi

silver basin
#

hi

sly yarrow
#

i cANNOT ACTIVATE VOICE

silver basin
#

I don't have permission to talk

somber heath
#

@silver basin @ruby iron ๐Ÿ‘‹

wise cargoBOT
#

Voice verification

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

silver basin
#

oh shoot

#

So I won't be able to talk today

#

I just have some questions about numpy

somber heath
#

!e print(10 // 3)

wise cargoBOT
#

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

3
somber heath
#

!e print(10 % 3)

wise cargoBOT
#

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

1
somber heath
#

!d divmod

wise cargoBOT
#

divmod(a, b)```
Take two (non-complex) numbers as arguments and return a pair of numbers consisting of their quotient and remainder when using integer division. With mixed operand types, the rules for binary arithmetic operators apply. For integers, the result is the same as `(a // b, a % b)`. For floating point numbers the result is `(q, a % b)`, where *q* is usually `math.floor(a / b)` but may be 1 less than that. In any case `q * b + a % b` is very close to *a*, if `a % b` is non-zero it has the same sign as *b*, and `0 <= abs(a % b) < abs(b)`.
somber heath
#

!e py a, b = divmod(10, 3) print(a) print(b)

wise cargoBOT
#

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

001 | 3
002 | 1
somber heath
#

!e py print(*range(0, 99, 10))

wise cargoBOT
#

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

0 10 20 30 40 50 60 70 80 90
sharp urchin
#

!e ```def test(nums):
for i in range(0, len(nums)):
if i not in range(0, 999, 10):
return False
return True

print(test([0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160,
170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290, 300, 310,
320 , 330, 340, 350, 360, 370, 380, 390, 400, 410, 420, 430, 440, 450,
460, 470, 480, 490, 500, 510, 520, 530, 540, 550, 560, 570, 580, 590, 600,
610, 620, 630, 640, 650, 660, 670, 680, 690, 700, 710, 720, 730, 740, 750,
760, 770, 780, 790, 800, 810, 820, 830, 840, 850, 860, 870, 880, 890, 900,
910, 920, 930, 940, 950, 960, 970, 980, 990]))

wise cargoBOT
#

@sharp urchin :white_check_mark: Your 3.11 eval job has completed with return code 0.

False
somber heath
#

@grim atlas ๐Ÿ‘‹

wise cargoBOT
#

Voice verification

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

grim atlas
#

@wise cargo

#

Sure

#

50 messages?

#

I'm quite new here as you can tell

#

Trying to install matplotlib on Android

#

But not working out

sharp urchin
#

how convenient is it to run python on mobile?

#

or tablet

#

ikr

#

lmao

#

why use it then?

grim atlas
#

Yes similar to Termux using UserLAnd

#

Which is Ubuntu Linux sub system

#

But I successful installed numpy today

sharp urchin
#

nvmm my code's still not working

#

yeh

#

it shd print "False"

#

but its not

#

the prev code

#

itself

sharp urchin
#

itself

#

nvmm

#

:{

#

it prints true in my IDE

#

my bad

#

lol

#

m sorry ...my communication skills are low

#

!e ```def test(nums):
for i in nums:
if i not in range(0, 990, 10):
return False
return True

print(test([0, 20, 40, 60, 80, 100, 120, 140, 160, 180, 200, 220, 240, 260, 280, 300, 320, 340, 360, 380, 400, 420, 440, 460, 480, 500, 520, 540, 560, 580, 600, 620, 640, 660, 680, 700, 720, 740, 760, 780, 800, 820, 840, 860, 880, 900, 920, 940, 960, 980]))```

wise cargoBOT
#

@sharp urchin :white_check_mark: Your 3.11 eval job has completed with return code 0.

True
sharp urchin
#

see this

#

!!

#

it shd print FALSE

grim atlas
#

after git clone ... matplotlib GitHub link

sharp urchin
#

i guess you shoukd go on with the topic with samy first

#

i have just interrupted

#

ohh ok

#

then welp!! T__T

somber heath
#
def func(nums):
    return all(v in range(0, 990, 10) for v in nums)```
sharp urchin
#

but the problem with my code?

#

:[

#

!e ```def func(nums):
return all(v in range(0, 990, 10) for v in nums)

print(func([0, 20, 40, 60, 80, 100, 120, 140, 160, 180, 200, 220, 240, 260, 280, 300, 320, 340, 360, 380, 400, 420, 440, 460, 480, 500, 520, 540, 560, 580, 600, 620, 640, 660, 680, 700, 720, 740, 760, 780, 800, 820, 840, 860, 880, 900, 920, 940, 960, 980]))```

wise cargoBOT
#

@sharp urchin :white_check_mark: Your 3.11 eval job has completed with return code 0.

True
sharp urchin
#

:{} should have printed FALSE

#

the gap is of 20

#

and not of 10

#

0,20,40,..........

#

but your code says to print true if its "0,10,20,...

#

!e ```def test(nums):
return all(i in range(1000) and abs(i - j) >= 10 for i in nums for j in nums if i != j) and len(set(nums)) == 100

print(test([0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160,
170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290, 300, 310,
320 , 330, 340, 350, 360, 370, 380, 390, 400, 410, 420, 430, 440, 450,
460, 470, 480, 490, 500, 510, 520, 530, 540, 550, 560, 570, 580, 590, 600,
610, 620, 630, 640, 650, 660, 670, 680, 690, 700, 710, 720, 730, 740, 750,
760, 770, 780, 790, 800, 810, 820, 830, 840, 850, 860, 870, 880, 890, 900,
910, 920, 930, 940, 950, 960, 970, 980, 990]))

wise cargoBOT
#

@sharp urchin :white_check_mark: Your 3.11 eval job has completed with return code 0.

True
sly yarrow
#

do you have questions, guys?

#

it is just a nickname

#

what exactly

sharp urchin
#

Write a Python program to split a string of words separated by commas and spaces into two lists, words and separators.

sly yarrow
#

can you make an input and output

sharp urchin
#
W3resource Python,Exercises.
Output:
[['W3resource', 'Python', 'Exercises.'], [' ', ', ']]```
sly yarrow
#

okay, guve me time

#

so dot means that we need to create new list?

sharp urchin
#

do ping me next time if you have a question related or an answer

#

:}

sly yarrow
#

i need more examples

sharp urchin
#
Split the said string into 2 lists: words and separators:
[['The', 'dance', 'held', 'in', 'the', 'school', 'gym', 'ended', 'at', 'midnight.'], [' ', ', ', ' ', ' ', ' ', ' ', ', ', ' ', ' ']]```
sly yarrow
#

[['W3resource', 'Python', 'Exercises.'], [' ', ', ']] what is this?[' ', ', ']

#

kind clear)

#

i guess i get it

sharp urchin
#

the modules makes life way bttr

sly yarrow
#

nah, i almost done, just correcting some mistakes

sharp urchin
#

ohh ok

sly yarrow
#

lol

#

nah something is wrong, sorry)

#

yeah same, i am doing for myself

sly yarrow
#

i did not yet

#

no, man, he is asking different things

surreal wyvern
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

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

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

surreal wyvern
#

!e
text = "W3resource Python, Exercises."
ls = list(text.split(" "))
print(ls)

wise cargoBOT
#

@surreal wyvern :white_check_mark: Your 3.11 eval job has completed with return code 0.

['W3resource', 'Python,', 'Exercises.']
sly yarrow
#

!e

text = "W3resource Python,Exercises."

def deleteSpliter(text):
    result = ""
    ls = []
    seperator = []
    for i in text:
        print(result)
        if i == " ":
            seperator.append(" ")
            ls.append(result)
            result = ""
        elif i == ",":
            seperator.append(",")
        else:
            result += i
    ls.append(result)
    return ls, seperator


print(deleteSpliter(text))
wise cargoBOT
#

@sly yarrow :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 
002 | W
003 | W3
004 | W3r
005 | W3re
006 | W3res
007 | W3reso
008 | W3resou
009 | W3resour
010 | W3resourc
011 | W3resource
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/xafafacupo.txt?noredirect

sly yarrow
#

!e

text = "W3resource Python,Exercises."

def deleteSpliter(text):
    result = ""
    ls = []
    seperator = []
    for i in text:
        if i == " ":
            seperator.append(" ")
            ls.append(result)
            result = ""
        elif i == ",":
            seperator.append(",")
        else:
            result += i
    ls.append(result)
    return ls, seperator


print(deleteSpliter(text))
wise cargoBOT
#

@sly yarrow :white_check_mark: Your 3.11 eval job has completed with return code 0.

(['W3resource', 'PythonExercises.'], [' ', ','])
sly yarrow
#

like this?

#

@sharp urchin

#

i spent like 30 minutes, lol
i made another code

text = "The dance, held in the school gym, ended at midnight."

ls = [[], []]
def deleteSpliter(text):
    result = ""
    ls = []
    for i in text:
        if i == " ":
            ls.append(result)
            result = ""
        elif i != ",":
            result += i
    return ls

ls[0] = deleteSpliter(text)
for i in text[:-1]:
    if i.isspace():
        ls[1].extend(" ")
    elif i == ",":
        ls[1].extend(",")

print(ls)
#

which one

sharp urchin
#

result = ""

surreal wyvern
#

!e
text = "W3resource Python, Exercises."
ls = list(text.split(" "))
spc_lst=[]
for i in text:
if i == " " or i==",":
spc_lst.append(i)
f_lst=[ls,spc_lst]

wise cargoBOT
#

@surreal wyvern :warning: Your 3.11 eval job has completed with return code 0.

[No output]
sly yarrow
#

it will not work, cuz split takes only one argument

surreal wyvern
#

!e
text = "W3resource Python, Exercises."
ls = list(text.split(" "))
spc_lst=[]
for i in text:
if i == " " or i==",":
spc_lst.append(i)
f_lst=[ls,spc_lst]
print(f_lst)

wise cargoBOT
#

@surreal wyvern :white_check_mark: Your 3.11 eval job has completed with return code 0.

[['W3resource', 'Python,', 'Exercises.'], [' ', ',', ' ']]
sly yarrow
#

but regex can take more argument

sharp urchin
#

!e text = "The dance, held in the school gym, ended at midnight." ls = list(text.split(" ")) spc_lst=[] for i in text: if i == " " or i==",": spc_lst.append(i) f_lst=[ls,spc_lst] print(f_lst)

sly yarrow
#

try to debug result, basically the variable should be name

word = " "

it adds to the word variable character and if we encounter space, it add to the list all accomulated charcters, for example, "hello man" it will variable will be like this "world = "hello" "nd it becomes empty to make the same thing again with other words

#

result = ""

#

this one

#

you cannot)

sharp urchin
#

@teal flower

sly yarrow
#

you need to install IDE

#

IDLE

#

jeputernotebook

#

can you do live

#

now)

sharp urchin
#

your selected @sly yarrow

whole bear
#

@somber heath I still cannot talk

#

seems like it will take al ong time until. Iget some kind of role

wise cargoBOT
#

Voice verification

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

cunning lake
#

from Question import Question

question_prompts = [
"What color are apples?\n(a) Red/Green\n(b) Purple\n(c) Orange\n\n",
"What color are Bananas?\n(a) Teal\n(b) Magenta\n(c) Yellow\n\n",
"What color are strawberries?\n(a) Yellow\n(b) Red\n(c) Blue\n\n"
]

questions = [
Question(question_prompts[0], "a"),
Question(question_prompts[1], "c"),
Question(question_prompts[2], "b")
]

def run_test(questions):
score = 0
for question in questions:
answer = input(question.prompt)
if answer == question.answer:
score += 1
print("You got" + str(score) + "/" + str(len(questions)) + " correct")

run_test(questions)

somber heath
#

!e py d = {'key a': 'value a', 'key b': 'value b', 'key c': 'value c'} 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(['key a', 'key b', 'key c'])
002 | dict_values(['value a', 'value b', 'value c'])
003 | dict_items([('key a', 'value a'), ('key b', 'value b'), ('key c', 'value c')])
somber heath
#

!e py d = {'key a': 'value a', 'key b': 'value b', 'key c': 'value c'} print(d['key b'])

wise cargoBOT
#

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

value b
somber heath
#

!e py d = {'key a': 'value a', 'key b': 'value b', 'key c': 'value c'} d['key d'] = 123 print(d)

wise cargoBOT
#

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

{'key a': 'value a', 'key b': 'value b', 'key c': 'value c', 'key d': 123}
somber heath
#

!e py alpha = 'abc' beta = '123' for ab in zip(alpha, beta): print(ab)

wise cargoBOT
#

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

001 | ('a', '1')
002 | ('b', '2')
003 | ('c', '3')
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
#

Variable unpacking.

#

!e p for a, b in [(1, 2), (3, 4)]: print(a, b)

wise cargoBOT
#

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

001 | 1 2
002 | 3 4
somber heath
#

!e py alpha = 'abc' beta = '123' for a, b in zip(alpha, beta): print(a, b)

wise cargoBOT
#

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

001 | a 1
002 | b 2
003 | c 3
glad sandal
cunning lake
#

This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
Want more from Mike? He's starting a coding RPG/Bootcamp - https://simulator.dev/

โญ๏ธ Contents โญ
โŒจ๏ธ (0:00) Introduction
โŒจ๏ธ (1:45) Installing Python & PyCharm
โŒจ๏ธ (6:40) Setup & Hello Wor...

โ–ถ Play video
somber heath
#

@prime crag ๐Ÿ‘‹

#

@split kite ๐Ÿ‘‹

cunning lake
#

!e Game_commands = {
"walk" "run" "stop" "attack"
}

wise cargoBOT
#

@cunning lake :warning: Your 3.11 eval job has completed with return code 0.

[No output]
somber heath
#

!e py print({'a' 'b' 'c'})

wise cargoBOT
#

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

{'abc'}
somber heath
#

!pep8

wise cargoBOT
#

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

More information:
โ€ข PEP 8 document
โ€ข Our PEP 8 song! :notes:

somber heath
#

See: Naming conventions

glad sandal
somber heath
#

@dire pecan ๐Ÿ‘‹

glad sandal
hoary olive
#

hello

hoary olive
somber heath
#

@covert geode ๐Ÿ‘‹

hoary olive
#

i recall a random dude singing here

#

possibly griff banned him?

sharp urchin
#

any problem

#

:{}

uncut meteor
hoary olive
#

there was this russian dude singin

#

ye it was this dude

#

i was in this voice chat

#

and this dude was like albert einstein's talk

#

so i raise the volume

#

and then some good sounds came out

#

opal also used to make some good sounds, high quality ones ๐Ÿ˜‰

#

those depressed people made some interesting sounds LMAO

#

you said it .... not me

#

ye you were like depressed people or some people sound like this, and BOOM i hear beethoven's symphony

sharp urchin
#

hello @sly yarrow

somber heath
hoary olive
#

by beethovens symphony i mean something else.

#

jupiter brainmon

#

Japan bruh

sharp urchin
#

ayayyyyy

#

regex supremacy

hoary olive
#

What have you made?

You can create a website
๐Ÿง 

sharp urchin
#

thts not wrong

hoary olive
#

How are you?

Yes.

sharp urchin
#

though

#

is it

sly yarrow
sharp urchin
#

wait it is "HTML" or "Hach TML"

hoary olive
#

H.T.M.L

#

what?

#

thats a whole other thing

#

those are stacks

#

bro what

sharp urchin
#

no i meant the pronounciation

hoary olive
#

import app from "testing.js"

sharp urchin
#

sum say "H" as "hech"

hoary olive
#

what are you guys saying

#

you just export

uncut meteor
#

if ur using module type

somber heath
#

@wanton elk ๐Ÿ‘‹

hoary olive
#
function DOG() {
  alert(MOEW!`);
}

function sayBRUH(user) {
  alert(`BRUH, ${user}!`);
}

export {DOG, sayBruh};
terse needle
#

eh, JS is becoming more of a glue to join your webassembly to the front end. Despite it having some cool ideas behind it JS is a nightmare of a language

hoary olive
#

```import {DOG, sayBruh} from "./idk.js"````

wanton elk
hoary olive
terse needle
hoary olive
#

nightmare language?

#

Javascript???? isnt that java brainmon

terse needle
#

yes, for starters it's lack of static typing is that absolute worst

hoary olive
#

theres no static keyword though

terse needle
#

but the most subtle sin that javascript commits is all of it's implicit behaviour

terse needle
hoary olive
#

guys please stop saying random stuff you have no idea about

#

"nightmare language"

#

"bad importing"

dense ibex
#

Sorry it just doesnโ€™t seem like you know what youโ€™re talking about

hoary olive
#

what do you mean by static?

#
class RandomClass {
  static staticField;
```
#

javascript has statics

#

static != having types

#

static by default means this

#

clearly you are mixing up things

dense ibex
#

I think you are..

hoary olive
#

static != static typing

terse needle
hoary olive
#

thats literally what i said

#

it doesnt say
Why is C# static

final agate
#

hello guys

#

how can i install TA-Lib pls ??

hoary olive
#

SvelteKit is awesome

somber heath
#
SGCommand

The Tau'ri, known simply as just Humans, are a humanoid race from the planet Earth, characterized by bipedalism and large, complex brains and are highly social and tend to live in complex social structures composed of many cooperating and competing groups, from families to political states. Their genetic makeup is devoid of many elements that wo...

final agate
#

@somber heath

hoary olive
#

by far better than any other thing i have used

final agate
terse needle
somber heath
final agate
#

i work from visual studio code

#

the blue

somber heath
#

@fleet depot ๐Ÿ‘‹

#

@gentle chasm ๐Ÿ‘‹

#

@unreal hornet ๐Ÿ‘‹

#

!e py import string print(*enumerate(string.ascii_lowercase))

wise cargoBOT
#

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

(0, 'a') (1, 'b') (2, 'c') (3, 'd') (4, 'e') (5, 'f') (6, 'g') (7, 'h') (8, 'i') (9, 'j') (10, 'k') (11, 'l') (12, 'm') (13, 'n') (14, 'o') (15, 'p') (16, 'q') (17, 'r') (18, 's') (19, 't') (20, 'u') (21, 'v') (22, 'w') (23, 'x') (24, 'y') (25, 'z')
somber heath
#

@lethal drift ๐Ÿ‘‹

#

@plain flare ๐Ÿ‘‹

sly yarrow
#
def hello(self):
    self.no = 1
somber heath
#

@grim iron ๐Ÿ‘‹

#

@sinful oak ๐Ÿ‘‹

vocal basin
#

!e

print(issubclass(type, object))
print(isinstance(type, object))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | True
002 | True
somber heath
#

A duck, class duck, class animal.

vocal basin
#

no, float and int aren't related that way

#

!e

print(issubclass(int, float))
print(issubclass(float, int))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | False
002 | False
willow lynx
#

๐Ÿ‘‹

somber heath
#

The power of ctypes: 1 + 1 == 3.

#

@lunar dagger ๐Ÿ‘‹

lunar dagger
#

๐Ÿ‘Œ

stuck furnace
#

Hi Opal KoalaWave

vocal basin
# somber heath The power of ctypes: 1 + 1 == 3.

I think, with enough effort, it's possible to make C align structs such that

struct weird
{
    int a;
    int b;
}
bool weird_is_weird()  // may be true
{
    return sizeof(struct weird) == 3 * sizeof(int);
}
lunar dagger
#

VS Code?

vocal basin
vocal basin
#

that web design

lunar dagger
vocal basin
#

I remembered I have this thing

#

trigonometry again

sharp urchin
#

@twilit stone in short just the opposite of what you have

#

and we have

#

geography class 3 or so

vocal basin
sharp urchin
#

nvmm my bad

#

@vocal basin may i ask you a question?[random]

vocal basin
#

in Russia, for example, grades 1~5 have physics, biology and geography merged into a single class

vocal basin
sharp urchin
#

your good at

#

m not sure if i have asked this earlier

#

but was just curious

vocal basin
#

"good at" depends on "good for what"

sharp urchin
#

good at a medium lvl to help others

#

in solving/debugging

#

or as one may say "intermediate" level

#

china is love!!!

#

nah it wasnt china

vocal basin
#

I never seriously wrote C++, but was able to help debugging it
(same goes for Java/BASIC; debugging has some general principles that cross programming language barriers)

sharp urchin
#

i wouldnt say so

vocal basin
# vocal basin "good at" depends on "good for what"

this list is neither full nor perfectly correct

I have code written in (roughly ordered by count):
Python
C#
JavaScript, TypeScript, HTML, CSS
C
Lua
bash (haven't used any complex logic)
SQL (nothing too deep either; mostly pgsql/sqlite dialects)
Go (a single script)

PLs I help with (all of the above plus):
Rust, Java, C++, Pascal, BASIC/VB

know some theoretical basis (maths, compiler nuances, other random pieces of information) of, but don't write regularly:
Rust, Haskell, Lisp

sharp urchin
#

thanks

vocal basin
#

did occasionally write Ruby, F#, PHP

sharp urchin
#

thats what i expected too

#

:{}

#

me - python, C

#

m learning more though

vocal basin
sharp urchin
#

for the time being can you help me

#

in a python prblm

#
    for i in range(len(nums) - 1):
        if nums[i] == nums[i + 1]:
            return False
    return True
vocal basin
#

finding duplicates or consecutive duplicates?

sharp urchin
#

i want the program to print True only if no values are repeated to every 4 places

#

example

somber heath
#

@flat nexus ๐Ÿ‘‹

sharp urchin
#
[1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4]
Output:
True

Input:
[1, 2, 3, 3, 1, 2, 3, 3, 1, 2, 3, 3, 1, 2, 3, 3]
Output:
False

Input:
[1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3]
Output:
False```
#

like this

#

later @somber heath

flat nexus
#

i can"t speak sorry ( verification voice)

sharp urchin
#

now what else should i add to my code? @vocal basin

#

my code would print True if no values are repeated back to back

#

but it wont print False in this case [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3]

#

and i want it to

#

i hope i was clear in explaining my prblm

flat nexus
#

is anyone available for a question about my code?

vocal basin
vocal basin
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | True
002 | False
003 | False
sharp urchin
#

nvmm

#

yeh ty i found a way too

#

ty

vocal basin
sharp urchin
flat nexus
#

@vocal basin my dd and pngegg images are not displayed once my code is launched.

sharp urchin
#

why is it too complicated:{

vocal basin
sharp urchin
# vocal basin understanding what this solution does can be helpful

!e ```def test(nums):
for i in range(len(nums) - 1):
if nums[i] == nums[i + 1]:
return False
if len(set(nums)) != 4:
return False
return True

print(test([1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4]))
print(test([1, 2, 3, 3, 1, 2, 3, 3, 1, 2, 3, 3, 1, 2, 3, 3]))
print(test([1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3]))

wise cargoBOT
#

@sharp urchin :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | True
002 | False
003 | False
vocal basin
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

False
sharp urchin
#

:{}

vocal basin
sharp urchin
#

aight m stopping this shit rn

#

m tired๐Ÿ˜ฉ

flat nexus
vocal basin
wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

sharp urchin
#

i dnt wish to learn as well

#

leave nvmm

flat nexus
#

@vocal basin

vocal basin
#

the problem is that they don't get re-drawn, right?

flat nexus
#

can you voice 2 sec so that I show you in screen sharing?

vocal basin
#

you can send the screenshots

flat nexus
#

ok

#

i don't see my player

vocal basin
#

you have this in the loop:

fenetre.blit(fond, (0, 0))
#

you're missing

fenetre.blit(personnage, (x, y))
fenetre.blit(personnage1, (x1, y1))
flat nexus
#

ok i will test

#

here?

vocal basin
#

either this or this

flat nexus
#

NICE

#

kiss u

#

now I'm going to try to make them move I'll be back.

#

@vocal basin you're still here ?

vocal basin
grim iron
flat nexus
vocal basin
flat nexus
#

I have another same code without the ball where the images move, I copied the code for the images to move but it doesn't work

vocal basin
flat nexus
vocal basin
#

therefore you never change the values responsible for moving the images

#

also, you're missing global keyword in the function

#

you're going to get errors if you just call it

flat nexus
#

okay

#

OK and how should I do?

vocal basin
#

I don't think the current behaviour of the function is the intended one

#

seems like it shouldn't include the while loop

#

and should be changing running global variable instead of local run

flat nexus
#

wow

vocal basin
#
def Jeu():
    global run, x, y, x1, y1
    ...
#

@sharp urchin
yes, can hear

#

okay

sharp urchin
#

brb in few mins

vocal basin
#

@somber heath
hi
there's some python learning discussion going to happen in 10~30 minutes

#

@sly yarrow
what position, again?

#

software engineer or software developer?

flat nexus
#

you could tell me from here:
what i should do exactly plz?

#

@vocal basin

vocal basin
vocal basin
# somber heath Elaborate?

cruiser_pet asked for advice
(and is going to explain something about why chose to learn python, I guess? or something)

vocal basin
#

software development should be up to the standards of software engineering
sometimes those mean the same
sometimes they don't
depends on the context

vocal basin
vocal basin
#

on using leetcode to improve in Python or other high-level language:
use libraries
don't just translate C into Python

#

the high-level parts of the language like functools, itertools can be useful outside of that distilled algorithmic environment

somber heath
#

@eager wraith ๐Ÿ‘‹

vocal basin
somber heath
#

@whole bear ๐Ÿ‘‹

whole bear
#

@somber heath whattup

somber heath
#

Who can say?

whole bear
#

dunno

vocal basin
#

there is an important other thing the philosophy of sites like leetcode:
don't "just solve"
revisit the problems
learn to refactor the solutions
actively use that as an opportunity to get more language knowledge

#

not only language knowledge, but programming methodologies also

#

for example, applying TDD to the process of solving

hoary olive
#

leetcode is good tbf

#

i honestly was like: Hey these seem like very unpractical questions

#

but i find leetcode "Putting what you know in use" more than "Hey show me questions i will actually use"

#

Ex. Hashmaps in Java may not be practical for every use, but leetcode helps you

  1. See when to use hashmaps and the variety questions you can solve with it
  2. Find other useful alternitives
vocal basin
stuck furnace
#

Erm, guys, what are you talking about?

hoary olive
#

hi LX - how was your coffee?

vocal basin
stuck furnace
hoary olive
#

instant ?

stuck furnace
#

Reheated filter coffee lol

#

Even worse

hoary olive
#

lol the quality keeps getting worse each time i ask ๐Ÿ˜…

#

Hello Maro

stuck furnace
hoary olive
#

im honestly a hot chocolate type of guy, but i have some coffee here and there

#

dont like to mess up with my nerve system

stuck furnace
#

I'm pretty sure by this point if I stopped drinking coffee I would die.

hoary olive
#

As far as i know it stops the movement of neurons. How neurons work is if one neuron changes it has a domino effect. and so when it suddenly goes on you feel tired or smth.

#

so then neurons go brrrr