Google is starting to roll out Theft Detection Lock, Offline Device Lock, and Remote Lock to Android users in the US /u/MishaalRahman Android

Google is starting to roll out Theft Detection Lock, Offline Device Lock, and Remote Lock to Android users in the US /u/MishaalRahman Android

Edit: These three features actually appear to be rolling out globally, judging by all the replies I’ve received!

I just checked my Xiaomi 14T Pro and noticed that I have Theft Detection Lock and Offline Device Lock but not Remote Lock. Some Pixel users in the US tell me they have Remote Lock but not the other two.

Theft Detection Lock uses a ML model to detect when someone snatches your phone from your hand and tries to run away with it on foot, by bike, or by car. If detected, your phone will automatically lock, blocking unwanted access to your apps and data.

Offline Device Lock automatically locks your screen if a thief tries to keep your phone disconnected from the Internet for an extended period of time.

Remote Lock lets you remotely lock your phone using just your phone number in case you can’t sign into Find My Device using your Google account password.

All three features entered beta in August, starting in Brazil. Google told me the final versions of these features would more widely roll out this year, and it seems the features have begun expanding.

LMK which (if any) of these 3 new features you have!

submitted by /u/MishaalRahman
[link] [comments]

​r/Android Edit: These three features actually appear to be rolling out globally, judging by all the replies I’ve received! I just checked my Xiaomi 14T Pro and noticed that I have Theft Detection Lock and Offline Device Lock but not Remote Lock. Some Pixel users in the US tell me they have Remote Lock but not the other two. Theft Detection Lock uses a ML model to detect when someone snatches your phone from your hand and tries to run away with it on foot, by bike, or by car. If detected, your phone will automatically lock, blocking unwanted access to your apps and data. Offline Device Lock automatically locks your screen if a thief tries to keep your phone disconnected from the Internet for an extended period of time. Remote Lock lets you remotely lock your phone using just your phone number in case you can’t sign into Find My Device using your Google account password. All three features entered beta in August, starting in Brazil. Google told me the final versions of these features would more widely roll out this year, and it seems the features have begun expanding. LMK which (if any) of these 3 new features you have! submitted by /u/MishaalRahman [link] [comments] 

Edit: These three features actually appear to be rolling out globally, judging by all the replies I’ve received!

I just checked my Xiaomi 14T Pro and noticed that I have Theft Detection Lock and Offline Device Lock but not Remote Lock. Some Pixel users in the US tell me they have Remote Lock but not the other two.

Theft Detection Lock uses a ML model to detect when someone snatches your phone from your hand and tries to run away with it on foot, by bike, or by car. If detected, your phone will automatically lock, blocking unwanted access to your apps and data.

Offline Device Lock automatically locks your screen if a thief tries to keep your phone disconnected from the Internet for an extended period of time.

Remote Lock lets you remotely lock your phone using just your phone number in case you can’t sign into Find My Device using your Google account password.

All three features entered beta in August, starting in Brazil. Google told me the final versions of these features would more widely roll out this year, and it seems the features have begun expanding.

LMK which (if any) of these 3 new features you have!

submitted by /u/MishaalRahman
[link] [comments]  Edit: These three features actually appear to be rolling out globally, judging by all the replies I’ve received! I just checked my Xiaomi 14T Pro and noticed that I have Theft Detection Lock and Offline Device Lock but not Remote Lock. Some Pixel users in the US tell me they have Remote Lock but not the other two. Theft Detection Lock uses a ML model to detect when someone snatches your phone from your hand and tries to run away with it on foot, by bike, or by car. If detected, your phone will automatically lock, blocking unwanted access to your apps and data. Offline Device Lock automatically locks your screen if a thief tries to keep your phone disconnected from the Internet for an extended period of time. Remote Lock lets you remotely lock your phone using just your phone number in case you can’t sign into Find My Device using your Google account password. All three features entered beta in August, starting in Brazil. Google told me the final versions of these features would more widely roll out this year, and it seems the features have begun expanding. LMK which (if any) of these 3 new features you have! submitted by /u/MishaalRahman [link] [comments]

Read more

How does “Import *” work exactly? Why does Vscode sometimes complains and sometimes not. /u/wnluk Python Education

How does “Import *” work exactly? Why does Vscode sometimes complains and sometimes not. /u/wnluk Python Education

I’m relatively new to python. I mean, I used it sometimes over the years whenever I needed anything small, but I never bothered to really learn it, never taken it seriously.
Now I wanted to learn networking, it sounds interesting, so I wanted to learn scapy.
I figured I’ll ask ChatGPT for a jumping-off point, and then I go from there. So I import:
from scapy.all import ICMP,IP,sr1
But then I think I can instead just write:
from scapy.all import *
And Vscode starts complaining.
What’s curious, it complains about ICMP() and IP(), but not sr1().
I get something like “IP is not defined”
What is happening? Shouldn’t “import *” import everything?
GPT tells me that “import *” is against the best practice, and I get that, but just because I shouldn’t doesn’t mean I’m not allowed to. Does it?

