7 ms·
My Twitch Live Coding Setup
- rovyko 8y agoThe original article is really interesting. https://medium.freecodecamp.org/lessons-from-my-first-year-of-live-coding-on-twitch-41a32e2f41c1 https://medium.freecodecamp.org/lessons-from-my-first-year-o... I didn't even know livestreaming code was a thing aside from pre-scripted tutorials. I'll have to watch one of the streams, because the hands-on nature is probably good for learning the quirks of various techniques that you don't get from programming books. It's too bad I spend 80% of my development time reading documentation and chasing down bugs.
- lessclue 8y ago80% is thinking and figuring things out, 20% is writing code; always.
- LandR 8y agoTHis. Solve your problem then write code. Problems solved by writing code almost always ends up with crappy / messy code / difficult to maintain code. The coding should be the easy bit, it's just implementing your solution in a language you know. It's basically just typying.
- UncleMeat 8y agoIt gets lower and lower the more senior you get because you add an entire "obtain requirements and develop consensus" step.
- HelloFellowDevs 8y agoI've actually been very interested in possibly live coding some random noodling I do while programming or learning something new in programming. Kind of like having an office environment in a sense.
- keyle 8y agoI did live coding on twitch back a year or so ago, for about 2-3 months. It was nice to get a bit of company working from home on my own sabatical (aka. financial dive) year. Overall though I don't think it's worth it. You get the usual lurkers that come say hi, and then a bunch of drop-ins that have language questions, stackoverflow type questions, or start rambling about technological choices which eventually distract you from your burning floor todo list staring back in your eyes as deep as the abyss. Fun though, but counter-productive.
- hbrundage 8y agoWhat % kind of hit do you think you take? I think live streaming the development process might be a really cool way to build a community around a developer-focused tool I might build. Imagine if DHH had streamed the process of creating Rails before it was Rails. I think you're totally right that there's tension between being entertaining and being productive, but do you think one could it well enough that ancillary benefits might be worth it?
- tomschlick 8y agoThat's exactly what Adam Wathan has been doing over the past few months while working on newer stuff for Tailwinds CSS: https://www.youtube.com/channel/UCy1H38XrN7hi7wHSClfXPqQ https://www.youtube.com/channel/UCy1H38XrN7hi7wHSClfXPqQ
- wheelerwj 8y ago< (aka. financial dive) year. what do you mean?
- minimaxir 8y agoThe real problem with typical Live Coding setups is that the text size is often way too small. You have to massively increase the size of the font or zoom the UI so that it's readable for the users, especially those who are viewing the stream on mobile/a small subwindow (one unintended perk of the Electron-based IDEs is that changing font/UI sizes uniformly is easy to do). I strongly disagree with streaming at 720p30: the low resolution combined with what's said above makes it very hard for the viewers . As long as your upload bandwidth is sufficient (>6 Mbps) and your computer processing power is sufficient (quad-core CPU), I do recommend 1080p60 for future-proofing. Your viewers can lower the quality if necessary, and the exports to YouTube maintain 1080p60 as well. (EDIT: Maybe not: transcoding is apparently not always available for smaller channels, so bandwidth for users can be a concern) It's worth noting the Streamlabs Alerts are just HTML, and as a result supports as many CSS hacks as you want (e.g. fonts/sizes/colors)
- xpaulbettsx 8y agoThere's zero reason to run 60FPS for a text editor, turn it down to 15FPS and take that extra bandwidth and put it into quality - if you're worried about the YouTube quality after-the-fact, you can run two encoding jobs though it's a bit rough on your CPU
- minimaxir 8y agoDouble-checked: Twitch does say transcoding is "as available" for non-partners: https://help.twitch.tv/customer/portal/articles/2785927-joining-the-affiliate-program https://help.twitch.tv/customer/portal/articles/2785927-join... Hmm, I could have sworn that I had the options available when watching smaller channels, but they may have been Partners. > There's zero reason to run 60FPS for a text editor It does make things surprisingly more fluid, especially for window navigation/scrolling (although you get into the 30fps vs. 60fps debate). If you're using a webcam that also does 60fps, it makes it consistent too.
- mxscho 8y ago> Double-checked: Twitch does say transcoding is "as available" for non-partners It's mainly done for non-partnered channels with high view count (at latest after requesting it manually).
- jaequery 8y agoI don’t know why streaming can’t be a simple one click process. If anyone ever tried to configure OBS, you know what I mean.
- minimaxir 8y agoThere are tools like XSplit which make the process simple. Of course, said tools are Windows only, since the target audience is gamers. If there's enough of a market for simple code livestreaming, then the multiplatform tooling will follow. (or someone could fork OBS like what Streamlabs did and strip down the features).
- denimnerd42 8y agoit can be but usually people want more power which OBS gives..
- ghuntley 8y agoOBS is a child's toy in comparison to Vmix. Xsplit > OBS > Vmix
- sammcgrail 8y agoYour arrows contradict you
- deleted 8y ago[deleted]
- quickthrower2 8y agoI think the arrows are in terms of how good they are at being simple.
- jplayer01 8y agoAre those arrows or greater than comparisons?
- 8y ago
- ghuntley 8y agohttps://github.com/bnb/awesome-developer-streams https://github.com/bnb/awesome-developer-streams pps. Follow me at https://twitch.tv/geoffreyhuntley https://twitch.tv/geoffreyhuntley
- dcw303 8y agoI commend the author on the level of detail documented in the article. It's clear that they have spent much time and effort on making an appealing stream. And yet I still don't get live coding. I have about as much interest in streaming my programming as I have in having a coworker watching me work over my shoulder: zero. I'd love to know what people get out of this. For me the sacrifice to flow is far too great for what benefits I perceive I could get through collaboration. I do see the potential in social network / community building though.
- wpasc 8y agoI agree on both fronts, a well written article but to me the notion of people observing any missed key on the keyboard would only increase the likelihood of me messing up tenfold. Props to those who livestream coding, I don't think I could.
- scrumbledober 8y agomy typing error rate goes up about 500% any time a coworker is watching me type
- LeStealth 8y agoI think it's a good educational tool. It's like watching a cooking show and seeing how a chef goes from preparing raw ingredients to a finished product.
- minimaxir 8y agoA good reason for live coding is transparency even beyond a GitHub repo: I tried live-streaming data science because everyone thinks it's magic, and I try to show that it isn't. (and also show that data science coding is easier than one may think)
- edge17 8y agodo you have a link for the curious?
- OptionX 8y agoI've never understood the idea of using a 60% tenkeyless when your job requires you to type a lot. Even if you go full-size it dosen't take that much more space and you save you fingers the extra work for number and function keys.
- dwoot 8y agoIt's portable (although it's not a feature I care that much about), but programmatic layers are a huge plus for me. I use Vim and now I don't need to move a hand off my home row to use arrows and I love this. So, it's not really about space. It's also aesthetically more pleasing which is subjective. I'm a bit of a minimalist. I refuse to use multiple monitors such that I don't get used to having the additional screen-space, because I do have a tendency to work at coffeeshops and my workflow remains the same in the office and outside of it.
- sjburt 8y agoI like having my mouse closer to my typing position. I've gotten fast enough at the top number keys that I don't mind too much.
- the_pwner224 8y ago> Even if you go full-size it dosen't take that much more space and you save you fingers the extra work for number and function keys. If I go back to full size, it takes enough space that my shoulder hurts from the off-center kb/mouse, and it makes my fingers work harder and slower to reach the numpad and function keys. I used to have a full size mechanical, switched to a 60%, and more recently an asymmetrical split 5x6+5x7 keyboard. The two small ones run a fully programmable FOSS firmware (QMK), so I can get keybindings that help me work faster. The F-keys are used rarely enough that it's fine having them replace the top number row on the 2nd layer. I have a button to toggle to the 2nd layer, and two buttons that activate the second layer when held (one where the Fn key is on laptops, another where Enter is). On the 2nd layer, HJKL are arrow keys, WASD + QE + RF are also arrow keys + home/end + pgup/pgdn. The 2nd layer also has volume+media keys, print screen, and some other stuff on it. So I can navigate around the computer much faster since my hands never ever leave the home row. The split keyboard is ortholinear (keys arranged in a grid, not staggered). I've had Caps Lock replaced with Escape for a long time and it's way superior to having escape above the tilde. There's no spacebar, all keys use 1 unit on the grid. My left thumb has space and backspace right below it; the right thumb has space and enter below it. So esc+bksp+enter no longer strain the pinkies, and they are faster to use. Aside from that it's pretty much a normal keyboard; however the split does make it a fair bit more ergonomic - both halves can be moved around and tilted. 40% keyboards without the number row on top, on the other hand... I don't know how anyone can use those for real work. Also, I haven't needed to do it, but you can place on your second layer (or dedicate a key just for it) a key that will take you to the third layer. Put a numpad + mouse keys + F-keys on the 3rd layer and it's perfect for data entry. Or numpad + WASD + arrow keys, so you can play the occasional game which requires both WASD and arrows.
- happppy 8y agoI prefer working alone and quietly.
- nstart 8y agoLots of people discussing the pros and cons of livecoding. I'd like to share some alternate thoughts if possible. I believe that there is a niche interested in watching and/or participating in livecoding and for them they do it because they can be productive and have a good time. So I took livecoding pretty seriously for a while. I recognise that Noopkat is a pro at this and is one of the most consistent live coders I've seen in a while. I need to pop into one of her streams one day to see how it's evolved. From my past experiences of her stream, my own streaming and others' streaming it feels like there's one big unsolved challenge in livecoding. Coding hasn't lent itself well to "liveness". At least in its current form, sitting down in the middle of a session of someone coding and trying to figure out what they are doing is HARD. It's not like a game where there's a dashboard that carries the score and you can gather all the context you need in under a minute. When joining a stream of live coding, the questions to be answered: - what project is the person working on? - what "feature" are they working on? - what are they trying to achieve at this very moment? These questions are similar to a game - what's the game the person is playing/or what character is the person playing/what teams am I looking at? - what's happened so far? - what's about to happen? Summarise these as - bigger picture context - current historical context - immediate and future intentions And all of this should be gathered in about a minute with no interruption to the stream(er). So far, no live coding experience has been able to satisfy this. I do believe that this is one of those cases where technology needs to solve the challenge. Either in the form of a new livecoding specific platform or better integrations in twitch/other live streaming platforms.
- stale2002 8y ago> Coding hasn't lent itself well to "liveness". > what project is the person working on? - what "feature" are they working on? - what are they trying to achieve at this very moment? I used to do a bunch of livecoding myself, actually. I agree with you that most programming does not lend itself too well to livecoding. But there is one niche that I believe lends itself extremely well to live coding. This niche being whiteboard programming questions/interview practice. In this niche, the whole point of the exercise is to work on self contained problems that can be solved within 30 minutes, and to talk out loud to your audience the entire time. Was pretty fun when I was doing it. I was doing it mostly for practice, and now I work at twitch because of it. And if I ever create my own startup, it will probably be something like "running a recruitment firm on twitch, by getting people to do interviews live". Edit: Videos of my old stream are here: www.twitch.tv/stale2000/videos
- LemonAndroid 8y agoIn https://hackalong.devpost.com/ https://hackalong.devpost.com/ hackathon last year I implemented a basic tool, to make the 5 last recently edited files (updated via live-polling) available on a website from vs code: VS Code Extension Tab -> StreamCode.
- mkagenius 8y agoWhich study desk is it? (Its not mentioned in the article)
- blcArmadillo 8y agoAt the top of the article it says > I upgraded from my $30 IKEA table to an Uplift motorised standing desk
- deleted 8y ago[deleted]
- deleted 8y ago[deleted]
- dom96 8y agoI wonder how well her MacBook performs. Whenever I try to stream on mine it quickly spins up its fan which is really distracting, does anyone have any tips to avoid that?
- codetrotter 8y agoOne thing I didn’t see mentioned is, since she is using one monitor only how does she switch between scenes in OBS? Keyboard shortcuts? Also, does she not have a monitor view to let herself see what the stream looks like live?
- bigzyg33k 8y agoShe did mention this - she said that obs is only recording part of her screen, and she has an area of her screen not recorded for "admin" stuff. She also mentioned she uses keyboard shortcuts for her "secret" scene
- guytv 8y agoWow. Looking at the photo on the heading of the blog post - My desk was never ever been this tidy. never.
- artiscode 8y agoGreat article, really enjoyed it! Having had a curious mind ever since I can remember myself, I've always wondered how things work behind the scenes, television included. This was such an amazing read, getting to know about all the bits and pieces behind the scenes.
- 1wd 8y agoI wonder if live coding could / should / will support similar "interactive fundraising" techniques as is common in game streaming. Some channels offer e.g. for $10 to manipulate some in-game item: Add an additional enemy, give the player a specific powerup, ... I imagine for coding the equivalent could be "rename variable x to y" or "add comment //x on line y". There's a lot of potential for annoying / fun mischief, but that's what makes it entertaining and worth the $$$ for the viewers. Some might just want to actually help out!
- VectorLock 8y agoDo they have a second screen for Googling or do they show that to their audience too?
- jen20 8y agoI found this to be a particularly detailed and well-written article which addressed questions I didn’t even realise I had even as I’ve been investigating live-coding setups. Thanks!
- bluedino 8y agoI was kind of hoping for some info on the performance of her 13" MacBook, and if she's tried the 15" model at all. When the current model first came out I read compliaints from livestreamers, and wasn't sure if the software was improved or Apple updated something...
- petercooper 8y agoI think a lot of people, including myself, could get a lot out of streaming what we do even if another person never watches at all. Because we have to talk about our decisions, focus on a task, and just keep going as if we have an audience.
- beyti 8y agoRubber duck: https://en.wikipedia.org/wiki/Rubber_duck_debugging https://en.wikipedia.org/wiki/Rubber_duck_debugging
- ghostbrainalpha 8y agoI've heard conversations that this same idea would probably help in every profession. And a couple Mormon developers I know, think that the concept of a personal Holy Ghost, which is a belief of the Ladder Day Saints church is the same kind of assistant for moral decision making. We all perform differently when we know someone is paying attention.
- ketzo 8y agoThat's such an interesting comparison! I kinda love the idea of Pair Programming with Jesus
- zdragnar 8y agoI think you meant Latter Day Saints. If there are any Ladder Day saints (supposedly there is a Ladder Day[1]) I'm guessing that Mormons wouldn't hold as much reverence for them, what with the alcohol involved. [1] https://www.urbandictionary.com/define.php?term=Ladder%20Day https://www.urbandictionary.com/define.php?term=Ladder%20Day
- ghostbrainalpha 8y agoOh man... I won't be editing the typo so that I can be properly shamed.
- 8y ago
- pecotest 8y agogreat
- 0_gravitas 8y agoI find it sort of funny that this is basically a direct modernization of what used to be a common thing centuries ago: mathematicians would be paid to compete against other mathematicians and see who could solve certain problems faster. And while there isn't exactly a competitive aspect here, it still seems to be almost a spectator sport, but now with a new layer of spectator interaction.
- iancmceachern 8y agoI'm a product designer, consultant, mostly medical devices and otheris soon critical products. I've been toying with the idea of live streaming myself designing example products (no client work of course). I use mainly solidworks, fusion360, creative cloud etc. to do it. Do the hn folks think there would be interest in such a stream?
- dajohnson89 8y agoI've been mulling this over for quite a while now. Maybe this is the place to ask -- are there any good twitch streams for java coding?
- codinger 8y agoI'm jealous of the aesthetic. It's really nice looking.
- _shrimp_ 8y agoI love seeing other devs' workspaces. Are there any (other) sites collecting posts like this similar to r/battlestations or edc sites for software developers?