#voice-chat-text-0

1 messages · Page 324 of 1

vocal basin
#

(in short, you don't, until everything almost explodes)

upper basin
#

Automated testers (unit testers, integration testers).

#

That's what you described, and that's what wikipedia says.

#

If you mean doing team programming then just say team programming.

vocal basin
#

if you think two people looking at the same screen see the same things, you haven't been around people enough

upper basin
#

Working in a team is not equivalent to pair programming. I can collaborate with others without having to work at the exact same time as another person.

#

We can do our own analysis and come back to discuss.

vocal basin
#

Working in a team is not equivalent to pair programming
yes, and I have said that very early on

upper basin
vocal basin
#

don't extrapolate your experiences on others

upper basin
#

I do pair programming every week, every week on thursdays. It's useless. I've gotten better results from discussing ideas, and then going back to work on the code and then coming back next week to discuss.

upper basin
vocal basin
upper basin
#

No, I gave my answer.

#

Don't twist it.

vocal basin
upper basin
#

Yes, you don't need to do pair programming to discuss a piece of code.

#

You can do it.

#

You don't need to.

ivory stump
#

Do you still want to stream? I'm free for about 20 mins

#

So I can do some babysitting :)

ivory stump
#

!stream 451730408636416000

wise cargoBOT
#

✅ @late spoke can now stream until <t:1717346785:f>.

late spoke
#

🍼 can you change my diaper too ? 🧷

upper basin
#

I do pair programming every week for my research project. I get 0 traction on the code itself. I rather dedicate the time to discuss the idea, go through some code, and go work on it for another week.

#

I can do this by just having someone read the code and then discuss. They don't need to be present for me to write the same piece of code.

vocal basin
#

did you mean pair programming in this specific message or just collaboration?

upper basin
#

Every week. I have done this with many people, and it's been the same lesson. It's a better use of time to go and do your own analysis and process, write some code, and come back and discuss the code. You don't need someone sitting and looking at you as you write the code.

vocal basin
#

depends on specific people

upper basin
#

I've done this with researchers, developers, and students.

#

They all prefer to do their process, and come back to compare notes and only run the code together to check some ideas.

#

You don't need to sit together to solve a bug. You can both work on the same issue without looking at the same screen. You do your tests, I do mine. We discuss ideas, and test them out again independently.

#

At the end it's one person typing the code.

#

The only time I can think of when I want someone to sit next to me is when I have a question and I want them to teach me and supervise/babysit me as I write the code.

#

As you've done it for me and many others here.

vocal basin
#

if not clear enough:
the "optimal" amount of pair programming is very low

#

it is not the main way team should work on problems

#

not at all

upper basin
#

I prefer your definition of pair programming only for when I have a question and want someone to teach me. I literally have been doing it constantly considering every time I've shared my screen and asked you guys to help.

vocal basin
upper basin
#

Yes, but that's not sth you'll see in companies which is what you guys were saying.

#

In a company we both have access to the same codebase, and can try out ideas.

#

You guys don't have context nor access to my code, hence I need to show the code to you. Therefore, I do pair programming.

#

You don't have this when you're working together on a project.

stark river
#

🥱

vocal basin
#

delay

upper basin
#

So you're saying when you want to be babysat?

vocal basin
#

I don't

upper basin
#

That's what it is. You want someone to sit with you and help you through it. I do it all the time.

#

Now, sending an email vs having a meeting is an entirely different discussion than pair programming.

vocal basin
#

I've never had the experience of me needing someone to guide me through coding; but I've had a lot of people needing me to guide them

vocal basin
upper basin
vocal basin
upper basin
#

So, you personally have never done pair programming?

#

Not you guiding someone, someone guiding you.

ivory stump
#

But the grade cutoffs are tailored to the exam, right?

#

