/arc_hive

cs1 Group Capstone Project

Primary LanguageJavaScript

Lambda School Streaming Content: Arc Hive

Click here or on the image to see our group presentation!

Arc_Hive Demo Day Presentation

  • Collected notes for cs1 Group Capstone Project: Lois, Tyge, Evan, Ryan & Patrick
  • NOTE: click on the ▶︎ black ▶︎ triangles ▶︎ to expand a section

Arc Hive Server API and User Flow

KickOff meeting

Lecture organizer/viewer idea:

Rough Sketch Ideas From Kickoff Meeting

  • House/organize daily schedule/videos (replace spreadsheets, Piazza)
  • Can sort lectures by topics, upvote, basically similar functionality to Piazza but more friendly (and more video-focused)
  • Slackbot to expose/share, make it more efficient to find recent videos
    • Use Slackbot to send videos to the app?
    • Automate other tasks w/Slack
    • Still probably have separate webapp, but heavy Slack integration possibly
  • Feature: reminder to upload video, maybe even upload automatically (could be extended to another project idea itself)
  • Challenge: app would have to accommodate delay in video upload/processing
  • Challenge: permissions, auth, acl, etc.

Weekly presentations to cs1

Minimum Viable Product

  • a teacher pastes a youtube link into Slack with a slash command arc or /arc https://youtu.be/ZihgMcrHOF4
  • a student retrieves chronological list of youtube vids /hive
  • post content with timestamp, instructor, lecture title, cohort & url

Additional targets:

  • @channel notifications √ <!channel>
  • prevent non-YouTube links/posts
  • Only instructors ans TA's may post content, Students constrained to retrieval
  • unit tests
  • documentation (incl. code comments)

Project Management

User Flow Chart

version 1 and now with Airtable!

Trello

Tyge's Meeting Notes

API's

Slack

Airtable

Authentication Middleware

Zapier

YouTube

NOTES

Aaron's set-up notes from Slack

Project and Group Set-up

Please chat amongst your group, form a private slack channel (wacky team names encouraged), and invite your lecturer. Once that's all set, you'll work with them to continue getting repos/boilerplate set up.

Immediate goals: grouped with Slack channel and GitHub org, basic boilerplate repo (with initial tech decisions) created. Tomorrow you'll start getting Agile, set up Trello, do issue estimation/prioritization/assignment. From Wednesday on - code!

We want groups to work independently, so you get a feel for the "real world" of software engineering - we will of course be available, and if you're blocked don't hesitate to reach out, but don't feel like you need our sign off for everything either. See us as stakeholders who want to see your project delivered (and help you make high level decisions), but not fulltime micromanagers who need to know every detail along the way.

Your group should self-organize and coordinate a schedule that works for you, and invite us (the lecturers) to your meetings - we won't attend every one, but should make it to Monday (sprint planning) and Friday (demo/review). Tues-Thurs you should have standups in the morning, which lecturers may or may not attend as time allows. We'll go over more details about this process tomorrow.

Also, as we get going with a full git workflow (branching, merging pull requests) we want to encourage you to involve TAs as code reviewers. They probably know more about React Native and such than I do at least, and can help you make good decisions as you work day to day. Again, more details tomorrow, but wanted to give you all a high level picture now so you know what to expect.

If you have any concerns about any of the above - group assignments, schedule, process, etc. - please DM me as soon as possible.

One other good initial task (once you have a slack channel) - copy the section of the kickoff doc corresponding to your project, make a new doc, and elaborate on it together. Keep brainstorming, but also start taking a more critical/realistic eye to narrow scope and really define what it is you want to achieve over the next ~4-6 weeks.

Aaron's git branch notes from Slack:

git branching

I'll give a few-sentence version of my git branching approach - caveat is that their are a ton of these, none is definitively right or wrong, use whatever is right for your team/context and that you all agree on. Same for most process stuff, as you've learned.

Basically, master branch is the main branch - code is delivered by merging into master.

But you shouldn't directly commit to master - the exception would be "emergency" bugfix commits that need to be deployed right away (since master is the code you deploy).

Forks is a GitHub thing and not a git thing - lets you make your own complete copy of a repo. A branch on the other hand is just like another path in the repo - git repos can be envisioned as trees, actually, if you want to flash back to data structures.

So a branch really is a branch in that sense, while a fork is your own custom tree.

