omz:forum

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

    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

    William Gaylord

    @chibill

    6
    Reputation
    1411
    Profile views
    64
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Age 24

    chibill Unfollow Follow

    Best posts made by chibill

    • RE: Beta expires in 3 days

      Rip! Beta is dead.

      posted in Pythonista
      chibill
      chibill
    • RE: Minimalistic open source Pythonista

      http://cylith.dyndns.org/code/f2cpp

      Could work maybe..

      https://github.com/OpenResearchComputation/fable

      May also work.

      posted in Pythonista
      chibill
      chibill
    • RE: Appex and user modules

      Yes it's a bug an extension should still import following how it normally does.

      posted in Pythonista
      chibill
      chibill
    • Bypassing the GIL.

      In this topic I am going to be documenting my advantures trying to bypass the GIL using Apple's threading api and objc_utils. I also want to develop it into basically a multiprocessing API for pythonista.

      Firstly some docs.
      https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Multithreading/Introduction/Introduction.html That is on just Multithreading.

      I may end up using the Dispatch query.
      https://developer.apple.com/library/ios/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html

      posted in Pythonista
      chibill
      chibill
    • RE: SnapSudoku

      I am working on a simple Nuertal Network for reading numbers to help with this project. If you can break the image into the boxes I can read the number in each one.

      posted in Pythonista
      chibill
      chibill
    • Update paramiko?

      Is it possible to get paramiko updated (or load a local version in stead of the distributed one) because it's 1.13.0 installed by default and 1.16.0 has some fixes that let you ssh with out having to reconfigure your ssh server to use older key exchange systems.

      posted in Pythonista
      chibill
      chibill

    Latest 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