this post was submitted on 20 Aug 2023
647 points (97.4% liked)

Autism

6864 readers
11 users here now

A community for respectful discussion and memes related to autism acceptance. All neurotypes are welcome.

We have created our own instance! Visit Autism Place the following community for more info.

Community:

Values

  • Acceptance
  • Openness
  • Understanding
  • Equality
  • Reciprocity
  • Mutuality
  • Love

Rules

  1. No abusive, derogatory, or offensive post/comments e.g: racism, sexism, religious hatred, homophobia, gatekeeping, trolling.
  2. Posts must be related to autism, off-topic discussions happen in the matrix chat.
  3. Your posts must include a text body. It doesn't have to be long, it just needs to be descriptive.
  4. Do not request donations.
  5. Be respectful in discussions.
  6. Do not post misinformation.
  7. Mark NSFW content accordingly.
  8. Do not promote Autism Speaks.
  9. General Lemmy World rules.

Encouraged

  1. Open acceptance of all autism levels as a respectable neurotype.
  2. Funny memes.
  3. Respectful venting.
  4. Describe posts of pictures/memes using text in the body for our visually impaired users.
  5. Welcoming and accepting attitudes.
  6. Questions regarding autism.
  7. Questions on confusing situations.
  8. Seeking and sharing support.
  9. Engagement in our community's values.
  10. Expressing a difference of opinion without directly insulting another user.
  11. Please report questionable posts and let the mods deal with it. Chat Room
  • We have a chat room! Want to engage in dialogue? Come join us at the community's Matrix Chat.

.

Helpful Resources

founded 1 year ago
MODERATORS
 

Like, why wouldn't people be interested in knowing that the African slave trade of the colonial period actually started with Jewish kids, but they all died in the African climate of Sao Tome, so the Portuguese started buying slaves from the Congolese, which they captured from neighboring tribes, to work the fields??

you are viewing a single comment's thread
view the rest of the comments
[–] Sprucie@feddit.uk 13 points 1 year ago (1 children)

Please tell me more about tasker and the subnautica GPS!

[–] starman2112@sh.itjust.works 12 points 1 year ago* (last edited 1 year ago) (3 children)

I wrote about it on that other website a couple years ago, I'll link to archives of my posts there

Here's what I submitted to the Subnautica forum

Here's what I submitted to the Tasker forum

Tasker is an Android application that lets you automate many different things. One of its features is setting variables for use in your tasks–for example, I have a task sets the variable %Wallpaper to a random number between 1 and 152, and sets my phone wallpaper to DCIM/Backgrounds/%Wallpaper.png every time I turn on my screen, because I don't want to stay married to one specific wallpaper

You can also do math with variables, which allowed me to program the trilateration algorithm on this webpage into Tasker. All you need to input is your current depth, and your distance to each of three specific landmarks (oceanmarks?), and it'll do all the complicated squaring and adding and subtracting for you, and then give you a notification with your approximate coordinates–in testing, it's usually accurate to within about 10 meters, which is more than accurate enough for us to see whatever we're looking for.

I wish I could actually understand why the squaring and adding and subtracting gives you accurate coordinates, but you don't got to know what baking powder does to make good bread, you just gotta follow the recipe!

[–] qaz@lemmy.world 2 points 1 year ago (1 children)

Do you mean Pythagoras theorem?

[–] starman2112@sh.itjust.works 2 points 1 year ago

I know what the Pythagorean theorem is, I implemented it in the program to account for differences in depth because trilateration with three known points only works in 2 dimensions.

It's stuff like this

https://www.101computing.net/wp/wp-content/uploads/trilateration-formula-2.png

And this

https://www.101computing.net/wp/wp-content/uploads/trilateration-formula-3a.png

That I can't quite wrap my head around

[–] ArmoredThirteen@lemmy.ml 2 points 1 year ago

You've got me curious about this now too lol. I work with games and love this kind of thing. I'll know more once I'm not trying to do research on a phone, but the squaring part looks like just a distance formula (A^2 + B^2 = C^2). My very rough guess with the subtracting and adding is you're basically doing vector math but I'm unsure. I can respond or edit later as I find out more.

[–] joonazan@discuss.tchncs.de 1 points 1 year ago* (last edited 1 year ago)

It represents each circle as an equation that is only true when x and y are on the circle. By requiring that all three equations are true, you can find all points that are on all three circles.

You can either convince yourself that three circles can only intersect at one point or you can use the fact that two variables and three independent equations means that there are zero or one solutions that satisfy all equations.

You could actually even make a system that only needs two distances (and the depth)! Two circles can only intersect at two points, so you just need to figure out which one of the two you are. That can be done by looking at which of the landmarks is on the left when looking towards them.

Now the really difficult thing here is to figure out why this works even with inaccurate inputs, as the math presented on the site assumes that everything is perfectly accurate.

You can actually formulate different ways of computing the position that differ in how they react to measurement error. One way to investigate that is to take the derivative wrt. to one of the radii.

This resonated with me because I once did the same thing but in 3d and with magnetic field strength instead of distance. I never found a satisfying solution because magnetic fields are capsule-shaped rather that spherical. The shape is described by a 4th degree equation, so its exact solution is too large to be useful and the whole system of equations cannot be solved symbolically.

I hope that didn't get too intimidating.