-
chibill
The new-ish spam filter is causing problems like flagging posts with code in it as spam if over some length. Also if you happen to be creating a topic and it thinks its spam a topic will still be created even when the creation window is still open. The topics created can't be visited and trying to do so results in a "405 Gateway Time Out."
-
chibill
So last year I wrote my own APRS tracker using Pythonista.
APRS stands for Automatic Packet Reporting System
Using a python library for it and pythonistas access to location and the internet I was able to write my own software to report into the system using my Call Sign and display my location of aprs.fi
The following is my code which I never really tided up at all.
https://gist.github.com/wgaylord/3b149fc3cfe723ec971184e73b957272 // On a gist because posting it in the post flagged it as spam. And apparently the spam filter totally screws up the forum abit.
-
chibill
Why does Apple make it so hard to do the simplest of things. (Like on Windows and Android they have API’s for this.)
Like how is know what WIFI is around you going to hurt them or the End user.
-
chibill
That’s annoying... (Why do people not say the full truth in SO answers like seriously)
-
chibill
Hm... strangely that only shows the wifi I am connected to. The snippet (from SO) is supposedly supposed to show all networks.
-
chibill
So I am trying to convert the following to python (can’t code block it on mobile...)
@import SystemConfiguration.CaptiveNetwork; /** Returns first non-empty SSID network info dictionary. * @see CNCopyCurrentNetworkInfo */ - (NSDictionary *)fetchSSIDInfo { NSArray *interfaceNames = CFBridgingRelease(CNCopySupportedInterfaces()); NSLog(@"%s: Supported interfaces: %@", __func__, interfaceNames); NSDictionary *SSIDInfo; for (NSString *interfaceName in interfaceNames) { SSIDInfo = CFBridgingRelease( CNCopyCurrentNetworkInfo((__bridge CFStringRef)interfaceName)); NSLog(@"%s: %@ => %@", __func__, interfaceName, SSIDInfo); BOOL isNotEmpty = (SSIDInfo.count > 0); if (isNotEmpty) { break; } } return SSIDInfo; }
But even when I load the SystemConfiguration framework I can't make an instance of CaptiveNetwork. Or am I totally doing this wrong.
-
chibill
**Iphone 7 11.0.3 pythonista beta 311015 **
python 2.7
Pystone(1.1.1) time for 50000 passes = 0.285025
This machine benchmarks at 175423 pystones/second
python 2.7 in low power mode
Pystone(1.1.1) time for 50000 passes = 0.627438
This machine benchmarks at 79689.1 pystones/secondpython 3.6
Pystone(1.1.1) time for 50000 passes = 0.372435
This machine benchmarks at 134252 pystones/secondpython 3.6 in low power mode
Pystone(1.1.1) time for 50000 passes = 0.774095
This machine benchmarks at 64591.6 pystones/second -
-
chibill
Possibly. I am still poking around in the list of frameworks and stuff. Looking for stuff that is possibly new in iOS 11.
-
chibill
Oh... so I guess my assumption that you probably already saw it was wrong.
I think this is how people normally use LMZA and why even a self compiled one causes Apple to flag it.