#voice-chat-text-1
1 messages ยท Page 92 of 1
i am a noob at coding
windows cmd is extreamly limited
i had windows like 5 months ago and i have be doing batch files like you
i made batch files that can steal data and all the bad stuff
but i am not doing this anymore
alright bet send proof i bet you cant
i did it to see what my friends has on his pc
TOS
what you mean?
TOS
wtf
no malware
wtf
bruh
i am bad at explaining
u put the usb in a pc the n u run it
this
and it copys the folders and data
its a batch file!!!!!
no
there is a code
wtf thats not mal ware
yes it is
you want the code? to see it lol
yes
watch videos
i am in germany
lol
this tutorial exists on yt guys
its not a malware
malware is like wannacry or noescape
does it say "entertainment persoses only"
wait
no that is ransomware
you happy now??
Its not a malware wtf
look it up at youtubeeee
wtf
i know
but how do you wanna know i am using it for illegal ???
what i dont
i can do what i want on my pc until i do it to someone
because i bought my pc or laptop
yes but if you share it to someone you are deleted
i know and i am not gonna do it
even if you say it is malware its still illegel
because as said i am not doing this anymore
lol sure
it s not malware wtf
please stop this convo
i just said i can do whatever i want until i do something illegal then its my bad @merry mica
i would like to exit convo
ok lets stop the convo
Indian lifes matter ๐ฆ
AHAHAHA
i know
LOL
its a meme
as i said i am cringe af
wait lemme change my avatar to python
@merry mica what are you eating?
why u said lunch?
ohhh
@merry mica you linux right?
@woven hemlock aight hearning anime music
@merry mica i need help
@merry mica how can i put the donut in the middle?
wtf
its jsut a screenshot
@merry mica can you help???
@merry mica i like mac os
i have high sierra
2011
what? fr
how
how ever i am happy with my system
@merry mica lol i cant resize the window with the donut
how
wait lemme send a screen shot of the code
is it with the thing width or height
ok i fixed it
i will use this donut as a screen saver lol @misty sinew
@misty sinew go live i wanna know what you are codeing
@misty sinew @misty sinew Let's maybe not talk about malicious scripts on this server again, yeah? Thanks.
ok
emm ok
but pls dont bite me
he gonna give you all his venom
woo
@misty sinew what is the best that you have ever coded
you = ๐ฅด
i cannot tell because ^^^^^^^
oh
@ocean remnant check this https://www.lesswrong.com/posts/e7CfiKCSW3xngSaEy/how-large-is-the-fallout-area-of-the-biggest-cobalt-bomb-we
Cobalt bombs are the currently most effective way I know of to make large areas
of land unlivable for a long period of time. I don't actually know the fallout
area of such a bomb. The Wikipedia article only has the following mildly helpful
section:
Theoretically, a device containing 510 metric tons of Co-59 can spread 1 g of
the material to ea...
@ocean remnant @spring finch https://www.youtube.com/watch?v=_jA8k4YDzlo
This film shows you the central shocking secrets about the global climate crisis - but also solutions we already have to avoid disaster. Everyone wants a better, brighter future, and through smart storytelling, this film opens up the climate emergency for all to take effective actions.
Producers Paul Maple and Dr. James Dyke have brought toge...
oh i just saw this lol & good!!!!!!! 
that looks like a fish
less
note:[{"id":1},{}]
collection.update_one(
{'_id': user_id},
{"$addToSet":{"notes": note}},
upsert=True)```
!e
from dataclasses import dataclass
@dataclass
class Note:
id: str
title: str
description: str
media: str
current = [
None,
Note("123145023154", title="asd", description="xcv", media="").__dict__
]
print(current)
print()
new = {
"123145023154": Note("123145023154", title="asd", description="xcv", media="").__dict__
}
print(new)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | [None, {'id': '123145023154', 'title': 'asd', 'description': 'xcv', 'media': ''}]
002 |
003 | {'123145023154': {'id': '123145023154', 'title': 'asd', 'description': 'xcv', 'media': ''}}
just use mysql ๐
!e
from dataclasses import dataclass
@dataclass
class Note:
id: str
title: str
description: str
media: str
current = [
None,
vars(Note("123145023154", title="asd", description="xcv", media=""))
]
print(current)
print()
new = {
"123145023154": vars(Note("123145023154", title="asd", description="xcv", media=""))
}
print(new)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | [None, {'id': '123145023154', 'title': 'asd', 'description': 'xcv', 'media': ''}]
002 |
003 | {'123145023154': {'id': '123145023154', 'title': 'asd', 'description': 'xcv', 'media': ''}}
!docs vars
vars([object])```
Return the [`__dict__`](stdtypes.html#object.__dict__ "object.__dict__") attribute for a module, class, instance, or any other object with a [`__dict__`](stdtypes.html#object.__dict__ "object.__dict__") attribute.
Objects such as modules and instances have an updateable [`__dict__`](stdtypes.html#object.__dict__ "object.__dict__") attribute; however, other objects may have write restrictions on their [`__dict__`](stdtypes.html#object.__dict__ "object.__dict__") attributes (for example, classes use a [`types.MappingProxyType`](types.html#types.MappingProxyType "types.MappingProxyType") to prevent direct dictionary updates).
Without an argument, [`vars()`](#vars "vars") acts like [`locals()`](#locals "locals"). Note, the locals dictionary is only useful for reads since updates to the locals dictionary are ignored.... [read more](https://docs.python.org/3/library/functions.html#vars)
{'_id': user_id},
{"$addToSet":{"notes": note}},
upsert=True)
from dataclasses import dataclass
@dataclass
class User:
id: str
notes: list[str] # List of all Note Ids for this user
@dataclass
class Note:
id: str
user_id: str # UserId for the note
title: str
description: str
media: str
from dataclasses import dataclass
@dataclass
class User:
id: str
notes: dict[str, Note]
@dataclass
class Note:
id: str
title: str
description: str
media: str

Who Where Way?
hawaii?
import pyaudio
p = pyaudio.PyAudio()
input_devices = []
output_devices = []
for i in range(p.get_device_count()):
device_info = p.get_device_info_by_index(i)
if device_info.get("maxInputChannels", 0) > 0:
input_devices.append(device_info)
if device_info.get("maxOutputChannels", 0) > 0:
output_devices .append(device_info)
print(f"Input Devices: {input_devices}")
print(f"Output Devices: {output_devices}")
ยฏ_(ใ)_/ยฏ
@raw wren how did you make this cool game lol convert it too an mac app i wanna play it lol
thanks
@warm tendon can you tell me pls how can i convert a python code onto an app?
like to an exe?
what is an app called in mac ?? idk
ยฏ_(ใ)_/ยฏ
wait lemme se
whats the name of the game?
flawless
i dk either but can you just tell me how to do this pls?
you can disable deaths ๐
CHEATER
do what
well yeah but that defeats the fun
so like using a python script to beat it is not cheating ๐
how to convert a file to a app
pyinstaller maybe
and how does it work?
never used it, check out their docs ยฏ_(ใ)_/ยฏ
pip install auto-py-to-exe
can you give me the code pls?
ok
ok i installed it and now??
but that will count spaces too
!docs str.split
str.split(sep=None, maxsplit=-1)```
Return a list of the words in the string, using *sep* as the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, the list will have at most `maxsplit+1` elements). If *maxsplit* is not specified or `-1`, then there is no limit on the number of splits (all possible splits are made).
If *sep* is given, consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, `'1,,2'.split(',')` returns `['1', '', '2']`). The *sep* argument may consist of multiple characters (for example, `'1<>2<>3'.split('<>')` returns `['1', '2', '3']`). Splitting an empty string with a specified separator returns `['']`.
For example:... [read more](https://docs.python.org/3/library/stdtypes.html#str.split)
idk read the documentation it will explain better than me
ok
@strong nymph you can use nltk too
its a library for Natural language Tool Kit
Hey i have a question
how did among us did the server hosting for their game
like they didnt have that much capital to invest in like AWS
@warm tendon i am converting a donut to an exe do you want it ?
i can send you a file were the donut spins
no thanks
ok
because i use it as a screen saver
someone help me
i cant find the output of my programm
@strong nymph help?
@raw wren
stop pinging random people
sory
i just want to know were the output is
hey any of you got python jobs?
im just not sure what to focus in on
!e
print("Hello World")
@charred creek :white_check_mark: Your eval job has completed with return code 0.
Hello World
@warm tendon ^
?
there's no : :P
hey im terrible at programming too. ill take your job offer and pass it on to someone else to do it for me
๐
https://www.perceptilabs.com Such a ML ๐
๐ค
๐ช
that's a type of chocolate bar aint it?
oh my bad
lol
those have laxatives in them
"in 1839 two Scottish doctors developed these to help with the aid of the digestive system because they've got sodium bicarbonate in them, which is a laxative"
the fact that brits eat a wheat product to better digest is weird lol
deja vu
wow those look kinda tasty though
yeah but who actually buys those products they're terrible...
whereas digestive biscuits are v popular
by comparison
people who want to have a healthy bowels

some people just can't take a good dump
health micro biome.
i mean
wtf is this chat
diuretics+laxatives
lots of people do that to cut weight hard
i mean water weight
question the idea that wheat products with added fiber will help your gut health lol
that's a sheeps blood agar ๐
what is HVMN?
it's an interesting pick for an article
wow that's some good stuff man
Prof. Simon Carding from the Quadram Institute (previously known as the Institute of Food Research) and Norwich Medical School at the University of East Anglia, describes our current understanding of the human gut and its relationship with its human host and introduce the provocative proposal that gut microbes influence when, what and how often ...
fix yer gut fix yer noggin'
gut health is v important but you will not improve it by eating metamucil
ยฏ_(ใ)_/ยฏ
do you play fortnite?
when i think of microbiome i think of algea and plankton just chillin in your gut
if you don't have the bacteria to begin with you will not do anything by intaking fiber
diberticulitus? how do you know that?
it's v v v v difficult to restore a poor biome
but is it possible?
oh i see
anyone here see the south park episodes on restoring your micro biome?
lol southpark thinks of everythin
g
i've not been successful at it lmao
yeah me either
counter stroke
here i am..
hi
o/ @elder wraith
o/ @autumn raft
for context
aww!
how to feel about the animal printed blanket lol
LOL, I didnt choose the blanket, came with the fosters xD
cats sleeping on big cat fur
are they urs?
this is what happens to you if you dont grow into good bebes
OMG
they resulted to cannibalism
yeah, they are foster kittehs
are you keeping them
๐
@autumn raft ๐ฆ
@raven hollow can you please change your nickname to something that is at least mention-able? This nickname is confusing and frustrating for users here

.wa definition of controversy
@autumn raft can i have sharing screen? for voice chat 0?
sorry mate, hemlock isnt online either
@autumn raft the python 3.8.5 anaconda interpreter will never give you problems why dont you just download anaconda?
Fisher is a mod he cant give it
oh
<@&267628507062992896> can i have screenshare for voicechat 0?
What do you want to screenshare?
my 3d donut
you doing blender guru? haha
!stream 637329410760114178 15M
@misty sinew
โ @plucky plover can now stream.
thanks
thats not a bean lol
go to a Optometrists
doughnut
shhh
i am corrector
grammer nazi
how
gn yall o/
can i get video?
@charred creek https://github.com/fisher60/Friendo_Site_Django/pull/35
please?
^
games
games on weekends
code on weekdays
that is hemlocks polocy
@autumn raft ๐

thats a sound argument for videa perms
!e
apple = {
"seed": 5
}
if seeds := apple.get("seed"):
print(seeds)
if seeds := apple.get("seed") == 5:
print(seeds)
if (seeds := apple.get("seed")) == 5:
print(seeds)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | 5
002 | True
003 | 5
!e
print(666)
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
2659119772153226779682489404387918594905342200269924300660432789497073559873882909121342292906175583032440682826506723425601635775590279389642612611093020398930347774460613894425379600874662147884229022133853819192905427915750759274952935109319020362271989830578539328807633196834507090639946131138999460277671978289412532212329252032960511820487913640083895490443657920956267126291922289224609441034849578266461219690879675039920051391388174525259443193865041630348000323295729231692725808120388628956451330203199414186213654593812478970390749485268614971964248428562782648720818548493937299025693132719165544060431069136029010640558959534212123746079660766983306735060532482925553082121188696097199078085563246046013216102655431476452400396602364732664246252767374593256582134654265209220042370143240456646479703878634028476799516301302320589620637994623895999962376530625874148998609130106933187937209476887496871311072138713943694894357288061061557708461902289692063089736008186036231141171109877
... (truncated - too long)
Full output: too long to upload
it's 6**6**6
hi chris 
Heyyo ๐
@misty sinew You've already got a job running - please wait for it to finish!
#bot-commands
K
Correct Horse Battery Staple, Generate Secure Memorable Passwords. A secure password will help keep you safer online
19.4 second reload time 
12.3 reload time on discord
Ooh, nice!
lel
check the underside of the keycap
cracked??
I can send you a random key lol
are these custom caps...
oh then idk
insert joke
Check out Storyblocks Video at https://www.videoblocks.com/LinusTechTips
So you've crumbed up your keyboard, but who has time to remove all the keys and clean it by hand? Can you just stick it in the dishwasher? Today: we find out.
Buy Corsair K70 RGB MK.II
On Amazon (PAID LINK): https://geni.us/Srifhtw
On Newegg: https://lmg.gg/8KVYk
Buy Ama...
but what if you don't have a dishwasher...
oooo what dis
good album
awww she released a mini solo album? cuuute
๐ฅบ
gilly i was actually surprised - it's good
LOL surprised because psvm sent you music that you don't dislike? xD
lmaoo
:(
kekekekeke
this EP made it from like... 2/10 to 4/10
i-
baby steps
:D
stalker. lol
she looks like t swizzle
kinda? not really though
so far i like the first 3 songs
good
import semver
1.12 and 1.13
1.1.2 and 1.2
from semver.VersionInfo import parse
print(parse('1.12') > parse('1.13'))
1.2.3.4 and 1.2.3.4.1
deegits = regex.gimme_digits("12.3.4.323.1")
print(deegits) # [12,3,4,323,1]
regex is easy
float("inf")
!e ```py
import math
print(math.bigboy)
@hallow anchor :white_check_mark: Your eval job has completed with return code 0.
inf
float('inf')
!e
print(float("inf") >= float("inf") * 2)
@autumn raft :white_check_mark: Your eval job has completed with return code 0.
True
tsk tsk
my twitter: @tweetsauce
my instagram: electricpants
Sources and links to learn more below!
Iโm very grateful to mathematician Hugh Woodin, Professor of Philosophy and Mathematics at Harvard, for taking the time on multiple occasions to discuss this topic with me and help me wrap my (finite) head around it.
Iโm also grateful to David Eisenbud,...
!e ```py
import sys
print(sys.maxsize)
a = sys.maxsize+1
print(a)
@hallow anchor :white_check_mark: Your eval job has completed with return code 0.
001 | 9223372036854775807
002 | 9223372036854775808
@hallow anchor :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | MemoryError
Courgette Mousse
Courgette Moose
and made the whip cream by hand
new pfp?
I actually love Moose's
sounds perfect..
it's quite ugly
i-
๐ค
i love the new look~
.spookify 568276116062863405
@peak frigate ๐คฉ
Chris can you check my off topic names?
.spookify 830554641120100375
Your input was invalid: Member "830554641120100375" not found.
Usage:
.savatar [user]
where? ๐
Isn't there a command that checks a specific persons off topic channel names?
But only staff can do it
ohh, thought you wanted me to add some new one's that you had suggested
I know of an existence of a suggestion form
no, otn aren't attributed to people
I can search for some that have jake in them tho
yeah
Heh there's 2 with jake in them ๐
I swear I have seen fisher do it
:o
:D
nice pfp
wbu ๐ @lime grove
getting conf00zed so much hayan
๐
this one is kind of too zoomed in
๐
is the exhaust new?
you're stuck ๐
i like this one ๐
ooh, that's a good one
yeah ๐ฅบ
Gogoro has managed to scoop up another vehicle partnership that will see more electric scooters produced that will be powered by Gogoroโs swappable batteries. The latest line of electric scooters joining the network will be CMC eMOVING scooters. The โPowered by Gogoro Networkโ has now grown to include five of the seven major scooter manufacturer...
hummus is a mealโข๏ธ
..
bruh i thought that was me replying
wdym
i thought i said ".."
you did
i-
now i just need to become media team
now the names are just getting confusing.
mine
hmmm
it's the truth ยฏ_(ใ)_/ยฏ
better in what way though
every way
i-
not just a typo on colemak?
typeracer anyone? ๐
colemak :/
?
?
The Mojave Desert ( moh-HAH-vee, mษ-; Mohave: Hayikwiir Mat'aar) is an arid rain-shadow desert and the driest desert in North America. It is in the Southwestern United States, primarily within southeastern California and southern Nevada, and it occupies 47,877 sq mi (124,000 km2). Small areas also extend into Utah and Arizona. Its boundaries are...
who are you people
friends :c
๐ฅบ
it all psvm
^ no it's all mina
๐
hell yeah im catching up ๐ค
i-
tenks C:
๐
x = collection.find_one({"notes.id": "1e5d719d"})
print(x["notes"]["title"])```
.title
[None, {'id': '1e5d719d-5a7f-4524-b5e3-7665b24ebcf0', 'date': datetime.datetime(2021, 4, 10, 19, 6, 43), 'title': 'asd', 'description': 'xcv', 'media': ''}, {'id': '382c7617-2d70-4ac2-8c8b-11eff89f2a6b', 'date': datetime.datetime(2021, 4, 10, 16, 11, 47), 'title': 'Hi', 'description': 'its me', 'media': ''}]
for el in x["notes"]:
print(el.title)
what is htis?
data = collection.find_one({"notes.id": "1e5d719d"})
notes = data["notes"]
for note in notes:
if note.get("id"):
print(note["title"])
note["title"]

x[note][tittle]
a
You probably want to for loop over the multiple items in the list
{'_id': 817885598270488649, 'name': 'Dr.test1', 'discriminator': '6314', 'nickname': None, 'created_at': datetime.datetime(2021, 3, 6, 22, 25, 22, 207000), 'top_role_id': 808013531244134450, 'top_role_name': '@everyone', 'notes': [None, {'id': '1e5d719d-5a7f-4524-b5e3-7665b24ebcf0', 'date': datetime.datetime(2021, 4, 10, 19, 6, 43), 'title': 'asd', 'description': 'xcv', 'media': ''}, {'id': '382c7617-2d70-4ac2-8c8b-11eff89f2a6b', 'date': datetime.datetime(2021, 4, 10, 16, 11, 47), 'title': 'Hi', 'description': 'its me', 'media': ''}], 'joined_at': datetime.datetime(2021, 4, 10, 14, 29, 51, 862000)}
if you simply want all the titles, you can use a list comprehension
And if you know there's onyl one you can just pop() from it
from dataclasses import dataclass
@dataclass
class User:
id: str
notes: dict[str, Note]
@dataclass
class Note:
id: str
title: str
description: str
media: str
!e
my_dict = {
"id": 124812359235,
"notes": {
1321248: "Test",
4234234: "Yike"
}
}
print(my_dict)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
{'id': 124812359235, 'notes': {1321248: 'Test', 4234234: 'Yike'}}
!e
from dataclasses import dataclass
@dataclass
class User:
id: str
notes: dict[str, "Note"]
@dataclass
class Note:
id: str
title: str
description: str
media: str
my_user = User(id=1, notes={})
my_user.notes[1] = vars(Note(id=1, title="Cool", description="Desc", media=""))
my_user.notes[2] = vars(Note(id=2, title="Cool", description="Desc", media=""))
print(vars(my_user))
note_1 = Note(**my_user.notes[1])
note_2 = Note(**my_user.notes[2])
print(note_1)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
{'id': 1, 'notes': {1: {'id': 1, 'title': 'Cool', 'description': 'Desc', 'media': ''}, 2: {'id': 2, 'title': 'Cool', 'description': 'Desc', 'media': ''}}}
!docs vars
vars([object])```
Return the [`__dict__`](stdtypes.html#object.__dict__ "object.__dict__") attribute for a module, class, instance, or any other object with a [`__dict__`](stdtypes.html#object.__dict__ "object.__dict__") attribute.
Objects such as modules and instances have an updateable [`__dict__`](stdtypes.html#object.__dict__ "object.__dict__") attribute; however, other objects may have write restrictions on their [`__dict__`](stdtypes.html#object.__dict__ "object.__dict__") attributes (for example, classes use a [`types.MappingProxyType`](types.html#types.MappingProxyType "types.MappingProxyType") to prevent direct dictionary updates).
Without an argument, [`vars()`](#vars "vars") acts like [`locals()`](#locals "locals"). Note, the locals dictionary is only useful for reads since updates to the locals dictionary are ignored.... [read more](https://docs.python.org/3/library/functions.html#vars)
!e
from __futures__ import annotations
from dataclasses import dataclass
@dataclass
class User:
id: str
notes: dict[str, "Note"]
@dataclass
class Note:
id: str
title: str
description: str
media: str
my_user = User(id=1, notes={})
my_user.notes[1] = vars(Note(id=1, title="Cool", description="Desc", media=""))
my_user.notes[2] = vars(Note(id=2, title="Cool", description="Desc", media=""))
user = vars(my_user)
note_1 = Note(**my_user.notes[1])
note_2 = Note(**my_user.notes[2])
print(note_1)
user = User(**user)
print(user)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | Note(id=1, title='Cool', description='Desc', media='')
002 | User(id=1, notes={1: {'id': 1, 'title': 'Cool', 'description': 'Desc', 'media': ''}, 2: {'id': 2, 'title': 'Cool', 'description': 'Desc', 'media': ''}})
!e
from __future__ import annotations
from dataclasses import dataclass
@dataclass
class User:
id: str
notes: dict[str, Note]
@dataclass
class Note:
id: str
title: str
description: str
media: str
my_user = User(id=1, notes={})
my_user.notes[1] = vars(Note(id=1, title="Cool", description="Desc", media=""))
my_user.notes[2] = vars(Note(id=2, title="Cool", description="Desc", media=""))
user = vars(my_user)
note_1 = Note(**my_user.notes[1])
note_2 = Note(**my_user.notes[2])
print(note_1)
user = User(**user)
print(user)
hi bast
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | Note(id=1, title='Cool', description='Desc', media='')
002 | User(id=1, notes={1: {'id': 1, 'title': 'Cool', 'description': 'Desc', 'media': ''}, 2: {'id': 2, 'title': 'Cool', 'description': 'Desc', 'media': ''}})
this griff guy is pretty good at helping, someone should helper him
:flag_ook:



hax
also known as the shift key
it is also how I can delete your messages really fast
So quick
ooshort tea
use your library
@hidden cliff https://www.amazon.com/Collapse-Societies-Choose-Succeed-Revised/dp/0143117009 has lots of pictures in it :)
https://edutechlearners.com/download/Introduction_to_algorithms-3rd Edition.pdf this one has a few :P
lul
.fo
Form of a wrench of steam!
.fo
Form of a lake of snow!
A supercut of every Wonder Twins transformation from the various 1977-1984 Super Friends shows.
!otn a json is a database
:ok_hand: Added json-is-a-database to the names list.
!otn s json
โข freddy-vs-json
โข json-based-operating-system
โข json-bourne
โข json-is-a-database
Oh no ๐ฆ
I can't believe you just said that python bot
{
"key": {"value": [[["key"]]]}
}
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
The word, meteorology always makes me think of meteors.
"...and now over to Paul for the weather."
"Thank you, Stan. It was another day of flaming rock today, with temperatures reaching into the high thousands..."
opal's hot takes
Electrical disruptions caused by squirrels are common and widespread, and can involve the disruption of power grids. It has been hypothesized that the threat to the internet, infrastructure and services posed by squirrels may exceed that posed by cyber-attacks. Although many commentators have highlighted humorous aspects of the concern, squirrel...
...wow
!e
"key": {"value": [[["key"]]]}
}
print(Test)```
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
{'key': {'value': [[['key']]]}}
!e
"key": {"value": [[["key"]]]}
}
print(Test["Value"])```
@misty sinew :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 4, in <module>
003 | KeyError: 'Value'
!e
"key": {"value": [[["key"]]]}
}
print(Test["key"])```
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
{'value': [[['key']]]}
Batch, would you mind doing that in the #bot-commands channel, sorry.
yes
not really
what do you wanna make?
make a script to convert cartesian to polar coordinates
use a math api or something
yeah
or just google how to convert the things you want
@winter furnace he is using bash scripting
oh
maybe something like this then https://stackoverflow.com/questions/22467293/convertin-cartesian-to-polar-in-bash
seen this
oh ok
I'd be looking it up online for both the formula and how to do it as a bash script.
All that coordinate conversion stuff on wiki looked intimidatingly involved, but then I don't really understand the notation.
From what I remember. Maybe that was vector conversions, though.
Ik how to convert, idk how to write the bash script
You could probably make use of bash's |symbol to pipe the needed info into a python script invocation, using probably something in the sys module to catch the stdin info piped to it, possibly the same to push it back out, or maybe just print.
@lucid heart
From there, sending it to a file with > or another program with |
It'd probably be better to use whatever passes for mathematics operators in bash, though.
I'm not adept at bash in quite the same way as Python.
hey whats going on in vc 1 lol
which repository are you guys talking about @ Voice Chat 1
I'm done, now.
ooh nice :)
@raw wren ready to start?
hes revving his engines
jakes worked a lot with discord.py recently hasnt he?
@ Griff are you going to teach him some github collaboration skills?
pipenv install --python
aah you guys done coding?
The system will restart few times, i guess.
why are they doing the / open(Path.cwd() / bot / save_data.JSON, "r")
I think it will make path generalized. I if you run it at docker it will run perfectly taking root path from Path.cwd().
YAY
!docs isinstance
isinstance(object, classinfo)```
Return `True` if the *object* argument is an instance of the *classinfo* argument, or of a (direct, indirect or [virtual](../glossary.html#term-abstract-base-class)) subclass thereof. If *object* is not an object of the given type, the function always returns `False`. If *classinfo* is a tuple of type objects (or recursively, other such tuples), return `True` if *object* is an instance of any of the types. If *classinfo* is not a type or tuple of types and such tuples, a [`TypeError`](exceptions.html#TypeError "TypeError") exception is raised.
is this a mentoring/teaching session(just out of curiosity)
so sorry xD
i was trying to speak but i was listening music
should we do voice reveal for me?
cmon
why not?
only if you have something relevant to contribute to the existing ongoing conversation please
๐ ๐
no need to make an event of it :)
I think there is a way to annotate kwargs ๐ค
!e
def func(**kwargs: dict[int, str]):
print(kwargs)
@warm tendon :warning: Your eval job has completed with return code 0.
[No output]
huh
@client.event
async def on_message(message):
if message.content.startswith('$greet'):
channel = message.channel
await channel.send('Say hello!')
def check(m):
return m.content == 'hello' and m.channel == channel
msg = await client.wait_for('message', check=check)
await channel.send('Hello {.author}!'.format(msg))
from typing import Any
def func(**kwargs: dict[Any, Any]):
print(kwargs)
you didnt call it right
that doesn't matter
oh thats cool
async with aiofiles.open(TODO_FILE, "r") as read:
todo_file_read = json.loads(await read.read())
wdym
ik
yeah thats all
@ Griff would you be ok with sharing your github?
maybe do:
description = ctx.command.usage if ctx.command.usage else ""
in the embed
just so that it doesnt break the rest of the bot code for now
or
description = ctx.command.usage or ""
!e
example = ""
desc = example or "Yikes"
print(desc)
example2 = "Trout"
desc2 = example2 or "Yikes"
print(desc2)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | Yikes
002 | Trout
didnt know that was a thing, but they both accomplish the same thing right? thanks!
ill use this from now on lmao
!e
one, two, three = "", "", ""
desc = one or two or three or "Yikes"
print(desc )
@charred creek :white_check_mark: Your eval job has completed with return code 0.
Yikes
!eval ```py
from itertools import count
for i in count(1):
expr = ' or '.join(['True'] * i)
eval(expr)
@hearty heath :warning: Your eval job timed out or ran out of memory.
[No output]
Thanks for the explanation ๐
Wouldn't have got it otherwise...
Hey Hemlock ๐
whats that?
Did you mean to post in #voice-chat-text-0?
so thats my my internet is fucking shit
re: "my my", I'm glad I'm not the only one who has that brain glitch, sometimes.
:)

