Sunday, December 31, 2017

Using Pythonista to Journaling ;-)

I'm using my iPad Pro to journaling.
Each day I'm trying to write what I done, what I'm happy for, what I learn and so on...

I like also book The Martian ;-)
And each entry of Mark Watney in The Martian starts from date (in Sols).
It would not work for me, but number of days from my birthday? ;-)

So I wrote small Python script which I run on Pythonista.

import time
import clipboard
import webbrowser
import console
import util

#if you want to use it put below your birthdate :-)
birthday=time.strptime("1900-01-11 7:45","%Y-%m-%d %H:%M")




Which is using next script (

from objc_util import *
from ctypes import *
import sys

def startBundle(bundleId):

So first script is calculating number of days from my birthday.
For now it is 14531.84021 days ;-)

Next this with some additional text is copied to clipboard.

Next using method startBundle from util module it starts iA Writer :-)

My only job is to do CMD-V (on keyboard of my iPad Pro) and start to write about my day :-)

This startBundle may start any of program on iPad, only thing which we need to know is an id of application (here is instruction how to get this ID for known program).

I would really love to be able to instruct iA Writer to create new file and paste my text at beginning of it... but as for now I'm not able to do so ;-)

Similar postsbeta
Android vs iOS
OOo2GD 1.5.1 Birthday Edition ;-)
Worflow - my biggest disapotiment of iOS
How to detect clickbaits?

Monday, December 18, 2017

Know country behind apps on your phone....

Smartphone knows a lot about its owner.
Knows where this person is.
Knows with whom this person talk.
Can listen. Can make photos.

So, it is better if you know who can know this stuff about you.

I may be little paranoid, but lets be honest, I don't trust companies from countries like Russia or China...

If I need to choose being tracked by NSA or CIA, or by FSB, I will always choose NSA and CIA.
Of course if I can I would like to be sure that any of those track me ;-)

So I looked on apps on my phone.
Among 94 my results looks like this (yep, I counted Google as country ;-))

my own4
Czech Republic1
South Korea1
was Google1

Happily nothing from Russia ;-)
Sadly some apps from China.
One is Kasa from TP-Link, second is Motoconnect from Motorola. So I hope that I may trust those.
CamScanner is little bit tricky. I'm not scanning top secret documents, but this makes me little bit worried.
Wifi Analyzer too...
I have one app which I don't know from where it is. This is Barcode scanner, don't know why but name of developer sounds like China. Happily this is open source.

But looking on this list I know almost for sure that I will not install Telegram. Sorry...
Will rather go in direction of WhatsApp... but I'm not happy with that.

To be honest I spend near one hour checking from where is given developer.
And in most cases I was checking both info on Google Play, and for whom domain is registered.

Similar postsbeta
CallLoger ;-) Invigilate yourself ;-)
It's alive... still ;-)
Borders, immigrants and so on
Vacation in progress ;-)