Skip to content

Omacus v0.1.15

Choose a tag to compare

@github-actions github-actions released this 17 Oct 22:12

What's new

  • Calculate off the window's thread, reuse unchanged lines, same limit for every line (#12)
    • The engine saves the state after each line (fend's variables, the total's
      block, prev, names). Engine::eval_sheet resumes from the first line that
      changed, so typing at the end of a long sheet redoes one line; answers from
      the clock (today, time in Tokyo) are refreshed every time.
    • The desktop app calculates on a worker thread (src/calc.rs) that keeps each
      sheet's saved calculation and drops older text when newer arrives: the window
      never waits on math. Copying the sheet on screen reuses its answers when they
      match its text exactly.
    • The web app reuses each sheet's calculation the same way.
    • The sheet-wide budget is gone: every line gets the same 150 ms, so a line's
      answer no longer depends on where it sits (from the second review).
    • Tests: reused answers equal a full recalculation at every keystroke of every
      sheet in cases.txt and through random edits; identical lines get identical
      answers; the worker never blocks its caller and ends on the newest text.

Install

Platform Download
macOS (Apple Silicon) omacus-macos-arm64.dmg
macOS (Intel) omacus-macos-x86_64.dmg
Windows (x64) omacus-windows-x86_64.zip
Ubuntu / Debian omacus-linux-x86_64.deb
Fedora / openSUSE omacus-linux-x86_64.rpm
Omarchy / Arch / any Linux omacus-linux-x86_64.tar.gz or the installer below

Omarchy (installs the app, then offers a keybind, SUPER + CTRL + ALT + = by default, and a floating window rule):

curl -fsSL https://omacus.com/install | bash

Any other Linux (installs to ~/.local/bin with a launcher entry):

curl -fsSL https://omacus.com/install | bash

Ubuntu / Debian: sudo apt install ./omacus-linux-x86_64.deb
Fedora: sudo dnf install ./omacus-linux-x86_64.rpm

macOS: open the .dmg and drag Omacus to Applications. It isn't notarized yet, so the first
time right-click the app and choose Open, or run xattr -dr com.apple.quarantine /Applications/Omacus.app.

Windows: unzip and run omacus.exe. If SmartScreen warns about an unknown publisher, choose
More info → Run anyway. It works from a terminal too: omacus.exe "$100 in INR".

Checksums are in SHA256SUMS.txt.

Full changelog: v0.1.14...v0.1.15