#python-discussion
1 messages Β· Page 445 of 1
Tysm!! Ill search that up π€©
Inside list literal [] it takes expressions for items, where items are separated by a comma.
The Usualβ’ (Β©Mickrosoft)
here's a good guide to getting started: https://code.visualstudio.com/docs/python/python-tutorial
if you try to teach them stuff perfectly with all the good practices , they are just gonna get bored and quit
because you have to learn lots of boilerplate and boring things to do all the "best practices" from the start (typehinting for example)
VS Codium exists tho
@flint jewel
Oh okay tysm bro I appreciate it and also.could a game made with Python be exported into the App store?
no

Tysmmm!! π€© π€© π€© π₯
which App store?
Ohh.Then what for i need python
in my days we'd use IDLE 
Like Google play stire or the apple app store
I use Neovim on my phone
What's the difference between IDE & IDLE?
Python is not well suited to making mobile applications
that's so confusing, so list compresion it doesn't take the inside as string but in anyother thing it does
IDE is a generic term whereas IDLE is a specific thing
if someone is asking for python editor
i am here to spread the
pycharm propaganda
use it , it is good 
Ohh.So Only for Computer?
learning programming is a great things, it unlocks hidden superpowers when it comes to what you can do with a computer
IDE means Integrated Development Environment.
IDLE is a Python code editor
How so? Full form? What exactly is so explicit about it?
it's best for PCs and servers. mobile apps are really their own thing
I think it's better to try to do a large project without type hinting, and experience first hand what kind of pain that can cause, because then you'll gladly use them for your next project, when you can clearly and intuitively see what kind of benefit they bring.
Its not a string you see, it's a repr of list with range, most probably.
So all others programming languages can export to mobile yet python cant*
perhaps, I can see that being valid. but it's also true that people who love coding are usually drawn to a free exploratory style. no one really likes boilerplate, after all.
whereas you cant download IDE, you can download IDLE
it's like asking what the difference is between a movie and "Bee Movie"
sure , thats one way too , probably a good way to show why it is useful
Oh.but like how are ppl gonna use my App or Game if it isn't in Mobile
Note to self: update the readme more often
some can, some can't. if you specifically want to make mobile apps, there's a subset of languages most worth learning
no, that is very very rare
you can make web apps for mobile, no worrieis
odd_numbers = [range(1,20,2)]
for odd_number in odd_numbers:
print(odd_number)
odd_numbers = range(1,20,2)
for odd_number in odd_numbers:
print(odd_number)
Hey @flint jewel!
```py
print('Hello, world!')
```
This will result in the following:
print('Hello, world!')```
can you run it here ?
dont add range in a list
Like those that I can download from a website?
it doesn't become a string, it stays as a range object.
why does it work with list comprehensin and not a range
I don't quite get you tbh
no, it will be the website itself
Oh okay tysm I appreciate that!! π
that is possible to explain if you have time, but not in this channel, it is to noisy
So python is generally considered for building websites right*
I ran it, it just prints "range(1,20,2)"
no, python is used for almost everything, thats just one thing
sure
you misunderstand what you see
yes, that's the representation of the range object. but it didn't become a string π
where should I dm you
Oh okay.its hard for me to understand sorry π
it's considered a scripting language and a general purpose language
it can do web development about as well as any other general purpose language
you should not,. #βο½how-to-get-help
Where did u ran it
make a help channel
in python3
Should I maybe learn Lua?
in short, list comprehension is special syntax to create a list. just putting range(...) inside a list is not special syntax, because range itself is not special. you're just creating a range object and putting it inside the list.
Is that on a website?
you run python in your terminal
oh, so it becomes a string ?
no
it does not become a string
if you want
i learned it because one of my garry's mod mods had a lua scripting part so i just learned it for that
What is a terminal π π ?
it is a range object
@flint jewel if you say
[range(1,20,2)]
that isn't a comprehension. that's a list with one object in it, a range object.
a comprehension is when you use the comprehension syntax:
[x for x in range(1,20,2)]
the program you use on your computer to run command line applications
Wow was it hard? Or is it just fro roblox
whose representation, upon being printed, looks like range(1, 20, 2)
Yes I was asking this.What is the most used one for python?
it wasnt hard for me, lua is a relatively small and simple language
its power comes from how simple it is
and i answered. was my answer unclear? python is the most used programming language in the world, it is used everywhere
Ohh okay bro thank you I appreciate it! π€©
so it doesn't become a string
i thought javascript was the most used 
rather it just prints the representation
No no my English is not very good sorry.i mean terminal what is the best one for python
there is no terminal that would be specifically for python
terminals are a general purpose thing for running any program
if you open a help channel i can help you, this channel is to noisy for you to get yourself unblocked, and there are too many people answering at once
ok
what platform are you on ?
What is a platform? π
too many channels
Oh okay tysm
windows, mac, linux
HP
@flint jewel
Can you open a thread on #1035199133436354600 so we can discuss it without disrupting the chat? I want to help u too :3
Oh hp computer
They probably use Windows if they have an HP laptop and didn't know their OS.
π
that might be true
range is not a generator, but yes, [range(x)] is indeed a list with a single range object inside, not a list of the numbers in this range
range is range
huh
range is a sequence
wait was i learning wrong my whole life
its a sequence
yes
!e print(type(range(0, 10, 2)))
π
:white_check_mark: Your 3.14 eval job has completed with return code 0.
<class 'range'>
Ohhh wait i understand windows 11
All that text wall was wrong...
then windows terminal is what you want
@velvet trout range is basically a lazy sequence, because it can just use math to get the nth element (or whatever operation you want to do), instead of storing them all in memory
And what is that sir? π
not all of it, just the generator part
the answer to the question you asked
Which the best terminal for python is?
Okay where can I find windows terminal sir?
windows terminal please listen
Oh no its not
you have it already
range uses __getitem__ iteration, right?
Its lazy right
Sorry my English is quite bad
Or not
I think so
I mean where can I open it π
no worries, our help channels are better for getting help
Nuh, Kitty best terminal ever
opened a thread in help
you just open it, it comes with your computer
it's an iterable but not an iterator
Oh okay last question is this server official from python?
π’ i wanna die out of embarrassment
Oh right
we aren't part of the python software foundation, but we're the most established Python server.
ChatGPT does it all the time.
no, its not, its community driven, but we are on python.org community page
Ohh okay Thank you so much! π π€©
β οΈ
we live and we learn π
to err is human
but to presume you're correct is also human π
class Iterable[T](Protocol):
def __iter__(self) -> Iterator[T]: ... # returns a new iterator each call
class Iterator[T](Protocol):
def __iter__(self) -> Iterator[T]: ... # return self
def __next__(self) -> T: ... # raises StopIteration when empty
Objects/rangeobject.c line 822
range_iter, /* tp_iter */```
Well learnt something new today, just like every other day
@velvet trout don't worry about it. it makes sense why you'd think range is a generator.
hope that won't get me in trouble sometimes.
Thank you.
Oh wow I have so many more questions like what that python org is but I dont want to take ur time Thank you so much for explaining i appreciate it!! π€© .Just last last question which is i heard that chatgpt is by python and u said u cant do mobile apps with python why is it so then?
it feels like a generator because it produces a sequence of numbers
Generators have yield in them right?
python.org is where you download python, and the website of python
yes
you can ask questions if you want. and people can decide if they feel like answering them. people usually do.
Oh so u have ro download python π
Tysmm π
you can run short scripts on this server without downloading it
yes, you have to do that to use python
by "chatgpt uses python" its meant that the models are trained with python
the website (or, atleast, the part that you run on your mobile phone), which calls into the already trained models on computers across the network, is not written in python
!e
print('This is a short script')
a = 5 * 2
print(a)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | This is a short script
002 | 10
Not necessarily
Ohhhh I understand thank you so much π
all the LLMs are trained with python. can confirm.
Hello, everyone. I am going to start learning python. Do you know any good free websties to strat off with or ytoyutube?
!slorb
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!
It's just easier to write a mobile app using one of the languages specifically for that job
Yeah they are programmed with python but trained on other stuff
Okay tysm I'll try to download it and start my journey.One last thing would u even recommend python at all for career job and so on?
Oh.like which?
i have been working as a python developer professionally for over two decades
guess it depends on what you think "to be trained with" means.
I would say they're trained with python on various text
kotlin for android, swift for iOS
dart (flutter) / js (react native) can be cross platform
Wow.are there anythings you've created i can try out?
Swift can target android now
once you have learned some python you can try it out
Oh I heard of those.perfect thank you so much!!
does that "can" mean that people are actively using it
No i mean your projekt
It's new
Like the app π you've created
is the code that people have been writing for iOS cross-platform compatible with the new android stuff?
yes, once you know some python i can show you
Should i repost my text wall to Seraj with correction? 
From the release notes:
Swift 6.3 includes the first official release of the Swift SDK for Android. With this SDK, you can start developing native Android programs in Swift, update your Swift packages to support building for Android, and use Swift Java and Swift Java JNI Core to integrate Swift code into existing Android applications written in Kotlin/Java. This is a significant milestone that opens new opportunities for cross-platform development in Swift.
I just mean the name of the website or Game you've done π .But its okay sorry for my English.And thank you for your time may u have a great day bro
interesting
Is there anyone looking for python dev?
we aren't a job search or recruitment board
Yeah
Hello!
Hello cat
Cats are so careless and happy. They don't have to worry about programming or naming conventions
How are you doing?
Wdym
Haha fr
...

