HNHacker News
TopNewBestAskShowJobs

dddomodossola

19 karma · joined September 29, 2018

submissionscomments
dddomodossola··on REMI: Python REMote Interface Library
I used it directly on Android with termux and qpython, but never packed it into apk.
dddomodossola··on REMI: Python REMote Interface Library
good question, comparison beyween projects is a good investigation method. they are really similar projects. flexx has more modularity and depends from powerful libraries like Tornado. Remi has its own webserver and has zero dependencies, not necessarily a good choice but however a notable difference.
dddomodossola··on REMI: Python REMote Interface Library
thank you for the advice. it should be pretty simple to protect an app from that kind of attacks. however this doesn't mean that remi is a safe web framework. personally I feel like @nicolaslem (look at his comment).
dddomodossola··on REMI: Python REMote Interface Library
you are correct it could be theoretically pressed by someone else, but it should be really difficult because of the unpredictability of IDs. It should be simpler to attack flask or django based webinterfaces. doesn't it?
dddomodossola··on REMI: Python REMote Interface Library
yes of course, you can include js libraries in App constructor and execute js by doing app_instance.execute_javascript(jscode)
dddomodossola··on REMI: Python REMote Interface Library
correct, good point of view. thank you for the advice
dddomodossola··on REMI: Python REMote Interface Library
thank you so much for the advice. however, as previously mentioned: technically it should be safe, the connected client can access only the exposed functions. furthermore each instance exposes methods identified by dynamic object instance id, and unless the developer defines a fixed identifier for a specific method, it should this dynamical definition makes really difficult to programmatically access specific functions. this means that the attacker have to know the ID of an object instance, in the actual running instance to point to a defined function.

however, the safety of an application is up to the developer, that can leave opened also the door of a safe atomic bunker

dddomodossola··on REMI: Python REMote Interface Library
correct, they seems different but you can achieve "same results" with both. dash is really powerful for look n feel and for plots. but I see it a bit confusional for callbacks and object oriented development. I never used it, so maybe I'm not the right person to ask for a comparison.
dddomodossola··on REMI: Python REMote Interface Library
you are right, it requires further explanation. it is intended to be used on localhost and also on the web, preferably on safe networks like VPN. it implements ssl encription and a basic http authentication. technically it should be safe, the connected client can access only the exposed functions. furthermore each instance exposes methods identified by dynamic object instance id, and unless the developer defines a fixed identifier for a specific method, it should this dynamical definition makes really difficult to programmatically access specific functions. I consider it unsafe because I never spent enough time to test the framework penetration resistance.
dddomodossola··on REMI: Python REMote Interface Library
you are welcome :D
dddomodossola··on REMI: Python REMote Interface Library
Never seen Shiny, I will give it a look. thank you
dddomodossola··on REMI: Python REMote Interface Library
I hope you will feel ok with remi. ;-)
dddomodossola··on REMI: Python REMote Interface Library
there are some additional container widgets than in the past that allows auto sizing and positioning. these are VBox HBox (for flex layouting) and GridBox. however someone successfully integrated bootstrap in his application using remi. personally I see it an unuseful complication. thaks to its lightweight infrastructure, a remi page occupy only few kilobytes.
dddomodossola··on REMI: Python REMote Interface Library
yeah, I also love repl.it it's surprisingly easy to use, and really powerful
dddomodossola··on REMI: Python REMote Interface Library
yes, https is supported. you have to config 3 parameters in the "start" function call: certfile: ssl certificale filename keyfile: ssl key file ssl_version: authentication version (i.e. ssl.PROTOCOL_TLSv1_2). If None, disables ssl encription
dddomodossola··on REMI: Python REMote Interface Library
No protection, it have to be intended as a full featured, standalone and remotable gui framework
dddomodossola··on REMI: Python REMote Interface Library
It contains also a Graphical Editor https://github.com/dddomodossola/remi/tree/master/editor that produces directly python code. no transition metalanguages.
dddomodossola··on REMI: Python REMote Interface Library
v1.2.2 18 days ago

https://github.com/dddomodossola/remi/releases/tag/v1.2.2

dddomodossola··on REMI: Python REMote Interface Library
Hello everyone, I'm the creator. I can reply your questions, if you want. last release was this month.