home.social

#unitconversion — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #unitconversion, aggregated by home.social.

  1. #ReleaseThursday Happy to announce that thi.ng/units finally has a little CLI wrapper to perform not only simple unit conversions, but also more advanced calculations, using the existing Lisp-like S-expression based DSL and built-in units and constants.

    docs.thi.ng/umbrella/units/#cl

    The CLI also provides a list command to print out the 172 built-in units, their canonical symbol, any aliases and full names. The output can also be filtered via optional regexp pattern. See attached readme screenshots & more advanced linked example:

    mastodon.thi.ng/@toxi/11604322

    Hope some of you find this as useful as I do! Any questions, please ask!

    #ThingUmbrella #UnitConversion #CLI #Calculator #TypeScript #Lisp #DSL #OpenSource

  2. #ReleaseThursday Happy to announce that thi.ng/units finally has a little CLI wrapper to perform not only simple unit conversions, but also more advanced calculations, using the existing Lisp-like S-expression based DSL and built-in units and constants.

    docs.thi.ng/umbrella/units/#cl

    The CLI also provides a list command to print out the 172 built-in units, their canonical symbol, any aliases and full names. The output can also be filtered via optional regexp pattern. See attached readme screenshots & more advanced linked example:

    mastodon.thi.ng/@toxi/11604322

    Hope some of you find this as useful as I do! Any questions, please ask!

    #ThingUmbrella #UnitConversion #CLI #Calculator #TypeScript #Lisp #DSL #OpenSource

  3. #ReleaseThursday Happy to announce that thi.ng/units finally has a little CLI wrapper to perform not only simple unit conversions, but also more advanced calculations, using the existing Lisp-like S-expression based DSL and built-in units and constants.

    docs.thi.ng/umbrella/units/#cl

    The CLI also provides a list command to print out the 172 built-in units, their canonical symbol, any aliases and full names. The output can also be filtered via optional regexp pattern. See attached readme screenshots & more advanced linked example:

    mastodon.thi.ng/@toxi/11604322

    Hope some of you find this as useful as I do! Any questions, please ask!

    #ThingUmbrella #UnitConversion #CLI #Calculator #TypeScript #Lisp #DSL #OpenSource

  4. #ReleaseThursday Happy to announce that thi.ng/units finally has a little CLI wrapper to perform not only simple unit conversions, but also more advanced calculations, using the existing Lisp-like S-expression based DSL and built-in units and constants.

    docs.thi.ng/umbrella/units/#cl

    The CLI also provides a list command to print out the 172 built-in units, their canonical symbol, any aliases and full names. The output can also be filtered via optional regexp pattern. See attached readme screenshots & more advanced linked example:

    mastodon.thi.ng/@toxi/11604322

    Hope some of you find this as useful as I do! Any questions, please ask!

    #ThingUmbrella #UnitConversion #CLI #Calculator #TypeScript #Lisp #DSL #OpenSource

  5. #ReleaseThursday Happy to announce that thi.ng/units finally has a little CLI wrapper to perform not only simple unit conversions, but also more advanced calculations, using the existing Lisp-like S-expression based DSL and built-in units and constants.

    docs.thi.ng/umbrella/units/#cl

    The CLI also provides a list command to print out the 172 built-in units, their canonical symbol, any aliases and full names. The output can also be filtered via optional regexp pattern. See attached readme screenshots & more advanced linked example:

    mastodon.thi.ng/@toxi/11604322

    Hope some of you find this as useful as I do! Any questions, please ask!

    #ThingUmbrella #UnitConversion #CLI #Calculator #TypeScript #Lisp #DSL #OpenSource

  6. #ReleaseThursday #OpenSourceXmas A little present (to some of you)... Been meaning to release these recent additions before the holidays, but only getting around to it now. The most important new things are these:

    thi.ng/units now includes a Lisp-like formula DSL to combine, calculate and convert quantities and units in a much concise manner than via the normal TypeScript API (see attached examples)

    thi.ng/pixel-io-tiff is a new package (only 2.6KB) to provide TIFF image format parsing and EXIF/GPS metadata extraction (without having to parse the image fully). Also includes format conversions for thi.ng/pixel buffers (grayscale 8/16bit, RGB 24/32bit), but only supports most common TIFF features (e.g. tiles, strips, uncompressed or deflate). Supports multiple sub-images... Write support will be released early next year

    thi.ng/math now has conversions to/from fractions, using "continued fractions" for best possible precision (also includes recursion-free implementations of GCD & LCM).

    thi.ng/binary now provides `DATAVIEW`, a JS-native DataView-like API tailored for using `Uint8Array` or vanilla JS numeric arrays (assuming the array contains u8 values) and accessors for signed/unsigned 8-64bit word sizes and little/big endian ordering.

    See main #ThingUmbrella readme for other recent updates:
    github.com/thi-ng/umbrella?tab

    #TypeScript #JavaScript #OpenSource #DSL #Lisp #UnitConversion #TIFF #Binary #Fraction