Coder Social home page Coder Social logo

Comments (5)

markandeyp avatar markandeyp commented on June 21, 2024

Output video link

from realm-dart-samples.

markandeyp avatar markandeyp commented on June 21, 2024

Update - July 25, 2022

The notifications work when I compile the time_track.dart into an exe. However, still, no luck when I run time_track.dart directly.

from realm-dart-samples.

desistefanova avatar desistefanova commented on June 21, 2024

Hi @markandeyp!
I see your question so late. You can write issues to https://github.com/realm/realm-dart/issues if you don't receive answer here.
You are right, there was a problem with cross process notifications if they are under vs code. I will check this issue with @nielsenko and will give you an answer here.

from realm-dart-samples.

markandeyp avatar markandeyp commented on June 21, 2024

Hi @desistefanova, thanks for a response here. The notification issue was reproducible even outside VS code. Let me know if a solution is available.

from realm-dart-samples.

nielsenko avatar nielsenko commented on June 21, 2024

@markandeyp & @desistefanova Yes this has nothing to do with VS code.

There is an issue with how interprocess notifications behaves when the dart interpreter is involved in loading the realm core shared library.

The work-around as previously discussed on a call, is to compile the time_track command AOT, as done in the screencast.

In general, I suggest compiling CLI tools using Realm, as it greatly reduces the startup time, which is especially important for CLI tools.

I do hope to get to the bottom of this eventually, but it is not a top priority for us, as an easy work-around exists.

Notice that this does not concern in-process notification. In particular it does not impact notifications due to synchronization.

from realm-dart-samples.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.