#voice-chat-text-0
1 messages ยท Page 920 of 1
totally understandable
@odd sable got it ๐
Whats a "high-functioning autistic"? Never heard of it, im sorry if its offensive in any way
I was not the person who brought up the political plight of waitresses! I am 100% on topic!
@rugged root does that seem ok to you?
Ask me again another time.. I got to go
all good
Sorry, not sure what you're asking.
If you can discuss politics here?
halloo
damn everyones a simp in this chat
flight left at 3:50
so I would argue that, in general, class inequality is a good thing, especially over the long term. It respects the agency of every person, and today's luxuries become tomorrows necessities. A poor person today lives much longer and with much better accommodations and diet than a king a few hundred years ago.
Just let me know if I should do something different here...
Like Hemlock said it is fine to argue as long as both parties have mutual respect for each other, and also let each other talk.
I am still waiting to hear whether I am even allowed to argue, or whether doing so is too confrontational
I think you'll come across differently in text chat - nobody is telling you not to talk here.
Saying that Microsoft has been convicted of felonies seemed absurdly unpopular
Yeah, there are a lot of MS fans around... lol. I think I agree with your criticisms about MS, but I try to give them credit for their good stuff too.
I think you're trying to do so too
I don't believe anyone who can accept a .doc resume would refuse a .txt resume because they could just copy it into one
In voice chat you get a very earnest tone in your voice and wind up talking so much that nobody else has a chance to speak, though. I think that's the issue Hemlock had.
companies who want square pegs for their square holes will apply any arbitrary requirement.
So I have to ask myself, will I jump through the hoop or do I have too much pride to do so.
And the answer to that depends on how much I want the job...
you can play pydis staff whack a mole
If your CV is in LaTeX and you send them both it won't matter
ooh game hmm
what do you guys think about the new message intent ?
๐ญ
i hate it when people suffer because of the H in my name ๐ญ ๐คฆโโ๏ธ
๐คฃ
@spice oracle did I pronounce it right
yes ๐คฃ
yay
i use edpy, i didn't have to change anything
it uses the same @commands.command
for like slash commands
the only problem i kinda see in slash commands is that like the server is gonna look like shit
cause like if you have a lot of bots and you do /
you see alot of bots, and that is kinda pain in the ass
it fixes the mentioning problem tho ๐คฃ
Panda, what lib you use ?
surely this deserves the tag blatant advertisement for quick deletion
https://simple.wikipedia.org/wiki/Huda_TV
Huda TV is a Satellite TV and internet television channel free-to-air, English language, Islamic-focused, offers the message of Islam in English. It was Launched in 2005.
There are many satellite channels available to viewers around the world, but one in particular stands out in terms of quality programming, decency and commitment to the message...
I mean, really
Huda seeks to be your comprehensive satellite channel offering a wide variety of programs.
since when is that encyclopedic content
will you care if i send the commands for my bot ?
Sure
This my current source code -> https://github.com/Pandabweer/dispy-discord-bot
I looked at the python bots source code an used some of those functions.
https://github.com/lvlahraam/Pemgu-Bot my source code if you wanted to take a look at it
hey, what's spoticord? ๐
does disnake have context menus ?
music bot controlled by spotify application
That's a music bot i wanted to make but then i found out that it's kinda against ToS i did develop it a bit more but i stopped since if i'd release music i'd making it a private repo. And not share it online.
gotcha
controlled by spotify?
not by the spotify organisation
you link it to your spotify account
no i mean
when you start playing a song in spotify the bot mirrors it
Panda can you give me the link for disnake ?
hmm this conversation reminds me of something
you guys have watched mr. robot right ?
I haven't
sadge
no like i was gonna point out something else
is it wrong if i link a video on youtube about the mr. robot ? ๐คฆโโ๏ธ nvm
well, it was good chatting with you guys ๐คฃ , i have to go sleep good night ๐
Later :)
hey
so a classemate was trying to find a maximum in a list of sets aka the maximum value in all sets
and he wrote this
max([{1},{2,3},{3}])
i know this is wrong and i helped him
but i want to know what a max of lists of set means
like why do i get {1} for this exemple
Would be nice to actually respect their wishes.
yo
it's too early
Yoo
Yes it is a millon
@keen shell
I am from India as well
Afk
Hi
I am back now
Any tutorials about Importing stuff perfectly
you have two options
import module_name
or
from module_name import specific_thing_you_need
Importing was a big issue last time
that's kinda all there is about it
yeah?
Yep
thats odd
@sinful igloo change pyadio to pyaudio
import pyttsx3
Assistant =(pyttsx3.init)
this
Yahoy.
Yoo
I have thoughts, too, sometimes.
espeak
This is only code software I hope it works
For an iPad it is great i say
For the python package pyttsx3, I need to have the Linux package espeak installed, otherwise I get the following error:
Traceback (most recent call last):
File "main.py", line 3, in <module>
Assistant = pyttsx3.init()
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pyttsx3/__init__.py", line 22, in init
eng = Engine(driverName, debug)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pyttsx3/engine.py", line 30, in __init__
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pyttsx3/driver.py", line 50, in __init__
self._module = importlib.import_module(name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pyttsx3/drivers/espeak.py", line 9, in <module>
from . import _espeak, toUtf8, fromUtf8
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pyttsx3/drivers/_espeak.py", line 18, in <module>
dll = cdll.LoadLibrary('libespeak.so.1')
File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libespeak.so.1: cannot open shared object file: No such file or directory
How do I install the package espeak on repl.it? I can't figure out how to use apt on it.
that is your problem
Ungh.
@cerulean ridge
brb
Yes
nou
@cerulean ridge
Buk buk buk!
it's chicanery
What should do with this notebook like
Close enough.
Chicken Soup Lol
@cerulean ridge
u can even use gtts
so, instead of left an right in repl, it is top and bottom, one after the other
in repl, left is code, right is output
in google colab
you have code, then output, then code, then output
and then you can use !pip install
you should start by copy pasting stuff from your repl to one of the code block
and then press ctrl+enter
https://colab.research.google.com/ try this link
@cerulean ridge o/
o/
what is that? is that an emoticon of someone waving?
That's the idea.
very nice idea, I love it!
Just something I've managed to pick up.
I getting used to this
I am going to add this
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
This was the error this who
E time
that was on purpose
@hollow furnace Hello. You have some very loud music going on there. ๐
What
?
Oh its due to linux
i was getting rick rolled by someone
and guess my audio was on
Ah, of course.
Well, I'm glad.
Because this means you'll be able to rejoin without it happening again and we can all be good friends. ๐
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Yeah I do not fulfil that criteria right now
We have a level 2?
we don't even have any
and I obviously can't visit the shop to buy any while I have a cold
CHIKKAN SOOP > chicken soup
I just started learning python from a free Course on YouTube. I have a few questions :-
- Is it important to make pen and paper notes, as you do with any other thing in school ?
- Is there any good FREE resource where I can practice a few basic problems ?
@zenith radish aww , that kitty is cute
- No. Which is not to say planning is bad. You can write stuff down. The medium doesn't matter. Whatever works for you is fine.
2...
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
!kindling
Kindling Projects
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.
@gentle flint Do you need a slave boy to fan you?
not here
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-1de745b63d50> in <module>()
----> 1 import pyttsx3
2 get_ipython().system('pip install espeak')
3 Assistant = pyttsx3.init()
ModuleNotFoundError: No module named 'pyttsx3'
!code
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.
import pyttsx3
!pip install espeak
Assistant = pyttsx3.init()
import pyttsx3
!pip install espeak
Assistant = pyttsx3.init()
What is it then?
@sinful igloo If you're not talking to us, make sure you mute
We can hear everything you're saying
Hoydlehidle.
Well, if LP ever dies mysteriously...blame the scarab.
Also a good way to fuck up your lungs.
Though maybe that ship has sailed.
Maybe just don't use us as references, then.
"LP? Oh. Yeah. Total weirdo."
OOH!
ooh ooh ooh
The gang-gang cockatoo (Callocephalon fimbriatum) is found in the cooler and wetter forests and woodlands of Australia, particularly alpine bushland. It is the only species placed in the genus Callocephalon. Mostly mild grey in colour with some lighter scalloping (more pronounced and buffy in females), the male has a red head and crest, while th...
Food is uniting.
I'm still in awe of those birds
We get them around here, but they tend to hang around down the street a bit.
Not so much around this property.
Had one of the bronzewings go between my feet, today.
Which is progress for them.
Have been hearing, but not seeing the sulphur cresteds around. Haven't had any down in a long time.
One a week or two ago.
Do they smell as bad as their namesake?
They smell a bit like chicken coop.
Not sure if that's better or worse than sulfur
Better.
sand is way more annoying than mud
what the fuck
lol
lmso
in Lithuania @whole bear
lol
@sinful igloosend the error
NameError Traceback (most recent call last)
<ipython-input-3-236de2acd9bc> in <module>()
1 get_ipython().system('pip install pyttsx3')
----> 2 Assistant = pyttsx3.init()
NameError: name 'pyttsx3' is not defined
might as well send the code
Ok
i dont think he imported the module
@rugged root A generalised sense of disaffection that pervades those of intelligence?
good evening
This is my code
!pip install pyttsx3
Assistant = pyttsx3.knit (โGoofyโ)
voices```
also cool new logo
Hm 0.0
This is code
I feel like I missed/forgot the context
"Smash the system"
Reasonably cryptic and cursed
is that Haskell?
PureScript, but they're related
ohk
I have sent my code
JavaScript, TypeScript and now there is PureScript ๐
!pip install pyttsx3
import pyttx3
Assistant = pyttsx3.knit ("Goofy")
```try this
I did lol
Renaming the language from PureScript to Purs was actually brought up before in the community
Well, Purs is also already sort of how people refer to it
and it'd be cool to have a cat mascot too
every language cannot have that
๐ฆ
Result:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-8e530f6a7f5e> in <module>()
1 get_ipython().system('pip install pyttsx3')
2
----> 3 import pyttx3
4 Assistant = pyttsx3.knit ("Goofy")
ModuleNotFoundError: No module named 'pyttx3'
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
inplace of ''goofy use sapi5
When they're stuck up in the tree, I think.
You misspelled pyttsx3
tell that to @sinful igloo , its his code- and i've no idea what the code does tbh
oh i am sorry actually i didn`t looked at whom am replying to
ok
its fine :)
Ye
rip my google drive TwT
._.
U_U
;_;
UwU
o_o
6_9
why i cant talk?
how about font atrocities
check: #voice-verification
The Company Our Vision Intelistyle uses A.I. powered styling to personaliseย the customer experience of fashion retailers by styling their customers with the right clothes and outfits for them,ย onlineย orย in store. We do that by creating outfit recommendations for clothes that retailย customers already own or want to buy.ย This allows retailers to s...
sus
that font wouldn't be so bad a little bit bolder
looks like computer modern
...we have lizards.
Lots of co-workers back here today
@zenith radish You shit-talked Python. Your opinion is invalid.
@zenith radish Rust presents complexity up front
People don't like complexity up-front
If they decided they didn't like you being near them, you're going to have a bad day.
Meals.
Better than live targets.
If you follow Tested on YouTube, Adam's doing stuff on there.
Requirement already satisfied: pyttsx3 in /usr/local/lib/python3.7/dist-packages (2.90)
KeyError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pyttsx3/init.py in init(driverName, debug)
19 try:
---> 20 eng = _activeEngines[driverName]
21 except KeyError:
12 frames
KeyError: 'sapi5'
During handling of the above exception, another exception occurred:
ModuleNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pyttsx3/drivers/sapi5.py in <module>()
----> 1 import comtypes.client # Importing comtypes.client will make the gen subpackage
2 try:
3 from comtypes.gen import SpeechLib # comtypes
4 except ImportError:
5 # Generate the SpeechLib lib and any associated files
ModuleNotFoundError: No module named 'comtypes'
How to fix this?
!pip install comtypes
Ok
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.
It should, unless something breaks
Requirement already satisfied: pyttsx3 in /usr/local/lib/python3.7/dist-packages (2.90)
Collecting comtypes
Downloading comtypes-1.1.10.tar.gz (145 kB)
|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 145 kB 5.1 MB/s
Building wheels for collected packages: comtypes
Building wheel for comtypes (setup.py) ... done
Created wheel for comtypes: filename=comtypes-1.1.10-py3-none-any.whl size=164937 sha256=ca850f0cf9073617ec0dbaf43416f956544fa3f89e1f47da667c396fd4c0d001
Stored in directory: /root/.cache/pip/wheels/ac/d9/86/f150377841ceef17cc9831ead2989c241b39e973269b347653
Successfully built comtypes
Installing collected packages: comtypes
Successfully installed comtypes-1.1.10
KeyError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pyttsx3/init.py in init(driverName, debug)
19 try:
---> 20 eng = _activeEngines[driverName]
21 except KeyError:
13 frames
KeyError: 'sapi5'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/comtypes/init.py in <module>()
21
22 from ctypes import *
---> 23 from _ctypes import COMError
24 from comtypes import patcher
25
This is the issue
How to fix this
please
this looks like your problem
https://stackoverflow.com/questions/60028583/python-keyerror-sapi5
Ok
thank you
basically try forcing version 2.6 of pyttsx3
Requirement already satisfied: pyttsx3 in /usr/local/lib/python3.7/dist-packages (2.90)
Collecting comtypes
Downloading comtypes-1.1.10.tar.gz (145 kB)
|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 145 kB 5.1 MB/s
Building wheels for collected packages: comtypes
Building wheel for comtypes (setup.py) ... done
Created wheel for comtypes: filename=comtypes-1.1.10-py3-none-any.whl size=164937 sha256=ca850f0cf9073617ec0dbaf43416f956544fa3f89e1f47da667c396fd4c0d001
Stored in directory: /root/.cache/pip/wheels/ac/d9/86/f150377841ceef17cc9831ead2989c241b39e973269b347653
Successfully built comtypes
Installing collected packages: comtypes
Successfully installed comtypes-1.1.10
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pyttsx3/__init__.py in init(driverName, debug)
19 try:
---> 20 eng = _activeEngines[driverName]
21 except KeyError:
13 frames
KeyError: 'sapi5'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/comtypes/__init__.py in <module>()
21
22 from ctypes import *
---> 23 from _ctypes import COMError
24 from comtypes import patcher
25```
see if it fixes it
Not yet
@wet hamlet
FreeRDPServer , Get your free rdp windows no verifications free rdp windows 10
free rdp windows 7
free rdp windows trial
free rdp windows 2019
free rdp windows admin
free rdp windows 10 home
free rdp windows 2018
free rdp windows server 2012
free rdp windows xp
free rdp alternative windows
free rdp account vps windows
free rdp client windows xp
...
yeah nah
This is so sketch
There already free RDP clients available
Flee.
that's sketch
For every OS
Typically built in
please dont do that
@zenith radish you can be a sr django dev, don't listen to the haters
we're not haters, just discouragers
Hello
hi
django jobs in israel lol
I need some major help
yea you do
I will give you major croissant you give me major Help
Are u asking for real
i want
croissant
there are tons of senior dev jobs open, they only want old men with no education and decades in the industry LOL
alack, alas
But I really need
not many jr dev positions at all
what shall I eat then
No
yes
๐ณ
Nothing like an over priced computer and cheese
mmm yes
yes UST has a lot of python jobs
I want you to help me
Do you have a moment to talk about our lord and savior, Poetry?
Poetry makes pypi really easy
UST offered me $70k for entry level position
Pardon my ignorance, UST?
Yeah seems.... huh
with what
With the code which I am working on
They want a lot of linux devs too
what about the code
All the WITCH are
whats WITCH
@gentle flint
When you've gotten around to asking your question, please warn me.
@zenith radish no
Ok
W- Wipro I- Infosys T- TCS C- Cognizant H- HCL A- Accenture India
How to fix my key error lol
Do people toss them coin?
Senior devs are overpaid. I'm under paid I promise you
UST should be added to the list but WITCUH doesnโt roll off the tongue
@wind cobalt no one is paid by how much work you do.
Some of the richest people are rich because they invested in a company that other ppl run for them
I think I think of bridge engineers for some reason.
That's what we've been saying
OCaml is a very common functional language
Numerous bridge games?
Dude
If I didn't have access to a computer to program on, I would simply get a computer to program on
LOL
I am going to become mad
I know, thats the joke
@sinful igloo It might be easier to get help via the help system. See #โ๏ฝhow-to-get-help for that
Guys
Ineed an way to fix this
whats the key error
Saying you are going to quit isnโt going to encourage us
I am F*cked Up
Deep breath. Like I said, take a step back. Getting mad isn't going to help fix it
@whole bear I assure you this is a regular occurrence, gender not withstanding.
Yes
Yes
"Meesa Jar Jar Binks. Thisa meesa visa."
which topic
yea but in general what, do you have some error or a module or installation or ide or typehinting
nah man cant
I will stream my problem
i mean you can just show the error
It is a key error and a module error
hmm your code?
Ok
come to code help voice 0
Sup everyone!
Sup
what ui is this?
Google Colab
hmm weird then like module error shouldnt happen
what does it say after key error
!pypi comtypes
runnin this much of code shouldnt give either of the errors
@sinful igloo you still there was this the whole code?
@gentle flint how are they different from any of the other PIGS?
its more like 30% of the vacant jobs in UK is python
Last semester they were teaching us LISP, COBAL, FORTRAN
How do you rewrite this code to be properly:
a = 5
if True and (b := a, b == 5 and 1 == 0):
print("Yees")
hm?
Why would you even have the if True part. That doesn't add anything to it
it's a replacement for another condition checking ๐
But itโs not main language
same with 1 == 0 which stands for false value - but this condition evaluates to True eventually!
it's a reason why I ask ๐
If I'm looking at it right, it's because it's evaluating the tuple that it makes as True, since it's not empty
@zenith radish Because Java shoehorned OOP into the mainstream
Yeah basically just that
Java is the corporate language
@zenith radish this? https://www.youtube.com/watch?v=QyJZzq0v7Z4
Richard is a member of the Elm core team, the author of Elm in Action from Manning Publications, and the instructor for the Intro to Elm and Advanced Elm courses on Frontend Masters. He's been writing Elm since 2014, and is the maintainer of several open-source Elm packages including elm-test and elm-css packages.
So - how to do that properly?
I want to check something at the first and next use my variable (currently assigned by walrus operator) more times
How to write this code not as long as currently there is?
if (
True
and mydict.get("mykey")
and isinstance(mydict.get("mykey"), int)
and mydict.get("mykey") > 30
):
print("Very looong")
We're being taught C++ which is equally painful
I mean I would strip out the True for one
yea, True stands here just for another condition ๐
I would be more than happy to learn C++ since I write it in my free time but I have to learn Java
My laptop is crashed out of my house
But how to reduce multiply calling mydict.get("mykey")?
dict.get() returns None by default if the key is not found
You can do it all with just the mydict.get("mykey") > 30 would cover all three of those
Only part it'd be iffy on is if it's an int or a float
But in most cases it doesn't matter too much
I have the worst laptop in the world
I would just go for this at a brief look
if mydict.get("mykey") > 30:
print("Very looong")
Guys
compare None and 30 ๐
Tis but a scratch
But it lags like crazy
Careful
>>> x = {'mykey':''}
>>> x.get("mykey") > 30
TypeError: '>' not supported between instances of 'str' and 'int'
How to fix the key error
Static typing is useless if compilers aren't helpful with their error messages
I can explain this to you in VC 1 if you would like @smoky inlet
Maybe go to help-cookie for example
I am going make this work
I don't like being muted.
The compiler's your best friend until it has a shotgun and shoots you in the foot every time you make a mistake
I get it but reeeeeee
Sure but itโs still better to find out at compile time then run time
yup
sounds a lot like C++
Worse, if it deletes your source files while doing it
runtime errors are a bane of existance
Seg faults are the bane of my existance
that also
yeah just give him access to your prod environment shit
DevOps here, fuck runtime errors
Bet
I donโt care if I have to waste 1000 builds on compile errors
Handling errors algebraically through types is a lot better than just slapping this raises exception x or none at all in the documentation
@swift valley
BTW, Iโll also point out that Better Type Handling is #1 requested feature in PyCharm survey
@timber silo Check out the #voice-verification channel. That'll tell you what you need to know about our voice gate system
On a related note, you can always talk in here. Typically if we're in the voice chat, we'll be watching the paired text channel
Makes me wonder they'll bend on that
sleepy cat @zenith radish
I remember reading or hearing that there's no intent to make typing required or affect the running in any way (although other libraries are free to do so and do).
This is a poll of what users want. Core team can disagree but most pro devs think Typing should be run time option
And FastAPI/Pydantic show disagreement with core devs
Itโs obviously something that would be in Python 4 if it was implemented.
I need an internship..
Could look through your college
Typically a good way to find them or at least keep an ear to the ground
I had two internships cancelled on me last year. I graduate in December so I am out of luck
Yeah true
wya
Texas
What part if you don't mind me asking?
Hello Mr Hemlock
Lived a bit in Amarillo, only reason I ask
How are you sir
Anyone got 'em context managers?! ```python
async def start(self, token: str, intents: int) -> int:
async with anyio.create_task_group() as tg:
async with RESTClient(None, token=token) as session:
self.api = session
async with self.ws.connect(await self.api.fetch_gateway(), token, intents) as conn:
async for data in conn:
self.dispatch(data['t'], data, tg=tg)
# True will become 1 (exit code meaning an error occured)
# False will become 0 (which means the program exited with no error)
return int(tg.cancel_scope.cancel_called)
I'm okay, 'bout you?
This is so many levels of indentations ๐ข
I'm great ๐๐ป
Houston
People who have money and people who are broke
!e ```python
class Ctx:
def enter(self):
return 'abc'
def exit(self, *args):
return
class MyTest:
def test(self):
with Ctx() as self.attr:
print(self.attr)
MyTest().test()
@brave steppe :white_check_mark: Your eval job has completed with return code 0.
abc
boojie
ADJECTIVE
slang
haughty; elitist; snobbish
btw: you can assign attributes in context managers?!?!?!?!?!?!
@rugged root when you said "Typing with long nails" I just remembered this: https://www.youtube.com/watch?v=mEHHHPara3E
What's your question
what is tiktok?
@rugged root https://www.youtube.com/watch?v=i4O0nr-W4fY
Basically I have an exam on uni on thursday
and they gave us like a really big task of 5 sections
and I wanna try understand how it works
so if you are willing to explain in vc in like 15 minutes I would be really grateful
except i just joined
so i cant vc here yet
@rugged root - Why are there poptarts but no momtarts?
@rugged root - wait - it's a two part joke
Because of the pastryarchy
That's magical
shenanigans are you a dad?
lolol
@rugged root soo
I really am not able to assist right now. I'm swamped at work. If you write it out then someone else might be able to assist when they can. Your best bet is going to be by using the help system. See #โ๏ฝhow-to-get-help for more details on that
hmm ok
goddddddddd no
what is this
LMFAO
gdi gilly
tf
But more seriously, I was just asking if she had her own
@vivid palm and i are more like #richauntiegoals
@zenith radish based
shenanagins explain
i got one too
Awful pickup line: Are you a dad? Because I want to make you one.
my evidence ._.
i refuse this too 
hey, are you interested in human rights? 'cause I'm interested in the human wrongs
@sweet lodge, please enable your DMs to receive the bookmark.
I can't believe you've done this
๐คฃ
i dont want to click this link
It's a link to this message
"Are you a fan of welfare programs? Because I want to make you pay child support."
wait this is adorbs tho
Whatever happened to getting married and living happily ever after?
i'm also an amazing driver. ppl get out of my way
this is a great pick up line
eh. people just hookup now and get divorced. at least that's how it is in the us.
LMFAO
uber for house husband
so basically tinder, except people don't have to lie about not being married
Uswag kamo ha Waray Wikipedia!
Amo ini an balay han/san Winaray o Binisaya nga Lineyte-Samarnon nga Wikipedia, an libre ngan gawasnon nga ensayklopedya nga bisan hin-o puyde magliwat o mag-edit. An Wikipedia syahan gintikang ha Iningles nga yinaknan han tuig 2001. Ini nga bersyon Winaray gintikang han ika-25 han Septyembre 2005 ngan ha yana ma...
y is that in tagalog. english only, plz
I have the sudden urge to make a dating app where you either match with or hire a hug called Tender
Followed by a spinoff to help you order chicken called Chicken Tender
Tender would be a great app for something steak-related
LOL
mmmmm steak
it's in winaray
srsly that paella was so sosoos good
it can. it doesn't have to have shrimp
gurll are you from or near NY
just fancy spanish rice dish
Paella valenciana is the traditional paella of the Valencia region, believed to be the original recipe,[5] and consists of round grain rice,[6] bajoqueta and tavella (varieties of green beans), peas, rabbit, chicken, sometimes duck and garrofรณ (a variety of lima or butter bean) cooked in olive oil and chicken broth.[7][8] The dish is (sometimes) seasoned with whole rosemary branches.
guuuuurl, if you wanted paella, we should have gone to socarrat
hnnnng
i didn't know i wanted it ._.
suckarat
it was so good tho
hungnngngnnsdfnngn
it's your server lol
pilkis
_american alphabetโข๏ธ _
oooo i need those curtains
@restive geyser i found fisher's pick
don't discord & drive, my guy
she is clingy
Excuse you
i mean
We speak American
like owner like dog
you did abandon her for a weekend.
das true
LOL, I'm not clingy! hdu xD
American what?
The language
to call her clingy after abandoning her for a week is :/
I speak American!
i would gladly take ella, if i had a backyard
I need a backyard
@wind cobalt , it's called puberty.
Hi
is it??
ah it is
not by much
i think cheapest spotify plan is $10/mo
youtube premium is $12/mo
for individual plans
no it's not
o-o you can get spotify premium for a day... wow
1 $ is 74 inr so about 0.1$
lol ban
spotify family plan in india is about 2.39$ per month with first month free
make sure you have good blackout curtains!!!!!!
In case we get WW3
me when i wonder if chickens have taste buds
i just have an eye mask
i think if i had blackout curtains i would not wake up when i need to
i have these https://mantasleep.com/
100% blackout. Zero eye pressure. Super comfy. The worldโs most effective sleep mask, guaranteed.
That's how I passed Calc 2
OH! I should drink!
YES
Azure has Linux too
its too early, but I can take ella into the alcohol store near me
!voiceverify
I prefer spanners myself
Sand gets everywhere
I actually haven't had anything to drink since I turned 21
What should I get?
water
drink pure whiskey!
Something sugary and fancy
A chicken gun or flight impact simulator is a large-diameter, compressed-air gun used to fire bird carcasses at aircraft components in order to simulate high-speed bird strikes during the aircraft's flight.
Where was this job on career day?
so true
!e
print(7 * 4)
@olive hedge :white_check_mark: Your eval job has completed with return code 0.
28
^didnt need to think about it
@willow light :warning: Your eval job has completed with return code 0.
[No output]
A polychlorinated biphenyl (PCB) is an organic chlorine compound with the formula C12H10โxClx. Polychlorinated biphenyls were once widely deployed as dielectric and coolant fluids in electrical apparatus, carbonless copy paper and in heat transfer fluids.Because of their longevity, PCBs are still widely in use, even though their manufacture has ...
Taken from the new album, LP1. http://po.st/FKAtwigsLP1
http://fkatwi.gs
http://theyoungturks.co.uk
Directed by Nabil.
Look for nearby computer recycling & donation centers (preferably volunteer-powered) ... you might be able to find one that you can pay a small fee to have them recycle it properly
@zenith radish
my mic is muted due to being outside my room
w<
FKA twigs, Headie One, Fred again.. - Don't Judge Me
Available now: https://dontjudgeme.ffm.to/listen
Directed by Emmanuel Adjei & FKA twigs
Headie One / FKA twigs
Featuring Fons Americanus sculpture by Kara Walker
Supported by FARFETCH
Featured Guests:
Clara Amfo
Efua Baker
Munroe Bergdorf
Nicole Crentsil
Lisa Elde
Danto Earth
Renni...
https://www.youtube.com/watch?v=6BePEs0KS1A reminded me of this
The NEW single - DONโT STOP BELIEVING ft. Addison out NOW
Stream it HERE: https://uma.lnk.to/MashdNKutcherDSBFA
Follow Mashd N Kutcher
Facebook: http://www.facebook.com/mashdnkutcher
Instagram: http://www.instagram.com/mashdnkutcher
Twitter: http://www.twitter.com/mashdnkutcher
Website: http://www.mashdnkutcher.com
for "piano" and the stuff talk
Balto (1919 โ March 14, 1933) was a Siberian Husky and sled dog belonging to musher and breeder Leonhard Seppala. He achieved fame when he reportedly led a team of sled dogs driven by Gunnar Kaasen on the final leg of the 1925 serum run to Nome, in which diphtheria antitoxin was transported from Anchorage, Alaska, to Nenana, Alaska, by train and...
What would an inverted mohawk be called?
A samurai cut
w<
btw did you miss my earlier ping in here?
Oh i did
one sec
lemme find it
Woops
Might be too late
Also doubtful that we have something like that
Nevermind
We do
xd
oh well, for future note ... and an idea to tell others when they think of dumping their computers / etc. into the landfill
yee for sure
some places allow a tax-deductable donation (like "Free Geek" in Portland, Oregon)
Katie are you ppd
If you upload any image directly to Discord that can be animated natively in Discord, you can favorite it on the desktop app
Has anyone watched that one Godzilla movie where most of it is in mostly Japanese and has a few people in it who speak English in the film?
(ููู "Hello, worldโ")
its mean say
mix between Pokemon & Star Wars
;; Hello world in Fjรถlnir
"hello" < main
{
main ->
stef(;)
stofn
skrifastreng(;"Hello, world!"),
stofnlok
}
*
"GRUNNUR"
;
The Pokemon is named Wobbuffet apparently
yes
and it is pretty useful in pokemon go, unlike in the base bame
unless Google "fixed" the name wrong
*game
Kalaam is the programming language in Hindi and has all the basic
functionalities of a modern programming language. From for loops to while loops and from functions to conditional statements.
gotta gooooo :C
Mobile phone throwing is an international sport that started in Finland in the year 2000. It's a sport in which participants throw mobile phones and are judged on distance or technique. World record holder is Dries Feremans with an official guinness world record throw of 110m42cm.There are usually four categories in the sport:
Original (also cal...
.
@zenith radish https://www.youtube.com/watch?v=93-bfnKCb8E&t=8s
Halide is an open-source, domain-specific language for optimizing image processing, machine learning, and general array processing. It is used by major companies like Google, Adobe, and Qualcomm to optimize performance-critical software. It processes every photo taken with a Pixel phone, composites layers in every Photoshop document, and handles...
Hello
How can I join the voice channel under #django-workshop ?
It doesn't even have a channel name Lol
taco bell yum
good old 90' when you hadn't any problem about you computer being slowed down by any shit
hello @wheat needle
hello @whole bear
getclasstree(subprocess.Popen)
do u know @wheat needle what are the args for inspect.getclasstree() function
@whole bear I don't know but try https://docs.python.org/3/library/inspect.html
@deft idol
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
An L-system or Lindenmayer system is a parallel rewriting system and a type of formal grammar. An L-system consists of an alphabet of symbols that can be used to make strings, a collection of production rules that expand each symbol into some larger string of symbols, an initial "axiom" string from which to begin construction, and a mechanism fo...
Here's my introduction to / overview of the quicksort / quick sort algorithm!
Patreon: https://csdojo.io/pat
The book I mentioned (referral link): https://amzn.to/3j6e6wN
My sample code: https://www.csdojo.io/quick
3-way quicksort: https://www.geeksforgeeks.org/3-way-quicksort-dutch-national-flag/
epycycloids
is this a drawing
or code
cool
import random
#==================================================
def partitionTerrible(L, start, stop):
pivot = L[start]
# go through the list L
# split the elements into a lesser and a greater pile
lesser = []
greater = []
for i in range( start+1, stop+1 ):
if L[i] < pivot:
lesser.append( L[i] )
else:
greater.append( L[i] )
L[ start:stop+1 ] = lesser + [pivot] + greater
return start+len(lesser) # final position of the pivot element
#==================================================
def partitionBetter(L, start, stop):
pivot = L[start]
wall = start
for scout in range(start+1, stop+1):
if L[scout] < pivot:
wall = wall + 1
L[wall], L[scout] = L[scout], L[wall]
#LOOP ENDS HERE
L[wall], L[start] = L[start], L[wall]
return wall # returning to us the index/position of the pivot
#==================================================
take list L, sort everything between positions start and stop (inclusive)
def quickSort(L, start, stop):
# protection against stupidity
# helps us stop in edge cases
if stop <= start:
return
p = partitionBetter(L, start, stop)
quickSort(L, start, p-1) # sort the "lesser" list
quickSort(L, p+1, stop) # sort the "greater" list
#==================================================
def blah():
# create a shuffled list of length n, starting from 100
n = 16
X = list(range(100,100+n))
random.shuffle(X)
print(f"Initially, X = {X}")
quickSort(X, 0, len(X)-1)
print(X)
blah()
!code
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.
can someone walk me through this
my instructor's
yeah , fair enough
me
i can't even speak here
for now
@deft idol You could ask in #algos-and-data-structs if someone could walk you through quicksort.
yeah cool
i guess that's enough i know the sources to learn now
does anyone of you know about cloud shannon and alan turing
Claude Elwood Shannon (April 30, 1916 โ February 24, 2001) was an American mathematician, electrical engineer, and cryptographer known as "the father of information theory". Shannon founded information theory with a landmark paper, "A Mathematical Theory of Communication", which he published in 1948.
He also founded digital circuit design theory...
Alan Mathison Turing (; 23 June 1912 โ 7 June 1954) was an English mathematician, computer scientist, logician, cryptanalyst, philosopher, and theoretical biologist. Turing was highly influential in the development of theoretical computer science, providing a formalisation of the concepts of algorithm and computation with the Turing machine, wh...
yeah i know enclylopedia
i was just asking
not like
we are talking because of him
no
he gave information theory
and how to transfer data wirelessly
@spring zenith @somber heath https://github.com/mhxion/awesome-discord-communities/
https://testing-library.com/ @somber heath
@whole bear
await ctx.send(file=discord.File(r'location\to\file\hello.mp3'))
can someone help
import random
#==================================================
def partitionTerrible(L, start, stop):
pivot = L[start]
# go through the list L
# split the elements into a lesser and a greater pile
lesser = []
greater = []
for i in range( start+1, stop+1 ):
if L[i] < pivot:
lesser.append( L[i] )
else:
greater.append( L[i] )
L[ start:stop+1 ] = lesser + [pivot] + greater
return start+len(lesser) # final position of the pivot element
#==================================================
def partitionBetter(L, start, stop):
pivot = L[start]
wall = start
for scout in range(start+1, stop+1):
if L[scout] < pivot:
wall = wall + 1
L[wall], L[scout] = L[scout], L[wall]
#LOOP ENDS HERE
L[wall], L[start] = L[start], L[wall]
return wall # returning to us the index/position of the pivot
#==================================================
take list L, sort everything between positions start and stop (inclusive)
def quickSort(L, start, stop):
# protection against stupidity
# helps us stop in edge cases
if stop <= start:
return
p = partitionBetter(L, start, stop)
quickSort(L, start, p-1) # sort the "lesser" list
quickSort(L, p+1, stop) # sort the "greater" list
#==================================================
def blah():
# create a shuffled list of length n, starting from 100
n = 16
X = list(range(100,100+n))
random.shuffle(X)
print(f"Initially, X = {X}")
quickSort(X, 0, len(X)-1)
print(X)
blah()
i have to make change in this file like this
ya code here
''' py
'''py
import random
#==================================================
def partitionTerrible(L, start, stop):
pivot = L[start]
# go through the list L
# split the elements into a lesser and a greater pile
lesser = []
greater = []
for i in range( start+1, stop+1 ):
if L[i] < pivot:
lesser.append( L[i] )
else:
greater.append( L[i] )
L[ start:stop+1 ] = lesser + [pivot] + greater
return start+len(lesser) # final position of the pivot element
#==================================================
def partitionBetter(L, start, stop):
pivot = L[start]
wall = start
for scout in range(start+1, stop+1):
if L[scout] < pivot:
wall = wall + 1
L[wall], L[scout] = L[scout], L[wall]
#LOOP ENDS HERE
L[wall], L[start] = L[start], L[wall]
return wall # returning to us the index/position of the pivot
#==================================================
take list L, sort everything between positions start and stop (inclusive)
def quickSort(L, start, stop):
# protection against stupidity
# helps us stop in edge cases
if stop <= start:
return
p = partitionBetter(L, start, stop)
quickSort(L, start, p-1) # sort the "lesser" list
quickSort(L, p+1, stop) # sort the "greater" list
#==================================================
def blah():
# create a shuffled list of length n, starting from 100
n = 16
X = list(range(100,100+n))
random.shuffle(X)
print(f"Initially, X = {X}")
quickSort(X, 0, len(X)-1)
print(X)
blah()
'''
This is not a Modmail thread.
import random
#==================================================
def partitionTerrible(L, start, stop):
pivot = L[start]
# go through the list L
# split the elements into a lesser and a greater pile
lesser = []
greater = []
for i in range( start+1, stop+1 ):
if L[i] < pivot:
lesser.append( L[i] )
else:
greater.append( L[i] )
L[ start:stop+1 ] = lesser + [pivot] + greater
return start+len(lesser) # final position of the pivot element
#==================================================
def partitionBetter(L, start, stop):
pivot = L[start]
wall = start
for scout in range(start+1, stop+1):
if L[scout] < pivot:
wall = wall + 1
L[wall], L[scout] = L[scout], L[wall]
#LOOP ENDS HERE
L[wall], L[start] = L[start], L[wall]
return wall # returning to us the index/position of the pivot
#==================================================
# take list L, sort everything between positions start and stop (inclusive)
def quickSort(L, start, stop):
# protection against stupidity
# helps us stop in edge cases
if stop <= start:
return
p = partitionBetter(L, start, stop)
quickSort(L, start, p-1) # sort the "lesser" list
quickSort(L, p+1, stop) # sort the "greater" list
#==================================================
def blah():
# create a shuffled list of length n, starting from 100
n = 16
X = list(range(100,100+n))
random.shuffle(X)
print(f"Initially, X = {X}")
quickSort(X, 0, len(X)-1)
print(X)
blah()
okay
does anyone knows how to draw epicycloids
@whole bear discord.py is unsupported, and at some point in the next 1 or 2 years it's gonna stop working
you'd better find something else to specialise in
ah
ok
Yahoy.
o/
Yahoy
@tidal salmon Yes. Hello.
I remain extant.
Is it a fun office?
Or is it a boring office?
Ta ta
So its just me n u opal
Huumaaan
bastard people
I didn't catch your last, Human.
hi

