#voice-chat-text-0

1 messages ยท Page 63 of 1

whole bear
#

You're poisonous anyways

#

(for pun purposes only)

rugged root
#

They actually had to change one of the ramen flavors to not be Oriental

whole bear
#

Cinnamon as well

#

Just a pinch

rugged root
#

I don't know

#

I don't think they are

#

Ginger is a root plant, yeah

#

HA

whole bear
#

Well, I'll be going now

#

See you folks

rugged root
#

See you Bella

whole bear
#

I think this is the longest I've stayed

#

xD

lavish rover
#

Hello

rugged root
#

HA

#

Damn near

#

Yo Mustafa

#

@somber heath I'm going to eat raw ginger one day

#

And I will feel nothing

whole bear
lavish rover
rugged root
#

I fucking LOVE ginger

#

And gingers

whole bear
#

Yessss

sweet lodge
stray niche
rugged root
#

Good for cough, good for upset stomachs as well

whole bear
#

Have you tired ginger beer ?

#

Good for mood xD

lavish rover
rugged root
whole bear
#

One of my favorites !

rugged root
#

Oh fun fact, red heads typically have worse oral hygiene issues.

#

Usually in the form of gingervitus

#

Fell right into it

#

Word for word

lavish rover
rugged root
#

Oh god there was one ginger ale I had... It was unfiltered. And it still had the slight dry burn to it, but it was so creamy

#

It was amazing

#

And I cannot find it any more

rugged root
#

I have a goal to find the driest ginger ale I can find

#

Like essentially like drinking sand

#

Oh candied ginger is dope

#

And again, good for the stomach

#

That's what she said

sharp urchin
#

hello

rugged root
#

Geeze, that's what she said to most of what you just said, Opal

sharp urchin
#

to all

rugged root
#

Yo

#

It's weird, I don't like ginger snaps

#

I think it's more the spices

#

Yeah like ginger bread men

#

Can't drive one handed?

#

The blessings of automatic

#

Steering assist isn't turning assist

#

Yep

#

It's got a knob on

#

Oh yeah

#

It's so you can be turned around looking back and still turning it into position

#

With more accuracy than you might be able to get with no knob and one hand

#

Eh

#

Nothing worth relaying

#

Well

#

And it's got a knob on

#

Eh

#

Pretty par for the course

#

The way you said "oh yeah"

#

Just killed me

#

I love you opal

sharp urchin
#

m so lucky

#

that i just joined

#

and heard opal say "OH yeah"

rugged root
#

I wish I could say that was intentional

sweet lodge
#

I miss voicelock

rugged root
#

So do I

sharp urchin
#

who knows?

rugged root
#

Vanlock

sharp urchin
#

maybe he did it with intention

rugged root
#

Relay it to the viking

sharp urchin
#

i mean..............

somber heath
sweet lodge
somber heath
rugged root
#

Baron von Vanlock

sweet lodge
#

... does that need an apostrophe?

#

Now I'm questioning English again

rugged root
#

It's not English, though

sweet lodge
#

It's shady in that trenchcoat

rugged root
#

It'd be Germanic, ye?

rugged root
#

Sorry, brb

sweet lodge
#

Eh, who needs logos

somber heath
#

Given that it's in a production build, I mean...really?

#

At least it's better than the other 13 build I could have got stuck with, which others did, which didn't have the right wifi module drivers.

rugged root
#

I return

#

Oh neat

#

Got someone in the office asking me about monitors

#

I don't know shit

#

Like, they're getting it for their office.

#

Just get whatever

#

And if insurance is paying for it, go nuts

#

@willow lynx What'd you have?

#

Oh sure sure

#

Fair enough

#

Can't go wrong with rice

#

Opal

#

Damn

#

That's not bad

#

Nah

#

Rice is everywhere

#

Rice is love, rice is life

#

Rice is heavily used in Mexican cuisine for example

sharp urchin
#

hmm

sweet lodge
rugged root
#

@ashen wave Yo

sharp urchin
#

STICKY rice

#

:}

sweet lodge
#

Rice everywhere

#

Had soup yesterday

#

Was given a side of rice

rugged root
#

It is

sharp urchin
#

it is

#

better

rugged root
#

@willow lynx It's shipped dry, so it's easy to have everywhere

sharp urchin
#

like the alphonso of rice

#

variety

rugged root
#

๐ŸŽถ Rice rice baby ๐ŸŽถ

#

Oh good, there's the stupid brain comment I was waiting for

#

๐ŸŽถ Lice lice rabies ๐ŸŽถ

sharp urchin
#

bruh

rugged root
#

I always associated caviar with like fancy dining

sharp urchin
#

yall ever eat meat or nah?

rugged root
#

Yep, I am a lover of meat

#

As a food as well

