#voice-chat-text-0

1 messages Β· Page 447 of 1

primal shadow
#

I threw mint on my junky laptop and it runs better than ever, ubuntu is also a solid choice

vocal basin
#

have you considered wasting 20 hours configuring Alpine instead

spare galleon
#

@primal shadow i see you played and beat the cookie clicker game that discord made. what you think of it?

primal shadow
#

🀷

#

I wasn't paying attention

#

was annoying when I was losing grass to the dandilions

#

especially because they're great plants

#

and lawns are generally a terrible concept

#

so you know

#

but it was cool of them to give me this thing

astral coral
#

hey @vocal basin

astral coral
#

hey @somber heath

somber heath
#

I look like I'm in but I'm not.

astral coral
#

?

somber heath
#

@paper dust πŸ‘‹

#

@worn sphinx πŸ‘‹

#

@solar laurel πŸ‘‹

solar laurel
#

Hello

somber heath
#

@pulsar harbor πŸ‘‹

#

@magic sky πŸ‘‹

magic sky
#

Hlo @somber heath

#

Hello @somber heath

somber heath
#

@lost light πŸ‘‹

#

@abstract kelp πŸ‘‹

abstract kelp
#

hi

astral coral
#

@wind raptor

#

πŸ‘‹

primal shadow
#

⚑

astral coral
#

Pikachu is awesome

wind raptor
somber heath
vocal basin
#

another example of AFK thing not working in the browser

astral coral
somber heath
#

@full kettle πŸ‘‹

rugged root
#

@somber heath On shortly

#

Jesus I can't type this morning

somber heath
#

That makes more sense.

inner crest
#

i cant join the vc :(

rugged root
#

You can join, just can't speak yet

inner crest
#

wish i could

rugged root
inner crest
#

can i ask you guys some stuff rn?

#

i see

#

i think i cant hear you tho

#

nvm then see yall

rugged root
#

Weird. Check your audio settings

inner crest
#

i see

#

anytways

#

do you guys know networkchuck

#

the guy with the beard

rugged root
#

I've seen him but don't know much about him

#

Why do you ask?

inner crest
#

hes got this phyton course

#

but

#

i mean i have taken phyton classes before

#

i watched some of the episodes of his course

#

but now ive come to realise that i know a lot of the things hell be teaching in the episodes i havent watched yet

#

so im not sure if i should

somber heath
#

Back in a toast.

rugged root
#

Never a bad idea to do a quick refresher. You could always just scrub through the video to see if there's anything new to you

inner crest
#

i guess can i send you the text of a code ive done recently

#

so you can take a look

rugged root
#

Go for it

inner crest
#

thanks

rugged root
#

If it's short you can use the built in Discord highlighting, if it's long you can use our pastebing

#

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

rugged root
#

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

rugged root
#

Both will work just fine

inner crest
#

i can dm you if you want

#

!paste

rugged root
#

Typically better to have it here so that others can contribute and chime in. Oh and you have to go to the link in the embed

#

It's not the command itself, that just brings up the info

inner crest
#

ok for sure

wise cargoBOT
rugged root
#

Legit forgot we had that option

inner crest
#

so did this work?

rugged root
#

Yep yep

inner crest
#

ok can you take a quick look tell me what i might need to do about improving my phyton knowledge

#

or if there is something else to know

#

that i need to know

#

i want to move on to other languages as well maybe c to learn about coding for arduinos

rugged root
#

There's a couple things that jump out at me: For the various variable and function names, you'll want to do what's called snake_case. So instead of:

waitanimation
optionwaitanimation
``` You would instead do:
```py
wait_animation
option_wait_animation

That helps make it easier to read, which can save both you and others who look at your code (including future you) time and makes the intent clearer.

inner crest
#

the optionwaitanimation was made complicated so i would be able to use it anywhere else

#

but yeah wait_animation makes sense

rugged root
#

It's also just convention in Python to do that.

#

In other languages, you'll see camelCase, but Python uses snake_case, which I think is cleaner

brisk bridge
#

hi

inner crest
#

what is snake case

#

like using _ this to do spaces?

rugged root
#

Yep yep

inner crest
#

oh i see

#

so in other languages using capitalized letters for distinguishing words is the case since _ this would cause issues

rugged root
#

Correct

brisk bridge
#

ig we use capital case for type definitions or aliases

inner crest
#

how is my phython knowledge looking like tho

rugged root
#

Another thing that jumps out at me is ITLTFI. Short and descriptive variable and function names are best. Avoid abbreviations that you'd need a comment to understand.

Also also, ALL CAPS names should be reserved for constant values. Those are ones that you'd never change after you initially make them

inner crest
#

is it mid bad good?

rugged root
#

It's pretty clean, there's just some stuff that is still worth mentioning

brisk bridge
#

it is a bit diffuclt to manage case if we use different languages

rugged root
#

For example, name_list = list(()) can just be name_list = []

inner crest
#

i know :) i was just making a joke but in all of actuality it did cause me issues that i realised i had made when debugging

rugged root
#

They make the same thing

inner crest
#

i see

rugged root
#

[] is considered a list literal, so it's shorthand for list()

inner crest
#

think that will come in handy

rugged root
#

Another one to know is {}, which is a dictionary literal. Same thing as doing dict()

brisk bridge
#

is integrating c with python easier than rust?

inner crest
#

what is a dictionary literal

rugged root
#

Dictionaries are key:value pairs. So think of it like an actual dictionary. You look up a word and you get the definition for it

inner crest
#

oohh so its like in c# using a program

#

ther was this program

#

called accent acent smth like that

rugged root
#

!e

meats = {"ham": 2, "pork": 3, "beef": 1}
print(meats["pork"])
inner crest
#

and we saved values in that

wise cargoBOT
inner crest
#

oh so pork has the value of 3

#

and ham 2

whole bear
#

chock him

rugged root
#

