Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new notations module for science #2416

Open
CoolPlayLin opened this issue Sep 23, 2023 · 7 comments · May be fixed by #2415
Open

Add new notations module for science #2416

CoolPlayLin opened this issue Sep 23, 2023 · 7 comments · May be fixed by #2415
Assignees
Labels
c: feature Request for new feature m: science Something is referring to the science module p: 1-normal Nothing urgent s: waiting for user interest Waiting for more users interested in this feature
Milestone

Comments

@CoolPlayLin
Copy link
Contributor

Clear and concise description of the problem

Add notations module to science so that we could use symbol to express units in science

Suggested solution

According to https://en.wikipedia.org/wiki/List_of_common_physics_notations

Alternative

No response

Additional context

No response

@CoolPlayLin CoolPlayLin added c: feature Request for new feature s: pending triage Pending Triage s: waiting for user interest Waiting for more users interested in this feature labels Sep 23, 2023
@github-actions
Copy link
Contributor

Thank you for your feature proposal.

We marked it as "waiting for user interest" for now to gather some feedback from our community:

  • If you would like to see this feature be implemented, please react to the description with an up-vote (:+1:).
  • If you have a suggestion or want to point out some special cases that need to be considered, please leave a comment, so we are aware about them.

We would also like to hear about other community members' use cases for the feature to give us a better understanding of their potential implicit or explicit requirements.

We will start the implementation based on:

  • the number of votes (:+1:) and comments
  • the relevance for the ecosystem
  • availability of alternatives and workarounds
  • and the complexity of the requested feature

We do this because:

  • There are plenty of languages/countries out there and we would like to ensure that every method can cover all or almost all of them.
  • Every feature we add to faker has "costs" associated to it:
    • initial costs: design, implementation, reviews, documentation
    • running costs: awareness of the feature itself, more complex module structure, increased bundle size, more work during refactors

View more issues which are waiting for user interest

@ST-DDT
Copy link
Member

ST-DDT commented Sep 23, 2023

What is the difference between this and faker.science.unit?

@ST-DDT ST-DDT added p: 1-normal Nothing urgent s: awaiting more info Additional information are requested m: science Something is referring to the science module and removed s: pending triage Pending Triage labels Sep 23, 2023
@ST-DDT ST-DDT added this to the vFuture milestone Sep 23, 2023
@CoolPlayLin
Copy link
Contributor Author

@ST-DDT
In science, unit is used to mean possessed by a physical quantity. notations is used to mean code of physical unit.
For example, The formula of pressure is P = F / S. The P means pressure, F means force and S means square. Both they are notations instead of units.
Anyway, the unit of F is Newton, P is Pascal, S can use meter, centmeter, kilometer and etc.

@matthewmayer
Copy link
Contributor

i would call things like force, pressure, area "quantities" https://en.wikipedia.org/wiki/Physical_quantity - the notation is just the symbol.

@ST-DDT ST-DDT removed the s: awaiting more info Additional information are requested label Sep 23, 2023
@CoolPlayLin
Copy link
Contributor Author

CoolPlayLin commented Sep 24, 2023

export interface Notation {
  /**
   * The long version of the notations (e.g. `work`).
   */
  name: string;
  /**
   * The short version/abbreviation of the notations (e.g. `w`)
   */
  symbol: string;
}

However, one notation can refer to more than one meaning.( e.g. uppercase C can refer capacitance, heat capacity and constant of integration )
I don't think this interface is good. Could you tell me how I modify it?😊

@matthewmayer

@matthewmayer
Copy link
Contributor

matthewmayer commented Sep 24, 2023

I would wait for more upvotes. One of the reason to wait for 10+ upvotes is to get a variety of opinions over what use cases people might need this for. That informs making sensible naming decisions.

I don't use the science module in any of my projects, but if we can find 10 people who do over a few months, they'd have a much better idea of how to structure the api.

@import-brain
Copy link
Member

i would call things like force, pressure, area "quantities" en.wikipedia.org/wiki/Physical_quantity - the notation is just the symbol.

I agree with this--- "notation" is too similar to "unit", so if we implement it, we should name this method "quantity".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: feature Request for new feature m: science Something is referring to the science module p: 1-normal Nothing urgent s: waiting for user interest Waiting for more users interested in this feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants