#voice-chat-text-0
1 messages Β· Page 187 of 1
@echo hemlock π
damn thats crazy
π
explain
hmmm
one of the rarest kinds I ve ever seen
yeah but like who tho
zabit magomedsharipov
He is great fighter
damn thats crazy

yeah the one who got kicked in the as* by sean
maybe cuz money changesa man uk
but his story is really inspiring dude
@shrewd marsh @whole bear π
sup my dog
for some reason looks like I'm muted
thats weird
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
you south african?
fudge
they all want to be like Conor, but UFC will not let that to happen again
Sean Strickland explains why he's more Australian than Israel Adesanya.
he's awesome isnt he?
how so
how he pulls the shmo into it xDD
I'm not calling him a literal dog my boy
do you agree that messi is the goat?
Nah I'm more of a Ronaldo guy
@dry jasperur thought on khabib?
But I do believe Messi is very awesome
so i cant able to talk cause I have sent less than 50 messages
yeah I love him too but messi is way higher thatn cr7 rn
need to message more
I just like both
@somber heathwhy programming seems hard for me? its been 3 months and I'm still struggling with js (my first ever lang)
both are pretty famous footballer
for first three months I used to copy and paste the codes for my college assignment
π₯Ή
I just make random programs that don't help or matter lol like logins or fake AI
It's a process, need to think what you can learn in 5-10 years
yeah so trueeeeeeeeeeeeeeeeeeeeeeeeeee
thanks man, I thought I was gonna be trolled now haha
I have started last year in november, Django, process is very slow but it is fun to learn new things
touch grass lol
i agree, it feels like all my peers are doing great and I'm not meant for it
and I should prolly leave it and start something else
π’
I started 1 month ago idk what I'm supposed to be doing anymore lol
programmers and league of legend players has common thing not touching grass
Somewhere I found how awesome it can be to understand what the code is doing and how just with few codes how many amazing things can be done
Also I am full time employed and that take a lot of my time and focus
that's when i knew i have to know what is written at least even if i cant write them myself
what are you learning
Python my boy
are you from turkiye?
??
.
yes im from turkiye
he is the goat, i like bjj/wrestling. thats why i enjoy his sambo style of fighting
nice cΓΆk gΓΌzel
my man β€οΈ
I'm a huge khabib fan btw, and I take him more like an inspirational figure for me
thank you
π
true, he is a great person also outside of the sport
very humble
khabib is good fighter , i respect who sticks his/her principles and works hard.
sadly reading hurts my brain makes me very dizzy and confused
yup, dominant a good human being, doesnt cheat his wife, umm no club no affairs nothign just simple man who loved his craft so much that nobody could break him
man I just want to be like him
he has a youtube video
he's sooooooooooo great
Ik but I can't understand anything he says I just mostly learn from Bro Code
have you seen the special UFC khabib trailer for his dad?
Khabib and his father had a unique bond and relationship. The late Abdulmanap, a legendary MMA coach, had mentored his son throughout his career - from near and far.
Before his passing he wished for his son to retire undefeated, with 30 wins. The Eagle moves closer to achieving this goal at #UFC254 against Justin Gaethje...
Watch #UFC254: Khab...
no they are making a documentary about him right?
this video is called "fathers plan"
dang thats crazy
yeah its beautiful
yes, very
his mother was the reason why didnt go for the 30 uk
such a nice guy
obidient I mean
just imagine at the peak of his career where he is just undefeatable, can make hell lot more money for a fight and still he chose to follow his mother
such a legend man
he was even offered $100 mil to come back for a boxing match
uk that right??
btw why was his father denied visa? cuz he was an ex army off in russia right??
@obsidian dragonvolk is beast!!
π
but he lost that fight against islam, come on dude
yeah
he's a humble guy though
but his teammates are weirdos
israel hooker
lmao
lol
yes
no beat can beat me who beats off the cartoons haha
sean is a fucking legend on mic
no one can beat him for sure
ukw?
cuz he's not scripted unlike other trash talkers uk
he's not trained for it
he's naturally a trash talker
yeah truly
well cya dawgs
@vital ginkgo π
not ur dogs but yeah bye
BRODY
ITS NOT A BAD THING
I'm saying cya my boys or something like that
nvm
sigh
i dunno it sounds like youare calling us dogs
then say it
INDEED BUT NOT LITERAL DOGS
ok LOL
sorry guys I need to leave now, I am on work, help desk tech, so calls are starting. I will be back later.
will miss ya
tc
and keep coding my man
I am also going then lets touch some grass
Dog, written as dawg in slang means friend.
@whole bear π
π
@lucid shoal π
First machine learning project which predicts how likely a piece of text contains a error message or just a normal text message. - GitHub - RealAnimmo/Detect_Error_Message: First machine learning p...
@jolly vessel π
I'm here and alive. Joi tested positive for COVID, so I took yesterday off to make sure she was still fine. I'm testing negative and I'm at work and masked.
Currently having to take care of some stuff here, be on soon
Get well soon
@whole bear π
Various television commercials from Australia:
This advertisement was first broadcast on Australian television in the early nineties.
Australia Early Nineties Australian Television Advertisement Ad Commercial 1990's 1990s 90's 90s AustralianAds
The ad that started the "NOT HAPPY JAN" phrase around Australia. The employer was clearly not happy that Jan forgot to submit the company's ad for the yellow pages.