Yep, and we're able to snag the numbers by just telling it which key we want

#

So in this case, "pork"

inner crest
#

can we save strs to lets say pork

#

so pork is greasy and 1

whole bear
#

Scratch his ball

inner crest
#

so when pork is used we can say in a function define pork so it gives out greasy and in another when pork is used in a certain way pork + 3 makes 3 +3=6

#

in a way?

rugged root
#

Kind of. So one key thing (ha) about dictionaries is that all keys must be unique. So you couldn't have {"pork": 1, "pork": "greasy"}, as that would only set one of them

whole bear
#

Milien become fater?

#

Yes

rugged root
#

!tempmute 1357721318568493258 1d I'm really really tired of having to correct your behavior. If you can't be nice, say nothing at all. Please review the #code-of-conduct before you come back.

inner crest
#

or in my program can i go and use this like ill save the name and for the name ill save the price values

rugged root
#

!tempmute 1225678748377026590 1d I'm really really tired of having to correct your behavior. If you can't be nice, say nothing at all. Please review the #code-of-conduct before you come back.

wise cargoBOT
#

failmail :ok_hand: applied timeout to @whole bear until <t:1743862936:f> (1 day).

inner crest
#

and also save another information about them

#

and use both when needed

rugged root
#

Okay, now that I've dealt with the irritant, let me show you an example

inner crest
#

so that i wont have to look up for the first one in the lists

rugged root
#

!e

meats = {"pork": 1, "pork": "greasy"}
print(meats["pork"])
wise cargoBOT
rugged root
#

It'll set the last one that you give it

inner crest
#

and lets also use pork in an addition with 3

#

so like 3+ pork

rugged root
#

Just as easy. So using the previous example....

#

!e

meats = {"ham": 2, "pork": 3, "beef": 1}
print(meats["pork"])
meats["pork"] += 3
print(meats["pork"])
wise cargoBOT
inner crest
#

i guess

#

now

#

what do you think about my level in phyton

#

and are there courses that go deeper in commands

#

and if i want to go for another language to learn for arduino

#

do you think its the right time

rugged root
#

Yep yep! You're just scratching the surface of Python. What you're currently learning are the kind of basics that you'll encounter in plenty of other languages: loops, functions, varaibles, data types, etc.

#

And it depends

brisk bridge
#

c is op fr, started learning it

rugged root
#

If your goal is to just go and do Arduino stuff, then that should be your focus

#

There's plenty of great resources and stuff to get you started on that

inner crest
#

but i have heard that learning phyton good before moving on to anotehr language is important

#

and appearently its not

rugged root
#

It's good to get your core concepts

inner crest
#

i see

rugged root
#

Well it is, but there's some stuff that it doesn't cover

#

It's not statically typed, which means that you don't have to declare what a given variable is going to be ahead of time; Python does that for you

#

C also means you have to manually manage memory, which can be a bit of a chore

inner crest
#

but ill learn about that on a course

#

about c

rugged root
#

Yep

inner crest
#

so i could and should move on

rugged root
#

If your end goal is Arduino, it might not be a bad idea

inner crest
#

which at the end of the day phyton is not going to be enough to write a program right

rugged root
#

I wouldn't go that far

inner crest
#

which is why people use c for full on programs

vocal basin
#

"start with Pascal like I did, it's only uphill in terms of language quality from there"

inner crest
#

i mean actual programs

rugged root
#

Python is useful for all kinds of stuff. Sometimes you need something quick rather than hyper optimized

inner crest
#

i see

rugged root
#

I've made a couple things for work in Python because developing is much faster, and the program itself didn't need to be quick quick

#

C lets you have a lot more control, but there is a lot more involved

inner crest
#

is it logical to use phyton for arduino

vocal basin
#

@somber heath there was such incident where screens crashed and proudly displayed python running facial recognition things

#

maybe the same one

#

it was a while ago

brisk bridge
#

i gtg, bye guys

vocal basin
#

pre-2020 I think

inner crest
#

bye

rugged root
inner crest
#

if i were to learn more about phyton

rugged root
inner crest
#

should i go for courses on youtube

#

or

#

udemy

#

or any other source

rugged root
#

That's entirely preference. I prefer books and websites I can read rather than courses or videos. It lets me go at a more comfortable pace for me

#

Because some of the courses and vids either go too fast, too slow, or don't cover what I'd like

vocal basin
inner crest
#

i see

vocal basin
#

ohno the VPN is dying

inner crest
#

bye

#

thanks by the way

rugged root
#

@signal sapphire Yo

vocal basin
vocal basin
signal sapphire
vocal basin
#

it's in a semi-crashed state currently

#

this -> Β―_(ツ)_/Β―

#

classic

#

should've used event sourcing

#

is 43 API methods too much pithink

#

that's the same number as how many function interfaces Java has

candid spire
#

Trump knows exactly what he's doing and fully understands the consequences.

vocal basin
#

.xkcd 605

viscid lagoonBOT
#

By the third trimester, there will be hundreds of babies inside you.

candid spire
#

Even if Trump’s legacy falters, the American economy will keep thriving. Its size and resilience make it too robust to collapse.

somber heath
#

The Wall Street crash of 1929, also known as the Great Crash, was a major stock market crash in the United States which began in October 1929 with a sharp decline in prices on the New York Stock Exchange (NYSE). It triggered a rapid erosion of confidence in the U.S. banking system and marked the beginning of the worldwide Great Depression that l...

candid spire
#

China, Europe, India, and Latin America will face long-term repercussions from the tariffs imposed during this period.

vocal basin
#

and US itself

#

"too big to fail" always means "when it fails, consequences will be catastrophic" not "it can't fail"

candid spire
somber heath
#

@long onyx πŸ‘‹

rugged root
#

Fucking power outage

somber heath
rugged root
#

Thunderstorm

somber heath
#

That'll do it

