Hacker News new | ask | show | jobs
by Sholmesy 2325 days ago
Somewhat off topic, but I've thought this would be quite a useful thing to do just for helping my focus while working, kind of like having a permanant rubber duck.

Has anyone ever had experience of "live coding" at a company, and if so, how do you manage things like, not broadcasting a database secret, etc.

Are there any examples of companies letting people record their work? I remember a lot of videos floating around about "a day in the life at X" style things.

2 comments

Actually, I just started doing this yesterday. I had streamed a handful of times on Twitch (channel the same name as my username here) for side projects before, but I just joined a startup as a co-founder and decided to try streaming during work hours.

A couple tips:

  - Use multiple monitors - this is almost a hard requirement
  - Separate secrets into their own files.
  - Exclude secret files from your IDE/editor search
  - Make the second monitor the main monitor so notifications and what not go there
  - On that second (or third monitor), put everything that isn't your editor
Be prepared for few to no viewers. Remember the point is to help keep you focused, not get attention.
Re: secrets, I'd say never work on production while streaming. Don't keep production credentials on your local machine either. Keep a local .env.development file with local credentials ONLY.

If you work in the cloud, usually database secrets and the like will be obscured as well in password fields. Same as in password managers, e.g. 1password has a 'copy' button, and displaying it is an explicit button you have to press.