sharp urchin
#

why so specifically talking abt leaves

#

:{{

rugged root
#

Because both are good

sharp urchin
#

i eat chicken 4 times a week

#

at least

sharp urchin
#

though

sharp urchin
#

!!!!!!

ashen wave
#
def main() -> int:
    for i in range(1,2000):
        print(i)
    return i

while True:
    main()

Is there no recursion?
because i dont really understand how to block recursion

sharp urchin
#

i didnt see tht coming

rugged root
#

That's not recursion

#

Yep

ashen wave
#

YAY

#

I done it

rugged root
#

Loops aren't recursion and shouldn't be stated as such

ashen wave
#

i finally dont have recursion

rugged root
#

Recursion is.... tricky

#

CAN be

somber heath
#

Re-occuring vs recursion.

rugged root
#

But a loop is a loop and recursion is recursion. You can integrate the two within each other, but those individual parts are separate

#

There's something about the word "fusion" that just sounds inherently cool

#

Right right

#

Wait

#

The compiler allows it or does it as optimization

#

Nor do I, in fairness

#

Fair

#

Shit

#

I forgot what I was doing

#

My attention span is going to just screw me today, I can tell

#

Okay

#

So

#

Bear flow

#

Data bricks?

#

Neat

#

Or shitting bricks when the data gets screwed up

#

Same with my work boots

sharp urchin
#

why would you need it?

rugged root
#

That part no. But they're like.... construction boots.

sharp urchin
#

300 degrees?

rugged root
#

CAT brand

#

Wait

#

F or C

#

Makes more sense

#

Eh

#

No

sharp urchin
#

my bad

#

lmao

#

i took it as cel

rugged root
#

Yep

#

Those heavy duty ones

#

CAT, the maker of construction equipment

#

I think their full name is Caterpillar?

#

Can't remember

#

Their boots are dope

sharp urchin
#

a serious doubt

#

yall require these? for real?

#

does the normal shoes not work ??

rugged root
#

The last pair of steel toes I got were rubbing into my toes

#

The CAT ones are hella comfortable

#

@warm jackal I think he's on Cameo

somber heath
#

@sour tartan ๐Ÿ‘‹

sour tartan
#

hi

rugged root
#

Good thing they aren't Achilles brand

#

In the same way that I really really want there to be a Flying Dutchman airlines

#

Ignoring the fact that the ship sank

#

"No no, it's fine, this is a plane"

#

I use Excel a lot at work

#

Doesn't help

#

Lucky still made me rotate his plate

#

It's just a cat thing

#

Huh

#

Would have been his own fault

#

She's gone

sharp urchin
#

she left @warm jackal

rugged root
#

I kind of wish that HTML tag attributes were separated by commas

#

"This is unacceptable. HUMAN! Fix this, chop chop!"

#

But handsome

#

So it evens out

#

no u

#

I wasn't but I am now

#

I don't know actually

#

Also, the various ways you can dictate sizes in HTML

#

Just weird

#

All with the power of temperature

somber heath
#

@vast jackal ๐Ÿ‘‹

vast jackal
#

hey

sour tartan
#

@vast jackal ๐Ÿ‘‹๐Ÿป

rugged root
#

Yeah

#

Both dogs and cats do that, no idea why

vast jackal
#

yea.....

rugged root
#

"VALIDATING FOOD"

sharp urchin
#

yall have your pets operated?

rugged root
#

"NOM NOMS CONFIRMED"

sharp urchin
#

or nah?

rugged root
#

Operated?

sharp urchin
#

yes

#

neutered

rugged root
#

Yep, Lucky is nutless

#

Yes

sharp urchin
#

lmao

#

deez talks be goin elsewhere tdy

rugged root
#

Wait, why would that be an oxymoron

#

It's pretty straight forward

sharp urchin
#

specially hemlock and opal

rugged root
#

HA

#

Just his name

#

But given his name is that, comes up a lot

sharp urchin
#

"oh yeah","I love meat other than food","nutless"

somber heath
#

@rose ingot ๐Ÿ‘‹

sharp urchin
rose ingot
#

why cant i speek

#

where do i have to to the commanmd

vast jackal
somber heath
wise cargoBOT
#

Voice verification

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

rose ingot
#

oka

#

okay

vast jackal
#

oh my i am listening......

rugged root
#

All good

rose ingot
#

so do you guys can help me

rugged root
#

There's plenty of folks who treat VC as a podcast of sorts

vast jackal
#

if its ok can you tell us 'bout the previous "idiots"?

rugged root
#

@rose ingot What's the question?

rose ingot
#

i am total new in python and want to make a if statemant, but it dont work

rugged root
#

I called them "Hit and run trolls" or as Opal said, "Assholes"

vast jackal
#

oo thenks for that...........

rose ingot
#

@rugged root

vast jackal
#

yea actually screaming like that is equal to cyber bully.....

sharp urchin
#

opal you remember a guy coming in and playing some song

#

and goin away

rugged root
#

You need to store the user's response in a variable

sharp urchin
#

:}assholes again

rose ingot
rugged root
#

Crap, back later

vast jackal
#

no no my friend......if the rule is for betterment of others it is not inconvienint....

sharp urchin
#

yeh

somber heath
rugged root
#

(okay ACTUALLY brb this time)

rose ingot
#

@warm jackal like this?

sharp urchin
#
var = input("which one you want?")

if var == "1":
    def say_hi():
        print("hi")
    say_hi()
else:
    def say_hd():
        print("Hd")
    say_hd()   ```
#

@rose ingot

#

acc to ur code

vast jackal
#

can we use if-elif-else over here?

sharp urchin
#

i avoid making a function

#

yeh me too

#

at the top

#

yes

#

i refrain from using def though:}

#

it is

#

but i try to manage without it

vast jackal
#

and makes programs faster*

sharp urchin
#

hmm agree

#

readible

#

is what you mean as well

rose ingot
#

okay

#

thank you

sharp urchin
#

๐Ÿ˜ญ .

#

switch case?

vast jackal
#

btw i have a career doubt where shud i ask?

#

like here or anyother channel?

somber heath
vast jackal
#

noted. Thanq

rose ingot
#

wow, very nice so know my program works

#

yes but i dont relly know

sharp urchin
#

hello

rose ingot
#

ahh okay

vast jackal
#

bye.....gotta go...thanq for the advices and helps

rose ingot
#

now i understandt

#

and where do i have to put the def

sharp urchin
#

also

rose ingot
#

my enghlish is not so good sry

sharp urchin
#

try using else , elif

#

rather than

somber heath
#

imports, defs, classes rest of code.

sharp urchin
#

using if again n again

#

class def

#

@dusk raven how many languages do you know fr.

#

like to code a mediocre program

#

an average common sense would be able to comprehend it

#

ty delta

#

yeh cuz i do sumtimes face problems in C

rose ingot
#

@sharp urchin how can i make that the prgram clos

#

@somber heath can you speek german ?

#

opal how can i make a exit

somber heath
dusk raven
#

@granite trail could u give me stream permissions?

rose ingot
#

thank you opal

#

so know i make this , i delete else and set if instead

sharp urchin
#

elif is always an option

#

fyi

rose ingot
#

the nitro sniper is not working its just a genaroirt i copyed @somber heath

rugged root
#

One sec, DELTA

rose ingot
#

wait let me destroy the sniper @somber heath

dusk raven
rose ingot
#

@somber heath here is the version

somber heath
#

@magic osprey ๐Ÿ‘‹

rugged root
#

Just put you on the probationary period, DELTA

#

You have the perms now

#

The 3 week thingy

magic osprey
rugged root
#

Finally have a second to breathe

#

Been running around most of the morning

somber heath
#

A whole second? Lucky!

rugged root
#

It's not enough Mississippis

#

They're not... THAT bad

#

They're no Missouri

#

-cries in Missourian-

sharp urchin
#

aight imma head out now

rugged root
#

Later cruiser

sharp urchin
#

bye yall:}

rugged root
#

@molten pewter How are you on this #blessed day

#

Take a nap

#

Heard it from a wise man once

#

Well

#

More than once

#

Brocrastination

#

Eh

#

I don't think there's anything worth salvaging from my brain

#

It's one of my many charms

#

True

#

The plethora of dad jokes

#

HA

somber heath
#

School pageant. Kids dress up as states. One child dresses up as a web address. The father when confronted claims his daughter told him she had to dress up as Ms URI.

rugged root
#

I feel called out, Fury

#

I mean accurately so

rugged root
#

Group By function

#

!d itertools.groupby

wise cargoBOT
#

itertools.groupby(iterable, key=None)```
Make an iterator that returns consecutive keys and groups from the *iterable*. The *key* is a function computing a key value for each element. If not specified or is `None`, *key* defaults to an identity function and returns the element unchanged. Generally, the iterable needs to already be sorted on the same key function.

The operation of [`groupby()`](https://docs.python.org/3/library/itertools.html#itertools.groupby "itertools.groupby") is similar to the `uniq` filter in Unix. It generates a break or new group every time the value of the key function changes (which is why it is usually necessary to have sorted the data using the same key function). That behavior differs from SQLโ€™s GROUP BY which aggregates common elements regardless of their input order.
rugged root
#

Hey AF

vocal basin
rugged root
#

Yeeeeeep

#

itertools is awesome

vocal basin
rugged root
#

@midnight agate Yo

rugged root
#

@undone idol yo

#

@midnight agate I detect a hint of sarcasm

vocal basin
undone idol
rugged root
#

So, we were primarily talking about job interviews and the hiring process

#

You and me have enough of a rapport that such formality is not required

undone idol
#

why would anyone make a project folder in downloads dir ๐Ÿฅด

vocal basin
#

rapport
Richard?

vocal basin
sweet lodge
#

@rugged root Robin's ignoring me again

#

letsbuilda/imsosorry#12

viscid lagoonBOT
vocal basin
rugged root
sweet lodge
#

.wa s define rapport

viscid lagoonBOT
#

a relationship of mutual understanding or trust and agreement between people

rugged root
#

Close enough

#

I think it's French in origin?

#

Because the t is silient

#

@verbal zenith Sup

rugged root
#

Type it out

verbal zenith
rugged root
#

Since they're talking about something already @verbal zenith

#

Oh sorry, didn't mean to double ping

verbal zenith
#

You're fine

sweet lodge
#

I did

sweet lodge
rugged root
#

@uncut meteor Sup

vocal basin
#

meanwhile French:

rugged root
sweet lodge
#

I am formally requesting assist-ance

rugged root
#

I can when I get home later

#

Can't right now

sweet lodge
#

Try to be all frenchy french moon language, and it's literally the same word

rugged root
#

So good

verbal zenith
#

I'm typing it out so just give me one moment

rugged root
#

No rush

vocal basin
rugged root
#

@zenith radish Sup

sweet lodge
#

Oh hi LP

rugged root
#

@uncut meteor I would instantly fail

#

Initiation

zenith radish
#

Mostly finished my F# thing

rugged root
#

Neat

zenith radish
#

Now just making a gRPC/REST server to talk to

sweet lodge
#

@zenith radish we have tildes now
letsbuilda/imsosorry#9

rugged root
#

So did you like F#, hate it, kind of eh about it

viscid lagoonBOT
zenith radish
#

And then I'll need to make a discord bot

rugged root
#

@uncut meteor One of my favorite subs

verbal zenith
#

If you wanted to help, I have a string of text with new lines, I have an index to it as well called cursor, I need to from that cursor value discern the line and column of the character at my cursor or "index"

testte\n
       ^ end of line 1
tes&test\n
   ^ line 2, column 4, index 10
testtest\EOF

My attempt was to count each new line operator up to cursor as
str[:cursor].count("\n")+1
Then use this value somehow to get the column, but for whatever reason I'm very confused...

zenith radish
#

I want git commit history review

verbal zenith
#

There's a better way of doing this, but that requires I refactor my code, which I guess I'm fine doing, but this is only for errors, and I'd hate to refactor just for one specific thing like that

molten pewter
rugged root
zenith radish
#

I don't like it

#

It's not a functional language

#

It's a language of lies

sweet lodge
rugged root
#

It supports functional paradigms

zenith radish
#

Not in practice

rugged root
#

How so?

zenith radish
#

In practice you will be using it with preexisting dotnet libraries which are all so OOP it hurts

#

You gain basically nothing by using it over C#

#

Including code brevity

rugged root
zenith radish
#

Common tasks like mapping over a list are done in a stupid way

#

Pipeline Oriented Programming is also just a dumb idea imo

rugged root
#

Fair

#

Do you have a particular functional style language you prefer?

zenith radish
#

The exception management is lifted from C# with no additional operations to make it proper to use

rugged root
#

Which derivative

sweet lodge
#

The other one

verbal zenith
zenith radish
#

Clojure Racket or Elisp

rugged root
#

If my attention wasn't so split right now and I had more time I'd tear into it, sorry

#

I tried Clojure and it just didn't click with me

vocal basin
rugged root
#

Not a terrible answer, honestly

#

It has quite a few things that let it leverage a functional paradigm

#

LP, what got you on the F# kick in the first place

rose ingot
#

can some one help me in a private call ?

vocal basin
zenith radish
#

VS C#'s deeply nested OoP

rugged root
#

Fair

rose ingot
rugged root
#

You can ask here

sweet lodge
rose ingot
#

and i cant speek in voice chat

sweet lodge
rose ingot
#

my app crash

vocal basin
#

i.e. does it show any errors?

vocal basin
rugged root
#

OCaml

vocal basin
rugged root
vocal basin
rugged root
#

Nim?

rose ingot
#

i converd to exe

#

so its not only chasing

#

plss call

rugged root
#

Nim, OCaml, PHP, Perl

vocal basin
rugged root
#

Mm, true. OCaml influenced F#

rose ingot
rugged root
#

There's quite a few out there

#

Oh yeah, sure enough

sweet lodge
rugged root
#

There is one for PHP

rugged root
#

I could swear I've seen one in Julia...

#

Found it

zenith radish
rugged root
#

Haxe

vocal basin
#

don't start it from explorer
run the EXE from cmd or powershell
you will see errors if they happen

rugged root
#

@uncut meteor I missed the question

rugged root
#

I'm curious

rose ingot
#

how can i run the exe from powershell

rugged root
#

Was that a Nitro Generator?

rose ingot
#

no

#

i just copy scrib

rugged root
#

Were you the one that Opal told we couldn't help on something

vocal basin
rose ingot
#

noooooooooooooooooooooo its not

#

i startet python yesterday, how is that possibnle for me to make one

rugged root
#

Can you paste your code here so we can see what's breaking?

#

Or in our hastebin

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.

rose ingot
#

its only crahs when i opne exe

vocal basin
rugged root
#

Would still like to see the code. Sometimes it's trying to grab a library and you have to do it a specific way

#

@uncut meteor Your mom

rose ingot
vocal basin
rose ingot
#

i do it in a exe, because i dont want to use pip etc

#

so i use exe that friend dont have to dowlaod py

sweet lodge
rugged root
#

I think it's that I haven't messed with Docker enough to really form enough of a confusion

#

How did you make the exe?

#

Like what command

sweet lodge
rugged root
#

I don't doubt that

#

I'm going to be honest Griff, I cannot remember exactly what you asked

vocal basin
wise cargoBOT
#

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

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
rugged root
#

My ADHD brain is suuuuuuuper bad right now

sweet lodge
rugged root
#

Not confused, intimidated then

#

Just the whole dev opsy stuff

#

I suppose

#

I just haven't futzed with it much

rose ingot
rugged root
#

Open up a powershell prompt and then drag and drop the exe into the window

#

Then run it

vocal basin
#

it ends and exits

sweet lodge
# rugged root My ADHD brain is suuuuuuuper bad right now

Me too
The uwu crap, my brother wanting the bot updated, me wondering if Chris will let me PR it back into SirLance...
My work computer went to sleep because I was writing the uwu release issue on my laptop
I'm very broken today

rose ingot
#

there is no crahs report

vocal basin
rugged root
#

Yeah, it's just executing too fast so the prompt pops up then closes really fast

rose ingot
rugged root
#

AF suggested adding an input() at the end of the code in order to hold the window open

rose ingot
#

wait guys

vocal basin
rose ingot
#

thank you

#

so i dont know how to make input to the end, i mean wich end NotLikeThis

rugged root
#

As the very last line of code, just put input()

vocal basin
rugged root
#

That'll make it sit and wait for Enter to be pressed and hold the window open

sweet lodge
rose ingot
#

likethis?

vocal basin
#

yes

rose ingot
#

okay i try wait

#

yaaaa it work

rugged root
#

@midnight agate We hear you

rose ingot
#

that dont work

rose ingot
#

pls

rugged root
rose ingot
rugged root
#

You don't meet the time requirement

#

Has to be 3 days

rose ingot
#

ik

vocal basin
#

I'm right now doing the actor-ish model groupby

class ActorIteratorResponseListener(ABC, Generic[T_contra]):
    @abstractmethod
    def some(self, element: T_contra, /) -> None:
        raise NotImplementedError
    @abstractmethod
    def none(self, /) -> None:
        raise NotImplementedError
class ActorIterator(ABC, Generic[T_co]):
    @abstractmethod
    def next(self, listener: ActorIteratorResponseListener[T_co], /) -> None:
        raise NotImplementedError
rose ingot
#

but i am new and need help now

vocal basin
#

async I chose myself because I earlier solved another AsyncIterable problem

rose ingot
vocal basin
rose ingot
pallid hazel
#

why use classes if you already have a db of some sort.. seems like a waste of memory to create instances of data already available to me.
I need a reference on how i would benefit..
current I iter over my data and and pack what i need into a variable called package, then add each to packages for use when processing.

sweet lodge
#

ORM models are classes

#

When you load the data out of the database, it comes into Python as class instances

thin drift
#

hey so do pygame stays in system when is python deleted or ...

rose ingot
#

how to downgrade python ?

#

i cant dowlaod string ans secrets

thin drift
sweet lodge
thin drift
#

Really

sweet lodge
#

Really

rose ingot
#

ya i know

#

sry for the question

sweet lodge
#

!eval

import secrets
print(secrets)
import string
print(string)
wise cargoBOT
#

@sweet lodge :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | <module 'secrets' from '/usr/local/lib/python3.11/secrets.py'>
002 | <module 'string' from '/usr/local/lib/python3.11/string.py'>
sweet lodge
#

No need to apologize for learning

rose ingot
#

huys

#

guys

#

why that dont work

pallid hazel
#

installed? running in a venv? possible version conflict with python

serene viper
#

!voice

wise cargoBOT
#

Voice verification

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

somber heath
#

@median lintel ๐Ÿ‘‹

median lintel
#

hello

mossy pelican
#

hi

#

i cant spek

median lintel
#

3 days

#

for speak here

mossy pelican
#

why

median lintel
#

rules

#

Have joined the community over 3 days ago

mossy pelican
#

wtf

median lintel
#

kkkkk

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

median lintel
#

all the channels bro

mossy pelican
#

User information
Created: 3 years ago
Profile: @mossy pelican
ID: 648246656982056960
Member information
Joined: a month ago
Roles: None
Activity
Messages: 4
Activity blocks: 1
Infractions
Total: 0
Active: 0

#

I've been here for a month

median lintel
#

Have over 50 messages in the server

mossy pelican
#

ู†

#

ู…ู†

median lintel
#

I'm waiting for day time

median lintel
#

bye guys

somber heath
#

@cloud edge ๐Ÿ‘‹

cloud edge
#

yes

#

Can i get python downlaod please

#

becasue python site is not opening

#

i need for windows

somber heath
#

One moment.

cloud edge
#

check this

#

can i get please?

sudden barn
#

Maybe it's like a DNS server problem...

somber heath
cloud edge
#

402 forbidden

#

@somber heath ??

#

my location??

#

india

#

asking me??

#

like for a hosting company

#

I need to learn

plain dagger
#

nono

#

like a place

#

where are you connected

#

in a public space, or on your personal home

cloud edge
#

home

#

wifi

#

jio wifi

#

idk

#

can u add it in google drive I will download from there

#

give me the link

#

so from where should I download

#

wait trying

#

๐Ÿ˜ฆ

#

wait leme use my brain

#

Leme tryyyyy

#

I have 4 rdp

plain dagger
#

what about this one

cloud edge
somber heath
plain dagger
cloud edge
#

then

plain dagger
cloud edge
#

once more please and slow

plain dagger
#

that

#

just do that

cloud edge
#

f

plain dagger
#

click on the icon

#

that i showed

#

is next to the webpage

#

link

cloud edge
plain dagger
#

the mask

#

click on the mask

cloud edge
#

got it

plain dagger
#

next to the link

cloud edge
#

then?

plain dagger
#

could you enter?

cloud edge
#

yes

#

i am from windows

#

this one?

#

??

#

??

#

this one?

plain dagger
#

nono

cloud edge
#

done

plain dagger
#

amd64

cloud edge
plain dagger
#

fyi: thats the computer architecture(amd64, arm64), since you are on windows amd64 is the one for you

cloud edge
#

finialyyyyyyyyyyyyyyyy

#

f

#

doneeee'

#

afguaafagf

#

lets gooo

cloud edge
#

have you completed python?

#

@somber heath @plain dagger ?

#

means you both learned it?

#

dude

#

I need a teacher

#

like you

#

so you have python certificate?

#

python easy or difficult?

plain dagger
#

experience is my certificate

cloud edge
#

can you teach me python?

somber heath
#

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

cloud edge
#

actually I want to prepare for hosting purpose

plain dagger
#

the python docs are actually pretty good

somber heath
#

Corey Schafer, YouTuber, playlists for Python.

cloud edge
#

check this

#

my friends host

#

I want to become ceo because I want to learn python

wise cargoBOT
#

Hey @plain dagger!

It looks like you tried to attach file type(s) that we do not allow (.zip). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.

Feel free to ask in #community-meta if you think this is a mistake.

cloud edge
#

dm me

cloud edge
#

I need to download it?

somber heath
#

library.pdf

plain dagger
cloud edge
plain dagger
#

you have to enter with the search engine

#

as before

cloud edge
#

???

#

@plain dagger

plain dagger
#

yes

cloud edge
#

which one?

#

html??

#

@plain dagger

somber heath
#

pdf

cloud edge
#

a4 side or us letter size

foggy plover
#

A4 is the best but any u want ig

cloud edge
#

.zip or .tar.bz.bz2

#

???

somber heath
#

@fallen depot ๐Ÿ‘‹

plain dagger
#

zip is better for windows

somber heath
#

@cloud edge How goes the process?

cloud edge
somber heath
#

The files? Or me?

cloud edge
plain dagger
#

brb fellows

sharp urchin
#

hello

#

@somber heath

#

brb

vocal basin
#

prolog is an example for logical programming

#

meanings of some paradigms are about imposing limitations

vocal basin
vocal basin
#

.capitalize also alters letters other than the first one

#

fun fact: .capitalize changes the length of the string sometimes

vocal basin
#

second thing I forgot exact wording

#

it does it less directly

#

are you talking about contravariance?

vocal basin
vocal basin
#

in another project, I'm building an event hierarchy and there's a lot of contravariance-related things also
for example, something, that can listen to an event, is contravariant over the type of that event

#

to be honest, I don't know about what channels would be more appropriate

#

though, yes, there are people who talk only about politics

vocal basin
#

and, if there's something that you can both send events to and receive from, is invariant

#

Pylance will shout if python is improperly typed, including variance nuances

#

unlike PyCharm, iirc

vocal basin
#

Pylance is for VS Code distributed by Microsoft

#

Pylance is based on Pyright, if I understand correctly

#

(both are by Microsoft)

ancient lily
#

@midnight agate ```py
a = input('string :')
b = list(a)
c = (b[0].upper())
b[0] = c

for i in b:
print(i,end="")

vocal basin
#

and probably, also, outside of VS Code

vocal basin
wise cargoBOT
#

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

ExamplE
vocal basin
#

but:
it doesn't print \n at the end
it takes long time to print() (especially, to a slow terminal)
moreover, it takes long time (less than print-spamming but still noticeable) to do the list-conversion
unlike str.capitalize(), it doesn't lower the rest of the characters

vocal basin
#

!e

a = "examplE"
b = list(a)
b[0] = b[0].upper()
print("".join(b))
wise cargoBOT
#

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

ExamplE
vocal basin
#

to get rid of the first and, if we need to, take care of the second, we can do the following:

#

!e

s = "examplE"
print(s[0].upper() + s[1:])
wise cargoBOT
#

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

ExamplE
vocal basin
#

check with "aba"

azure rivet
#

!e

a = "string"

b = a[0].upper()

print(a.replace(a[0], b))
wise cargoBOT
#

@azure rivet :white_check_mark: Your 3.11 eval job has completed with return code 0.

String
vocal basin
wise cargoBOT
#

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

AbA
azure rivet
#

First time using replace tbh lol

#

Why does it do that?

vocal basin
#

!e

a = "aba"
b = a[0].upper()
print(a.replace(a[0], b, 1))
wise cargoBOT
#

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

Aba
azure rivet
#

Is that how that works

vocal basin
#

I didn't notice the , /) in signature

azure rivet
#

Learn something new errday

vocal basin
#

!e

s = 'example: รŸแบž'
print(s.lower())
print(s.lower().upper())
print(s.lower().upper().lower())
print(s.upper())
print(s.upper().lower())
print(s.upper().lower().upper())
wise cargoBOT
#

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

001 | example: รŸรŸ
002 | EXAMPLE: SSSS
003 | example: ssss
004 | EXAMPLE: SSแบž
005 | example: ssรŸ
006 | EXAMPLE: SSSS
vocal basin
azure rivet
#

Huh

#

German letter?

vocal basin
#

yes

vocal basin
azure rivet
#

Spooky

vocal basin
#

my async groupby is already 250 lines long and roughly 20~30% finished

#

with 0 async/await keywords

#

I have the patterns book but didn't read it yet

#

it just exists in my possession

#

for two years

#

I only used websockets in aiohttp

#

for communications between services

#

The patterns book
"Design Patterns: Elements of Reusable Object-Oriented Software"
by
The "Gang of Four"

#

test successful

#

(can hear)

#

it shouldn't be too expensive

#

code is rarely "finished"
that's just the nature of software products
usually it's only finished when it's dead

sudden barn
wise cargoBOT
#

socnet/routes/posts_route.py line 63

if str(react.reaction) == 'like':```
vocal basin
#
match str(react.reaction):
  case 'like':
    ...
  case 'dlike':
    ...
wise cargoBOT
#

socnet/routes/posts_route.py line 118

model = repo.update_post(post_to_add)```
vocal basin
#

@midnight agate those not really type hints
those type hints are fastapi wiring

#

yes

#

(just that type hints are used only where they're required)

#

annotations

wise cargoBOT
#

socnet/routes/posts_route.py line 171

if posts:```
vocal basin
#

unless it's None

rugged root
#

You don't. That's not something I'm comfortable with implementing. Role and permission control is only ever going to be done by mod+ staff

vocal basin
#

can .all() return None?

#

I'll check

rugged root
#

No, it's only ever true or false

#

Oh wait different thing

vocal basin
rugged root
#

Going back to sleep now

median lintel
#

I have one application in flask

#

yes

#

i deploy in railway

#

I not try to write the best code

#

I try to make my project

#

but I love to improve

#

my code

vocal basin
median lintel
#

Portuguese

median lintel
#

vc pafa pt

#

ooooo

#

miseravi

#

kkkkk

#

where you from

#

?

#

kkkkk

#

Now I study modules in python

#

use more init.py

#

in my projects

vocal basin
#

singleton cringe
-- the most "expert" opinion I can give

#

first, reduces testability

#

yes, sometimes good for small project

vocal basin
#

(overused) example:

global instance of Clock

now, let's assume you need to check some time-specific code (i.e. code that does things differently depending on night/day)

so, to make a test that depends on a clock other than the global default one, you have to either replace the global variable or pass the value in as an argument

swapping the instance can interfere with something else
whereas when choose to pass the argument, why not just do it everywhere instead of referring to a global instance?

#

it's more of "singleton pattern is misused too often"

#

people go for it because of its ease but end up making a mess

#

assumption that there will always be one instance of something is just that, an assumption
it may be correct, or it may end up being wrong requiring to rewrite everything

cloud edge
#

Hi i am in windows

#

can someone helpme

#

When I am installing pandas with pip

#

error comes

vocal basin
cloud edge
#

@midnight agate help plz

#

hmm

vocal basin
# cloud edge

turn off antivirus, turn off firewall
if fails, check your ssl installation

#

I'm not against patterns

#

singleton has too much potential to be misused

cloud edge
vocal basin
#

and why it gets obsoleted

cloud edge
#

@vocal basin help

#

where??

vocal basin
#

and, turns out, people sometimes need more than one event loop

#

so that's how it got split into new and get_running

cloud edge
#

@vocal abyss good morninggggggggggg

#

@vocal abyss badd'

#

cant understand

vocal basin
#

singleton, just like every pattern, is fine when used according to its limits
it's just way easier to get it wrong compared to others

cloud edge
#

check this

#

i am installing something using pip but errorrrr

vocal basin
cloud edge
#

@vocal abyss come voice chat 1

vocal basin
#

DI is more sane than singleton

#

for most uses

#

like, you have the same guard but not as a global

#

it doesn't use

#

also, yes, the initialisation is a problem for singleton

#

if it takes parameters to init the instance, how is it done?

vocal basin
#

it's not bothersome
(this way I'm revisiting my knowledge on patterns so not bad)

#

they will be same

#

since some version

#

I had singletons in the biggest python project I was making
getting rid of them was the driving force behind the latest and most effective improvement to the structure

#

mostly it's about managing persistent database connections

#

not exactly connections

#

those are in-memory database instances

vocal basin
#

startup and shutdown is async

#

so, the existence of __aenter__ and __aexit__ is what's important there

#

yes, async with

#

I'd switch to Rust if it had async with

#

maybe it has

vocal basin
#

because 'r'

#

reading the file

#

not writing to it

#

handling the non-existence of the file, yes

#

io2db applies a stream of requests (passed as IO) to the in-memory key-value store (dictionary)

#

file may or may not be empty

#

I wrote this
don't remember which year it started (probably 2021)

#

old name

vocal basin
#

it's very easy to add this as a key-value store to an async application
right now, I use it mostly for discord bots

#

though it's limited

#

I'm attempting to make it depend on discord as little as possible

#

so, most services, that this gets separated into, won't even know discord exists

#

one bot (the most complex one) will get its dependencies reduced
(by using some smaller API)

#

another bot is 100% dependent on discord right now because it's made for a specific discord community

#

and one more is just too small to try to decouple it

vocal basin
vocal basin
# vocal basin not exactly connections

"factory" should be renamed to "manager" and "connection" should be renamed to "instance"
both suffixes may sound meaningless, but right now that's the best naming option
even though factory-instance pair may sound more familiar, it'd still be mislabelling

vocal basin
#

"improving" at chess
(50.1% -> 50.5% relative standing with 0 games played)

vocal basin
#

starting rating is 1500

#

"inflated"

vocal basin
#

currency is inflated in amount not value

#

that's why inflated

#

if I understand correctly

vocal basin
# vocal basin

fun fact: in this module, transactions and connections share a common interface which allows to do second-order transactions
not because it needs to be possible, but because it can

#

nested in some sense, yes

#

yes, rollback can be done at different levels

#

because it's an incorrect term that I just made up

vocal basin
#

like |= on dict

vocal basin
#

Futures are (in certain contexts) considered somewhat too low-level and primitive

#

why does the book have such age restriction on the site I looked up

#

C is not for kids

vocal basin
#

"copying"

#

the book seems to be around 2k RUB

#

every single one I can find is sold out

#

DoS

#

btw, beef's getting out of Russian essential food list because "almost no one can afford it"

#

that's what the reasoning was to exclude it from price regulations

#

so, it's too expensive
that's why it "should" be allowed to become even more expensive

#

"83% correct translation"

#

or less

#

I need to count

vocal basin
# vocal basin DoS

as for "attack" part:
stream of requests (questions in that case)
usually requiring more effort to respond (answer) than to request (ask)

vocal basin
#

@spring karma
you can write here so others can see also

spring karma
#

hello

#

thank u

#

i already did that

#

can i learn python with 0 backround about coding