omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. chibill
    3. Posts

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 14
    • Posts 64
    • Best 6
    • Controversial 0
    • Groups 0

    Posts made by chibill

    • APRS Tracker (Ham Radio Sofware)

      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
      chibill
      chibill
    • RE: Objc_util is confusing me.

      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
      chibill
      chibill
    • RE: Objc_util is confusing me.

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

      posted in Pythonista
      chibill
      chibill
    • RE: Objc_util is confusing me.

      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
      chibill
      chibill
    • Objc_util is confusing me.

      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
      chibill
      chibill
    • RE: Python benchmarking

      **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
      chibill
      chibill
    • RE: Deep learning in pythonista .?

      For pretrained models.

      posted in Pythonista
      chibill
      chibill
    • RE: LMZA should technically be possible.

      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
      chibill
      chibill
    • RE: LMZA should technically be possible.

      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
      chibill
      chibill
    • LMZA should technically be possible.

      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
      chibill
      chibill
    • RE: Using the camera from ObjC_utils

      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
      chibill
      chibill
    • RE: Using the camera from ObjC_utils

      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
      chibill
      chibill
    • RE: Beta expires in 3 days

      Rip! Beta is dead.

      posted in Pythonista
      chibill
      chibill
    • RE: Using the camera from ObjC_utils

      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
      chibill
      chibill
    • RE: Using the camera from ObjC_utils

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

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

      posted in Pythonista
      chibill
      chibill
    • RE: Using the camera from ObjC_utils

      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
      chibill
      chibill
    • Using the camera from ObjC_utils

      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
      chibill
      chibill
    • RE: Pythonista - should you care about python 2.7 or not?

      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
      chibill
      chibill
    • RE: PicEncode

      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
      chibill
      chibill
    • RE: IOS 10.3: folder name with accents no more found

      This is because of what ever apple changed in the new Disk Format that 10.3 has.

      posted in Pythonista
      chibill
      chibill