Skip to content

Instantly share code, notes, and snippets.

View isen0011's full-sized avatar

Shawn Isenhart isen0011

  • University of Minnesota
View GitHub Profile
#!/bin/bash
set -x
set +e
ISSUE=source-order
ROOT_DIR=/tmp/repro-$ISSUE
REPO_DIR=$ROOT_DIR/repo
mkdir -p $ROOT_DIR
rm -rf $REPO_DIR
@isen0011
isen0011 / notes.md
Last active July 6, 2023 13:57
Ember queue signage notes

Ember queue signage notes

Core overall function: Listen to messages from Faye about changes to the queue or people being called. When getting a message, normalize the incoming message data, and update the display based on the new data.

If several people are called at once, things get tricky so that we can allow each student some time displayed on the calling screen.

Weirdness with the calling logic to aviod collisions

The calling aviodence logic is here: https://github.umn.edu/asrweb/queue_signage/blob/9659a7fd5d96c53b2c34d4673a66e9c082c83c69/app/routes/visitors.js#L56