rugged root
#

It was only a second but that was enough to shut everything off

somber heath
#

Ooh, when esopy, dunderstorm.

vocal basin
#

penguins' economy in shambles

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @near niche until <t:1743779918:f> (10 minutes) (reason: attachments spam - sent 8 attachments).

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

vocal basin
#

!unmute 217691138696413187

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @near niche.

vocal basin
#

not that many

wind raptor
#

!untimeout 217691138696413187

wise cargoBOT
#

:x: There's no active timeout infraction for user @near niche.

wind raptor
vocal basin
#

!unblind 373121697957543946

wind raptor
#

Bahahaa

near niche
candid spire
candid spire
# near niche

It looks clean and modernβ€”hard to believe it's a developing country.

somber heath
#

@winged lagoon πŸ‘‹

vocal basin
#

uh the reply to avatar feature is so buggy visually

#

z-index is broken

#

the reply doesn't even include the avatar

wind raptor
#

!stream 217691138696413187

wise cargoBOT
#

βœ… @near niche can now stream until <t:1743780505:f>.

somber heath
#

@marble tulip πŸ‘‹

vocal basin
#

@peak depot in some terminologies it is, yes

#

on what drugs what this map made if it has Russia coloured green

#

btw Russian schools teach that Russia is a developing country

#

@wind raptor @peak depot the intermediate term seems to be "emerging country"

vocal basin
#

though might be dimmed because dark theme?

#

if yes then why is the legend not dimmed too

#

"90% government officials stop before they embezzle big
keep gambling embezzling"

#

@peak depot the cable-cutter

#

@peak depot beeproot

somber heath
#

@inner flax πŸ‘‹

inner flax
#

Hi

vocal basin
#

@rugged root NK too I think

#

@somber heath did you just say voice chat text two

#

@wind raptor it's discontinued afaik

#

@rugged root @somber heath it's like a directory structure

#

tree of tabs

#

I would actually prefer that model

#

but

#

it's implemented terribly

#

it lags

#

it crashes

peak depot
#

Egg toastie!

rugged root
#

Huh

#

Avast has a browser

vocal basin
#

chrome too?

#

eh

#

works better than Chrome for me quite often

#

(Firefox)

#

incompetent web developers are not an inherent Firefox problem

#

@rugged root have you considered curl

#
curl | chatgpt -c "please make this work" | node
rugged root
#

Haven't heard of this one

#

Seems neat

somber heath
#

@wraith oyster πŸ‘‹

rugged root
#

I wish there was a quiz or some filtering system for like.... everything. Like being able to narrow down what browser to use, distro to use, software, etc.

#

Language...

#

Dooble

#

Oh good, now I have like... 8 browsers to look at

#
  • slimjet
  • K-Melon
  • Dooble
  • Waterfox
  • Falkon
  • astian
  • sizzy
  • Carbon
  • Thorium
#

Why do I do this to myself

vocal basin
#

I know someone who uses Waterfox

rugged root
#

Their thoughts?

vocal basin
#

they use it because nothing else works

rugged root
#

HA

#

Fair enough

#

Bleh, I know that I shouldn't bother looking; I'll probably need a Chromium based one (and even then one of the common ones) for site compatibility

vocal basin
#

"my source is I made this course the f___ up"

rugged root
#

I just wish I knew why I did this. I do the same thing with languages

#

And I have no idea why

#

!charinfo Ι’ecko

wise cargoBOT
vocal basin
#

!e

print(
    "\N{latin letter small capital u}"
    "\N{latin letter small capital n}"
    "\N{latin letter small capital i}"
    "x"
)
wise cargoBOT
rugged root
#

Wait what?

#

What's \N?

astral coral
#

hey @rugged root πŸ˜„

vocal basin
#

!e

print("\n{plus-minus sign}")
wise cargoBOT
vocal basin
#

oi

rugged root
#

No idea why I did a spooky voice

vocal basin
#

!e

print("\N{plus-minus sign}")
wise cargoBOT
rugged root
#

Does it just find it by UTF-8 name?

vocal basin
#

yes

rugged root
#

That's wild

astral coral
#

@wind raptor

rugged root
#

@whole bear Yo

whole bear
rugged root
#

Eh

#

Hanging in there

#

We've got massive storms going on and we've had 2 power outages so far at work

#

Dreading that we'll have another

vocal basin
#

@wind raptor one of the greatest powerpoint-ish presentations is in this talk:
https://www.youtube.com/watch?v=dFIqNZ8VbRY

https://cpponsea.uk/

(char)0 = 0; - What Does the C++ Programmer Intend With This Code? - JF Bastien - C++ on Sea 2023

int main() {
(char)0 = 0;
}
This is a very simple program. Some might find it offensive, but let’s enjoy ourselves instead. Let’s talk about this program for the next 60 minutes. Maybe we can make it less offensi...

β–Ά Play video
candid spire
#

Who created this server?

astral coral
#

theeeeeee eleves

rugged root
#

I'm not sure if the original person is in the server anymore

wind raptor
#

Joe?

rugged root
#

But the one that essentially started it (as in the original original handed it over to ) yeah Joe

vocal basin
#

and Lemon current owns it, right?

rugged root
#

So Joe is the de facto creator

#

I beileve so, yeah

#

Wait, I think I'm misunderstanding something. Chromium uses Blink as its engine?

#

Or is it separate

candid spire
#

Who was the first man of the server?

rugged root
#

I don't remember

#

But again, I don't know if he's on the server any more

#

I don't think I've ever chatted with them

#

Dooble is a scientific browser. Minimal, cute, unusually stable, and available almost everyware. Completed?
The "unusually stable" line is interesting

vocal basin
#

usually unstable

rugged root
wind raptor
vocal basin
#

ohno
I have reached the clippy::too_many_arguments

#

8 arguments in a method

#

maybe too many indeed pithink

