Log in
Register
Home
Forums
New posts
Search forums
What's new
Featured content
New posts
New profile posts
Latest activity
News
Members
Current visitors
New profile posts
Search profile posts
Features
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Home
Forums
Off Topic
The Basement
Apple Loses My Respect
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Ryan Lantzy" data-source="post: 26710" data-attributes="member: 7"><p>Re: Contemporary Culture Loses My Respect</p><p></p><p>Personally, I think their original storage scheme and fix sucks. Here's why: they store everything with a time stamp. For anonimity and anti-tracking purposes, this is awful, as any location data (no matter how small) can be replayed in time.</p><p> </p><p>One of the reasons they probably stored the date is that they had planned to flush records out of a certain age... but that is siliness too. This also causes the same location-to-access_point record to be stored multiple times, just with a different date.</p><p> </p><p>Date-time stamps should be left out of it. What they should do is decide what the max size they want is for the cached location database. Then, every time the phone sees a new location-to-access_point association, it stores that (sans date-time). If the association already exists, it would increment a counter for that association (i.e. I've seen this MAC address for this router and I've had this normalized Geolocation 20 times). Then, as the database reaches capacity, it starts to purge the records that have the fewest hits (i.e. where I go the least). The location records would look like this:</p><p> </p><p>Location - Access Point Identifiter - Count (maybe some other data would be needed like the type of Access Point, WiFi, Cell tower, etc).</p><p> </p><p>The other thing they would do (if they are smart) is to use a grid coordinate location scheme and a look up table to convert to rough Lat/Lon. Storing records with specific Lat/Lon may actually produce way too many records given the "exactness" of it. Grid coordinates could map rougly to half kilometer by half kilometer squares or something, because remember the purpose is to just speed up location identification until the network and/or GPS can get an exact fix and most people are just using this to get a list of nearby restaurants anyway.</p></blockquote><p></p>
[QUOTE="Ryan Lantzy, post: 26710, member: 7"] Re: Contemporary Culture Loses My Respect Personally, I think their original storage scheme and fix sucks. Here's why: they store everything with a time stamp. For anonimity and anti-tracking purposes, this is awful, as any location data (no matter how small) can be replayed in time. One of the reasons they probably stored the date is that they had planned to flush records out of a certain age... but that is siliness too. This also causes the same location-to-access_point record to be stored multiple times, just with a different date. Date-time stamps should be left out of it. What they should do is decide what the max size they want is for the cached location database. Then, every time the phone sees a new location-to-access_point association, it stores that (sans date-time). If the association already exists, it would increment a counter for that association (i.e. I've seen this MAC address for this router and I've had this normalized Geolocation 20 times). Then, as the database reaches capacity, it starts to purge the records that have the fewest hits (i.e. where I go the least). The location records would look like this: Location - Access Point Identifiter - Count (maybe some other data would be needed like the type of Access Point, WiFi, Cell tower, etc). The other thing they would do (if they are smart) is to use a grid coordinate location scheme and a look up table to convert to rough Lat/Lon. Storing records with specific Lat/Lon may actually produce way too many records given the "exactness" of it. Grid coordinates could map rougly to half kilometer by half kilometer squares or something, because remember the purpose is to just speed up location identification until the network and/or GPS can get an exact fix and most people are just using this to get a list of nearby restaurants anyway. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
Off Topic
The Basement
Apple Loses My Respect
Top
Bottom
Sign-up
or
log in
to join the discussion today!