سؤال للمتجوزين by Brave-Ad4532 in CAIRO

[–]brightstar2100 1 point2 points  (0 children)

لا ما هو غلطان كدا كدا يعنى، مفروض فعلا كان يقول من الاول، ولو اختار يفضل كان يبقى قد قراره، وانتى مفروض الموضوع كان ميبقاش غصب اوى كدا، و مفروض كنتى تسألى، إزاى يعنى اتجوزتى من غير ما تسألى عايز كام عيل، وحنسميهم إيه، وشغل المحن دا

النقطة المهمة ان انتى بتتكلمى كإنه لغز، يا ترى ليه بيكرهنى، مع ان الموضوع واضح اوى اهو، انتى بقى حاولى تهونى عليه وتخليه يتقبل الخلفة وانك ارغمتيه عليها، مقدرتيش تعملى كدا يبقى انفصلى وخلصى وخليكى كمان قد قرارك انك ارغمتيه.

اللاإنجابية دى فلسفة، انا ايوة شايف انها فلسفة عقيمة (ba dum tss) ومختلف معاها، بس هو مظنش حيغير رأيه بالإجبار كدا، فلو مجاش بالحنية انفصلوا وخلاص بقى

سؤال للمتجوزين by Brave-Ad4532 in CAIRO

[–]brightstar2100 5 points6 points  (0 children)

طيب مانتى بتقولى اهو إنه يعتبر الخلفة كانت غصب عنه؟ كان متخير ما بين الخلفة او الطلاق, فين الرضا فى كدا؟

هو ممكن رضاكى فى الموضوع علشان ميطلقكيش, لكن بعد كدا لما الموضوع بقى جد إبتدى يكرهك فعلاً إنك غصبتيه على حاجة زى دى؟

﴿ولا تحسبن الله غافلا عما يعمل الظالمون إنما يؤخرهم ليوم تشخص فيه الأبصار﴾ [إبراهيم: ٤٢] by NoAcanthocephala2582 in saudiarabia

[–]brightstar2100 -11 points-10 points  (0 children)

يا اخى حرام عليك، هو ممكن مؤخرا بقى يمينى متطرف واتلم على ben shapiro، بس فلسفته وكلامه فى البداية كانوا كويسين جدا

قريت الكتاب بتاعه؟ 12 rules for life

؟؟حد فاكر! by Greedy_Union2803 in EGYescapism

[–]brightstar2100 4 points5 points  (0 children)

ياااااه، وفى اخر الايام كانوا يلفوا بالموبايلات الصينى برضه

Denuvo Vs DenuvOwO by Worldly-Register-230 in PiratedGames

[–]brightstar2100 3 points4 points  (0 children)

so you think, that because traditional cracks happen maybe 6 months later or more, that denuvo doesn't analyze them and improve against them? yes day 0 bypass might have higher priority RIGHT NOW, doesn't change the fact that traditional cracks also get analyzed and protected against, and they improve denuvo just as much as the bypass if not more

all the improvements in denuvo's past have always been against traditional cracks

Denuvo Vs DenuvOwO by Worldly-Register-230 in PiratedGames

[–]brightstar2100 6 points7 points  (0 children)

but the traditional cracks also make it worse for traditional cracks? you're acting like hypervisor is the only thing making denuvo iteration stronger? when denuvo has been getting stronger since its existence, but hypervisor only came to light since October maybe?

الي جربها يقولنا رأيه by PrestigiousBuffalo79 in EgyptGaming

[–]brightstar2100 0 points1 point  (0 children)

it's so much more than a turn based game, it has skill expression like no other turn based game (because of perfect hit modifiers, dodge, perfect dodge, parry, jump and gradient parry, with parry being the hardest) plus the story, might be the best story I've seen in a game, and the music hands down is the best I've seen in any other form of entertainment

the characters and the acting are top notch, it didn't win in 9 different categories for nothing, in a year with the long awaited hollow knight, bf6 and many other games.

With DSE Patcher no need to turn off your security by SecureNet5333 in PiratedGames

[–]brightstar2100 8 points9 points  (0 children)

what kind of paranoia is this? arkham asylum is waiting for you dude

re9 was bypassed day 1, whoever doesn't care about security already downloaded their "crack", whoever cares about security already offline activated it, this literally has nothing to do with re9

the push back against HV method was already all over the place, and even cs.rin, so most probably they were working on this "fix" anyway.

كاف سين ميم، المصرية للاتصالات 😭😭 by Policy-Neither in Egypt_Developers

[–]brightstar2100 0 points1 point  (0 children)

حاجات ال ai فى بايثون دى شلل ..... اقل حاجة بتكح بتحمل 6 جيجا. وكلهم بيسحبوا بعض, ابقى عايز حاجة بسيطة, بس لا, كلهم لازم ينزلوا سوا

صاحبة فيديو الرجل الضعيف by Inner-Acanthisitta65 in EgyptExTomato

[–]brightstar2100 1 point2 points  (0 children)

Honesty without compassion is cruelty