rugged root
vocal basin
#

which what where

#

Forgejo

#

I've deployed Gitea/Forgejo >10 times by now

#

@wind raptor also fix bugs quickly => customers like the product more

#

yes

rugged root
#
#

Well that's interesting

astral coral
vocal basin
#

avx?

#

that thing that MongoDB uses

#

set of instructions

astral coral
wind raptor
static whale
rugged root
#

even_more_args

#

absurd_amount_of_args

#

who_hurt_you_amount_of_args

vocal basin
#

you can always just raise the limit

candid spire
#

@wind raptor Share the site!

#

Do it!

#

I ain't random!

vocal basin
#

therefore doesn't count

primal shadow
astral coral
#

vassal state of America!? ain't nobody got time for that

#

cult sacrafices to chulthlu

#

common peasentry

vocal basin
astral coral
#

OoF :L

vocal basin
#

as, yes, I copied it incorrectly too

astral coral
#

ahahahhahaa

vocal basin
#

impossible word

#

Russian version is just ct[h]ulhu transliterated

#

another cursed word is chthonic

#

chth

astral coral
#

the first stage of the maddness of cthulhu, spelling his name :L

vocal basin
#

as for pronunciation:
en: k-thu-lu
ru: ktul-hu

wind raptor
vocal basin
#

just don't separate them

astral coral
#

KHWAK-TAU LU

vocal basin
#

Russian has more of kt than English

#

including in the beginning of words

#

in English I've mostly heard c be separated from thulhu

peak depot
wind raptor
#

yeah, it's like kuh-thoo-loo

astral coral
#

K hwak-tulu

rugged root
#

It's interesting, I've heard a lot of Canadians say it as kuh-too-loo

wind raptor
#

I've always said the th

rugged root
#

Same

vocal basin
primal shadow
trail vector
wind raptor
vocal basin
wind raptor
#

TY!!

stuck furnace
#

The Ring scared me a lot, although I was like 10 when I saw it πŸ˜„

#

I couldn't be in the same room as an off TV for like a year

rugged root
#

HA

#

That's amazing

astral coral
#

Final Destintation shit me up

primal shadow
#

The ring, that's a good one

rugged root
#

Such a weird thing for them to miss

astral coral
#

the logs in the car one still gets me for some reason

#

going down the motorway in passagner

#

see one of those lorrys pull up :S

rugged root
#

Was it logs or pipes?

#

I can't remember

astral coral
#

I think in the movie it was logs bt pipe irl

rugged root
#

It's been years since I last saw it

astral coral
#

I don't remember tbh

#

sameeeeee

#

I hate those movies :L

candid spire
#

Why windows laptop is waste of money?

rugged root
#

@wind raptor I've made a huge mistake

unique wyvern
rugged root
primal shadow
rugged root
primal shadow
#

Constricted new supply will absolutely hurt rent

#

With new consturction prices up, sales will go down

#

And renters will be more

#

Corporate buyers will use the higehr prices to justify higher rents

dry jasper
rugged root
#

Oh huh

#

Didn't realize Sizzy had the one time purchase thing

#

On the plus size, Sizzy seems to have been around since at least 2017

rugged root
#

I keep forgetting about the Geany editor

stuck furnace
#

Gotta go πŸ‘‹

dry jasper
stuck furnace
#

Have a nice weekend

wind raptor
primal shadow
rugged root
#

Getting off VC is marginally helping

primal shadow
peak depot
#

SOLUTION .45 - Alter (The Unbearable Weight Of Nothing) (2015) // official clip // AFM Records
Subscribe to AFM Records: http://bit.ly/1Ag5sAW

Song is taken from the album "Nightmares In The Waking State - Part I", released on November 20th!

Order now!
DE: http://promo.afm-records.de/solution.45/de.html
EN: http://promo.afm-records.de/solution...

β–Ά Play video
unique wyvern
#

Subscribe to newsletter:
https://emmetcohen.com/contact
Join Emmet Cohen Exclusive Membership:
http://emmetcohen.com/exclusive
Check Out the Latest Album, "Future Stride":
http://lnk.to/ec_futurestride

Emmet Cohen - Piano
Bruce Harris - Trumpet
Patrick Bartley - Alto Saxophone
Russell Hall - Bass
Joe Saylor - Drums

Video Design: Alex Weitz ht...

β–Ά Play video
primal shadow
#

Genocide is even worse than your every day terrorism

spare galleon
#

its extremely hurtful for you to even say that its a genocide, anyway im done with this topic

primal shadow
#

πŸ‘

somber heath
#

@whole bear πŸ‘‹

somber heath
#

@gleaming field πŸ‘‹

#

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

woeful blaze
#

What did I walk into?

somber heath
#

I can only speak of the text chat.

#

I wasn't here for any of the voice.

#

We're apparently policing people's outrage at human suffering, now, I guess.

woeful blaze
#

Because I saw was the gen word and I said what did I just walk into I'd rather not walk into a minefield without knowing why the minds are there in the first place

primal shadow
#

Walked into a dead channel, that was nearly 8 hours ago

vocal basin
primal shadow
#

yea

#

genocide is literally state sponsored terrorism day by day

somber heath
#

Your every day can of tomato soup.

#

I'm not saying you eat soup every day.

#

If you look at what's going on, and let's be very unambiguous here, it's horrific, and your first response to someone calling it a term you don't like is an argument of semantics? Because one of the other times that happened, people made laws about it.

#

I've seen the surgeons' buckets.

#

That was from before.

#

Yesterday, I saw a very small child wrapped in a shroud.

#

Everyone grab your party hats. We're celebrating the end of innocence...again. πŸŽ‰

#

!d enumerate

wise cargoBOT
#

