• 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.

    posted in Pythonista read more
  • 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.

    posted in Pythonista read more
  • chibill

    That’s annoying... (Why do people not say the full truth in SO answers like seriously)

    posted in Pythonista read more
  • chibill

    Hm... strangely that only shows the wifi I am connected to. The snippet (from SO) is supposedly supposed to show all networks.

    posted in Pythonista read more
  • 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.

    posted in Pythonista read more
  • 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/second

    python 3.6
    Pystone(1.1.1) time for 50000 passes = 0.372435
    This machine benchmarks at 134252 pystones/second

    python 3.6 in low power mode
    Pystone(1.1.1) time for 50000 passes = 0.774095
    This machine benchmarks at 64591.6 pystones/second

    posted in Pythonista read more
  • chibill

    For pretrained models.

    posted in Pythonista read more
  • chibill

    Possibly. I am still poking around in the list of frameworks and stuff. Looking for stuff that is possibly new in iOS 11.

    posted in Pythonista read more
  • 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.

    posted in Pythonista read more
  • chibill

    As of IOS 9 the Data Compression Framework has supported LMZA so it should technically be possible to write the python LMZA to use that framework instead of a self compiled or the builtin undocumented apple version.

    I realize you probably already looked at this. But just noticed this api just now.

    posted in Pythonista read more
  • chibill

    Specifically https://github.com/muehlemann/InLine/blob/master/inline/Camera.m

    Helps with this project.

    https://github.com/Ja7423/PhotoCamera

    Also has a lot of information I will be using.

    posted in Pythonista read more
  • chibill

    Welp I have found that I can look at Obj-C source of OS projects to figure out how to use the apis

    posted in Pythonista read more
  • chibill

    Rip! Beta is dead.

    posted in Pythonista read more
  • chibill

    Well just figured out I still need to do a lot of work. Because both of the examples use the older API that can't take RAW images or take settings

    posted in Pythonista read more
  • chibill

    Also I found your old barcode read that still works that uses it.

    https://gist.github.com/omz/11891cb1c7ed459d34c7

    posted in Pythonista read more
  • chibill

    Yes very interesting. This is why I really should have looked here instead of asking in slack about this. (Could have searched camera....)

    posted in Pythonista read more
  • chibill

    I have been doing some research into using the camera from objc_utils to allow for changing the Exposure and ISO along with some other settings.

    I will update this post when I am on my computer.

    posted in Pythonista read more
  • chibill

    I have mostly been using Py2 because of the craziness of bytes and strings being separate things now.
    Also generally there are more libs still on only 2.. (Or both)

    posted in Pythonista read more
  • chibill

    Sorry for the crazy bump.

    But I am not doing steganography. As I am not hiding data inside of a image. It's more of I am storing the data as pixels instead of as normal binary.

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!