Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    tyrbentsen
    @tyrbentsen
    Thank you
    tyrbentsen
    @tyrbentsen
    Hi, I have another question. Why is it needed to emit external output events
    Why not doing the output directly?
    Francisco Sant'Anna
    @fsantanna
    • For symmetry with input, Céu is designed to model I/O so it's expected to provide both as special.
    • To aid static analysis. It is easy to track external side effects.
    • To link output and input events between different processes transparently, potentially in different machines. (See https://www.maxwell.vrac.puc-rio.br/37372/37372.PDF)
    If possible, I suggest to move this kind of discussion to the mailing list of Céu: https://groups.google.com/forum/#!forum/ceu-lang
    (Let's use the chat for more real-time interactions on installing/operating the language, etc.)
    tyrbentsen
    @tyrbentsen
    Thank you!
    Dinesh Bhagat
    @rapperdinesh
    Hi ! I am Dinesh Bhagat , a sophomore at IIT Mandi, India. I am interested in contributing in ceu language. Can anyone please guide me in the same ?
    Dinesh Bhagat
    @rapperdinesh
    While installing Ceu I am facinf difficulty in the below step. """sudo make install # install as "/usr/local/bin/ceu""". Please help !
    Francisco Sant'Anna
    @fsantanna
    Hi @rapperdinesh , what error do you get when you try it?
    Dinesh Bhagat
    @rapperdinesh
    @fsantanna It shows this message """install ./src/lua/ceu /usr/local/bin/ceu"""
    Francisco Sant'Anna
    @fsantanna
    Did you try to run the tests?
    Dinesh Bhagat
    @rapperdinesh
    on running test it shows this error --> https://pasteboard.co/IGOnulR.png
    and on make samples it shows --> make: * No rule to make target 'samples'. Stop.
    Francisco Sant'Anna
    @fsantanna
    In which directory are you running make samples?
    Dinesh Bhagat
    @rapperdinesh
    Thanks @fsantanna .... Got it, Solved the issue ! Thanks for the help ! Looking forward to contribute in the code base !
    Dinesh Bhagat
    @rapperdinesh
    Hey @fsantanna I went over Lua and Ceu in last weeks . And I want to ask if I can take up some work of designing an IDE for Ceu ? There is an already an exisiting on Lua named 'ZeroBrane'.
    Your suggestions will be valuable
    Francisco Sant'Anna
    @fsantanna
    Hi @rapperdinesh , of course you can. We are open to contributions! I'll be on vacations during the next two weeks but I can help with whatever you need.
    Priyanshu Singh
    @priyanshux
    Hey, can someone help me find the LabLua's Gitter channel. I wish to contribute to the organisation
    Francisco Sant'Anna
    @fsantanna

    Hey, can someone help me find the LabLua's Gitter channel. I wish to contribute to the organisation

    There's a mailing list: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/labluagsoc/-28pkHQp2xE/o-f2t6nxAQAJ

    vibudhvishal
    @vibudhvishal
    hi @fsantanna I m did the installation of ceu in my system and i m using kali Linux , the installation was successful but will using kali pose a problem in future
    Francisco Sant'Anna
    @fsantanna

    hi @fsantanna I m did the installation of ceu in my system and i m using kali Linux , the installation was successful but will using kali pose a problem in future

    it's ok

    robert-lachapelle
    @robert-lachapelle
    @fsantanna I have a quick question about using the event in from c++ code. I am trying to send ceu_sys_go( &app, CEU_IN_LEVEL_SMASH_EXPANDED_DONE, &resp ); but with this my resp is an array of int's what is the best way to handle this.
    what is the proper format to apply the resp too: tceu__int?
    robert-lachapelle
    @robert-lachapelle
    I am trying for this where I just did:
    int resp[32] = value;
    ceu_sys_go( &app, CEU_IN_LEVEL_SMASH_EXPANDED_DONE, &resp );
    robert-lachapelle
    @robert-lachapelle
    This is what is defined on the ceu side input int[32] GET_SEAL_CHECK_DONE;
    robert-lachapelle
    @robert-lachapelle
    I just realized I typed different events but in my code they are the same just a typo above.
    robert-lachapelle
    @robert-lachapelle
    @fsantanna I am from IDEXX labs and we have been using CEU to do some instrument control and I was hoping to get some input on passing arrays into and out of ceu.
    robert-lachapelle
    @robert-lachapelle
    I just wanted to make sure it is Ok how did this final solution

    c++ Side

    int resp_data[32] = { };
    std::vector<int32_t> data_int  = pEvt->GetParameterAsIntVector();
    data_int.resize( countof( resp_data ) );
    std::copy( data_int.begin(), data_int.end(), resp_data );
    ceu_sys_go( &app, CEU_IN_GET_SEAL_CHECK_DONE, &resp_data );

    Ceu Side

    define GETSEALCHECK( context ) \

    do \
    _get( _AMS, _PRM_PRESSURE_TRACE_CONDENSED_BUFFER ); \
    var int *retval = await GET_SEAL_CHECK_DONE; \
    _log_seal_check_data( context, retval ); \
    end

    Francisco Sant'Anna
    @fsantanna
    @robert-lachapelle Hi! Can you please contact me by e-mail in this specific case? francisco.santanna@gmail.com
    Cerem Cem ASLAN
    @ceremcem
    hi
    this language seems like a dream but is it mature enough to be used in production?
    Cerem Cem ASLAN
    @ceremcem
    (I mean, is there anyone using it in production?)
    Also what are the specific preferences of this language about the Reactive Programming Design Challenges? https://en.wikipedia.org/wiki/Reactive_programming#Implementation_techniques_and_challenges
    Francisco Sant'Anna
    @fsantanna

    this language seems like a dream but is it mature enough to be used in production?

    Not really. The manual is ok, the implementation has no known bugs, but I wouldn't say it's production ready.

    Francisco Sant'Anna
    @fsantanna

    Also what are the specific preferences of this language about the Reactive Programming Design Challenges? https://en.wikipedia.org/wiki/Reactive_programming#Implementation_techniques_and_challenges

    This definition of reactive programming is not very broad. It's more restricted to dataflow languages, which is not the case of Céu (or even Esterel).
    So the challenges are also more particular to dataflow.
    Glitches: we proposed a variation of par/or, known as par/hor (for hierarchical or) that would prevent glitches. We did not find it that useful though and it was removed from the language.
    Cyclic dependencies: similar to the article, cycles are forbidden and require something like a delay (async in Céu).
    Mutable state: yes
    Dynamic dependencies: yes

    Cerem Cem ASLAN
    @ceremcem

    Not really. The manual is ok, the implementation has no known bugs, but I wouldn't say it's production ready.

    This reminds me the "Status Of BTRFS" explanation. It was like "There is no magic wand to use and declare the filesystem is production ready. Users should prepare themselves for the worst case scenario and act accordingly". I suppose it's better to give it a go and see if it fits my needs or not.

    Or, is there any missing crucial feature? I didn't find a roadmap within the documents.

    Francisco Sant'Anna
    @fsantanna

    Not really. The manual is ok, the implementation has no known bugs, but I wouldn't say it's production ready.

    This reminds me the "Status Of BTRFS" explanation. It was like "There is no magic wand to use and declare the filesystem is production ready. Users should prepare themselves for the worst case scenario and act accordingly". I suppose it's better to give it a go and see if it fits my needs or not.

    Or, is there any missing crucial feature? I didn't find a roadmap within the documents.

    There's currently no roadmap and no critical missing features. I'm starting to work again on Céu to modernize the language with a new type system, but it should take long. I suggest you to subscribe to the mailing list which has very little traffic.

    Cerem Cem ASLAN
    @ceremcem
    Website and the introduction video describes the good bits of Ceu. What are the bad and ugly bits? For example, what makes C10M problem out of the scope of Ceu?
    Francisco Sant'Anna
    @fsantanna
    Céu follows the synchronous model and advances all threads together in steps. C10M typically deal with unrelated connections with no shared state that would take no advantage of deterministic step-by-step execution. Céu extends its synchronous core with "async/thread" but it's not the main scope of the language.
    Cerem Cem ASLAN
    @ceremcem
    Fair enough. Thanks for the explanations.
    Cerem Cem ASLAN
    @ceremcem
    Can we interpret Ceu much like Javascript from the point of view of single core/single thread execution?
    Francisco Sant'Anna
    @fsantanna
    Yes, I think so. Single-threaded event handlers.
    ryanford-dev
    @ryanford-dev
    This message was deleted
    S-V
    @S-V
    Hi everyone! Is there a Ceu interpreter? From what I've read, Ceu would be a great choice for writing game logic/NPC behaviour, but you'll have to recompile the source code on each change (?).
    Francisco Sant'Anna
    @fsantanna
    No, there are no plans for an interpreter for now. Yes, you need to recompile on each change.