enumerate(iterable, start=0)```
Return an enumerate object. *iterable* must be a sequence, an [iterator](https://docs.python.org/3/glossary.html#term-iterator), or some other object which supports iteration. The [`__next__()`](https://docs.python.org/3/library/stdtypes.html#iterator.__next__) method of the iterator returned by [`enumerate()`](https://docs.python.org/3/library/functions.html#enumerate) returns a tuple containing a count (from *start* which defaults to 0) and the values obtained from iterating over *iterable*.

```py
>>> seasons = ['Spring', 'Summer', 'Fall', 'Winter']
>>> list(enumerate(seasons))
[(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')]
>>> list(enumerate(seasons, start=1))
[(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
```...
somber heath
#

!e py my_tuple = 1, 2, 3 a, b, c = my_tuple print(a) print(b) print(c)

wise cargoBOT
somber heath
#

!e py my_tuple = 1, (2, 3) print(my_tuple) a, (b, c) = my_tuple print(a) print(b) print(c)

wise cargoBOT
somber heath
#

!e py for _ in range(3): print('Hello, world.')

wise cargoBOT
somber heath
#

!e py for i in range(3): print(i)

wise cargoBOT
somber heath
#

!e py a, _, b = 1, 2, 3 print(a) print(b)

wise cargoBOT
wind raptor
#

Hey @desert vector and @primal shadow

primal shadow
#

🌊

desert vector
somber heath
#

!e py my_tuple = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 a, b, c, *d = my_tuple print(a) print(b) print(c) print(d)

wise cargoBOT
somber heath
#

!e ```py
def func(**kwargs):
print(kwargs)

func(apples=0, oranges=1, pears=2)```

desert vector
#

"rejiggering"
i love inventing words

wise cargoBOT
somber heath
#

!e ```py
def func(apples, oranges, pears):
print(apples, oranges, pears)

my_dictionary = {'apples': 0, 'oranges': 1, 'pears': 2}
func(**my_dictionary)```

wise cargoBOT
soft axle
#

I've seen it with zip()

#

Asterisks i mean

#

I had to use the asterisk + zip before, I forgot what for, but I had no idea why it worked

#

"Unzipping"?

#

Id have to check tbh

#

Zip just pairs iteratables together, no?

#

I use it all the time

#

Dict(zip(()) my fave

somber heath
#

!e py letters = 'abc' numbers = '123' symbols = '!@#' for each in zip(letters, numbers, symbols): print(each)

wise cargoBOT
desert vector
#

!e
@soft axle i believe you mentioned on what changes where you place the star?
the star collects all the terms that are not assigned a unique identifier and slaps them together in an iterable for you under one identifier, like yo_mama
depending on where the star is, it will collect a different set of values

lst = list(range(1, 11))
*a, b, c = lst # at the front
print(a, b, c, sep=" | ")

a, *b, c = lst # in the middle
print(a, b, c, sep=" | ")

a, b, *c = lst # at the end
print(a, b, c, sep=" | ")
wise cargoBOT
somber heath
#

!e py letters = 'abc' numbers = '123' symbols = '!@#' rows = (letters, numbers, symbols) print(rows) for column in zip(*rows): print(column)

wise cargoBOT
somber heath
#

!e py def func(a, b, c): print(a, b, c) obj = 1, 2, 3 func(*obj)

wise cargoBOT
somber heath
#

!d zip

wise cargoBOT
#
zip

zip(*iterables, strict=False)```
Iterate over several iterables in parallel, producing tuples with an item from each one.

Example...
soft axle
#

How do you know what can be tuple unpacked? Like uh

#

For key, val in dict()
We generally know it's two, no? But some things have more?

#

My bad, I did

#

Dict items

#

Yus

somber heath
#

!e py letters = 'abc' for iv in enumerate(letters): print(iv)

wise cargoBOT
somber heath
#

!e py letters = 'abc' for iv in enumerate(letters, start=9001): print(iv)

wise cargoBOT
somber heath
#

!e py my_tuple = 'ab', 'cd', 'ef' for a, b in my_tuple: print(a) print(b)

wise cargoBOT
soft axle
#

Would would happen if you used a dict

somber heath
#

!e py letters = 'abc' for i, v in enumerate(letters): print(i, v)

wise cargoBOT
soft axle
#

Just a non tuple/list?

#

Like a more complex data structure ya

somber heath
#

!e py my_dict = {'apples': 'delicious', 'oranges': 'also delicious', 'lemons': 'very sour'} for item in my_dict.items(): print(item)

wise cargoBOT
somber heath
#

!e py my_dict = {'apples': 'delicious', 'oranges': 'also delicious', 'lemons': 'very sour'} for iitem in enumerate(my_dict.items()): print(iitem)

wise cargoBOT
somber heath
#

!e py my_dict = {'apples': 'delicious', 'oranges': 'also delicious', 'lemons': 'very sour'} for i, item in enumerate(my_dict.items()): print(i, item)

wise cargoBOT
somber heath
#

!e py my_dict = {'apples': 'delicious', 'oranges': 'also delicious', 'lemons': 'very sour'} for i, (key, value) in enumerate(my_dict.items()): print(i, key, value)

wise cargoBOT
soft axle
#

Wait you have it i, (key, val) and it works??

woeful blaze
#

How is everyone?

soft axle
#

I've seen enumarate(i+1) before I believe in a for loop. It's what made me go into enumerate

#

It turned like 16 lines of code into 4 or 5

somber heath
#

!e py i, (key, value) = 0, ('key', 'value') # (0, ('key', 'value')) print(i) print(key) print(value)

wise cargoBOT
somber heath
#
for i, v in enumerate(...):
    i + 1```
soft axle
#

It's what was used to iterate over subplot

#

Uhh I could check!

somber heath
#
for i, v in enumerate(..., start=1):
    i```
soft axle
#
fig, axes = plt.subplots(1, len(cols_to_plot), figsize=(15, 4))

# Iterate with enumerate
for i, col in enumerate(cols_to_plot):
    sns.histplot(data=df, x=col, kde=True, ax=axes[i])
    axes[i].set_title(f'{i+1}. {col}')
    axes[i].set_xlabel('')
    axes[i].set_ylabel('')
#

Similar but not the same as what i saw

#

But this what was the cleanest looking code but I didn't use it cause I didn't know how enumerate worked

#

I understand everything else

#

Just not the enumerate part

#

Or rather initially didnt

#

Ya actually, not sure what the i + 1 is doing there?

#

Oh to make a diff axes each time

#

The axes take like 2 usually

#

If I were to do

#

It controls like the grid of the plots. This would plot it all it on 1 row

#

Usually id do like

#

Axes[x, y]

#

Give me a sec opal!

#

Brb. Getting a call

somber heath
#

I'll bbiab.

#

A longish bit.

astral coral
#

oh sorry

#

was afk

somber heath
#

@opaque glacier πŸ‘‹

opaque glacier
#

hi

somber heath
#

@fast nymph πŸ‘‹

fossil valley
#

Hello

somber heath
#

@whole bear πŸ‘‹

fast nymph
whole bear
somber heath
#

Also just as a thing intended as hospitable.

#

@whole bear πŸ‘‹

somber heath
#

@turbid basin πŸ‘‹

turbid basin
#

Hello

somber heath
#

@magic sky πŸ‘‹

magic sky
#

@somber heath πŸ‘‹πŸ»

soft axle
#

@somber heath

robust oasis
soft axle
#
# Box plots
plt.figure(figsize = (16, 4))
plt.subplot(1, 5, 1)
sns.violinplot(data = careers, x = "likely_to_change_occ", y = "age", palette = "tab10")
plt.title("Age Violin Plot")

plt.subplot(1, 5, 2)
sns.violinplot(data = careers, x = "likely_to_change_occ", y = "years_xp", palette = "tab10")
plt.title("Years of Experience Violin Plot")

plt.subplot(1, 5, 3)
sns.violinplot(data = careers, x = "likely_to_change_occ", y = "job_opp_count", palette = "tab10")
plt.title("Job Opportunity Violin Plot")

plt.subplot(1, 5, 4)
sns.violinplot(data = careers, x = "likely_to_change_occ", y = "job_opp_count", palette = "tab10")
plt.title("Salary Violin Plot")

plt.subplot(1, 5, 5)
sns.countplot(data = careers, x = "career_change_count", hue = "likely_to_change_occ")
plt.title("Number of Career Change Events")

plt.tight_layout()
plt.show()
#
cat_list = categorical_cols.columns.tolist()
cat_list.remove("likely_to_change_occ")

for col in cat_list:
  plt.figure(figsize = (4, 3))
  sns.countplot(data = careers, x = col)
  plt.title(f"Count Plot of {col}")
  plt.xticks(rotation = 60, fontsize = 8)
  plt.xlabel(col)
  plt.show()
robust oasis
#
def plot(a, b, c, x_name, y_name, hue_name, title):
  plt.subplot(a, b, c)
  sns.violinplot(data = careers, x = x_name, y = y_name, palette = "tab10")
  plt.title(title)
soft axle
carmine tangle
somber heath
#

!e py for letter in 'abc': for number in '123': print(letter + number)

wise cargoBOT
soft axle
soft axle
robust oasis
#

Have a good day/night.

soft axle
somber heath
#

@lunar linden πŸ‘‹

somber heath
#

!e py import numpy as np arr = np.arange(10) print(arr) arr *= 2 print(arr)

wise cargoBOT
wraith pelican
#

!e

i = 0
for i in range(10):
  print("Pymad is cool")
wise cargoBOT
somber heath
#

!e py import numpy as np arr = np.array(['abc', 123, 4+5j]) print(arr, arr.dtype)

wise cargoBOT
somber heath
#

!e py import numpy as np arr = np.empty(0, dtype=object) print(arr.dtype)

wise cargoBOT
somber heath
#

@whole bear πŸ‘‹

whole bear
#

yo opal mist

#

i can't unmute myself

#

😭

#

what r u guys talking about seems interesting πŸ€”

upper basin
# soft axle

1 I'd normalise to make the distribution tighter and use a linear function again. 2 is a polynomial, can't fit a linear to it. 3 you need to remove the outlier and you can fit perfectly. Same for 4.

soft axle
#

its a stat phenomenon

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.

somber heath
#

Sorry, I want reading chat.

soft axle
#

want reading chat?

somber heath
#

Pardon. I wasn't reading chat.

#

@sharp pawn πŸ‘‹

#

@zinc meteor πŸ‘‹

zinc meteor
#

hello

somber heath
#

Yo, Ace.

#

Ace McGace.

#

@hardy glade πŸ‘‹

#

Hey, Navi.

brisk bridge
somber heath
#

<@&831776746206265384>

brisk bridge
#

tf?

primal shadow
#

scam

#

scammers gotta scam

#

it's their way of life

brisk bridge
#

implementing dynamic arrays in c πŸ₯²

somber heath
#

@quick cedar πŸ‘‹

#

@woeful salmon Say again?

brisk bridge
#

btw when does python code jam hold?

#

i only remember is it comes in my exams 😭

primal shadow
#

code jam is summer

#

game jams are spring and fall

brisk bridge
#

so may , june?

primal shadow
#

They might even have awinter one, unless that's just AoC

#

may is spring

#

june is mostly spring

brisk bridge
#

hmm, ig country issue

#

here it is super hot

primal shadow
#

well

#

may is spring or fall

#

worldwide

#

never summer

brisk bridge
#

πŸ€”

primal shadow
#

summer is a season, not a temperature

brisk bridge
#

i assume summer to be hot

#

and humid

primal shadow
#

But summer has a meaning

#

So I use the word and mean the standard understood meaning

#

not the personal assumptions of the word

#

(I don't know everyone's assumption of the word)

#

And in this specific case, I meant northern hemisphere seasons

brisk bridge
#

where am i supposed to find code jam schedule?

primal shadow
#

they tend to have some rhyme or reason

#

so you can assume when the next will be based on when the prior ones were

#

Maybe make some AI model to deduce when the next one will come based on a slew of parameters

#

Was Venus in retrograde? Was there recently as wildfire over 10,000 acres?

brisk bridge
#

ig probably august or septermber

primal shadow
#

I'd say July/August is likeliest for the summerjam

#

So I got this bumper sticker for my car but I don't know where to put it

brisk bridge
primal shadow
#

like, sure, on the back

#

but...

#

so much space

agile stream
#

yo

primal shadow
#

Do I center it under the tag?

#

Offset to the left or right?

#

IDK

somber heath
#

@upper basin Here they come.

#

Capturing the objective.

somber heath
primal shadow
#

That's what I'm thinking

#

since I'm not putting any others

#

so it'd bne the best balance

blissful vine
#

@brisk bridge accept rrq

brisk bridge
blissful vine
brisk bridge
#

PB?

somber heath
#

@spring kraken πŸ‘‹

spring kraken
#

rejoined and not voice verified anymore 😒

somber heath
#

Hey, Jik.

quartz beacon
#

Hii

#

I just woke up

#

I can't live like this

#

It's 4 pm

primal shadow
somber heath
# quartz beacon I just woke up

I was going to say what a silly thing to do, given sleeping is much nicer, but yeah...odd sleeping times can be very disorienting.

#

I remember waking up on occasions and not knowing if it was morning or evening.

quartz beacon
quartz beacon
#

I have interesting dreams

#

Had a dream about thanos venom symbiote

#

But apparently they did it in 2023

#

I think i also dreamt up the strongest predator imaginable

#

They can Hear you blink

#

And they know where the blink cane from

somber heath
#

πŸ˜‰ 😜

quartz beacon
#

They can still hear you blink each eye individually

#

Breathing is also a thing

somber heath
#

Oh, so it isn't just the blinking they hear, then.

#

Because I was thinking about loud farting.

quartz beacon
#

They can Hear everything down to blinking

somber heath
#

Because that's how sound works. Mhm.

quartz beacon
#

Anyways, i'mma go, still trying to wake up

quartz beacon
#

But it's still a sound

#

Love you Opal 😊

#

No romo

somber heath
#

@vernal meadow Howdy howdy.

#

Can be.

woeful blaze
#

Howdy

somber heath
#

But maybe a bit later.

vernal meadow
#

We on that commute home from work voice chat

#

Well kinda. It's 0830 and I have a place to be at 1000 I'm just debating if it's worth the 20 minute drive home and then another 20 minute drive to where I need to be

woeful blaze
#

How are you today opalmist

somber heath
#

@ocean timber πŸ‘‹

ocean timber
somber heath
woeful blaze
somber heath
#

@spring otter πŸ‘‹

#

@severe notch @lean cargo πŸ‘‹

#

bbiab

lean cargo
#

erm

#

i'm here to learn something

#

if anyone got any tips, can yall tell me

#

for my improvement

torpid bronze
#

oh boy I need 50 messages to talk

lean cargo
torpid bronze
#

Are you from uttrakhand? @ocean timber

magic sky
#

I can't turn on my mic

ocean timber
torpid bronze
ocean timber
torpid bronze
ocean timber
primal shadow
torpid bronze
primal shadow
#

lol

#

Things will only get worse before we get something better

#

First Discord has to go to complete shit

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.

torpid bronze
#

Do guys have resources page in this server?

#

or something like that where I can find resources to learn it?

#

ok

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.

torpid bronze
#

thank you opal

#

haha

#

it's ok lol

#

you should try aalo paratha @vernal meadow

#

or some chole bhature or something

#

can you please send the article here @somber heath

somber heath
magic sky
#

..

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @magic sky until <t:1743861726:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

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

primal shadow
#

lol

#

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

primal shadow
#

You're not helping your case there

torpid bronze
torpid bronze
vocal basin
#

!tvmute 1304833105865080874 2w spamming to reach the message count is not allowed

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @magic sky until <t:1745070978:f> (14 days).

somber heath
#

@ruby rapids πŸ‘‹

primal shadow
vocal basin
#

!tvmute @vernal meadow 1d take a break

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @vernal meadow until <t:1743948022:f> (1 day).

vocal basin
#

why tf is new id copy button now working

#

peak discord engineering

torpid bronze
#

aaababaaabbaaaaaa

magic sky
#

sry for wrong message @somber heath

primal shadow
torpid bronze
vocal basin
#

electricity bill πŸ“ˆπŸš€

#

I wonder what prices in Moscow are

#

we have a few charging stations

#

but we also have a ton of cheap petrol

primal shadow
vocal basin
#

@somber heath maybe can be worse: spiral ladder

primal shadow
somber heath
#

@untold finch πŸ‘‹

primal shadow
vocal basin
#

@somber heath well at least that way they feel less bad about advertisement and selling your data because it's not 100% of their revenue

primal shadow
#

MAMA: Make America Measles Again

#

GAMA? Give Americans Measles Again?

somber heath
#

@fading parcel πŸ‘‹

amber raptor
#

WWMA: Winning with Measles again

primal shadow
#

MMGA: Make Measles Great Again

vocal basin
#

when are we getting Ballmer for president
the acronym will be very simple: DDDDDDDDDDDDDD

#

@primal shadow the base sales tax is already included in the receipt, right?

#

@somber heath we too

#

@primal shadow I think in Russia it's considered that the store pays the tax not the buyer

primal shadow
#

lol

vocal basin
#

so for US ig might make sense if otherwise

primal shadow
#

the buyer pays the tax

#

everywhere

#

lol

vocal basin
#

yes, but not legally

vocal basin
#

here, as far as I understand, 15% on each job if >2.4M roubles annually from all jobs, otherwise 13%

#

✨opaque accountancy magic✨

#

I think I'll have 15% starting next week already, as soon as monthly salary hits >200K roubles

#

self-employment is taxed separately

#

but is capped at the same 2.4M

#

although

#

maybe it's extra 2% on extra above 2.4M not sure

#

I don't actually remember

vocal basin
#

@rapid iron no that's bs

#

also illegal

#

it does happen but that's no longer the norm

#

it is very much looked down upon

#

at all levels of society, for many years already

#

iirc it's around $160

#

$265

rugged steeple
#

50 msg

#

wow

vocal basin
#

cryptocurrencies are grey area in Russia

rugged steeple
#

hi

vocal basin
#

@rapid iron as in all of them?

rugged steeple
#

hello

#

gb

quartz beacon
#

don't spam

rugged steeple
#

10

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @rugged steeple until <t:1743864705:f> (10 minutes) (reason: burst spam - sent 8 messages).

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

vocal basin
#

!tvmute 1317266884298801154 2w spamming to reach the message count is not allowed

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @rugged steeple until <t:1745073729:f> (14 days).

primal shadow
vocal basin
#

including deleted messages I probably have over 90K

primal shadow
#

The Carrington Event was the most intense geomagnetic storm in recorded history, peaking on 1–2 September 1859 during solar cycle 10. It created strong auroral displays that were reported globally and caused sparking and even fires in telegraph stations. The geomagnetic storm was most likely the result of a coronal mass ejection (CME) from the...

vocal basin
#

pls tell when cryptocurrency bs is over

quartz beacon
#

i think it is?

whole bear
#

i cannot hear anythng

vocal basin
#

@quartz beacon included in ID cards since 2017 seems like

#

no

#

Turkey

#

The new cards also omit several pieces of information found on previous cards, such as; marital status, religion, blood type, place of issue, previous surname (for females), hometown (State, District, Village) and register numbers (volume, family and line numbers).

#

oh look Wikipedia has a punctuation typo

#

; instead of :

silent willow
#

Why are you saying that turkey is not a Muslim country the majority of people there are Muslims add to that the historical overview of turkey especially the othman empire.

#

@rapid iron

somber heath
silent willow
#

No I'm not Turkish

vocal basin
primal shadow
#

I did not expect the gif to deliver so well

silent willow
whole bear
#

Damn only been gone for 6 months and discord changed

vocal basin
primal shadow
#

There was recently a majorish UI update

silent willow
primal shadow
#

I already forgot what changed

vocal basin
#

@quartz beacon "given your 'videogames' is Dota 2, not surprising"

primal shadow
#

nope

#

just a really good orange hacker

#

the mods didn't notice

#

that they gave themselves a fancier role

#

through the hax

vocal basin
#

@rapid iron Turkic not Turkish

#

and it's a language family not a language

vocal basin
#

@quartz beacon yes

#

it's also a protocol issue

#

I'm using the one that the ISPs are capable of blocking already

#

(shadowsocks)

silent willow
#

Why do you use VPNs Are there any problems with discord in your countries?

vocal basin
#

:clueless:

quartz beacon
vocal basin
quartz beacon
vocal basin
primal shadow
spring kraken
#

Voice chat is wildin out

#

πŸ¦…

primal shadow
vocal basin
#

@wind raptor just be in a country where they can't advertise

#

another AI bs

#

yes

#

4 months ago seems like

#

Arc not supporting Windows 10 was so weird

whole bear
#

@wind raptor Hey Chris

vocal basin
wind raptor
#

Welcome back

primal shadow
wind raptor
#

!stream 327179626306863104 1h

wise cargoBOT
#

βœ… @quartz beacon can now stream until <t:1743869927:f>.

vocal basin
#

or close down the company on April 1st)

#

bcantrill mentioned some company that had to do that

astral coral
#

hey guys

vocal basin
#

@quartz beacon OSHAviolationland

#

@quartz beacon speaking of Minecraft nostalgia, an image that you can hear:

whole bear
#

I wanna stream pokemon

quartz beacon
#

nvm gtg

#

cya πŸ‘‹

whole bear
#

Chris

#

May I get perms?

#

Ah

#

Got it thanks

vocal basin
#

first time I joined the server was earlier than when Chris joined I think

#

(2019)

primal shadow
whole bear
#

Anyways anyone have amy anime recommedations?

vocal basin
#

@wind raptor you can also count fast with b-trees

vocal basin
#

across servers you can search channels but not messages

#

@primal shadow I'm using SQLite and finding an entry by value of some of its attributes takes 0ms

#

out of a million rows

#

it can't OFFSET efficiently

#

not many databases can

whole bear
#

When is the lazarus anime releasing?

vocal basin
#

it's explicitly part of the architecture not to optimise for that

wind raptor
whole bear
wind raptor
#

Dr. Stone?

vocal basin
#

I rewatched Frieren recently, another good one
iirc 26 episodes

whole bear
#

Idk I wanna watch it but I heard it fel off

wind raptor
vocal basin
wind raptor
#

slow

vocal basin
wind raptor
whole bear
#

Apothecary diaries?

wind raptor
#

Dan Da Dan is good

vocal basin
whole bear
#

I'll give you one Ya boy Kongming

vocal basin
#

I still have not watched the Spice and Wolf remake

#

I think I've told before about how the original's second season was dubbed in Russia

#

seasons 1 and 2 were dubbed more than 10 years apart from each other by the same team

whole bear
#

Can someone explain me jjk season 2

#

I watched it and I wanna know what the hype is about

wind raptor
#

jjk?

whole bear
#

Jujutsu Kaisen

torpid bronze
#

is it my internet or nobody is speaking?

vocal basin
#

presumably the latter

wind raptor
#

I've been talking this whole time

vocal basin
torpid bronze