Live data from Hacker News

How to Run a Live Coding Stream on Twitch Using OBS

jordanlewis.org

151–160 of 193 posts

Re: How to Run a Live Coding Stream on Twitch Using OBS

#151
post #72

One thing that I was surprised not to see in the post was how to deal with editing files that have secrets (such as API keys or email credentials). When I set up OBS, I overlayed a full screen image that says I'm showing something secret which had nothing but a small webcam feed in the bottom right so folks could still see me but not my desktop. It was assigned to a global hotkey toggle of course.

This reminds me of a very funny moment I saw where a streamer was opening his beta invite key for a new game live and realized when he did that he had just leaked the key and someone was going to steal his invite, but he had a 10 second stream delay setup which give him just enough time to rush and enter the key before anyone else could use it.

Twitch has like 30 seconds delay, giving you plenty of time for this kind of moments. If you need more then 30 seconds, then you're out of luck and shouldn't be on Twitch in the first place.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#152
post #41

Jordan was a little vague in terms of how to get the iPad as a source. I know that QuickTime can capture i(Pad)OS devices as an input source so it might be some built in compatibility when the device is connected via lightning/USB, but another route is NDI. [1] NDI is doubly useful as it: 1. is wireless over the local network 2. allows you to use your phone/tablet's camera as a video source, which can be a reasonable…

You can run TeamViewer and feed that as source into OBS.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#153
post #94

Earlier quoted context omitted.

Secrets should really be stored in services, not files outside of maybe a single bootstrap file (unless you're working on the secret storage service itself). I generate my secrets once, send them off to the secrets service, and then my service queries that service. I never see the secrets with my own eyes.

This sounds like a turtles all the way down kind of think... Then is it OK to keep the secret of the secrets service, or something in that sense.

The idea is that you keep the name of the secret, and grant access to the secret manager via roles / policies which are generally open to devs on a subnet for a development environment but locked down in production environments.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#154

Earlier quoted context omitted.

One thing you might enjoy is recording your screen for yourself, and then replaying it at 10x speed. I’ve done this before and it allows you to get some of the feeling of “being watched” with none of the privacy or security problems. Also sometimes it’s neat to see the crazy process of building something, particularly if there is ui or visual design tools involved. Also, I do think there is a whole additional level o…

I run a piece of software called TimeSnapper on my machine that takes a snapshot every 10 seconds of the entire desktop area. I have recordings going all the way back to the very beginning of 2006. It is incredibly interesting to watch some of those old recordings to see what I was working on that month.

That looks cool. Too bad there's not a Linux version. I suspect you could code a screenshot every 10 seconds in bash pretty easily anyway.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#155
post #4

Do a lot of programmers feel like they could be effective on a livestream? I might be in a minority, but my preferred coding style is very non-linear and sporadic, and wouldn't make for an enjoyable viewing experience.

I feel like I could fairly easily as long as I planned ahead exactly the work I need to do. As long as I get to the point where I'm translating a concrete plan of action into code I don't need to pay that much attention.

This would be an odd change to do on longer time scales. I do this kind of now, but I'll think for a few minutes and have maybe five to ten minutes of action planned out. Not precisely code just needing translating, more of a rough sketch to flesh out.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#156

Earlier quoted context omitted.

It's just a case of taking the time to learn your tools. Take the time if you think it's worth it. A few hours of dedicated learning will put you miles ahead of casual users. It's not at all unattainable.

Thats like saying anyone can become a good concert pianist if they practice enough, not true.

Well, that’s in part true. You need to learn and practice your fundamentals if you want to improve your skills in a domain. In software development, learning your main tools is one of those.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#157

Earlier quoted context omitted.

This reminds me of a very funny moment I saw where a streamer was opening his beta invite key for a new game live and realized when he did that he had just leaked the key and someone was going to steal his invite, but he had a 10 second stream delay setup which give him just enough time to rush and enter the key before anyone else could use it.

Twitch has like 30 seconds delay, giving you plenty of time for this kind of moments. If you need more then 30 seconds, then you're out of luck and shouldn't be on Twitch in the first place.

That's not true at all in 2020. Most streamers have low latency on which reduces it to ~3 seconds or less.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#158

Earlier quoted context omitted.

It's just a case of taking the time to learn your tools. Take the time if you think it's worth it. A few hours of dedicated learning will put you miles ahead of casual users. It's not at all unattainable.

Thats like saying anyone can become a good concert pianist if they practice enough, not true.

Would you say geohot is a concert level pianist at...typing? Maybe you could say he's at the level for actually coding.

I'd say what I'm talking about is more akin to learning scales, which most people could do with a few hours of effort.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#159
post #4

Do a lot of programmers feel like they could be effective on a livestream? I might be in a minority, but my preferred coding style is very non-linear and sporadic, and wouldn't make for an enjoyable viewing experience.

It can help you be effective if you take the time to watch back the recordings and see what you are doing.

You may have developed some unproductive tics, mannerisms or habits that you’re not aware of.

Be warned. It’s a tough watch sometimes.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#160
post #4

Do a lot of programmers feel like they could be effective on a livestream? I might be in a minority, but my preferred coding style is very non-linear and sporadic, and wouldn't make for an enjoyable viewing experience.

I do stream live coding on twitch from time to time -- albeit I started out as a speedrun streamer. You have a point: if I were to write code in the same style I'm used to, it would probably be not that good. But, probably due to the very fact that I know I'm being watched, I noticed I employ a different style than usual: very neat, organized, logical, working on exactly one feature at a time and not allowing myself to wander too much. It definitely feels good and productive.
Post reply on HN