^
henlo @raven orbit
@copper sentinel @brittle kraken can you join #764232549840846858 pls
ah okay
lol
cursed
ankith #799641437645701151
by the way, anyone know of a way to copy ot clipboard and also to type out text as if it was typed on a keyboard using only the standard library? I can't find anything that doesn't require me to download some more libraries, want to stick to standard
Mhm.
also yes you're crystal clear
too much ipa ๐ฅด
ah okay
near your avatar.
i was asking whether you could lol
oh. Nopee
He sounds german
hold on...
oh yeah I know can hear.
since when can you mention voice channels?
wait its gone again.
since uhhhhhhh 1 day ago
;-; how?
#! name
"I have to get work done" yes definitely german, he is a responsible human being
thx :)
Aight half german
aight gtg ๐.
cya
I tried to do it in some servers, and I can't :'(
could be that we got it first because partnered
#799641437645701151 Hmmmmm
Thanks :))) Now it works everywhere
Nice try 
lol
.spookify @raw wren
.spookify
Live streaming code has some fundamental flaws that are holding it back from becoming more successful.
Checkout my side projects:
If you're into cooking: https://www.mysaffronapp.com/
Join the Discord: https://discord.gg/Vehs99V
Patreon: https://www.patreon.com/benawad
Follow Me Online Here:
Twitter: ...
i agree with a lot of the points here
what does he say
harder to develop - have to interact with chat while coding
less viewers
because its easier to watch games than code
harder to think and brainstorm code while streaming
!docs websocket
https://www.starlette.io/websockets/
i use this for my python websockets
The little ASGI library that shines.
๐ฌ
in python?
Yeah
ye
no
@raw wren don't show this to your grandparents who were upset about you eating meat on Good Friday ๐
that's invalid syntax
I wont ๐
yeah what can i do for
is this canon ๐
not instead of !
https://www.youtube.com/watch?v=F0G9lZ7gecE&ab_channel=Fireship
what do you guys think of this new server side JS runtime?
Deno is a brand new JavaScript runtime, similar to Node.js. Use it to develop secure server-side apps with built-in TypeScript support, ES modules, and promise-based APIs.
Learn more at https://deno.land
#javascript #nodejs #100SecondsOfCode
Install the quiz app ๐ค
iOS https://itunes.apple.com/us/app/fireship/id1462592372?mt=8
Android https:...
never used it yet
yeah ive used it a couple times
still new to node
not for anything serious
dont think it'll take off until theres more compatibility between node and deno
the guy who wrote deno is the same guy who wrote node lmao
he said there were some flaws with node
yes yes
but he couldnt just "fix" node
when there were like
tons of people using it
lmao
but companies won't migrate asap
yep
just like java
Yeah, I wish I started programming earlier 
same
when did you start
I didn't really start until I was about 21/22.