submitted by /u/wnluk
[link] [comments]

​r/learnpython I’m relatively new to python. I mean, I used it sometimes over the years whenever I needed anything small, but I never bothered to really learn it, never taken it seriously. Now I wanted to learn networking, it sounds interesting, so I wanted to learn scapy. I figured I’ll ask ChatGPT for a jumping-off point, and then I go from there. So I import: from scapy.all import ICMP,IP,sr1 But then I think I can instead just write: from scapy.all import * And Vscode starts complaining. What’s curious, it complains about ICMP() and IP(), but not sr1(). I get something like “IP is not defined” What is happening? Shouldn’t “import *” import everything? GPT tells me that “import *” is against the best practice, and I get that, but just because I shouldn’t doesn’t mean I’m not allowed to. Does it? submitted by /u/wnluk [link] [comments] 

I’m relatively new to python. I mean, I used it sometimes over the years whenever I needed anything small, but I never bothered to really learn it, never taken it seriously.
Now I wanted to learn networking, it sounds interesting, so I wanted to learn scapy.
I figured I’ll ask ChatGPT for a jumping-off point, and then I go from there. So I import:
from scapy.all import ICMP,IP,sr1
But then I think I can instead just write:
from scapy.all import *
And Vscode starts complaining.
What’s curious, it complains about ICMP() and IP(), but not sr1().
I get something like “IP is not defined”
What is happening? Shouldn’t “import *” import everything?
GPT tells me that “import *” is against the best practice, and I get that, but just because I shouldn’t doesn’t mean I’m not allowed to. Does it?

submitted by /u/wnluk
[link] [comments]  I’m relatively new to python. I mean, I used it sometimes over the years whenever I needed anything small, but I never bothered to really learn it, never taken it seriously. Now I wanted to learn networking, it sounds interesting, so I wanted to learn scapy. I figured I’ll ask ChatGPT for a jumping-off point, and then I go from there. So I import: from scapy.all import ICMP,IP,sr1 But then I think I can instead just write: from scapy.all import * And Vscode starts complaining. What’s curious, it complains about ICMP() and IP(), but not sr1(). I get something like “IP is not defined” What is happening? Shouldn’t “import *” import everything? GPT tells me that “import *” is against the best practice, and I get that, but just because I shouldn’t doesn’t mean I’m not allowed to. Does it? submitted by /u/wnluk [link] [comments]

Read more
Artem Russakovskii on X: “SwiftKey is working on dictation mode, replacing the legacy IME voice-to-text” /u/MishaalRahman Android

Artem Russakovskii on X: “SwiftKey is working on dictation mode, replacing the legacy IME voice-to-text” /u/MishaalRahman Android

Artem Russakovskii on X: “SwiftKey is working on dictation mode, replacing the legacy IME voice-to-text” /u/MishaalRahman Android submitted by /u/MishaalRahman
[link] [comments]

​r/Android submitted by /u/MishaalRahman [link] [comments]  submitted by /u/MishaalRahman
[link] [comments]   submitted by /u/MishaalRahman [link] [comments]

Read more

Did anyone else’s mind get blown learning about nesting loops? /u/PathRealistic6940 Python Education

Did anyone else’s mind get blown learning about nesting loops? /u/PathRealistic6940 Python Education

Edit: It is actually recursion, not nesting loops. Got the label wrong.

So was going through some challenges and got into backtracking. Long story short, I learned about nesting for loops, but not visually. Like this instead.

def find_zero_sum_subset(arr): arr_sub = [] def backtrack(start, current_subset): if sum(current_subset) == 0 and len(current_subset) > 0: arr_sub.append(current_subset) for i in range(start,len(arr)): backtrack(i+1, current_subset + [arr[i]]) return arr_sub return backtrack(0,[])

That’s nuts. It starts a loop in the middle of a loop, in the middle of a loop, n times. Now that i look back on it, it makes sense. Took me a while to wrap my head around this

submitted by /u/PathRealistic6940
[link] [comments]