>>> range(5)[0]
0
>>> range(5)[1]
1
>>> range(5)[4]
4
>>> range(5)[5]
Traceback (most recent call last):
File "<python-input-3>", line 1, in <module>
range(5)[5]
~~~~~~~~^^^
IndexError: range object index out of range
>>>
what's the appropriate use case for subscripting range would be?
Why would someone need it to do that ?
All sequences subscriptable
I don't think there is a case where you should genuinely do it tho
But why make it a Sequence?
like actual reason and usecase
Keeping it an Iterable was enough, was it not?
I've done range(len(seq))[::-1] to iterate over the indices of a list in reverse, but it was in some #hacky code
Oh so backward compatibility!
It's pretty free to add the functionality
can we access start, stop, step from range(...) ?
Oh we can ! :D
having count is funny
So guys I do understand why you were recommending Python as my first language instead of C
And I adhered to it.
BUT
My only mistake was to start with a β¨Introductoryβ¨ course for Computer Science, which has some C in it.
And it's very first problem set has absolutely ragebaited me.
Why? Seems so simple, but God knows the solution.
And I think I need to conquer this C first before python.
Or I consider myself dumb.
What are they about?
Are you asking a question? Or just venting?
So its similar to list.count/index()
I guess you're talking about CS50?
Both arghh
There's several, confusingly, CS50 courses. One is CS50p (for Python)
You picked the general one, which includes multiple languages
range(0,0,0)
Traceback (most recent call last):
File "<python-input-24>", line 1, in <module>
range(0,0,0)
~~~~~^^^^^^^
ValueError: range() arg 3 must not be zero
Tho Would it still make sense to set step=0 since start and stop are zeroes too? 
By any logic
I thought it would be optimal given my entry into the niche
instead of range with 0 use repeat
right
coding in c++ is the worst thing someone could do
Remove ++
And I think I need to conquer this C first before python.
You don't need to. But, at this level the problems you have are likely with programmatic thinking in general, instead of being specific to C. Probably you would have struggled with solving this exercise in Python too -- depending on where you're stuck.
So switching languages may not help as much as you think...
As long as you're learning, you're doing the right thing. There's no optimal path.
Cflat
C$
C# but american.
I can't use loops freely
there is such a language as C-- fwiw

That's just b++
its more of a compiler target than a language someone would write but yeah https://en.wikipedia.org/wiki/C--
Cβ
lemme stick to it then
Programmers are very bad at naming. Look at yaml for instance
commanding a computer
case in point APL = A programming language
And yacc
What happened to yaml?
computer is dumb
Do you know what yaml stands for?
Yaint
Yet another markup language
Or Ain't a Markup Language
its also an "array programming language"
like imagine if numpy style stuff was first class
there are a lot of "yet another" style names in tech
Or json if I can't
array processing language 

lisp is list processing language
i have mild hostility to toml solely because of the connection to its namesake
Oh
You have beef with Tom?
i do
Thuri is biologically incapable of just being okay with LITERALLY ANYONE
you're just hating smh π
Except me
Tom's obvious markup language
i see toml as equivalent to muskl or bezosl, but not quite as bad
π₯© with Tom
thuri is not buying your current charade, cert
What happened to being certified cli lover?
april 1 happened
Lmao
Thought I'd switch it up yk
To defeat your enemy you must first become them
--Sun tzu, the art of war
π no loyalty
to become your first you must defeat enemy
-- war, sun art of the tzu

