#voice-chat-text-0
1 messages Β· Page 447 of 1
have you considered wasting 20 hours configuring Alpine instead
@primal shadow i see you played and beat the cookie clicker game that discord made. what you think of it?
π€·
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
hey @vocal basin
hey @somber heath
I look like I'm in but I'm not.
?
Hello
hi
Pikachu is awesome
"Well, father, maybe you could go to bed or something."
I might've forgotten to leave lol
another example of AFK thing not working in the browser
@full kettle π
That makes more sense.
i cant join the vc :(
You can join, just can't speak yet
wish i could
Check the #voice-verification channel for the rules on the voice gate
can i ask you guys some stuff rn?
i see
i think i cant hear you tho
nvm then see yall
Weird. Check your audio settings
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
Back in a toast.
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
Go for it
thanks
If it's short you can use the built in Discord highlighting, if it's long you can use our pastebing
!code
!paste
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.
Both will work just fine
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
Click here to see this code in our pastebin.
Legit forgot we had that option
so did this work?
Yep yep
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
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.
the optionwaitanimation was made complicated so i would be able to use it anywhere else
but yeah wait_animation makes sense
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
Yep yep
oh i see
so in other languages using capitalized letters for distinguishing words is the case since _ this would cause issues
Correct
ig we use capital case for type definitions or aliases
how is my phython knowledge looking like tho
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
is it mid bad good?
It's pretty clean, there's just some stuff that is still worth mentioning
it is a bit diffuclt to manage case if we use different languages
For example, name_list = list(()) can just be name_list = []
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
They make the same thing
i see
[] is considered a list literal, so it's shorthand for list()
think that will come in handy
Another one to know is {}, which is a dictionary literal. Same thing as doing dict()
is integrating c with python easier than rust?
what is a dictionary literal
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
oohh so its like in c# using a program
ther was this program
called accent acent smth like that
!e
meats = {"ham": 2, "pork": 3, "beef": 1}
print(meats["pork"])
and we saved values in that
:white_check_mark: Your 3.12 eval job has completed with return code 0.
3
chock him
Yep, and we're able to snag the numbers by just telling it which key we want
So in this case, "pork"
Scratch his ball
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?
what is python 3.13t?
oh
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
!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.
or in my program can i go and use this like ill save the name and for the name ill save the price values
!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.
:ok_hand: applied timeout to @whole bear until <t:1743862936:f> (1 day).
Okay, now that I've dealt with the irritant, let me show you an example
so that i wont have to look up for the first one in the lists
!e
meats = {"pork": 1, "pork": "greasy"}
print(meats["pork"])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
greasy
It'll set the last one that you give it
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"])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 3
002 | 6
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
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
c is op fr, started learning it
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
but i have heard that learning phyton good before moving on to anotehr language is important
and appearently its not
It's good to get your core concepts
i see
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
Yep
so i could and should move on
If your end goal is Arduino, it might not be a bad idea
which at the end of the day phyton is not going to be enough to write a program right
I wouldn't go that far
which is why people use c for full on programs
"start with Pascal like I did, it's only uphill in terms of language quality from there"
i mean actual programs
Python is useful for all kinds of stuff. Sometimes you need something quick rather than hyper optimized
i see
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
is it logical to use phyton for arduino
@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
i gtg, bye guys
pre-2020 I think
bye
Depends. I think there are some that support a branch of Python called CircuitPython. There's also MicroPython that's suited for micro-controller stuff as well
if i were to learn more about phyton
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
woohoo I did remember correctly that it was 3.6
i see
ohno the VPN is dying
@signal sapphire Yo
it has been restored
H
it's in a semi-crashed state currently
this -> Β―_(γ)_/Β―
classic
should've used event sourcing
is 43 API methods too much 
that's the same number as how many function interfaces Java has
Trump knows exactly what he's doing and fully understands the consequences.
.xkcd 605
Even if Trumpβs legacy falters, the American economy will keep thriving. Its size and resilience make it too robust to collapse.
https://en.m.wikipedia.org/wiki/Wall_Street_crash_of_1929 Some history for thoughtfood.
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...
China, Europe, India, and Latin America will face long-term repercussions from the tariffs imposed during this period.
and US itself
"too big to fail" always means "when it fails, consequences will be catastrophic" not "it can't fail"
If America fails, the world would likely enter a recession.
@long onyx π
Fucking power outage
The rain?
Thunderstorm
That'll do it
It was only a second but that was enough to shut everything off
Ooh, when esopy, dunderstorm.
: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.
!unmute 217691138696413187
:incoming_envelope: :ok_hand: pardoned infraction timeout for @near niche.
not that many
!untimeout 217691138696413187
:x: There's no active timeout infraction for user @near niche.
I'm blind
!unblind 373121697957543946
Bahahaa
Is that japan?
It looks clean and modernβhard to believe it's a developing country.
@winged lagoon π
uh the reply to avatar feature is so buggy visually
z-index is broken
the reply doesn't even include the avatar
!stream 217691138696413187
β @near niche can now stream until <t:1743780505:f>.
@marble tulip π
@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"
also those are clearly different colours
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
@inner flax π
Hi
@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
Egg toastie!
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
Huh... https://sizzy.co/
Develop, debug and test your website with ease and speed. Intuitive and quick development tools help you focus on your product and ideas.
Haven't heard of this one
Seems neat
@wraith oyster π
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...
This is an interesting list as well https://www.rankred.com/best-lightweight-browsers/
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
I know someone who uses Waterfox
Their thoughts?
they use it because nothing else works
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
"my source is I made this course the f___ up"
I just wish I knew why I did this. I do the same thing with languages
And I have no idea why
!charinfo Ι’ecko
\u0262 : LATIN LETTER SMALL CAPITAL G - Ι’
\u0065 : LATIN SMALL LETTER E - e
\u0063 : LATIN SMALL LETTER C - c
\u006b : LATIN SMALL LETTER K - k
\u006f : LATIN SMALL LETTER O - o
\u0262\u0065\u0063\u006b\u006f
!e
print(
"\N{latin letter small capital u}"
"\N{latin letter small capital n}"
"\N{latin letter small capital i}"
"x"
)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
α΄Ι΄Ιͺx
Wait what?
What's \N?
https://en.wikipedia.org/wiki/Comparison_of_browser_engines Weird that this wiki page doesn't mention Chromium
hey @rugged root π
!e
print("\n{plus-minus sign}")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 |
002 | {plus-minus sign}
oi
No idea why I did a spooky voice
!e
print("\N{plus-minus sign}")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Β±
Does it just find it by UTF-8 name?
last time I tried it took me 6 attempts to remember the name
yes
That's wild
@wind raptor
@whole bear Yo
Yo sup
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
@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...
Who created this server?
theeeeeee eleves
I'm not sure if the original person is in the server anymore
Joe?
But the one that essentially started it (as in the original original handed it over to ) yeah Joe
and Lemon current owns it, right?
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
Who was the first man of the server?
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
usually unstable
Develop, debug and test your website with ease and speed. Intuitive and quick development tools help you focus on your product and ideas.
ohno
I have reached the clippy::too_many_arguments
8 arguments in a method
maybe too many indeed 
Webpage comparing the performance of Thorium versus Chromium.
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
ChromiumOS fork with Thorium Browser, x264/x265 codecs, Widevine, Kernel 5.15, Linux Firmware/Modules support, Nouveau, Intel/AMD microcode, and extra packages.
Well that's interesting


This is a good thing I hate functions which require too many args
you can always just raise the limit
vassal state of America!? ain't nobody got time for that
cult sacrafices to chulthlu
common peasentry
new cthulhu spelling just dropped
OoF :L
as, yes, I copied it incorrectly too
ahahahhahaa
impossible word
Russian version is just ct[h]ulhu transliterated
another cursed word is chthonic
chth
the first stage of the maddness of cthulhu, spelling his name :L
as for pronunciation:
en: k-thu-lu
ru: ktul-hu
but what sound does the kt make?
just don't separate them
KHWAK-TAU LU
Russian has more of kt than English
including in the beginning of words
in English I've mostly heard c be separated from thulhu
β & Β© 1996 Mega Records, a division of Playground Music Scandinavia AB. Produced by Max Martin & Denniz Pop
βΊ Stream / Download: http://smarturl.it/LeilaK.Electric
yeah, it's like kuh-thoo-loo
K hwak-tulu
It's interesting, I've heard a lot of Canadians say it as kuh-too-loo
I've always said the th
Same
even words like "Π½ΠΈΠΊΡΠΎ" are pronounced "Π½ΠΈ-ΠΊΡΠΎ" not "Π½ΠΈΠΊ-ΡΠΎ"
TEKST:
Gdy ciΔ tylko zobaczyΕem
GΕowΔ nagle straciΕem
Zgrabne nogi mini w kratkΔ
FajnΔ
mam sΔ
siadkΔ
BARA BARA BARA
RIKI TIKI TAK
JEΕLI MASZ OCHOTΔ
DAJ MI JAKIΕ ZNAK
Wreszcie raz siΔ odwaΕΌyΕem
I do knajpy zaprosiΕem
PatrzΔ na niΔ
same wdziΔki
Potem hola do Εazienki
Zobaczysz kiedyΕ kochana
Jak dobrze bΔdz...
bro its 00 am here, u make me hungry π¦
Oh yeah, I know how to pronounce those characters...
nikto
->
β
nee-ktoh
β nik-toh
TY!!
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
Final Destintation shit me up
The ring, that's a good one
Dude, the second one when the pane of glass falls on the guy? Just as it's about to hit him, you can see that it's a dummy because one of the hands is bent entirely backwards
Such a weird thing for them to miss
ahahahahahahahhahahah
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
I think in the movie it was logs bt pipe irl
It's been years since I last saw it
Why windows laptop is waste of money?
@wind raptor I've made a huge mistake
Chromium fork for Linux, Windows, MacOS, Android, and Raspberry Pi named after radioactive element No. 90.
I really really really REALLY hope this doesn't affect rent prices https://www.realtor.com/news/trends/trump-tariffs-new-home-prices-homebuilders/
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
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
Gotta go π
Grab the best deal: https://bit.ly/FEallproducts
Getting A Gun - Dave Chappelle Stand Up Comedy | Best Of Entertainment
For More Videos(Subscribe): https://bit.ly/3hygZIM
#DaveChappelle #standup #comedy #bestofentertainment
Have a nice weekend
Getting off VC is marginally helping
THIS is heavy metal: https://youtu.be/mIodjhm5KOk?si=WqfbUrLgKdNBvozr
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...
this is heavy metal: https://www.youtube.com/watch?v=984ksjle4YA
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...
Genocide is even worse than your every day terrorism
its not a genocide, my people went through multiple genocides, it isnt a genocide, secondly the fact that you deem it "every day" just shows me how little you care about other peoples
its extremely hurtful for you to even say that its a genocide, anyway im done with this topic
@whole bear π
π«€
@gleaming field π
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
What did I walk into?
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.
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
Walked into a dead channel, that was nearly 8 hours ago
reading the message before, I thought "your" in that sentence wasn't actually targeted at anyone 
(like a common way of phrasing stuff, especially for comparisons)
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
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')]
```...
!e py my_tuple = 1, 2, 3 a, b, c = my_tuple print(a) print(b) print(c)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
!e py my_tuple = 1, (2, 3) print(my_tuple) a, (b, c) = my_tuple print(a) print(b) print(c)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | (1, (2, 3))
002 | 1
003 | 2
004 | 3
!e py for _ in range(3): print('Hello, world.')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
!e py for i in range(3): print(i)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
!e py a, _, b = 1, 2, 3 print(a) print(b)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1
002 | 3
Hey @desert vector and @primal shadow
π

!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)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | [3, 4, 5, 6, 7, 8, 9]
!e ```py
def func(**kwargs):
print(kwargs)
func(apples=0, oranges=1, pears=2)```
"rejiggering"
i love inventing words
:white_check_mark: Your 3.12 eval job has completed with return code 0.
{'apples': 0, 'oranges': 1, 'pears': 2}
!e ```py
def func(apples, oranges, pears):
print(apples, oranges, pears)
my_dictionary = {'apples': 0, 'oranges': 1, 'pears': 2}
func(**my_dictionary)```
:white_check_mark: Your 3.12 eval job has completed with return code 0.
0 1 2
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
!e py letters = 'abc' numbers = '123' symbols = '!@#' for each in zip(letters, numbers, symbols): print(each)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ('a', '1', '!')
002 | ('b', '2', '@')
003 | ('c', '3', '#')
!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=" | ")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [1, 2, 3, 4, 5, 6, 7, 8] | 9 | 10
002 | 1 | [2, 3, 4, 5, 6, 7, 8, 9] | 10
003 | 1 | 2 | [3, 4, 5, 6, 7, 8, 9, 10]
!e py letters = 'abc' numbers = '123' symbols = '!@#' rows = (letters, numbers, symbols) print(rows) for column in zip(*rows): print(column)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ('abc', '123', '!@#')
002 | ('a', '1', '!')
003 | ('b', '2', '@')
004 | ('c', '3', '#')
!e py def func(a, b, c): print(a, b, c) obj = 1, 2, 3 func(*obj)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
1 2 3
!d zip
zip(*iterables, strict=False)```
Iterate over several iterables in parallel, producing tuples with an item from each one.
Example...
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
!e py letters = 'abc' for iv in enumerate(letters): print(iv)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | (0, 'a')
002 | (1, 'b')
003 | (2, 'c')
!e py letters = 'abc' for iv in enumerate(letters, start=9001): print(iv)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | (9001, 'a')
002 | (9002, 'b')
003 | (9003, 'c')
!e py my_tuple = 'ab', 'cd', 'ef' for a, b in my_tuple: print(a) print(b)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a
002 | b
003 | c
004 | d
005 | e
006 | f
Would would happen if you used a dict
!e py letters = 'abc' for i, v in enumerate(letters): print(i, v)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0 a
002 | 1 b
003 | 2 c
!e py my_dict = {'apples': 'delicious', 'oranges': 'also delicious', 'lemons': 'very sour'} for item in my_dict.items(): print(item)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ('apples', 'delicious')
002 | ('oranges', 'also delicious')
003 | ('lemons', 'very sour')
!e py my_dict = {'apples': 'delicious', 'oranges': 'also delicious', 'lemons': 'very sour'} for iitem in enumerate(my_dict.items()): print(iitem)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | (0, ('apples', 'delicious'))
002 | (1, ('oranges', 'also delicious'))
003 | (2, ('lemons', 'very sour'))
!e py my_dict = {'apples': 'delicious', 'oranges': 'also delicious', 'lemons': 'very sour'} for i, item in enumerate(my_dict.items()): print(i, item)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0 ('apples', 'delicious')
002 | 1 ('oranges', 'also delicious')
003 | 2 ('lemons', 'very sour')
!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)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0 apples delicious
002 | 1 oranges also delicious
003 | 2 lemons very sour
Wait you have it i, (key, val) and it works??
How is everyone?
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
!e py i, (key, value) = 0, ('key', 'value') # (0, ('key', 'value')) print(i) print(key) print(value)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | key
003 | value
for i, v in enumerate(...):
i + 1```
for i, v in enumerate(..., start=1):
i```
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
@opaque glacier π
hi
@fast nymph π
Hello
@whole bear π
Why do you tag me?
yo
I wave to people not voice verified who join the voice chat, so they know where the text chat is.
Also just as a thing intended as hospitable.
@whole bear π
It's possible you didn't join and I mistapped.
@turbid basin π
Hello
@magic sky π
@somber heath ππ»
@somber heath
# 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()
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)
!e py for letter in 'abc': for number in '123': print(letter + number)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a1
002 | a2
003 | a3
004 | b1
005 | b2
006 | b3
007 | c1
008 | c2
009 | c3
Have a good day/night.
@lunar linden π
!e py import numpy as np arr = np.arange(10) print(arr) arr *= 2 print(arr)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [0 1 2 3 4 5 6 7 8 9]
002 | [ 0 2 4 6 8 10 12 14 16 18]
!e
i = 0
for i in range(10):
print("Pymad is cool")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Pymad is cool
002 | Pymad is cool
003 | Pymad is cool
004 | Pymad is cool
005 | Pymad is cool
006 | Pymad is cool
007 | Pymad is cool
008 | Pymad is cool
009 | Pymad is cool
010 | Pymad is cool
!e py import numpy as np arr = np.array(['abc', 123, 4+5j]) print(arr, arr.dtype)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
['abc' '123' '(4+5j)'] <U64
!e py import numpy as np arr = np.empty(0, dtype=object) print(arr.dtype)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
object
@whole bear π
yo opal mist
i can't unmute myself
π
what r u guys talking about seems interesting π€
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.
Its anscombe's quartet
its a stat phenomenon
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Sorry, I want reading chat.
want reading chat?
hello
<@&831776746206265384>
tf?
implementing dynamic arrays in c π₯²
so may , june?
They might even have awinter one, unless that's just AoC
may is spring
june is mostly spring
π€
summer is a season, not a temperature
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
where am i supposed to find code jam schedule?
You can look through #python-events
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?
lol
ig probably august or septermber
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
yo
Experiment. My first instinct is center.
That's what I'm thinking
since I'm not putting any others
so it'd bne the best balance
@brisk bridge accept rrq
??
I am also from PB coder will share some few knowledge
PB?
@spring kraken π
rejoined and not voice verified anymore π’
Hey, Jik.
At least it's easy enough to get back
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.
It is
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
π π
Oh, so it isn't just the blinking they hear, then.
Because I was thinking about loud farting.
They can Hear everything down to blinking
Because that's how sound works. Mhm.
Anyways, i'mma go, still trying to wake up
I mean, blinking makes a very minor sound
But it's still a sound
Love you Opal π
No romo
Howdy
But maybe a bit later.
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
How are you today opalmist
@ocean timber π
Heyaaa
Whargbl.
?
You saw before.
@spring otter π
@severe notch @lean cargo π
bbiab
hi
erm
i'm here to learn something
if anyone got any tips, can yall tell me
for my improvement
oh boy I need 50 messages to talk
ur talking rn.
it's known as chatting
Are you from uttrakhand? @ocean timber
I can't turn on my mic
Yupp yupp
which district?
Udham singh nagar
oh nice
Hnji hnji
best way to learn to code is to code
facts
lol
Things will only get worse before we get something better
First Discord has to go to complete shit
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Do guys have resources page in this server?
or something like that where I can find resources to learn it?
ok
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
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
..
: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.
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
bro thought he cracked the algorithm.
!tvmute 1304833105865080874 2w spamming to reach the message count is not allowed
:incoming_envelope: :ok_hand: applied voice mute to @magic sky until <t:1745070978:f> (14 days).
@ruby rapids π
!tvmute @vernal meadow 1d take a break
:incoming_envelope: :ok_hand: applied voice mute to @vernal meadow until <t:1743948022:f> (1 day).
the way she was shouting lol
aaababaaabbaaaaaa
sry for wrong message @somber heath
what the heck??
electricity bill ππ
I wonder what prices in Moscow are
we have a few charging stations
but we also have a ton of cheap petrol
Find an electric supplier near you and compare energy options for your home or business in Pennsylvania. Enter your zip code to get started.
@somber heath maybe can be worse: spiral ladder
@untold finch π
@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
@fading parcel π
WWMA: Winning with Measles again
MMGA: Make Measles Great Again
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
lol
so for US ig might make sense if otherwise
yes, but not legally
in the same way that, when permanently employed, income tax is paid by the employer
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
for self-employment:
4% if a person pays
6% if a company pays
@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
cryptocurrencies are grey area in Russia
hi
@rapid iron as in all of them?
don't spam
10
: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.
!tvmute 1317266884298801154 2w spamming to reach the message count is not allowed
:incoming_envelope: :ok_hand: applied voice mute to @rugged steeple until <t:1745073729:f> (14 days).
"The Final Countdown" by Europe
Listen to Europe: https://Europe.lnk.to/listenYD
Subscribe to the official Europe YouTube channel: https://Europe.lnk.to/subscribeYD
Watch more Europe videos: https://Europe.lnk.to/listenYD/youtube
Follow Europe:
Facebook: https://Europe.lnk.to/followFI/facebook
Instagram: https://Europe.lnk.to/followII/instagr...
including deleted messages I probably have over 90K
I tried to warn you π¦
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...
pls tell when cryptocurrency bs is over
@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 :
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
No I'm not Turkish
from what I understand, the whole point of what they said was "it's majority only officially"
Yeah the majority of them but I got confused when he said it's a country with no religion.
Damn only been gone for 6 months and discord changed
that is some The Binding of Isaac level of action happening there
There was recently a majorish UI update
Everything is changing
I already forgot what changed
@quartz beacon "given your 'videogames' is Dota 2, not surprising"
Yo you're a mod now?
nope
just a really good orange hacker
the mods didn't notice
that they gave themselves a fancier role
through the hax
@quartz beacon yes
it's also a protocol issue
I'm using the one that the ISPs are capable of blocking already
(shadowsocks)
Why do you use VPNs Are there any problems with discord in your countries?
:clueless:
what the fuck is this creacher
@wind raptor just be in a country where they can't advertise
@wind raptor the devs moved on to https://www.diabrowser.com/
another AI bs
yes
4 months ago seems like
Arc not supporting Windows 10 was so weird
@wind raptor Hey Chris
just how
!stream 327179626306863104 1h
β @quartz beacon can now stream until <t:1743869927:f>.
or close down the company on April 1st)
bcantrill mentioned some company that had to do that
hey guys
@quartz beacon OSHAviolationland
@quartz beacon speaking of Minecraft nostalgia, an image that you can hear:
may I get perms to stream?
I wanna stream pokemon
Anyways anyone have amy anime recommedations?
@wind raptor you can also count fast with b-trees
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
When is the lazarus anime releasing?
SQLite can't
it's explicitly part of the architecture not to optimise for that
Solo Leveling is awesome
Already done
Dr. Stone?
I rewatched Frieren recently, another good one
iirc 26 episodes
Idk I wanna watch it but I heard it fel off
I wasn't a huge fan of the pacing
Finished
too slow or too fast?
slow
I also started rewatching another anime during the same week but did not finish
I disagree and even if some people think so, the first couple of seasons are amazing and worth it
Apothecary diaries?
Dan Da Dan is good
I don't even remember which episode I stopped on, but whatever I watched it on probably does
Watched it on release day
I'll give you one Ya boy Kongming
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
Can someone explain me jjk season 2
I watched it and I wanna know what the hype is about
jjk?
Jujutsu Kaisen
is it my internet or nobody is speaking?
presumably the latter

are you still talking