​r/learnpython Edit: It is actually recursion, not nesting loops. Got the label wrong. So was going through some challenges and got into backtracking. Long story short, I learned about nesting for loops, but not visually. Like this instead. def find_zero_sum_subset(arr): arr_sub = [] def backtrack(start, current_subset): if sum(current_subset) == 0 and len(current_subset) > 0: arr_sub.append(current_subset) for i in range(start,len(arr)): backtrack(i+1, current_subset + [arr[i]]) return arr_sub return backtrack(0,[]) That’s nuts. It starts a loop in the middle of a loop, in the middle of a loop, n times. Now that i look back on it, it makes sense. Took me a while to wrap my head around this submitted by /u/PathRealistic6940 [link] [comments] 

Edit: It is actually recursion, not nesting loops. Got the label wrong.

So was going through some challenges and got into backtracking. Long story short, I learned about nesting for loops, but not visually. Like this instead.

def find_zero_sum_subset(arr): arr_sub = [] def backtrack(start, current_subset): if sum(current_subset) == 0 and len(current_subset) > 0: arr_sub.append(current_subset) for i in range(start,len(arr)): backtrack(i+1, current_subset + [arr[i]]) return arr_sub return backtrack(0,[])

That’s nuts. It starts a loop in the middle of a loop, in the middle of a loop, n times. Now that i look back on it, it makes sense. Took me a while to wrap my head around this

submitted by /u/PathRealistic6940
[link] [comments]  Edit: It is actually recursion, not nesting loops. Got the label wrong. So was going through some challenges and got into backtracking. Long story short, I learned about nesting for loops, but not visually. Like this instead. def find_zero_sum_subset(arr): arr_sub = [] def backtrack(start, current_subset): if sum(current_subset) == 0 and len(current_subset) > 0: arr_sub.append(current_subset) for i in range(start,len(arr)): backtrack(i+1, current_subset + [arr[i]]) return arr_sub return backtrack(0,[]) That’s nuts. It starts a loop in the middle of a loop, in the middle of a loop, n times. Now that i look back on it, it makes sense. Took me a while to wrap my head around this submitted by /u/PathRealistic6940 [link] [comments]

Read more

Ask Anything Monday – Weekly Thread /u/AutoModerator Python Education

Ask Anything Monday – Weekly Thread /u/AutoModerator Python Education

Welcome to another /r/learnPython weekly “Ask Anything* Monday” thread

Here you can ask all the questions that you wanted to ask but didn’t feel like making a new thread.

* It’s primarily intended for simple questions but as long as it’s about python it’s allowed.

If you have any suggestions or questions about this thread use the message the moderators button in the sidebar.

Rules:

Don’t downvote stuff – instead explain what’s wrong with the comment, if it’s against the rules “report” it and it will be dealt with. Don’t post stuff that doesn’t have absolutely anything to do with python. Don’t make fun of someone for not knowing something, insult anyone etc – this will result in an immediate ban.

That’s it.

submitted by /u/AutoModerator
[link] [comments]

​r/learnpython Welcome to another /r/learnPython weekly “Ask Anything* Monday” thread Here you can ask all the questions that you wanted to ask but didn’t feel like making a new thread. * It’s primarily intended for simple questions but as long as it’s about python it’s allowed. If you have any suggestions or questions about this thread use the message the moderators button in the sidebar. Rules: Don’t downvote stuff – instead explain what’s wrong with the comment, if it’s against the rules “report” it and it will be dealt with. Don’t post stuff that doesn’t have absolutely anything to do with python. Don’t make fun of someone for not knowing something, insult anyone etc – this will result in an immediate ban. That’s it. submitted by /u/AutoModerator [link] [comments] 

Welcome to another /r/learnPython weekly “Ask Anything* Monday” thread

Here you can ask all the questions that you wanted to ask but didn’t feel like making a new thread.

* It’s primarily intended for simple questions but as long as it’s about python it’s allowed.

If you have any suggestions or questions about this thread use the message the moderators button in the sidebar.

Rules:

Don’t downvote stuff – instead explain what’s wrong with the comment, if it’s against the rules “report” it and it will be dealt with. Don’t post stuff that doesn’t have absolutely anything to do with python. Don’t make fun of someone for not knowing something, insult anyone etc – this will result in an immediate ban.

That’s it.

submitted by /u/AutoModerator
[link] [comments]  Welcome to another /r/learnPython weekly “Ask Anything* Monday” thread Here you can ask all the questions that you wanted to ask but didn’t feel like making a new thread. * It’s primarily intended for simple questions but as long as it’s about python it’s allowed. If you have any suggestions or questions about this thread use the message the moderators button in the sidebar. Rules: Don’t downvote stuff – instead explain what’s wrong with the comment, if it’s against the rules “report” it and it will be dealt with. Don’t post stuff that doesn’t have absolutely anything to do with python. Don’t make fun of someone for not knowing something, insult anyone etc – this will result in an immediate ban. That’s it. submitted by /u/AutoModerator [link] [comments]

Read more