Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Davide Rosa
    @dddomodossola
    Disabling cache allows you to refresh image by pressing F5, but not automatically. To reload it you have to set a new filename every second
    Maybe you can save images with a progressive number or the datetime
    TheIgorMC
    @TheIgorMC
    I'll do some experiments and figure out a temporary solution as it's a prototype, then i'll move towards better solutions like opencv, thanks for the hints tho!
    Davide Rosa
    @dddomodossola
    ;-)
    AdrienLF
    @AdrienLF
    Hi, I have some issues with styling, and I was wondering what was possible with Remi
    I want to style a slider, created with gui.Slider
    I have two references I would like to try. This one:
    or the first example in this one: https://codepen.io/vsync/pen/mdEJMLv
    Both use JS, which I manage to add in remi's HTML page with the "html-head"
    however it is becoming clear I will need to "wrap" the slider in other divs
    is that possible with remi?
    Davide Rosa
    @dddomodossola
    Hello @AdrienLF , of course you can put a slider in a div. Consider that the classes Container, VBox, HBox are "div" elements. So, if you put a slider in a Container, you are putting it in a div. However, since remi updates the widgets in case of changes (without reloading the page) you could get styling problems. My advice is to use only simple css stylesheets, and not javascript styling libraries.
    For a customer I created a personalised slider entirely with svg, with good results
    This is entirely made with remi
    image.png
    It is mostly styled with css, except the sliders that are made with svg
    AdrienLF
    @AdrienLF
    oh I didn't think that vbox, hbox were simple div elements. I'll look into svg, that may be a good way to do it, thanks :)
    Justin Jones
    @Compaqq5_twitter
    image.png
    Hello, I spotted out an issue with drag and drop file which it's name include (Chinese) characters. The error is:
    xhr.setRequestHeader('filename', file.name);
    image.png
    // Get file
    item.file(function(file) {
        remi.uploadFile('%(id)s', '%(evt_success)s', '%(evt_failed)s', '%(evt_data)s', file)})
    Guohao
    @Guohao91
    Screenshot from 2021-05-17 14-14-26.png
    hi guys, I have the button function in before, it is with onclick event
    now I wanna switch it to onmousedown/onmouceup event
    Screenshot from 2021-05-17 14-15-23.png
    I tried like this....
    and the problem is:
    Screenshot from 2021-05-17 14-15-34.png
    I think I just need a couple of tips
    I wish some helps, thanks in advance!
    Davide Rosa
    @dddomodossola
    Hello @Guohao91 , the error message says everything. "Syntax error"
    You wrote "self.emitter: emitter"
    Maybe you want to write "self.emitter=emitter"
    Furthermore, there is at least another error in the code
    You passes two arguments to "bt.onmousedown.do", remove the second argument
    Guohao
    @Guohao91
    @dddomodossola thanks a lot Davide. I will be trying
    Fabricio Heider
    @FabricioHeider_twitter
    Hi! is anybody here?
    Davide Rosa
    @dddomodossola
    Hello @FabricioHeider_twitter how can I help you?
    Fabricio Heider
    @FabricioHeider_twitter
    Hi just want to ask about the editor
    When I create something, then I need to add for example the command "import serial" at the beginning. If I want to re-edit the file and save it again, the import serial sentence dissapear.
    Davide Rosa
    @dddomodossola
    Yes, you should use git with two branches and merge them proprerly to keep the changes
    CHEAK
    @cheak1974
    @dddomodossola an interesting summary of the state of Python which also refers to REMI for UIs.
    Davide Rosa
    @dddomodossola
    @cheak1974 thank you a lot for sharing Chris! ;-) How are you? Are you in summer holidays?
    CHEAK
    @cheak1974
    We were already. The plan was to travel to turkey, but because of Corona we decided to make vacation nearby in germany and the netherlands. Payed back already, because we would have been in Manavgat where the fires are. Crazy and cold summer. But now I am back to work already. How are you?
    Davide Rosa
    @dddomodossola
    I'm fine thank you. No travels and no holidays yet, but maybe in the next weeks. However if I will travel, it will be in the nearby. I'm scared about covid, the nightmare is still alive...
    CHEAK
    @cheak1974
    yes, you are right. It's not over yet. Take care.