Better HN
topnewbestaskshowjobs
Log inSign up

dddomodossola

19 karma · joined Sep 29, 2018 (8y ago) · 19 submissions

Submissions

comment 8y ago · link · parent

I used it directly on Android with termux and qpython, but never packed it into apk.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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).

comment 8y ago · link · parent

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?

comment 8y ago · link · parent

yes of course, you can include js libraries in App constructor and execute js by doing app_instance.execute_javascript(jscode)

comment 8y ago · link · parent

correct, good point of view. thank you for the advice

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

you are welcome :D

comment 8y ago · link · parent

Never seen Shiny, I will give it a look. thank you

comment 8y ago · link · parent

I hope you will feel ok with remi. ;-)

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

yeah, I also love repl.it it's surprisingly easy to use, and really powerful

comment 8y ago · link · parent

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

comment 8y ago · link · parent

No protection, it have to be intended as a full featured, standalone and remotable gui framework

comment 8y ago · link · parent

It contains also a Graphical Editor https://github.com/dddomodossola/remi/tree/master/editor that produces directly python code. no transition metalanguages.

comment 8y ago · link · parent

v1.2.2 18 days ago

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

comment 8y ago · link · parent

Hello everyone, I'm the creator. I can reply your questions, if you want. last release was this month.