3 ms·
Well, I run iPython on my Pixel phone a lot. When I'm at home, I can ssh into the phone and edit files etc with a real keyboard and desktop display. I have ma
by PopePompus 3y ago
Well, I run iPython on my Pixel phone a lot. When I'm at home, I can ssh into the phone and edit files etc with a real keyboard and desktop display. I have many Python functions defined which allow me to do quick, but fairly complex, calculations on-the-go. I also mount the phone's filesystem using sshfs on my desktop machine. That automatically happens whenever the phone connects to my home WiFi. Much of this may be possible on an iPhone too, for all I know, but with a Pixel phone, a Linux desktop and a bunch of Raspberry Pis doing home automation stuff, I only have to know Linux. So I hardly ever write software using the phone's screen and virtual keyboard (although I do occasionally do it), but I write quite a bit of code on the phone using the desktop machine to provide better I/O.
- Aditya_Garg 3y agoHow many people in the world do something like that? Even in the bubble that is HN, how many people do that? The average person benefits a lot more from a walled garden.
- mardifoufs 3y agoI think you can do all of that on Apple too. They have an exception for educational/dev language interpreters IIRC . Just a random example: https://apps.apple.com/us/app/pyto-python-3/id1436650069 https://apps.apple.com/us/app/pyto-python-3/id1436650069 It can even run shortcuts which is pretty cool for home automation. I don't own an iPhone but your comment made me check if it was possible to run actual commands on the different python ide apps on Apple.
- amphitheatre 3y agoThis is a fun use of technology I lose by having my iPhone 8 Plus. Previously I had an Android phone I used to automate to the nines with Tasker and such. Having similar capabilities on all of my devices and holistically binding them together (as you do with sshfs and similar technologies) is enjoyable and has more utility than any regular walled garden. Vendors locking down their devices to prevent advanced users from unlocking its full potential is sad. I'm switching over to Android soon - once my current phone dies and I can find a capable device with a headphone jack, replaceable battery, and USB-C - and your setup has inspired me to get back into this game!