pythonofftopic | Unsorted

Telegram-канал pythonofftopic - Offtopic

12466

Offtopic group for casual talking about anything. @rules_for_python still apply (except for the ontopic rule)

Subscribe to a channel

Offtopic

I am not giving you answers, figure it out.
You have all the docs in the world

Читать полностью…

Offtopic

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.

Читать полностью…

Offtopic

why this i will takl and what actually?

Читать полностью…

Offtopic

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

Читать полностью…

Offtopic

Untill you do
Stay away from AI

Читать полностью…

Offtopic

😂😂😂

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...

Читать полностью…

Offtopic

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

Читать полностью…

Offtopic

what do you mean by "safe"?

Читать полностью…

Offtopic

let it check, any article of this. how safe this is

Читать полностью…

Offtopic

Hello all,
Which AI agent do you suggest best and mostly free for best in VS code, i want to convert a different language repo to local english language to understand mostly i will want the docstring, comment will be in English so i wish i will have a ai agent which will do the work here.
Best most free ???
any suggestions

Читать полностью…

Offtopic

My roomate alarm is ringing,he isn't waking up but my Sleep got broken because of it....

Читать полностью…

Offtopic

https://m.youtube.com/watch?v=-Vgt5PM_eto

Ring around the roses,
Pocket full of posies,
Ashes, ashes,
we all fall down.

Читать полностью…

Offtopic

https://blog.apify.com/unlocking-the-potential-of-brave-and-playwright-for-browser-automation/

Читать полностью…

Offtopic

See when we use Playwright it opens the Chrome at Background, so any way we can open Brave browser on this for ad block like things automatically automation?

or is this illegal fully to open any other website link with playwright???

Читать полностью…

Offtopic

or any open weight models from Chinese labs , just curious what're the popular models in Russia

Читать полностью…

Offtopic

which part setup i need here in this case?

Читать полностью…

Offtopic

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']}"
)

so if the song_worker.merge_song function is a sync funciton, but if i will use this fun with to_thread then this will become non-blocking and others' user song merge will working side by side, is this right idea of me about asyncroniously work multiple thigns same time?
am i right now?

Читать полностью…

Offtopic

by doing what?
I've never seen you ever talking about finite state machine or the generators

Читать полностью…

Offtopic

its one of truth btw, but i will do something interesting btw

Читать полностью…

Offtopic

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 💚

Читать полностью…

Offtopic

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

Читать полностью…

Offtopic

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 😢

Читать полностью…

Offtopic

plus there is freebuff, it's another free coding agent but not for vscode. you can download it for desktop or use it's cli

Читать полностью…

Offtopic

kilo code is the one I'm currently using it has free models

Читать полностью…

Offtopic

Did someone later help you or still need help

Читать полностью…

Offtopic

ah shit, here we go again.

Читать полностью…

Offtopic

https://www.nbcnews.com/world/europe/russia-plague-suspected-lab-worker-dies-200-medical-observation-rcna601559

Читать полностью…

Offtopic

In selenium, you can use any browser using their drivers, check if brave had any driver for that and if there is any config in playwright to choose a custom driver for browser...

Читать полностью…

Offtopic

Alisa, DeepSeek, Claude, ChatGPT

Читать полностью…

Offtopic

do you guys have access to frontier AI models there!

Читать полностью…
Subscribe to a channel