insect
Unitful.jl
Our great sponsors
insect | Unitful.jl | |
---|---|---|
24 | 9 | |
3,153 | 575 | |
- | 1.4% | |
4.9 | 7.2 | |
about 2 months ago | 8 days ago | |
PureScript | 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.
insect
-
Show HN: Numbat – A programming language with physical dimensions as types
Apparently this replaces https://github.com/sharkdp/insect
- Insect – high precision scientific calculator with support for physical units
- The Icculus Microgrant is giving out 250 dollar grants to open source projects, please brag about your project(s) in this thread so I can see them!
-
What projects do you wish there was a self hosted version of
You might like https://insect.sh/ ;)
- Show HN: I made a web-based notepad with a built in unit calculator
-
ka: a calculator language for the command line
For the record I use insect.
-
Looking to build a plugin for logseq. Your problems needed!
https://github.com/sharkdp/insect seems to be somewhat similar, but it's mostly for physical units. However, it's the only opensource one that is embeddable.
-
Ask HN: Do you use a physical calculator in your day job, and why?
Insect: https://github.com/sharkdp/insect
It is a bit slow but has decent features, including some physical units support.
I set up Tilda (or another Guake equivalent; I tried a bunch of them and can’t remember on which I settled in the end) to run it automatically when a terminal is opened, when pressing Scroll Lock. It’s quite neat: when I need to do a quick calculation, I just hit Scroll Lock, which spawns a drop down terminal with the focus; then type whatever I want to calculate; then control-D to dismiss the drop down terminal and I am back in whatever I was doing without moving either hand off the keyboard.
I do more or less the same thing on my Mac with Alfred.
-
Kagi Search – Public Beta
I'm in the same boat and will pay for Kagi, though I have a different interaction with a search engine and thought you might like the counterpoint. Notably, I don't use Google for most of what you described:
Translation: I use DeepL instead (google is doing poorly on Asian languages)
Conversion: not having much need for imperial but I use this for all unit conversion (though usually directly in my terminal): https://insect.sh/
Wikipedia: if I type Wikipedia+something my browser automatically use the wiki engine (chrome can do that too)
Word definition: on OSX I long press on the trackpad and the definition pops up (across languages, translation too for single words)
Lyrics: Spotify show them now! (admittedly that's a recent feature)
-
anyone know a calculator that can count to unreasonably high numbers? I'm talking x*10^1000 and stuff??
insect.sh goes up to about 109 × 1015.
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?
kalk - Scientific calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
gnu-units - GNU Units (mirror)
TRex - Copy any text on your screen, stop retyping.
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.
uom - Units of measurement -- type-safe zero-cost dimensional analysis
NonlinearSolve.jl - High-performance and differentiation-enabled nonlinear solvers (Newton methods), bracketed rootfinding (bisection, Falsi), with sparsity and Newton-Krylov support.
Copyfish - Copy, paste and translate text from images, videos and PDFs with this free Chrome extension
UnitSystems.jl - Physical unit systems (Metric, English, Natural, etc...)
macOCR - Get any text on your screen into your clipboard.
Ruby Units - A unit handling library for ruby
calc - C-style arbitrary precision calculator
uom-se - JSR 363 - Implementation for Java SE 8