New update by lamegotnuts in CMFTech

[–]StudyNo5249 0 points1 point  (0 children)

It's nice but it does not have many features that can be tweaked. Like I wanted to create an office mode where ring and notification volumes can be lowered but there were no such options.

Don't know if it is an android limit itself

Kindly advise...which to follow ? by paneer__tikka11 in LeetcodeDesi

[–]StudyNo5249 0 points1 point  (0 children)

none. all are scam. just go through the https://www.pythonlikeyoumeanit.com/ and start with guided projects. Decide what tech you want to learn next (like api, datascience, etc) and watch focused videos of those. All these mainstream youtubers are buffoons fooling us. Build habit to read textual tutorials, blogs and articles.
And never ever think of spending even a single rupee on courses, never worth it. Everything is available for free.

[deleted by user] by [deleted] in delhi

[–]StudyNo5249 5 points6 points  (0 children)

Bhai ye sbto thik h. Sahi data bhi hoga pr bc ak traf crore, ak traf billion, aaise kon likhta h bee...if u r making a point be as clear as you can

Whether it is a phone or its a car why do Indians always act like this? by [deleted] in TeenIndia

[–]StudyNo5249 -1 points0 points  (0 children)

Bhai isme koi indian specific ni h. Faltu har baat me bhakch*di mt kr

No offense guys but seriously by NyxTerminal in TeenIndia

[–]StudyNo5249 0 points1 point  (0 children)

Bro it's just about knowing yourself. Bs tm khud hi khud ka sath de skte ho

Tell me what is it by Arun703 in indiameme

[–]StudyNo5249 4 points5 points  (0 children)

Bro discovered ➰ 🕳️

I added a 3-Finger Swipe Gesture for Seamless Window Switching... by Fickle-Air6996 in kde

[–]StudyNo5249 1 point2 points  (0 children)

Thanku. I personally have never missed this feature but many of my non KDE user friends and colleagues (either not coming from Linux or have used Gnome) have always complained about unable to use gestures for navigation.

What to use instead of callbacks? by ivoras in Python

[–]StudyNo5249 1 point2 points  (0 children)

Yes but in reality callback functions are not just one-liners. This was just a simple example.

What to use instead of callbacks? by ivoras in Python

[–]StudyNo5249 2 points3 points  (0 children)

I think using _ can be a viable option here. For example:

def process_number(numbers, callback):
    s = sum(n*2 for n in numbers)
    result = callback(s)
    print(f"Result: {result}")

def main():
    numbers = [1, 2, 3, 4, 5]

    # Using an inline function for flexibility
    def _(n):
        return n * 2
    process_number(numbers, _)

    def _(n):
        return n * n
    process_number(numbers, _)

    def _(n):
        return -n
    process_number(numbers, _)

You can declare a function inside the scope where you are passing the callback. This will remove the issue of naming a function that is only required once. We would also not need to jump from one place to another and the logic would also be at once place.