#python-discussion
1 messages · Page 578 of 1
you need to learn how to use stuff in order to use them?
Basically, but he doesn't know why they are the way they are
im so lost
That's what's confusing him prolly
what things?
Bruh
Like learning git
did you read my initial message?
dude, you know where you are and that people try to be helpful
sorry your explanation didnt really help TwT
yes, this seems to be the point of contention
Mb
could you link it?
you know when you wanna rollback, do transitions, commit, merge, stash gabba gabba just no need to write it 🙂
This is what I've been saying
so... LLM VCS?
If you want something "exciting" you can always build a handcar, but replace the railroad wheels with tires and set up a steering system.
then what you mean by
His issue is he doesn't understand these things in practice
If you understood why we have to use commit, push and pull, you'd know why we need them and you need to learn them
conversation later delved into what learning/understanding is
autogit: watches your every move and runs git commands whenever it should
when
still talking about llm from earlier or a new thing?
okay but like lowkey hear me out on this one this except every time your tests pass
The many wrong things that could happen with this
#python-discussion message
then i said this again this is going #off-topic-lounge-text
and coverage does not decrease
eh i mean you still have to write commit messages though
But I don't think something deciding when to commit for you is effective
Does it read your brain waves? 
that's what I'm saying
@keen fox can we roll back to what your initial question was again?
not SOTA yet!
I don't trust my mind in one instance
I could decide to not commit a second after
Crazy, actually. We've been using brainwaves in VR for years now.