(this was for the US side, I'm coming from the UK system)

vocal basin
ivory stump
#

Isn't there grade curving

ivory stump
upper basin
#

You've babysat me many times.

#

But you wouldn't want me to be getting comfortable with being babysat.

ivory stump
#

Max-based is an awful way to design a curve, optimally all students should get 0 lol

vocal basin
#

not all of pair programming is "babysitting"

ivory stump
vocal basin
#

two people may be on roughly the same level, yet have different perspective

upper basin
ivory stump
#

(@late spoke you've got 3 mins left before I have to be gone)

vocal basin
upper basin
vocal basin
#

depends

upper basin
#

We'd be discussing ideas, then going back to our own workplace to test stuff out.

vocal basin
#

context switching of try-meet-discuss-leave-test takes a toll

upper basin
#

I think we're on the same page, but can't seem to agree on the use-cases.

late spoke
upper basin
#

Let's leave it at that then.

vocal basin
#

if all get the same
do all get 0 or 100

ivory stump
#

100

#

!unstream 451730408636416000

wise cargoBOT
#

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

#

@late spoke's stream has been suspended!

ivory stump
#

adios

stark river
vocal basin
#

-2

#

or 2

#

wait I forgot

#

there was some CPU that had 0/0=2

upper basin
vocal basin
#

isn't that admin-only?

#

as in the capability

upper basin
#

Yes, ohh Cheeki isn't admin?

#

My bad, the colors are so close hehe.

primal shadow
vocal basin
#

#cheekiforadmin2028

vocal basin
#

vwvvw, eastern european version

#

cursive is optimised for writing not reading, as can be seen above

stark river
vocal basin
#

@desert token your mic is on

#

(noise coming through, assuming unintentional)

desert token
#

I dont even have a mic attached I wonder where the input came from

stark river
#

if input device is alsa

primal shadow
somber granite
upper basin
# primal shadow '

Yeah, if you're getting into AI roles they want a graduate degree in CS, math, or related field, plus at least 3 years of professional experience.

Then they want familiarity with C++, and Python, and at least one SQL framework.

vocal basin
#

н and each start of л clearly stand out

upper basin
#

They want professional record, so after 3 years you're likely an expert.

#

It's bullshit, but yeah.

#

Bulk apply is only good if you're applying to the same role.

#

If you're applying to diverse roles you have to customize your Resume.

#

IF you're applying to the same role.

#

Yeah you don't, it's optional. You can get rejected too, you don't have to get accepted.

#

Roles look for fits. You need to show competency for the core skills they want. Different roles need different skills.

#

If you're applying to NLP you shouldn't be showing only image processing projects. They would want to see some track record of you doing NLP.

#

Bulk applying is best suited for when you're applying to the same role so you don't have different skills on a role to role basis.

#

What roles are you applying to mostly Krys?

#

I've seen some good roles that just want SQL familiarity and pay around 9K monthly, so that's an annual income of 108K.

#

Have you had a chance looking at LinkedIn? I'm sure you have, but if you like I can send you some roles I've been seeing.

#

You can just check them out and see if you like them and apply if you want.

#

There's also Indeed, Glassdoor, and Jobstreet.

#

I've seen some good gigs on Indeed and Jobstreet.

#

Lots of openings on SQL stuff if you like those. I don't use SQL at all, so I don't apply to those roles.

#

I've seen them ask for MySQL, SQL, and postgresql.

#

That's it.

#

You're in US right?

#

Sorry crashed.

primal shadow
#

data engineer, that's the title I gotta loo kfor

stark oxide
#

what's the diference between a data engeneer and a programer?

primal shadow
#

the focus

upper basin
stark oxide
#

is data engeneer a specification in programmer?

upper basin
#

You have three types, data engineer, data scientist, and data analyst. They have overlapping skills with different emphasis. There's a good figure on this.

upper basin
stark oxide
#

lol

upper basin
#

If you're writing code you're a programmer. It's a pretty large umbrella.

stark oxide
#

true

#

but a language dev is more spwcific than programmer

upper basin
#

Krys, this shows which data roles need which skills. I usually refer to this when I want to see if a data role fits my skillset.

#

@turbid oriole greetings there,

Hope you are well. Can you kindly set the voice region of vc1 to India please? I keep getting dced from vc0 since it's set to Rotterdam.

primal shadow
#

love it

whole bear
#

Can anyone help me make a script? I don't understand anything and I'm willing to pay a price (not much because I don't have much)

spare galleon
tall ridge
tough wolf
#

hi

spare galleon
tough wolf
#

how much exp do you have with python

spare galleon
spare galleon
tough wolf
#

you have to have texted fifty messages

spare galleon
#

well whats your question with dah code

tough wolf
#

also wondering if you have experience with the tweepy python library

spare galleon
spare galleon
tough wolf
#

Do you know any pretty easy python projects to finish in about 2 days

spare galleon
tough wolf
#

thanks bro

whole bear
#
@commands.slash_command()
    async def play(self, inter: disnake.ApplicationCommandInteraction, *, query: str):
        """Searches and plays a song from a given query."""
        player = self.bot.lavalink.player_manager.get(inter.guild.id)
        query = query.strip('<>')

        if not url_rx.match(query):
            query = f'ytsearch:{query}'

        results = await player.node.get_tracks(query)
        if not results or not results['tracks']:
            await inter.response.send_message('Nothing found!')
            return

        if results.load_type == "PLAYLIST":
            tracks = results['tracks']
            for track in tracks:
                player.add(requester=inter.user.id, track=track)
                now_playing_embed = disnake.Embed(color=disnake.Color.green())
                now_playing_embed.title = 'Playlist Started!'
                now_playing_embed.description = f'Now playing: {tracks[0]["info"]["author"]} - [{tracks[0]["info"]["title"]}]({tracks[0]["info"]["uri"]}) added by [{inter.user.mention}]'
                await inter.response.send_message(embed=now_playing_embed)
            if not player.is_playing:
                await player.play()
                now_playing_embed = disnake.Embed(
                    title="Now Playing",
                    description=f'[{results["tracks"][0]["info"]["title"]}]({results["tracks"][0]["info"]["uri"]})',
                    color=disnake.Color.green()
                )
                await inter.send(embed=now_playing_embed)
            else:
                queue_embed = disnake.Embed(
                    title="Track Added to Queue",
                    description=f'[{results["tracks"][0]["info"]["title"]}]({results["tracks"][0]["info"]["uri"]}) has been added to the queue.',
                    color=disnake.Color.orange()
                )
                await inter.send(embed=queue_embed)```
somber heath
#

@delicate tide 👋

delicate tide
#

three

delicate tide
#

six

#

eight

#

yes @somber heath

#

no im just trying to hang out 🙂

#

i have some questions but not atm

spare galleon
delicate tide
#

i almost have 50 messages

#

so close

#

just

#

four

#

more

#

messages

#

🙂

somber heath
#

@ruby atlas 👋

spare galleon
#
function update(time, delta){
    const velocity = 25
    const bigG = 1.5

    this.gravity += bigG + velocity * (delta / 1000);

    if (this.player.y < 600) { 
        this.player.y += this.gravity;
        console.log(this.gravity + ' is gravity')

    }   else {
            this.player.y = 600;
            this.gravity = 0;
            console.log(this.gravity + ' is gravity')
        }
}
somber heath
#

@willow monolith 👋

willow monolith
#

I don't have enough activity to speak😅

#

just should chat but I'm too lazy

spare galleon
somber heath
#

There are multiple channels other than here if that helps

#

If we're too unengaging.

spare galleon
#

wanna help me code my super cool extra special WebGL based physics machine

willow monolith
#

dunno why)

tulip gyro
#

no worries

somber heath
#

It can take me time to start vibing with people enough to just chat with them.

willow monolith
#

however, I just started learning python, but I have a bit of basic knowledge on programming

willow monolith
#

just wanna to start freelancing to buy a new pc

spare galleon
willow monolith
#

my laptop is probably 5 or 6 years old already

#

1060 6gb and I5 6300hq

spare galleon
#

@somber heath what the advent of code role?

tulip gyro
#

the chat is growing!

spare galleon
willow monolith
#

not the best choice in 2024 for gaming, you know

tulip gyro
#

sorry sorry advent of code is a fun coding projects the python discord promotes

#

its fun

#

its a bunch of problems that's updated every christmas or so

willow monolith
#

I'll be back in a sec

spare galleon
#

mhm ahhh okee

tulip gyro
#

let me get a link

somber heath
spare galleon
#

whats a gud wieght in kilos?

somber heath
#

Unless I'm misremembering.

tulip gyro
#

link there

somber heath
spare galleon
somber heath
#

80?

#

75?

spare galleon
tulip gyro
#

I got to run for a bit take care everyone! don't want to interupt

tall ridge
#

you might enjoy reading about zettlkasten

willow monolith
#

can you pls give some advices how to learn coding better, like I don't have problems with theory but I dunno where I can pactice because of lack of imaginarity

#

sounds stupid but yeah, that's my problem and reason why I quit 2 times already

spare galleon
#

and then as u go through that goal list, check it off and work on the next thing

#
function update(time, delta){
    const velocity = 25;
    const bigG = 1.5;
    const playerMass = 50;
    const playerDensity = 10;

    this.gravity += bigG + velocity * (delta / 1000);

    if (this.player.y < 600) { 
        this.player.y += this.gravity;
        console.log(this.gravity + ' is gravity');

    }   else if (this.gravity > 100){
            this.gravity = 100;

        }   else {
            this.player.y = 600;
            this.gravity = 0;
            console.log(this.gravity + ' is gravity');
            }
}```more code, lol
#

mhm i might split velocity into mass * acceleration

#

to better control player feel

willow monolith
#

gotta go, thx for advise with idea @spare galleon I'll try to create something. Have a great day or night guys(depending on your time zone)

tall ridge
spare galleon
#

bye peeps i go shluffy, goodnight, me work again on game tmrw byebye

#
function update(time, delta){
    const velocity = 25;
    const bigG = 1.5;
    const playerMass = 50;
    const playerDensity = 10;
    //const playerAcceleration = 0;

    this.Acceleration = playerMass * velocity
    this.gravity += bigG + velocity * (delta / 1000);

    if (this.player.y < 600) { 
        this.player.y += this.gravity;
        console.log(this.gravity + ' is gravity');

    }   else if (this.gravity > 100){
            this.gravity = 100;

        }   else {
            this.player.y = 600;
            this.gravity = 0;
            console.log(this.gravity + ' is gravity')
            }
}```
final code update
tall ridge
#

Ok, I'm going to sit here for a while.
AMA

somber heath
#

@hoary slate 👋

hoary slate
#

👏

somber heath
#

I know that segfault does.

willow monolith
tall ridge
#

I'm in the USA

#

Sillycon Valley

spare galleon
#

lol

whole bear
#

hi

#

hallo

#

im learning german

#

guess what

#

at 12 am i can speak

#

yeah

#

1 more hour

#

ill see u in a hour

willow monolith
#

hi @feral sky

feral sky
#

Hi

willow monolith
#

I can't verify cause i have not enough messages yet

#

but i can hear you

feral sky
#

I understood

#

I'm kinda sick

#

My voice is bad

willow monolith
#

shit that's bad

#

Have you spend a lot of time in python?

#

sup @somber heath

#

I still don't have 50 messages

#

I'm trying rn to get in

#

only learning

#

cause I need money for new pc, I must get it before I'll run out of money on blocked account

#

I'm in Germany rn

#

then I'm gonna be by myself

#

yeah, I need it for my student residental permit

#

I'm a student in Berlin so I need a proof of financlial status

#

that I have money for living

#

well pc which I wanna isn't cheap unfortunatley

#

around 3k euros

#

I building it for Escape from tarkov

#

and this game is unoptimized shit

#

and also that pc will last for at least 6 years

#

i hope my english grammar is good, it's my second language

somber heath
#

@austere reef 👋

willow monolith
#

hello @austere reef

austere reef
#

Hey

#

Why can’t we just speak /:

willow monolith
#

BTW @somber heath is Leetcode is good for practice, or it's better to do own projects?

somber heath
austere reef
#

Btw what are the ways i can give a value or a set of values an id?

willow monolith
#

because some people saying that leet is good, some telling about pet-projects and someone saying Go freelancing and read documentation

austere reef
#

Other than list indexing

somber heath
#

!d dict

wise cargoBOT
#

class dict(**kwargs)``````py

class dict(mapping, **kwargs)``````py

class dict(iterable, **kwargs)```
Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments.

Dictionaries can be created by several means:

• Use a comma-separated list of `key: value` pairs within braces: `{'jack': 4098, 'sjoerd': 4127}` or `{4098: 'jack', 4127: 'sjoerd'}`

• Use a dict comprehension: `{}`, `{x: x ** 2 for x in range(10)}`

• Use the type constructor: `dict()`, `dict([('foo', 100), ('bar', 200)])`, `dict(foo=100, bar=200)`
austere reef
#

Oh yeah I just remembered that, but also i need dict comprehension

#

i was thinking of making a sorting algorithm

#

Did you see that tim sort video on instagram?

willow monolith
#

and 1 fun fact, I'm a fan of 1 visual novell called Everlasting summer which runs on RenPy so I hope when I'll learn python I'm gonna be able to start making mods XD

austere reef
#

Is it me or does it seem slow or unnecessarily complicated?

#

I see

#

So more specific sorting algorithms should exist for specific uses?

willow monolith
somber heath
#

complexity

willow monolith
#

for some clients it could be important

willow monolith
austere reef
#

What are the things that the values are being sorted by? Just by size of the number or what else?

willow monolith
#

yeah, some people saying Learn C it's much faster but I think that Python is good for beginners to understand basics of programming

#

when you'll understand basics of programming it's gonna be easier for you to learn other language, all simpleRoflanOdobryaet

austere reef
#

That’s true

willow monolith
#

you just need then to learn other operators and how to use them

austere reef
#

Sorting strings?

#

Their lengths?

willow monolith
#

sup @whole bear

whole bear
austere reef
#

I guess just quantify then sort based on the numbers

somber heath
#

!e py print(sorted('aB'))

wise cargoBOT
willow monolith
#

dude, I saw you telling that you gonna be able to speak Deutchland language)

whole bear
#

yesss

#

im learning

willow monolith
#

maybe you in Germany if it's not a secret?)

whole bear
#

im in usa

willow monolith
austere reef
#

You definitely sound european

willow monolith
#

I know that probability is low but I'm trying to find people from Berlin to make some friends

#

fact

austere reef
#

You spell the R nicely so i guess not german or dutch

willow monolith
#

fortunatley I'm here as a student and not as a refugee

whole bear
#

@wind raptor can i get a unmute ive been in the server 3 days btw srry for ping

willow monolith
#

Eastern europe?

whole bear
#

ye

willow monolith
#

at least

whole bear
#

i alr have 50 msgs

#

i was in the server

#

before

#

i did

#

and its not letting me

austere reef
#

I’m gonna say sweedish

whole bear
#

you have to be

austere reef
#

Wait how can you speak?

whole bear
#

in the server 3 days

#

i have been

#

i have

#

yeah'

#

i need too wait 9 more hours

#

or something its stupid

austere reef
#

How is Ukraine?

#

Pretty cold

#

Can i encrypt using python?

somber heath
#

@slender elbow 👋

austere reef
#

Scottish?!!!

#

WHAT!

#

Did you get bitten by any wild animal?

#

Or stung?

austere reef
#

If i see a black widow in my room I’d resign from life

#

I’d envy those who don’t even exist

#

17 years would seem long enough for me

somber heath
supple cove
somber heath
#

I need a break.

willow monolith
chilly helm
#

@verbal zenith

fresh fog
#

Why is @somber heath is silent today?

somber heath
#

I don't have anything to add.

fresh fog
#

ahh right

spark spindle
#

what yall taljign abt

#

im unable to write properl

#

y

austere hornet
#

Don't spam to meet the message requirement btw.

spark spindle
#

whats the requirement

austere hornet
#

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

spark spindle
#

oh yea

tepid mantle
rugged root
upper basin
#

The only seal I acknowledge.

#

"Unrelated question, where can I get a remote detonator in form of a travel sized toothpaste?"

tepid mantle
tepid mantle
#
silk dust
tepid mantle
gentle flint
tepid mantle
whole bear
#

@wind raptor

#

remember me?

wind raptor
#

Of course

#

How are you doing?

whole bear
#

can u unmute me?

#

so i can speak

#

or is that not allowed

wind raptor
whole bear
#

You have been on the server for less than 3 days.

#

i have

wind raptor
#

What happened to your other account?

whole bear
#

u can look at when i joined

#

my other acc

#

is this acc

#

i left the server on accident

#

now i have to wait 3 days and i have

#

i joined on the 31st

wind raptor
#

ahh, you must just be minutes/hours off

whole bear
#

dang

wind raptor
#

Only admins can grant a role

whole bear
#

oh

wind raptor
#

You could try modmail or wait it out

whole bear
#

hemlock did not remember me

wind raptor
#

Really?

whole bear
#

yeah

wind raptor
#

Same options apply

#

I can't really do much. I can vouch for you if you make a modmail though

whole bear
#

okay thanks ill make 1 rn

wind raptor
#

Thanks

whole bear
#

how do i make 1?

wind raptor
#

find modmail in chat and message it

#

in the user list at the top

#

brb in 15

whole bear
#

k

wind raptor
#

back

spare galleon
#

front

boreal eagle
#

@spare galleon what's you plaing 😄 ?

#

@spare galleon did you won?

spare galleon
boreal eagle
#

you could delete it 😉 thank you

#

I need to google Pat Sajak XD

#

Hello @somber heath 🙂

#

Nice to hear you @spare galleon

#

Okey 🙂 see you 🙂 I working on 50 messages to verify voice 😄

primal shadow
#

What did you find on Pat Sajak?

#

You can look up news and you should get all sorts of great clips

#

the media loves to write articles anytime something funny happens

#

they always make wild accusations about him too "Pat Sajak assaults contestant" when they jokingly wrestled

boreal eagle
#

Intresting that Pat Sajak have Polish roots 😄

primal shadow
#

🇵🇱

boreal eagle
#

Hello 🙂

somber heath
#

@grizzled ore 👋

grizzled ore
#

why i cant on my mic

#

??

#

btw i came to ask for help

somber heath
#

@errant bolt 👋

grizzled ore
#

eee

#

ye?

#

idc how to explain

somber heath
#

Okay, well, take your time.

grizzled ore
#

isnt this means make a green square ?

#

class Player(pygame.sprite.Sprite):
def init(self):
pygame.sprite.Sprite.init(self)
self.image = pygame.Surface((50, 40))
self.image.fill(Green)
self.rect = self.image.get_rect()
self.rect.x = 200
self.rect.y = 200

#

but

#

there is no square

#

it appear when the moment i close the win

somber heath
#

I'm not proficient in PyGame. So I'd only be guessing. Can I see the full code, please?

#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

somber heath
#

I don't do DMs.

grizzled ore
#

find

#

import pygame

FPS = 60
Green = (0,255,0)
WHITE = (255,255,255)
WIDTH = 500
HEIGHT= 600

pygame.init()
screen = pygame.display.set_mode((400, 400))
pygame.display.set_caption("first game")
clock = pygame.time.Clock()

running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
screen.fill((255, 255, 255))
pygame.display.flip()
running = True

class Player(pygame.sprite.Sprite):
def init(self):
pygame.sprite.Sprite.init(self)
self.image = pygame.Surface((50, 40))
self.image.fill(Green)
self.rect = self.image.get_rect()
self.rect.x = 200
self.rect.y = 200

all_sprites = pygame.sprite.Group()
player = Player()
all_sprites.add(player)

screen.fill(WHITE)
all_sprites.draw(screen)
pygame.display.update()

somber heath
#

Could I get you to enclose your code example in a Discord codeblock, please?

#

As described above.

grizzled ore
#

okay i guess?

somber heath
#
print('So that your code looks...')
print('...nice and pretty and readable.')```
grizzled ore
#

@boreal eagle

#

can u help me ?

somber heath
#

```py
print('So that your code looks...')
print('...nice and pretty and readable.')```

rapid chasm
grizzled ore
#

@boreal eagle ?

boreal eagle
grizzled ore
#

can u help me ?

#

kamil

rapid chasm
somber heath
#

I'm honestly a little surprised your code draws a square at all.

#

Oh, Right.

rapid chasm
#

I'm mad cause my code is awful

grizzled ore
#

huh?

somber heath
#

Cart before horse.

grizzled ore
#

wait u shows for u ?

somber heath
#

See how you have your running while loop before the Player class definition and all the other code that comes after?

rapid chasm
#

Why are you laughing at me @boreal eagle

boreal eagle
#

Not laugthing at you 🙂 I want to laught with you 🙂

somber heath
#

The stuff that comes after is what draws the square.

grizzled ore
#

oh is it ?

somber heath
#

You probably want at least some of it to happen before/called from within the while loop.

#

Because event loop pattern.

grizzled ore
#

so thats mean like this ?

somber heath
#

Your functions and classes should almost definitely be the first things in your module below the imports.

grizzled ore
#

class Player(pygame.sprite.Sprite):
def init(self):
pygame.sprite.Sprite.init(self)
self.image = pygame.Surface((50, 40))
self.image.fill(Green)
self.rect = self.image.get_rect()
self.rect.x = 200
self.rect.y = 200

#

running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
screen.fill((255, 255, 255))
pygame.display.flip()
running = True

#

like that ?

somber heath
#

I'm not saying that's all you'll need to do, it's probably not.

rapid chasm
#

Why don't programmers like nature?

#

It has too many bugs

grizzled ore
#

ye

grizzled ore
boreal eagle
#

@somber heath could you repeat 😄 ?

#

yeah 🙂 more practice 🙂

#

Inneded 😉

#

They want everything fast 😄 without hard work 😄

#

I don't want to share hate 😄

#

wait I need to check how many message I need to veryfy voice 😄

#

I would like to say, everybody was in the begining 😉

#

everybody need help

#

not yet 🙂

#

two messages 🙂 more

#

one 😄

spare galleon
#

@marsh ginkgo hello

marsh ginkgo
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

spare galleon
chilly helm
#

how could i write a line of code in chat similar to you put it and it work in discord? @somber heath

somber heath
chilly helm
#

!e ```py def main():
x = int(input("What's x? "))
print("x squared is", square(x))

def square(n):
return pow(n, 2)

main()

wise cargoBOT
chilly helm
#

no output?/

somber heath
#

Closing ```

chilly helm
#

i see

#

simple mistakes here

#

am i not suppose to put py?

wise cargoBOT
#

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

:warning: Note: input is not supported by the bot :warning:

001 | What's x? Traceback (most recent call last):
002 |   File "/home/main.py", line 9, in <module>
003 |     main()
004 |   File "/home/main.py", line 2, in main
005 |     x = int(input("What's x? "))
006 |             ^^^^^^^^^^^^^^^^^^^
007 | EOFError: EOF when reading a line
somber heath
#

Exclamationmark e space backtick backtick backtick p y newline code backtick backtick backtick

chilly helm
#

what is an EOF error?

somber heath
#

The Python Discord bot that runs the code doesn't like the use of the input function.

chilly helm
#

hhhmm

somber heath
#

As to the specifics of the EOF error, I can't speak well on that.

chilly helm
#

got ya. just learning more and more. THANKS

rugged root
# chilly helm got ya. just learning more and more. THANKS

EOF in this case stands for End Of File. In the case of our eval command (if memory serves), when it hits the input, it doesn't know how to handle it so it freaks out and doesn't finish reading the script, so it assumes that the file ends too quickly or not properly

#

.... only just now realized that was from last night, sorry

#

!stream 645603124836433930

wise cargoBOT
#

✅ @waxen barn can now stream until <t:1717508645:f>.

tall kindle
#

hello

#

how's every-won?

somber heath
#

@modern estuary 👋

modern estuary
#

hi~!

somber heath
#

@hushed wing 👋

hushed wing
#

@somber heath hi mate

#

@somber heath part 4

#

gow part 4

hushed wing
#

hey guys
im trying to activate my voice chat
also idk whats quick way to do

somber heath
#

Here or elsewhere.

hushed wing
#

Do i need to complete the side quest - 50 messages to talk?

spare galleon
#

but a spam prevention

hushed wing
#

yeaa okk

somber heath
hushed wing
#

haha

#

I been coding since yesatday

#

non stop

faint hare
#

🤯

#

Is opal rn

hushed wing
#

yeaa
took some nap in between
haha

somber heath
#

@twin thicket 👋

twin thicket
#

hello

#

sup

#

im new here so not verified

faint hare
#

@twin thicket where are you from tho

#

If u don't mind telling

twin thicket
#

near ur pfp lol

#

yes

#

u dont sound indian

#

lmaoooo,

hushed wing
#

haha

#

hey @faint hare

stark river
#

is that .. rekha?

twin thicket
hushed wing
#

alright

twin thicket
#

rekha? yea def indian

#

yeaa

#

im your "enemy"

#

yessss

#

the first one

#

yes

#

thats why i quoted it

#

lmaoo

#

im interested in girls

#

ohh yea no oython

#

pyhton

hushed wing
#

mate wrong server

twin thicket
#

you asked a broad question

hushed wing
#

haha

stark river
#
  • rekha - for the boomers
  • madhuri - for the gen x
  • bebo - for the millenials
  • ananya - for the gen z
    (only applicable to northies)
twin thicket
#

well its been like a year since ive typed on keyboard

stark river
#

why would a gen z know rekha

hushed wing
twin thicket
#

my pc = dead

hushed wing
#

im from south

twin thicket
#

im from mars

stark river
hushed wing
#

haha

twin thicket
#

uk

#

yoo

#

bad guesser

#

bro im waiting on this guy

#

he said hed be here around 7pm my time

hushed wing
#

gota go guys..
need to attend some classes

#

Byeeeeee

twin thicket
#

byeee

#

inghes prolly sleept

#

bruhhh

#

hes

hushed wing
#

u too @faint hare

somber heath
#

@frosty ginkgo 👋

twin thicket
#

whats good carter

#

carterpcs

#

how much yall know coding?

#

hes married..

#

idk the girl tho

stark river
#

i dont know the story behind them..

twin thicket
#

nope

stark river
#

or atleast i didnt care enough to remember

#

i'm millenial

twin thicket
#

wait is @stark river from india or near?

stark river
#

guess

twin thicket
#

how tf do i guess? gimme smth

stark river
#

abay o

twin thicket
#

bruh pakistan

#

karachi

stark river
#

twin thicket
#

whats gooood

#

lmaoooo

stark river
#

u pindi boy?

twin thicket
#

nope

#

karachi

#

native canadian?

#

thye left lolll

#

hor suna @stark river

stark river
#

english only server.. rules

twin thicket
#

shii i forgor

#

dementia is bad

stark river
#

and why hor? u punjabi ?

twin thicket
#

btw how much of curses are alowed

#

bruh im pathan

#

add friend

twin thicket
stark river
#

sanga tashe

twin thicket
#

idk

twin thicket
stark river
#

sanga .... tashay ...

#

khair dai

#

etc

twin thicket
#

tashay??? tf is that

twin thicket
stark river
#

u really pashtoon?

twin thicket
#

yea i am, im going to swat after eid

#

i js dont understand tashy

#

we SAY "sanga ye"

#

are u pathan too?

stark river
#

Ok. Tashay i learned from balochistan pashtoon friends

twin thicket
#

bruhhhhh

#

baloochi pashto is v v diff

stark river
#

No i just know a liitle bit of a lot of langs

twin thicket
#

pashto is the language wit th most accents yk?

twin thicket
wind raptor
#

!stream 1095733970425098401

wise cargoBOT
#

✅ @whole bear can now stream until <t:1717512310:f>.

twin thicket
#

you have to have permission everytime u stream? @wind raptor

wind raptor
#

Yeah

twin thicket
#

damn

wind raptor
#

Until we trust you

twin thicket
#

oh okay

#

@stark river dm?

stark river
#

Ok but i will have to go out soon

twin thicket
#

alr

somber heath
#

@whole bear @fickle valve 👋

stark river
#

@twin thicket !res

#

!res

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

twin thicket
stark river
#

These are resources to learn py

twin thicket
#

oka

stark river
#

You can also learn from online sources eg videos or coursera

#

I find learning from books best

#

But i learned python from a coursera course Python3 Programming

twin thicket
#

tbh i can learn from anything but idk where n how to kickstart

stark river
#

After that all programming i learned was from books and docs

stark river
#

!res

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

twin thicket
#

should i enroll"

stark river
#

Can give a good start

twin thicket
#

thanks?

#

thanks

#

its been hard typing keyboard

somber heath
#

@gloomy dome 👋

wise loom
peak depot
upper basin
#

What's that Dev?

#

Ohh good

#

500 ping so can't talk

#

how you doing sir?

wind raptor
#

!stream 381154715293188106

wise cargoBOT
#

✅ @dry jasper can now stream until <t:1717515407:f>.

oblique ridge
upper basin
#

Oh ma gauud

#

Like wha so siriiaas?

#

Like you were born without ah..ok gotcha, cool cool cool cool...

#

Preach.

#

Can't have a bad day when you call every day shite.

#

"In the ghetto, in the ghettoooo...A.C.E's all lonely in the ghetto, in the ghettooo..."

#

Pydad, can I get vc1 to be India please?

#

Thank yooouu

vocal basin
#

Oracle, surprisingly, are kind of generous with their free cloud tier, as far as I've heard

rugged root
#

Yeah but like.... Oracle

vocal basin
#

is it still ran by lawnmover larry ellison?

#

seems like only CTO now

#

so basically he said cloud will never be

#

a long time ago, when AWS still pretended it's not profitable

#

termux
tor
never turn off your phone

#

just works™️

#

how much does free tier aws lambda allow

#

it's not 12-months-only

#

so this, I'm guessing, is free because you can't migrate out of it easily

#

(same reason, proprietary APIs/hard to migrate off of?)

#

@wind raptor self-hostable

#

that's useful

#

and ci/cd

chilly helm
vocal basin
#

for startups it's faster to just set up Gitea/Forgejo

#

those also have near-zero CI/CD setup now too

#

at least Forgejo does

#

Gitea on release had it quite hard to get working

#

(Forgejo is non-profit fork of Gitea)

vocal basin
#

I went to a forest, Mindful can confirm

wind raptor
vocal basin
#

"we want to kill cloudflare" offering

#

this because nothing else works without it

#

this is actually same number that GitLab has

#

5 users per org

#

look at this generous number

vocal basin
#

ominous name

#

talked of, not announced

stuck furnace
#

Your what sorry?

deep forge
#
Git Large File Storage

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

vocal basin
#

separate storage for large files

#

also something something locking support

#

no idea what that means

rugged root
#

Locking support?

vocal basin
#

pre-Git way of VCS

oblique ridge
silk dust
#

@rugged root

#

is there any workaround

#
Git Large File Storage

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

vocal basin
#

shouldn't this be a package/release attachment?

#

I don't recognise the extension so idk

upper basin
#

cuda-quantum

vocal basin
#

GitHub has limits on LFS too

#

for total size

silk dust
vocal basin
#

where are you generating it from?

silk dust
#

ipynb

#

machine learning task

vocal basin
#

you created the file from some smaller amount of data, right?

#

or is it something like a trained model

silk dust
vocal basin
#

it's single-file issue not project issue

silk dust
#

yup

vocal basin
#

simple and direct route: use LFS
clever route: reduce the size
practical route: don't store big files in Git, store the code to generate them

#

install LFS, track the extension, re-add the file if necessary

silk dust
#

yes, thats what i am doing

vocal basin
#

did it work?

silk dust
#

i accidently commited the file without lfs so now i have to revert the commit

vocal basin
#

ah, so it's in history

silk dust
#

and commit again using lfs

vocal basin
#

(revert as in reset, I'm assuming)

#

what some tools call "revert" means creating another commit on top of that

#

rebase, rebase, rebase, lose data

oblique ridge
vocal basin
#

or self-host a git server and misuse it however you like

#

GitLab on rpi to make sure it's always out of memory and compute power

#

thanks, Linux, for "out of memory problems" instead of "out of memory errors"

#

really enjoying that halt instead of crash

#

halt in common understanding not in OS understanding

#

irresponsive system

#

if apps don't actively cooperate on freeing up memory, dealing with OOM is quite painful on Linux

#

it's by choice

#

as far as I know

#

you can deal with it in userspace just by watching how much memory processes consume and kill them before it gets too bad;
it's not that hard

#

but the default behaviour is to not do that because that'd be highly unstable and a terrible experience if you don't specify what processes are okay to drop

#

most of non-tiny processes I have are inside docker anyway

#

so I can kill the entire container and let it restart

#

VSCode

#

VSCode consumes a lot

#

for dev containers especially

#

my laptop has 6x (-ish) faster CPU than the server that I run VSC on

#

one of good things about running backend and fronted on different machines is that UI itself never lags from compiler/lsp resource usage

graceful minnow
#

i love python

wge0wkrgkw0rg("sus",uwrg0we9k0rhr0wh("Python Is A Programming Language"))
tr3g04gkrjgej(4)
paegwrh5eth(lrgkwk9rgwoko("TEST TEST TEST"))
paegwrh5eth(rgrjg39rtg3g3("sus"))
stark oxide
#

this is sus

primal shadow
#

You can make horrible function names in most languages

spare galleon
hushed wing
#

hi guys

whole bear
#

anyone here?

obsidian dragon
#

maybe

twin thicket
#

Whats good Gs

#

Bro my friend tried to eat a whole chicken thingy

#

Like the one with flavor

somber heath
#

Hello, dears.

#

@shrewd island👋

obsidian dragon
#

llama3 400b soon?

somber heath
#

Heya hi.

#

Oh, a little bit of a day.

#

I went out.

#

Should you what, sorry?

#

Yes, just weary.

#

An item was lost, not by me. A search was implemented. I was involved.

#

The item was located, to much jubilation.

#

I pet a dog.

stark river
#

binary or linear?

somber heath
#

The dog doubtless is possessed of both qualities.

stark river
#

binary search or linear search ......

somber heath
#

"The thing says it's here. Let's look amongst all this shit to see if it can be found."

#

A human search.

stark river
#

linear search

somber heath
#

With stochastic elements.

#

Give me a bit.

rugged root
#

I am very sweaty

rugged root
urban abyss
#

i'm cursed

#

opal's voice so satifsying

dire jolt
#

Hey guys I'm stuck on something can anyone help?

urban abyss
#

maybe, what's up?

dire jolt
#

Im doing a small project where you enter a patient's info and it's able to spit out a full documentaion of what you typed in

#

all I have is this so far but Im stuck on how I can continue

urban abyss
#

as in an input form that creates a text/word doc?

tough halo
#

a

dire jolt
#

Im like 20 mins into coding so im just freestyling this

#

I dont want a full answer just any tips if you can

#

To see if I can figure it out

urban abyss
#

you'll have better luck doing a bit more learning and playing about if you've just started to get a better idea of what you want. otherwise we'll probably just guess at ideas 🙂

rugged root
#

!reources @silent plinth So we have a bunch of resources linked on our site. I typically recommend "A Byte of Python", which is free on its respective site. There's also a couple YouTube channels linked in there if you prefer vids, and I think there's a course linked as well. If you end up getting stuck or have questions, we've got our help system (see the #❓|how-to-get-help channel for more details on that). You can also ask for help in here if folks are around (I love helping out folks new to the language), but you're more likely to get consistent help with the help system

#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

vocal basin
#

> reources
looks french

#

@rugged root @somber heath

npm isnt
npm innit
#

these are valid commands

#

npm hlep

#

this is what happens when you try to account for typos the wrong javascript way

#

or:

npm run-script
aliases: run, rum, urn
rugged root
#

I totally forgot that

#

That's bonkers

vocal basin
#

npm rum ducky_pirate

silent plinth
#

im more at home programming java... but now I need to code a bit in phyton :/ if I have multiple classes (java) so multiple .py files, how can I connect them together? so start a method in class b while the main code runs in main?

vocal basin
#

you don't need to have file per class in python

#

!d import

wise cargoBOT
#

7.11. The import statement


import_stmt     ::=  "import" module ["as" identifier] ("," module ["as" identifier])*
                     | "from" relative_module "import" identifier ["as" identifier]
                     ("," identifier ["as" identifier])*
                     | "from" relative_module "import" "(" identifier ["as" identifier]
                     ("," identifier ["as" identifier])* [","] ")"
                     | "from" relative_module "import" "*"
module          ::=  (identifier ".")* identifier
relative_module ::=  "."* module | "."+
```...
vocal basin
#

bruh

vocal basin
willow light
#

Yeah but then you also need separate files for interfaces, factories, factoryfactories, implementations, factoryimplementations.....oh wait this is python.

vocal basin
#

class namespace is a thing in python

#

as in inside class definition

#

@willow light
makefile to call cmake to make more makefiles

willow light
vocal basin
#

@deep forge most of the time it's docker anyways

#

once cloud providers realised it's cheaper than vms

silent plinth
#

okay... I think I take a look at fiver and find some one who knows phyton and I stay with java xD

vocal basin
#

"the concept of question has already been claimed as exclusive to stackoverflow, closed as duplicate"

silk dust
#

sign up and start deploying applications directly from your github repo

dire jolt
#

fixed it

#

wasnt that hard at all

#

but I was orginally trying to do it a different way

#

But that works i guess

urban abyss
# dire jolt

Nice! For an extra feature, try playing around with outputting that info to a file 😄

dire jolt
#

Yeah thats how I wanted to do it, but I wasn't sure how to

#

Can you link a video that can help with that?

#

if u dont mind

urban abyss
urban abyss
vocal basin
wise cargoBOT
#

README lines 6 to 13

- random three-letter combination that is pronounceable, and not
  actually used by any common UNIX command.  The fact that it is a
  mispronounciation of "get" may or may not be relevant.
- stupid. contemptible and despicable. simple. Take your pick from the
  dictionary of slang.
- "global information tracker": you're in a good mood, and it actually
  works for you. Angels sing, and a light suddenly fills the room. 
- "goddamn idiotic truckload of sh*t": when it breaks```
urban abyss
#

"git" can mean anything, depending on your mood.

  • random three-letter combination that is pronounceable, and not
    actually used by any common UNIX command. The fact that it is a
    This comment was marked as off-topic.
    Sign in to view
    This comment was marked as off-topic.
    Sign in to view
    mispronounciation of "get" may or may not be relevant.
  • stupid. contemptible and despicable. simple. Take your pick from the
    dictionary of slang.
  • "global information tracker": you're in a good mood, and it actually
    works for you. Angels sing, and a light suddenly fills the room.
  • "goddamn idiotic truckload of sh*t": when it breaks

This is a stupid (but extremely fast) directory content manager. It
doesn't do a whole lot, but what it does do is track directory
contents efficiently.

vocal basin
#

wait I just realised

#

commenting on each line was just a conspiracy to train GPT all along

rugged root
#

The long game

vocal basin
#

I was scrolling and my brain mashed "This comment was marked as off-topic." and "This comment was marked as outdated." into "This comment was marked as offended."

willow light
#

This repo was marked as off-topic

vocal basin
#

confluence :skull:

#

mkdocs, mdbook

vocal basin
#

for npm/others I'm somewhat interested in different implementations on the server-side

urban abyss
#

Judith Love Cohen (August 16, 1933 – July 25, 2016) was an American aerospace engineer. She was an electrical engineer on the Minuteman missile, the science ground station for the Hubble Space Telescope, the Tracking and Data Relay Satellite, and the Apollo Space Program. In particular, her work on the Abort-Guidance System is credited with help...

willow light
willow light
#

given how many of my projects have dependencies in codeberg...yeah

vocal basin
#

I recently started self-hosting Forgejo

#

gradually migrating from Gitea

#

my Gitea is still at 1.21, so might just move everything over

#

(I won't)

willow light
#

still working on my selfhosted omnivore instance, still not working well enough to justify fully switching over

vocal basin
#

this?

willow light
#

yup

#

Used to use Readwise Reader, but I like free.

#

The fact that I can subscribe to newsletters and rss feeds in that app is nice.

vocal basin
#

I needed a thing for writing, and so far I decided to use Outline

willow light
#

For writing I use obsidian for now, but I do want to figure out a way to deal with my dysgraphia enought that I can write by hand.

#

I do like the look of Zettlr, entirely because of the Zotero integration.

urban abyss
#

not a fan of notion, obsidian is great tho

#

especially for disorganized learning. tagging terms together and mapping them with links is useful

vocal basin
#

Outline has wysiwyg Markdown editor which works adequately

#

it feels like Markdown not like Word

silk dust
rugged root
#
silk dust
#

Javascript

#

Python

willow light
vocal basin
#

acronym collision

silk dust
#

Awips

willow light
silk dust
#

Create image of user using arch linux

willow light
rugged root
silk dust
#

Average ubuntu user

willow light
upper basin
#

Greetings there

urban abyss
#

gotta bounce see y'all later

upper basin
#

It's supposed to be the USPTO patent database.

willow light
#

I've been accused of stalking before because I happened to be going to the same event a few times. Like, we're both in marching band, of course we're going to go to the same drum corps events.

upper basin
#

I'm trying to do a patent search.

willow light
#

vvvvvvvvvvvvvvvvvvvvvvvvvvv

#

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

#

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

deep forge
rugged root
#

@burnt viper Sup

willow light
#

this is my typing layout, so I'll see if I can find a place for push-to-talk to live

burnt viper
#

Does anyone here use Arch Linux?

rugged root
#

I use Manjaro from time to time

#

Which is based on Arch

#

But I haven't tried Arch proper

novel tangle
burnt viper
#

I remember seeing someone here using Arch Linux they demonstrated some sort of software to use just a file to keep a snapshot of all the packages that they have installed in their setup.

silk dust
burnt viper
#

It wen't over my head that timee. I would like setup my setup like his but coudnt find that guy

#

If you guys know how to use a single file to keep snapshot of all the packages you have setup in your Arch linux setup. Do let me know

willow light
#

wc -l

#
# wc
# Count lines, words, and bytes.
# More information: <https://www.gnu.org/software/coreutils/wc>.

# Count all lines in a file:
wc --lines path/to/file

# Count all words in a file:
wc --words path/to/file

# Count all bytes in a file:
wc --bytes path/to/file

# Count all characters in a file (taking multi-byte characters into account):
wc --chars path/to/file

# Count all lines, words and bytes from `stdin`:
find . | wc

# Count the length of the longest line in number of characters:
wc --max-line-length path/to/file
rugged root
#

find /c /v ""

willow light
novel tangle
#

thats snipping tool

willow light
novel tangle
#

its a default tool

#

of windows