Created: 4 years, 3 months and 15 days ago
Profile: @warped wind
ID: 263560579770220554
Joined: 3 years, 1 month and 8 days ago
Roles: <@&542431903886606399>, <@&518565788744024082>, <@&463658397560995840>, <@&764802720779337729>, <@&295488872404484098>, <@&267630620367257601>, <@&787816728474288181>
Total: 0
Active: 0
nice
well, I did not learn the entire 3 years, lol
school does not give enough free time
and now uni too
mechanical
cool
I picked university over course
so I picked the best uni in my city regardless of the course
here uni > course kinda
ive come to the point in my developer career where i now watch fireship videos just because of the music because its so good
I remember watching fireship only to understand electronjs and firebase
nice
Probably wise tbh. I'm of the opinion that the exact undergraduate degree you choose doesn't matter so much. Except for e.g. STEM vs arts.
he builds OBS 2.0 in the electron vid
yeah damn
ye
discord is built on electron too
no wonder it eats so much ram
vscode too
I love arts tbh, I would pick a career in arts if I had an option
or sports/cultural
Same! I wanted to be an architect at one point ๐
Or musician.
programmer?
Yeah, I just need to get on with it ๐
teams too huh
Yeah]
Never heard of Figma
figma is awesome
but adobe XD is free
Looks cool!
Isn't web-assembly not really made for humans?
But for compilers.
Can LLVM compile to web-assembly?
i would assume so
Slack is Electron as well
Huh, didn't know that
in fact, all the chat services are EXCEPT Google
Today weโve just shipped a new version of the Slack Desktop application for macOS. We built it with Electron, and, as a result, itโs faster, sports a frameless look, and has a number of behind-the-scenes improvements to make for a much better Slack experience. There are, of course, different ways to build desktop applications with โฆ
oh, I haven't slack in months, time to check for messages
Slack has threads ๐
Threads are dope
python threads are dope
discord started under slack and was a niche at first(for gamers)
but now its just become more superior
to slack in terms of ux
Can you translate that to celsius Jake? ๐
0c * 0c = 64 F
All I know about Fahrenheit is 100 is a hot day in Florida, and 0 is fucking freezing.
.wa 0C * 0C in F
Fahrenheit squared ๐
just gouge eyes out
learn braille, etc.
wait one day
could they make glasses for the blind
artificial eyes lol
connected to the brain

