In Python the basics are quite easy (I wrote something about it here: http://joaoventura.net/blog/2017/python-webserver/), maybe it Rust it is as well?
1,604 karma · joined February 4, 2016
In Python the basics are quite easy (I wrote something about it here: http://joaoventura.net/blog/2017/python-webserver/), maybe it Rust it is as well?
My web app [3] earned only 50€ since 2016. My other projects (ex: mockrest.com [4]) don’t make me any money at all. I have to use other strategy.. :/
[1] https://play.google.com/store/apps/details?id=com.flatangle....
[2] https://github.com/joaoventura/pybridge
That is why I always test my apps on older hardware.. That, and because i only have old devices.. :)
My approach is different. I have most of the business logic in Python (I share lots of code between a web app and an Android app I have) and write the UI logic in the platform’s native language. This means the apps are always using native UIs and use the platform toolchains, and I can use all tools available natively on the platform.
I opened source the idea at https://github.com/joaoventura/pybridge
The thing that makes this different from a pure android python project is that I only use Python as a kind of mobile RPC backend. The UI is completely native in Java/Kotlin.
As a side note, today I’ve open sourced the same technique, but for iOS (https://news.ycombinator.com/item?id=23335704). I’m able to share all the python code but adapt the UI using the native tools..
As I'm a beginner in swift and iOS, I've documented all the process at https://github.com/joaoventura/pybridge-ios/blob/master/docs....
I hope this allows me to share all the Python code in my Android app (https://play.google.com/store/apps/details?id=com.flatangle....), which uses the same technique but for android (https://github.com/joaoventura/pybridge)
I do regular file backups and have a cron job restarting the web apps each 20 minutes, it’s enough for now. I would love to have a more solid architecture, but it matches the traffic volume and it’s good enough..
I guess if people had to pay at least one dollar to file a complaint like this, you’d have less.
Also, why did github removed the repo before checking things out first?
Look for it on google, it’s possible to do it..
Cool project by the way! I'm thinking doing the same with a Rpy..
It is quite similar to this although you just write your own data on a textarea, and get/post/put/delete to modify it.. Then you can copy-paste the result json from the backend to a text file or something like that..
It dynamically finds your objects (even nested ones) and you can CRUD them..
Prices start from 10$/month.
My experience is similar to yours, and I would also add that that "fuel" grows if you maintain the effort throughout the days/weeks. But some of the days you'll have more fuel, others less, just to the best you can (I struggle a lot to keep that balance, not easy at all..)
Whether the ${COUNTRY} social model is sustainable is another question.
There are plenty of apparently reasonable ${PEOPLE} that argue it is not.
${COUNTRY} = "USA"${PEOPLE} = "americans"
it seems to compile as well...
I'm still on the 5S, my next one will be a SE 1 when my 5S blows up..
After 2012, I've been writing very infrequently about things mostly related to Python..
The only thing I would like to see fixed on macOS would be that my students could see the mouse pointer. Beside that, I think it works quite well.