Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.sys.mac.advocacy    |    Steve Jobs fetishistic worship forum    |    120,746 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 119,284 of 120,746    |
|    Marian to Chris    |
|    Re: Apple trolls like Alan Baker are so     |
|    18 Dec 25 10:47:08    |
   
   XPost: misc.phone.mobile.iphone   
   From: marianjones@helpfulpeople.com   
      
   Chris wrote:   
   > If you understood the code you'd know that the WPS DB returns the lat/lon   
   > as a 64bit integer and the python script converts into a float with a   
   > simple multiplication of 1e-8. Anything beyond the 8th dp is noise.   
   >   
   > So what you claim as being exactly what is in the Apple WPS db is factually   
   > incorrect. Yet again.   
      
      
   I agree with anyone who states a logically sensible viewpoint, no matter   
   who they are, & I disagree with those who don't, no matter who they are.   
      
   Here is some output from my bssid.bat script which I've provided to you.   
      
    BSSID: 6a:b2:03:2f:1b:60   
    Latitude: 32.45987701   
    Longitude: -93.81723022   
      
    BSSID: 6e:b2:03:2f:1b:60   
    Latitude: 32.459846490000004   
    Longitude: -93.81730651000001   
      
    BSSID: 84:eb:3e:f8:36:d3   
    Latitude: 32.45880508   
    Longitude: -93.81717681   
      
    BSSID: 84:eb:3e:fa:b2:63   
    Latitude: 32.4595375   
    Longitude: -93.81742858   
      
    BSSID: 84:eb:3f:08:e0:72   
    Latitude: 32.45973968   
    Longitude: -93.81745147000001   
      
    BSSID: 8c:76:3f:f8:5d:cd   
    Latitude: 32.45948791   
    Longitude: -93.81759643000001   
      
    BSSID: 8c:85:80:d1:be:37   
    Latitude: 32.45985031   
    Longitude: -93.81759643000001   
      
   Why do you think the decimal places are what they are, Chris?   
   Here is the code that reported that information. Run it yourself.   
      
    @echo off   
    :: This is C:\app\os\python\apple_bssid_locator\bssid.bat   
    :: v1p0 20251205   
    :: Logs up to 400 BSSID:GPS pairs from Apple's WPS public database   
    :: Loop until user types q   
    :: v1p1 20251214   
    :: Saves to time-date stampled results.txt log file   
    :: Listed in clusters ordered by when they were added to Apple's WPS db   
    :: v1p2 20251214   
    :: Adds: input cleanup, filename-safe BSSID, cleared LAT/LON   
    :: v1p2 20251215   
    :: Timestamp results.txt so it's not overwritten   
      
    : Log results   
    set LOGDIR=%~dp0log   
    if not exist "%LOGDIR%" mkdir "%LOGDIR%"   
      
    :: Create a unique session log (YYYYMMDD_HHMMSS)   
    for /f %%A in ('wmic os get localdatetime ^| find "."') do set dt0=%%A   
    set "session_ts=%dt0:~0,8%_%dt0:~8,6%"   
    set "session_log=%LOGDIR%\session_%session_ts%.log"   
      
    echo === New BSSID lookup session started at %date% %time% === >>   
   "%session_log%"   
      
    echo.   
    echo === Nearby Wi-Fi Networks ===   
    netsh wlan show networks mode=bssid   
    echo =============================   
      
    :loop   
    echo.   
    set /p BSSID=Enter the BSSID (or q to quit):   
      
    if /I "%BSSID%"=="q" goto end   
      
    :: --- Clean up input ---   
    set "BSSID=%BSSID:"=%"   
    set "BSSID=%BSSID: =%"   
      
    :: --- Make filename-safe version ---   
    set "safeBSSID=%BSSID::=-%"   
      
    :: --- Generate timestamp for THIS lookup ---   
    for /f %%A in ('wmic os get localdatetime ^| find "."') do set dt=%%A   
    set "ts=%dt:~0,8%_%dt:~8,6%"   
      
    :: --- Timestamped output file ---   
    set "outfile=%LOGDIR%\bssid_%safeBSSID%_%ts%.txt"   
      
    :: --- Clear previous coordinates ---   
    set LAT=   
    set LON=   
      
    echo === Lookup started at %date% %time% === > "%outfile%"   
    echo BSSID: %BSSID% >> "%outfile%"   
    echo. >> "%outfile%"   
      
    :: --- Run Python lookup ---   
    REM python.exe apple_bssid_locator.py %BSSID% >> "%outfile%"   
    python.exe apple_bssid_locator.py %BSSID% --all >> "%outfile%"   
      
    :: --- Display results ---   
    echo -----------------------------------------------   
    type "%outfile%"   
    echo -----------------------------------------------   
      
    :: --- Extract coordinates ---   
    for /f "tokens=2 delims=: " %%A in ('findstr /i "Latitude" "%outfile%"')   
   do set LAT=%%A   
    for /f "tokens=2 delims=: " %%B in ('findstr /i "Longitude" "%outfile%"')   
   do set LON=%%B   
      
    echo === Lookup finished at %date% %time% === >> "%outfile%"   
    echo. >> "%outfile%"   
      
    :: --- Append to session log ---   
    echo [%date% %time%] BSSID: %BSSID% >> "%session_log%"   
    echo Latitude: %LAT% >> "%session_log%"   
    echo Longitude: %LON% >> "%session_log%"   
    echo. >> "%session_log%"   
      
    :: --- Append to master log ---   
    echo [%date% %time%] BSSID: %BSSID% >> "%LOGDIR%\results.log"   
    echo Latitude: %LAT% >> "%LOGDIR%\results.log"   
    echo Longitude: %LON% >> "%LOGDIR%\results.log"   
    echo. >> "%LOGDIR%\results.log"   
      
    :: --- Open in Google Maps ---   
    if defined LAT if defined LON start msedge   
   "https://www.google.com/maps/search/?api=1&query=%LAT%,%LON%"   
      
    goto loop   
      
    :end   
    echo Exiting. Goodbye!   
      
    :: end of C:\app\os\python\apple_bssid_locator\bssid.bat   
   --   
   As you know, I always respond to people in the same manner as they to me.   
   Helping others & learning from them is what this Usenet ng is all about.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca