News for hackers. Stuff that matters.
Re:Lessons from my first year of live coding on Twitch by Kiro on Friday July 07, 2017 @05:43PM (#14722371)
I want to do this but I'm afraid of two things:

1. Show how horrible my code is.

2. Accidentally leaking sensitive stuff.

Re:Lessons from my first year of live coding on Twitch by avitzurel on Friday July 07, 2017 @05:45PM (#14722390)
1. Stop 2. Just use a part of your screen that is off the recording. Never open `.` files on the stream. Never login on the screen, always off of the screen. If you are showing AWS cli console stuff, make sure you hide the public IPs and public DNS of things.
Re:Lessons from my first year of live coding on Twitch by Kiro on Friday July 07, 2017 @06:13PM (#14722589)
2 is related to 1 - there are credentials hard coded all over the place.
Re:Lessons from my first year of live coding on Twitch by striking on Friday July 07, 2017 @07:11PM (#14722940)
Clean up your code before you start.

Maybe this exercise will make you a better programmer.

Re:Lessons from my first year of live coding on Twitch by mdmnk on Saturday July 08, 2017 @09:42AM (#14725373)
I do this sometimes -- however I also think that cleaning code on stream is even more beneficial. Teaches you to code under pressure and scrutinize your code more-so than when you're alone sometimes. Also its fun for people to see how to reduce 30 lines to 5 etc.
Re:Lessons from my first year of live coding on Twitch by avitzurel on Friday July 07, 2017 @06:24PM (#14722672)
so stream another project.

As a habit, I don't stream code related to my workplace, it has too many risks. Even if you see parts and pieces and will not be able to make sense of it.

We don't have a single secret embedded in code and all of our secret files are encrypted using vault, even that is too risky for the clients we have.

I stream my personal projects and things like QnA etc...

Re:Lessons from my first year of live coding on Twitch by zeta0134 on Friday July 07, 2017 @10:58PM (#14723819)
Concerning 1: My code is regularly horrible. I start any project in pure prototype mode. How quickly can I get what I want on-screen and working, so I can figure out if I actually like it enough to keep going in that direction? Once I'm out of proof of concept mode, I start working on things properly, and inevitably some horrible prototype implementation of something will survive for several months. It's always entertaining to anyone else in the room when I stumble on this, and loudly exclaim "Dear god, what was I thinking," usually followed by inquiries, explanations, and humility. Bonus points if my old code is the source of some mysterious problem that is now solved. :)

Concerning 2: I would never code something actually sensitive on twitch. Fortunately I enjoy programming video games, so I can stream that with relative safety, but I wouldn't ever stream something from my real job for example.

Re:Lessons from my first year of live coding on Twitch by mdmnk on Saturday July 08, 2017 @09:34AM (#14725348)
> My code is regularly horrible. I start any project in pure prototype mode

This is my preferred method of programming as well -- start with a pile of working crap and refine. order out of chaos!

Re:Lessons from my first year of live coding on Twitch by mdmnk on Friday July 07, 2017 @08:02PM (#14723245)
1: your code will improve. don't be afraid of your bad code, other people are probably at your level or worse. You can use this as a learning experience. take the good advice given in chat and ignore the trolls.

2: dual boot / set up an account on your system that doesn't contain sensitive stuff.