Its finally here after a long wait. Sub and like lets get this going.
Original song - https://www.youtube.com/watch?v=50_iRIcxsz0
Go give love to the original song.
https://www.youtube.com/watch?v=gvjOG5gboFU This is the sample
Thank you for all the support
Spotify - https://open.spotify.com/artist/0DauIAWN26nujFAx9QKxJf?si=fuj6KJ2STkGBrwr_1-Uu7Q
Apple Music - https://music.apple.com/us/artist/barrxn/1560703561
yooo
hihi
i was happy that my voice infraction finally got expired
and still im not able to speakk!
oh ok
@twin mirage π
@rotund tusk π
@somber heath π
@somber heath 
Yeah he's an average aussie
We are scary
!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.
Ms. Mizzora
Okay, how do you think folks in Missouri say the town Bois D'Arc
I appreciate spiders and the role they play in the ecosystem. The construction of their webs and the patterns on their bodies. Jumping spiders are adorable.
I just prefer to admire and appreciate them from A. a practical distance away and B. not in my house. C. Not on me, see A.
But you said they get into your house!!
Sure
I like dinosaurs, I ain't gonna try and pet it xD
We have crocodiles and cassowaries...I would not recommend putting either.
What are cassowaries?
Murderturkeys.
LMAO
Emus, but they kill you.
Australian bird
But not emus.
are they as big as emus?
Comparable.
They'll still fuck you up
They will destroy you
I am imagining them balancing on their butt and then punching/kicking with their leg thingies LMAO
I feel like I can take it in a fight ?
No they will charge you and swiftly kick you, they can easily pierce the skin
A mistake you only get to make once
After I win
never going to australia now, cancelling all plans for masters there
You barely see them in the wild lmao
yo
Didn't the kangaroo make any sounds? @lucid shoal ?
It did
We called Wires
Wires?
They only came in the morning so it was stuck for a while
Australian animal protective services
Wildlife information and rescue service
@sweet latch π
Ohhhh, thats a cool name and abbreviation!
I heard condoms...??
Am I going deaf?
for some reason i can't hear the voice chat through my earbuds, does discord have any setting?
em, you can go into voice settings in discord
voice & video
probably have to select the specific output device
thanks, that worked
tears rolling down face @somber heath
Yeah go to settings then voice and video
πΏ @lucid shoal
:incoming_envelope: :ok_hand: applied timeout to @lucid shoal until <t:1694794666:f> (10 minutes) (reason: emoji spam - sent 34 emojis).
The <@&831776746206265384> have been alerted for review.
:incoming_envelope: :ok_hand: pardoned infraction timeout for @lucid shoal.
Rishi Sunak announces changing the country's name to United Condom - News tomorrow
xD
πππ
hello there
Hello! @thin fox
@rugged root sounds like a tech boss
@molten magnet π
hello
'Prejudice' taken from the Australian 'Ready For This?' DVD.
anybody here reads non-fiction? any suggestions for a beginner?
history + philosophy
ok
carl sagan and mendela, i'll search some more
I love fiction too
Oh yeah Sagan is great
its good
I am super interested in greek philosophy, but didn't get time to go into in
Plenty of those for sure
yea
Where do you guys get the time.. I have maybe 4 hours other than sleep and work ;-;
Well, I gotta go sleep. Good night everyone!
you could try prioritizing time, and you'll be surprised how much time you have for other activities
see you
I have to travel to work and back in those 4 hours ;-;
ah, makes sense, I understand
travel 4 hrs
Public transport is a bitch
damn
Oh, he's spectacular. Like yeah, he's really funny, but he has such a strong musical base as a foundation for it
ya
Bus, then subway, then about 15minutes of walk, then another bus
and then do it all in reverse
Provided to YouTube by Drakkar Entertainment
Per Aspera Ad Astra Β· Haggard Β· Asis Nasseri Β· Asis Nasseri
Eppur si muove
β Drakkar Entertainment GmbH
Released on: 2015-01-01
Auto-generated by YouTube.
It's not actually that far away. From my place it's only about 10KM
but I don't wanna use personal transportation cuz the traffic is CRAZY
no
it's the 18th
So are the tropes about Indian traffic accurate?
Yes!
It's like organized chaos
I searched for this, after I saw this in someone's discord bio, i think it was annemoe someone
@rugged root
metro was a life saver for me
Jesus fuck
ikr, but the issue is the bus ride
when i try to take all the bags at the same time
i leave at 6 am
i think honks help keep minds activeπ
The humor and rhyming in this is so on point! and the ginger part π π€£
@whole bear
south east asia love these
It's a perfect comedic bait and switch.
I'm at the point that if i close my eyes i get instant motion sickness, lets gooo
Yeah, probably. I think you can get them. You probably need to check online
@devout bloom
@whole bear you really done PhD
Working to wards it give me 6 years
night for me too, bye
Cya
Yeah but like.... effort
then cheesburger day it is
what time of day it is for you rn selena?
ok
if you haven't went outside today, then you could go outside and other way around as well π€·ββοΈ
Does going to the car to go to work count?
if the parking is far enough
@candid veldt Yo
true
Hi @rugged root
doing some dsa
I tried JS this time
its amazing
I mean, I prefer Java or python
but just learning it for some devlopment
Zonk
Heading to bed?
he zonked
wow
Download & Stream: https://altramodamusic.lnk.to/fxdy6wqy
Panjabi MC is an International music producer and DJ born in the UK. He is well known worldwide as a pioneer in the global popularization of traditional Punjabi music, merged with hip hop, R&B & dance. Panjabi MC has picked up numerous awards winning Best Dance Act at MTV Europe, Best U...
this one, original
yesss its a vibe
I guess I don't just get it
diamonds?
Yeah. And the need to get them for people
ohhh depends
chase a check, never chase a b
Back in a bit
cardamom chai >>>>>>
only if I'm sick
yea
ginger chai is more common in India
what tea-leaves do you use, generally?
black tea, locally sourced tho no big brands
@rugged root π
@whole bear If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
If you've heard this before, my bad
Force of habit to say it
@earnest chasm Would you mind changing your nickname to meet our nickname policy? See the #rules channel for details on that
I think you get it free for a year if you have an iphone, or something π€
We get a glimpse of what future generations of virtual reality displays from Meta could look like with a trip to Reality Labs Research, where we meet the Display Systems Research team and try on four of their prototype VR headsets that test the limits of resolution, brightness, focus shifting, and form factor. Here are our takeaways from exclusi...
guys, pls don't take too serious about this vid. I'm also a big fan of sushi. (OMG unagi is so delicious!!!)
Evangelion Gaming
Based off of: https://www.youtube.com/watch?v=b6Cdqh1VUtE
That thing thinks to taste her hand
He's called Hemlock, not Endo
The archer's paradox is the phenomenon of an arrow traveling in the direction it is pointed at full draw, when it seems that the arrow would have to pass through the starting position it was in before being drawn, where it was pointed to the side of the target.
The bending of the arrow when released is the explanation for why the paradox occurs ...
goodnight boys and girls (and everything inbetween)
@tranquil coral Yo
Hi
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@versed heath π
In programming, there are two types of operations:
- "In-place" operations, which modify the original object
- "Out-of-place" operations, which returns a new object and leaves the original object unchanged
For example, the .sort() method of lists is in-place, so it modifies the list you call .sort() on:
>>> my_list = [5, 2, 3, 1]
>>> my_list.sort() # Returns None
>>> my_list
[1, 2, 3, 5]
On the other hand, the sorted() function is out-of-place, so it returns a new list and leaves the original list unchanged:
>>> my_list = [5, 2, 3, 1]
>>> sorted_list = sorted(my_list)
>>> sorted_list
[1, 2, 3, 5]
>>> my_list
[5, 2, 3, 1]
In general, methods of mutable objects tend to be in-place (since it can be expensive to create a new object), whereas operations on immutable objects are always out-of-place (since they cannot be modified).
help i can not talk in the chat @somber heath or @scarlet halo
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
!voice
50 messages but do not spam
@quasi sand π
yo
π
1 and a half year
π
Super Mario Bros. (also known as Super Mario Bros.: The Movie) is a 1993 fantasy adventure film based on Nintendo's Super Mario video game series. The first feature-length live-action film based on a video game, it was directed by the husband-and-wife team of Rocky Morton and Annabel Jankel, written by Parker Bennett, Terry RuntΓ©, and Ed Solomon...
!e py text = 'abc' print(text[0]) print(text[1]) print(text[2]) print(text[-1]) print(text[-2]) print(text[-3])
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | a
002 | b
003 | c
004 | c
005 | b
006 | a
tf was that clapping noise
text[-1] == 1 ? return 1 : return 0
!e py def func(obj): return obj[-1] == '1'
!e ```py
def func(obj):
return obj[-1] == '1'
print(func('abc'))
print(func('321'))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | False
002 | True
char *szSomeStr;
if ( szSomeStr == NULL) return 0
return szSomeStr[strlen(szSomeStr)-1] == '1';
!d len
len(s)```
Return the length (the number of items) of an object. The argument may be a sequence (such as a string, bytes, tuple, list, or range) or a collection (such as a dictionary, set, or frozen set).
**CPython implementation detail:** `len` raises [`OverflowError`](https://docs.python.org/3/library/exceptions.html#OverflowError) on lengths larger than [`sys.maxsize`](https://docs.python.org/3/library/sys.html#sys.maxsize), such as [`range(2 ** 100)`](https://docs.python.org/3/library/stdtypes.html#range).
!e py print(len('')) print(len('a')) print(len('ab')) print(len(['abc', 'def']))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 2
!slice
Slicing is a way of accessing a part of a sequence by specifying a start, stop, and step. As with normal indexing, negative numbers can be used to count backwards.
Examples
>>> letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g']
>>> letters[2:] # from element 2 to the end
['c', 'd', 'e', 'f', 'g']
>>> letters[:4] # up to element 4
['a', 'b', 'c', 'd']
>>> letters[3:5] # elements 3 and 4 -- the right bound is not included
['d', 'e']
>>> letters[2:-1:2] # Every other element between 2 and the last
['c', 'e']
>>> letters[::-1] # The whole list in reverse
['g', 'f', 'e', 'd', 'c', 'b', 'a']
>>> words = "Hello world!"
>>> words[2:7] # Strings are also sequences
"llo w"
!e py print('abcdefg'[::-1])
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
gfedcba
'asdad'[]
a = ("a", "b", "c", "d", "e", "f", "g", "h")
x = slice(0, 8, 3)
print(a[x])
!e
!e ```py
class MyClass:
def getitem(self, key):
print(key)
obj = MyClass()
obj['abc']
obj[::-1]```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | abc
002 | slice(None, None, -1)
!d slice
class slice(stop)``````py
class slice(start, stop, step=None)```
Return a [slice](https://docs.python.org/3/glossary.html#term-slice) object representing the set of indices specified by `range(start, stop, step)`. The *start* and *step* arguments default to `None`. Slice objects have read-only data attributes `start`, `stop`, and `step` which merely return the argument values (or their default). They have no other explicit functionality; however, they are used by NumPy and other third-party packages. Slice objects are also generated when extended indexing syntax is used. For example: `a[start:stop:step]` or `a[start:stop, i]`. See [`itertools.islice()`](https://docs.python.org/3/library/itertools.html#itertools.islice) for an alternate version that returns an iterator.
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.11 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
@whole bear π
something.slice
!e ```py
class MyClass:
attribute = 123
print(MyClass.attribute)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
123
!e py import math print(math.dist((0, 0), (5, 5)))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
7.0710678118654755
| +
| /
| /
| /
| /
+__________________
5 Β² + 5Β² = xΒ² sqrt 50 == 7.0710678118654755
y-y0 = m x-x0
m = 1
!e py a = 5j + 5 b = abs(a) print(b)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
7.0710678118654755
class complex(real=0, imag=0)``````py
class complex(string)```
Return a complex number with the value *real* + *imag*\*1j or convert a string or number to a complex number. If the first parameter is a string, it will be interpreted as a complex number and the function must be called without a second parameter. The second parameter can never be a string. Each argument may be any numeric type (including complex). If *imag* is omitted, it defaults to zero and the constructor serves as a numeric conversion like [`int`](https://docs.python.org/3/library/functions.html#int) and [`float`](https://docs.python.org/3/library/functions.html#float). If both arguments are omitted, returns `0j`.
For a general Python object `x`, `complex(x)` delegates to `x.__complex__()`. If [`__complex__()`](https://docs.python.org/3/reference/datamodel.html#object.__complex__) is not defined then it falls back to [`__float__()`](https://docs.python.org/3/reference/datamodel.html#object.__float__). If `__float__()` is not defined then it falls back to [`__index__()`](https://docs.python.org/3/reference/datamodel.html#object.__index__).
7.11. The import statement
import_stmt ::= "import" module ["as" identifier] ("," module ["as" identifier])*
| "from" relative_module "import" identifier ["as" identifier]
("," identifier ["as" identifier])*
| "from" relative_module "import" "(" identifier ["as" identifier]
("," identifier ["as" identifier])* [","] ")"
| "from" relative_module "import" "*"
module ::= (identifier ".")* identifier
relative_module ::= "."* module | "."+
```...
@minor plover π
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.11 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
@supple hearth π
#include <Python.h>
static PyObject* mymodule_hello(PyObject* self, PyObject* args) {
return Py_BuildValue("s", "Hello, Python!");
}
static PyMethodDef MyModuleMethods[] = {
{"hello", mymodule_hello, METH_NOARGS, "Return a greeting message."},
{NULL, NULL, 0, NULL} // Sentinel
};
static struct PyModuleDef mymodulemodule = {
PyModuleDef_HEAD_INIT,
"mymodule",
"A simple Python C extension module",
-1,
MyModuleMethods
};
PyMODINIT_FUNC PyInit_mymodule(void) {
return PyModule_Create(&mymodulemodule);
}
!e
@tiny kestrel π
!e py import string print(string.ascii_lowercase)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
abcdefghijklmnopqrstuvwxyz
whats in opalteacher.py?
#imported.py
def hello():
print('Hello, world.')``````py
#main.py
import imported
imported.hello()``````
Hello, world.```
Assuming main.py is run.
You'll get the output.
@lyric monolith π
!stream Renatzin 373160837151719424
man wish it was that simple
damn renatzin youve used that command alot
still havent learnt?
!stream Renatzin 373160837151719424
Now I got it thanks Bowser!
what
Some Koopas to you!
nah
kkkk
@keen girder π
yay
how can you see if you have been in 10 min badges
yes
i know
ok
interesting
why do you have that system
oh ok
ok
i have 49 messages i believe
now i have 50
π hasenparty π
!kindling
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
@distant blade π
how do I speak?
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@minor plover π
@versed heath
you have to set it yourself
hotkey to deafen / mute mic
@scarlet halo
where are you from
class Player:
whats the best stats course i can take for data science? your recommendations?
thats humble
should be supposed to be a spaceship
ikr ππ
where are you from @versed heath
just draw an image and blit it to the screen with pygame's image.load function
@grizzled veldt π
@somber heath you hurt him
I'm a horrible person for not wanting to listen to keyboard, mouse and selftalk?
i am in shambles by the fact that opal left
what yall doing
coping, without opal my life is not complete
Hi, how are you all?
Morining
@echo garden @lunar venture wyd and hyd
hi
workign on my flask project
Hi my cute furry
@exotic bay π
@somber heath have no permission to talk, about going somewhere to play discord whiteboard
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
The voice chat has been silent and this is what you come up with out of nowhere? Okay.
You're nazism π
HELLO π
@glossy lantern π
@full shard π
hi
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
how do i get my coding from coding to file
so tell me guys do you make lessons for python
@glossy lantern how do you mean? are you looking for ways to store code within code to reference from another code?
YouTuber Corey Schafer, playlist for Python beginners.
are they for begginners?
yes i m here to practice python yes im very intersting
what i mean is where when i download it i can see it visually like a video
im talking about here if you make lessons here on discord
let me find the video i foudn it from
okey thanks if i see someone teache pythone im gonna join to him
@eager quail @mortal venture π
Hello
tkinter
alright thanks i just got bored so im trya learn python
i mean why not it was the only reason i wanted to learn coding
@reef shuttle π
okey guys thank you
sickk
π
@median hull π
@quick mica π
hi
great, I have made similar thing implementing DES, AES, Playfair and RC4
Diffie hellman also
!d argparse
New in version 3.2.
Source code: Lib/argparse.py
Tutorial
This page contains the API reference information. For a more gentle introduction to Python command-line parsing, have a look at the argparse tutorial.
The argparse module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv. The argparse module also automatically generates help and usage messages. The module will also issue errors when users give the program invalid arguments.
@winter flower π
might be a dumb question but what does this mean exactly
patient was not declared
you need "" before and after patient
you should define patient as you have defined age
because otherwise its a variable but you need a string i guess
the variable patient has not been defiend before
foudn that out myself quite proud lmao
@scenic tangle π
me too, I am just a hobbiest @somber heath
have you seen me implement a research paper from MIT using python ? XD
what does true and false mean
think of them as yes or no
they are also equivalent to 1 and 0 respectively
this is a great article https://www.pythontutorial.net/advanced-python/python-bool/
!e py print(5 > 3)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
True
!e py print(5 < 3)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
False
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hi!
!e py if True: print('Hi!')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hi!
I like how you explain, it's like on college.
Opal is actually a great teacher
yeah, @somber heath you look like a college professor, no offense it's great
!e py if 5 < 3: print('Hi!')
@somber heath :warning: Your 3.11 eval job has completed with return code 0.
[No output]
!e py if False: print('Hi!')
@somber heath :warning: Your 3.11 eval job has completed with return code 0.
[No output]
!e py if 'abc': print('A') if '': print('B')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
A
!e py if [1, 2, 3]: print('A') if []: print('B')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
A
!e py if 1: print('A') if 0: print('B') if -1: print('C')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | A
002 | C
so basically if u write something as false but its set to run at true it wont run? or am i wrong?
!e py print(bool('abc')) print(bool(''))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | True
002 | False
!e py condition = False ... if condition: print('A')
@somber heath :warning: Your 3.11 eval job has completed with return code 0.
[No output]
if condition:
# Code to execute if the condition is True
else:
# Code to execute if the condition is False
something like this?
@marble cave π
ahhh
Each if stanza consists of...py if condition: "Exactly one if" elif some_other_condition: "Zero or more elif" else: "Zero or one else."
if ...:
if ...:
...
else:
...```
the if hell
@marble cave that's why they introduced match in python 3.10 which is similar to switch in other programming languages
im writing this code and experiment on it
x = 5
y = 10
if x < y:
print("x is less than y")
else:
print("x is not less than y")
but this pops up
assign?
!e ```py
x = 5
y = 10
if x < y:
print("x is less than y")
else:
print("x is not less than y")```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
x is less than y
yo
im going to sleep first im gonna continue tommorow i might go insane
thanks and see youu!!
@somber heath You sound like professor snape in harry potter
no offense
this is also nice
(alan rickman)
anyone from eastern Europe maybe?
cool
isnt that northern EU?
dumbledor had too much responsibility
From Bosnia
@somber heath how can i talk ?
cevape π
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
haha opal i beat you to it
Do you like cevapi?
parseltongue
yeah, aldi sells them in a blue bag
dumbledoor had too much responsibility, preparing for the finale, preparing harry and protecting him. He is an iconic character
The best charcter in the harry potter series in my pov is emma watson
not being reckless for the whole series.
hermione rocks
the best villan charcter is bellatrix lestrange
@whole bear @somber heath what is the best villain character in your pov ?
sirius black is not a villain
yeahh
yeah, very well written
Hannibal is an American psychological horror-thriller television series developed by Bryan Fuller for NBC. The series is based on characters and elements appearing in Thomas Harris' novels Red Dragon (1981), Hannibal (1999), and Hannibal Rising (2006) and focuses on the relationship between Federal Bureau of Investigation (FBI) special investiga...
Hannibal is great tv show
Morena Silva de Vaz Setta Baccarin (Portuguese: [moΛΙΎenΙ bakaΛΙΎΔ©]; born June 2, 1979) is an American actress. She is best known for portraying Inara Serra in the sci-fi series Firefly and its follow-up film Serenity, Vanessa in the superhero comedy franchise Deadpool, Jessica Brody in the Showtime series Homeland, Dr. Leslie "Lee" Thompkins in t...
Deadpools girlfriend π
there is a tv show with her that is great, give me a min to find it
it's a must
Born
June 2, 1979Rio de Janeiro, Rio de Janeiro, Brazil
bye opal
zonk
π’
could sombody tomorrow evening help me finish my game im kinda slow at learning coding and i need to be with a final starter game at monday
if i want to continue learning where i learn
?
I'm around when I'm around.
i will only be able in the evening like 7 hours from now
i already have the base and the idea for the game i just need help to make it happen
@somber heath can you pm me
I can. I will not. What's up?
It's okay. I will ask someone else
Why does it need to be over DMs? Or is that a secret, too?
Because i want to have secrets with you
hi
halo
still learning true or false haha
i just learned that python is picky with caps
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
β’ PEP 8 document
β’ Our PEP 8 song! :notes:
Naming Conventions.
is this considered as an IDE?
nice nice
is that gud or bad? "super juicy"
nice
no not rlly
i like germay tho
my friends just wnated a group Nick name
@raw violet π
editorr and then
its got a mark
not yellow tho
whats cell?
is it basicallly like execute? no?
cool
but why does it syntax and the play button does not
this thing
!e py 'abc'()
@somber heath :x: Your 3.11 eval job has completed with return code 1.
001 | /home/main.py:1: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
002 | 'abc'()
003 | Traceback (most recent call last):
004 | File "/home/main.py", line 1, in <module>
005 | 'abc'()
006 | TypeError: 'str' object is not callable
i know what it means but why does it only do that for run cell
screenshot of the what again?
it does act different
his thing
does it got to be specific?
im gonna re do it just in case
str = "one"
str = "two"
print(str)
it does work
i just got a typo
mb
ye ye
str1 = "one"
str2 = "two"
print(str1+" "+str2)
so this would print str_one
str_one = "one"#variables
str_two = "two"#variables
print(str_one)#this prints
if im not mistaken?
ahh ok ok
hi
hello
so this would run both
str_one = "one"#variables
str_two = "two"#variables
print(str_one+""+str_two)#this prints
i am new at python and i saw there is something like ** what is this doing?
im new too but as for i know its like exponents
Ohh thanks
can i ask where you get the examples?
well im glad i asked!
what does loop mean exactly?
run forevr?
OHHHH
wait but there is no x in banana
ohhh
x is a variable which represents each iterble element of banana
yeah yeah now i understand thanks
its not letting me open the voice becuase i didnt did the 50 messages here
and i wasnt in this server for 3 daysss
i want code challenges
wait someone know what the return function do?
thanks
import pandas as pd
from modules import ohlcv, strategy
def main_loop(exchange, symbol, debug, timeframe):
df = ohlcv.read_data(symbol, debug)
last_candle_index = df.index[-1]
in_trade = False
stop = 0
take = 0
while True:
candles = exchange.fetch_ohlcv(symbol, timeframe, limit=2)
# Create a DataFrame from the candlestick data
df = pd.DataFrame(candles, columns=['Timestamp', 'Open', 'High', 'Low', 'Close', 'Volume'])
df.set_index('Timestamp', inplace=True)
df = df.drop(df.index[-1])
if last_candle_index != (df.index[-1]):
last_candle_index = df.index[-1]
df.to_csv(f'{str(symbol).replace("/", "_")}.csv', mode='a', header=False)
in_trade, stop, take = strategy.strategy(symbol, debug, in_trade, stop, take)
import pandas as pd
import talib
import pandas_ta as ta
from modules import buy, sell, ohlcv, logging
def strategy(symbol, debug, in_trade, stop, take):
df = ohlcv.read_data(symbol, debug)
df['DEMA'] = talib.DEMA(df['Close'], timeperiod=200)
df['ATR'] = talib.ATR(df['High'], df['Low'], df['Close'], timeperiod=5)
atr_length = 14
multiplier = 3.0
supertrend = ta.supertrend(df['High'], df['Low'], df['Close'], atr_length, multiplier)
df['ST_Indicator'] = supertrend['SUPERT_14_3.0']
if in_trade:
if df['Close'].iloc[-1] < stop:
sell.sell(symbol, df['Close'].iloc[-1])
print("stop loss hit")
in_trade = False
elif df['ST_Indicator'].iloc[-1] > df['Close'].iloc[-1] and df['ST_Indicator'].iloc[-2] <= df['Close'].iloc[-2]:
sell.sell(symbol, df['Close'].iloc[-1])
in_trade = False
elif not in_trade:
if df['Close'].iloc[-1] > df['DEMA'].iloc[-1]:
if df['ST_Indicator'].iloc[-1] < df['Close'].iloc[-1] and df['ST_Indicator'].iloc[-2] >= df['Close'].iloc[-2]:
stop = (df['ATR'].iloc[-1]*1.5)
take = stop*2
buy.buy(symbol, df['Close'].iloc[-1], (df['Close'].iloc[-1]+stop), (df['Close'].iloc[-1]+take))
in_trade = True
else:
in_trade = False
logging.log_message("INFO", "in_trade", f"setting intrade False")
return in_trade, stop, take
```
hello
what does this exactly do?
oh gtg boutta rain see you in abit
exchange = ccxt.binance({
#'apiKey': 'YOUR_API_KEY',
#'secret': 'YOUR_SECRET_KEY',
})
2023-09-17 08:25:36 INFO start bot starting
2023-09-17 08:25:36 INFO ohlcv.get_ohlcv getting data for: BTC/USDT
2023-09-17 08:25:40 INFO ohlcv.get_ohlcv got data for: BTC/USDT
2023-09-17 08:25:40 INFO ohlcv.get_ohlcv data coverted to dataframe for: BTC/USDT
2023-09-17 08:25:40 INFO ohlcv.get_ohlcv Candlestick data saved to BTC_USDT.csv
2023-09-17 08:25:40 INFO Main_Loop Looking for trades
2023-09-17 08:30:59 INFO SELL symbol: BTC/USDT, price: 26543.24
2023-09-17 08:42:58 INFO SELL symbol: BTC/USDT, price: 26526.76
2023-09-17 09:09:58 INFO SELL symbol: BTC/USDT, price: 26496.67
2023-09-17 09:37:59 INFO SELL symbol: BTC/USDT, price: 26538.26
Recorded live on twitch, GET IN
https://twitch.tv/ThePrimeagen
MY MAIN YT CHANNEL: Has well edited engineering videos
https://youtube.com/ThePrimeagen
Discord
https://discord.gg/ThePrimeagen
Have something for me to read or react to?: https://www.reddit.com/r/ThePrimeagenReact/
Hey I am sponsored by Turso, an edge database. I think they ...
hi
for the voice verification u need 50 messages how can i see how many messages i typed?
what happened to server logo
could i get help now?
!voiceverify
i really need help i need to be with a working game by tomorrow 6pm and im a slow learner in coding
someone know how i look on how much messages i typed in this server?
:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1694960444:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
@whole bear don't spam in order to hit the voice verification requirements, else you'll get voice banned, and it'll take even longer
!unmute 1029747819285860454
:incoming_envelope: :ok_hand: pardoned infraction timeout for @whole bear.
@whole bear @mighty robin π
hey
i still cant talk yet
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
since i joined today
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
lol
@somber heath unfortunately I only joined today.
My English level is low and I want to learn English in conjunction with learning programming
I would like to start learning with the basics of programming
Maybe you can give me some advice
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
ohh yeah, thank you
What better way to learn from the very basics of computer science?
What about the way the computer works when running the code?
at this point I have no idea what the basics are anymore
there's just too many things
@vivid gorge π
and things that are common for different branches of programming are far from basic in learning,
they are gained through experience rather
hello
@vapid parrot π
sorry I was trying to find out how to verify
or while you try to find out how to voice very
I recently started programming in Python( and in general )
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ok
@whole bear π
I will just keep talking in here
Boi
those would also probably be guiding-principle-ish, not just something you can learn on its own in a course/tutorial
π€
Me too
I have a project that is 1000 lines of code (not joking) that should be like 500 I just don't know how to optimize it
simplify rather than optimise?
What is the project about ?
sorry my bad I get them confused I am not used it it
a macro
but not a simple one
it has a lot of features
I have to go
you can make features "data" instead of code, which would be interpreted somehow
i.e. find things that are common between then
Bye
@final urchin π
the way it works is their is kind of a small macro language for the program that allows for very customizable macros while also being easy to code for me
you type commands in a text box and press the start hotkey or the start button to run everything
this is so cool now i want to make one (not sarcasm)
this is the coordinates window:
tbh just be careful where you install things and then download one online
yeah ofc but i meant i wanted to make one
commands are interpreted as just a list of arguments (arguments are strings separated by space, commands are one per line)?
yes
split up by lines the first thing you type (seperated by spaces) is the command and everything else is arguments
for commands handling, there are some things that can simplify the process; for example:
decorators to define commands/subcommands,
match statements to work with arguments
there may be existing tools to do this (argparse, for example, can be used outside of CLI context too, if configured properly)
I started this project when I was very new to python so all the commands are interpreted by one function with a lot of elif statements
if/elif/else can be replaced by match in new versions of Python
if x == 1:
...
elif x == 2:
...
else:
...
match x:
case 1:
...
case 2:
...
case _:
...
new being 3.10, iirc
!d match
8.6. The match statement
New in version 3.10.
The match statement is used for pattern matching. Syntax:
match_stmt ::= 'match' subject_expr ":" NEWLINE INDENT case_block+ DEDENT
subject_expr ::= star_named_expression "," star_named_expressions?
| named_expression
case_block ::= 'case' patterns [guard] ":" block
```...
I have a bootleg version of that that still uses a lot of elif statements but they are used better
I made a function that that takes a string (most of the time a argument or command) and a list of strings. If one of the things in the list is the string then it outputs true
match is slower sometimes
ah