someone out there must be working on this no?
I saw a thing once, where they gave a person ultrasound perception, and the interface is a thing you put on your tongue.
just had carne asada yum ๐ฅฉ
Your brain can learn to interpret the signals...
gave a person ultrasound perception
lol i was more thinking
does that make them like, dolphins
what is that for
More like a bat I think
its for
doubt
is no one speaking or am I deaf
"Accidentally"
Oh right fair enough
I wanted to get he ea pass instead, but I guess I will enjoy the xbox game pass for another month
ea pass is cheaper and it has all the games I need
Does anyone subscribe to this guy on youtube? https://www.youtube.com/channel/UC46xhU1EH7aywEgvA9syS3w
Various videos about programming and related topics. Most videos will feature open source software and programming best practices. For now, most videos will deal with python.
All slides and associated code are on github: https://github.com/anthonywritescode
He has some really good python videos.
I just learned the difference between Any and object from one of his videos ๐
I have definitely seen some of his videos
educate us ๐
Alright, so if a variable has type object, that means the code has to work whatever object you give it. If the type is Any that just tells the static type checker to ignore the type of that variable.
Essentially, they are the opposite of each other, in a way.
object maximally restricts what you can do with a variable to just those things that can be done to any object.
You pretty much always want to use object. And Any is just there if you get fed up and want to bypass the type system ๐
For type annotations.
but object means the code has to work whatever object you give
doesnt object limit to the default implementations of the actual object base class?
free time is for relaxing
Erm, until you do branch on isinstance(myvar, some_type), you basically can't do anything with a variable annotated as object except pass it around.
crunch time is for coding
show us please @golden marsh
Same ๐ A side effect of being a night owl.
And living in houses with squeaky floorboards 
@hallow anchor likely has this issue.














