Replies: 9 comments 8 replies
-
Neil-
I could not find this equivalent thread in Slack; on what channel
(presumably an OSET Slack account)? No big deal as I can easily track here
too.
Gregory Miller
Co-Founder, COO (*He/Him*)
OSET Institute, Inc. <http://www.osetinstitute.org> | TrustTheVote Project
<http://www.trustthevote.org> | ElectOS <https://electos.org/> | Podcast
<https://deadmendontvote.org/>
530 Lytton Avenue, 2nd Floor
Palo Alto, CA 94301
Main: 650.600.1450
Mobile: 503.703.5150
…On Wed, Jan 11, 2023 at 6:05 AM Neil Johnson ***@***.***> wrote:
*I originally posted this to Slack, copied here so we can track this
conversation here -- NJ*
Before we pick a frontend tech stack, I suggest the following:
1. Select the backend tech stack. @ion <https://github.com/ion>
recommends FastAPI and I think this is an excellent idea.
2. Sketch out a basic API or data interface to the backend.
3. Create wireframes of the webpages needed for the frontend, perhaps
using something like Figma
4. Then, with all of these elements at least sketched out, select a
tech stack for the front end, most likely some kind of JS framework, or
vanilla HTML / CSS / JS. Since I think I’ll be doing most of the coding
here (it is my day job, when I’m not writing Python) I’d like to have some
input, but I don’t have any existing favorites or agenda besides keeping it
simple.
As far as the backend tech stack, some questions to answer:
- Once the backend gets data from a voter, how does it prepare the
data to be consumed by VTP+? This is truly the heart of the system, and we
want to get this right.
- Do we need to write to persistent storage, or can everything be
stored in the server’s memory?
- Do we need to validate data on the backend? How about the frontend?
What kind of validation?
Answering these questions will help us evaluate the best choice for a
backend server.
—
Reply to this email directly, view it on GitHub
<#51>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFYC2WEL5BR5J36MGLSOCTWR24Y5ANCNFSM6AAAAAATYCQLAM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yeah, sure I am fine with that, especially if the intent is to make this a
public conversation vs. OSET Institute internal; I misunderstood the intent.
Let this conversation flourish here in the wild for sure.
There is a related concern that I've no idea how to address, that I can
take up offline with you.
Cheers
Greg
Gregory Miller
Co-Founder, COO (*He/Him*)
OSET Institute, Inc. <http://www.osetinstitute.org> | TrustTheVote Project
<http://www.trustthevote.org> | ElectOS <https://electos.org/> | Podcast
<https://deadmendontvote.org/>
530 Lytton Avenue, 2nd Floor
Palo Alto, CA 94301
Main: 650.600.1450
Mobile: 503.703.5150
…On Thu, Jan 12, 2023 at 7:18 AM Neil Johnson ***@***.***> wrote:
Hi Greg,
This is actually the preferred place to discuss the VTP+ demo tech stack,
for the exact reasons you cited about Slack. We're really trying to move
the conversation away from Slack and onto GitHub where it can benefit even
more contributors, beyond the small group on a Slack channel or discussion.
It's great to have you in the mix!
—
Reply to this email directly, view it on GitHub
<#51 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFYC2QELBONJFWE4IIA7T3WSAOCTANCNFSM6AAAAAATYCQLAM>
.
You are receiving this because you commented.Message ID:
<TrustTheVote-Project/VoteTrackerPlus/repo-discussions/51/comments/4668735
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Some initial first-round thoughts on the tech stack:
|
Beta Was this translation helpful? Give feedback.
-
Here is a summary of the scripts that voters will want to run via their phones (on the backend in their specific git workspace):
Note that the vote script calls the accept-ballot and cast-ballot scripts and that accept-ballot calls the merge-contest script. The scripts are located here: https://github.com/TrustTheVote-Project/VoteTrackerPlus/tree/master/src/vtp |
Beta Was this translation helpful? Give feedback.
-
Notes from the George Howell in-person Neil-Sandy meeting. Note - perhaps with bad form I am taking the liberty to fill in a few details that we did not actually discuss only for better understanding of these notes. As such, please do not interpret ALL of the below as agreed-to decisions - it is possible that Neil and I misunderstood what the other was saying. So to catch possible instances of that early, I am filling out some detail which in fact might need to be redacted. So please be awake when reading this.
Also, given the nature of the VTP local install and the fact that the (linux) server runs under a single UID, that single UID will have the same active poetry VTP environment for all client side voter connections - only the git clone of the mock git repo will be unique.
The existing https://github.com/TrustTheVote-Project/VTP-RCV-demo seems ok to start accepting client and server side code. Miss anything or misrepresent anything? |
Beta Was this translation helpful? Give feedback.
-
This is a hugely helpful summary of the meeting, thanks!
Greg
Gregory Miller
Co-Founder, COO (*He/Him*)
OSET Institute, Inc. <http://www.osetinstitute.org> | TrustTheVote Project
<http://www.trustthevote.org> | ElectOS <https://electos.org/> | Podcast
<https://deadmendontvote.org/>
530 Lytton Avenue, 2nd Floor
Palo Alto, CA 94301
Main: 650.600.1450
Mobile: 503.703.5150
|
Beta Was this translation helpful? Give feedback.
-
One important point here: It is imperative that I understand as early as
possible the BOM for this demo in May; if there are items of HW or SW that
we need to have on hand for demo purposes, I need visibility for budget
purposes ASAP. We can (and should) take that thread offline.
Thanks!
GAM
…On Fri, Jan 27, 2023 at 2:51 PM Neil Johnson ***@***.***> wrote:
Looks good, thanks for going into detail here. A few notes:
- Item 1, Coffee Quality: I had the cappuccino, so I can't comment on
the flat white -- but from my experience, I think it was probably at least
as good as what I had.
- Item 2, Demo Overview: when you say "router" I think you mean "WiFi
hotspot." This means the demo is accessible within the radius of this local
WiFi LAN, but will not be available to the rest of the Internet.
- Item 5, Client/Server details: I'd actually call this item "Client
Details," because it covers the discussion we had about developing the
client, using HTML, CSS and JavaScript. I suggested that we *don't*
use a JS framework (like React, Next.js, or Angular) for the reasons that
Sandy notes above (learning curve and performance tax, etc.). Please note
there is no direct connection to or dependence on Python or any related
libraries. All communication between the client and the server will happen
via a well-defined API endpoint that resides on the linux box. This means
that the client doesn't care if the web server is running Python or any
other language. The client will only need to read data from and send data
to this API endpoint, likely in some kind of JSON blob.
- Item 6, Action Items: I sent Sandy an invite to a OSET Figma
project. Let me know if you'd like access too!
—
Reply to this email directly, view it on GitHub
<#51 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFYC2QAVJLZUGYUJ42NA33WURGP5ANCNFSM6AAAAAATYCQLAM>
.
You are receiving this because you commented.Message ID:
<TrustTheVote-Project/VoteTrackerPlus/repo-discussions/51/comments/4801330
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Along the lines of running the live demo, we probably want to be able to manually test the whole set-things-up, execute, and tear-things-down - if not automate it all with tests :-). Here are some initial thoughts regarding what we may need/want. At the moment I am thinking these could either be python scripts or makefile entries.
In theory the above would be executed once every 30 minutes, alternatively starting a RCV demo and then a VTP demo (on the same data, hardware, etc). |
Beta Was this translation helpful? Give feedback.
-
Notes from the Haute/Nero Coffee in-person Neil-Sandy 20230131 meeting. Coffee at Haute was good but IMHO George Howell is just better. After about an hour we moved to Nero . FWIIW I find Nero's coffee to be unfortunately inconsistent depending on the barista - and usually not as good as Haute. The meeting began with Neil debriefing me on prior OSET technology that is or could be relevant to VTP. This was very informative and took a while and was very helpful. Not recording those notes here since this is a public VTP discussion board. We then moved to Nero's. After reviewing the "7. Server Details" above we eventually decided to try understanding that and the VTP demo workflow in terms of FastAPI endpoints. And to do this prior to tackling some initial wire framing via [[https://www.figma.com/file/z6cAkP3ZNJRgZYHAhKWiA8/VTP%2B-Demo?node-id=0%3A1&t=og8zKERF62uQ5M97-0]]. In the end we came up with the following initial 5 endpoints:
Other action items and decisions/observations:
|
Beta Was this translation helpful? Give feedback.
-
I originally posted this to Slack, copied here so we can track this conversation here -- NJ
Before we pick a frontend tech stack, I suggest the following:
As far as the backend tech stack, some questions to answer:
Answering these questions will help us evaluate the best choice for a backend server.
Beta Was this translation helpful? Give feedback.
All reactions