Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Geert van Horrik
    @GeertvanHorrik
    advapiIT
    @advapiIT
    kudos!
    venom_aa
    @venomAA
    have a question about the StatusService
    I want to change the last status from ready to a defined string
    or at least translate it to spanish
    but from what i can see at the Service its hardcoded
    am i right?
    venom_aa
    @venomAA
    @GeertvanHorrik why do you use a timer inside the statusservice? isnt the service supposed to be used for showing a status on the screen? or im misusing it?
    it seems kind of weird to me to have a random 8 second timer just to set the status to ready
    Geert van Horrik
    @GeertvanHorrik
    I think when I wrote it, I used it inside a statusbar, and then just hid it after 8 seconds
    but agree, it shouldn't be the status service determining the time out, it should be the statusbar(viewmodel)
    venom_aa
    @venomAA
    also an undetermined time out would be good. The 8 seconds could be set as default behavior
    hmm
    let me finish my deadline and ill make the proposed change
    btw...the message never goes away..it just stays there XD
    i have some ideas floating for the control..setting the finalstatus as a public property for those like me who want to change it
    or maybe a finalize method with a final status and a timeout for hiding it
    yup
    Geert van Horrik
    @GeertvanHorrik
    I would say: support us and we might consider it 😉
    Especially, ask your manager / boss to support us
    venom_aa
    @venomAA
    ill add some money to the project with my xmas bonus
    but what i meant ill do the change to the interface and the control and send it to the repository
    bigworld12
    @bigworld12
    hey @GeertvanHorrik
    how can you serialize something without it inherting from SavableModelBase ?
    e.g. in Orc.ProjectManagement i want to save the project, but I am not sure how am I supposed to serialize it in the project writer service
    since ProjectBase doesn't implement SavableModelBase
    venom_aa
    @venomAA
    @GeertvanHorrik question? should not the timer in the statusservice be disposed manually?
    venom_aa
    @venomAA
    oh nvm..its a local variable..derp
    asyncs gives me headeaches
    how do you guys handle semaphores on your projects with asyncs..like for example..i have a command that runs an async task. But i dont want the user to be able to run it twice while one instace of the process is already running
    Geert van Horrik
    @GeertvanHorrik
    @bigworld12 ModelBase is serializable as well. But... you can register your own ProjectWriter / ProjectReader that are completely responsible for your own serialization (e.g. we do a lot of csv / directory reading)
    @venomAA I think there is an AsyncLock (which we took from the AsyncEx lib), and you could simply keep state. I think the TaskCommand already takes care of that for you
    advapiIT
    @advapiIT
    @GeertvanHorrik I'm to translate Orcherstra but I got the Add menu item disabled
    image.png
    I've tried to right click on the Orchestra.Core.de.xlf file or on the solutio, even from the top menu
    Geert van Horrik
    @GeertvanHorrik
    Correct, you should just use the MAT editor
    advapiIT
    @advapiIT
    I'm new..... where I find the MAT editor
    Geert van Horrik
    @GeertvanHorrik
    For example, copy the Orchestra.Core.nl.xlf and rename it to it.xlf
    image.png
    then go to start and search for the actual app:
    (or just double click the file in explorer)
    advapiIT
    @advapiIT
    ah ok
    I installed the extension of VS... damned me
    do you wantthe translation for all text or just the one that's used on UI
    I mean Are you sure you want to assign the input gesture to '{0}'. It will be removed from the other commands.
    should be translated?
    Geert van Horrik
    @GeertvanHorrik
    yes please. But each element can be translated / marked as translated. Even if you only do it partially, others can continue where you left, that's the nice thing about MAT
    advapiIT
    @advapiIT
    yes, no problem for me, was just to know even if internal ones (for example Viewmodel created on .... (just a sample))
    Geert van Horrik
    @GeertvanHorrik
    logging should never be translated (But it shouldn't be in there either)
    advapiIT
    @advapiIT
    for example I've found now : Debug logging is enabled for this application instance
    Geert van Horrik
    @GeertvanHorrik
    that's actually visible in the UI ;-)
    advapiIT
    @advapiIT
    ok, youre the boss :D