For the purposes of this project I'd encourage your work to be in branches in the org repo, not forks of the repo - that's how most real work happens, since the company e.g. pays for a GitHub org that can have private repos.

Anyway, aside from emergency commits you should work in a branch, and in general you should have one branch for each feature/issue/card you're working on. You should also only be working on a few things at a time, so there shouldn't be that many active branches.

The team should agree on a branch naming convention - one that I'm partial to is: type/user_short_description

Type is usually one of feature or bugfix, or maybe documentation. User is your GitHub username. Short description is a short (1-3 words) summary of what it is.

And you're cloning the actual org repo. (edited)

So an example branch name may be feature/soycode_add_widgets

Yeah it'll make sense pretty quickly - also I do all git interaction command line, so I'll be giving those commands here, but specific IDE integration may vary.

The basic workflow though is:

  1. Clone the org repo
  2. git checkout -b type/user_short_description to make the branch (this also switches you to it)
  3. Work as normally - edit files, make commits.
  4. git push should work as normal, on your first push you may have to set the upstream e.g. git push --set-upstream origin type/user_short_description

That's what you do to get the code and add your own branch with your commits, and then push it back to GitHub. To actually merge your branch into master when it's done, you can make a pull request on GitHub similar to across forked repos.

The pull request shows the diff and lets people review the code, leave comments, etc. - this is also important, and we'll talk more about it in coming weeks. For now all you need to know is keep an eye out for pull requests, and ask TAs to help code review.

I can demo this later too if that would help.

Does all this make sense so far? Emoticon or questions or such welcome.

Also git checkout branchname is how you just switch between existing branches without making new ones - the -b flag is the special case of making it for the first time.

You can check out branches from other people too, that way you can run their code locally to review it.

  • git branching procedure cheatsheet?
  • git branch merging cheatsheet?

Wishful Thinking

1. Automated Zoom video uploading to YouTube.


Notes on Recording Zoom Meetings Locally

Local Zoom Recording File Sequence

  1. While recording: 1) Recording
  2. While transcoding: 2) Transcoding
  3. When finished: 3) Finished .mp4

macOS default recording directory

  • /Users/<USERNAME>/Documents/Zoom/YYYY-MM-DD HH.MM.SS <USERNAME>'s Zoom Meeting <9_Digit_Number>
  • i.e. ~/Documents/Zoom/YYYY-MM-DD HH.MM.SS <USERNAME>'s Zoom Meeting <9_Digit_Number>
  • e.g. /Users/mixelpix/Documents/Zoom/2017-12-12 11.23.03 Patrick Kennedy's Zoom Meeting 901264977

QUESTIONS

  1. is the 9 digit number just a random number, or does it have some significance? I think it is random. Why is it needed?

Zoom recording flow

  1. .zoom wile recording (Zoom waits until meeting is ended to start converting)
  2. .tmp while converting
  3. .mp4 when done (.zoom and .tmp are deleted, when conversion is finished, the folder containing the converted files is loaded up in the Finder)

QUESTIONS

I think it might be enough for a daemon to keep an eye on any subfolder within the ~/Documents/Zoom directory. Specifically, looking for .mp4 files.

  1. How to handle when to upload .mp4 files? Condition met when "Date Modified" or file "Size" has not changed for a given duration of time?
  2. Should the daemon register .mp4 files which have already been uploaded?
  3. Should the daemon delete .mp4 files which have already been uploaded? Wait a week?
  4. Can the daemon ask for confirmation before uploading? Send a system notification when it sees something to send?

sub-directory search with find

  1. find looks into subfolders
  2. relative ./ path: $ find ./Documents/Zoom -name "*.mp4"
  3. relative ~ path to $HOME directory: find ~/Documents/Zoom -name "*.mp4"


2. Expanded content management

  • Extensive tags per lecture contente.g. React, Redux, React-Native, ES6, MongoDB, etc.
  • Timecode links to lecture video sections, e.g. https://youtu.be/ZihgMcrHOF4 is the Git FU lecture video, and having it prepended with hour, minute, seconds timecode stamps makes the link load at a specific time, e.g. https://youtu.be/ZihgMcrHOF4?t=13m46s loads to 13 minutes and 47 seconds where Ryan starts talking about using the git status command.

3. Custom/Propritary Lambda School video/audio file hosting for all lectures, brownbags and in-house generated streaming content.

Logo Ideas:

Logo


Logo