GithubHelp home page GithubHelp logo

Comments (5)

Aniket21mathur avatar Aniket21mathur commented on August 17, 2024

I am sorry I am not able to understand what exactly do you mean by journal entry and journal object?
Thanks!

from convert.

quozl avatar quozl commented on August 17, 2024

https://help.sugarlabs.org/en/journal.html should help to explain. Every Sugar activity creates a Journal Entry. Internally, a Journal Entry is implemented as a Journal Object in Python. Look at the activity API sources in the toolkit.

from convert.

Aniket21mathur avatar Aniket21mathur commented on August 17, 2024

@quozl I am sorry but still I am not able to understand what's the difference between Journal entry and user's activity instance data directory.I don't know much about journal entry but as per my knowledge of user's activity instance data directory won't it be better to save this dimensions and units at user's activity instance data directory.I worked on it and made a pull request I request you to once review it and decide 😄 .Thanks!

from convert.

quozl avatar quozl commented on August 17, 2024

@Aniket21mathur, the difference is profound and yet subtle.

  • Journal Entry
    • what a user of Sugar is to think of as a file,
    • shown by the Journal (F5 key),
    • created automatically by running an activity,
    • resuming the entry resumes the activity in the same state as when it was stopped,
    • implemented as files and metadata in a private directory managed by the Sugar Datastore component, using a D-Bus RPC API.
  • activity instance data directory,
    • unique to an activity,
    • a directory into which an activity may read and write data,
    • best used for activity state that is permanent, such as Terminal font size,

I suggest you read one of the guides to writing Sugar activities.

from convert.

kushagra98 avatar kushagra98 commented on August 17, 2024

Is this issue still open?

from convert.

Related Issues (13)

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.