#voice-chat-text-1
1 messages Β· Page 73 of 1
Sure I'll change
@tame leaf i changed sorry for my rudeness
@stuck bluff ty for explain
Damn
I made my tars btw wanna see?
Umm..
It's a robot I made
Inspo from movie "interstellar"
Cute
It looks like my surgeon I'd love it to cut me open πΊ
It's cute after all
22
And married
And j*bless
π
I started my life in a place like ts
Me and my wife
Wait do ferret have rabies? @tame leaf
Ahhhh
I seeee
Damnnn
!superstar 726797371509571685
:incoming_envelope: :ok_hand: applied superstar to @celest lintel until <t:1773501039:f> (1 hour).
Your previous nickname, FourDoorsNoMoreWhores, was so bad that we have decided to change it. Your new nickname will be Ed Sheeran.
You will be unable to change your nickname until <t:1773501039:f>. If you're confused by this, please read our official nickname policy.
So what about capybara? It looks they have them or I'm stupid
wait can i get a namechange or does it come with a warn?
hi)
I like her hair style
m
hello
!code
Using supercomputers, a team lead by UW-Madison CIMSS researcher Leigh Orf, successfully recreated a monstrous supercell that produced several tornadoes in 2011, one of which registered as an EF-5 and touched down near El Reno, Oklahoma.
Learn more about the simulation: https://www.ssec.wisc.edu/news/articles/9772
Simulation details:
-Sequen...
AMS page for this talk: https://ams.confex.com/ams/2020Annual/meetingapp.cgi/Paper/367581
Leigh Orf's talk at the 100th American Meteorological Society annual meeting, part of the Severe Local Storms symposium, on January 14, 2020 in Boston, MA.
hello
import requests
def main():
response = requests.get("https://api.artic.edu/api/v1/artworks/search")
print(response)
if __name__ == "__main__":
main()
look lord. @stuck bluff what I did, much appreciated.
Unless the person actually is a lord, you're performing in a play / show, you're being facetious, or you're being "tongue-in-cheek", you probably shouldn't call me a lord.
You might want look at requests.models.Response, an instance of which you have assigned response to. It has a content property.
I swear donβt meant sarcasm on you, I respect you because you staied with me when I was beginner.
Absolutely, there is content I saw Teacher explained on lecture, Iβll do it.
I wasn't suggesting you were being sarcastic. I was remarking on the unsuitability of "lord" in reference to me. I am not a lord. I am not your lord.
I was listing the circumstances in which one might refer to someone else as a lord.
no worries I don't say it again, that new word sarcastic = adj, sarcasm = verb.
Sarcasm is a noun.
Hi
hi
hello
What's up
Is there any telugu people here
Hey I'm Allen
I have a business opportunity for anyone that's ready to make money
Message me if you're interested
dms open
yo
can someone help me im having trouble installing pygame
and im about to crash out i have tried everything
is there an error?
!rule 4
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
:incoming_envelope: :ok_hand: applied ban to @low turtle permanently.
Hello
sup
Meatbag.
.
@stuck bluff hi dear friend, I finished CS50P course 
much appreciated, now I'll starting new course that
I refuse to be
feilura
the last time we spoke
fey l yr
@stuck bluff How is activity defined
@stuck bluff this one
guys is this where we have to text chat to use voice chat
maybe it's a compatibility issue try pygame-ce it's the more worked on version and it has all the same base code
@near nebula also if it's not because of comptibility it could be a issue with not having other requirments met what happens when you try
hi
rip i dont meet the requirements
Hello
HiβΊοΈ
@boreal wing @oak pebble @median rampart π
Hey
Why we have a diff channel for voice chat
Instead in the vc
Itself
Because these channels existed before the baked in voice text channels. Initially, it was neccesary to be in the voice chat to use them with no option to configure otherwise. The decision was made then to retain the standard text channels as the primary voice side channels here.
We were used to using the standard text channels then and now.
Oh dang
@weary moat Hey π
If anyone wants to make a roblox game with me on roblox then dm me
β"Hi everyone! My name is Ayaanle. I'm a secondary school student and I've just started the Google Python course. I'm looking for a study buddy to practice English and Code together. Anyone interested?"
if anyone wants to make a roblox game with me then dm me
which language are you picking for the task
Doesnt roblox only support lua lol?
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
Hello π
I hate that i cant talk.. i just wanna code with ppl. But i got to be in chat to do it
Like 1 hour???
Its not.. just saying i cant
How many do i need
K
So i have to chat for 10 min?
Alr
So what do we talk ahout
About
Im on phone so i cant code rn
I started working on a Python 3 typing based game cus thats all i can do rn
I types smt to you
Do you know mu editor????
@umbral rose
@umbral rose
Bro
You just left my chat
I was talking to you
Oh
What did you ask??
A typing based game adveture game
And i only have mu editor and im trying to figure out how to use VS code
How much time till i can talk
@umbral rose
Bro
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Bru how much time till i can talk @umbral rose
Uggg
Do you know how to get other imports on mu editor
I've never used mu
#voice-chat-text-0 π
Do you have any ideas i could make for my game??
@umbral rose how much time do u got now
I am
Im talking in os
Thing
*ot0
So half an hour??
Where talking about backpacking rn lol
Alr im ditching that chat it became dead
hi sir! new to this discord server and not really great at chatting English or speaking
Thats alr
I still need 3 days to be verified to voice chat
3?
yup
do you guys have any tips for beginners like me trying to understand programming, currently I'm watching yt cs50 python tutorial lecture 1: conditional
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I learned from a guy named geek tutorials on youtube
Do you have questions about a specific thing?
Holy studer
nothing right now really
Alr
@cobalt dune #voice-chat-text-0
I'm just watching yt cs50 then taking notes
Im in vc with the admin guy
@cobalt dune #voice-chat-text-0 is the accompanying text channel to the Voice Chat 0 voice chat.
Yaaa vc done
@stuck bluff I have a question
how do you guys came up a outline for your code? like how do you develop this?
This channel, #voice-chat-text-1 is the accompanying text channel to the Voice Chat 1 channel.
Ahh ok
I guess I imagine possibilities, then think of tools I can build which service those possibilities.
One you are aware of the tools and syntax in the language, what does what, you get ideas about how to put these building blocks of logic together.
Like lego.
Ohh thanks, and maybe I should just focus on getting the knowledge of the fundamental then practice to reinforce it to my brain to be a muscle memory I think
Study to familiarise. Memorisation occurs organically through use.
@open scroll https://strudel.cc/
Strudel is a music live coding environment for the browser, porting the TidalCycles pattern language to JavaScript.
paste this into strudel
Click here to see this code in our pastebin.
@soft lava
btw i want to ask you something for tips if you dont mind i join vc
hi @hard inlet
Heyy
hi
@flint maple see https://github.com/aaronchall/pyrust
hello
πhi
hi
Hello!
yo!
@worldly sonnet π
im suppressed in every vc
yeah im just joined here bc i barely figure out to make a very basic autoclicker program
i*
Did you use pyautogui?
andrew123
Yo Andrew
@gleaming vale hi
@mossy turtle π
π
We need coffee
Yow sir @stuck bluff I just have a mind blowing experience while learning the c++ fundamental, the difference between python and c++ fundamental is just the built in function and the rules where when you can use that function, that's just what I learned today from W3School
Avoid W3Schools where is comes to Python. The resources page this server provides is a better choice to select from.
Ohh no, I didn't get any resources in W3School in terms of python
Good.
we'll both c++ and python is based on c... They would look most same the difference would be on how you use them
C++ is strongly typed language
Python is dynamically typed
The standards are also different
If you want to learn c++ the best way is to create c++ project that's big enough to require multiple files but small enough to not require modules and subsystem
You could build calculator app with raylib
QT would do
I haven't tried it tho and have 0 idea about it
QT?
....
Bruh
It's a GUI library
Like pygame but it works for many languages
As I remember QT is not OOP....
Not sure I only seen a code use it
privyet amigos
@mo money @mo problems
idk why but i am not liking dictionaries in particular
i just studied lists, sets, tuples for 2 days
i am having trouble memorising dictionary methods
indentation is troubling me tbh
sodding java habits
it really is a matter of practice, work with small sub projects or mini games etc to help your self code better, eventually it'll be second nature, and always remember forgetting data structure methods are fine and easy to look up if and when you do
!d dict
class dict(**kwargs)``````py
class dict(mapping, /, **kwargs)``````py
class dict(iterable, /, **kwargs)```
Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments.
Dictionaries can be created by several means...
i remember this kwargs
learned python for couple of weeks in dec 2024
dict.pop() ?
!e
x = {'a': 1}
print(dir(x))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
['__class__', '__class_getitem__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__ior__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__or__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__ror__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'items', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values']
i think to remove an element in a dictionary, its just
del dict["key"]
@proven estuary π
!e
x = dict({'a': 1, 'b': 2})
x.pop('a')
print(x)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
{'b': 2}
Yeah
what does dir do?
I am the one who you gave warning for nothing
it displays all the methods, attributes etc
For that windows activation watermark
π
Can we speak here about that or is it not allowed (removing watermark)
No I just ran-- slmgr /rearm in cmd administration
It was --slmgr /rearm-- and I don't how but it disappeared
Btw I can't speak π£οΈ here idk why
Okay π
!e
x = []
y = dict({})
f = lambda g: [_ for _ in dir(g) if not _.startswith('__')]
print("List Attributes: ", f(x))
print("Dictionary Attributes: ", f(y))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | ['append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
002 | ['clear', 'copy', 'fromkeys', 'get', 'items', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values']
It says "Suppressed
You do not have permission to speak in this channel."
you have to unmute on your side
i still haven't covered lambda functions in python.
they function differently in the languages i know
more like functional/single-method interfaces
think of them like un named or anonymous functions
callbacks in js?
encapsulation?
Abstraction?
@cunning mulch π
!e
x = lambda a, b: a + 2 * b
print(x(1, 2))
print(x(2, 3))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 5
002 | 8
Lambda are anonymous function
@willow goblet π
!e
print(list(map(lambda x: x ** 2, [1, 2, 3])))
I have used ubuntu
You must do lists
:white_check_mark: Your 3.14 eval job has completed with return code 0.
[1, 4, 9]
there we go
I mean list(...)
Is there any topic for this voice chat or are we just going with he flow
I also use GeeksForGeeks
I do programming
Other hobbies is pirating,I think it's not illegal
teach me senpai.
If u don't own when buy then pirating is not stealing
Is that siatama
history, geography, politics(retired), cooking, learning languages.
Why are u singing
Lol
@sour sigil π
kip skipped
Yes lol
Hahaha.
@spring crest π
No can do
hey
Omg why
bonk
go to horny jail
I'm constantly surprised how prolific American music has been in Europe (the non-english speaking countries primarily).
OHHHH COOL!!!
It might be laggy at the start due to node server.js runs at the render backend to startup the Mongodb atlast
It's a coldstart at first visit ,but later it stars quickly
The ml model is deployed at hugging face ,if you know that deployment platform for ml models and it also does cold start
Why ,why would you put groot
I was just thinking about this type of project for a robot to build with a high schooler this summer.
I have put only 30 types of herb in Herb Care section
And node mailer ,port 467 something is blocked by render web services so you might not recieve automail in Herb Query section
I tried using resend service
Ok bye I guess everyone gone
@dry pendant hey π
It have some overfitting and trained on less amount of data therefore less accuracy
Python docs are enough
I use brave browser so I don't get any ads
!beginner
Here are the top free resources we recommend for people who are new to programming:
- Automate the Boring Stuff β an online book (also available to purchase as a physical book)
- Harvardβs CS50P course β video lectures (slides and notes provided) with exercises
- Python Programming MOOC 2026 course β text-based lessons with exercises
- Corey Schafer's YouTube playlist
For a full, curated list of educational resources we recommend, please see our resources page!
Just watch the video with more likes
Anything with LLM is so ehhhhhhh
Wait ,can you elaborate what is the different thing which this platform have which helps learn python faster /better
best and quick. Pre-requisites. from Search engine.
Evaluating Teachers from the feedback of students.
optimizing better approach.
When you hire teachers,you will already have a list of ranking based on their past performance/teaching s/resume ,so obviously at the end the ranking won't change much
But will you just waste money on 10 teachers teching same thing ,even when you know the top 3 teachers based on their resume
I think more Better would be to just have a Ranking page of all teachers where the students give them rating on all factors of teaching and in the end the teachers get a score out of 10
Okay sir
Students ranking teachers never works. Most students will fail harder teachers.
@elder wraith knows balls
@strange laurel Did you hear me okay?
yeah
@strange laurel Down here.
i couldnt find it
i went to the hmburger menu
in files
the 2nd or 1st one
its in greek so idk
it says mikrografiesss
how do i change language
where do i go in settings
it only has greek
in the languages
i cant find it
what did you say
what
idk the password
i dont haave password
its ok ill just guess where it is
i turned on the 2nd option in performance
no
the first one is search in subfolders
i tried all
mine
what
because iam greek
because idk what thumbnail is in greek
what
oh wait i turned on mikrografies
and it didnt work
where
where
what password the teerminal or computer
thisss
which one
yeah
ubuntu gnome huh
OpalMist humor π―
wanna see dragon ball opening in greek
why....
Somebody was banned for not using English
It doesn't apply to you @raven orbit @thin lintel
Someone was banned for trolling. They were warned for not using English.
You werenβt trolling him by showing a screenshot of the chat, right?
Any mistakes?
@stuck bluff I agree
I have no fucking clue
You could ask the american here about tipping
And get answers if you want : )
@stuck bluff
That's a cultural disagreement
The US disagrees with that generally, with sales, bonuses, etc
The people who make bank off tips dont' talk about it
It's a bimodal exploit
The customer gets a "better"/more desireable experience
The waiters that are good at it make frankly ridiculous amounts of money
The business gets to stiff and exploit people
They all contribute
And I understandt aht you want stability but most americans don't
They want opportunity
There are a variety of tip-sharing agreements and whatnot, where restaurants have fixed or stable tips or etc
America's treatment of it's poor is entirely another story tbf
but that's the idea behind the culture in the first place
Modern day tipping culture is kinda turbofucked anyway
fast food wants tips these days
which is stupid
tip for what? Entering my order in the register? piss off
if i dress up provocative i'd get more tips
@mint moth π
lmfao
Scully's smart home malfunctions and proves to be deadly.
Subscribe now for more The X Files clips: http://fox.tv/SubscribeXFiles
Watch more videos from The X Files: http://fox.tv/TheXFilesSeason11Playlist
Catch full episodes now: http://fox.tv/TheXFilesFullEps
Like The X Files on Facebook: http://fox.tv/XFiles_FB
Follow The X Files on Twitte...
If I made a tip processing software, imagine how much money I would make? @fair heart
As dev, we can capitalise on it
We can offer business to use our software and we expect the consumer to pay charges and no cost burden over business
Like a premium tipping service
Doesn't matter as long as, I make money!
"Bob Collins, Australian Senator" Air date: 26/07/1991
Can be purchased on "Clarke & Dawe -The Full Catastrophe DVD Boxed Set" Personally signed at MrJohnClarke.com
Tipping app
Kinda
But we would steal from tips and share money with business
User also get Tipping xp and something like that
Tipping is fine until it's optional
Jk, I genuinely think some other business in the USA that has already capitalised on it
We already have the equivalent of it called visa, mastercard
Curry is something which has gravy in it?
@fair heart
Vietnam should have paid the tariff on using "curry"
If trump can commercialize his name, anything can be commercialized

counterexample: pasta
Okay chilli with vegetable stew is curry?
Tomatoes are invented in the new world, so pasta is american!
That's how Americans claim the food is american
Bro do i have to consistently be active for 1h30mins and not leave the chat to voice verify
No. It's a text conversation thing. Just chat with people in the conventional fashion.
Okay cool
a dozen of them yeah
l m f a o
We tried enabling emojis in pygen like
a month ago
It didn't go well
I imagine it would be better if there were proper mod tools for emojis that didn't ratelimit the bot
same as if discord had proper noise control
but unfortunately people jiust kinda scream
Using ai agents is very bland tbh
@fair heron that had jumpscare potential
Very boring too
It really wouldn't be
ohter platforms hae had it before
but discord over here using 4gb of ram so
0 context what r u talking about bro ππ
@civic nova bro no way you r in cybersecurity and vibecoding apps π
o/
Idk
I just sit here going
"I told you so"
The industrial revolution and it's consequences..
if it got out of the VM it probably had access to the password
Mmm
I think I'm going to take a break from the ai glazing
need some more ai?
@lethal gale
Wrong chat
4k img, which camera u use
@cunning mulch π
how many calories do you think it has
U pro Photographer π₯
and this
W
this time no code will work!
!pypi n8n
Saw this n8n on Instagram someone was automating who he matches w on hinge what he chats on hinge everything
Several months down the track, she's marrying the ai and leaving the dude sad and still single
@lethal gale
I think it's irrelevant and inappropriate
Your sentence is ambiguous it can be read in wrong way
Even if you didn't mean it
Its a joke
But yea mb
I'm just saying I'd marry claude code if i could
Fake
6.7/7 score
He sure likes to make claude richer
Squirrel>>>
Northern lights?
So cool man
The duck breast has 30gm
Wow
this is definitely ai
You can only reply to one image
The overview one
It's a "photo" of richmond park with the stairs
Anyway I found it
same
somethign something
what's the punishment for lateness?
hm?
not atm
Not anything against you, I just don't do it frequently and am honestly not expecting to be around much longer
I recall having to do that
it sucked.
Hi guys
@trim tapir Are u speaking?
@uneven vine π
#voice-verification
@azure oxide i think that goes for most countries
With the point of some people you wouldnt want to talk to and some people you would
Im so bad at typing
oh
and its easier to misinterpret
very much so
if you say things backwards its easier to catch in text compared to voice chat. for example: hcihwdans mah
hmm
real
"A superpower" But at what cost
i feel like consumer AI like image generation will die off in the next 2 decades and it will render down to just using it
I want to get into Dr who, how does one get into it
Who are these people
they are the different doctors i think
i think it adds to it being like a multi-universal type of experience idk i never watched it. but i think the producers and extra people involved in making the film were changed too for the effect or it couldn't just emerged as another reason @uneven vine
@prime saffron π
Hello
Hello
print"hello"
name = azeddine
age = 26
country = algeria
print(f"hi my name is {name} im {age} and im from {country}")
Python 2 π
yes π
!e
code
!e
print("hello")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
hello
!e
name = "azeddine"
age = 26
country = "algeria"
print(f"hi my name is {name} im {age} and im from {country}")
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | name = [1;31mazeddine[0m
004 | [1;31m^^^^^^^^[0m
005 | [1;35mNameError[0m: [35mname 'azeddine' is not defined[0m
PS D:\pythos basics learning> py --version
Python 3.13.5
!e
name = "azeddine"
age = 26
country = "algeria"
print(f"hi my name is {name} im {age} and im from {country}")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
hi my name is azeddine im 26 and im from algeria
!e
python --version
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | [1;31mpython[0m --version
004 | [1;31m^^^^^^[0m
005 | [1;35mNameError[0m: [35mname 'python' is not defined[0m
New to python ??
@shadow kraken << HI >>
Up one channel.
@weak rock Hi
@weak rock , Are you there
@weak rock , Are you there?
@weak rock , How was your day
@weak rock , What are you doing ?
@weak rock , If you don't want to speak , then why in this channel
@weak rock , Why are you not speaking
https://docs.python.org/3/tutorial/controlflow.html @wooden dome
@blazing mango : https://docs.python.org/3/tutorial/controlflow.html
case [x, y]: # same
case (x, y):``` # same @wooden dome @blazing mango
match data:
case [x, y]:
print(x, y)
data = [1, 2] # β
matches
data = (1, 2) # β
also matches!```
So [x, y] doesn't mean "must be a list" β it means "must be a 2-element sequence."
!e
match "hi":
case [a, b]:
print(a, b)
:warning: Your 3.14 eval job has completed with return code 0.
[No output]
def test(value):
match value:
case [a, b]:
print("Matched:", a, b)
case _:
print("No match")
test("hi")
test([1, 2])
test((3, 4))
!e
def test(value):
match value:
case [a, b]:
print("Matched:", a, b)
case _:
print("No match")
test("hi")
test([1, 2])
test((3, 4))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | No match
002 | Matched: 1 2
003 | Matched: 3 4
!e ```py
def test(data):
match data:
case [x, y]:
print(f"Matched 2-element sequence: x={x}, y={y}")
case _:
print(f"No match for: {data!r}")
Try these:
test([1, 2]) # :white_check_mark: Matched
test((1, 2)) # :white_check_mark: Matched (tuple works too)
test("ab") # :x: No match (string excluded)
test(iter([1, 2])) # :x: No match (iterator excluded)
test([1, 2, 3]) # :x: No match (wrong length)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | Matched 2-element sequence: x=1, y=2
002 | Matched 2-element sequence: x=1, y=2
003 | No match for: 'ab'
004 | No match for: <list_iterator object at 0x7f1d8bd14100>
005 | No match for: [1, 2, 3]
!e
def test(value):
match value:
case [a, b]:
print("Matched:", a, b)
case _:
print("No match")
it = iter([1,2])
test(it)
test("hi")
test([1, 2])
test((3, 4))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | No match
002 | No match
003 | Matched: 1 2
004 | Matched: 3 4
@thorny cave
@barren estuary
hi
!e
nums = [10, 20, 30]
it = iter(nums)
print(next(it))
print(next(it))
print(next(it))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 10
002 | 20
003 | 30
!e
nums = [1, 2, 3]
it = iter(nums)
print(next(it)) # 1
print(next(it)) # 2
print(next(it)) # 3
print(next(it)) # StopIteration error β exhausted```
:x: Your 3.14 eval job has completed with return code 1.
001 | 1
002 | 2
003 | 3
004 | Traceback (most recent call last):
005 | File [35m"/home/main.py"[0m, line [35m7[0m, in [35m<module>[0m
006 | print([31mnext[0m[1;31m(it)[0m) # StopIteration error β exhausted
007 | [31m~~~~[0m[1;31m^^^^[0m
008 | [1;35mStopIteration[0m
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | Type of nums: <class 'list'>
002 | Type of it: <class 'list_iterator'>
003 |
004 | First call: 10
005 | Second call: 20
006 | Third call: 30
007 | Iterator exhausted β no more items!
008 |
009 | Looping list twice:
010 | 10
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/G6ISEN2BO4IUZQ66DF6IOQS3DE
!e
nums = [1,2]
it = iter(nums)
print(it)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
<list_iterator object at 0x7f5c3ef48100>
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m2[0m, in [35m<module>[0m
003 | it = iter([1;31mnums[0m)
004 | [1;31m^^^^[0m
005 | [1;35mNameError[0m: [35mname 'nums' is not defined. Did you mean: 'pynums'?[0m
!e
# Create a list and turn it into an iterator
nums = [10, 20, 30]
it = iter(nums)
# Pull items one at a time
print("next:", next(it)) # 10
print("next:", next(it)) # 20
print("next:", next(it)) # 30
# Lists are reusable
print("list pass 1:", list(nums))
print("list pass 2:", list(nums))
# Iterators are one-shot
it2 = iter(nums)
print("iter pass 1:", list(it2))
print("iter pass 2:", list(it2))
!e
nums = [1, 2]
it = iter(nums)
for x in it:
print(x)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 1
002 | 2
!e
# Create a list and turn it into an iterator
nums = [10, 20, 30]
it = iter(nums)
# Pull items one at a time
print("next:", next(it)) # 10
print("next:", next(it)) # 20
print("next:", next(it)) # 30
# Lists are reusable
print("list pass 1:", list(nums))
print("list pass 2:", list(nums))
# Iterators are one-shot
it2 = iter(nums)
print("iter pass 1:", list(it2))
print("iter pass 2:", list(it2))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | next: 10
002 | next: 20
003 | next: 30
004 | list pass 1: [10, 20, 30]
005 | list pass 2: [10, 20, 30]
006 | iter pass 1: [10, 20, 30]
007 | iter pass 2: []
@nova rock
!e
from collections import deque
def test(data):
match data:
case [x, y]:
print(f"matched: {x}, {y} (type: {type(data).__name__})")
case _:
print(f"no match: {data!r}")
test([1, 2]) # list
test((1, 2)) # tuple
test(range(2)) # range object
test(bytes([1, 2])) # bytes
test(deque([1, 2])) # deque from collections
test("ab") # string β excluded
test(iter([1, 2])) # iterator β excluded```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | matched: 1, 2 (type: list)
002 | matched: 1, 2 (type: tuple)
003 | matched: 0, 1 (type: range)
004 | no match: b'\x01\x02'
005 | matched: 1, 2 (type: deque)
006 | no match: 'ab'
007 | no match: <list_iterator object at 0x7f79d66b0100>
!e
def test(data):
match data:
case [x, y, *rest]:
print(f"x={x}, y={y}, rest={rest}")
test([1, 2]) # rest is empty
test([1, 2, 3]) # rest gets [3]
test([1, 2, 3, 4, 5]) # rest gets [3, 4, 5]```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | x=1, y=2, rest=[]
002 | x=1, y=2, rest=[3]
003 | x=1, y=2, rest=[3, 4, 5]
!e
data = [1, 2, 3, 4, 5]
match data:
case [x, y, *rest]:
print("x =", x)
print("y =", y)
print("rest =", rest)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | x = 1
002 | y = 2
003 | rest = [3, 4, 5]
!e
data = [1, 2, 3, 4, 5]
match data:
case [x, y, *BigBrain]:
print("x =", x)
print("y =", y)
print("rest =", BigBrain)```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | x = 1
002 | y = 2
003 | rest = [3, 4, 5]
Mapping patterns: {"bandwidth": b, "latency": l} captures the "bandwidth" and "latency" values from a dictionary. Unlike sequence patterns, extra keys are ignored. An unpacking like **rest is also supported. (But **_ would be redundant, so it is not allowed.)
@elder wraith
!e
def check(config):
match config:
case {"bandwidth": b, "latency": l}:
print(f"bandwidth={b}, latency={l}")
case _:
print("missing required keys")
# Exact keys
check({"bandwidth": 100, "latency": 5})
# Extra keys β still matches (ignored)
check({"bandwidth": 200, "latency": 10, "protocol": "tcp", "port": 80})
# Missing a required key β no match
check({"bandwidth": 50})```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | bandwidth=100, latency=5
002 | bandwidth=200, latency=10
003 | missing required keys
beep beep boop
!e
def check(config):
match config:
case {"bandwidth": b, "latency": l, **rest}:
print(f"bandwidth={b}, latency={l}, extras={rest}")
check({"bandwidth": 100, "latency": 5})
check({"bandwidth": 200, "latency": 10, "protocol": "tcp", "port": 80})```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | bandwidth=100, latency=5, extras={}
002 | bandwidth=200, latency=10, extras={'protocol': 'tcp', 'port': 80}
ahhh Flutter
!e
def check(x):
match x:
case True:
print(f"{x!r} matched True")
case 1:
print(f"{x!r} matched 1")
case None:
print(f"{x!r} matched None")
case 0:
print(f"{x!r} matched 0")
case _:
print(f"{x!r} no match")
# 1 == True is True, but 1 is not True β identity check fails
check(1) # matches 1, NOT True
check(True) # matches True
check(0) # matches 0, NOT False (would be same story)
check(None) # matches None
check(1.0) # 1.0 == 1 β matches 1 (equality)```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 1 matched 1
002 | True matched True
003 | 0 matched 0
004 | None matched None
005 | 1.0 matched 1
In this example Identity is used
.
Identity
is
!e
value = True
if value is True:
print("success")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
success
==
==
print(1 == True) # True (equal values)
print(1 is True) # False (not the same object)```
!e py match 1: case True: print("matched True") case 1: print("matched 1")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
matched 1
!e
match 1:
case True:
print("matched True")
case 1:
print("matched 1")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
matched 1
!e
a = 1
match a :
case a is True:
print("matched True")
case a == 1:
print("matched 1")
!e
a = 1
match a :
case True:
print("matched True")
case a == 1:
print("matched 1")
!e
a = 1
match a :
case True:
print("matched True")
case 1:
print("matched 1")
@runic knoll @half comet
@runic knoll you know whats the point of the last print statement in the example ?
!e
print('a')
print()
print('b')
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | a
002 |
003 | b
@thorny cave it prints a new line
hey thanks! yhh in the docs is just for cosmetics aparantly
yeah haha
idk if that's cosmetic or some kind of good practice
I'm bad at practice, so I can't te;;
tell
https://docs.python.org/3/tutorial/controlflow.html @timber furnace
very interesting
!e ```py
def f(a, L=[]):
L = []
L.append(a)
return L
print(f(1))
print(f(2))
print(f(3))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | [1]
002 | [2]
003 | [3]
:warning: Your 3.14 eval job has completed with return code 0.
[No output]
!e ```py
def cheeseshop(kind, *arguments, **keywords):
print("-- Do you have any", kind, "?")
print("-- I'm sorry, we're all out of", kind)
for arg in arguments:
print(arg)
print("-" * 40)
for kw in keywords:
print(kw, ":", keywords[kw])
cheeseshop("Limburger", "It's very runny, sir.",
"It's really very, VERY runny, sir.",
shopkeeper="Michael Palin",
client="John Cleese",
sketch="Cheese Shop Sketch")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | -- Do you have any Limburger ?
002 | -- I'm sorry, we're all out of Limburger
003 | It's very runny, sir.
004 | It's really very, VERY runny, sir.
005 | ----------------------------------------
006 | shopkeeper : Michael Palin
007 | client : John Cleese
008 | sketch : Cheese Shop Sketch
!e ```py
def f(pos1, pos2, /, pos_or_kwd, *, kwd1, kwd2):
print(pos1, pos2, pos_or_kwd, kwd1, kwd2)
All allowed:
f(1, 2, 3, kwd1=4, kwd2=5) # pos_or_kwd by position
f(1, 2, pos_or_kwd=3, kwd1=4, kwd2=5) # pos_or_kwd by keyword```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 1 2 3 4 5
002 | 1 2 3 4 5
yes...
Hello there!
2nd
HI!
General Kenobi
So civilized
hello everyone
hello
can anyone write the program how to print
[9:35 PM]
4321
432
43
4
ooooo
you can change the number to a list of numbers, and then use a for loop and .pop() method
D:
@narrow needle whyre you alone in a voice chat? 
I wanted a different energy than the other channel. There's nothing wrong with the conversation going on in there though, last I checked.
Oh right, I would join but I've got my math examination tomorrow π have fun though π
ooh, you guys made 2 different voice channels?
yeah, check #changelog , probably all cuz of hemlock
Hi
@raven orbit
and these are the headphones i own
best ones i own
oh i see
my voice is not verified
OK
how to speak
#voice-verification
Do we need to get unsuppressed in order to speak in vc?
yes
@spring finch How can you speak?
#bot-commands
me too lol
why muted my from server
I've shown you multiple times the reason in #voice-verification
i will shown surpsreexd from server
import discord import os import requests import json client = discord.Client(800743802045726733) def get_quote(): response = requests.get("https://zenquotes.io/api/random%22%22) json_data = json.loads(response.text) quote = json_data[0]['q'] + "-" + json_data[0]['a'] return(quote) @client.event async def on_ready(): print("We have logged in as {0.user}.format".format(client)) @client.event async def on_message(message) if message.author == client.user: return if message.content.startswith("//inspire"): quote = get_quote() await message.channel.send(quote) client.run(os.getenv("Token"))
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.
also dont use requests, its blocking
ah yes, and the reason of having 2 voice channels is now moot
@mild flume You can end up overengineering a thing to death.
How nuanced and complicated does it really have to be?
@stuck bluff Ideally I want it dead simple
The video giving thing isn't the issue, that'll work as it's being written in the PR
It's the divvying up of roles and powers
That was what I was referring to.
Oh right yer
People say Keep It Simple, Stupid. I came across an alternative I like. Make It Simpler, Sunshine. π
would you choose angular for a frontend project
Maybe, JS frontends are hotness
the sports ball
my generic term for any sport
i c
Check out all the promo clips and trailers from The LEGO Movie starring Chris Pratt! Let us know what you think in the comments below.
βΊ Buy The LEGO Movie: https://www.fandangonow.com/details/movie/the-lego-movie-2014/MMV1A18971EEEA44B96E4B757E677FACFE71?ele=searchresult&elc=the lego movi&eli=0&eci=movies&cmp=MCYT_YouTube_Desc
Want to be ...
Sports ball
mine
Like and Saparcribe
Sabaracribe
sabarokribe
Don't you hate wasting weeks, if not months, of your life searching for Waldo? Well, never fear. With the new Where's Waldo?: The Audiobook you can search for Waldo hands free, eyes free, and even mouth free. Never again will you waste your summer hunting for Waldo. Listen to the first page for free: http://bit.ly/WheresWaldoAudiobook Watch Wher...
@mint pumice https://www.youtube.com/watch?v=1OHLTyTMvck
Declan McKenna - Why Do You Feel So Down (Official Video)
The debut album 'What Do You Think About The Car?', featuring, 'Why Do You Feel So Down' is available now: http://smarturl.it/DeclanCar?IQid=yt
Follow Declan McKenna:
Facebook: https://www.facebook.com/DeclanMckennaMusic
Twitter: https://twitter.com/DeclanMcKenna
Instagram:h...

!e print("||")
@charred creek :white_check_mark: Your eval job has completed with return code 0.
||
yes
AAA
yes, I'm SRE
we are saying from operational standpoint, it's has some massive problematic issues
Sure, but Developers gonna Developer
True dat
but again, that's client side
server side rendering is not as popular
which security people don't like
they prefer a system where security scanner can look at the code
A website dedicated to the fascinating world of mathematics and programming
lets go WEBASSEMBLYYYY. writing frontends in rust gonna be lit
What happened to off topic ?
It is general vc now!
Vc stands for ?
Voice chat
Haha
Anything else?
Changed it to a shorter name so that folks on PC could actually see the room numbers
Previously they got cut off with the longer name
{
Node<int> newlist = new Node<int>(0);
while (list.HasNext())
{
if (count > 0)
{
newlist.SetNext(new Node<int>(list.GetValue()));
}
count++;
list = list.GetNext();
}
}```
!paste
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.pydis.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.
static int SumInBetween(Node<int> list, int p, int q)
{
int count = 0;
if (!list.HasNext())
{
return 0;
}
Node<int> newlist = new Node<int>(0);
while (list.HasNext())
{
if (count > 0)
{
newlist.SetNext(new Node<int>(list.GetValue()));
}
count++;
list = list.GetNext();
}
if(p <= 1)
{
if (q >= 1)
{
return (SumInBetween(newlist, p - 1, q - 1) + list.GetValue());
}
else
{
return 0;
}
}
else
{
return (SumInBetween(list, p - 1, q - 1));
}
}
C#
close enough
whyy ?
isnt java good ?
@golden marsh congrats
.
wait 3 more months
ohh
no wait for 3 days
n keep talking here
hello?
Hello
hello
jeez that's a lotta people in vc
reason I joined lol
I need to send 50 message or the server will kill me
does the animation for this server icon changes daily?
How's that done
is there a repo for this bot?
cool i'll checkit
i saw this thing that someone did to prepare a box for a ctf
he did this
while True:
is this good ?
for listening to requests
he was making a box for a tryhackme idk if u know the website but basically its a hackable box
so people can learn from
I thought it was a bad practice to do wile true
is do while: True is same as if name == method?
no if does the thing once but while does it as long as the condition is true
so passing True to while makes an infinite loop
he died π¦

