pqm
Unitful.jl
pqm | Unitful.jl | |
---|---|---|
3 | 9 | |
15 | 575 | |
- | 0.5% | |
1.3 | 7.0 | |
about 1 year ago | 10 days ago | |
JavaScript | Julia | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pqm
- A better/faster JavaScript library for physical math
-
Ask HN: Show your failed projects and share a lesson you learned
I made a spreadsheet add-on similar to the pint library for python (dimensional analysis) based on my own open source JS library (https://github.com/GhostWrench/pqm). Website is still up: https://ghostwrench.net/convertplus.html.
To me it seemed like the perfect way to get a solo app up and running because Google was going to run all the sever stuff and I could just cash in. The app never really got off the ground and by the time I realized that Big G really doesn’t want to make it easy for any schmuck to run a profit generating app using their servers and their technology and it wasn’t worth the maintenance effort to keep up with the constant requests to update the app. I think it is no longer available on the GSuite store as of a few months ago. I think my biggest mistakes were as follows:
1) I needed a business/marketing oriented co-founder. I underestimated how difficult that job is and overestimated my ability to do it.
2) I wanted to charge too much for the app. I didn’t want to undersell myself and get caught in a trap of not making enough to keep up with maintenance. I went too far the other way. I think maybe a $50-$60 on time charge would have been appropriate, instead of requiring a subscription. This is an easy fix, but I would had to re-do my marketing effort and see #1
3) Built before I tested the market. I convinced myself that just asking a few of my engineering friend would use it was enough. Again, this is probably a symptom of #1
4) I was mentally unprepared to deal with failure and I lost motivation to keep working on the project when things didn’t go as I expected.
5) I underestimated how much people actually use spreasheet add-ons. There really isn’t a thriving market and most of the really popular apps are a utility attached to another popular standalone project.
6) Probably should have targeted Excel rather than Sheets, because the market is simply bigger.
I think if the stars align, I would like to give this project another go. I don’t think it has totally failed rather than just gone dormant, but I need a better strategy for round 2!
-
GNU Units
There are heaps of libraries for all languages because it is a fairly fun and straight forward project. I personally created this one because I was frustrated with how slow and clunky the existing javascript libraries were:
https://github.com/GhostWrench/pqm
Also, I open sourced just the unit database (in JSON format) for anyone interested in making their own version:
https://github.com/GhostWrench/unitdb
Unitful.jl
- What Is Dimensional Analysis?
- All I can say is that I relate, very much
-
Are there any languages that allow units?
Julia's Unitful package is one of my favorites. https://github.com/PainterQubits/Unitful.jl
Tangentially related, LaTeX's siunitx package makes typesetting units a joy. https://ctan.org/pkg/siunitx
-
Question solved unsuccessfully
Laughs in https://github.com/PainterQubits/Unitful.jl
-
Similitude.jl is new more powerful Quantity than Unitful.jl
Not sure why you think more units is more powerful. Defining specific units is seldom the difficult part of dealing with units in code. I'd say that just looking at the tests for Unitful (excluding the separate tests for dates) to the tests of Similitude that there seems to be a lot more functionality in Unitful. What are the advantages of these alternate packages? And I do not think focusing on "more powerful" is too useful unless qualified appropriately.
-
ModelingToolkit, Modelica, and Modia: The Composable Modeling Future in Julia
It's really two separate problems but they kinda interact.
Unitful quantities with heterogeneous units don't have a `zero` function that works correctly, which gets in the way inside numerical routines. [0] There are other places where 0 or 1 is added, which is an error for quantities but not for plain real numbers. [1]
Zygote doesn't handle mutating arrays. [2]
[0]: https://github.com/PainterQubits/Unitful.jl/pull/472
-
Atlas, a (hopefully) better engineering IDE
Julia has the Unitful package [1], which does a decent job. It's quite ergonomic, and Julia's design helps with making existing code/libraries play nicely with Unitful-encoded units/values.
[1] https://github.com/PainterQubits/Unitful.jl
- Lotus 1-2-3 arbitrary resolution
-
GNU Units
I've seen a few before, and a quick search yielded a bunch for me, right off the bat. By no means exhaustive:
Julia: https://github.com/PainterQubits/Unitful.jl
Python: https://pint.readthedocs.io/en/0.6/
C++: https://github.com/nholthaus/units
etc.
And yes, it has always struck me as strange that date/time/calendar libraries are standard as canonical libraries shipped with language distributions, but units are not.
What are some alternatives?
unix-v6 - UNIX 6th Edition Kernel Source Code
gnu-units - GNU Units (mirror)
Ruby Units - A unit handling library for ruby
Zygote-Mutating-Arrays-WorkAround.jl - A tutorial on how to work around ‘Mutating arrays is not supported’ error while performing automatic differentiation (AD) using the Julia package Zygote.
lasercrabs - Abandoned hybrid singleplayer/multiplayer shooter project formerly known as DECEIVER
NonlinearSolve.jl - High-performance and differentiation-enabled nonlinear solvers (Newton methods), bracketed rootfinding (bisection, Falsi), with sparsity and Newton-Krylov support.
boltstream - Boltstream Live Video Streaming Website + Backend
UnitSystems.jl - Physical unit systems (Metric, English, Natural, etc...)
Flythrough.Space - Top down space captain RPG
uom-se - JSR 363 - Implementation for Java SE 8