It's underrated technology
not for the git tho?
So for each person that wants to learn git, they would need a brain wave signal reader
anyway typing bad
I could. It's just faster to type out the commands that I don't have memorized but that I learned by using them.
so what is the SOTA? From what you're saying it seems to be understanding (without learning) git so you can accept suggestions from an LLM
The LLM doesn't know what you want to achieve
do you think learning is doing same things over and over again?
Unless you explicitly say
often, yes
that's how it becomes solidifed in your brain
sure, familiarity is important
Learning is gaining knowledge that will help you cut time on the repetitive stuff and sometimes, create new stuff
That's the difference between understanding something and only being familiar with it.
then why do we make machines?
💯
if I look at something once I will probably not be able to understand it
To not have to do the boring repetitive stuff
I'm glad we agree that doing is important.
I guess musicians don't need to practice to get good at their craft then...
And increase the success rate of some other stuff
Practice makes perfect. If you don't exercise the knowledge you gain, you'll eventually lose it.
They should make Agentic workflows instead
Happened to me lots of times
massively depends on the knowledge
and how often iits changing
You're gonna be learning a lot of stuff, not everything will stick
Same. I used to be an expert bass guitar player. I could probably get back to that level again, but if I took up a bass now, I'd barely be able to use it.
The muscle memory is still there, you just need to retrieve it
some things often change faster than others
What the hell does that mean
are git commands one of those things?
It stemmed off from that
im no one to decide that 🙂 predictions are hard
maybe text me after 6 years?
Xor are you trying to say that we won't need git, so no need learning it?
i never said that?
to some extent. If you didn't use git for 6 months, you'd have to brush up on how to use it, and the more intricate the knowledge, there more there is to lose.
yeah exactly. I'd say the same if you just let an AI write your git commands for 6 months too
git gud
Yeah that's the thing of knowing a lot, you lose it when you don't practice it, it's a curse
it was only about the usage of git and copy pasting commands or force memorizing them
using an LLM to do your work for you is WORSE, because you learn to rely on the LLM and even if you DO relearn it, the urge to just use the LLM will be there because "easy" is addictive.
Memorize them to:
.understand the flow of git
.save time
.understand what other people talk about
There's that "memorizing" again. Did someone actually suggest doing that at some point?
also agreed
im sensing a motte and bailey here
Hi chat my movie is over now
What’s up?
Oh we’re STILL shilling AI?
Who’s that?
The Baileys I know is the alcohol
close enough
Hasn't been brought up in easily 30 minutes.
Memorizing is the first step to learning but never the last
I'm not too much on new kid slang, so I'm doing whatever the opposite of "glazing" is for LLMs
I'll have to consider that. I don't agree with it right now.
You memorize a command, then you understand what it does, then you practice it and it sticks
i don't think you need to memorize them to understand how git works tbh you need to learn more about persistant data structures if you're interested in that 🙂
Wait then what are we talking about??
I thought we were stopping the memorization because of outsourcing to LLMs
so you're saying that people should try to learn understand git properly instead?
I understand what you're saying. I just don't agree at this moment. I'll think about it.
its stupid to memorize
yeah just stop using your brain altogether!
If I know how ice cream is made, I still need to know how to tell the ice cream man, the ice cream that I want.
down with big brain!
if they're interested in it sure.. if they just want their shit done then there might be better ways than just memorizing:)
Alright for the moment
At the high level, sure
Understand the concepts
Re-verify the implementation details as needed
it's like learning to play and sing a song. Read the sheet music once and odds are, you're not going to be able to play it. Practice enough and you won't need the sheet music anymore, assuming you keep practicing it regularly.
What is the actual argument here?
if they want their shit done they may also be interested in learning how an industry standard tool works
we also agree on that:)
Memorizing "git pull" is the first thing, then you keep reading what it does, and now you know that git pull, pulls the recent changes made in a repo
I could never blind read sheet music. I listened to the song once and knew how to play it.
We agree that I understand and will think? I'm glad for that.
Dam you’ve got a good memory
You'll get it, just get some popcorn
how an industry standard tool works
thats why i told them to learn about persistant DS if they wanna know how git works?
Notes are abstract. I have a think for abastact.
Why do you wanna reinvent the wheel?
I’ve choosing between Panda Express and Sonic for dinner tonight
But I think I need stronger equipment for this conversation
thats usually how good software is made theres a reason why they teach you compilers in school
Definitely, go with shawarma
-# Maybe I’ll go get some of that Baileys…
but then you would have to memorize how compilers work
They teach you compilers to understand the full picture which helps understand errors
I do not understand how learning about persistent data structures will help me use git
If you wanna make compilers or even your own programming language that's up to you, but that's not the reason they teach compilers
Not really just think about how'd you parse the text then look at existing approaches see how they could influence your ideas etc..
Like you don't need to memorize how to implement AST right of the bat
You still have to learn how to so that
im using this person's argument as an excuse to rewrite everything in rust
why think about it when I could use an llm?
Yk merkle tree?
you didn’t need an excuse for that
That would be a gift to humanity in my opinion
I mean you're not copy pasting commands from man are you?
It's an entirely a different thing?
Or memorizing from sm bs fourms
why does knowing what a merkle tree is influence your usage of git
Ur literally making your own syntax
Whether it's a man teaching you or an LLM teaching you, you're still doing it on your own
Usage???
They asked how git works 😭?
Like how does it actually works
We have roots, trees, branches and even leaves, but I've never heard of twigs or flowers.
what
Do you think people NEED to know how it works to use it?
i think git would be a lot cooler if it had flowers <3
Linus Torvald would agree
Ppl also don't need to force themselves to memorize anything to use it
linus torvalds would say that "you haven't seen a flower hurtle at you at half the speed of light"
Were not memorizing that's the point
git-flowers
fuck I just flowered the wrong branch
-# hope my commits are still in the reflog
do you need to know how to build an engine to build a car?
Do you need to know that to drive it?
not even to drive it
You're wrong you even memorized a for loop without knowing it
to build a car
Nop
tbh, you don't need to know that a car has an engine to drive it
It's bozo work should be automated
I understood the pattern, I didnt memorize it, if I only memorized, I wouldn't be able to adapt it for different contexts
Do you? Unless you get it pre built then yes. Also, if the engine doesn't seem to be working correctly, knowing how it works will help you fine tune it or otherwise figure out what the problem is.
yea, but do you need to know how to build an engine to build a car?
I realise I phrased my message poorly. What I mean to say is: how will learning about persistent data structures help me use git practically? Do I just have to guess how to perform a given operation? What will having a conceptual understanding do to help?
isnt an engine that thing from nodejs
Sir this is the Rust Discord
I mean you do need to know how to connect it to the other parts to the engine so maybe?
mb
no, the only thing made from node is sadness and CVEs
mclaren certainly didnt need to know how to build an engine to win the f1 championship, they just buy their engines from mercedes
Hey! I like my web apps!
so do black hats, doggo
Actually?
true....
there is a difference between knowing how something works, and knowing how to build it
Dude that’s racist you can’t put that on your face anymore
yes, they are what you call a "customer team" not a "works team"
I can build a class but not understand how it's represented in memory
The maintenance crew have to know in order to fine tune the engine to get the most out of it. No one buys an engine, slaps it on a racecar and hopes for the best.
So I guess they spend their time focusing on learning how to drive it
and yet, here we are
ok but those people's jobs are literally understanding that sort of thing
Rather the aerodynamics and other stuff
And that too
also, that's not building an engine
as a fella with a diesel tractor, basically every diesel tractor company just buys engine and stuff from, usually, yanmar
are you glad they finally deciphered the mercedes engine manuals? /j
i can repair a phone, but i cannot build a phone from scratch
my point being, knowing how to use something is different from knowing how to build it
du du du
I can use a programming language but I can't build one
if i have a yanmar engine does that make it...
burma
-# im sorry guys
You have a what now
Anyhow, I also do think there is a difference between memorizing and recognizing a pattern
i've alluded to it before
With enough knowledge on how to use one, building one is doable. The problem is building one that serves a practical purpose that existing languages can't cover.
Hello everyone I'm new here
Nah, I don't think using the language teaches you how a compiler works
You expect me to just memorize?
Or an interpreter
I have no clue how either of those things work
😭
Welp that makes the two of us
-# did anyone get the joke
I use my brain most days yet I have no understanding of how it works
Nope
well one person did
I have no brain but I must understand
its a multi layered joke
layer 1: having a yanmar engine makes it yours, and if i'm the person owning it, it makes it "my" yanmar, or myanmar
layer 2: burma is another name to refer to myanmar
that's the wrong flag soph...
damn
real
damn
I guessed the country code wrong I guess
that's malaysia
🇲🇲
i didnt catch that either tbf
what actually is the country code for myanmar
mm is wild
OOHH dang that flew over my head like a snail
I'm terrible at flags
I am not that good either
Moment of silence for xor
time to lock in
im also terrible at flags, malaysia just happens to be my neighbor
True
Where u from, Thailand?
no, singapore
🇸🇬
PO PO PO PO POLAND
i havent been to malaysia for a long time though
😭
I'm living there for the next few months 🙂
enjoying the food?
Love that audio
it's so good! I just did a street food tour over the weekend
Must have been good
smh I should know it I have a friend from malaysia
the only one not counting sea borders
oh wait
singapore's an island...
Imagine what the flag would be if Singapore and Indonesia merged together
nah it's cool, they're different shades of red. just use the current singapore one and tint the right side a wee bit
🇸🇬🇮🇩🇮🇩🇮🇩🇮🇩🇮🇩
loooooooooooooong singapore
Yay
lmao that link
helo
I just coughed from laughing at that.
The flags, specifically.
guys, has anyone touched on Whatsapp business?
yall arerelated?
What are you trying to do? IS it just the same as meta's graphh api?
i'm actually writing python like rust holy shit
it's just structs and traits and generics except instead of structs i'm writing "classes" and instead of traits i have "abstract base classes" and "protocols"
are you binding methods to classes
what to what and where
i.e. impl
does using abcs count
How can I get humidity better
humidity?
Yes
your tank?
To cold
ohhhhhhh
this discord server is about python the programming language btw
My snake
there's nothing stopping you from talking about your python pet but that would go into the offtopic channels
that confusion has happened a few times
no shot
we really should find a snek discord to direct people to
true...
but considering it only happens maybe once a year, and us programmers are hella procrastinators....
i mean there's this site with great tips for actual pythons i think its called real python or something
uh huh
its for real pythons
so how are you familiar with it?
not very, though im sure they have great advice for these people :3
I kid you not, I once looked up "Bulma" as in "Bulma CSS", The search engine went berserk and gave me nsfw results of Bulma from Dragon Ball
we totally had to know that huh
"If I know about it, you should too" mentality
there's an extension of that site
it's called ℂPython
I created this voting system and then was trying to let it send whatsapp messages cause elder ppl dont use email. What is this graphh api
yo
from pynput.keyboard import Listener
import pyautogui
import time
import shutil
def logger(key):
screenshot = pyautogui.screenshot()
screenshot.save('logged.png')
print(key)
shutil.move("logged.png", r"C:\Users\user\Desktop\logged.png")
with Listener(on_press=logger) as l:
l.join()
``` would this code be labled as bad code ?
Looks mostly ok, but why not save the file directly into the final destination instead of saving it and then moving it?
im saving it to the desktop i dont want to save it into the file
screenshot.save('logged.png')
shutil.move("logged.png", r"C:\Users\user\Desktop\logged.png")
you're saving it and then moving it
screenshot.save(r"C:\Users\user\Desktop\logged.png")
when you could just save it right away to where you want it
oh so get rid of the png
right now you're saving a file into location A, then moving it into location B
but I'm saying you could just save the file into location B in the first place
yes but its not supposed to be in the file when its ran
I don't understand what you're trying to say
its supposed to be sent to the desktop so the user knows it has been sent
yes I understand that
to there desktop and not having to manually remove the file and put it on there desktop
you're not listening to what I'm saying
what do you think I'm saying and what do you think is wrong with it?
i dont really understand
right now you're doing two operations
one is to save it
and another is to move it
oh wait i see
I'm saying if you save it to the correct place initially, then there's no need to move it
nvm
you're doing an extra unnecessary operation
thanks bro
im just out of it rn
screenshot.save(r"C:\Users\user\Desktop\logged.png")
screenshot.save('logged.png')
``` i could do both if wanted
if you wanted it in two locations, sure
but shutil.move isn't copying the file, it's moving it
but no point since it would be unnecessary
Hi shoomp!
heyo
Hru
Pretty good. First day of unemployment. Crushing it in slay the spire
Unemployment?!

