United States v. Miller, 307 U.S. 174 (1939), was a landmark decision of the Supreme Court of the United States that involved a Second Amendment to the United States Constitution challenge to the National Firearms Act of 1934 (NFA). The case is often cited in the ongoing American gun politics debate, as both sides claim that it supports their po...
#voice-chat-text-0
1 messages · Page 405 of 1
poland?
Hello.
And Russia hasn't started their standard strategy
What you mean?
I'll have to analyze further datasets before I can make a determination. But the results are varried by frequency of use depending upon the dataset analyzed. Poetry shows the strongest correlation at 0.91 that there is a direct prime mapping based on frequency of use. Meanwhile legal Corpa show a different result likely because of a different structure.
But effectively I believe I'm getting close to understanding why some famous linguists see that there's underlying universal laws, principles and Axioms so on and so forth to language
Any ways i need to translate to Arabic to Understand it.
Oh I'm sorry,
يقول اللغويون في العديد من الكتب أن هناك قوانين ومبادئ وبديهيات عالمية. أحاول أن أفهم السبب
yaqul allughawiuwn fi aleadid min alkutub 'ana hunak qawanin wamabadi wabadihiaat ealamiatun. 'uhawil 'an 'afham alsabab
Something like that?
Yes
but only the actual Arabic.
Basically I believe there's an underlying math to language that has to do with primes.
أعتقد بشكل أساسي أن هناك رياضيات أساسية للغة تتعلق بالأعداد الأولية.
Now that may sound a little wild but check out the natural prime factorizations of the universe
bro i thing you're trying to know what is the Actual languages?
Well language just like math is a way we contextually document and express our understanding of the world to others. Really both math and language are abstractions from the thought where we translate reality to after the perceptions we recieve from our senses.
حسنًا، اللغة تمامًا مثل الرياضيات هي طريقة نوثق بها السياق ونعبر عن فهمنا للعالم للآخرين. في الواقع، كل من الرياضيات واللغة عبارة عن تجريدات من الفكر حيث نترجم الواقع إلى بعد التصورات التي نتلقاها من حواسنا.
Or you need to know it because some books like in the Islam religion Have The Most Important Book in the Universe Quran Kareem. And it's a pattern you should know what is the primally language to unlock this pattern because this book is Containing Everything about me and you and The Universe.
@onyx arrow
Funny enough the pattern begins much earlier in the Rind Papyrus and then with Euclid in the elements. His book stood the test of time in western Academia for 1800 years.
But this is a pattern all cultures with a base 10 math system find.
I am not joking here, But Quran Kareem Have a Enormous Secrets That you will see after your death so he is showing you the Truth.
@onyx arrow
I mean I'm already seeing them here in life, why wait to discover them when I can plant a seed which will grow into a tree whose shade I may never sit in?
thats true
In fact I happened to have already refined plank's constant with this understanding as he was limited by his time.
What you know Science or The Other Side of you After the Death time. Actually if you're Searching For Science this book is all about it, And the Most Important if you need to know what will happen after your Death here it is.
What ever you used any tools to discover you can't get even 1% of this Book.
ok good you saw it in life a glimpse of what is it actually now focus on after life or we as Muslims all our focus should be on it for yourself to worth heaven and that whats life is all about
Finding a Better Prime Structure
By shifting the value of hh slightly, we found:
hrefined=6.62607330×10−34 Js
which factorizes as:
2×3×5×7×11×19×31×487
Why is this significant?
No Dominant Large Prime
The original large prime (6310543) is gone.
Instead, we now have a structured breakdown of small to mid-sized primes.
More in Line with Other Physical Constants
Our dataset shows that other constants follow a similar prime decomposition pattern.
This new value aligns with how nature structures its constants.
Minimal Difference from the Current Value
__**The shift is only +0.000047%, well within the uncertainty range of experimental physics.**__
الحمد لله هناك ناس تعقل وتفقه. - What this mean for you @onyx arrow ?
مش فاهم
I have read the book you discuss and many others. My favorite happens to be
https://en.wikipedia.org/wiki/Scientia_sacra
In perennial philosophy, scientia sacra or sacred science is a form of spiritual knowledge that lies at the heart of both divine revelations and traditional sciences, embodying the very essence of every sacred tradition. It recognizes sources of knowledge beyond those accepted by modern epistemology, such as divine revelations and intellectual i...
I respect your beliefs, but I follow my own spiritual and philosophical path. I seek truth through understanding and wisdom, and my journey is my own
thats good for you but it wont hurt to study The Quran
----My Favorite------My Most Important---_Everyone Must read it-------- Quran Kareem -------------------------- Always to the end of this Universe----------------..
if your really looking for truth and wisdom
I already have as well as the history surrounding it and prefer to choose another path for this discussion.
what path?
This was a clear diversion from the point I was initially asked about which directly related to primes in linguistics
im sorry for that i just was there
Which is directly related to my present pursuits in python of making a new kind of tokenization process
I also Respect your way in the life @onyx arrow But The God Allah say to The Muslims to make the path clear.
Be well and be blessed gents, have a wonderful day.
thanks have a great life
nice
Wasup guys, I'm Darian and I've been interested in coding for the last couple years but it's been very hard because I have TBI but I decided not give up because I have big goals
I know that's for Ruby on Rails but I'm interested in Python
There is an RoR section
but you can do foundations before you worry about hte backend
in what track
once you finish foundations, you can find yourself a flask or django or whatever python tutorial
I have a Shopify store but I hate Shopify and I have the code for it. Is there is a way I could keep the code and make some slight changes and make it my own?
i think the us i a tax magnet
Stack
LIFO
Last in first out
Think of posts
on any social network
@whole bear : https://www.geeksforgeeks.org/stack-in-python/
Rough demonstration:
# Python program to
# demonstrate stack implementation
# using list
stack = []
# append() function to push
# element in the stack
stack.append('a')
stack.append('b')
stack.append('c')
print('Initial stack')
print(stack)
# pop() function to pop
# element from stack in
# LIFO order
print('\nElements popped from stack:')
print(stack.pop())
print(stack.pop())
print(stack.pop())
print('\nStack after elements are popped:')
print(stack)
# uncommenting print(stack.pop())
# will cause an IndexError
# as the stack is now empty
spanish
that would be cool af
what's the name of this game? @chilly wolf
Zeldo
ive done some work, now i can add puzzle elements, and win conditions for any level
and they didnt rip off pokemon characters
@primal shadow what if currently I just wanted to customize a Shopify store and wanted to turn it into my own?
wrong server?
unlikely
who wanna help me complete the puzzle function
how long did you study programming to write a program like this?
I've been programming for 19 years, practicing game design for 14, and programming in python for 5 years
ooh that's cool
i liked coded like 1 time in my life
@spare galleon where is the server? I want to transfer it into a python ide
idk, im not one to ask, im the server troll
@spare galleon alright, I have no idea why this keeps putting me into the voice chat
I'm looking for the help
@chilly wolf discord.js is sooo much better then discord.py also discord.net is probably my go to library for interacting with the discord api
you use scratch magey?
I started learning programming like 2 years ago, but then every three months I'd quit, and then after a couple months I'd go back to what I was learning, but I'd end up forgetting everything i started learning lol
kinda sad
@chilly wolf my tile based game
self.levels = {
1: [
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
],``` hehe
lol
its all about the grind lol
nah, this is better for me
yet to run into one
def get_win_square(self, level_number):
level = self.get_level(level_number)
for row_idx, row in enumerate(level):
for col_idx, tile in enumerate(row):
if tile == 2:
return (col_idx, row_idx)
def get_puzzle_square_3(self, level_number):
level = self.get_level(level_number)
puzzle3 = []
for row_idx, row in enumerate(level):
for col_idx, tile in enumerate(row):
if tile == 3:
puzzle3.append( (col_idx, row_idx) )
return puzzle3``` see so much better
i use nvim
ohh that is sooo much more painful then not using tiled
see, Tiled is a godsend
no, im saying not using tiled is less painful than not using a text editor
@primal shadow because he said he uses cli to code
ohhh thought you coded in cli
i code in nvim
but he was saying i should use tiled, he should use a proper text editor, is all i was getting at
tru
but like...
krzyszstof you still not mod?
youve been in this vc for like a year straight
lol
proabably maor
you can reference object properties and object layers and programatically access those layers, objects, and their properties and then create dynamic and simple code to perform the same thing with less hassle
i could do that
or i could make the grid with 0,1,2,3
rn there is no graphics
but each number is a "tile" that could have its own graphic
altho rn im constrained to 1 bit of colour
and have yet to create graphics
so rn its just cubes
Pastebin
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.
but its a perfect system with no flaws
level_data = levels.get_level(current_level)
for row_idx, row in enumerate(level_data):
for col_idx, tile in enumerate(row):
if tile == 1:
color = (255, 255, 255)
elif tile == 2:
color = (255, 255, 255)
elif tile == 3:
color = (255, 255, 255)
else:
color = (0, 0, 0)
pygame.draw.rect(screen, color, (col_idx * TILE_SIZE, row_idx * TILE_SIZE, TILE_SIZE, TILE_SIZE))```
see i just check the tiles, and then apply the correct graphic/colour
instead of making all that by hand, it creates a vast amount of data that is then referenced and instantly you have everything you wanted
those are my map data, made in no time flat
The age of criminal responsibility is the age below which a child is deemed incapable of having committed a criminal offence. In legal terms, it is referred to as a defence/defense of infancy, which is a form of defense known as an excuse so that defendants falling within the definition of an "infant" are excluded from criminal liability for the...
and this way it integrates with my player and i dont need to check for collisions or anything, i just have to reference my tilemap
my levels are much simpler than this, why would i create a hassle and rewrite my code for my 15 by 20 grid with only like 4 or 5 different tiles
repeat that?
yes
win_square = levels.get_win_square(current_level)
if win_square is not None:
player_pos = player.get_grid_position()
if player_pos == win_square:
print("You won!")
return True
return False
def puzzletype3():``` it all static no enemies, lol, its a puzzle
hmmmm nah see its a simple game jam game, that not needed
im not reinventing the wheel, im using my brain to get smorter
i am working smorter, if i wanted i would use godot and not have to do this myself
i understand you trying to help, but in my brain its easier to do things myself, then referencing and having to learn a library
nah code is terrible
hi @rugged root
you still use this vc in the office?
lmao
(it's a rib roast, actually)
I do have to put a brisket back on there... it's just too cold this month
How long do you typically smoke them for?
~14 hours or so
Niiiice
it's quite easy actually, almost fire and forget, if you use a pellet smoker.
are u german??
no, but i speak a lil yiddish
ooh, alright
and a lil german, but like just 3 words of german basically
what game is this?
shut
can u give me the name?
Voice Chat Battles
tyyy
it looks so skidded
which one?
i added a flag for the win tile or 2(which is the tile that triggers the solved(win) state, but its looks terrible)
i dont do front end well
i have to change the res i think
idk
okaay me go byebye to eat dinner and play echo vr
hello
-------------------What i will do now it's not important for everyone -----------------
Just for enabling the Voice Chat.
eh
be careful this will get you muted/banned
just text in chat lol
That's not how this is supposed to work
Oh! ok.
thanks man
Can I please get chat privileges @main comet
he doesnt give them
send the required chat messages and stay in vc for 30 then click this
he doesnt have authority
just type
You give them to yourself 🙂
they can still help
Alright
also, Im not a mod
hey but i need to complete 50 messages and 3 days
its stupid but it keeps the trolls away
dont do that
# PID Controller Function
integral_r = 0
previous_error_r = 0
def pid_control_r(error, dt):
global integral_r, previous_error_r
integral_r += error * dt # Accumulate error over time
derivative = (error - previous_error_r) / dt if dt > 0 else 0 # Rate of change of error
output = Kp_r * error + Ki_r * integral_r + Kd_r * derivative # Compute PID output
previous_error_r = error # Store current error for next loop
return output
requirements
just type out youre problem
thems the rule
@faint echo it sucks... I know, have a pointless conversation with us
Pasting large amounts of code
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.
Basically they want me to make a calendar
I could chatgpt it but I want to actually gain the skill
The problem is that I am stuck
I will paste is
then improve
it
become good, practice, ask questions
year = 2025
month_names = ["January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December" ]
month_day = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] # Feb has 28 days normally
extra = [3, 6, 6, 2, 4, 0, 2, 5, 1, 3, 6, 1]
week_day = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
code here
month = int(input("Please type in which month you want to print (1-12, 0 for entire year):"))
if month == 0:
for month_name in month_names:
print("\t" month_name)
print("Sun Mon Tue Wed Thu Fri Sat")
print
windhoek are you in uni?
I am
are you trying to print the month?
what is this outputting?
exactly
print("\t" month_name) I need to know what is "\t" mean?
I will work on this rq
then help ya through it
Kleay the hero
@sleek salmon Are you Araby?
Hi Don
hello
How goes it?
sitting
Nice
im finishing my project
It's coming along well?
i gotta make it search for file path automatically while its an .exe file
im currently making it into an .exe and then imma test it
I am going to do more thinking about it
exactly
try to solve it your way
If you get stuck just lmk
I will work on it my way and help you through any issues you have
@faint echo how long do you have for this project
ooo
Almost done implementing the Finite State Machine
do you intend to add enemies later on?
And I added sword slashes!!!
Yup!
nice
I need to learn Manim library.
@main comet sounds fun
It's an Animations Library
and how exactly do you intend on training something like that
just feeding it a bunch of videos?
I need to be able to print the month, and be able to print Sun, Mon, etc. I am not sure if I neccesarily need to use the list they pro
vided me with. I need to be able to print a number of days which is the number of days at an equivalent place in the index as the month name.
I also need to be able to make it so when the corresponding "extra" value, when this plus the day is equal to 7, a new line repeats.
@flat hornet
I have plenty of time
It's due tomorrow at 11:59
I think manim has tools can't be found on other software
@flat hornet
hmm
I am going to go for a bit
maybe you can brute force and print manually
pm
like
""" month
1 2 3 4 5 6 . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .""""
It's a sword
something like that
Celestial object? Like from the sky?
looks kinda rusted
idk
@slender stirrup I Should Go Now Bye!
No idea lol it's just an asset pack I downloaded
I need to get my pc charger
you were talking about it in the video
ah isee
@main comet i understand what you mean
i thought everybody was like 20-30
I forgot to turn off my mic while I was recording but I completely forgot what I was talking about at that time
oh alright
zoingle-donk
so im trying to find any examples online that people have used to find absolute path based on the name of a file
that way i can make an application and send it to my friends for testing and because i packaged the necesarry files in it they should be able to find it but it keeps getting error
that it cant find the path
no worries
Check out os.path.join
help after you finish your business
Okie dokie
anybody like balisong flipping?
🤷
n-no
just asking
because if started seeing videos of it again
and i suddenly want to get back into it
but i lost my trainer
!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.
I ain't doing it for them, I am doing it so I can show them how I did it 😛
hello everyone
indeed
@main comet patients
patients my friend
no
alright
From here on
@faint echo quick question do they want you to do it just like you showed on the image?
or do you just need to print it like that
so as long as it is in the same format you can do it however you want?
if you printed the months with theyre days would that be acceptable?
31
my bad
cant you just print it?
like
print(f """ {month}
monday tuesday .... ..... ...
1 2 3 4 5 6 . . . .
. . . . . . . . . . . . """)
There might be some wiggle room, but ideally it would look like the answer
and then make a function for the months with 31 days, one for 30 days and then one for february
imma stop i think kleay has it
imma just confuse you more
@woeful kettle can you do it like this?
print(f """ {month}
monday tuesday .... ..... ...
1 2 3 4 5 6 . . . .
. . . . . . . . . . . . """)
i see
hahaha
i believe you should be able to just print it
no modules
just input and functions needed
calendar_dict = {
"January": 31,
"February": 28, # 29 in a leap year
"March": 31,
"April": 30,
"May": 31,
"June": 30,
"July": 31,
"August": 31,
"September": 30,
"October": 31,
"November": 30,
"December": 31
}
``` THATS ALL THE HELP UR GUNNA GET UNLESS YOU BRIBE ME
bribe him with furry art
also
is that a list?
what is that
so str and int
ahh
@faint echo goodluck
ty
@spring trout #voice-verification
halo
i also speak papiamentu
our native language
im doing a school prpject with @flat hornet
@proud fjord #voice-verification
Don Waffle kodela toro nirak ten
and DOn Waffle
translate what
what is that
i dont know what that is
mi no sa kiko nan ta bisando
"Toro language" and "Tsrul."
Dolo language
anyone know customtkinter in here?
i used it
??
not proficient but i used it for a recent project
@whole bear 👋
yh im tryna set up a label with an image as a background but idk why my code aint waorking
i cant stream or talk fopr some reason but yh ill do that
If you don't get answers here, #❓|how-to-get-help
thank u
this is how i have
it
image = PIL.Image.open(background)
background_image = ctk.CTkImage(image, size=(600,600))
self.geometry("600x600")
self.title("Deerspotter3000")
ctk.set_appearance_mode("system")
self.resizable(False, False)
bg_lbl= ctk.CTkLabel(self, text=" ", image= background_image)
bg_lbl.place(x=0, y=0)
!paste
Pasting large amounts of code
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.
can i not j put a screenshot of the code?
so the problem is
it put that on top of everything but things are meant to be on top of it
your font is friggin tiny
mb gng
When sending code, send it as text in either a Discord codeblock or a pastebin.
!code
@crimson flint what did it put on top of everything? the self.pages?
the background image is what it put on top of all the stuff
ah
the pages are meant to go on it but its going the other way round
try moving the label and image above the self.students
and see if it loads the image before the other things
dont spam
spammer detected
:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1738627970:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
alright imma do that rn
alright
@wide pendant 👋
image aint showing at all
bruh what is this formatting nonsense y cant i j send a ss😭
hahaha
you get used to it
patients
also
youre buttons you have to change the way you position them
i used to have them with .grid()
but after the label i had to use .pack()
self.button.pack(ipadx=235, ipady= 0, padx=235, pady=35)
thats how i have them
class Main(ctk.CTk):
def init(self):
super().init()
bg_label = ctk.CTkImage(light_image = Image.open("background.png"),
dark_image = Image.open("background.png"), size=(1000,600))
bg = ctk.CTkButton(self,image= bg_label, text = "")
bg.grid(row = 0, column = 0)
self.students = {
}
#holds all current pages
self.pages = {"Welcome": Welcome(self),"Home": Home(self), "Highscores": Highscores(self),
"Graphs": Graphs(self), "Quiz": Quiz(self), "Question1": Question1(self),
"Question2": Question2(self), "Question3": Question3(self), "Question4": Question4(self),
"Question5": Question5(self), "Question6": Question6(self), "Question7": Question7(self),
"Question8": Question8(self), "Question9": Question9(self), "Question10": Question10(self)}
self.title('Complex Numbers & Argand Diagrams Revision Game😁')
self.geometry('1000x600')
self.grid_rowconfigure(0, weight = 1)
self.grid_columnconfigure(0, weight =1)
this the code rn
ait imma look into that
youre bg needs to be bg.place i think
```py
"Your"
"Code"
"Here"
```
and not bg.grid
yh icl man thanks a lot for ur help i think imma have to battle this one myself
@main comet import windows
ah damn
well good luck
ALSO LINUX IS VERY GOOD
ty man
imma see if i can find the link of the overflow thread i saw my solution on
u can just talk to ur system to do everything in linux w the terminal
ait preciate u man
found it
see if it helps you
@crimson flint
thanks again man
@past oar 👋
youre consistent
½(2) = 1.00000000000000000000000001
whats that
yes
hi . do i need to do something special to vc
participate in text chat
# Signal handler will pass the target position
var target_position: Vector3
# Tuning parameter for torque strength (you can adjust this value)
var torque_strength: float = 10.0
func _physics_process(delta: float) -> void:
# Calculate the direction to the target
var direction_to_target: Vector3 = (target_position - global_transform.origin).normalized()
# Get the current forward direction of the RigidBody3D
var forward_direction: Vector3 = global_transform.basis.z.normalized()
# Calculate the rotation axis (cross product of current direction and target direction)
var rotation_axis: Vector3 = forward_direction.cross(direction_to_target).normalized()
# Calculate the angle between the current direction and the target direction
var angle_difference: float = acos(forward_direction.dot(direction_to_target))
# Apply torque proportional to the angle difference and torque strength
if angle_difference > 0.01: # Small threshold to avoid jittering
apply_torque(rotation_axis * angle_difference * torque_strength)```
check voice verification
just caht
chat
and after some time you can verify
cool . so tldr im going for my cybersecurity degree and need to brush up on python so im here
nice
how much time do you have
for a personal project
maybe you can make something and that will help you brush up
so i know there are 35 reserved python words . what are some functions or other features of python which would incldue words i cant use as variables?
@main comet
@main comet what if overflow doesnt have the solution
overflow has all the solutions
spaces
.
spaces and special chracters?
he is long gone
cest la vie
We went home
@main comet remember to check the names of the gifs you send xD
I'm going to another dr tomorrow
Got minimal Covid
damn
I had the vaccine so I feel fine but I need a doctor note for work
so far i beleive the following are reserved ```python
and del from None True
as elif global nonlocal try
assert else if not while
break except import or with
class False in pass yield
continue finally is raise async
def for lambda return await
~-_++[{]}|;:'",<.>/?!@#$%^&*()`
what else am i missing? @main comet@willow light
also
@faint echo
Yes
@chilly wolf i got deepseek to help me since i didnt know how to and it worked
see what i replied too
Nice!
i couldnt find anything on stackoverflow
Just make sure you read the code and understand it
alright
match and case is in python3?
!pep 634
with YourMom() as your_mom:
print(your_mom.gottem)
!doc with
8.5. The with statement
The with statement is used to wrap the execution of a block with methods defined by a context manager (see section With Statement Context Managers). This allows common try…except…finally usage patterns to be encapsulated for convenient reuse.
with_stmt ::= "with" ( "(" with_stmt_contents ","? ")" | with_stmt_contents ) ":" suite
with_stmt_contents ::= with_item ("," with_item)*
with_item ::= expression ["as" target]
```...
Similar names: django.with, psycopg2.with
!e ```py
import keyword
print(keyword.kwlist)
print(keyword.softkwlist)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
002 | ['_', 'case', 'match', 'type']
!d django.with
with
Caches a complex variable under a simpler name. This is useful when accessing an “expensive” method (e.g., one that hits the database) multiple times.
For example...
that looks so weird
been playing around with different data types
# String
message = "hello world"
print(message)
print(type(message))
# Integer
message2 = 12
print(message2)
print(type(message2))
# Float
message3 = 12.5
print(message3)
print(type(message3))
# Tuple
message4 = ("hello", "world")
print(message4)
print(type(message4))```
!paste
Pasting large amounts of code
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.
Python is great for prototypes, but these days I use either Go or TypeScript (on Deno) for production.
Unless I get a job, in which case it'll probably be in Java 7.
what are those
Rust is cool and all, but Go is easy. I'll probably eventually learn Zig and Gleam.
I live in New England. No hurricanes, no tornadoes, no heat waves, no alligators, no gangs, no wildfires, no volcanoes, and almost no damaging earthquakes.
Just snowstorms and people who take "Stand your ground" to mean "shoot at the night sky when you can see the northern lights"
We have florida man but with chainsaws due to how often we have to clear the road during an ice storm
they usually drive the snow plows
wooof - we are da robots indeed
start early on homework next time
I'm not Dutch, I'm American. I just named myself the name I named myself because I think Namibia is a cool country. I don't have any connection to South Africa/Netherlands.
ah
my bad
I guess I do have a few ancestors from there, but thats from a long ass time ago.
Thank you
Good luck with your endeavors
yes
nice
@main comet dad taught you hands on
Always a good read
thanks i love it
looking into packages for cyberseucirty usescases. ive seen the requests sys and base64 libraries used for this context. what other libraries do you recommend? note i can google or chatgpt it but im trying not to rely on them during this stage of the learning process
i think you can use chatgpt for just information
they helpful for very specific information
besides that youtube
also i dont know what they are so i cant help
packages to focus on for hacking
sys package https://docs.python.org/3/library/sys.html
requests package https://pypi.org/project/requests/ https://www.w3schools.com/python/module_requests.asp
pwntools package https://docs.pwntools.com/en/stable/
Cryptography https://cryptography.io/en/latest/
impacket https://pypi.org/project/impacket/
@haughty pier how could i run multiple lines of python straight from the linux terminal
for example one line would be
python3 -c 'print("hello world")'```
outputs hello world
nvm figured it out using eof and <<
@willow light@main comet @haughty pierhttps://explainshell.com/
match command-line arguments to their help text
$ python - << EOF
import sys
print(sys.version)
EOF
That's multiple lines.
Put as much Python as you like in between the EOF's - it's a heredoc in bash, which I'm presuming you're using.
what is a heredoc?
will this be maintained in a shell ?
Bash Reference Manual
curl cheat.sh/bash usually works well for me
Simplified and community-driven man pages
# Read the Advanced Bash-Scripting Guide [Chapter 19. Here
# Documents][1].
#
# [1]: http://tldp.org/LDP/abs/html/here-docs.html
#
# Here's an example which will write the contents to a file at
# `/tmp/yourfilehere`
cat << EOF > /tmp/yourfilehere
These contents will be written to the file.
This line is indented.
EOF
# Note that the final 'EOF' (The `LimitString`) should not have any
# whitespace in front of the word, because it means that the
# `LimitString` will not be recognized.
#
# In a shell script, you may want to use indentation to make the code
# readable, however this can have the undesirable effect of indenting
# the text within your here document. In this case, use `<<-` (followed
# by a dash) to disable leading tabs (**Note** that to test this you
# will need to **replace the leading whitespace with a tab character**,
# since I cannot print actual tab characters here.)
#!/usr/bin/env bash
if true ; then
cat <<- EOF > /tmp/yourfilehere
The leading tab is ignored.
EOF
fi
# If you don't want to interpret variables in the text, then use single
# quotes:
cat << 'EOF' > /tmp/yourfilehere
The variable $FOO will not be interpreted.
EOF
# To pipe the heredoc through a command pipeline:
cat <<'EOF' | sed 's/a/b/'
foo
bar
baz
EOF
# Output:
foo
bbr
bbz
# ... or to write the the heredoc to a file using `sudo`:
cat <<'EOF' | sed 's/a/b/' | sudo tee /etc/config_file.conf
foo
bar
baz
EOF
# [Stefan Lasiewski] [so/q/2953081] [cc by-sa 3.0]
course cheat.sh/bash/heredoc
a lot of that is superfluous
https://explainshell.com/ i usually use this when running any linux command
match command-line arguments to their help text
Also, I suggest people avoid the ABSG because it sometimes gives bad opinionated advice.
What's your sign?
sign?
I'm Aries
I'm just having a little dinner and I was lonely
whats ur dinner
his profile is fire
discovered a new error
Structure Templates (The Org Manual)
$ python - << EOF
> while True:
> print('hello while loop')
> break
> EOF
hello while loop
You gotta indent Python inner code blocks because white space is significant
made a mace in blender
wanna see progress on my game JSON?
yes dude, of course
heck yeah
doing simple stuff in blender is so easy, i was surprised
i am no arteest
i will be staying far away from the third dimension lol
but that looks awesome
i'm trying not to think about how difficult 3D animating will be
you sharing screen or link Magey?
here ya go
i took a video right quicklike
i chose another tileset because the one i had was incomplete
i now have a FULLY fleshed out one with lots of options
nice! looks great man
lmao exactly what i was thinking
is that a guitar on their back ?
Yup!
looks great, i really like the main char sprite
it's really cute, i can't wait to think of what to do with the guitar playing aspect
on that pick of destiny shi
Bacon, egg and cheese does sound alright. I presume it's within a sandwich of some sort.
god i hate rebasing
Perhaps a roll, or hamburger bread.
Bun.
You could put the roll inside a sandwich.
Exactly.
@cinder mirage👋
Hai hai.
@peak depotNot dead yet, then.
Stupid rules, I've been in this group for months. and i can't use voice chat
You should stay in the server for 30 min and send 50 messages.
Yeah, it doesn't take that long
umm hey
Hello
@somber heath you there? long time
I'm around.
He Just sent 3 messages. @cinder mirage
@chilly wolf For me, you cut out right as you said tea, so all I heard was "His signature drink, which is 50 percent E."
its quite a time since I have joined vc
@chilly wolf me
so?
umm, why?
would you wanna do that
I dont like tea
anyways
I like nice coffee
grinded
okay so first of all
why notepad++
you could use better
jetbrains
exists
its the best
why jetbrains?? best?????!?!?!?
BEST? That's a very strong word
yeah
Best FOR YOU? I'll agree with you.
I got all, rustrover intellij pycharm
I think visual studio code.
Best for EVERYONE? I have to disagree
How do you figure?
you need to setup everything
what you mean?
install a singular python extension
as jetbrains, take like see, vsc you need to install jvm and everything
and that eats my time
and I like to use intellij as it has simple just a click
Jetbrain you need a new program every time you work with a new language
not exactly "best" in my book
no setup needed
VSC / N++ / VIM can handle all the langauges
uhh nope
How do you do Java?
PyCharm?
Or IntelliJ?
How about C?
Clion?
Interesting, JB has a program per language
umm, yeah you got extensions
no there's a setup for python extension.
nope
CE hits a wall there
you have webstrom free
So yet another program?>
Yet Magey still only needs N++, and VSC is working fine for me
for web i think replit.
okay so
How many large RAM eating programs have you installed now?
What about git:?
git is so much better in jetbrains
"So much better' for you
I'll agree
for me? Nope
I don't use it, so it's not better
Git in the command line works great for me
It's OK that we use different tools to get our jobs done
there is no best hammer
plus you've got all the professional tools that you might wanna use, I mean yeah you might not use them everyday, but when you need them it so good, like just no need for anything
we can use the tools we are comfortable with 🙂
🙂
Again, I'm paid to develop code
I also use vsc for code c
eveyrone I work with uses VSC, we all manage
A few used PHPStorm for a bit
didn'
t see the value
yeah @chilly wolf if you want it
Back to everyone on the ame page
json derulo??
arguing over IDEs is silly guys
when did music come into ides
REPLIT man online.
website called replit.
You see, if you follow the chain, I said there is no best, it's what's best for you
if you're not switching bits manually you're not even a real programmer
use my full name pls
public static void main(String[] args]
system.out.println("Heloo");
}
I know java
use gcc
and rust ofc
@somber heath real quiet today.
Why???
good for beginners
what why
why i need to learn java?
July September October November Decemberulo
its good for gui and things, for bootsrping and api
July September October November Decemberulo 👋
fine with that now @urban abyss
who
umm
ml
and ai
just learning it
learning ai in python using a book
Ik
you need c
AND JAVA
for compliers
C AND JAVA, YOU KNOW
TOLDYA, NEED JAVA
you dont need java
what is TOLDYA?
rust can do the work ig
rust if you want
Rust is better and faster
Java.
is nice. okay argue now start.
okay gg
noooo
C# @torn kayak is considered as ms java
I don't like .net
it tells me that ms owns this world 🤣
typescript npm github office and everything
is by ms
god
okay now gg
After couple of years this world will own MS! @whole bear
I realised I may have been accidentally telling people it's been 120F.
It's been 100F.
Though it has reached 120F previously, years ago.
@peak depot It was another 39c day, today.
northern hemisphere?
👇
ok i was gonna say, thats not good lol
The carob ( KARR-əb; Ceratonia siliqua) is a flowering evergreen tree or shrub in the Caesalpinioideae sub-family of the legume family, Fabaceae. It is widely cultivated for its edible fruit, which takes the form of seed pods, and as an ornamental tree in gardens and landscapes. The carob tree is native to the Mediterranean region and the Middle...
C+++C+
Why I should learn it what is the features?
its pretty basic
like it teaches you everything
pointers
That was not in response to your question.
i learnt C#
ok. i will go to learn and but what is the best way to learn Python in the Deep.
???
The more you do projects, the more you're liable to learn.
@wind raptor
So what is the Source of learning?
!resources
Resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
!kindling
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
https://youtube.com/@coreyms I will follow him.
YouTube
Welcome to my Channel. This channel is focused on creating tutorials and walkthroughs for software developers, programmers, and engineers. We cover topics for all different skill levels, so whether you are a beginner or have many years of experience, this channel will have something for you.
We've already released a wide variety of videos on to...
"How did you slay the dragon?"
"Twerking."
bro i'm suppressed
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@runic bane 👋
I've toyed around with Qwen but not Deepseek. Qwen was fine. Didn't blow me away or anything
@dry parrot
#career-advice @turbid matrix
...making breakfast...
@rigid trellis @meager hamlet Yo to you both
This is the first time Turbo Encabulator was recorded with picture. I shot this in the late 70's at Regan Studios in Detroit on 16mm film. The narrator and writer is Bud Haggert. He was the top voice-over talent on technical films. He wrote the script because he rarely understood the technical copy he was asked to read and felt he shouldn't be a...
Hong you are jamming the channel
cool
I have a keychron v-10 "Alice"
I was foolish enough to walk into the QMK discord and ask about keymapping....
Now I know how Javascript developers feel when I try to explain Unicode
hey guys what's up?
GOOD
I use a Keychron Q1 pro, it's pretty nice. I think I had to get banana switches though...
Didn't realize they were so small
I can't afford the resolution, spent it all on this damn keyboard
I can't find my back-end buddy here. It seems that many people on this server
are working on game development.
i'll be your back-end buddy
I'm a back end guy too
Unable to create pipeline: jobs:build:caches config no more than 4 caches can be created
GitLab CI why are you like this
It's my k8s cluster I should be able to bankrupt myself
With little to no effort
Jesus look at your profiles :// I'm lower than junior.(Just underestimate myself lol)
profiles?
https://gitlab.com/gitlab-org/gitlab/-/issues/421962 points to it being baked in, unfortunately. although i could well be missing something
Yeah, I mean it seems you are at least 30. I don't feel comfortable with
seniors; every time I want to ask something, I think I'm bothering them...
for $5 a question
Yes, we're here to help. Ask the question and if the question needs improvement, we'll let you know.
The answer is free, we only charge for arguing with us about the answer.
HA
Language
@rugged root https://www.ndtv.com/world-news/suchir-balaji-openai-chatgpt-its-murder-suchir-balajis-parents-say-autopsy-shows-signs-of-struggle-7375165
https://asamnews.com/2025/02/02/openai-whistleblower-family-lawsuit/
https://archive.is/Q1zWY
Thanks guys, I'm pleased to be here with nice developers like you
gotta run
Nginx/CaddyServer -> Uvicorn
ya boi is test driving a used car later, my car died after meeting a very bad pothole on us-1 a few weeks ago
good luck with tariffs
Wait really?
in woolwich maine, bottomed out at 55 mph
i mean it works on my machine
Hemlock u there
Ish
What's up
If it's related to the Minecraft thing, I unfortunately don't have time right now
@lofty crater You're coming in kind of muffled
oh
@haughty pier Convition and arrest are two different things