this post was submitted on 06 Apr 2024
209 points (97.3% liked)

Programmer Humor

32472 readers
874 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 23 comments
sorted by: hot top controversial new old
[–] jbloggs777@discuss.tchncs.de 16 points 7 months ago

If you want fast GPS coordinates, then you give more location hints. Local privacy regulations apply.

[–] owatnext@lemmy.world 15 points 7 months ago (2 children)

Your password is not 1234.

[–] InputZero@lemmy.ml 18 points 7 months ago

C'mon I'm smarter than that, my password isn't 1234. It's 1235, what do you think I am, an idiot?

[–] mypasswordis1234@lemmy.world 5 points 7 months ago (1 children)
[–] owatnext@lemmy.world 5 points 7 months ago* (last edited 7 months ago) (2 children)

I tried 1234 and onetwothreefour and then got gave up.

Edit: gave up

[–] ik5pvx@lemmy.world 5 points 7 months ago (1 children)
[–] Jean_le_Flambeur@discuss.tchncs.de 2 points 7 months ago (1 children)
[–] loudWaterEnjoyer@lemmy.dbzer0.com 2 points 7 months ago (1 children)

I brute forced the login, it's not a 4 digit number.

[–] Ironfacebuster@lemmy.world 1 points 7 months ago

It's a 5 digit number. That's an order of magnitude more secure than 1234!

[–] Bene7rddso@feddit.de 2 points 7 months ago

Did you check everything that needs a password?

[–] Zangoose@lemmy.one 8 points 7 months ago

For anyone else confused: in this case NLP stands for "Network location provider," not "natural language processing"

[–] xlash123@sh.itjust.works 7 points 7 months ago

I think NLPs have been less helpful for me. Like I'll go to work and it'll think I'm in another state (our internet uses the same IP as our headquarters, and the SSID is the same for all locations). Not sure why it can't reject the bad guess when it sees how off it is from my GPS coordinate.

[–] cristo@lemmy.world 2 points 7 months ago

This is almost how RAIM works in an airplane

[–] bartolomeo@suppo.fi 2 points 7 months ago (1 children)

Isn't this only Google Maps though?

[–] isolatedscotch@discuss.tchncs.de 21 points 7 months ago (1 children)

nope, it's actually used system wide for many things, mostly low power geolocation, apple has it's own NLP system, and there's actually a few privacy respecting ones which you can use if you have a rooted phone (Mozilla NLP/DejaVu NLP, with the latter being offline and relying on a database made by itself using the data from a time you had both GPS and wifi active)

[–] bartolomeo@suppo.fi 5 points 7 months ago (3 children)

Shiiiiiit. I've never heard of NLP. How can I check which one my phone uses?

Do you think this one is privacy respecting?

Local NLP Backend (Location provider for UnifiedNlp and microG using only local data.) https://f-droid.org/packages/helium314.localbackend/

[–] pcouy@lemmy.pierre-couy.fr 10 points 7 months ago

As usual, I subscribed for the giggles and I keep getting dragged into unsolicited rabbit holes of useful knowledge. Thanks for being an awesome community

[–] isolatedscotch@discuss.tchncs.de 3 points 7 months ago

looks like a good privacy respecting one, but remember that you need root/microg to use it, so you are kinda stuck if you're on stock android

[–] mypasswordis1234@lemmy.world 3 points 7 months ago (1 children)

UnifiedNlp has been abandoned. MicroG now has built-in MozillaNLP and DejaVuNLP.

[–] bartolomeo@suppo.fi 1 points 7 months ago (1 children)

Thanks. What is the built-in NLP for Lineage OS? Maybe I'm not using the right keywords but I couldn't find out via search.

[–] mypasswordis1234@lemmy.world 1 points 7 months ago (1 children)

By default, none. You can install Google services, then your phone will use their proprietary NLP system.

You can also install microG (an application that pretends to be a Google service and connects to it, but sending minimal data, respecting your privacy) and then you will use MozillaNLP and DejaVuNLP at the same time.

MozillaNLP: you send a list of WiFi networks around you to Mozilla over the Internet, you get location data

DejaVuNLP: a local database built on your phone. When a GPS location signal is available, DejaVu fetches the list of WiFi networks and adds this list of networks corresponding to the given GPS coordinates to its database for later use

[–] bartolomeo@suppo.fi 1 points 7 months ago
[–] Blass_Rose@pawb.social 1 points 7 months ago

So is this more or less accurate than location by cell tower? I used to use that as an option in Llama all the time. Didn't require a GPS ping, and once I had trained it sufficiently, it was fairly accurate with minimal background work. Heck, around my work I had problems where I walked around the outside of the building and it figured I wasn't at work anymore. I'd say that's pretty darn accurate. But I know that probably only works for really dense areas with tons of towers to handle tons of phones.

Just feels like it would be more accurate than trusting that SSIDs are completely unique when there's tons of instances where the same SSID is used in multiple locations...