Also, want to try slay the spire too
yeah, my contract just came to an end
Oh
1 or 2?
Well- I am studying SQL with SQLBolt
2
It's not that long of a guide
in the middle of an ascension 10 act 3 boss fight 😬
After that, I'll watch a video about SQLite
Nice. Apparently the multiplayer in StS2 is pretty legit
Dayum, ascension 10 O_O
Good luck!
go check if the zoo is looking for a goat
It has multiplayer?!
yup
I've reached/cleared 10 with defect/silent/regent so far
Hi Bun, for some reason, go eval on Hux is taking shorter
It's adapting 🗣️
yay:)
Impressive!
gm all
08:08 here:)
1pm 🙂
Funny number
12 hours of difference lol
I always think, imagine what would it be like to talk with people in other planets
it would be hard to coordinate time zones
Imagine longer or shorter days
That'd be hell to manage lol
A planet with 8 hours day time
You still working on the to-do list?
the dude has a severe ADHD, I doubt it
Today was the day off, tomorrow I'll focus on the SQL thingy since I'll almost have to start working on my friends bot. On Tuesday I'll add a way to save stuff on the To-do list.
It's not that, the day isn't long enough!
go to sleep lol
Oohh
can I take your shift?
adios
good morning!
what widget did u use ?
A combination of 2. QFrame and QWidget
the header is a clickable QFrame and then it has a layout that holds whatever widget you set to it. "Collapsing" is pretty much just setting the visibility on/off of the child widget
this is meant to act as an accordion style menu. It simply shows/hides whatever widget you parent into it
so I could put anything inside
i see
here's an example of an already existing one
this is built into the 3d software I use though
and I wanted to replicate that same style in my own UI
this wouldn't work as a tree
because a tree only displays item widgets
For those who use LLMs, what provider do you use? I'm on the copilot that a student account gives right now but i just keep hitting rate limits even if im just asking questions about the codebase
I cant even access any claude model beyond haiku
yes but then I would need to customize tree widget items to match any other widget I would want to use
I also have no need for the nested capabilities of a tree
ahhhh true
yeah makes sense
this is much easier solution
this is just 1 header that hides/show things
I could in theory put sub-frames into these though
you can kinda see it from the indentation here
4 of them belong to the Display header
Okay
why do you need to run your code here?
I learned about a feature in discord recently that shows how to input code and have it have colors but i forgot how and I wanna send some code to my friend so I dont wanna run my code here but I wanna use that to send my friend python.
Can I use it py3 for code
you want to use python 3?
yeah, you can use pydroid3 on your tablet
you can definitely give it a try
Ok thanks
import pyttsx3
engine = pyttsx3.init()
engine.say("I will speak this text")
engine.runAndWait()
Hey @snow moon!
```py
print('Hello, world!')
```
This will result in the following:
print('Hello, world!')```
When I use this code in pydroid 3 their is coming error
Can you give me solution
there are a lot of things that can go wrong, the error message tells us what to fix, we are not magicians yknow
Ok
@snow moon paste the error
Hi
github codespaces, google colab, kaggle, and replit.
But best if you just reformat your machine to use any up-to-date Linux distro and use python on you machine instead of online code environments.
If it's your machine, that is.
seems like a drastic step
are you limited to using windows 7?
I may be wrong but Lists in Python are dynamic arrays that store pointers to memory addresses of values?
id prefer to say "references" but yeah
i mean in python everything is a reference so ... 🤷
I don’t really get what a pointer is here?
What are they, how are they stored, and how do they store references to values?
python is uh... a bit different
a reference is like, a way to refer to some memory , point to it , a reference is under the hood just that , a pointer
it points to another object
so u make list of these pointers , each item in the list , aka , each pointer , points to an object somewhere in memory
in cpython they're dynamic arrays that store references (memory addresses) to objects
a reference is just a high level word u use , so u dont mix it up with pointer , which is an internal implementation detaili
I don’t know much about how memory is handled (benefit/downside of Python) so I don’t really understand what the references are actually storing, like idk what a memory addresses really is
you dont really need to understand it honestly
it doesnt really make sense to think of data on the memory address level if you are writing python
if u want to fix ur mental model , think of everything in python as a box , this box is called an object
I want to learn Rust (and maybe C) and I think it’d be useful there, no?
so
2 thisis a box , that has the value 2
yeah , in C , a pointer is a specific language concept , and u would learn it there
maybe when you learn that , it will be easier to learn how it works in python
every language has its own way of dealing with memory, you shouldnt conflate the concepts from one language with another
(although a "pointer" can generically mean "the one who points" in any language, in C it is a specific language construct)
the concept of reference in C++ is very different from the concept of reference in rust, for example
But a memory address is still the same idea though, no?
it isnt really helpful to mix langauges . If you are learning about python lists , learn about them , use the python lingo
if u want to learn what pointers in C are , learn that
try not to use words and lingo from one language into another as it can create confusion
once u learn both independently , then u can start to understand the similarities
memory address is the most common way pointers work, yes
if u want to point to some memory , u store its address , thats the basic idea
you can think of memory as a long sequence of bytes. They are numbered, 0, 1, 2, ... 16G or something. A low-level 64-bit int is stored in eight consecutive bytes. An object in Python might take 28 consecutive bytes. The address of the object is the byte number of its first byte.
@raw bramble at a low level, a pointer is a byte number (offset) stored as a low-level 64-bit integer at some other byte offset.
I don’t get what this means, but I understand the message above ;-;
I definitely need to learn a whole lot more about the physical stuff that goes into computing
you understand how a low-level 64-bit int can be stored as 8 bytes, yes?
Yup
none of this is physical memory address btw, the operating system hides that from you
ok, and a memory address is a number, the number of the byte, is that ok?
You mean like if the first byte in that int was 00000011 or smth?
think of memory as a long sequence of bytes. Each byte implicitly is numbered. The first byte has the address 0. The next byte has the address 1. Byte 0 can store any byte value, 0-255.
Oh okay yeah!
https://www.youtube.com/watch?v=zuegQmMdy8M btw @raw bramble if u do decide to learn C and need a good resource to explain pointers , this is what helped me when i was learning
the first 5 chapters of the video is what u want
ok, then you can store a pointer to byte with address 1789 by storing the number 1789 at some other byte address.
So you say that bytes 0-8 are all part of the int?
yes, that would be a 64-bit int at address 0
Oh okay that makes sense :D
now a memory address is a number, and we know how to store numbers. A pointer is a number in memory that corresponds to some other memory's address.
Why would that be at address 0? Can the address have an arbitrary amount of bytes in it
so rather than saying "what object is this", you're just saying "what's at this memory address"?
you said "bytes 0-8 are all part of the int", so it's address 0. If you said "bytes 100-108 are the int", then it would have the address 100.
I think when you said "bytes 0-8", nedbat took that to mean "the byte at offset 0 in memory"
Can the address have an arbitrary amount of bytes in it
(if u meant , " can the address be 128 bits", then no , an address on a 64 bit system will be 64 bits , regardless of what is stored at that address. A pointer always has a fixed size and it depends on ur computer.)
the data that is stored at that address can have varying size
an int will have 28 bytes, a string may have 150 bytes, it doesnt matter
but a pointer to both of those will always be 64 bits
does the pointer know how many bytes the data is?
no , the pyobject knows , i think
https://docs.python.org/3/c-api/object.html#c.PyObject_Length
yeah
It's just a 64-bit address, so no
at this level, it's all just bytes. How to interpret the bytes has to be information from somewhere else. Including knowing that the 8 bytes are a pointer instead of an int.
in C , this would cause mayham if u said a pointer is just a memory address xd
Hi
hey there
I love when people ask such abstract questions and then big-brained people give such detailed answers. Bless your heart for letting me steal all of these information. Even though I still don't know what to do with it
a memory address and a type
it's not stealing. we are gifting it to you. It's called "learning"
Rather than you stealing the information, it's more like we're infecting your brain with it.
viral teaching!
I hope it's super infectious then
It is, the human brain is primed to absorb information whether you want it to or not.
memetic hazard
Although:
"The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents. We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far." - Call of Cthulhu
lovecraft predicted FCNN
Hm, that feels like a good concept for a cosmic sci-fi horror story. We build an AI that is smart enough to deduce some horrible truth that we are too dumb to realize ourselves.
that || pineapple is good on pizza ||
At PyCon, there was a picture on stage of a pizza with pineapple on it. Paolo Melchiorre said, "at PyCon Italia that would be a code of conduct violation"

Flexible Convolutional Neural Network?
fully connected
so Lovecraft predicted a widely-used machine learning model?
no im just joking
im just joking that a fully connected neural network will be able to fully correlate all of its parameters
will it tho
It's a joke referencing the part of the quote that says "the inability of the human mind to correlate all its contents" i. e. inability to connect its contents, but an FCNN is fully connected. It's nothing deeper than that.
It's just about the wording.
oh, apparently my mind is unable to correlate all its content :/
Guess you're not an AI then.
but still
blessed be the mind too small for doubt
war ham 40k
Warhammer 40k is also all about cosmic horror.
Hey everyone 👋
Hi there
@golden mortar are u a student or currently doing any job?
I'm employed
Oh nice
Which company?
Until the end of the month, a company that builds financial exchange systems. Next month I'm starting at a consultancy firm, with a placement at a bank as a platform engineer.
I assume you're mainly using Java or C++?
Unless you're doing more platform work?
Java, Kotlin and Typescript, mainly, at my current job.
shit wrong server, sorry guys
I think in the short term I'm mainly going to be doing CVE patching, long term I'm not sure.
Is this your first company after graduating?
Nope
java for legacy code, kotline for current backend, typescript for frontend?
dementati, is your name intentionally close to "demented"?
No, I tried to sell JavaKotlin for our new product, but I only managed to convince them to use it for the web server, so it's Java for most of the backend services.
how important __slots__ are
It's "dementation" from the Vampire RPG with the "on" cut off due to a username character length limit on some forum I registered for when I was a teenager
when you really care about optimization
they aren't important. where are you reading about them?
last topic of inheritenca
and you very very rarely care about that much optimization
inheritance
where?
in the course
So not really legacy, it's more like the primary language
yeah perhaps I should emphasize when you really care about optimization
you don't need them, but will you be tested on them?
at least it's java
It's fine. Kotlin is better though.
How many projects in cv are considered as good
nope ned, i want to skip it
you should skip it
just understand what they are at a surface level for now
you don't have to worry about best practice/implementation
okay
i would say you don't have to know anything about them except, "__slots__ is a class thing I don't need to know about"
i would have to check, but im not sure i have every used slots for something real
I think for most people slots is just a nice kwarg for dataclasses.dataclass
or a default thing you don't think about for attrs
oh i love that phrase...
If you're ever reading and trying to understand some code, and you run across a usage of __slots__, then maybe look it up. Until that happens, forget it.
Hi guys! imnew
Hi 👋
Hello and welcome
welcome!
hey there, I'm old!
🤣
Possibly the oldest
lol
dont say this ned
you are young as you learn
i literally started python in 2021
that's a long time
my body is starting to disagree
yea ik but python isnt my main focus
roblox would be lua right?
yep
recently i got interested in uhh system integration, basically making roblox and python interact with each other
In 2021 i think i was in my school, don't have any idea about coding thing 😅
yeah...being healthy is difficult in middle and old age
u have no ide ahow young i was when i started coding
you get these DLCs in life that you cant uninstall... i got the one where my shoulder hurts! 😄
i started with scratch
At which age u started coding
2^3
Hi
I got the anxiety one!
How are you
Hello!
Hello mate
I am new here
how old are you @cerulean ravine ?...i want to know
what are u interested in?
sus....
crazy old
I am new to Python
im 13 now and ik python, luau ( roblox )
Above 100 ? 🤣
CENTENARIAN
How to start Python
yes, but I won't tell you in what base.
Above 0b100?
Ok
whats ur guys field of interest?
that is 4 right?
dont skip exercises..i know you know this..but that is the most imp thing
!beginner
Here are the top free resources we recommend for people who are new to programming:
- Automate the Boring Stuff — an online book (also available to purchase as a physical book)
- Harvard’s CS50P course — video lectures (slides and notes provided) with exercises
- Python Programming MOOC 2026 course — text-based lessons with exercises
- Corey Schafer's YouTube playlist
For a full, curated list of educational resources we recommend, please see our resources page!
I'm interested in machine learning thing
that's correct
Ah ok. How'd you get into that comapny? That side of fintech, companies like IEX are my target
I too am older than 4
cool! im interested in apis and system integration
everyone is
nah, when you're born, you are younger than 4
that means my age is 0b1011
Cool things, system integration is really interesting
yeah especially roblox with python
like imagine a website control panel, and if you press abutton, it uses an api to control things in roblox
Is that actually possible?
Huh that sounds cool
i mean, roblox has httpservice for sending requests
@tranquil turtle you from which country?
a few things are possible
so u could make roblox send a request asking what event it should do, and once the website gets a button press, it tells roblox that specific event
Oh really, just feels like a thing they wouldn't allow
you cant affect the player user space
india
@tranquil turtle same here
Right but I suppose you could still do crypto mining on the CPU and similar then
🇮🇳
whats ur field of interest?
many of these tools do that... a huge % of them
A friend of mine from uni was a trainee at a related company and recommended me for their trainee program, about 12 years ago. I got headhunted for my current position by people who had worked at that company previously.
@tranquil turtle i am currently now in college doing btech in the computer science field and exploring machine learning side using python and python libraries
Probably not very helpful for you, unfortunately.
12 YEARS?! thats 12/13 = like 92% of ma life
cool! but uhh im in 8th grade. 😅
and yes, i started python when i was EIGHT
Ah
@tranquil turtle u are really ahead of your generation
idk coding seemed rlly cool to me
It reinforces some ideas
@golden mortar why?
Why what?
yeah ik, it started when my dad showed me scratch, and from then on i started exploring more and more, and here i am now
why?
he didnt even force me or enroll me in any class, i just was curious
@golden mortar u said it to me?
Or someone else
"A friend helped me in" isn't usually helpful advice when asking someone how they got the role
Someone else.
@golden mortar ok misunderstanding
IS THAT SOCRATES IN UR PFP!?
No, it's Epicurus.
mine is my roblox avatar lol ( drew it myself since im also a digital artist )
the food guy?
when did u guys start coding?
age 28
guys i dont think u should reveal ur ages
sound more like a job for JS rather than Python to me
we are adults
Well, he is the etymological origin of 'epicurean', but it's a bit misleading to call him a food guy...
not rlly, it involves js ( react ), fastapi/flask ( python ) AND roblox
7 or 8
yrs ago?
no when I was 7 or 8
Around 10 I think, memory is fuzzy
same here! but i started with scratch
I started with batch
11-ish
cool! i thought i was the only kid interested in coding
it was so shit
it all started when my dad showed me scratch, and my natural curiousty ( i was 8 ok? ) lead me to explore coding more
u guys all use a mac or linux right? i use a macos monterey
I can't still see why you need Python as BE, using JS to map the inputs is not enough?
all windows here
windows
sometimes debian based
no doors?
I use Linux now, but mainly used windows when I was first learning
i dont even use js that much
no, pls send help
its a OS
ah ok
i used windows 8 first, now i use a mac
if u think about it , a door is just a big window
(laptop)
but with blinders
My dad's a musician and my mom is a librarian, so they're basically tech illiterate. I kinda got into it on my own accord.
Bro are u guys sure about that u started coding at age of 8/10
Bro that is insane
cool
no i started at like 18
does scratch count?
It's not that uncommon, especially nowadays.
It does, it's a Turing-complete language.
if not i probably started b/w 8 and 9
@golden mortar yes that's true
it is?
Yes
wait what
woah
technically I started with actionscript in flash, but I didn't get too far
💀 thats crazy
we all start somewhere
peak
I started my coding journey with C programming
it was a good time for sure
Turing completeness doesn't require much, so it's not that surprising.
Minecraft redstone is also Turing complete.
yeah thats why its pushed to the ABSOLUTE LIMIT
also what abt geometry dash
do u guys code in any other language too? i tried java and c++ too but ehh its kinda boring
What about it?
I write Java for a living, so yes.
i read java, but seldom write it
true
i dont drink java? i dont drink coffee since im only 13
do u guys code as a job or as a passion?
You typically end up having to use a lot of different languages.
Both.
I mainly use rust these days, and have to use java for uni
My 2nd coding language was c++, and it made my base stronger then i shifted to python
how much does it pay coding in java (if I can ask)
It pays very well.
There's high stable demand since it's such a popular enterprise language.
where java is used?
What about system integrations and cloud computing?
Java has high demand in the Indian market specially
Primarily in enterprise backends.
like?
Those concepts are kind of language agnostic.
Like in finance, for example.
Mostly as a passion, but I also do it for work.
Cloud computing has a very large market and aws, google,azure
Is it stupid to read a code u dont understand?
depends if you feel like you're getting something out of it
yeah im VERY interested in apis
Well, you should try to learn to understand it.
i hope i get at least an internship this year
.....is it possible?
Kk
U should proceed with it
its a shame i cant use aws, azure or google since i dont have a credit and card and im probably underage for it
Use your parents
mainly integrating it with roblox and frontend
i am surprised you are surviving on discord as an underage(if you are).
nah there are some free alternatives that also dont need much personal info, like vercel, netlify and render
wdym discord is 13 and up?
not everyone here is an adult too
Yh
i think yes
Really, I'd hope nobody cared.
I want to work with apis, can anyone guide me on how to start
Might be jurisdiction spcific.
like make ur own apis?
I don't think it is
The Discord ToS dictates that users be 13+, or at least it used to.
I haven't looked it up recently.
Then @tranquil turtle should be fine.
ok lets not dive into ages, python is for everyone
yes!
Age 16+: The Netherlands, Poland, Spain, Germany, Ireland, and several other European Union countries.
Age 15+: France, Czech Republic, Greece, and Slovakia.
Age 14+: Austria, Bulgaria, Italy, Lithuania, and Spain.
Age 13+: Discord's Global Minimum
@viral vale if u wanna create ur own python apis, i suggest watching a tutorial on FastAPI, its the best place to start imo
Ok
How to get good project ideas, is there any suggestions from anyone
!kind
We have a list of suggestions.
The Kindling projects page contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
Think of something that personally interests you or would improve your own life
Otherwise, make something (small) which you would like to have.
idk, maybe like solving personal problem, or a new concept u wanna explore
WE DO?! do u know where they are?!
See above.
Ok that's mean first i need to look in my personal life and make projects around it
ok thk!
yeah
For example, I wrote a web app to track my weightlifting and running progress.
It felt motivating to work on it since I actually used and got benefit from it.
That's cool
I play a card game with friends which is a pain to score, so I made a little app that we could use to help us score the game
how does it track that? does it use a camera to see what ur doing physically and use neural networks to determine what ur doing?
cool!
I also thought of making a webapp
...but that is not where i wanna go into
Ok bye guys 👋
I have classes
I think you enter in the values post run
if wanna go, just do it!
If you like movies or TV shows, you could write an app to track which movies and TV shows you've watched, and maybe recommend new movies and shows to watch based on what you already watched, or other criteria.
bye
No, I just write down my results manually.
ive always thought abt making like a roblox admin abuse control panel in react, and use an api to actually make it happen in roblox
thats EXACTLY the field i wanan explore
But it's still useful, because I do a lot of different exercises, and it can be hard to remember what weights and rep count I'm supposed to use for each one.
do you go to gym?
It's also nice because I can graph my progress over time and evaluate which exercises and muscle groups I'm having trouble developing.
No, I work out at home.
That's good, that's a form of exercise.
*both
yeah, but mostly to get to places, not for exercise ONLY
As long as you get enough time in each day, it doesn't matter.
im literally 5'5 or 165 cm ( yes rlly )
Does it require any third party modules?
i think it takes like 20 minutes
what requires that?
Ideally you want to do physical activity for at least 30 minutes a day, though walking is sufficient.
The workout tracker
Not a lot
yeah it definetely takes atleast 30 minutes, but not all at once
Hi
I think it's flask + sqlalchemy for the backend and react for the frontend
I think maybe I pulled in something to render the graphs
is it flask-sqlalchemy?
Don't recall
What can the turtle be used for apart from the usual
It's mainly a learning tool
idk its just a drawing module
can u imagine someone new seeing our chat? they will be so confused
I was trying to learn flask a while ago but my PC crashed so I just started with automation
Nah
what are you using?
Do people still use flask for new projects? Apart from legacy codebases
I think I'd pick fastapi if I started today.
or maybe django
i mean its great for beginners, and still very powerful, but nowadays its mainly used as an api, witth vite + recat for the frontend
Don't really see why you'd pick flask over fastapi
Exactly my point tho
flask has databases?
No
uh what?
whats flask-sqlalchemy for then?
fastapi has sqlmodel
flask and sqlalchemy are 2 separate things
It's for integrating with sqlalchemy
no not sqlalchemy, theres a version of it for flask
two separate things again but sqlmodel is like sqlalchemy + pydantic
idk that seems simpler, fastapi is mainly fot well, APIs
so? You can use other ORMs with flask, not just sqlalchemy
i use flask and regular python for backend
thats the neat part, u dont
Pick a project that you care about
bro do you make money on Roblox?
This is the end.
i mean as a ui/ux dev, i can?
That trick doesn't work on me 😔
i think i just don't care anymore? temporarily uncared?
I don't understand myself sometimes
do game devs really pay for UI UX designers? like for their games?
maybe use lofi and/or first make a readme file abt ur project
yeah? the ui for games is very important
I've heard bad things about sqlmodel and the reddit purists insist on sqlalchemy
Lol no hell no, that's literally one of the things i dislike about development
bad things like?
just. start. da. project
i literally dislike writing english in docstring, explaining and README.md.
my brain shuts down and mood swings comes in
k guys ima go eat lunch now
have u made a bag?
ye Imma definitely vibecode my readme
already in the near end of the project
i mean im still just starting
oh okay
good luck
thk!
i did too, cliargparse's readme is literally ChatGPT generated after i shown him example and told exactly what you have to output like
Something like it's not well-maintained but maybe it's a thing in the past now
bye guys
Pretty sure people will leave the moment they suspect AI generated README so i tried to make it less AI-ish
wait what?
well.. if function
yeah.. just released a few days ago
huh, what to do with that information?
I think I was having some sort of type error, not an error but IDE warning last time I worked with it
what's with that else 
i don't understand this syntax at all
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if looks like it's experimental, only supported by chrome now
raise ParserError("is that else inside if's condition?")
you have to provide an else i think
Oh
It doesn't need to be elaborate. Just something terse and imperative can be enough. I find it helpful to write the objective/result of the function.
Example:
def longpath(path, prefixes=None):
''' Return `path` with prefixes and environment variables substituted.
The converse of `shortpath()`.
'''
Nothing elaborate there.
I can't imagine the usecases for this rn
the usecase is to not write it in js
no, I mean why is it in a totally different font 😄
screenshot from a keynote presentation
well I am so comfortable with TailwindCSS, normal CSS seems weird to me atm :/
Even CSS got the order of operands in conditions expressions right 😭
must be one of my least favourite things in Python
this isnt related but still great vid https://www.youtube.com/watch?v=AF8d72mA41M
else is a parameter of if function?

It's like SQL. Built-in functions can get arbitrary new syntax whenever the language developers feel like it
I seee, thanks. I might try to do the same
you don't like t if c else f?
no
whenever the language developers feel like it — ☠️
I think the idea to use actual keywords instead of ?: was good, but reodering the operands was not
x = if cond: a else: b
Like this?
rust user
is it unambiguous for else part?
i very much like t if c else f over ?:
where is my elif 😔
t1 if c t2 elif c2 t3 elif c3 else t4
Rip
Yes, something like this
There's a PEP for the conditional expression: https://peps.python.org/pep-0308/
I'm a bit confused about the outcome. Looks like there was a vote and (if C: x else: y) won, but then BDFL decided to use a different syntax anyway. Maybe some details or context are missing.
x = if cond:
p
elif cond2:
q
else:
r
they should have made this apply for literally all expressions
okay this sucks far more
x = if cond: (p) elif cond2: (q) else: (r)
``` something like this
Python 4.0's syntax leaked!
i'm not gonna like this either unless they do the rust thing and return from the scope if it's a value consistently throughout
or maybe give up on the elif thing, and just ```py
x = if cond: p else: (if cond2: q else r)
this alr exists, no?
x = p if cond else (q if cond2 else r)
Yeah it does
Yes, my gripe is with the ordering. It's hard for me to read conditional expressions because the condition is in the middle of it
as opposed to being the first operand
eh, i mean python does do it differently but you get used to it p quickly
There's a reason if statements are not like this: ```py
do:
...
if condition else:
...
(the reason is the extra do looks dumb)
in iterable for x, y: ...
it's also a language choice, i don't particularly hate it
I sometimes dislike having to shift my eyes from left to right to check what we are iterating over.
chatter, you have to shift your eyes when you're reading
you don't know my fov
just add a plugin to describe the code line by line with a subways surfers gameplay in the background
finally, an eye for microsoft's naming
is this the longest powershell name
who knows
cmdletsFromMgGraph.ps1 line 5962
Invoke-MgExtendDeviceManagementDeviceConfigurationGroupAssignmentDeviceConfigurationMicrosoftGraphWindowUpdateForBusinessConfigurationFeatureUpdatePause```
hi
is a week and a half w/ 4-5 hours of studying enough to cover basics of matplotlib - numpy
tf is this?
knowing the basics vs knowing how to use it is 2 different things
you should just practice
Pycharm
where would be applying while learning be
like write some programs to calculate some values from a table using numpy
meanwhile me instead naming it as
MSWinUpdatePause
@pallid garden do you use low level langs often?
no
is there a good job demand for low level langs..?
proof that naming is hard
zehata ahh naming
hello
for token in tokens:
if token is in keywords:
print ("next")
else
_input = "error : unknown keyword"
apparantly 'in' is invalid syntax what did i do wrong?
imagine if we actually named our variables using kaomoji
you have an is in there
Remove is
if token in keywords would be correct
What are you making
"'py
_input = open("temp/input","r").read()
keywords = ["struct","body","par"]
errorcorrection_code = _input
preped_error_code = errorcorrection_code.replace("["," ")
preped_error_code = errorcorrection_code.replace("]"," ")
preped_error_code = errorcorrection_code.replace("{"," ")
preped_error_code = errorcorrection_code.replace("}"," ")
tokens = preped_error_code.split(" ")
for token in tokens:
if token is keywords:
print ("next")
else:
_input = "error : unknown keyword"
output= _input
open("temp/output","w").write(output)
"'
i inputed body[] it is coming as an error
attempting to do what?
.split(), default is a whitespace
did i gave the wrong input
i gotta make a PR to fix that
because after your replaces the string is "body ", and "body ".split(" ") == ["body", "", ""], and the empty strings are unknown tokens
passing a space argument to split explicitly is different from not passing an argument
preped_error_code = errorcorrection_code.replace("["," ")
preped_error_code = errorcorrection_code.replace("]"," ")
preped_error_code = errorcorrection_code.replace("{"," ")
preped_error_code = errorcorrection_code.replace("}"," ")
this isn't quite doing anything too useful
Are you making a new programming language
you keep overwriting the old value

only right now
thanks
it will also be wrong once you have a string literal with those special characters in the source code. you cant just replace on the whole source
you seem to be an expert
you should write a proper tokenizer, either with some simple state machine (loop, check what character it is, if its starting an identifier - get all chars until non-identifier, same with numbers etc) or just use regex
Anyone got enough power to bestow screen sharing on this humble Python docs orator for VC 0 please ?
well, i am warning you that you wont be able to properly implement a programming language with this approach
Only in this channel. Feel free to open a help thread if you'd like to share images
