#voice-chat-text-0
1 messages ยท Page 505 of 1
best time to be inspired, no enviromental noise
Also best time to just zone out, like I could code for what feels like 5 minutes and it's actually 30 minutes
Exactly.. Also thats a good time to go to downtown, relax (in case if there is a couple of 24/7 restaurants and cafe
in my case, just the town
And meet the sunrise
And you would be the good target for young lady (18+) full of the romantic dreams
I mean while getting older I feel Im getting more pragmatic
What does this do? (Nevermind)
yes correct
@paper wolf pointers in C++ are less reliable/direct than in C
ugh
Python is embeddable too
also "scripting language" is kind of a generally useless notion
HTML is a programming language, JSON is a programming language
How To Meet Ladies?
they are declarative, but so is Haskell, to an extent
don't entangle simulation logic with the UI logic
biggest non-embedded software I know that involves Lua is Torch
its pre-Python stage
I just like to hear people compare the validity of things I don't even have a full understanding of, fun learning material
@somber heath going to the earlier discussion about accents
that is way better even if krisp can be super annoying when it cuts you off
Temu is as if your ordered Aliexpress from Aliexpress
I would never use Temu because there is Aliexpress and it's considerably less problematic
true
starts with same letters
empl*yment
bro said the w word
e word
j word
w word
ill cook food
lol
fun way to give people a chance to gain something even if they suck
servers?
Forgejo/Gitea
also, side note: not these are not commits
these are pushes
i.e. total commit count is even higher
three separate deployments of Forgejo/Gitea
meanwhile GitHub isn't used as much by me
there was some commit in rust-lang org
most of the code I have on GitHub is for things I publish on crates.io
which then ends up being used at work or other places
self-hostable
GitHub is closed-source
you can self-host it but you need to negotiate a license agreement with them
there is no public offer for how much that costs
no, you host it
you pay them to host their software for your use
Forgejo is a purely free thing
Gitea as a whole is no longer really free
it's a for-profit corporation now
Forgejo is maintained by Codeberg, which is a non-profit organisation
Forgejo branched off from Gitea for that exact reason
Gitea the organisation is trying to monetise Gitea the brand after governance change
I also have a GitLab account but it still has 0 activity
!code
@brazen sluice ๐
guys i cant talk in voice channels how to fix
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
"" is an initial value, that you add things to
you can't += to something that doesn't exist yet
there is another form
table = "".join(f"{n} X {i} = {n*i}\n" for i in range(1, 11))
here "" means something different
!e
s = "a"
s += "b"
s += "c"
print(s)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
abc
!e
s = "a" + "b" + "c"
print(s)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
abc
!e
s = "".join(["a", "b", "c"])
print(s)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
abc
these three yield same results
however they work differently
s += "a"
s = s + "a"
there are some cases in Python where those two differ
if you do = instead of +=, it will ||only output the last line||
make sure you understand the entirety of the tutorial, yes
this tutorial https://docs.python.org/3/tutorial/index.html
there is no "learning fast"
I started 8 years ago
numpy, pandas are installable packages
not part of the standard library
pydoc -b should give you lots of docs in a browser accessible while not connected to the internet
hi there folks
why everytime people talk here it will end up on politics....
lmao
fair point
woah cool
aaaaa guys idk what to do ๐ญ
opalmist is smart
!doc dict
@worn comet @zenith atlas ๐
hey
with open("show_ip_int_brief.txt", "r") as f:
data = f.readlines()
ip_addresses = {}
for line in data:
if "10." in line:
line_split = line.split()
interface = line_split[0]
ip_address = line_split[1]
ip_addresses.update({interface: ip_address})
for k, v in ip_addresses.items():
print(f"{k} --> {v}")
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 10.220.88.22 YES NVRAM up up
GigabitEthernet0/0/1 unassigned YES unset administratively down down
GigabitEthernet0/1/0 unassigned YES unset down down
GigabitEthernet0/1/1 unassigned YES unset down down
GigabitEthernet0/1/2 unassigned YES unset down down
GigabitEthernet0/1/3 unassigned YES unset down down
Loopback98 10.254.98.1 YES manual up up
Loopback99 10.254.99.1 YES manual up up
Vlan1 unassigned YES manual up
!e
base_addr = "10.220.88"
ip_generator = (
f"{base_addr}.{x}"
for x in range(1,6)
)
for ip_addr in ip_generator:
print(ip_addr)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | 10.220.88.1
002 | 10.220.88.2
003 | 10.220.88.3
004 | 10.220.88.4
005 | 10.220.88.5
@void ore @umbral iron ๐
"^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
Most important things to know about IP address regex and examples of validation and extraction of IP address from a given string in Python programming language.
"^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$"
yes
im trying use mic more than 2 months
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
and i cant rsrsrs
i did it
but have some problem that i need make more than 25 messages...
its a lot
!voice
but im here more than 3-4 months
said i cant have permission
let me see
@storm pine ๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
This one is much shorter
ipv4_pattern = r"^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
@hybrid vigil ๐
Unmute me
As I said. The instructions are in the voice verification channel.
See the first instruction.
@summer osprey ๐
Hello ๐๐ป
import re
ipv4_pattern = r"^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
with open("show_ip_int_brief.txt", "r") as f:
data = f.readlines()
ip_addresses = {}
for line in data:
if re.match(ipv4_pattern, line.split()[1]):
interface = line.split()[0]
ip_address = line.split()[1]
ip_addresses.update({interface: ip_address})
for k, v in ip_addresses.items():
print(f"{k} --> {v}")
ip_addresses = ip_addresses[interface: ip_address]
!e py my_dict = {} my_dict['apples'] = 13 print(my_dict) print(my_dict['apples'])
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | {'apples': 13}
002 | 13
ip_addresses[interface] = ip_address
!e py foo = {1: 2, 3: 4} bar = {3: 5, 6: 7} foo.update(bar) print(foo)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
{1: 2, 3: 5, 6: 7}
!e py foo = {1: 2, 3: 4} bar = {3: 5, 6: 7} baz = foo | bar print(foo) print(bar) print(baz)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | {1: 2, 3: 4}
002 | {3: 5, 6: 7}
003 | {1: 2, 3: 5, 6: 7}
async def subscribe_push(request: Request) -> JSONResponse | HTMLResponse:
!e ```py
class MyClass:
def or(self, value):
return 'Hello, world.'
foo = MyClass()
print(foo | 123)```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
Hello, world.
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!e ```py
class MyClass:
def getitem(self, key):
return 'Hello, world.'
def __setitem__(self, key, value):
print(f'Setting {key} with {value}.')
foo = MyClass()
print(foo['bar'])
foo['baz'] = 'boz'```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | Hello, world.
002 | Setting baz with boz.
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!e
x = 5 # Binary: 0101
y = 7 # Binary: 0111
result = x | y
print(result)
to make it free to talk
:white_check_mark: Your 3.13 eval job has completed with return code 0.
7
!e
x = 5 # Binary: 0101
y = 8 # Binary: 1000
result = x | y
print(result)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
13
& << >> ^ | ~
!e
x = 1
print(id(x))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
140296938708752
yeah im looking queensland now, wow
weiiird, why is it so cold now there?
oh i thought it was like brasil, always hot even in winter
XDDDDD
know the feel
ohh thats sad
where im from we also have fires like every year
a lot of people have died too
worst of it is that here all of the big ones have been intentional
pyromaniacs
last one which was huge it was a coordinated between a firefighter and park rangers, 5800 hectares burnt
wow
hi
@cinder mirage ๐
MERCH ๐: https://shop.laughoverlife.com/
Superman, Earth's hero, has some competition in the city after a cosmic storm caused some changes. Taking their first steps into the limelight is the Foontastic Four - Reed, The Thing, Fire, and Sue? In a battle to be the dominant and loved heroes, Superman and the Foontastic Four compete to see who i...
Hello, ะทะตะปะตะฝะฐั ัะตัะตะฒะธัะฐ
Spiders, snakes and sharks
in my country we only have the violinist spider, litterally the only poisonous/venomous animal here
we dont even have snakes
so prob i wouldnt survive there XD
yeah us with the bears
bears are the worst imho
I can't type 50 messages to remove the mute
just listen and say something on it
here we have mountain lion
You need 25
but the mountain lion we have is specifically shy and just runs from you and is a small variant
ohhh :c
Same as lynx I guess
Russia-Canada
I'm implementing a "Range Tree". A data structure that represents an interval that has been subject to successive splitting by removal of 1 element.
In essence you start with a range(a,b) and then you pick some x with a<=x<b and "insert x" into the Range Tree and this leads to further splitting of the range.
In Russiaี
?
russia, canada, aus
since now im fully remote i want to travel while working
Correct Opal
In Canada - come to Ottawa
My favourite
Montreal is good.. But no french - no money-no honey
it is the actual range in Python
In Quebec you definietly need to know French
@sacred nest ๐
@proud merlin ๐
Hey
I'm having hard time understanding......
Guys help ๐ญ I don't understand what Babu say ๐ญ
@wintry forum ๐
How you understanding it ๐ญ
Babu's accent realy degrades the English words
Opal most talk super slow tbh...
Well English isn't not like other languages where there's no word difference when you slightly change the sound
A loot of language is tonal language while English is highly not
does GenAI qualify as "something" ?
sorry didn't get you ?
the topics discussed were not to your liking, so I'm asking what can we do to cater to your high standards?
you know we want to make everyone happy in order to achieve excellent Customer Service in this Discord server.
i think you get offend if yes then i am sorry actually they were silent that's why i said that
@left dirge ๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ok thanks
Japanese Sumo Robots
Carefully edited takes from several years of footage.
If you liked this, you'll probably also like these robotic mice: https://www.youtube.com/watch?v=2V6QE0GJ-zw
If you like this and want to help me make more:
https://www.patreon.com/mcgregor
Click Here To Subscribe! โบhttps://www.youtube.com/channel/UCseFtoNUVuegUgM3...
Lock out, tag out or lockoutโtagout (LOTO) is a safety procedure used to ensure that dangerous equipment is properly shut off and not able to be started up again prior to the completion of maintenance or repair work. It requires that hazardous energy sources be "isolated and rendered inoperative" before work is started on the equipment in ques...
a
@robust veldt ๐
@brisk heath ๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath I'll talk to you after 3 days
@dry raptor ๐
๐
Cisco
@manic basin instead of wondering, planning, just do it. tryhackme and hackthebox are excellent.
if you can go through at least all the free content.. you're already golden. then get the sub and do even more.
Ok will do thank you so much.
Yooo I am web dev
I'm a human.
I didn't asked
@manic basin look into Google's bug bounty program
afaik they don't penalise for delayed discovery
there were precedents of payouts for showing a proof of concept combining multiple exploits where several months pass since discovery of the first bug
@sour steppe hey, how are you?
internet is very reliable yes
iirc the context was SoloLearn course for Python
this whole thread is still so funny #voice-chat-text-0 message
@manic basin #cybersecurity message a list of free certs if you wanna
Nice
Did you have same for Ai?
Holle
sleep affects memory
you will not "lose brain cells", but you will just not learn as fast
@sour steppe meanwhile Spain: double summer time
1 hour shift permanent + 1 extra hour during summer
so Spain has the same timezone as Russia during summer
(very Western Russia)
mut
same tz
@sour steppe meanwhile Uber:
bcantrill commenting on just how wrong that is
https://youtu.be/9QMGAtxUlAc
Bryan Cantrill
@sour steppe if you're looking at the code at all, it's already not "true vibe coding"
vibe coding is for discardable code
you can't really add security on top of something correctly
really needs to be designed upfront
how to create this
can some one pla look over my game
@long dragon you're almost certainly looking for this
maybe @sour steppe
then just make a no-click element follow the cursor, which is relatively easy
ok
another possibly useful thing https://developer.mozilla.org/en-US/docs/Web/CSS/mask
what does snek stand for
snake
!source eval
Run Python code and get the results.
see the filepath
can someone explain me how can i create this
share the link
that's not website that's a video of how to create this in html css js shery js but i can't use shery js in next js
so i want to know
no bro i use this but its not working i try many times
You can ask in a JS server. No clue what you tried or what errors you're getting.
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@sour steppe ig the social skill learning really is good LOL im joking
https://pebblehost.com/bot-hosting @echo bison
That is stupidly cheap hosting
hi
prefix = '`'
bot = commands.bot(command_prefix=prefix, intents=discord.Intents.all)
do not give all intents.
bot = commands.bot(command_prefix=prefix, intents=discord.Intents.all)
@tall dust ๐
health: 20 Hp
hello
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hunger: 75.5 hung
25 non deleted msges
import pygame as pyg
#===[init]===#
pyg.init()
class Player:
def __init__(self, ):
pass
def Player_Movement(self, (Player_X, Player_Y), ):
pass
`
@foo
def spam():
pass
is sugar for
def spam():
pass
spam = foo(spam)
import pygame as pyg
#===[init]===#
pyg.init()
class Player:
def __init__(self, ):
pass
def Player_Movement(self, Player_X, Player_Y, ):
self.Player_X = Player_X
self.Player_Y = Player_Y
Player_position = (Player_X , Player_Y)
@small zodiac @hearty trout ๐
import pygame as pyg
from random import randint
#===[init]===#
pyg.init()
class Player:
def __init__():
pass
def Player_Movement(self,surface):
player_pos = pyg.Vector2(surface.get_width() / 2, surface.get_height() / 2)
keys = pyg.key.get_pressed()
if keys[pyg.K_w]:
player_pos.y -= 300 * dt
if keys[pyg.K_s]:
player_pos.y += 300 * dt
if keys[pyg.K_a]:
player_pos.x -= 300 * dt
if keys[pyg.K_d]:
player_pos.x += 300 * dt
def Create_player (self, surface, rand_color):
R = randint(0,255)
G = randint(0,255)
B = randint(0,255)
rand_color = (R,G,B)
player_object = pyg.draw.rect(surface, rand_color)
digits = []
carry = 0
for u, v in zip_longest(reversed(a), reversed(b), fill_value="0"):
value = int(u) + int(v) + carry
carry = value & 2 >> 1
digits.append(value & 1)
return "".join(map(str, reversed(digits)))
!stream 1318626588560199692
โ @woeful blaze can now stream until <t:1754275725:f>.
keys = pyg.key.get_pressed()
if keys[pyg.K_w]:
player_pos.y -= 300 * dt
if keys[pyg.K_s]:
player_pos.y += 300 * dt
if keys[pyg.K_a]:
player_pos.x -= 300 * dt
if keys[pyg.K_d]:
player_pos.x += 300 * dt
You could throw in some elifs, there. Another approach I've used is a dictionary that maps keys to functions/methods.
!d pygame.draw.rect
pygame.draw.rect()```
Draw a rectangle.
rect(surface, color, rect, width=0, border\_radius=-1, border\_top\_left\_radius=-1, border\_top\_right\_radius=-1, border\_bottom\_left\_radius=-1, border\_bottom\_right\_radius=-1) -> Rect
Draws a rectangle on the given surface.
pygame.Rect```
pygame object for storing rectangular coordinates
Rect(left, top, width, height) -> Rect
Rect((left, top), (width, height)) -> Rect
Rect(object) -> Rect
Rect() -> Rect...
@steel wyvern ๐
Hellow
@app_commands.command()
async def fruits(interaction: discord.Interaction, fruit: str):
await interaction.response.send_message(f'Your favourite fruit seems to be {fruit}')
@fruits.autocomplete('fruit')
async def fruits_autocomplete(
interaction: discord.Interaction,
current: str,
) -> List[app_commands.Choice[str]]:
fruits = ['Banana', 'Pineapple', 'Apple', 'Watermelon', 'Melon', 'Cherry']
return [
app_commands.Choice(name=fruit, value=fruit)
for fruit in fruits if current.lower() in fruit.lower()
]
Hello
I like Monokai Pro
The Unicode block Symbols for Legacy Computing Supplement contains the codepoints from U+1CC00 to U+1CEBF.
why the hell do i need to confirm 4 popups to delete a file in the cursor project filesystem on a PC? ridiculous
def walk(node: Node):
yield node
for child in node.children:
yield from walk(child)
for node in walk(root):
if something(node):
break
@bright flume ๐
No.
๐ญ
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
Yeah, this is very against server rules.
educational purpose i have to submit it
in college
i am learning networking help me
We are not a pro-hacking community. Surely, your course has content that covered what you need. Please read your lecture notes.
alr
hello dev
how much u know html
lets do some clash of code fr
Very well, why?
โฌโฌโฌโฌ You have entered the home of Horror Gaming โฌโฌโฌโฌโฌ
โฌโฌโฌโฌโฌโฌโฌโฌ ๐ปSurvival Horror Network ๐ป โฌโฌโฌโฌโฌโฌโฌโฌ
SHN Rating for : The Complex Expedition ๐ป๐ป๐ป๐ป out of ๐ป๐ป๐ป๐ป๐ป
I really enjoyed the game and the look of it . The found footage aspect of it works really well !
...
nice man me to
Are you working on a website?
@celest comet ๐
@celest comet I think you're pfp doesn't match up to your name ๐ญ
That's Your POV
I have an algorithm, I keep it in my backpack ๐
I will not show you it because itโs confidential ๐ค
@open moth #media-processing message
@wise loom Hey
I currently workin on interpreter for my programming language
@wise loom I do like backend stuff but i hate
frontend
๐ญ
shirt? https://www.etsy.com/shop/gmcfosho
shiiiiiiii, 3rd track off my album. gonna be a hidden track, you gotta listen to the second track all the way through to get to dis one. took a minute to get this one up cuz SOMEONE ON THIS STREET CALLED THE POLICE ON US, AND TO THAT SOME1 (IF YOU WATCHIN THIS VIDEO, WHY YOU HATIN?) EITHER WAY I JUS SAI...
@chilly wolf a raytracing engine ??
or may be
umm
Discord API wrapper in rust
๐
This silence is killing me
no
TI 84 refraction
simulation of light passing through a prism
It is quite possibly
the most simple form of raytracing possible
it's a single line
as in, the ray
one ray
can you share your github??
sure, but I don't have the refration simulation up on there
but I can put it up if you'd like
here, I will send you my website
academic
it has a link to the github
hmm alr
I might have to mess with Discord's CSS at some point, the missing mic permission popup is way too annoying
(as in browser permission)
@weary cedar ๐
hi @somber heath
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
no , I want juest lisn
!code
print("TASK 3: Employee Skill Matching")
# Given data - Employee skills as sets
john_skills = {"Python", "SQL", "JavaScript", "Git", "Docker", "AWS"}
mary_skills = {"Java", "Python", "MongoDB", "Git", "Kubernetes", "React"}
bob_skills = {"C++", "Python", "Linux", "Git", "Docker", "TensorFlow"}
sarah_skills = {"Python", "SQL", "Tableau", "Excel", "PowerBI", "Git"}
# Project requirements
web_project_skills = {"Python", "JavaScript", "React", "Git", "Docker"}
data_project_skills = {"Python", "SQL", "Tableau", "MongoDB", "TensorFlow"}
devops_project_skills = {"Docker", "Kubernetes", "AWS", "Linux", "Git"}
print("Employee Skills:")
print(f"John: {john_skills}")
print(f"Mary: {mary_skills}")
print(f"Bob: {bob_skills}")
print(f"Sarah: {sarah_skills}")
print(f"\nProject Requirements:")
print(f"Web Project: {web_project_skills}")
print(f"Data Project: {data_project_skills}")
# TODO 1: Find common skills among all employees
common_skills = set() # TODO: Use set intersection (&) operation
# TODO 2: Find unique skills each employee has
all_other_skills = set() # TODO: Combine Mary's, Bob's, and Sarah's skills
john_unique = set() # TODO: Skills only John has (use set difference -)
# TODO 3: Web project matching
# Check which employees can work on web project
# Calculate skill match percentage for each
# John's web project analysis
john_matching_skills = set() # TODO: Use intersection
john_web_match = 0 # TODO: Calculate percentage
# Mary's web project analysis
mary_matching_skills = set() # TODO: Use intersection
mary_web_match = 0 # TODO: Calculate percentage```
common_skills = john_skills & mary_skills```
coman_skills----output------ {'Git', 'Python'}
.
common_skills = john_skills & mary_skills & bob_skills & sarah_skills
common_skills ### output {'Git', 'Python'}```
@whole bear ๐
hi
unique_skills= list (.... , ..... , ....)
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!d set
class set([iterable])``````py
class frozenset([iterable])```
Return a new set or frozenset object whose elements are taken from *iterable*. The elements of a set must be [hashable](https://docs.python.org/3/glossary.html#term-hashable). To represent sets of sets, the inner sets must be [`frozenset`](https://docs.python.org/3/library/stdtypes.html#frozenset) objects. If *iterable* is not specified, a new empty set is returned.
Sets can be created by several means...
!e py set() + set()
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | [31mset() [0m[1;31m+[0m[31m set()[0m
004 | [31m~~~~~~[0m[1;31m^[0m[31m~~~~~~[0m
005 | [1;35mTypeError[0m: [35munsupported operand type(s) for +: 'set' and 'set'[0m
marys_bobs_sarahsskills= mary_skills and bob_skills and sarah_skills```
!e py print({1, 2, 3} and {4, 5, 6})
:white_check_mark: Your 3.13 eval job has completed with return code 0.
{4, 5, 6}
marys_bobs_sarahsskills ### output {'Excel', 'Git', 'PowerBI', 'Python', 'SQL', 'Tableau'}```
@lethal siren ๐
(mary_skills) + (bobs_skills) + (sarahs skills)```
I remember seeing + used with sets but that was in some other language
.
and this is why you should study maths for programming
(I learned set theory before using sets in Python)
johns_sarahs_bobskills= (bob_skills | sarah_skills | mary_skills)
johns_sarahs_bobskills ### {'C++',
'Docker',
'Excel',
'Git',
'Java',
'Kubernetes',
'Linux',
'MongoDB',
'PowerBI',
'Python',
'React',
'SQL',
'Tableau',
'TensorFlow'}```
this should be a newline, not space
thanks
!e py a = 123 b = (123) print(a == b)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
True
C with Classes,
cgroups+namespaces,
world's most popular functional programming language,
the information manager from hell,
(everything further I didn't come up with a funny alternate description of)
I highly suggest using ruff, it might catch things like unnecessary parentheses
okay first time I wrote it, it was correct
use tab search
modern browsers support it
john_unique = john_skills - all_other_skills
john_unique ### output {'AWS', 'JavaScript'}```
and after #
ruff would catch this too
I strongly believe that automatic linters don't "make you lazy" about code style, instead they reinforce and teach it
very unlike auto-complete's effect
(of any sort)
@quiet creek ๐
Dame Edna Everage, often known simply as Dame Edna, is a character created and portrayed by Australian comedian Barry Humphries, known for her lilac-coloured ("wisteria hue") hair and cat eye glasses ("face furniture"); her favourite flower, the gladiolus ("gladdies"); and her boisterous greeting "Hello, Possums!" As Dame Edna, Humphries wrote s...
john_matching_skills = john_skills & web_project_skills```
len(1**5)
@somber heath
len(john_matching_skills) ** (web_project_skills) * 5
!e py set() ** 123
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | [31mset() [0m[1;31m**[0m[31m 123[0m
004 | [31m~~~~~~[0m[1;31m^^[0m[31m~~~~[0m
005 | [1;35mTypeError[0m: [35munsupported operand type(s) for ** or pow(): 'set' and 'int'[0m
!e py set() ** set()
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | [31mset() [0m[1;31m**[0m[31m set()[0m
004 | [31m~~~~~~[0m[1;31m^^[0m[31m~~~~~~[0m
005 | [1;35mTypeError[0m: [35munsupported operand type(s) for ** or pow(): 'set' and 'set'[0m
len(john_matching_skills) (web_project_skills)
!e py 123 * set()
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | [31m123 [0m[1;31m*[0m[31m set()[0m
004 | [31m~~~~[0m[1;31m^[0m[31m~~~~~~[0m
005 | [1;35mTypeError[0m: [35munsupported operand type(s) for *: 'int' and 'set'[0m
!e py print(1 / 2)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
0.5
len(john_matching_skills)/(web_project_skills) * 5
!e
len(john_matching_skills)/(web_project_skills) * 100``
:x: Your 3.13 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m1[0m
002 | [1;31m`[0mpy
003 | [1;31m^[0m
004 | [1;35mSyntaxError[0m: [35minvalid syntax[0m
!e
len(john_matching_skills)/len(web_project_skills) * 100``
:x: Your 3.13 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m1[0m
002 | [1;31m`[0mpy
003 | [1;31m^[0m
004 | [1;35mSyntaxError[0m: [35minvalid syntax[0m
hey
!e py print(3 / 5 * 100)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
60.0
!e
print(3 / 5 * 100)
:white_check_mark: Your 3.14 pre-release eval job has completed with return code 0.
60.0
wow
!e py a = 'abc' b = ('abc') print(repr(a)) print(repr(b))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | 'abc'
002 | 'abc'
!e py a = 'abc' b = 'def' c = (a + b) d = a + b print(repr(c)) print(repr(d))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | 'abcdef'
002 | 'abcdef'
!e py print(1 / 2 == 1 / (2))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
True
Is there a way for me to check how far away i am from voice verification?
How to do the activity blocks?
I don't understand why im not verified then.
!user in #bot-commands
!e py print({1, 2, 3} ^ {3, 4, 5})
:white_check_mark: Your 3.13 eval job has completed with return code 0.
{1, 2, 4, 5}
what does ^ do ?
!d set
class set([iterable])``````py
class frozenset([iterable])```
Return a new set or frozenset object whose elements are taken from *iterable*. The elements of a set must be [hashable](https://docs.python.org/3/glossary.html#term-hashable). To represent sets of sets, the inner sets must be [`frozenset`](https://docs.python.org/3/library/stdtypes.html#frozenset) objects. If *iterable* is not specified, a new empty set is returned.
Sets can be created by several means...
&
mary_matching_skills= mary_skills & web_project_skills
mary_matching_skills```
!e py print({1, 2, 3, 4} & {3, 4, 5, 6})
:white_check_mark: Your 3.13 eval job has completed with return code 0.
{3, 4}
How many activity blocks do i need?
!e py print({1, 2, 3, 4} | {3, 4, 5, 6})
:white_check_mark: Your 3.13 eval job has completed with return code 0.
{1, 2, 3, 4, 5, 6}
output {'Git', 'Python', 'React'}
len(mary_matching_skills)/len(web_project_skills)``
#include <stdlib.h>
#include <stdio.h>
int main(){
int a = 7;
int* ptr_a = &a;
printf("%p\n", ptr_a);
return 0;
}
output 0.6
len(mary_matching_skills)/len(web_project_skills) * 100``
### output 60.0``
yo so i press on this to save right>
print("TASK 1: Shopping Cart System")
# Given data
cart_items = ['laptop', 'mouse', 'keyboard', 'monitor', 'laptop', 'speakers']
cart_prices = [999.99, 29.99, 79.99, 299.99, 999.99, 149.99]
print(f"Cart Items: {cart_items}")
print(f"Cart Prices: {cart_prices}")
# TODO 1: Calculate basic statistics
total_items = 0 # TODO: count items
total_cost = 0 # TODO: calculate total cost
most_expensive = 0 # TODO: find highest price
cheapest_item = 0 # TODO: find lowest price```
!rule 8
8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.
!d sum
sum(iterable, /, start=0)```
Sums *start* and the items of an *iterable* from left to right and returns the total. The *iterable*โs items are normally numbers, and the start value is not allowed to be a string.
For some use cases, there are good alternatives to [`sum()`](https://docs.python.org/3/library/functions.html#sum). The preferred, fast way to concatenate a sequence of strings is by calling `''.join(sequence)`. To add floating-point values with extended precision, see [`math.fsum()`](https://docs.python.org/3/library/math.html#math.fsum). To concatenate a series of iterables, consider using [`itertools.chain()`](https://docs.python.org/3/library/itertools.html#itertools.chain).
Changed in version 3.8: The *start* parameter can be specified as a keyword argument...
max(iterable, *, key=None)``````py
max(iterable, *, default, key=None)``````py
max(arg1, arg2, *args, key=None)```
Return the largest item in an iterable or the largest of two or more arguments.
If one positional argument is provided, it should be an [iterable](https://docs.python.org/3/glossary.html#term-iterable). The largest item in the iterable is returned. If two or more positional arguments are provided, the largest of the positional arguments is returned.
There are two optional keyword-only arguments. The *key* argument specifies a one-argument ordering function like that used for [`list.sort()`](https://docs.python.org/3/library/stdtypes.html#list.sort). The *default* argument specifies an object to return if the provided iterable is empty. If the iterable is empty and *default* is not provided, a [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) is raised.
most_expensive = max(cart_items)```
!d list
class list([iterable])```
Lists may be constructed in several ways...
!e list.index
:warning: Your 3.13 eval job has completed with return code 0.
[No output]
!e print(dir(list))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
['__add__', '__class__', '__class_getitem__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
!d zip
zip(*iterables, strict=False)```
Iterate over several iterables in parallel, producing tuples with an item from each one.
Example...
!e py foo = 'a' print(foo) foo = 'b' print(foo) foo = 'c' print(foo)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | a
002 | b
003 | c
!e py for foo in 'abc': print(foo)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | a
002 | b
003 | c
!e
import time
time.sleep(5)
print(5)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
5
!e py for i in range(3): print(i)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
!e py for _ in range(3): print('Hello, world.')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
!e py fruits = ['apples', 'pears', 'oranges'] for fruit in fruits: print(fruit)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | apples
002 | pears
003 | oranges
break
continue```
for loop?
for ... in ...:
...
else:
...```
omg I did not know that lol
!e ```py
if True:
print('A')
if False:
print('B')```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
A
!e ```py
name = 'Alex'
if name == 'Peter':
print('A')
print('B')```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
B
!e ```py
name = 'Peter'
if name == 'Peter':
print('A')
print('B')```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | A
002 | B
!e ```py
name = 'Alex'
if name == 'Peter':
print('A')
print('B')```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
B
!e py a = 'Alex' b = 'Peter' print(a == b)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
False
!e py a = 'Peter' b = 'Peter' print(a == b)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
True
!e```py
print('alex'=='alex')
print('\n')
print('peter'=='alex')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | True
002 |
003 |
004 | False
!e py print('A') if True: # Exactly one if print('B') elif True: # Zero or more elifs print('C') elif True: print('D') else: # Zero or one else print('E') print('F')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | A
002 | B
003 | F
In this order.
Only one in the chain is triggered.
!e py print('A') if False: # Exactly one if print('B') elif True: # Zero or more elifs print('C') elif True: print('D') else: # Zero or one else print('E') print('F')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | A
002 | C
003 | F
!e py print('A') if False: # Exactly one if print('B') elif False: # Zero or more elifs print('C') elif True: print('D') else: # Zero or one else print('E') print('F')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | A
002 | D
003 | F

!e py print('A') if False: # Exactly one if print('B') elif False: # Zero or more elifs print('C') elif False: print('D') else: # Zero or one else print('E') print('F')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | A
002 | E
003 | F
print("TASK 2: Student Grade Management")
Given data - Tuple format: (name, math, science, english, major, credits)
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
student_bob = ("Bob Smith", 78, 85, 90, "Mathematics", 18)
student_carol = ("Carol Davis", 95, 89, 94, "Physics", 12)
student_david = ("David Wilson", 67, 72, 75, "Chemistry", 20)
print("Analyzing Alice's Academic Record:")
print(f"Student data: {student_alice}")
TODO 1: Unpack Alice's tuple and calculate average grade
name = "" # TODO: Extract name from tuple
math_grade = 0 # TODO: Extract math grade
science_grade = 0 # TODO: Extract science grade
english_grade = 0 # TODO: Extract english grade
major = "" # TODO: Extract major
credits = 0 # TODO: Extract credits
:white_check_mark: Your 3.13 eval job has completed with return code 0.
(1, 2, 3)
!e py a, b, c = 1, 2, 3 print(a) print(b) print(c)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
!e```py
'TASK 1: Shopping Cart System'
Given data
cart_items = ['laptop', 'mouse', 'keyboard', 'monitor', 'laptop', 'speakers']
cart_prices = [999.99, 29.99, 79.99, 299.99, 999.99, 149.99]
print(f'Cart Items: {cart_items}\n')
print(f'Cart Prices: {cart_prices}')
most_expensive = max(cart_prices)
1: Calculate basic statistics
total_items = int(len(cart_items)) # count items
total_cost = sum(cart_prices) # calculate total cost
#===[CALCULATE HIGHEST PRICE]===
most_expensive = 0
for price in cart_prices:
new_price = price
if new_price > most_expensive:
most_expensive = new_price # find highest price
#===============
cheapest_item = min(cart_prices) # find lowest price
#====[RESULT]====
print(f'\ntotal items: {total_items}\n\ntotal cost: {total_cost}\n\nMost Exp: {most_expensive}\n\nLeast exp: {cheapest_item}')
!e py foo = ['apples', 'pears', 'oranges'] a, b, c = foo print(a) print(b) print(c)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | apples
002 | pears
003 | oranges
!e
!e```py
'TASK 1: Shopping Cart System'
Given data
cart_items = ['laptop', 'mouse', 'keyboard', 'monitor', 'laptop', 'speakers']
cart_prices = [999.99, 29.99, 79.99, 299.99, 999.99, 149.99]
print(f'Cart Items: {cart_items}\n')
print(f'Cart Prices: {cart_prices}')
most_expensive = max(cart_prices)
1: Calculate basic statistics
total_items = int(len(cart_items)) # count items
total_cost = sum(cart_prices) # calculate total cost
#===[CALCULATE HIGHEST PRICE]===
most_expensive = 0
for price in cart_prices:
new_price = price
if new_price > most_expensive:
most_expensive = new_price # find highest price
#===============
cheapest_item = min(cart_prices) # find lowest price
#====[RESULT]====
print(f'\ntotal items: {total_items}\n\ntotal cost: {total_cost}\n\nMost Exp: {most_expensive}\n\nLeast exp: {cheapest_item}')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | Cart Items: ['laptop', 'mouse', 'keyboard', 'monitor', 'laptop', 'speakers']
002 |
003 | Cart Prices: [999.99, 29.99, 79.99, 299.99, 999.99, 149.99]
004 |
005 | total items: 6
006 |
007 | total cost: 2559.94
008 |
009 | Most Exp: 999.99
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/DD64WYDVXUAY7V5NLTBYUXV5Q4
!e```py
cart_prices =[9,2,6,4,8]
most_expensive = 0
for price in cart_prices:
print('price:',price)
new_price = price
print('new price:',new_price)
if new_price > most_expensive:
print(new_price)
most_expensive = new_price
Or you can use list.sort() :D
:(
!e```py
cart_prices =[1,2,6,4,9,8]
most_expensive = 0
for price in cart_prices:
print('price:',price)
new_price = price
print('new price:',new_price)
if new_price > most_expensive:
print(new_price)
most_expensive = new_price
!e
cart_prices =[9,2,6,4,8]
most_expensive = 0
for price in cart_prices:
new_price = price
print(f"{new_price} > {most_expensive} ? {new_price > most_expensive}")
if new_price > most_expensive:
most_expensive = new_price
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | 9 > 0 ? True
002 | 2 > 9 ? False
003 | 6 > 9 ? False
004 | 4 > 9 ? False
005 | 8 > 9 ? False
total_items.sort(len(cart_items))``
Total_item is not even created yet
You should create it first
You can't do any dot "." Operation on variable doesn't defined
You mean
```py
code()
```
```py
print('hello, world')
```
print("TASK 2: Student Grade Management")
# Given data - Tuple format: (name, math, science, english, major, credits)
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
student_bob = ("Bob Smith", 78, 85, 90, "Mathematics", 18)
student_carol = ("Carol Davis", 95, 89, 94, "Physics", 12)
student_david = ("David Wilson", 67, 72, 75, "Chemistry", 20)
print("Analyzing Alice's Academic Record:")
print(f"Student data: {student_alice}")
# TODO 1: Unpack Alice's tuple and calculate average grade
name = "" # TODO: Extract name from tuple
math_grade = 0 # TODO: Extract math grade
science_grade = 0 # TODO: Extract science grade
english_grade = 0 # TODO: Extract english grade
major = "" # TODO: Extract major
credits = 0 # TODO: Extract credits
student_alice=[0]``
```py
print('hello, world')
```
s
TODO: being highlighted: another parser inconsistency?
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
print("TASK 2: Student Grade Management")
# Given data - Tuple format: (name, math, science, english, major, credits)
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
student_bob = ("Bob Smith", 78, 85, 90, "Mathematics", 18)
student_carol = ("Carol Davis", 95, 89, 94, "Physics", 12)
student_david = ("David Wilson", 67, 72, 75, "Chemistry", 20)
print("Analyzing Alice's Academic Record:")
print(f"Student data: {student_alice}")
# TODO 1: Unpack Alice's tuple and calculate average grade
name = "" # TODO: Extract name from tuple
math_grade = 0 # TODO: Extract math grade
science_grade = 0 # TODO: Extract science grade
english_grade = 0 # TODO: Extract english grade
major = "" # TODO: Extract major
credits = 0 # TODO: Extract credits
!e```py
x = 'first_value','second_value'
print(x)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
('first_value', 'second_value')
wen't you a super mod
what's a super mod
Put parenthesis to make it more intuitive
ban talking
student_alice[0]``
!e```py
x = ('first_value'),('second_value')
print(x)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
('first_value', 'second_value')
student_alice [0]
no space
It would work even so
!e
a = ('huh', 'test')
print(a [0])
:white_check_mark: Your 3.13 eval job has completed with return code 0.
huh
Well... TIL
imagine if it worked like in C: 0[("a", "b")]
name, age, rank = student_alice```
You can but you have to override the getitem method
@somber heath reference understood
@pure basin ๐
the three Os
to you have an example of flask or any other simple python backend
Ooo!
student_alice[0]
'Alice Johnson'
name = "Alice Johnson"
name
####output Alice johnson```
LOL
hmm
!e
from forbiddenfruit import curse
def __getitem__(self, other):
return other[self]
curse(int, "__getitem__", __getitem__)
print(["a", "b", "c"]1)
:x: Your 3.13 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m7[0m
002 | print([1;31m["a", "b", "c"]1[0m)
003 | [1;31m^^^^^^^^^^^^^^^^[0m
004 | [1;35mSyntaxError[0m: [35minvalid syntax. Perhaps you forgot a comma?[0m
. is this right
HALLOOOOOOOOOOO
it's slotted, likely that's why can't be monkey patched
name, age, rank = student_alice```
!e
from forbiddenfruit import curse
def index(self, other):
return other[self]
curse(int, "index", index)
print(1 .index(["a", "b", "c"]))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
b
Damn idk that python has that cursed library
!e
basket = ("apple", "bread", "milk")
# unpack into items
item_1, item_2, item_3 = basket
print(item_1)
print(item_2)
print(item_3)
Unpacking the variable is by reassigning the tuple to another variable
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | apple
002 | bread
003 | milk

((excessive_parentheses)) = (((((1, 2, 3)))))
Use bracket
parentheses aren't required on the right side, just like how they aren't required on the left side
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
print(student_alice[0])```
[([{"name": "JAX", "Gay": True}])]
### output alice johnson```
!e
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
print(student_alice[0])```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
Alice Johnson
!e
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
name, math, science, english, major, credits = student_alice
print(f"Student: {name}, Math: {math}, Science: {science}, English: {english}, Major: {major}, Credits: {credits}")
:white_check_mark: Your 3.13 eval job has completed with return code 0.
Student: Alice Johnson, Math: 85, Science: 92, English: 88, Major: Computer Science, Credits: 15
result
.
print("TASK 2: Student Grade Management")
# Given data - Tuple format: (name, math, science, english, major, credits)
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
student_bob = ("Bob Smith", 78, 85, 90, "Mathematics", 18)
student_carol = ("Carol Davis", 95, 89, 94, "Physics", 12)
student_david = ("David Wilson", 67, 72, 75, "Chemistry", 20)
print("Analyzing Alice's Academic Record:")
print(f"Student data: {student_alice}")
# TODO 1: Unpack Alice's tuple and calculate average grade
name = "" # TODO: Extract name from tuple
math_grade = 0 # TODO: Extract math grade
science_grade = 0 # TODO: Extract science grade
english_grade = 0 # TODO: Extract english grade
major = "" # TODO: Extract major
credits = 0 # TODO: Extract credits
@manic basin you wanna calculate avg right ?
correct
bro you're confused ๐
its okay you did a lot today ๐
let him cook
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
print(student_alice[0])
### Alice Johnson
name='Alice Johnson'```
name, *grades, major, credits = student_alice
@manic basin
easy
my internet sucks bruh ๐ญ
so what should i do
name, *grades, major, credits = student_alice
# Now For avg
print(sum(grades)/len(grades))
want me to explain what i did?
yes
so that is like a short of what i could have done and what would have taken more space
and when you wrote grades what will be the output
!e
code
!e
print("TASK 2: Student Grade Management")
# Given data - Tuple format: (name, math, science, english, major, credits)
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
student_bob = ("Bob Smith", 78, 85, 90, "Mathematics", 18)
student_carol = ("Carol Davis", 95, 89, 94, "Physics", 12)
student_david = ("David Wilson", 67, 72, 75, "Chemistry", 20)
print("Analyzing Alice's Academic Record:")
print(f"Student data: {student_alice}")
print('--------------------------')
name, *grades, major, credits = student_alice
# Now For avg
print(f"Name {name}")
print(sum(grades)/len(grades))
print(f"Major {major}")
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | TASK 2: Student Grade Management
002 | Analyzing Alice's Academic Record:
003 | Student data: ('Alice Johnson', 85, 92, 88, 'Computer Science', 15)
004 | --------------------------
005 | Name Alice Johnson
006 | 88.33333333333333
007 | Major Computer Science
@manic basin
tbh there are tons of ways
to do this problem
๐ญ
sry
student_alice = ("Alice Johnson", 85, 92, 88, "Computer Science", 15)
print(student_alice[0])```
from flask import Flask, request
import ipinfo
import json
def loadinfo(my_ip):
print("My public IP address is:", my_ip)
access_token = '4a96fcf1e3e3af'
handler = ipinfo.getHandler(access_token)
details = handler.getDetails(my_ip)
with open('ip.txt', 'a') as f:
json.dump(details.all, f, indent=4)
print('success:', my_ip)
return details
app = Flask(__name__)
iplist = []
@app.route('/')
def index():
ip = request.remote_addr
details = loadinfo(ip)
return f"Hello, \n{details.ip}"
app.run(host='0.0.0.0', port=5000)
!e```py
from flask import Flask, request
import ipinfo
import json
def loadinfo(my_ip):
print("My public IP address is:", my_ip)
access_token = '4a96fcf1e3e3af'
handler = ipinfo.getHandler(access_token)
details = handler.getDetails(my_ip)
with open('ip.txt', 'a') as f:
json.dump(details.all, f, indent=4)
print('success:', my_ip)
return details
app = Flask(name)
iplist = []
@app.route('/')
def index():
ip = request.remote_addr
details = loadinfo(ip)
return f"Hello, \n{details.ip}"
app.run(host='0.0.0.0', port=5000)
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | from flask import Flask, request
004 | [1;35mModuleNotFoundError[0m: [35mNo module named 'flask'[0m
import os
os.system('pip install Flask')
math_grade=student_alice[1]
math_grade
### output 85``
!e```py
import os
os.system('pip install Flask')
:warning: Your 3.13 eval job has completed with return code 0.
[No output]
!e```py
import requests
print('e')
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | import requests
004 | [1;35mModuleNotFoundError[0m: [35mNo module named 'requests'[0m
!e```py
import request
print('e')
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | import request
004 | [1;35mModuleNotFoundError[0m: [35mNo module named 'request'[0m
!e
import os
os.system("pip list")
print('e')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
e
science_grade=student_alice[2]
science_grade
### output 92``
!e
import os
x = os.system("pip list")
print()
print("done")
:white_check_mark: Your 3.13 eval job has completed with return code 0.
e
"this is not your btn to click". wht does that mean
!e
import os
x = os.system("pip list")
print(x)
print("done")
import subprocess
import sys
def install(package):
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
install('Flask')
print('e')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | 32512
002 | done
!e```py
from Flask import flask
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | from Flask import flask
004 | [1;35mModuleNotFoundError[0m: [35mNo module named 'Flask'[0m
!e
import pkg_resources
installed_packages = [d.project_name for d in pkg_resources.working_set]
for pkg in installed_packages:
print(pkg)
print("done")
@manic basin let's say you have ten box's arranged in a line. each has a sticker on them with which represents the position of the box in a line in which they are arranged.
let's i told you to go and bring box number 5 how would know which box to pick?? by looking at there index/position right???
that's how array/list/tuple works in python.
all these are just items arranged in a line (order matters here)
you access each item in array/list/tuple using there index/position
frnds = ["Alexa", "Omar", "Siri"]
print("My Friend is ", frnds[0]) # Alexa
print("My Friend is ", frnds[1]) # Omar
print("My Friend is ", frnds[2]) # Siri
print("My Friend is ", frnds[3]) # Error : out of index something
when you're teacher told you to unpack the tuple she just want you to unpack the tuple/array/list and store them respective variable.
alexa = frnds[0] # first element stored in alexa variable which is her name
Note : tuple and list have different properties
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m4[0m, in [35m<module>[0m
003 | result = subprocess.run(["pip", "list"], capture_output=True, text=True)
004 | File [35m"/snekbin/python/3.13/lib/python3.13/subprocess.py"[0m, line [35m554[0m, in [35mrun[0m
005 | with [31mPopen[0m[1;31m(*popenargs, **kwargs)[0m as process:
006 | [31m~~~~~[0m[1;31m^^^^^^^^^^^^^^^^^^^^^^[0m
007 | File [35m"/snekbin/python/3.13/lib/python3.13/subprocess.py"[0m, line [35m1039[0m, in [35m__init__[0m
008 | [31mself._execute_child[0m[1;31m(args, executable, preexec_fn, close_fds,[0m
009 | [31m~~~~~~~~~~~~~~~~~~~[0m[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
010 | [1;31mpass_fds, cwd, env,[0m
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/RHNQ2TTW4PG3PH62CRMNZSK4IQ
Now There are lot of ways to unpack a Tuple/list
import datetime as dt
print(str(dt.datetime.now))
!e```py
import datetime as dt
print(str(dt.datetime.now))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
<built-in method now of type object at 0x7f4ea3274ea0>
import datetime as dt
now = dt.datetime.now
print(now)
!e```py
import datetime as dt
now = dt.datetime.now
print(now)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
<built-in method now of type object at 0x7feb312e1ea0>
now()
import datetime as dt
now = dt.datetime.now()
print(now)
!e
import pkg_resources
installed_packages = [d.project_name for d in pkg_resources.working_set]
for pkg in installed_packages:
print(pkg)
print("done")
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m1[0m, in [35m<module>[0m
003 | import pkg_resources
004 | [1;35mModuleNotFoundError[0m: [35mNo module named 'pkg_resources'[0m
!e
from subprocess import check_output
from sys import executable
print(check_output([executable, "-m", "pip", "freeze"], text=True))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | anyio==4.9.0
002 | arrow==1.3.0
003 | attrs==25.3.0
004 | beautifulsoup4==4.13.4
005 | capstone==5.0.6
006 | contourpy==1.3.2
007 | cycler==0.12.1
008 | fishhook==0.3.5
009 | fonttools==4.58.1
010 | forbiddenfruit==0.1.4
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/PLWJPGGXDME7Q5CXR3ORADMNVA
presumably you're looking for this?
!e
import datetime as dt
now = dt.datetime.now()
print(now)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
2025-08-04 13:43:04.106407
THANKS GUYS FOR THE HELP AND PLEASE HAVE A GREAT DAY
!pip forbiddenfruit
spoil sport
!pypi fishhook
another cursed crate
Discord deselecting text when hovering out of the code block is so annoying
player_movement = Player.Player_Movement(screen,dt)
!e
import os
import sys
# Manual pip freeze simulation
site_packages = next(p for p in sys.path if 'site-packages' in p)
pkgs = [d for d in os.listdir(site_packages)
if os.path.isdir(os.path.join(site_packages, d))]
print("\n".join(pkgs))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | trio
002 | matplotlib
003 | sniffio
004 | numpy-2.3.2.dist-info
005 | yarl
006 | packaging-25.0.dist-info
007 | fuzzywuzzy-0.18.0.dist-info
008 | pytz-2025.2.dist-info
009 | sympy-1.14.0.dist-info
010 | sniffio-1.3.1.dist-info
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/VJQFYH4AMUAO3XS7ITCS7LHAEQ
what a weirdly sorted list
https://youtu.be/tgSBzmGjj7k?si=giV-RHzAiefYxNlw
the music ive ben lisening to
Jump up high, raise your fists and punch the sky.
Join my Discord: https://discord.gg/ivy
๐ต ivycomb - Sun Spots ๐ต
Stream "Sun Spots" starting Feb 4th on Spotify, Apple Music, and all other platforms!: https://too.fm/sunspots
Consider supporting my work over on Patreon!
https://www.patreon.com/ivycomb
Follow ivycomb
Soundcloud: https:/...
is this wrong style autoformatted or generated?
this is the song i am currently and actively talking about, completly related to our conversation and Not breaking any rules:
https://open.spotify.com/intl-es/track/5iS6lR3iCFUQGaSgMGoTti?si=32f41698ff8b4f8b
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 |
002 | Generating tree from: /home
003 |
004 | โฒ UP Level 0: /home
005 | โโโ main.py
006 |
007 | โผ ORIGINAL PATH TREE: /home
008 | โโโ main.py
denied low key
obv they wouldn't run bloated windows ๐ญ
!e
import platform
print(platform.system()) # e.g. 'Windows', 'Linux', 'Darwin' (macOS)
print(platform.release()) # OS version
print(platform.platform()) # Full platform info
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | Linux
002 | 6.1.0-30-cloud-amd64
003 | Linux-6.1.0-30-cloud-amd64-x86_64-with-glibc2.36
import os
os.system('python3 pip install Flask')
!e```py
import os
os.system('python3 pip install Flask')
print('dondonedydone')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
dondonedydone
!e```py
import os
os.system('python3 pip install autogui')
print('dondonedydone')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
dondonedydone
!e
import os
import sys
# Manual pip freeze simulation
site_packages = next(p for p in sys.path if 'site-packages' in p)
pkgs = [d for d in os.listdir(site_packages)
if os.path.isdir(os.path.join(site_packages, d))]
print("\n".join(pkgs))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | trio
002 | matplotlib
003 | sniffio
004 | numpy-2.3.2.dist-info
005 | yarl
006 | packaging-25.0.dist-info
007 | fuzzywuzzy-0.18.0.dist-info
008 | pytz-2025.2.dist-info
009 | sympy-1.14.0.dist-info
010 | sniffio-1.3.1.dist-info
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/V7WBWBZBURC56XWTABQV2QRY64
!e
from subprocess import check_output
from sys import executable
print(check_output([executable, "-m", "pip", "freeze"], text=True))
from subprocess import check_output
from sys import executable
print(check_output([executable, "-m", "pip", "freeze"], text=True))
!e
import urllib.request, tarfile, os, stat; u="https://github.com/astral-sh/uv/releases/download/0.1.28/uv-linux-x86_64.tar.gz"; f="uv.tar.gz"; d="uv-bin"; urllib.request.urlretrieve(u, f); tarfile.open(f).extractall(d); os.chmod(d+"/uv", stat.S_IXUSR | stat.S_IRUSR | stat.S_IWUSR); os.rename(d+"/uv", os.path.expanduser("~/.local/bin/uv"))
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/snekbin/python/3.13/lib/python3.13/urllib/request.py"[0m, line [35m1319[0m, in [35mdo_open[0m
003 | [31mh.request[0m[1;31m(req.get_method(), req.selector, req.data, headers,[0m
004 | [31m~~~~~~~~~[0m[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
005 | [1;31mencode_chunked=req.has_header('Transfer-encoding'))[0m
006 | [1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
007 | File [35m"/snekbin/python/3.13/lib/python3.13/http/client.py"[0m, line [35m1338[0m, in [35mrequest[0m
008 | [31mself._send_request[0m[1;31m(method, url, body, headers, encode_chunked)[0m
009 | [31m~~~~~~~~~~~~~~~~~~[0m[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
010 | File [35m"/snekbin/python/3.13/lib/python3.13/http/client.py"[0m, line [35m1384[0m, in [35m_send_request[0m
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/VAOHQPQVVBGLPUNJWKJ3NFAFQY
!e
import os
os.system('python3 pip install Flask')
from subprocess import check_output
from sys import executable
print(check_output([executable, "-m", "pip", "freeze"], text=True))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | anyio==4.9.0
002 | arrow==1.3.0
003 | attrs==25.3.0
004 | beautifulsoup4==4.13.4
005 | capstone==5.0.6
006 | contourpy==1.3.2
007 | cycler==0.12.1
008 | fishhook==0.3.5
009 | fonttools==4.58.1
010 | forbiddenfruit==0.1.4
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/AXFGNT5WPCQAMMABXREDKPSEKM
!e```py
import os
os.system('python3 pip uninstall arrow')
print('dondonedydone')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
dondonedydone
!e```py
import os
os.system('python3 pip install Flask')
print('dondonedydone')
:white_check_mark: Your 3.13 eval job has completed with return code 0.
dondonedydone
!e
import tarfile, shutil, os, stat
with tarfile.open('uv-linux-x86_64.tar.gz') as tar:
tar.extractall('uv-tmp')
shutil.copy('uv-tmp/uv', os.path.expanduser('~/.local/bin/uv'))
os.chmod(os.path.expanduser('~/.local/bin/uv'), stat.S_IXUSR | stat.S_IRUSR | stat.S_IWUSR)
:x: Your 3.13 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m3[0m, in [35m<module>[0m
003 | with [31mtarfile.open[0m[1;31m('uv-linux-x86_64.tar.gz')[0m as tar:
004 | [31m~~~~~~~~~~~~[0m[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^[0m
005 | File [35m"/snekbin/python/3.13/lib/python3.13/tarfile.py"[0m, line [35m1875[0m, in [35mopen[0m
006 | return func(name, "r", fileobj, **kwargs)
007 | File [35m"/snekbin/python/3.13/lib/python3.13/tarfile.py"[0m, line [35m1943[0m, in [35mgzopen[0m
008 | fileobj = GzipFile(name, mode + "b", compresslevel, fileobj)
009 | File [35m"/snekbin/python/3.13/lib/python3.13/gzip.py"[0m, line [35m203[0m, in [35m__init__[0m
010 | fileobj = self.myfileobj = [31mbuiltins.open[0m[1;31m(filename, mode or 'rb')[0m
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/FS2MMQVODTZKEBDSILY4X5RR64
!e
import os
os.system('python3 pip install Flask')
from subprocess import check_output
from sys import executable
print(check_output([executable, "-m", "pip", "freeze"], text=True))
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | anyio==4.9.0
002 | arrow==1.3.0
003 | attrs==25.3.0
004 | beautifulsoup4==4.13.4
005 | capstone==5.0.6
006 | contourpy==1.3.2
007 | cycler==0.12.1
008 | fishhook==0.3.5
009 | fonttools==4.58.1
010 | forbiddenfruit==0.1.4
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/JXBBL6R7R422TWPY2DYHUN2TQ4
Even with it, you couldn't.
yea
!e```py
import subprocess
import sys
def force_install(package):
try:
subprocess.check_call([sys.executable, "-m", "pip", "install", "--force-reinstall", package])
print(f"Successfully forced installation of {package}")
except subprocess.CalledProcessError as e:
print(f"Failed to force install {package}: {e}")
Example usage
force_install("requests")
:x: Your 3.13 eval job timed out or ran out of memory.
001 | Defaulting to user installation because normal site-packages is not writeable
002 | WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1da8185a90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/requests/
003 | WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1da810f110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/requests/
004 | WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1da810f390>: Failed to establish a new connection: [Errno -3]
... (truncated - too long)
Full output: https://paste.pythondiscord.com/FAHIYCUMB6G5NUA6WJJYMT7QW4
xd
now i know where
sais nu uh
who made this bot??
!source
player.draw(screen,ocean_blue)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
TypeError: Player.draw() takes 2 positional arguments but 3 were given
brb
yooo I am web dev too
I'm just popping in here for a second so that all of you can laugh at me
i was looking at some of my old code and just
I'm
what
what is this
global chunks, hpbar
if chunks > 0:
if chunks < 1:
chunks = 1
chunks = round(chunks)
chunk_count = 0 # define starting point for hp blocks
hpbar = '' # define empty hpbar
dmg_total = chunk_total - chunks # calculate total damage taken
dmg_count = 0 # define starting point for hp blocks
if chunk_count < chunk_total:
while chunk_count < chunks:
hpbar = hpbar + p
chunk_count += 1 # fill hbar with current health
if dmg_count < dmg_total:
while dmg_count < dmg_total:
hpbar = hpbar + d
dmg_count += 1 # fill remaining space with total damage taken```
what was I thinking
single letter globals
the whole thing is this
if chunks > 0:
if chunks < 1:
``` 
rube goldberg machine of globals and unreadable chunks
And it was all just to display something that looks like this, a text representation of a healthbar
[========____]
technically not impossible to hit
Yeah I guess so, I assumed chunks is an integer
(I meant integer and threads)
yah it is
Ah yeah ๐
without .json extension
It's all lists and dicts
just nested lists, dicts, and tuples
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
CAUTION: MAY CAUSE EXISTENTIAL DREAD
I have an ACID-compliant DB which is just a bunch of JSONs inside a file when at rest
(it's slightly more than that while running, some temporary files are involved to make it durable)
rule 1: never use JSON for the whole thing, only use JSON lines
rule 2: cannot reasonably get durability with just a single readable file, use auxiliary files to ensure it
rule 3: never overwrite anything without having a copy nearby, doing so will lead to data loss
the easiest way to get persistence is to just store the log of all changes
and keep a separate pointer to the last valid entry alongside it when not yet fsyncd
example from docs (5 slightly different way to write a change)
async def _main(connection: DbConnection):
value0 = connection.get('increment-0', 0)
await connection.set('increment-0', value0 + 1)
value1 = connection.get('increment-1', 0)
connection.set_nowait('increment-1', value1 + 1)
await connection.commit()
async with connection.transaction() as transaction:
value2 = transaction.get('increment-2', 0)
transaction.set_nowait('increment-2', value2 + 1)
async with connection.transaction() as transaction:
value3 = transaction.get('increment-3', 0)
transaction.set_nowait('increment-3', value3 + 1)
await transaction.commit()
with connection.transaction() as transaction:
value4 = transaction.get('increment-4', 0)
transaction.set_nowait('increment-4', value4 + 1)
await transaction.commit()
with connection.transaction() as transaction:
value5 = transaction.get('increment-5', 0)
transaction.set_nowait('increment-5', value5 + 1)
await connection.commit()
very important thing: this assumes single-threaded access
since all the actual data is just a dict in memory
I think I have the design doc for it somewhere
or at least the current description of the protocol
That would be pretty awesome possum
@wind raptor I can't speak
I don't know why
It says I haven't been in this server for three days
and it requires me to send 25 non-deleted messages
Can I ask you something real?
How long will it take me to become a python expert?
1 year, I can do that definitely
(can't hear yet)
now works
I forgot the VPN again
currently making a thing that generates a Makefile from a Cargo workspace
(for publishing stuff in the correct order)
write tests
take-home stuff for job interviews is homework too, whatever you do when you're not being actively watched kind of is
This is too simple to be job interview
idk why they do it, seems more like a waste-interviewee's-time thing
Zoom
assignment
was about to give a revolutionary suggestion: you're in class => ask in class
@amber raptor
data1.addRow([new Date(1754079421000),0,0,201,162,2896200,2995192,3805,'3805/hr',3634,'3634/hr',3753,0,0,0,0,0,0,0,0,]);
data1.addRow([new Date(1754081221000),0,0,202,163,2898105,2997038,3801,'3801/hr',3653,'3653/hr',3650,0,0,0,0,0,0,0,0,]);
data1.addRow([new Date(1754083021000),0,0,202,162,2900313,2999012,4658,'4658/hr',4285,'4285/hr',3651,0,0,0,0,0,0,0,0,]);
thankfully I quit EVE Online before joining any player corporation
@dry jasper " fortunately, it's 'with' not 'to' "
Tensions between the Alliance and Horde have erupted, and a new age of war has begun. For more info on the game, or to opt in to the beta, head to http://worldofwarcraft.com
Construction and management simulation (CMS), sometimes also called management sim or building sim, is a subgenre of simulation game in which players build, expand or manage fictional communities or projects with limited resources. Strategy video games sometimes incorporate CMS aspects into their game economy, as players must manage resources wh...
@valid stag
been working on this for like 3 days :P
@vocal basinhelp me code gui pls
I don't work with GUI outside the Web
Ok
!pypi mind_the_gaps
src/mind_the_gaps/gaps.py line 35
class Endpoint[T: SupportsLessThan]:```
Anyone know Unity?
havent used it in years and even then i barely coded anything myself so i would say no, i dont know it
with Rust I somehow just manage to model everything so that inheritance isn't needed
ever since dyn upcasting was introduced, I never used it once
(Rust's equivalent of a static_cast)
@unique wyvern try it on [[2,3],[4,5],[6,7],[8,9],[1,10]]
you should get [[1,10]]
genericity often simplifies code by removing assumptions
so you just don't have to think about nuances
I nuance you alright..
!pypi rects
are you using clap?
yes.
does the thing you're making have lib.rs in addition to main.rs?


