#voice-chat-text-0
1 messages ยท Page 934 of 1
yes I did and checked my internet
@frozen jetty are you able to come in or should we start?
@twin haven do you want to join?
hello i'm new in Discord ๐
Indian guys are so funny
I don't know all , but Noodle is energetic
Yeah, I mean accent
no it's funny
idk
i like it realy
ok
I'll be back in like 10 minutes ๐
just a sec
aight cya ๐
how i can play clashGame
ye i m kinda bored
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
you need to match the criteria to get voice verified
look in #voice-verification channel
annoyin
its to avoid trolls
^ join here
do u wanna play tetris?
its going to give a coding problem to either solve fastest or reverse engineer or solve in least characters
or gp
guys I will join but i dont have any idea what i can do there
๐
@whole bear what did you miss?
should it have been ceiled instead of flooring?
ah okay
Come play Smash Karts
Room: us82436
https://smashkarts.io/join/X6ri
al the vc peeps ^
are we playing anything?
would you like to play 1 tetris game and 1 codingame?
Online multiplayer puzzle game
byee :>>
Ore Monogatari
2 hours later, I still have this tune in my head
Provided to YouTube by Emubands Ltd
The Tree of Luck ยท Hamish Napier
The Woods
โ 2020 Strathspey Records
Released on: 2020-06-20
Producer: Andrea Gobbi
Composer: Hamish Napier
Arranger: Hamish Napier
Arranger: Steve Byrnes
Auto-generated by YouTube.
I have a question about if statements
Iโm not getting my elif statements to displays
๐ i'm gonna go sleep now since 3 am
it was fun playing today
and goodnight
kk, gnight :>>
im not verified
Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. Because all of the containers s...
@strong arch I wanna learn too ๐
@dense ibex https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=128cc199c1c713580931e6560c8f57a3
A browser interface to the Rust compiler to experiment with the language
@dense ibex https://cplayground.com/?p=pangolin-lion-termite
Quickly test C and C++ code online.
I use GNOME
I am so very lost as to why my code doesnt work for this one question... @runic forum I cant talk in vc cuz I just joined the server but would you be willing to help me in a private call?
or over dms?
you're in the wrong server. people here don't know java
they know python
people here don't know java
they know python
What about this statement was unclear?
you're in the wrong place, dude
I don't know Java
Have you tried asking in a Java-related server?
(although I doubt anybody will be willing to teach you an entire language; they'll probably direct you to a course)
๐คทโโ๏ธ and this is why if __name__ == "__main__": is needed anyway
@surreal lichen ๐
@surreal lichenI'm afraid that, if you're talking, I cannot hear you very well at all.
I am often here, yes.
I can.
I shall not at this time.
I'm being quiet. Like a mouse.
Squeak squeak.
It's night.
I'm not the only one in the house.
Sound travels where I am.
Very well.
Ta ta.
@broken aspen ๐
I have my ears on.
@sonic fern๐
talk @somber heath
will you talk ?
See above.
whats time at your place?
It is, as they say, the witching hour.
why are you awake then or is it a bot?
Beep beep boop boop.
a bot... ๐
.aoc
**```
.adventofcode
**Can also use:** `aoc`
*All of the Advent of Code commands.*
**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`stats `**
*Get daily statistics for the Python Discord leaderboard*
**`subscribe `**
*Notifications for new days*
.aoc help
**```
.adventofcode
**Can also use:** `aoc`
*All of the Advent of Code commands.*
**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`stats `**
*Get daily statistics for the Python Discord leaderboard*
**`subscribe `**
*Notifications for new days*
.aoc subscribe
Hey, you already are receiving notifications about new Advent of Code tasks. If you don't want them any more, run .adventofcode unsubscribe instead.
.help
If that makes you feel good about life. Sure. Why not?
@runic forum Audio bleed.
Lots of audio bleed.
Loooots of audio bleed.
@runic forum Please deal with it.
It would be appreciated.
Thanking you. ๐
@frozen jetty ๐
Beg pardon?
is it anything to talk about?
Often.
I'm currently making some interesting interference pattern images.
It's a bit of a trick to get them so they don't cause discomfort.
Hoy Chris.
I think I have indigestion.
All is well.
what's interference pattern images?
(Which, by the way, is a dirty, dirty lie.)
Do you know what is meant by a waveform?
no
Have you seen sound represented as a wriggly line?
is it?
SCP video
Please deal with your audio bleeding issues. ๐
I would appreciate it.
So. Imagine the waveform above the line as positive and the waveform below the line as negative.
Left to right is time.
ok
I'm reading
Now imagine time radiating out from a point.
In 2D space.
As you get further away from the originating point, the value of a given position goes up and down, positive and negative
In a wave.
Like ripples in a pond
Now imagine another originating point and the ripples travelling outward from that point
Now imagine what happens when those ripples meet
That's interference.
Waves that meet where you have waves cancelling out or reducing of the absolute value at that point is destructive wave interaction.
Waves that result in a greater absolute value at that point are called constructive.
The values of each ripple at that point get added together
So yeah. Basically, I'm playing in a pond made of numbers.
Making ripples.
Automata?
I think I almost understand
and what does it use for?
There's a bunch of sciency stuff and simulation and signals processing where it comes into usefulness.
๐ณ
I've heard of patchouli, never smelled it to my knowledge, but what I'm making right now makes me want to get to know it better.
@dense ibex CHIKKAN SOOP!
It's a painkiller that metabolises down into an opioid, I think.
!e
for i in range(20):
print(5 * (i ^ 2) + (50 * i) + 100)
@dense ibex :white_check_mark: Your eval job has completed with return code 0.
001 | 110
002 | 165
003 | 200
004 | 255
005 | 330
006 | 385
007 | 420
008 | 475
009 | 550
010 | 605
011 | 640
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/ufecipeyay.txt?noredirect
Bull shit
no really
haaay~
!voiceban 308646743602364419 Once again, you are unable to control the sounds from your mic. Once again, you seem to keep broadcasting a video. Once again, you continue to deny that you can figure it out. I will not have this disruption continue in voice chat.
:incoming_envelope: :ok_hand: applied voice ban to @runic forum permanently.
func.__module__ for just the module name you can do too @faint ermine
func.__globals__['__file__']
docs/source/conf.py line 362
if isinstance(val, (types.ModuleType, types.MethodType, types.FunctionType, types.TracebackType, types.FrameType, types.CodeType) + six.class_types):```
I shamelessly stole this from pwntools
Inside the if, it uses inspect.getsourcelines(val)
Shots fired.
Coffee?
command = input("What are you doing next? ")
match command.split():
case ["quit"]:
print("Goodbye!")
quit_game()
case ["look"]:
current_room.describe()
case ["get", obj]:
character.get(obj, current_room)
case ["drop", *objects]:
for obj in objects:
character.drop(obj, current_room)
case ["go", direction] if direction in current_room.exits:
current_room = current_room.neighbor(direction)
case ["go", _]:
print("Sorry, you can't go that way")
case _:
print(f"Sorry, I couldn't understand {command!r}")
Back soon, picking up a laptop for a co-worker
raceback (most recent call last):
File "C:\Users\Retrosoft\Desktop\gesture_cursor_control-master\red_detect.py", line 32, in <module>
_, contours, heirarchy = cv2.findContours(thresh1.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
ValueError: not enough values to unpack (expected 3, got 2)
[ WARN:0] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
i think the first comma is wrong, there seems to be one too many on that line
the comma here has nothing in front of it -> , contours, heirarchy = cv2.findContours(thresh1.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
_, contours, heirarchy = cv2.findContours(thresh1.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
_
!e py a, b, c = 1, 2
@somber heath :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ValueError: not enough values to unpack (expected 3, got 2)
!e py a, b = 1, 2 print(a, b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
1 2
The breaking changes fairy has been a-visiting.
!e py x, y = 1 2
@somber heath :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | x, y = 1 2
003 | ^^^
004 | SyntaxError: invalid syntax. Perhaps you forgot a comma?
File "C:\Users\Retrosoft\Desktop\gesture_cursor_control-master\red_detect.py", line 43, in <module>
if radius >5:
NameError: name 'radius' is not defined
[ WARN:0] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
!e
first, *remaining = (1, 2, 3, 4, 5)
print(first)
print(remaining)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | 1
002 | [2, 3, 4, 5]
x , radius = 1 , 2
# -*- coding: utf-8 -*-
"""
Created on Sun Feb 10 20:08:29 2019
@author: ajain
"""
import cv2
import numpy as np
cap = cv2.VideoCapture(0)
lower_red = np.array([170,75,190])
upper_red = np.array([180,255, 255])
'''
lower_green= np.array([45,60,100])
upper_green= np.array([75,255, 255]) '''
points = []
ret , frame = cap.read()
Height, Width =frame.shape[:2]
frame_count = 0
while True:
ret , frame = cap.read()
hsv_img = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV)
mask1 = cv2.inRange(hsv_img, lower_red, upper_red)
r , thresh1 = cv2.threshold(mask1, 150, 255, 0)
contours, heirarchy = cv2.findContours(thresh1.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
center = int(Height/2), int(Width/2)
if len(contours) >0:
c =max(contours, key =cv2.contourArea)
(x,y) , radius = cv2.minEnclosingCircle(c)
M = cv2.moments(c)
try:
center =(int(M["m10"]/M["m00"]), int(M["m01"]/M["m00"]))
except:
center = int(Height/2), int(Width/2)
if radius >5:
cv2.circle(frame, (int(x),int(y)), int(radius),(0,0,255),2)
cv2.circle(frame, center, 5, (0,255,0), -1)
points.append(center)
res1 = cv2.bitwise_and(frame, frame, mask=mask1)
cv2.drawContours(res1, contours, -1, (0,255,0),3)
print(center[0],center[1])
"""
mask2 = cv2.inRange(hsv_img, lower_green, upper_green)
res2 = cv2.bitwise_and(frame, frame, mask=mask2)
r , thresh2 = cv2.threshold(mask2, 200, 255, 0)
_, contours, heirarchy = cv2.findContours(thresh2.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
"""
# cv2.drawContours(res2, contours, -1, (0,255,0),3)
cv2.imshow("original", frame)
# cv2.imshow("mask1", mask1)
#cv2.imshow("final1",res1)
# cv2.imshow("mask2", mask2)
#cv2.imshow("final2",res2)
if cv2.waitKey(1) == 13:
break;
cap.release()
cv2.destroyAllWindows()```
hi
!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.
# -*- coding: utf-8 -*-
"""
Created on Sun Feb 10 20:08:29 2019
@author: ajain
"""
import cv2
import numpy as np
cap = cv2.VideoCapture(0)
lower_red = np.array([170,75,190])
upper_red = np.array([180,255, 255])
'''
lower_green= np.array([45,60,100])
upper_green= np.array([75,255, 255]) '''
points = []
ret , frame = cap.read()
Height, Width =frame.shape[:2]
frame_count = 0
while True:
ret , frame = cap.read()
hsv_img = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV)
mask1 = cv2.inRange(hsv_img, lower_red, upper_red)
r , thresh1 = cv2.threshold(mask1, 150, 255, 0)
contours, heirarchy = cv2.findContours(thresh1.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
center = int(Height/2), int(Width/2)
if len(contours) >0:
c =max(contours, key =cv2.contourArea)
(x,y) , radius = cv2.minEnclosingCircle(c)
M = cv2.moments(c)
try:
center =(int(M["m10"]/M["m00"]), int(M["m01"]/M["m00"]))
except:
center = int(Height/2), int(Width/2)
if radius >5:
cv2.circle(frame, (int(x),int(y)), int(radius),(0,0,255),2)
cv2.circle(frame, center, 5, (0,255,0), -1)
points.append(center)
res1 = cv2.bitwise_and(frame, frame, mask=mask1)
cv2.drawContours(res1, contours, -1, (0,255,0),3)
print(center[0],center[1])
"""
mask2 = cv2.inRange(hsv_img, lower_green, upper_green)
res2 = cv2.bitwise_and(frame, frame, mask=mask2)
r , thresh2 = cv2.threshold(mask2, 200, 255, 0)
_, contours, heirarchy = cv2.findContours(thresh2.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
"""
# cv2.drawContours(res2, contours, -1, (0,255,0),3)
cv2.imshow("original", frame)
# cv2.imshow("mask1", mask1)
#cv2.imshow("final1",res1)
# cv2.imshow("mask2", mask2)
#cv2.imshow("final2",res2)
if cv2.waitKey(1) == 13:
break;
cap.release()
cv2.destroyAllWindows()```
if len(contours) >0:
c =max(contours, key =cv2.contourArea)
(x,y) , radius = cv2.minEnclosingCircle(c)
M = cv2.moments(c)
try:
Hola

each white dot is like GOTTA LOOK GOTTA LOOK
H E L P !!
With?
Hey @hexed vault!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
hayan from unholy blood
What's your question/issue?
@dense ibexit's just funny lol
i have this error where a file already exist

FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:/Users/USER/PycharmProjects/FaceRecog/venv/scan-face.py'
Looking now, sorry bay
can anybody give me a hand?
Is it giving you a line number with the error?
And or do you have the full traceback?
!traceback
Please provide the full traceback for your exception in order to help us identify your issue.
A full traceback could look like:
Traceback (most recent call last):
File "tiny", line 3, in
do_something()
File "tiny", line 2, in do_something
a = 6 / b
ZeroDivisionError: division by zero
The best way to read your traceback is bottom to top.
โข Identify the exception raised (in this case ZeroDivisionError)
โข Make note of the line number (in this case 2), and navigate there in your program.
โข Try to understand why the error occurred (in this case because b is 0).
To read more about exceptions and errors, please refer to the PyDis Wiki or the official Python tutorial.
Traceback (most recent call last):
File "C:/Users/USER/PycharmProjects/FaceRecog/venv/scan-face.py", line 13, in <module>
os.mkdir(path)
C:\Python\Python379\python.exe C:/Users/USER/PycharmProjects/FaceRecog/venv/scan-face.py
Traceback (most recent call last):
File "C:/Users/USER/PycharmProjects/FaceRecog/venv/scan-face.py", line 13, in <module>
os.mkdir(path)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:/Users/USER/PycharmProjects/FaceRecog/venv/scan-face.py'
you might need to look into os.mkdir function. I believe mkdir also takes in an optional argument which is "exists"
yes
No
Not in site-packages
Someone ducked up
I think he created his file there
not quite sure if hes creating a file or a folder
ill try
cause if ur creating a file then you might not want to use mkdir
I have a chunk of pyrite.
you fool
A S M R
another error exist
C:\Python\Python379\python.exe C:/Users/USER/PycharmProjects/FaceRecog/venv/scan-face.py
C:\Python\Python379\python.exe: can't open file 'C:/Users/USER/PycharmProjects/FaceRecog/venv/scan-face.py': [Errno 2] No such file or directory
Process finished with exit code 2
scan-face
python.exe C:/Users/USER/PycharmProjects/FaceRecog/scan-face.py
how do i do that ?
!venv
Virtual Environments
Virtual environments are isolated Python environments, which make it easier to keep your system clean and manage dependencies. By default, when activated, only libraries and scripts installed in the virtual environment are accessible, preventing cross-project dependency conflicts, and allowing easy isolation of requirements.
To create a new virtual environment, you can use the standard library venv module: python3 -m venv .venv (replace python3 with python or py on Windows)
Then, to activate the new virtual environment:
Windows (PowerShell): .venv\Scripts\Activate.ps1
or (Command Prompt): .venv\Scripts\activate.bat
MacOS / Linux (Bash): source .venv/bin/activate
Packages can then be installed to the virtual environment using pip, as normal.
For more information, take a read of the documentation. If you run code through your editor, check its documentation on how to make it use your virtual environment. For example, see the VSCode or PyCharm docs.
Tools such as poetry and pipenv can manage the creation of virtual environments as well as project dependencies, making packaging and installing your project easier.
Note: When using Windows PowerShell, you may need to change the execution policy first. This is only required once:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Windows Terminal is an "inbox" app now
other py.file works inside from the venv except for scan-face.py
im confused about deleting the venv
No no no
Not deleting
Just removing it from that file path that you're trying to run
But you need to activate the venv in this case
There's a policy for it
for some reason it thinks scan-face is inside venv, when it is not.
yes
I found it looking at a vendor's computer
Traceback (most recent call last):
File "C:/Users/USER/PycharmProjects/FaceRecog/scan-face.py", line 13, in <module>
os.mkdir(path)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:/Users/USER/PycharmProjects/FaceRecog/scan-face.py'
Can you set Edge polices for personal profiles?
its still the same
the FileExistsError implies scan-face.py is running, and theres a issue in the code
i tried to edit config error still exist
@hexed vault can you send the content of scan-face.py in a paste link?
That's how they make money Pub ๐
๐ฉ
that says # train.py at the top. is that really the content of scan-face.py?
the comment might be wrong.
๐ i just use brave now for any browsing
have to still use chrome for development unfortunately (and firefox for the css tools)
๐ i just use an extension to save my open tabs currently
and close em
0 ram usage
and 1 click to open them back up
i want to create a new folder file to store the images
can u repeat about using path??
!d pathlib
New in version 3.4.
Source code: Lib/pathlib.py
This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure paths, which provide purely computational operations without I/O, and concrete paths, which inherit from pure paths but also provide I/O operations.
If youโve never used this module before or just arenโt sure which class is right for your task, Path is most likely what you need. It instantiates a concrete path for the platform the code is running on.
Pure paths are useful in some special cases; for example:
from pathlib import Path
images_path = Path("./images/").resolve()
print(images_path)
images_path.mkdir(exist_ok=True)
ill put this inside try;?
Sorry, what was your question @warm fog?
Type it out here if you like.
It was you that asked the question right? ๐
Ah right.
No worries ๐
BFS?
Big Fucking Steak
Breadth-first search
Breadth First Search
best first search or breath first search i assume
oh
laundmo was faster
Breadth-first search (BFS) is an algorithm for searching a tree data structure for a node that satisfies a given property. It starts at the tree root and explores all nodes at the present depth prior to moving on to the nodes at the next depth level. Extra memory, usually a queue, is needed to keep track of the child nodes that were encountered ...
Oh so it checks each step checking all of that level then moving to the next
the code works
line 65, in <module>
1,(0, 255, 0))
cv2.error: OpenCV(4.5.4-dev) ๐ error: (-5:Bad argument) in function 'putText'
Overload resolution failed:
- putText() missing required argument 'color' (pos 6)
- putText() missing required argument 'color' (pos 6)
but another error occurs
There are a few variants of BFS, and depending on what you're trying to do exactly, and what data you have to work with, the implementation will be slightly different.
So let's say that it checks from Frankfurt
Then goes to Wurzburg to Numberg and if finds that is 320km
But conventionally you use a FIFO queue.
Are we talking messaging systems???
When it checks Frankfurt to Kassel to Munchen and it then sees Numberg, does it then see that the total is already larger so it doesn't bother checking further?
So you have a queue of nodes which you still need to visit, and each time you visit a new node (by popping it off the start of the queue) you append that node's neighbours to the end of the queue.
Oh, nope, leetcode
A* is kind of a generalisation of uniform cost search (Dijkstra).
async ๐คฉ
I refuse
i love async
@warm fog So do you have a specific problem you're trying to solve with breadth first search, or are you just trying to get the general idea?
It worked ! ! ! however i want to create a unique folder to inside 'images' everytime ill run scan-face.py
This is a pretty good resource @warm fog https://www.redblobgames.com/pathfinding/a-star/introduction.html
It starts with breadth-first search.
Ight thanks mate gonna check it out
Love you, too, oof
๐ an a* visualizer with turtle was my first python project
i modified it a bit and tried 3-4 different heuristic functions which all changed what kind of mazes it was gr8 at solving (and i generated them using a simple best first search)
May I ask ??
what is this warning means?
[ WARN:1] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
โค๏ธ Check out Weights & Biases and sign up for a free demo here: https://www.wandb.com/papers
The mentioned blog post is available here:
https://www.wandb.com/articles/visualizing-molecular-structure-with-weights-biases
๐ The paper "Learning to Simulate Dynamic Environments with GameGAN" is available here:
https://nv-tlabs.github.io/gameGAN/
...
[ WARN:1] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
does this warning affects the code>?
@calm cypress
if n[0]!='.' ]+[0])[-1] + 1``` Can anyone explain this line ?? i really dont understand this sorry im just a noob
What's all this?
what the
@dense ibexyou're really quiet btw
@rugged root - see here
I listen to pop for coding and it needs to be upbeat and thatโs slow pensive Taylor Swift. Do not want.
Not wronog
recently i just asked a question regarding scan-face.py
the code works now
i have this code, i want to train those images that i captured using this code
File "C:\Users\USER\PycharmProjects\FaceRecog\train.py", line 9, in <module>
image_dir.mkdir(exist_ok=True)
File "C:\Python\Python379\lib\pathlib.py", line 1273, in mkdir
self._accessor.mkdir(self, mode)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'FaceRecog\\images'
unfortunately this error occured
Malicious PyPl Packages Downloaded 40,000+ Times
https://www.infosecurity-magazine.com/news/malicious-pypl-packages-downloaded/
Researchers have discovered 11 new malicious open-source packages
using various advanced techniques to avoid detection on the popular
PyPl repository. Python's official third-party software repository is
home to over half a million developers, who typically use pre-built
open-source packages to accelerate time-to-market.
However, threat actors are increasingly infiltrating these upstream
sources for their own ends.
The JFrog Security research team yesterday revealed it had discovered
11 new malware packages with over 40,000 downloads from PyPl. Their
authors used a range of techniques to stay hidden and therefore
infect as many users as possible.
These included using the Fastly CDN to disguise traffic sent to their
command and control (C2) server as a legitimate communication with
pypi.org.
Another technique was to use the TrevorC2 framework to make
client-server communications look similar to regular website
browsing. According to JFrog, the client sends requests at random
intervals and hides the malicious payload into normal-looking HTTP
GET requests.
Not anymore
They're more randomized now
The Social Security card and number explained.
Visit the Grey subreddit: http://reddit.com/r/cgpgrey
Special Thanks:
Stephen P. Morse, PhD. http://stevemorse.org
Ralph Gross, Postdoctoral Fellow, Carnegie Mellon University. https://peexlab.com
Alessandro Acquisti, Professor, Carnegie Mellon University
Mark Govea, Thomas J Miller Jr MD, ...
oh ok got it
It specifically means two
But some people use it to mean like "less than five"
I hate it
14 can drive if you apply for a SoK application
you can drive at 14 if you apply for SoK
Get an exclusive behind the buns peek at the Wienermobile
Hello
@flat sentinel you mean batter?
@woeful salmon, your username looks like this to me. Am I missing fonts I need to install?

Yep
Alright, stack exchange is saying I should install 'fonts-noto'
ยฏ_(ใ)_/ยฏ
Ah noo
Hey guys
i heard theres a new language called 'JeGill'
I cant join voice chat
But can anyone solve this calculus question
You just mean you can't join right now.
No I meant I am not in a situation to join Vc now
Use the off-topic channels for that
Ok
is it true that theres a new language called "JiGill"
I just wanted to know if anybody here good in calculus
!stream 900103657373196299
โ @whole bear can now stream until <t:1637603346:f>.
Oh my god I was thinking the exact same thing @brave steppe
lol 

i just found a really fun little tool and stopped all work and vc to play with it
lol
Codestyle preference? ```python
async def handle_error(self, *args, raised: Exception):
for error, handler in self.error_handlers:
if not isinstance(raised, error):
continue
try:
await handler(*args, raised)
except Exception:
continue
else:
break
else:
raise raised
-- VS --
```python
async def handle_error(self, *args, raised: Exception):
for error, handler in self.error_handlers:
if not isinstance(raised, error):
continue
try:
await handler(*args, raised)
break
except Exception:
continue
else:
raise raised
Erm, not a huge difference, but I would go with the former. I prefer to put as little as possible in the try: block.
You could even do just: ```py
...
except Exception:
continue
break
Yeah true, I think the latter looks somewhat ugly. But it gets weird with the else/else visually ๐ ..
I'm gonna add some comments and see how looks
Oh right! I love that
sem
More of an aesthetic choice than anything.
not really the lesser code you have in try the lesser the chance of you causing a unexpected exception to be caught although in this case its just a break so i guess it doesn't matter
Yeah same. Almost to a neurotic degree ๐
i like react but i hate create-react-app
Like I even tab-align default arguments and dictionary values, if I can get away with it ๐
def foo(
first_arg: int = 1,
second_arg: str = 'hello',
third_arg: str | None = None,
) -> None:
...
pls no what have you done
Although that example is kind of ugly actually ๐
The class is like a blueprint for an object.
@whole bear also you need to look into semantic html in the future
where you don't make a div soup and use tags like header and nav
That's probably not too bad Rapture.
If they've done programming outside of school.
I mean when I was in high school, CS wasn't even available as a subject at GCSE or A-level.
Yeah I am ๐
It was only added to the curriculum a few years ago.
Well, secondary school, whatever ๐
Wow, just make me feel old then...
Maybe it just wasn't available at my school ๐ค
I wonder if I would even pass a GCSE CS exam.
Sorry
๐
Guys! I want work on opensource projects using python. How can I find appropriate project corresponding to my level and how to begin the journey?
Any guideline?
What sort of level are you at?
Have you learned about classes etc. ?
in between beginner and intermediate i guess.
Oh right. Well the two main bots in this server are open-source, and we accept contributions.
That might be a good way dip your toes in open-source development.
@viscid lagoon is more beginner-friendly.
And you can always ask questions in #dev-contrib
Sounds good. Okay. I'm gonna fork it and explore ..
def scope_test():
def do_local():
spam = "local spam"
def do_nonlocal():
nonlocal spam
spam = "nonlocal spam"
def do_global():
global spam
spam = "global spam"
spam = "test spam"
do_local()
print("After local assignment:", spam)
do_nonlocal()
print("After nonlocal assignment:", spam)
do_global()
print("After global assignment:", spam)
scope_test()
print("In global scope:", spam)
After local assignment: test spam
After nonlocal assignment: nonlocal spam
After global assignment: nonlocal spam
In global scope: global spam
def printer(text):
def inner(): # Notice that it doesn't take args
print(text) # Has access to text above
return inner # Return the function we created
hello = printer("hello")
hello() # Notice that we don't need to give arguments
def __init__(self, name, age):
self.name = name
self.age = age
def introduce(self):
...
p1 = Person("John", 36)
print(p1.name)
print(p1.age)
__mifflin__
I learned in django while registering a model then if, I don't use def init. In the admin page we can't see the value of the model in the list. While using init function i can check the name..
p1 = Person("John", 36)
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
print(Person("John", 36))
<__main__.Person object at 0x14fc8598a100>
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
p1 = Person("John", 36); print(p1.name, p1.age)
while True:
...
__=__import__("string");_=__.ascii_lowercase;k=input("Key:");print(''.join(map(lambda char:[char,_[(_.index(char.strip())+int(k))%len(_)]][char.isalpha()],input('Msg:').lower())))
!e
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __str__(self):
return f"My name is {self.name} and I am {self.age} years old"
john = Person("John", 36)
print(john)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
My name is John and I am 36 years old
!e
class Goblin:
def __init__(self, health):
self.health = health
def __repr__(self):
return f"{type(self).__name__}(health={self.health})"
def damage(self, damage):
self.health -= damage
goblins = [Goblin(100) for _ in range(3)]
goblins[0].damage(50)
print(goblins)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
[Goblin(health=50), Goblin(health=100), Goblin(health=100)]
why the goblin damaged itself? ;-;
def damage(self, damage, other):
other.health -= damage
improved
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
p1.myfunc()
๐ well i just wanted to show that change in state is maintained
and since i'm not fond of violence i'd much rather goblin get smited by its creator via method
why are you thinking so deep while making a simple example ๐
class Child(Parent):
@wintry prism background noise.
Turn on push-to-talk please.
Let us know once you see these messages and we'll un-mute you.
!tempvoiceban 528519445149122570 1h
:incoming_envelope: :ok_hand: applied voice ban to @wintry prism until <t:1637611728:f> (59 minutes and 58 seconds).
@wintry prism We temp voice banned you because we requested that you mute while you had a bunch of background noise but refused to
When it expires, please make sure that you take better control of your microphone
i thought eivl is doing workshop -> clicked on locked channel -> somehow crashed
weird
Yeah it's still locked
๐ i don't get stickers
i'd much rather just put on like a clean dbrand skin or something
@brave steppe do you ever use raise x from y?
Yeah, a lot usually
@rugged root can I pick your mind on some discord bot implemention?
Since my error handling system has the user do raise to indicate that an error wasn't called that means that the handler gets appended to the traceback
This is a bit troublesome as the traceback gets ugly
Traceback (most recent call last):
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 13, in <module>
c(e)
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 4, in do_nothing
raise exc
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 13, in <module>
c(e)
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 4, in do_nothing
raise exc
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 13, in <module>
c(e)
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 4, in do_nothing
raise exc
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 13, in <module>
c(e)
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 4, in do_nothing
raise exc
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 13, in <module>
c(e)
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 4, in do_nothing
raise exc
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 9, in <module>
raise RuntimeError('Aaahh...')
RuntimeError: Aaahh...
Like, this traceback should only be ```python
Traceback (most recent call last):
File "C:\Users\gabri\AppData\Local\Temp/ipykernel_15660/3444800012.py", line 9, in <module>
raise RuntimeError('Aaahh...')
RuntimeError: Aaahh...
I may have to scrap the way of raiseing errors. Could just have error handlers return them again maybe
Oh right ๐ค
I would guess that tracebacks are immutable, so if I can store it somewhere that would actually help so much
Bot dev question: How do I catch if a component is not usable anymore after command is invoked?
So command create a form, and if bot restarts I want to catch when the form is unavailable
man i am enjoying 144p in 5 FPS
I'm not 100%. You might ask in #discord-bots
Okay, thanks m8
I take that back, in the code above I am not raising new errors (only using the original). So even doing that won't work.
Basically raiseing errors messes things up
RIP my design document
Starliner have had a lot of issues.
Omg, I didn't really notice my voice was turned on.
You're good, it'll expire in a bit
Note: feel free to move the GIF spam to DMs
any help from gods?
1
Traceback (most recent call last):
File "C:\Users\USER\PycharmProjects\FaceRecog\faces.py", line 32, in <module>
print(labels[id_])
KeyError: 1
[ WARN:1] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
Process finished with exit code 1
this error is killing me
https://paste.pythondiscord.com/unexuloxod.apache this is the recog.code
the second one is train .py
Gonna see the Discord Developer QA ๐
what's QA? quality assurance? ๐ค they have that?
@brave steppe ur talking to me ?
No
any mods here?
if in x == "hi":
print(hi)
you guys know the new programming language named "GeeGill"?
to check if a is in b
you check a in b
is GeeGill good?
!e
a = "goatsy"
b = "goat"
print(b in a)
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
True
==
@west lion Please don't barge into voice chat and interrupt active conversations
If you have a question, ideally you should take it to the help system. See #โ๏ฝhow-to-get-help for more information on that
it's fine
If you want help from voice, type out your question.
the whole convo was about this eventually
It wasn't originally
meh
@west lion We clear?
ok man๐
@rugged root may i ask permissions for streaming?
I can't at the moment. We only grant stream permissions if there is a moderator already in the chat to grant it and at their discretion. And I'm about to do a delivery run for work, so I'm unavailable
okay thanks anyway
howdy everybody
Hello. I hear you Jake
it just apears i cannot speak. I dont have permission for some reason
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Its a character from Dark souls 3, and thank you
So last time i was here, i didnt have this issue
it apears i prolly dont have at least 50 messages lol
yay, this is quite fun.......
sorry, im back
So what are you working on verboof?
an OSM-based map of รle-de-Brรฉhat
hi
oh
lol i dont actually
gotcha gotcha
so now I'm generating a map based on it
you guys from uk?
I'm Dutch
bogly
jake is from the USA
also known as Wales

jesus
gotta finish some reports
been procrastinating for so long, now im only waiting to fall asleep
@glossy granite why are you not in VC?
because im tryna focus
but i cant
You obviously cannot focus on homework / school work if you focus on Discord.
multitasking is a myth
its not
i only am focusing on multiple activities which do not inclue writing my lab reports
๐
๐ฎ
No offense, but this sounds like someone who does not need me to notice their chats ...
@dense ibex
:angerysad:
why is that
... because I already had a rough day so far.
oh
apologies
will not mention shit from now on

Just was not in the mood at this time, forgive me.
@gentle flint
Join the Open Beta of Crossout, the post-apocalyptic MMO Action game! Craft your unique battle machines from dozens of interchangeable parts and destroy your enemies in explosive PvP online battles!Key Features:Unique vehicles, crafted by the players using a wide range of available parts: From nimble buggies to heavily tracked off-road vehicles ...
823
What are you working on Oof?
Ah right
iterative
Not that that helps
it-er-a-tive
So you're converting open street map data to a pdf?
Erm, I think the stream has frozen
Alright, good luck ๐
cya
That's a melon.
10lb 11oz
"I made dis"
Dura Vermeer
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
๐
you need to goto #voice-verification and run a command then
to get verified
ah wait nvm
i thought you already have sent 50
From his new album Solid State, out April 28.
The album has a companion graphic novel written by Matt Fraction and drawn by Albert Monteys. It's a science fiction story about the internet, the future, artificial intelligence, and how probably only love will save us.
The book, CD, Vinyl, Tshirts, and deluxe bundles of fantastic things can be pr...
@buoyant flame๐
Hey hi
Oh yes.
All by myyysellllf
๐ต
My day has been standard.
Ha. Yes.
Oncoming storm?
Hm.
Yeah, there are times when I have the "I must program" drive.
and it's brass monkeys
Such things come in handy.
Still dying?
Even if you are over the hump, there's still a recovery.
I have a chairdrobe.
If washing your clothes is a pain in the arse, you may be doing it wrong.
The clothes go in the washing machine.
Boring
Buy Defucntland T-Shirts:
https://teespring.com/stores/defunctland
Donate on Patreon:
https://patreon.com/defunctland
Defunctland takes on Vernon, New Jersey's infamous water park, Action Park! Watch and learn the full history of this dangerous amusement park.
Follow Defunctland on Social Media:
Twitter: https://twitter.com/defunctland
Fac...
Garrison Davis is joined by Robert Evans to discuss Action Park.Footnotes:
https://www.themeparktourist.com/features/20150414/30160/rise-and-fall-and-scrapes-and-scares-class-action-park?page=5
https://weirdnj.com/stories/action-park/
Class Action Park- HBO
https://www.newsweek.com/5-craziest-stories-about-new-jerseys-infamous-action-park-151641...
Just when you think it can't get worse.
A proprietary music streaming service
If they didn't rate, it didn't play?
Okay.
Scummy company does scummy thing to get ahead. News at 11.
Bu'uns?
Is your nose blocked?
Ironic, then, that the British are leading the charge.
Eliminating T/tea from the English language.
@wide cedar If you're wondering why you can't talk, check out the #voice-verification channel
That'll tell you want to know about our voice gate
Learn about the Butterball Turkey Talk-Lineยฎ, which provides expert assistance for all turkey questions.
The one thing I know is that dethawing should take place well in advance.
...and that a giant bucket of boiling oil is fucking terrifying.
I really don't get what's wrong with pre-cut bits.
By far more managable.
!otn a Jake-ruined-Thanksgiving
Snatch is amazing.
The squeaker toy and the dog.
Amazing.
Koalas are smooth-brained idiots.
We care.
Personally, I'm glad you're not physically going in. I'm still in covid siege mode.
@whole bear https://pypi.org/project/auto-py-to-exe/
from os import path
from tkinter import *
import tkinter
from tkinter.filedialog import askopenfilename, askopenfilenames, asksaveasfilename
import subprocess
import TKlighter
from tkinter import ttk
from sys import exit
window = Tk()
window.title("Cobalt - v0.01")
gpath = ''
def runMyCode():
output.delete('1.0', END)
global gpath
if gpath == '':
saveMsg = Toplevel()
msg = Label(saveMsg, text='Must save the file first.')
msg.pack()
return
command = f'python {gpath}'
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
outputResult, error = process.communicate()
output.insert('1.0', outputResult)
output.insert('1.0', error)
def openFile():
path = askopenfilename(filetypes=[('Python Files', '*.py')])
with open(path, 'r') as file:
code = file.read()
textEditor.delete('1.0', END)
textEditor.insert('1.0', code)
global gpath
gpath = path
def saveMyFileAs():
global gpath
if gpath == '':
path = asksaveasfilename(filetypes=[('Python Files', '*.py')],defaultextension=".py")
gpath = path
else:
path = gpath
with open(path, 'w') as file:
code = textEditor.get('1.0', END)
file.write(code)
def light(event):
TKlighter.def_h(textEditor, '#ff79c6')
TKlighter.print_h(textEditor, '#50fa7b')
TKlighter.custom_regex_h(textEditor, r'".*"', "#f1fa81")
def doubleQuots(event):
textEditor.insert(tkinter.INSERT, '"')
def exitWindow():
exit()
textEditor = Text(window, wrap="word", undo=True)
textEditor.config(bg="#282a36", fg="#c2ebf2", insertbackground="#dadde3")
textEditor.bind('<Key>', light)
textEditor.bind('"', doubleQuots)
textEditor.pack(expand=True, fill="both")
output = Text(height=7)
output.config(bg="#21222c", fg="#c2ebf2")
output.pack(expand=True, fill="both")
menuBar = Menu(window)
fileBar = Menu(menuBar, tearoff=0)
fileBar.add_command(label='Open File', command=openFile)
fileBar.add_command(label='Save', command=saveMyFileAs)
fileBar.add_command(label='Save As', command=saveMyFileAs)
fileBar.add_command(label='Exit', command=exitWindow)
menuBar.add_cascade(label='File', menu = fileBar)
runBar = Menu(menuBar, tearoff=0)
runBar.add_command(label='Run', command=runMyCode)
menuBar.add_cascade(label='Run', menu = runBar)
window.config(menu=menuBar)
window.mainloop()
You're interacting with us.
Because nobody ever lies.
@dense ibex ๐ข
lol
you wouldn't sell your kidney
honestly if someone really needed it though I wouldn't take the money
!otn a GPL-my-liver
@winter rose see the embed below
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Sleepy Hollow is surprisingly funny.
Saw it with my D&D group when it first came out.
It's not really horror...I mean, it's got some awful stuff in it...but...it's not solidly in that category.
Looking for something else to pass the time while you're waiting? Check out Mojis (www.mojis.me) for your iPhone!
โThe song is called Opus No. 1, by Tim Carleton and Darrick Deel. Itโs never been on a Top 40 list or gotten radio play, and yet itโs heard around the world by the millions of people who are placed on hold each day.
Darrick and Tim...
I suppose it's very much Grimm's fairytales and dark and stuff sort of thing.
Hey @whole bear!
It looks like you tried to attach file type(s) that we do not allow (.jfif). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
Feel free to ask in #community-meta if you think this is a mistake.
This is one of the best songs ever created ^^^
Doing good, my work is holding thanksgiving. I'm about to pass out.
sudo shutdown -t now
socweal mobwelwety
heh
<erno> hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
MIB headquarters?
this is worse
fgh
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@frosty star ๐
Haaay~
How's it going
I was about to ask that
it's a moth
I think it looks like boobs
Iโm actually trying to sleep. Itโs been a good productive day tho.
HaHaa
What time is it there?
We see what we want to see?
a side-gig
Ohh postgrad?
I can never drink bobba with milk these days
Local uni?
We might cross paths someday
๐ i've also tutored people and taught some friends for free
the hard part is keeping them interested without dropping too much info
Marking is hard because you get paranoid about mis-marking or not being fair
truth
you get too technical they get bored or confused
you explain too abstractly they can use it but they get stuck whenever something doesn't work the samme way
Whats the word. Perpetual motion?
yeah
Time travel woo
๐ have you ever taught anyone css tho
time travel gang
@rugged root hey man how`s goin
US Pistol Service
u shoot pistols seriously
lol
Not too shabby, you?
boom , i am good
Ugh yeah so annoyin
@crystal fox ur accent kinda reminds me of Peaky Blinders
Ouh
Where bisk is from?
Interesting ๐ค
if the person who asked is imaginary then.
who asked = imaginary
if the square root of -1 = imaginary
who asked = sqrt(-1)
also known as
who asked = i
the answer to Who asked ? is
i asked.```
Woโuh
dict() van dyke
this is the life
Imma go to bed. Itโs been nice. Good night / have a nice day guys.
Hemlock ๐
I don't have permission to speak.
We've taken a lot of the parts of thanksgiving from the US and wrapped them into christmas day.
Yeah, looks professional!
!otn a accidental dutch
:ok_hand: Added accidental-dutch to the names list.
Why did I think you were a lecturer? ๐ค
Ohh right
Fair enough ๐
You could talk about PyDis?
I was actually looking at your GitHub yesterday ๐
Aoc
Co Pilot AoC, that would be interesting
Probably not in the spirit of the event though ๐
@olive sentinel Your video quality was very nice.
Thanks, I was wondering how it would work with Discord
the test was really short, but i think i saw/heard some delay
If you record it, it goes very well, but Discord and other apps typically compress everything until it breaks
yeah, the delay is because I'm using a different mic
easily fixable in a recording, bit more difficult if you use it as a webcam
It's a Sony Alpha 6400 (or "A6400")
With this lens: https://www.sigma-global.com/en/lenses/c017_16_14/
Back in a bit...
He went up, but he didnโt want to come down. Jaylen Murph was on vacation with friends and family in Arkansas when they visited a place with a very tall slide. Murph agreed to try it out, but as he was hoisted up the slide, he started to regret his decision. He screamed to be let down, but there was only one way for him to get down: to let go of...
๐
variable imaginary is undefined
sqrt(-1) is imaginary
imaginary = sqrt(-1)
create a mobile shopping cart app that lets you store and remove different items with their price and tells you the total with and without taxes
o- o its one of the first things i did when i learnt react native personally and i still use it
lol
both me and my mom use it actually
import math;x=lambda radian:radian*180/math.pi;print(x(int(input("Enter deg: "))))
import math;def x(radian):radian*180/math.pi;print(x(int(input("Enter deg: "))))
!e
foo = [1, 2, 3, 4]
doubles = list(map(lambda x: x*2, foo))
print(doubles)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
[2, 4, 6, 8]
import math
symbols = ['+', '-', '*', '/']
def BruteForce(i):
for element in symbols:
A bit of speed messes with Carol Vorderman.
๐ the proper way is to just check with if statements and do it manually
you should avoid eval but it is an option (a bad one)
print(f'10 {+} 10')
!e
print(f'10 {+} 10')
@scenic wind :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | (+)
003 | ^
004 | SyntaxError: f-string: invalid syntax
!eval [code]
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
!e ```py
symbols = ['+', '-', '*', '/']
print(f'10 {symbols[0]} 10')
@whole bear :white_check_mark: Your eval job has completed with return code 0.
10 + 10
!e ```py
symbols = ['+', '-', '*', '/']
eval(f'10 {symbols[0]} 10')
@whole bear :warning: Your eval job has completed with return code 0.
[No output]
!e ```py
symbols = ['+', '-', '*', '/']
print(eval(f'10 {symbols[0]} 10'))
@whole bear :white_check_mark: Your eval job has completed with return code 0.
20
!e
foo = "20"
bar = "2, print('get rekt kid')"
print(eval(foo + "+" + bar))
!e ```py
symbols = ['+', '-', '*', '/']
print(f'10 {symbols[0]} 10 = '+ eval(f'10 {symbols[0]} 10'))
@whole bear :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 3, in <module>
003 | TypeError: can only concatenate str (not "int") to str
10 + 10 = 20
symbols = ['+', '-', '*', '/']
print(f"10 {symbols[0]} 10 = {eval(f'10 {symbols[0]} 10')}")
!e
symbols = ['+', '-', '*', '/']
print(f"10 {symbols[0]} 10 = {eval(f'10 {symbols[0]} 10')}")
symbols = ['+', '-', '*', '/']
equation = f'10 {symbols[0]} 10'
answer = eval(equation)
print(f'{equation} = {answer}')
!e ```py
symbols = ['+', '-', '*', '/']
equation = f'10 {symbols[0]} 10'
answer = eval(equation)
print(f'{equation} = {answer}')
@whole bear :white_check_mark: Your eval job has completed with return code 0.
10 + 10 = 20
!eval print(f"{10+10=}")
