Tag: python

  • TIL: Python shared_memory.ShareableList

    TIL: Python shared_memory.ShareableList

    While watching Tech Tangents over the weekend, I went digging into the Python documentation to see what features Python has for doing shared memory between two processes. TT was attempting to do it with multiprocessing.Value() objects, but was using pointer-ctypes, which are only valid in the memory space they’re created in (ie, they’re not accessible…

  • Adventures in ESP8266 land (1/n)

    Adventures in ESP8266 land (1/n)

    Given Blue Opal’s data network is linked to a ShipModul that beacons the data on a wireless network, I felt like it would be kind of neat to build my own data logger that can log all the data that the ShipModul is broadcasting. As mentioned in another post, I currently use iNavX on an…

  • Driving a PiHut Christmas Tree

    The default program suggested for the PiHut Christmas Tree makes the lights flash rapidly, all at once. This was headache inducing, so I modded the code to provide me with something a bit more relaxing. My Pi has trouble setting one of the GPIO pins high (it’ll go high once, turn off, and then flicker…

  • Stripping out audio tracks from MKV files

    I have some MKV files where the default audio track is non-English, though there is an English audio track in the file. Some research led me to MKVMerge, part of the MKVToolNix collection. A bit more research led me to some Python2 code that’s able to identify the tracks in the file, apply a filter,…