HiveBoard Docs Search the docs… Ctrl K Get HiveBoard
Browse the help centre
  1. Help centre
  2. Get started

The single-file app and the Python build

HiveBoard comes in two builds with the same pages, settings and keys: the single-file app this site hands out, and the Python build. What differs.

3 min read HiveBoard 0.1.7 Updated

In short

  • The download on this site is the single-file app: one file per system, with SSH built in and, on Windows, its own window and tray icon.
  • The Python build runs the same pages from Python 3.10 or newer and opens them in your browser.
  • Both read the same data folder — servers, keys, trusted hosts, your own code files — so you can move between them.
  • Only the single-file app keeps finished jobs on your computer, remembers some facts between runs, and has portable mode.

HiveBoard comes in two builds. The single-file app — the one this site hands out — is one file for each system, with everything it needs inside, SSH included. The Python build is the same program run from Python, and the reference implementation: what a job folder means is decided there first.

Both show the same pages, read the same settings, keys and code files, and follow the same safety rules, so you can move between them. Their test suites replay the same job folders, and the two must give the same answer for every one.

To see which one you are running, open Settings → About: beside the version it says Go build (the single-file app) or Python build.

What is the same

  • The pages. The single-file app carries a copy of the Python build’s pages, so every page, tab and button is the same.
  • The data folder. One config.yaml, one keychain, one known_hosts, one connections.log, one engines/ folder for your own codes. A setting one build writes, the other accepts. See the data folder.
  • The codes. The same twenty code files are built into both, and both read your own from engines/. See supported codes.
  • The rules. Reading by default, job control, sign-in, the check of a server’s identity: both suites test the same rules. See HiveBoard’s guarantees.
  • The scheduler. Both work with Slurm, and only Slurm.

What only the single-file app has

Single-file appPython build
Saved jobs: finished jobs kept on this computeryesno — the tab says so
Remembers what it learned between runsyesuntil it stops
Portable mode, --portableyesno
Its own window and tray iconyesa browser tab
Codes shown for other people’s jobswith foreign_job_files: alwaysno
Runs with nothing installedyesneeds Python 3.10+
  • Saved jobs are kept in the data folder’s archive/, and open even when the server cannot be reached. See a server’s page and its tabs.
  • What it remembers — who you are on each server, who owns each job, which folders the server let you read, and a pause after refused reads — is kept in cache.gob.gz. The Python build keeps these only while it runs.
  • The window and tray come with the Windows file; the macOS and Linux files open the dashboard in your browser, and the Linux file shows a tray icon. See the app window and the tray.
  • Portable mode keeps everything in a hiveboard-data folder beside the file. See portable mode.
  • Other people’s jobs. Both builds read another person’s job folder only when you open that job. The single-file app can also tag other people’s jobs in the list, on a server set to foreign_job_files: always. See someone else’s job.

Kerberos

The two get a Kerberos ticket differently. The single-file app gets one itself with the Kerberos password you type, or reads a ticket file that kinit wrote. The Python build uses the ticket your system’s Kerberos already holds — including the one Windows gets when you sign in to a domain — and cannot get one from a password. See Kerberos.

Smaller differences

  • Servers from ~/.ssh/config. The single-file app falls back to the system’s ssh for an entry its own SSH cannot reach. The Python build goes through the entry’s ProxyJump itself, server by server, checking each one’s identity, and starts its ProxyCommand.
  • Certificates. The single-file app offers a key’s certificate before the bare key, as OpenSSH does; the Python build offers the bare key first — one refused offer more on a cluster that takes certificates only.
  • The command line. The Python build has no --no-tray or --portable, and its --tab changes nothing: it always opens a browser tab. See the command line.

Getting the Python build

The Python build is not among the files this site hands out; the download is the single-file app. The Python build needs Python 3.10 or newer and opens HiveBoard in your default browser.

Check yourself

2 quick questions on this page. Nothing is sent anywhere.

  1. Which build keeps finished jobs on your computer, so they still open when the server cannot be reached?

    • The single-file app
    • The Python build
    • Both
    Show the answer

    The single-file app Only the single-file app keeps an archive of finished jobs (the Saved jobs tab); the Python build keeps none and says so there.

  2. You used the single-file app and now run the Python build with the same data folder. What about your servers and keys?

    • They are there — both builds read the same config.yaml, keychain and known_hosts
    • They have to be exported from one and imported into the other
    • The Python build converts them, and the single-file app can no longer read them
    Show the answer

    They are there — both builds read the same config.yaml, keychain and known_hosts The data folder is shared between the builds: one config.yaml, one keychain, one known_hosts, one connection log.

Try it in the app

On your own computer, with HiveBoard open. Tick them off as you go.

Written for HiveBoard 0.1.7, the version on the download page. Examples use a made-up cluster (Ember) and person (zoe). Something here not what you see? Report it from the app.

↑ ↓ to moveEnter to openEsc to close