https://wikipedia.org/wiki/Tom_Preston-Werner
Shortest Wikipedia page Iβve ever seen
Thuri just a hater
Huh, this dude this founded Gravatar
The thread in python-help channel is closed after last message gets one hour old?
Yes
So its like:
β’ Incoming thread message:
β’ thread.messages.append(message)
β’ thread.reschedule_auto_close()
?
How discord servers do it
odd_numbers = [range(1,20,2),range(1,20)]
for value in odd_numbers:
print (*odd_numbers[value]) why is this wrong ?
Reschedule or queue reschedules
it's our bot that enforces the close time
!source
Gotta check and learn
Your for loop is essentially doing this:
odd_numbers[range(1, 20, 2)]
odd_numbers[range(1, 2)]
yeah I figured
you should just do print(*value)
I thought value is an iretator
Nope, value is the item of list
oh, cool
* 0
python drones
lists are iterables
you can fly them
it is (or rather, it's a lazy sequence that is iterable)
yeah the iteration is inside the for loop it self
I don't follow
odd_numbers is a list, which is Iterable
Wha π€¨
value is a range object, with is also iterable
you can use python to fly the drones
that what I meant
ok so why are those different numbers = [1,2,3,4,5,6] same_numbers = numbers my_own_copy = numbers[:]
and why does this only print two names players = ['sam','carl','demitery','samson','compenhagen','marteniz']\
print(*players[:2])
one of those is a new list that is a copy of the old list, the other is a new reference to the same list
isn't the index start at 0
yes, they made a mistake before.
so it's a mistake?
wait which one? the odd even both starting at 1 was a mistake before.
or do you mean this: print(*players[:2]) ? which prints players 0, and 1
so, when I do a slice like this number[0:2] it leaves the number at index 2?
It's up to 2, not up to and including
oh ok
it'll start at 0 (as long as the increment is not negative) so 0 to 2, stops at 2, and does not include 2
oh makes perfect sense
π
for slicing, [:2] => [0:2:1] => start at 0, increment by 1, until you reach 2, stop at 2, do not include it.
oh ok
π
range() behaves the same way.
yeah, thanks for clarification
one of the cool things you can do here, is use a variable and you end up with the same.
x = [ 1,2,3 ... 97,98,99 ] # note ... is not a thing here, I'm just abbreiating
y = x[:50] + x[50:]
x and y abre both 1-99
well in C I have to explicitly say if it's exclusive or not
a lot of things in python are explicitly that way because c led to so many ambiguous errors.
yeah
it's not programming 101 lol
π
next up, using numpy. π
@bronze dragon Have you completed CS50?
I got the openwrt one router and holy shit this is so buttery smooth
when using it in a client+ap config there's basically zero lag
I'm out of the loop, do they have hardware now? I thought that was just software you could install on any some routers.
data gets sent in the same millisecond
yep they made their own router with 256MB of flash memory and 1GB of RAM iirc?
it has an nvme port which is really overkill but I like it
nice. My nighthawk just went end of life for software support and I was considering installing my own, been a while (10 years?) since I thought about router software, had no idea they made their own now.
check which openwrt version yours supports
my old TL-WA901ND supports 18.06.9 max and it only has RSA
no ed25519 on ssh auth
tho using the imagebuilder you could add ed25519 support, not sure
It'd be shocking for this not to be true for any router
1 millisecond is a very, very long time for a computer
takes a few millis on my older router
lots of lag
Jesus.
apparently because it has to switch some interface control thing? idk
yeah ik
though in practice its not really noticeable
I watch Netflix on 4k just fine
That's more about bandwidth than latency
I suppose if everything is lagged the same 1ms it's not really apparent?
Still seems weird.
idrk
as long as using the internet on it is fine I'm happy
sad that my phone nor my PC can use WiFi 6
my laptop has no 5ghz support unfortunately
Made sure my router had wifi6 support for wireless VR to my computer.
i am trying to save an object as a json file. the object has list fields that hold other objects from a different class. how do i approach this? the objects that the list holds are added into the list from the class of that object.
sorry if that doesnt mkae sense
150ms is enough to get from New York to Australia and back. It's pretty shocking for it to take several ms for the data to leave your living room, haha
if the fields can't be serialized than maybe you should not use json
(there are other options)
so the next question is why json?
what are some other options? i was doing this project to get familiar with saving data to json
its the only other way of saving data that i know of beyond just using a text file LOL im just practicing with a project
JSON is a text format, so for every field in your object, you'd need to define how to represent that field in text
Implement json.JSONEncoder and pass the class to json.dumps(..., cls=...)`
what does this do?
ah cool. there are lots of ways. you could use json, but that would reauire making your classes be serializable to json, which is doable.
you could look into other ways, like pickle or shelve which are included in the python standard library
Its default method is called for non-jsonable types
i think for the sake of the point of this project iw ould rather change my classes to fit what im doing, even if thats more work
im sorry i dont quite understand what you mean by its defualt method
what method?
read the docs on pickle and see if that works for your experiments.
https://docs.python.org/3/library/pickle.html
thanks for the resouce!
Hi, Iβve been interested in ai recently as itβs one of the biggest industryβs in the past few years and wanted to start learning python. So Iβm curious, how hard is it to start to learn the basics and how long can I expect to spend until I get a good grasp on it?
keep pickle's flaws in mind: https://nedbatchelder.com/blog/202006/pickles_nine_flaws
Pythonβs pickle module is a very convenient way to serialize and de-serialize objects. But it has nine problems.
class Encoder(json.JSONEncoder):
def default(self, o):
if stuff:
return o.data
return super().default() # raises an error
If I have a JSON list of scraped listing of laptops, but the descriptions and titles were messy, how can I reliably extract specs, model name, CPU etc from the listing?
np, it might be easier for you to play with pickle for now.
you could also consider using dataclasses which can encode and decode into json pretty easily.
lastly, when you get a bit more complex you could conside saving your data into sqlite3 which is not hard to use once you get there.
so as i understand this, you are basically making your own custom encoder, that calls the "default" method. this method will return some attribute of your object?
but how does that help to serialize it and write into a json file?
really depends on the data itself. you might have to parse the data, regex could be helpful there
Or call some function that returns some json primitive
Can I DM u about it?
dataclasses are able to be serialized?
best to just ask here, or create a thread in #1035199133436354600 so other people can help as well, as I'm not reliable I pop in and out and dispaense wisdom
Kind of. There's dataclasses.asdict
so if i do that, where do i go from there? do i do that for each field in my object, and then write them one by one into the json file?

Each type you expect to process
would this be difficult to read back and convert back into an object?
i can kind of see what youre saying but dont fully get it
If the data is messy and inconsistent, then wouldn't regex entirely be a bad idea?
Won't I have to use some kind of LLM
I'd recommend using a proper serialization library for that. Like pydantic or marshall
You can use asdict to serialize and object hook to deserialize.
Quick example:
@dataclass
class Weapon:
name: str
damage_type: str
damage_dice: int
dice: int
weapon_json = '''
[
{"name": "Rapier", "damage_type": "Piercing", "damage_dice": 2, "dice": 6},
{"name": "LSword", "damage_type": "Slashing", "damage_dice": 1, "dice": 8}
]
'''
weapons = json.loads(weapon_json, object_hook=lambda r:Weapon(**r))
for w in weapons:
print(w, json.dumps(asdict(w)))
is the way ive designed my classes poor, or is this simply just a limitation of json
!pip dataclasses-json
beat me to it, I was just typing about that too. π
I mentioned it earlier, but I used !d instead of !pip
I was trying to keep it simple as they're just experimenting for now. But pydantic/marshall are great suggestions too.
regex is fine, keep it simple. open a thread in #1035199133436354600 and post a few rows of data.
was going to suggest pyarrow as well, but apparently they dropped serialization in favor of pickle. So I might be a few versions behind.
I had a problem so I tried using regexp. Now I have s/^[+-]?[0-9]+$/g problems.
which library woudl you suggest for a beginner?
pickle marshall or pydantic or the dataclasses-json?
not marshal
Dataclasses-json if you already use dataclasses heavily
Pydantic has more advanced validation features, good for user input.
for a beginner I would say learn about pickle first as it comes with python. see if that works for you.
if you want to stick with json, add a method to your classes that converts the data in it to a dictionary (or use a dataclass)
if i go with the dataclass approach, is it easy to read back from the file?
im trying to find an approach that works both ways
-000
Octal 0
ahhhh, I see
If you're not already using dataclasses, that's definitely a more fun area to experiment with
https://discord.com/channels/267624335836053506/1491207808962658536
Would appreciate any/all help
thanks fo rall your help guys im gonna do some research and then decide finally
good afternoon
hey, it's been quiet here. what's up?
Apparently a couple of my repos never had Dependabot security updates enabled and I have 50-something security alerts
RIP my "inbox 0" π
https://www.npmjs.com/ has a dark mode now
PyPI dark mode when??
It is kinda annoying that I have 16 "high" alerts just on this one repo alone, which is a ... static site hosted on GitHub Pages though
the alert fatigue is real
nothing and by you?
Anyone cares to explain what is a dictionary?
it's a data structure where you can look things up by name rather than position
in a list, you locate items by their index position (a number). in a dictionary, you can use a number, a string, or a whole variety of other things
Hashmap
thats not helpful
it is
!e
d = {"x":1, "y":2, "z":3}
print (d["x"])
:white_check_mark: Your 3.14 eval job has completed with return code 0.
1
did this message help? #python-discussion message
What message?
i just linked to it
what link?
you know about lists right? now imagine instead of them being indexed by numbers, you could index them by other things instead.
like lists, the indexes have to be unique, but unlike lists, they're not numerically ordered.
oh ok
so it's basically a struct
there are big differences: it grows dynamically as you add things to it.
you don't have to know the keys ahead of time
oh, so they have their own methods?
all data in Python has their own methods, yes
great
have you tried the Python tutorial? https://docs.python.org/3/tutorial/datastructures.html#dictionaries
I'll check it, thanks
#ot0-psvmβs-eternal-disapproval lol, pretty funny otn
Especially after moving to the forum channel
Salut
what's up?
Salad
every time i see an interesting bug i wonder to myself if claude would have been able to catch it
Hi
turns out it's already AI-reviewed, which means I just caught a bug that it didn't, lol. and this contributor is known to use an LLM
ah there we go: Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When the LLM requires more training
._.
How much do you know about LLMs?
not much, i would say
Hmm
If you had to say https://discord.com/channels/267624335836053506/1491207808962658536
Can this problem be solved by an LLM or is it better to just use regex?
I'm debating on how I should move forward
Hashmap
might be a good usecase for an llm
Until it decides to sell all your Macs for $5
you could probably also train your own model to extract specs from those descriptions
might be fun
Oh hey look pycryptodome in Pythonhelp
surely not malware
β¦right?
use in what capacity? just generating the thing and slapping it onto your lap?
Woah
Donβt drop 26billionwithab parameters in your lap
Theyβll crush you
purely llm generated contributions with no relevant human in the loop is a rude thing to impose on a human maintainer
What LLM model? The ones that I've used so far have not been consistent. Like qwen2.5:7b. The most consistent have been Gemini but I ran out of API calls for the free tier π₯²
Since this is just a hobby project I'd rather not spend money
(now clearly the issue here is the human)
isn't qwen 2.5 pretty garbage at code?
What do I train it with tho? What would be my training data? How would I gain that
I also run an 7b LLM from olama for just hobby and created a chatbot but for honest its sucks no matter how much you give instructions
True lol
And can't run anything more than that or my MacBook will self destruct
i learn that day π« wanting same level of result as chatgpt or Gemini is really impossible with just a llm model in laptop, they have big servers for a reason tbh
is this art? maybe it is art
lmfao
πππ
Hi
it's an endless stream of amusement
Would ffmpeg be able to compress a 30GB video?
Why wouldn't it?
to what extent, unknown
Maybe that was a stupid question, How can i know what file size i can compress it to
Ah ok
just try it
That's a different question. Lossless or lossy? If lossy, quite a lot.
Asking a model to generate an SVG of something for you is the new Picasso arc
html+css, it's even animated
Lossy, i wont need the full details. Most web services will make me pay for something this big but If there's no way to predict the final size i'll just edit the whole raw video
You will have a lot of knobs you could tune wrt quality/formats/whatever
There's a tradeoff. The more loss you accept, the worse the video looks.
So, the real question is; how much can I compress this video while still retaining good enough quality.
And, that depends on your video.
And your definition of "good enough video"
there isn't any good automated tool for that btw
i worked on something, almost finished, but abandoned that for the time bbeing
(that uses ffmpeg)
Give me lossless compression or give me death.
there is a way to predict the size
but again, all the tools are pretty bad in my opinion
(the ones i've used at least)
You can predict the targt size by specifying the bitrate to fit the size of the video.
Here's the script I use to archive video from a camera running motion, as an example. It invokes ffmpeg.
https://github.com/cameron-simpson/css/blob/main/bin/motion-shrink-timelapse
Do some arithmetic to figure out the desired frame rate and bitrate.
also one codec might provide you better quality with smaller size, compared to another
That too. The bitrate * frames predicts the size, the codec will get you btter/worse video for the bitrate
maybe i'll finish it one day, but i have other things in mind for the time being
You can see the defaults I chose at the top of the script above: 200k, a desired video scale (scaled down from full HD 1920x1080), h265 for the video codec.
The amount of motion will also have an impact.
True. But the encoder should try to achieve the requested bitrate regardess, possibly at the expense of video frame perceived quality.
And I belive you can get ffmpeg to make 2 passes.
Definitely. But It will give higher perceived quality for a relatively still person talking in front of a static background than it will for something with a lot of motion.
i have a feeling that when i'll return to that project i've made about it, seeing the code will just disgust me
anyone else has this feeling of returning to an old project
Isn't that always the case?
yea!
I'd like to think I'm a better engineer than I was a year ago.
thats a positive way to look at it i guess
i look at it like i was shit a year ago
(and every year it repeats itself xD... as you've said i guess)
I doubt that. But you have more experience now and you would do things differently.
.topic
Suggest more topics here!
dot topic
I learned about .topic π
a = "asdf"
b = "jkl;"
print (a and b)``` just realized u cant use and with print only commas
I learned things I hadn't known. I've gotten better at explaining things and gauging people's levels.
honestly bro, this sentence doesn't make sentence
You can use and, but it doesn't mean what you expected.
then what?
A comma works, if you want a space between the strings.
try a + b
ik that
print wirtes each of its arguments converted to a string with a space between each
ik that too
but and should print both
Why don't you?
nope
a + b withh write the strings with no space between
and doesn't mean that
No, and is a boolean operation. It operates on the truthiness of the operands.
oh
every string that is not empty is truthy
That's what I mean by "it doesn't mean what you expected"
try:
a = ""
b = "hello"
print(a and b)
afterwards try:
a = "a"
b = "hello"
print(a and b)
wont work
The phrasing implies that I don't... But I do but I'm trying to be humble about it.
Well, it does something. "won't work" only has meaning in terms of the outcome you wanted. Which you never actually specified.
I was just having language fun.
If it makes you feel better, I like to think you're better also.
Fair enough. I know not everyone is a native English speaker and there's nuance in the way that that can read and the intent behind it.
With some thanks to you.
i think that this feeling is between you and yourself mostly
it's crazy how no one found this obscure bug until now
but maybe only i'm feeling it i dont know
in thinking?
i'd like to think i'm not the only one
What obscure bug did you stumble upon?
That's just wishful thinking.
apparently error notifications have been broken since like feb
well if its a Boolean operator wont that mean both of them to be true as thats what and means and empty strings are false as far as ik
what are your thoughts about it then
How is that obscure???
there were no errors to notify apparently
Yes. Your initial example has two nonempty (truthy) strings. The result is the second string.
so no one reported it
you said this yourself^
That's a critical failure.
it is
well π€·ββοΈ
got it thanks
it just so happens that there were no errors
There are no thoughts, only Zuul.
// redux-state-sync relies on BroadcastChannel, which only supports
// objects that are clonable by `structuredClone`
if (typeof action === 'function') {
return false;
}
```ah yes, of course, if the object is not a function, it cannot contain a function
!e
for s1 in "", "abc":
for s2 in "", "def":
print(f'{s1=} {s2=} {s1 and s2=}')
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | s1='' s2='' s1 and s2=''
002 | s1='' s2='def' s1 and s2=''
003 | s1='abc' s2='' s1 and s2=''
004 | s1='abc' s2='def' s1 and s2='def'
truly a piece of code of all time
Why you bring cursed JS in here?
yea burn it
only righteous JS is accepted here.
if there was any
I'm just worried it will infect the bots and spread like wildfire.
Still working through some codewars?
(very cool btw)
I have become a huge fan of the {expr=} format syntax.
yea i can see that
You know you can do {expr = } and the spaces are preserved, right?
I use it a lot in exception messages too.
It rocks for logging.
TIL. Though I tend to like compactness.
like the spaces dont show up in the message you mean?
!e
print(f'{3=}:{3 = }:')
:white_check_mark: Your 3.14 eval job has completed with return code 0.
3=3:3 = 3:
oh, interesting
:3
yes
Probably solves the spaces-around-= styling wish.
ill go sleep
good night astral, i think i'll go as well, good night everybbody, thank you for the conversation
CSV module
argparse.
I saw a whole video about making code pythonic with an example that read and wrote csv files, and the mf didn't even mention the csv module
Hello guys
I've found myself using tempfile a bit recently
WTAF???
hello twin!
the video was amazing tho
Nice.
Hello how are you doing
pretty good hbu! watching the 4th season already?
What is the 4th season
Classroom of the elite
getopt
Omg I am also planing on watching that too I want to wait till the season finishes before I start watching it
hey is the runtime stack same as the call stack
Maybe? But it's usually worth the effort to use argparse if only for the --help option.
I have an atomic_filename(target_filename,....) context manager whose purpose is to podivde a NamedTemporaryFile to ... something , and to rename it to the target name if no exception occurs. It's great! The file's complete when it appears, and discarded cleanly if something goes wrong.
Nice. Care to share?
how does this call stack work. i see that there is activation records which are another stack.
Hello I am still new learning python so far I have learned list and variable and strings I am still learning and I hope to apply some of my knowledge in pharmacy
Oh that's smart! I should absolutely do that for what I just used a temp file for
That's very cool. Let us know if you need help with things.
Just grab it from my cs.fileutils package.
I might just implement my own to learn π
Ok bro ty
When I need help I will reach out
It's not cheating to look at others' implementations before doing your own.
You can pip install cs.fileutils
lib/python/cs/fileutils.py line 1597
def atomic_filename(```
I have a pyside GUI where you can drag a pixmap widget into an explorer window and it will create an image file, but it has to generate the image as a tempfile first in order to be able to relocate it when the drag finishes. This is a really nice way to clean up that file if the drag doesn't successfully complete
Also avoids the race if making the file takes time.
I'm pretty comfortable with path work so it shouldn't be too bad
I haven't run into that yet fortunately. All the file creation stuff happens before the drag officially get executed, but I guess it could still happen
what is a calling sequence
more context needed
usually it means some things which have to happen in a particular oder, or what have happened in some order
I've got a video conversion script which wraps the long-running ffmpeg call in this context manager.
also smart. I have an ffmpeg thing too but I just did the manual cleanup. A context wrapper sounds perfect
When designing calling sequences and the layout of activation record, the following
principles are helpful:
5. Value communicated between caller and callee generally placed at the caller
beginning of the calleeβs activation record, so they as close as possible to
the callerβs activation record.
6. Fixed length items generally placed in the middle. Such items typically
include the control link, the access link, and the machine status field.
7. Items whose size may not be known early enough placed at the end of the
activation record.
8. We must locate the top of the stack pointer judiciously. A common approach
is to have it point to the end of fixed length fields in the activation is to have
it point to fix the end of fixed length fields in the activation record. Fixed
length data can then be accessed by fixed offsets, known to the intermediate
code generator, relative to the top of the stack pointer.```
am pretty confused
. Value communicated between caller and callee generally placed at the caller
beginning of the calleeβs activation record, so they as close as possible to
the callerβs activation record.
I work through a wrapper which does this for me.
[~/hg/css(hg:default)]fleet2*> fstags help -l tag
Recursive help with the -r option.
Usage: fstags [common-options...] [-o ontology] [-P] subcommand [...]
Work with fstags.
Common options:
--dry-run Dry run, aka no action.
-e ssh-exe An ssh-like command to use for remote command execution.
The string is a shell-like command string parsable by shlex.split.
-n No action, aka dry run.
-O ontology-path Ontology path.
-P Physical. Resolve pathnames through symlinks.
-q Quiet.
-v Verbose.
Subcommand:
tag [common-options...] {-|path} {tag[=value]|-tag}...
Tag a path with multiple tags.
With the form "-tag", remove that tag from the direct tags.
A path named "-" indicates that paths should be read from the
standard input.
TBH, I usually use a package that wraps argparse for typing reasons.
Ah right.
we're doing mercurial?
This looks like the gnarly details of assembling a function call on the stack.
Wow... I didn't think
would last long enough for me to finish typing.
I do mercurial. I hate git.
!clban 1485549162614358116 scam thing
:incoming_envelope: :ok_hand: applied ban to @severe turtle permanently.
Ah, I was wondering.
the stack in which these activation record are palced one after anoter
is known as a call stack?
is that from where stacktrace in error comes
the specific way that one function passes control to another function
Yes. A call stack stitches calls together so that you can return to the previous frame and so on.
The precise details vary from language to language an the implementation. A lot of concepts translate.
||may I interest you in another vcs inspired in part by mercurial||
you may
ah ok so they are just saying the general steps for the calling sequence. or the way in which activation record for callee is placed
Are we talking jj?
1. The caller evaluates the actual parameters.
2. The caller stores a return address and the old value of top_sp into the calleeβs
activation record. The caller then increments the top_sp to the respective
positions.
3. The callee-saves the register values and other status information.
4. The callee initializes its local data and begins execution.```
maybe
This is quite specific. It's a low level specification of how some language is making stack frames for a function call. Phrases like "saves the register values" are a nod to saving the runtime state of the calling function so that the called function is free to do ... whatever. Then on return you restore the state and keep going.
okkπ
that's sort of generalities. The specifics are going to be in the platform's ABI
So the code implementing the call (i.e. the code in the caller) sets all this stuff up on the call stack and then hands control to the called function, which in turn gets things like parameters from what was just put on the call stack and does its thing.
The concept is the same but the implementation details can differ.
things like which registers get saved is specific to the ABI
I'm so tempted to make a git emacs joke
And not relevant for Python since the Python call stack is actually in the heap and other fun things like that.
On V7 UNIX on a PDP-11 the OS only ever worked in the primary register set. You could put messages in the secondary/alternate set and they'd survive for others to read.
git is a good versioned file system only lacking a good vcs
Who is this?
and on any platform there's some registers which the callee is allowed to trash and no one restores. It'd be wasteful to copy everything on every function call, so for the sake of performance there's some calling convention which specifies which things you can rely on remaining "unchanged" (or really, changed back) after a function call vs which things are gone forever
i dont understand how github decides what to display as a code snippet and what to leave as a link
In a diff? I thought it was mostly diff length.
I believe any URL for a range of lines with a branch/commit/tag gets turned into a code snippet unless it's too long
probably also some heuristics to detect binary files
I think she's talking about pasting the URL here.
not a diff, just a link to the code, like github.com/bla/bla/blob/master/actions.ts#L41-L44
(ah yes, not python, sorry)
I make those with the lenu attached to a line number. ISTR that you can shift-click a later like to get a range.
does it have to be the same repo?
no, definitely not
hmm
Still feel like I'm missing context.
i dont understand how github decides what to display as a code snippet and what to leave as a link
display where?
actually i shall move my non-python discussion to ot0
btw this stack is not related to the stack maintained by the cpu right?
i see that the storage organization and allocation is done by OS
static/heap/stack areas
this is the stack maintained by the CPU
the top_sp that you're reading about is the CPU's stack-pointer ("sp") register
the stack pointer to the (old) top of the stack
oh so the stack area in OS also has a stack which maps to this one maintained by the cpu? i mean when i execute my program it can't directly manage this CPU stack i thought
no, it can and does
the OS allocates some memory to use as the stack, and tells the CPU where the start of that stack is. The CPU's SP register points to the top of that stack. When a new function is called, the calling convention causes a new activation record (a new frame, we can say) to be pushed onto that stack, by writing into the memory that the stack pointer is pointing to, and then advancing the stack pointer to point to the (new) end of the stack
Don't you hate it when you coded stuff but yet you don't know what to do with them ...
dmenu and notify-send wrapper functions
Very nifty functions that idk what to do with that I made π
suppose i have a compiled program where i define and call a function that am executing it. the process will be given memory.the machine code of the executing program will be having instructions to push or pop from the CPU stack
the stack area is maintained by OS just to make sure that all processes can access that CPU stack. by saving the state?
"all processes" - now you're getting into a different concept, virtual memory versus physical memory
each running process will have its stack in a different place, and when the OS switches a thread from running one process to another it tells the CPU where the current process's stack is. That's part of what a context switch is
what's the difference and why do you prefer it?
you seem to think that there's some stack "in" the CPU. There's not. The CPU has a stack pointer register, which points to a stack in RAM
yes i think i misunderstood it, when i heard about stack based systems. its clear now there is only one SP managed by the cpu and each process can have stack in memory
and at any given time, there's no guarantee that a process's stack is in memory at all. It might be paged out (or part of it might be), and so stored on disk instead of in RAM. Then you're getting into "page tables", and need to know about the "TLB"
yeah got it, thanks
Bro did anyone ever make a game or something else
Plenty people have made games. Did you have a more specific question?
I want to learn coding but no one help me π
!learn
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!
What resources have you tried learning from so far?
π©
Resources? I don't even studied it
I just want to make a game

Everyone has to start somewhere. Have a look at the resources linked above. I really recommend cs50p

No matter what your goal is, everyone has to start from the basics
there are also some great pygame tutorials on youtube once you finish with the basics and cs50p π
Bro can u tell me how to learn it !! From yt or something tutorial
Cs50p?
I just did. Take a look at the links above
!learn
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!
these ones
Oh vid lectures
Oh thnx bro 
and I think a few people also did something else too
@swift sparrow
Yes?
Thnx
If you want to thank me, send me the first game you make π
Its like you want to make a rocket without studying physics first?
I never made a game
Most people haven't made a game before they make their first game
Ok I will
Just be aware that making games is much harder than playing games
LOL
Yeah but that's less funny
But where I will try to coding
Many of these questions will be answered when you start working through one of the resources
Believe it or not, it will teach you how to write and run your code
Ok
Ok thanks for the help
Love u bro
also - I'm not sure if this will make it more or less confusing for you, but it might be a useful way to think about things: from the point of view of the CPU, "processes" don't exist. The CPU starts off running the kernel, and then sometimes the kernel jumps into code that it has loaded from somewhere else, and then that code jumps back into the kernel (either due to a timer interrupt or due to a software interrupt like a syscall) at which point the kernel might jump to different code somewhere else instead. Processes are an abstraction that doesn't really exist to the CPU
processes are a social construct
or well, computational abstraction
yeah. The CPU more or less sees everything running on the computer as just one big continuous program that jumps around a lot, rather than as a bunch of separate processes
Is there a certain keyboard size I should opt for if I plan on doing a little bit of programming
Which ever size you are comfortable with already it the best one to use.
make sure you have Home, End and Insert
Okay thanks
probably a tenkeyless is good. Comfortable size for most people, and you still have all keys that might be needed (numpad only useful for data entry which you don't really do much in programming)
Can open source be a career ?
Thanks im building my first setup and forgot abt it

i have not used the number bar to type actual numbers in years
technically, yes, though it's not very likely in practicality
ok understood, i think i did study some of this, from what i understand is that OS kernel is loaded from the ROM chip. and the kernel begin executing.
the fork of new processes are interrupts which act like making a jump and returning?
find a keyboard that will motivate you to start typing
True
I recently changed my keyboard to a old one it feels new
the kernel will read a program into RAM and jump to it to start executing that program. That program will jump back to the kernel either when its time slice ends or when it makes a syscall.
the kernel will eventually jump back to that program to let it pick up where it left off, but in the meantime it might jump to some other program instead
right, so this may not be entirely correct (i'm honestly not sure, and hex values may be strong exceptions?). but the numpad is not "only useful for data entry"
it's mostly useful for games π
Ohh
Kernel level thread and user level thread
When I heard that you can actually control and create threads in to the Computer System through C I was blown away
Python lets you create threads too
π«¨
alright, the context switching behavior we see in cpus are due to the sys calls and interrupts and scheduling of processes by the kernel program
everything is made into its procedure and we jump and return
Can I create a plushy through these threads
I find the git command line infuriating.
just use jj
Depends on what you're envisioning
Hi all
hello
heyy
if i containerize my python application, how do i keep it safe?
is containerizing it by itself already being safer?
It's 1 AM here but sure good morning
Safe from vulnerabilities
things I import or do incorrectly in the code
its always morning somewhere!
lol
that has nothing to do with containers, you update your code if there are any vulnerabilities
you can have your code scanned for them
if i containerize my code, with a latest docker hardened base image, I can use a scanner?
containerizing your app only isolates it from the host system, it doesn't neutralize vulnerabilities in your app (or its dependencies) itself
right.. so containerization just makes it easy to run my code on different machines, it doesn't make anything safer
you have to disconnect the two things, you scan the code
yes, it makes running the code the same on both machines
I'm sure I can scan before and after. I just felt like a "container" makes things safe like an egg carton protects the eggs
an egg carton does not protect eggs when you drop a house on top of them, just makes it simpler to move them aroundd
jeez, I can't fathom dropping a house on eggs
ok moving them around and running the code from the containers is easier, "IT WORKS ON MY MACHINE" problem gets fixed
so you can use dependabot on github, or any of the similar services for scanning code
what on earth are you talking about?
dependabot getting infected would scare the tail right off of shen methinks
what?
please dont invent things
if you dont know something it is ok to say you dont know it
code dependency scanners are conceptually pretty different from, like, Windows antiviruses
can i post my error
yes you can
Traceback (most recent call last):
File "/mnt/c/Users/11/python/14.py", line 19, in <module>
class SystemMonitor:
File "/mnt/c/Users/11/python/14.py", line 22, in SystemMonitor
self.cpu = 0
^^^^
NameError: name 'self' is not defined
That's an easy one
you did not add self to your method as the first parameter
I am a beginner
share the code
No it's not a bad question just easy for people that know object oriented programming
iirc, dependabot and most other scanners require you to approve any changes they think up
Great question, self was definitely confusing the first time I used it, you need an instance
import psutil
import threading
import time
import os
from datetime import datetime
Terminal colors
class Color:
RESET = "\033[0m"
CYAN = "\033[96m"
GREEN = "\033[92m"
YELLOW = "\033[93m"
RED = "\033[91m"
def clear():
os.system("cls" if os.name == "nt" else "clear")
class SystemMonitor:
def init(self):
self.running = True
self.cpu = 0
self.ram = 0
self.disk = 0
self.net_sent = 0
self.net_recv = 0
Hey @undone grove!
```py
print('Hello, world!')
```
This will result in the following:
print('Hello, world!')```
yes eivl is right
that's all?
you have to add indentation so they line up with the __init__ method
okay you just fixed the whole thing for me thanks
yes, your using self but you dont have that code inside a method
-# another reason why python is a great language for beginners: enforces good formatting practices
you should use four spaces for every indent as well
but not so good for code sharing π
I don't even know how to change my tab setting (using notepad) so I always copy paste 4 spaces and use ctrl V
please dont use notepad for code
do you mean notepad or notepad++
use a code editor
π hard to understand the programs
i would be lying if i say they are intuitive for beginners
I have Vscode but I didn't figure out how to open all the menus
of course I will transition to that in the future
at least notepad is just a white background that I can understand
oh i see, you can ask us for help with that. vscode uses a command window like ctrl shift p
you should open a help thread if you are looking for help to guide you through the interface
you should try a beginner friendly editor instead
thonny is made for beginners
VS Code my beloved
try staring and simply clicking things for a few hours
i don't believe vscode ui won't be intuitive for a beginner, i think the menus scare people
does w11 notepad have syntax highlighting? i think it does?
i dont think so?
I'll try that if it's specially made for my case
it even has markdown live rendered! π
i know there's something they significantly improved
i switched out before i witnessed the glorius notepad updates 
to be honest you can ignore most things, you can just use editor, terminal, see file structure, thats about all you need at the start
shareholder sentiments?
that reminds me, i can recommend IDLE tho
it is excplicitly made for you, and you can look into other editors when you have learned python π
actual improvements
they made it so bad it pushes people to use real code editors
maybe i was thinking of tabbed window support? Β―_(γ)_/Β―
-# also dark mode
if i tell ai, make my code safer, is that trustworthy?
I DONT UNDERSTAND THE SECURITY
good question, the answer is supprising
the ai is based on a network call that tells everyone on the internet my source code
so then it shows everyone my vulnerabilities
i think you are missunderstanding something
what is your question and what is the problem you want to solve?
Buongiorno
Security through obscurity is not security at all.
secure code is secure even when you show it to literally anybody
how would you verify that it's actually safer ?
if you vibecode without understanding the code it is not "trustworthy", AI is trained on normal security models just like everything else but implimentation is your job
π
@young path i see you made new changes to the code , so error handling , thats awesome
any book recommendation for extremely hyper ultra super advanced python coders
are you super advanced?
I think of myself as, yea
take a test eivl
what makes someone super advanced?
because if recommend something for an intermediate devloper, that would not fit i think
super().__advanced__()
i dont have a test π
no but "fluent python" is good for dumb beginners intermediates imo
yes its very good, thats the one i had in mind
Fluent python is when you are on the brink of becoming intermediate
I have a question
idk if this is vague.
my question is how much similarity should be there between development and the production environment for application written in python ?
?
close to identical is nice
i downloaded the epub version of python by mark lutz.
qnd it has more than 3500 pages if one is seeing on mobile
surely you want to make your dev environment as close as possible
prod ain't gonna need stuff like linters and testers and such.
most everything else is proably the same
got it ππ» , i have os level abstraction. but the hardware level i dont have it.
what does that mean
hardware level abstraction? doesn't seem trivial, nor does it seem standard
i run things in docker to keeep things the same. and i have dev tools like formatters and linters that i dont have in prod. the rest is the same
what even is a hardware level abstraction when writing a python program ?
maybe using an emulator for some reason
idk micropython peeps probably have more knowledge of it
ngl i didnt understand a thing yall talked about
interacting with the kernel, leveraging artificial intelligence, manipulating own memory space, utilizing decentralized infrastructure
testing things out in containers (sometimes even VMs) for prod deployment is standard. testing things out by running a hardware emulator probably has very niche usecases, especially for python
i see...thats not the things i would put in advanced. but iim not a gatekeeper of words. you should really look into the book suggestion we talked about Fluent Python just make sure to get the second edition
i have things running on ec2 vs local. the storage allocated is very less on ec2, so when too much cache is collected over time its breaks. so having resource allocation ig is important too. well ofc cpu architerture doesn't matter. maybe in some cases ?
why did the LLM take so long to generate that sentence...?
yeah i understand this π
maybe chatgpt logged him out and he had to log back in but he forgot his password so he was resetting it
oh you are caching in storage?
i would think it's better to cache in a db, or some other caching service
browser related cache. running a web agent
I realized early on that standard polymorphism just encrypting the payload was a dead end against modern static analysis. So, I built the Metamorphic Core
you did say "the storage allocated is very little on ec2"
and logs are pain its on ec2 rn. need to move into db
huh
I used Pythonβs ast module to force the program to read and completely restructure its own abstract syntax tree in real-time
the overall /dev/root is 8 GB and thing get full pretty much when cache is not cleared.
yea, why is this related to your browser's cache?
It dynamically swaps for loops for while loops, renames variables algorithmically, and recompiles itself strictly in memory using compile() and exec()
you are aware that this is not a competition? using an ast is a fine hobby for intermediate users
hes trolling bro π
I program by flipping bits manually
insert the xkcd
ooh i see.... i thought it was him trying to prove advanced usage with toy examples
With tweezers
.xkcd 378
i program by forcing my computer to do things by emitting electromagnetic waves from my brain
bro has it memorized
-# nope i had to search it up
I engineered a program, its a self-evolving predator that rewrites its own AST logic and uses Reinforcement Learning to play EDR evasion like a game. By invoking raw syscalls through ctypes and pulling steganographic commands from the blockchain, it operates as a fragmented memory-only ghost that never touches the disk
slap AI on it and sell it to sam altman
Ai is not a real thing
please stop it
hi
sounds like AI "hacker" slop
Hello everyone