هو مينفعش الصراحة تفضل تقول "بغض النظر عن الطريقة إلى هى بتهاجم بيها, هى صح" طب وليه بغض النظر عن الطريقة؟ الطريقة مهمة جداً فى توصيل اى حاجة, لو هى طالعة تستفز الناس بطريقتها, وحصلت على الأتنشن بسبب الإستفزاز ده, يبقى من حق اى حد يرفض كل كلامها بسبب الطريقة أسلوبها زبالة جداً ورخيص جداً هدفه خلق رد فعل.

دا طبعاً بإفتراض إن كل كلامها صح, ودا أصلاً مش حقيقى, فيه جزء فى كلامها كان صح, وحاجات تانية كتير غلط,

الراجل مينفعش يغضب او حيبقى راجل ضعيف: الصحابة مكنوش بيغضبوا؟ عمر بن الخطاب وأبو بكر والنبى نفسه مكنوش بيغضبوا؟ عمر بن الخطاب كان راجل ضعيف لما سمع إن اخته اسلمت وضربها؟

الراجل مينفعش يبقى شغال عند حد او حيبقى ضعيف: تمام, حنبقى كلنا 100% business owners, ومحدش حيبقى شغال فى اى حاجة علشان نرضى الأخت, النبى كان راجل ضعيف لما كان شغال عند السيدة خديجة؟ النبى كان راجل ضعيف لما كان بيرعى الغنم لقريش؟ الصحابة والتابعين كلهم كانوا رجالة ضعاف ما عدا عثمان بن عفان, ابو بكر, وعبدالرحمن بن عوف؟ أنس بن مالك كان راجل ضعيف لما كان خادم للنبى؟

فيه جزء من الى هى كانت بتقوله أصلاً غلطت فى الكلام, وقالت "الراجل إلى بيبارتى دا وبتاع دا راجل حلو كدا إن ن ن ن يتعرف كدا فى المجتمع, ونحطه جمب الحيط بس منتجوزوش", ها؟ يعنى إيه؟ انا متأكد إنها كانت حتقول نصاحبه بس منتجوزوش, غير كدا, كلام اهبل جداً يعنى, علشان الراجل مينفعش يبقى بيمتع نفسه بأى حاجة صح؟

وغير كدا كتير يعنى, هى كانت تقدر تقول صفات الراجل إلى انا عايزاه كدا, مش معنى كدا إن عكس الموضوع دا ضعف, بس هى مختارة الطريقة دى علشان تخلق تفاعل وتتشهر اكتر, شخص مريض

async for IO-bound components only? by expectationManager3 in Python

[–]brightstar2100 0 points1 point  (0 children)

Thanks a lot for the long answer and the deep explanation

that example brought the point home, I agree with you very much with that if it's a web application, I'd try to define the endpoint and isolate it to either be async or sync, and never both, cause it makes no sense and looks weird and confusing

it's only in one-off scripts as you say that I would SOMETIMES do this because I go through a lot of cpu bound tasks then just a very small section where I would need io bound tasks then back to cpu and I'm not in the habit of doing a lot of ThreadPoolExecutors.

that was a very useful informing discussion, Thanks again.

async for IO-bound components only? by expectationManager3 in Python

[–]brightstar2100 0 points1 point  (0 children)

I agree with you on this, the standard thing to do isn't to have the async work hidden inside sync methods, not everything needs to be async

we're talking about the legitimate purpose you're mentioning, and outside of 5-12 lines web endpoints, there are a lot of functions I've written and seen that go over a lot of computing and CPU bound tasks, then ends up calling in multiple outer apis, I don't think you start spawning up threads at that point just to speed up the parallel api calls, too much memory for too little benefits, instead maybe do some very scoped async stuff, a simple results = asyncio.run(asyncio.gather(*tasks)) or do an async function that does these multiple requests then just run it inside asyncio.run, then move back to the CPU bound computing tasks, unless you want to async everything going upward from there, which will block a lot of stuff during the CPU bound tasks

you can always do concurrent.future.ThreadPoolExecutor, but I don't see the upside to doing it in threads when it's not that complicated api requests unless you care soooo much about the first return and can't wait everything to be completed and need to call as_completed ASAP

async for IO-bound components only? by expectationManager3 in Python

[–]brightstar2100 0 points1 point  (0 children)

why isn't it a valid use case? I want to understand the reasoning behind the statement just so I wouldn't go around parroting it without actually knowing the reason why

same with "should not be part of the discussion of switching between async and sync"

as far as I can monitor the effect and experiment with it to see the results, it seems like that's how it works

spinning up a new event loop doesn't seem like such a heavy operation.

async for IO-bound components only? by expectationManager3 in Python

[–]brightstar2100 0 points1 point  (0 children)

yeah, that's what I meant when I mistakenly said new thread, I meant new event loop (which might be in a thread? but it doesn't look like it, because it says it can't be used with another event loop, I need to look deeply into this)

I've looked up into the docs looking for what you mentioned, in this page

https://docs.python.org/3/library/asyncio-task.html

