12466
Offtopic group for casual talking about anything. @rules_for_python still apply (except for the ontopic rule)
see actually i used ai for those, also i used some ai agents to do some work for me for testing thigns, but i say ai he do and like this, and what i ask on a perspective he say me the way say is right and discuss on what i say to be truth, ai like can solve the problem what i ask, but i not going to know what in reality we shoudl to use.
Like async await, paralellalism, coroutine all i ask ai, ai say i say in this ffmpeg case should i use thread it say yes and just explain the code, but here like real developers who knows those help me like, no there is better way to handle this in reality, so i sometime try to ask here , not mind pls 😢
he likes to waste everyone's time with generic questions
Читать полностью…
Good question and we have no answer to that either. Nor to the more pressing question: What do we need to do to make them explain what they have tried before and, if the have not tried anything before, refrain from asking here until they did?
Читать полностью…
Well, Chatgpt/Claude can fairly answer these generic questions.
Читать полностью…
I am not giving you answers, figure it out.
You have all the docs in the world
No
As the name to_thread suggests, it will run your sync function on a diffrent thread.
It does not magicly turn it to non-blocking code, it runs it in a separate thread.
You managing FFmpeg which is CPU intensive task (not I/O waiting) should be run as a separate proccess, not a thread.
So use your brain 🤷♂
Or you want to rot it even more and not learn anything ever...
Be my guest, ruin your brain even more
😂😂😂
Yeah, right
Have you figured out how websockets work? No
Have you learned concurrency, parallel programming or async? - No
Have you learned anything??
No
So no, you are not ready for AI.
If you want to translate stuff, just give the link to online chatbot and let him do it for you.
But using AI to wrote code for you where you yourself do not know what you want or understand any of it - this is how you get hacked or worse...
To be effective with agents you need to actually know what you are building.
You need to set its contraints, explicitly tell him what you want and how to do it.
All in all - you need engineering skills to effectively use AI
Hi everyone, I’ve started learning about Cloudflare and it suggests that understanding it is essential to becoming a real developer.
When I first started web development, I realized I needed to learn databases, caching, and mail services separately. Now that I’m learning Cloudflare, I see that it offers these same features.
So, why did we need to learn those technologies individually in the beginning if Cloudflare can handle all of them? Is Cloudflare essentially just a free server for hosting and running our backend?
yep, that should be the general rule.
else, people expect free spoonfeding in the age of AI.
some questions really deserve our attention, but not all.
Anybody know where to host a 24*7 python program at free cost?
Читать полностью…
See i have a normal ffmpeg function which take a audio/video and then cut this, now i want to use htis in my python-telegram-bot, but the PTB works in async way, but in one of those function i call the cli_function() which is sync so my full tg bot will work as sync right?
async def download_command(update, context):
result = await asyncio.to_thread(
song_worker.merge_song,
audio_format="mp3",
)
await update.message.reply_text(
f"Done: {result['audio_path']}"
)
by doing what?
I've never seen you ever talking about finite state machine or the generators
its one of truth btw, but i will do something interesting btw
Читать полностью…
i am still reading and understanidng the async, concurrenty things till now i am still readig the docs daily from last some days and also you send once a past that also i am still reading those until i understnad i am still reading this really i will understnad those one day 💚
Читать полностью…
actually i found a repo in another non-english language mostly with python and js and so on, so i want here a ai agent to know convert those to englssiah and check the thigns by it as manully copy all the file to browser and ask to do lanagea changes looks sorrowful here, so i thnk to do like using agent first and then use this agent to change code which do work as i want 😅
so i am learning how to use ai agents i think now i can handle the ai contrains and so on
as i listen some coding agent not shows the ouptut but run some milicious code and inject some .sh script shiwh do control my lapotop os in backgournd even i notice those , even those will not shows as runnig or at startup they will use my lapotp to some of their illegal activity and use something worng, so till now i dong use ai agent fully in this current os till now, i only use browser go copy ask paste liek this, not use full coding agent, but now i think if i will not know how to use coding agent i will be backdated fully 😢
Читать полностью…