Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second version of the Leios simulator #6

Merged
43 commits merged into from
Jul 17, 2024
Merged

Second version of the Leios simulator #6

43 commits merged into from
Jul 17, 2024

Commits on Jul 16, 2024

  1. Add initial scaffolding

    It currently features a clock and nodes that trace the slot number.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    46a421e View commit details
    Browse the repository at this point in the history
  2. Incorporate some simple logic for IB production.

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    cf3f6af View commit details
    Browse the repository at this point in the history
  3. Implement a simple outside world model

    ... and hook it up to the simulation.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c0d079d View commit details
    Browse the repository at this point in the history
  4. Implement FFD in the outside world model

    via priority queues.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    cd6bf43 View commit details
    Browse the repository at this point in the history
  5. Add the notion of node bandwidth

    This has influence on the how long it takes for a node to receive a message.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    2aca0fb View commit details
    Browse the repository at this point in the history
  6. Add EB production logic

    This commit incorporates parameters `L`, λ.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    39d0e3c View commit details
    Browse the repository at this point in the history
  7. Change the type of f_I and f_E to Rational

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    ce69df0 View commit details
    Browse the repository at this point in the history
  8. Update the next steps

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    60c7da4 View commit details
    Browse the repository at this point in the history
  9. Connect the new model to the frontend.

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    728501b View commit details
    Browse the repository at this point in the history
  10. Incorporate some review comments.

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    e7289fa View commit details
    Browse the repository at this point in the history
  11. Add support for plotting the IB queue size.

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    5ae15cb View commit details
    Browse the repository at this point in the history
  12. Use a more realistic IB schedule

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    17fdbcb View commit details
    Browse the repository at this point in the history
  13. Use a more realistic EB schedule.

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    3c5168a View commit details
    Browse the repository at this point in the history
  14. Minor

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    2ffb137 View commit details
    Browse the repository at this point in the history
  15. Add a plot showing: IB created, linked IB, dropped IB x slot.

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    950a5a0 View commit details
    Browse the repository at this point in the history
  16. Modify the page layout

    - Use the Bootstrap library.
    - Add buttons to start and stop the simulation.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    ea77e24 View commit details
    Browse the repository at this point in the history
  17. Correct the id of the f_I input field

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    004e6b9 View commit details
    Browse the repository at this point in the history
  18. Set min/max ranges for the parameters input fields.

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    e78277c View commit details
    Browse the repository at this point in the history
  19. Run one simulation instance per web-socket connection

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    0058d4a View commit details
    Browse the repository at this point in the history
  20. Fourmulize code

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    7f25a27 View commit details
    Browse the repository at this point in the history
  21. Try building and pushing docker image

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    fdb4cc3 View commit details
    Browse the repository at this point in the history
  22. Fix path to leios executable in dockerfile

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c1d6fb5 View commit details
    Browse the repository at this point in the history
  23. Add an event listener for changing L.

    This commit also:
    
    - Changes the order of the parameters. `L` appears before λ since the
    latter is defined in terms of the former.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    2566315 View commit details
    Browse the repository at this point in the history
  24. Add endpoints for changing the remaining parameters

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c4ea562 View commit details
    Browse the repository at this point in the history
  25. Add input fields for the remaining parameters

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    7645fe6 View commit details
    Browse the repository at this point in the history
  26. Connect the parameter input fields to their endpoints

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    33a49b9 View commit details
    Browse the repository at this point in the history
  27. Update UI bounds on f_I input field.

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    395d406 View commit details
    Browse the repository at this point in the history
  28. Use scatter plot instead of line plot and fix references to parameter…

    …s field
    
    - Blocks might arrive not in slot order, therefore a scatter plot is
    more suitable.
    - `_L` is now being used consistently to access the `L` value.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    61c0dd0 View commit details
    Browse the repository at this point in the history
  29. Remove global constants

    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    636c0ed View commit details
    Browse the repository at this point in the history
  30. Fix several issues

    - Function 'nextSlot' would return slot 0 even if the tick function
    was paused (waiting on a TVar).
    - I did not use the set size for IBs, which was part of the parameters. I was using `gIBSize`.
    dnadales authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    b7c6253 View commit details
    Browse the repository at this point in the history
  31. Tried deployment using AWS

    Gave up after a while as there are too many moving parts, and setting up
    networking and permissions correctly is a major PITA
    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    f8dc443 View commit details
    Browse the repository at this point in the history
  32. Ci pushes to google container registry leios-docker

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    6b38538 View commit details
    Browse the repository at this point in the history
  33. Allow environment variable PORT to override listening port

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    b6e66b1 View commit details
    Browse the repository at this point in the history
  34. Add GH action to deploy to Cloud run

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    4a0d0f1 View commit details
    Browse the repository at this point in the history
  35. Add terraform configuration for cloud run

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    b12c9c6 View commit details
    Browse the repository at this point in the history
  36. Use wss:// scheme when over https

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    61d0784 View commit details
    Browse the repository at this point in the history
  37. Use correct URL for GET/POST

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    8a036b4 View commit details
    Browse the repository at this point in the history
  38. Fix URL construction in client and logging in server

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    637ca31 View commit details
    Browse the repository at this point in the history
  39. Minor reformatting and linting

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    3819b61 View commit details
    Browse the repository at this point in the history
  40. UI styling changes

    * added tooltip character
    * link CSS
    * consistent ids for inputs
    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c7eaa22 View commit details
    Browse the repository at this point in the history
  41. Added tooltips

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c027066 View commit details
    Browse the repository at this point in the history
  42. Serve Leios logo as favicon

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    b507480 View commit details
    Browse the repository at this point in the history
  43. Set UTF-8 locale in docker image

    abailly authored and Arnaud Bailly committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    ad37549 View commit details
    Browse the repository at this point in the history