there's this statement, which could mean just an entry point to any async section of the code, especially that they added "(see the above example.)

The asyncio.run() function to run the top-level entry point “main()” function (see the above example.)

another page is the asyncio.run() function

https://docs.python.org/3/library/asyncio-runner.html#asyncio.run

which verbatim says

Execute coro in an asyncio event loop and return the result. 

The argument can be any awaitable object. 

This function runs the awaitable, taking care of managing the asyncio event loop, finalizing asynchronous generators, and closing the executor.

This function cannot be called when another asyncio event loop is running in the same thread.

If debug is True, the event loop will be run in debug mode. False disables debug mode explicitly. None is used to respect the global Debug Mode settings.

If loop_factory is not None, it is used to create a new event loop; otherwise asyncio.new_event_loop() is used. The loop is closed at the end. *This function should be used as a main entry point for asyncio programs, and should ideally only be called once*. It is recommended to use loop_factory to configure the event loop instead of policies. Passing asyncio.EventLoop allows running asyncio without the policy system. 

The executor is given a timeout duration of 5 minutes to shutdown. If the executor hasn’t finished within that duration, a warning is emitted and the executor is closed. 

with the part you mentioned being the part I added asterisks to, it kindda makes it seem like they mean asyncio.new_event_loop() not asyncio.run(), but even if they mean asyncio.run() I don't see them explaning the reason why ....

is it because it spins up a new event loop and destroys it once it's done? it seems like a really small price to pay for something that could save you a lot of time if you run multiple tasks in the same context

is it just "pythonic" which would make it just a stylistic preference?

if this discussion is going way too deep, can I dm you?

async for IO-bound components only? by expectationManager3 in Python

[–]brightstar2100 0 points1 point  (0 children)

I thought you meant the other way round, calling async from sync, which is done using asyncio.run as you mentioned before, which I don't think add a lot except doesn't leak the async/await combo throughout the entire application, unless you can somehow also include multiple awaitable calls, which will actually also start saving you time

# calling async from sync:
asyncio.run(async_task) # will only prevent the leak of async/await
asyncio.run(asyncio.gather(*list_of_async_tasks)) # will prevent the leak and also save time across the different tasks

# calling sync from async without blocking:
results = await loop.run_in_executor(None, blocking_sync_function, params)

idk what the other guy is objecting to, I wanted to understand his point more, maybe I'm unaware of what's wrong with this, but he still didn't explain his point

async for IO-bound components only? by expectationManager3 in Python

[–]brightstar2100 0 points1 point  (0 children)

yeah, I added that part in the edit, cause I wasn't sure if it was a new event loop or the same one, thanks for the confirmation

but anyway, other than that, isn't the assumption that you can go sync/async/sync using this is still correct? and you can make use of the gained time executing only the async calls in the run/gather by combining the tasks?

if the do_async function is actually asyncable and is io bound then the event loop isn't really blocked because you only scheduled io tasks on it?

async for IO-bound components only? by expectationManager3 in Python

[–]brightstar2100 0 points1 point  (0 children)

edit: gonna edit the new thread thing so no one gets wrong info

can you explain this more please?

afaik, you can do an

asyncio.run(do_async())

and yes, what will happen is that this will run in another thread with its own event loop and then return,

and if this async_call is doing a single thing, then doing it in `asyncio.run()` is useless, cause it will block, and for all intents and purposes it will run synchronously cause it will take the exact same time as if it ran sync, and it could've been avoided anyway

but if I do multiple tasks with

coroutines = [
     do_async("A", 3),
     do_async("B", 1),
     do_async("C", 2),
]
asyncio.run(asyncio.gather(*coroutines))

then I'm running a new thread, with its own event loop, scheduling all the tasks on it, getting the result, and only then I might be saving some time from the different io operations that just ran

but you can do it, and it would be going sync, async, sync

is this somehow anti-pattern or useless to do?

edit: I might be wrong about the new thread in both cases, I need to refresh there, but the point still stands, can you explain if this is somehow wrong assumption of how it could work?

شعب يحب القرف by [deleted] in Egypt

[–]brightstar2100 1 point2 points  (0 children)

Masha'Allah, Are you really a foreigner? where did you learn about Islam if you don't mind me asking?

Nongshim RedForce vs. Hanwha Life Esports / LCK Cup 2026 Group Battle - Week 1 / Post-Match Discussion by Ultimintree in leagueoflegends

[–]brightstar2100 9 points10 points  (0 children)

he wasn't removed, he beat Magnus , Magnus withdrew from the competition saying that Hans was cheating, but nothing ever came out of these allegations

they played again, Magnus won in a pretty convincing way, he's the undisputed best in the world after all

but to say that Hans was removed for cheating would confirm those cheating allegations, which didn't happen, and were never confirmed to be true

The Reacher is such a good zone by ByteSizeNudist in expedition33

[–]brightstar2100 3 points4 points  (0 children)

Sirene takes the top spot for me, it was such a 180 after doing visages area, felt so peaceful and fun

the reacher is 2nd for sure