From e3cd7097626347dd3858b54d27e0b2b38591046a Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 14:56:25 -0400 Subject: [PATCH 01/15] Update README.md --- demos/array-mpc-as-a-service/README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/demos/array-mpc-as-a-service/README.md b/demos/array-mpc-as-a-service/README.md index b16e142b1..a0ad12490 100644 --- a/demos/array-mpc-as-a-service/README.md +++ b/demos/array-mpc-as-a-service/README.md @@ -73,6 +73,32 @@ The demo/test can be run from the command line without videos. image + +## There is something more... 📦 +The demo can be run without Cypress + +**1. Run the server & computation parties** + +```shell + node demos/array-mpc-as-a-service/server.js & echo $! > SERVER_PID + sleep 10 + echo "Initiating three computational parties" + node demos/array-mpc-as-a-service/compute-party.js config.json & + node demos/array-mpc-as-a-service/compute-party.js config.json & + node demos/array-mpc-as-a-service/compute-party.js config.json +``` + +**2. Experiment on a Browser** + +Visit http://localhost:8080/demos/array-mpc-as-a-service/client.html + +**3. Connect and Submit** + +
+image +
+ + ## Code Structure ⌨️ This Cypress-based demo adopts the web-worker system to emulate multiple threaded execution. From 6b7e87390c84a41891902307d333f8dac1d8c69e Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 14:59:00 -0400 Subject: [PATCH 02/15] Update README.md --- demos/array-shell-sort/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/demos/array-shell-sort/README.md b/demos/array-shell-sort/README.md index 8e164d53c..4656f0346 100644 --- a/demos/array-shell-sort/README.md +++ b/demos/array-shell-sort/README.md @@ -64,6 +64,25 @@ npx cypress run --config-file demos/cypress.config.ts --spec "demos/array-shell- image +## There is something more... 📦 +The demo can be run without Cypress + +**1. Run the server in the same way** + +```shell +node demos/support/server.ts +``` + +**2. Experiment on a Browser** + +Visit http://localhost:8080/demos/array-shell-sort/client.html + +**3. Connect and Submit** + +
+ image +
+ ## Code Structure ⌨️ This Cypress-based demo adopts the web-worker system to emulate multiple threaded execution. From be350b96c0ad25ab77165d66f794f6f6bbdd71ac Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:01:01 -0400 Subject: [PATCH 03/15] Update README.md --- demos/array-shuffle/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/demos/array-shuffle/README.md b/demos/array-shuffle/README.md index b8f74e2cd..4a83c7fb6 100644 --- a/demos/array-shuffle/README.md +++ b/demos/array-shuffle/README.md @@ -61,6 +61,25 @@ npx cypress run --config-file demos/cypress.config.ts --spec "demos/array-shuffl image +## There is something more... 📦 +The demo can be run without Cypress + +**1. Run the server in the same way** + +```shell +node demos/support/server.ts +``` + +**2. Experiment on a Browser** + +Visit http://localhost:8080/demos/array-shuffle/client.html + +**3. Connect and Submit** + +
+image +
+ ## Code Structure ⌨️ This Cypress-based demo adopts the web-worker system to emulate multiple threaded execution. From 23b2bfdae15d80df3c0d045881b8ad10d46360a1 Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:06:45 -0400 Subject: [PATCH 04/15] Update README.md --- demos/array-substring/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/demos/array-substring/README.md b/demos/array-substring/README.md index 39ae8db2a..5893c1056 100644 --- a/demos/array-substring/README.md +++ b/demos/array-substring/README.md @@ -69,6 +69,27 @@ npx cypress run --config-file demos/cypress.config.ts --spec "demos/array-substr image +## There is something more... 📦 +The demo can be run without Cypress + +**1. Run the server in the same way** + +```shell +node demos/support/server.ts +``` + +**2. Experiment on a Browser** + +Visit http://localhost:8080/demos/array-substring/client.html + +**3. Connect and Submit** + +
+image +
+ +> For this demo, participant 1 must submit a string, and participant 2 must submit a character to find in the P1's string. + ## Code Structure ⌨️ This Cypress-based demo adopts the web-worker system to emulate multiple threaded execution. From 35dab7063b36a9e101280dc508e93a797c1d3f96 Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:10:03 -0400 Subject: [PATCH 05/15] Update README.md --- demos/array-substring/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/array-substring/README.md b/demos/array-substring/README.md index 5893c1056..b14cd6afa 100644 --- a/demos/array-substring/README.md +++ b/demos/array-substring/README.md @@ -85,7 +85,7 @@ Visit http://localhost:8080/demos/array-substring/client.html **3. Connect and Submit**
-image +image
> For this demo, participant 1 must submit a string, and participant 2 must submit a character to find in the P1's string. From 135b7eb5a0ad7b3638300b326359bd995f8edf0e Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:14:19 -0400 Subject: [PATCH 06/15] Update README.md --- demos/the-valentine-question/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/demos/the-valentine-question/README.md b/demos/the-valentine-question/README.md index 672620e84..6b397a1ea 100644 --- a/demos/the-valentine-question/README.md +++ b/demos/the-valentine-question/README.md @@ -61,6 +61,25 @@ npx cypress run --config-file demos/cypress.config.ts --spec "demos/the-valentin image +## There is something more... 📦 +The demo can be run without Cypress + +**1. Run the server in the same way** + +```shell +node demos/support/server.ts +``` + +**2. Experiment on a Browser** + +Visit http://localhost:8080/demos/the-valentine-question/client.html + +**3. Connect and Submit** + +
+ image +
+ ## Code Structure ⌨️ This Cypress-based demo adopts the web-worker system to emulate multiple threaded execution. From 5fe60b59697fc05a2dea1980978e0311772d3d1d Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:45:50 -0400 Subject: [PATCH 07/15] Update README.md --- demos/the-valentine-question/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/demos/the-valentine-question/README.md b/demos/the-valentine-question/README.md index 6b397a1ea..36f60161e 100644 --- a/demos/the-valentine-question/README.md +++ b/demos/the-valentine-question/README.md @@ -15,18 +15,18 @@ The implementation of this protocol is located in image - 3) Click a demo protocol of your choice +3) Click a demo protocol of your choice
image
From 58df7449c2682dba2c5b15b40cd7ed9dceb06ccc Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:46:54 -0400 Subject: [PATCH 08/15] Update README.md --- demos/array-binary-search/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/array-binary-search/README.md b/demos/array-binary-search/README.md index 01d1e1b60..419dedb41 100644 --- a/demos/array-binary-search/README.md +++ b/demos/array-binary-search/README.md @@ -27,16 +27,16 @@ node demos/support/server.ts **2. Run from the Cypress Test Runner 🎥 (with video demos)** - 1) Run `npm run cypress:open` in CML +1) Run `npm run cypress:open` in CML - 2) Choose a browser (Chrome Recommended) +2) Choose a browser (Chrome Recommended)
- image +image
- - 3) Click a demo protocol of your choice + +3) Click a demo protocol of your choice
- image +image
From 30ad42b5eb5d96f153a65473ae8d4fd242d3c74b Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:47:29 -0400 Subject: [PATCH 09/15] Update README.md --- demos/array-bubble-sort/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/array-bubble-sort/README.md b/demos/array-bubble-sort/README.md index 85e82bef7..136e7560c 100644 --- a/demos/array-bubble-sort/README.md +++ b/demos/array-bubble-sort/README.md @@ -22,16 +22,16 @@ node demos/support/server.ts **2. Run from the Cypress Test Runner 🎥 (with video demos)** - 1) Run `npm run cypress:open` in CML +1) Run `npm run cypress:open` in CML - 2) Choose a browser (Chrome Recommended) +2) Choose a browser (Chrome Recommended)
- image +image
- - 3) Click a demo protocol of your choice + +3) Click a demo protocol of your choice
- image +image
**3. Interpret the Result 🧐** From 3447668cb6a79eba7e30f6c3463a659175c1a3a6 Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:47:52 -0400 Subject: [PATCH 10/15] Update README.md --- demos/array-concat/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/array-concat/README.md b/demos/array-concat/README.md index 1d53234c0..634e1dd63 100644 --- a/demos/array-concat/README.md +++ b/demos/array-concat/README.md @@ -27,16 +27,16 @@ node demos/support/server.ts **2. Run from the Cypress Test Runner 🎥 (with video demos)** - 1) Run `npm run cypress:open` in CML +1) Run `npm run cypress:open` in CML - 2) Choose a browser (Chrome Recommended) +2) Choose a browser (Chrome Recommended)
- image +image
- - 3) Click a demo protocol of your choice + +3) Click a demo protocol of your choice
- image +image
From a4b8bdda235f1d0f2dd970dfca3469781ab57bd3 Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:48:19 -0400 Subject: [PATCH 11/15] Update README.md --- demos/array-merge-sort/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/array-merge-sort/README.md b/demos/array-merge-sort/README.md index 0a112fc49..5849ae4af 100644 --- a/demos/array-merge-sort/README.md +++ b/demos/array-merge-sort/README.md @@ -20,16 +20,16 @@ node demos/support/server.ts **2. Open from the Cypress Test Runner 🎥 (with video demos)** - 1) Run `npm run cypress:open` in CML +1) Run `npm run cypress:open` in CML - 2) Choose a browser (Chrome Recommended) +2) Choose a browser (Chrome Recommended)
- image +image
- - 3) Click a demo protocol of your choice + +3) Click a demo protocol of your choice
- image +image
From acfee287c3fdf9bb95f2d95756a7d92b360f4d4c Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:48:49 -0400 Subject: [PATCH 12/15] Update README.md --- demos/array-mpc-as-a-service/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/array-mpc-as-a-service/README.md b/demos/array-mpc-as-a-service/README.md index a0ad12490..3927c7d68 100644 --- a/demos/array-mpc-as-a-service/README.md +++ b/demos/array-mpc-as-a-service/README.md @@ -26,16 +26,16 @@ node demos/array-mpc-as-a-service/compute-party.js config.json **3. Open the Cypress Test Runner 🎥 (with video demos)** - 1) Run `npm run cypress:open` in CML + 1) Run `npm run cypress:open` in CML - 2) Choose a browser (Chrome Recommended) + 2) Choose a browser (Chrome Recommended)
- image + image
- - 3) Click a demo protocol of your choice + + 3) Click a demo protocol of your choice
- image + image
From c7aa5c67c2d28446032f51dedc24d492a06e1606 Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:49:08 -0400 Subject: [PATCH 13/15] Update README.md --- demos/array-shell-sort/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/array-shell-sort/README.md b/demos/array-shell-sort/README.md index 4656f0346..f5a590547 100644 --- a/demos/array-shell-sort/README.md +++ b/demos/array-shell-sort/README.md @@ -20,16 +20,16 @@ node demos/support/server.ts **2. Run from the Cypress Test Runner 🎥 (with video demos)** - 1) Run `npm run cypress:open` in CML +1) Run `npm run cypress:open` in CML - 2) Choose a browser (Chrome Recommended) +2) Choose a browser (Chrome Recommended)
- image +image
- - 3) Click a demo protocol of your choice + +3) Click a demo protocol of your choice
- image +image
From 6eb0007d86782931c18fe41931aa5ccc538cc12c Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:49:43 -0400 Subject: [PATCH 14/15] Update README.md --- demos/array-shuffle/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/array-shuffle/README.md b/demos/array-shuffle/README.md index 4a83c7fb6..cee866ace 100644 --- a/demos/array-shuffle/README.md +++ b/demos/array-shuffle/README.md @@ -17,16 +17,16 @@ node demos/support/server.ts **2. Run from the Cypress Test Runner 🎥 (with video demos)** - 1) Run `npm run cypress:open` in CML +1) Run `npm run cypress:open` in CML - 2) Choose a browser (Chrome Recommended) +2) Choose a browser (Chrome Recommended)
- image +image
- - 3) Click a demo protocol of your choice + +3) Click a demo protocol of your choice
- image +image
From 3cf56bff75400c498f6d6f89cc7309b5dc7c779f Mon Sep 17 00:00:00 2001 From: Snafkin547 <62607343+Snafkin547@users.noreply.github.com> Date: Tue, 7 May 2024 15:50:08 -0400 Subject: [PATCH 15/15] Update README.md --- demos/array-substring/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/array-substring/README.md b/demos/array-substring/README.md index b14cd6afa..eff68feb5 100644 --- a/demos/array-substring/README.md +++ b/demos/array-substring/README.md @@ -25,16 +25,16 @@ node demos/support/server.ts **2. Run from the Cypress Test Runner 🎥 (with video demos)** - 1) Run `npm run cypress:open` in CML +1) Run `npm run cypress:open` in CML - 2) Choose a browser (Chrome Recommended) +2) Choose a browser (Chrome Recommended)
- image +image
- - 3) Click a demo protocol of your choice + +3) Click a demo protocol of your choice
- image +image