Live data from Hacker News

John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

youtube.com

111–120 of 303 posts

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#111
post #94

I can't be the only one who likes the commandline gdb experience right?

I use it, but I wouldn't say 'like'. Don't forget that a terminal puts off 4/5 developers.

Really? The idea of developing without a terminal is incredibly weird to me.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#112

Couldn't agree more on the monitor real estate - the difference is day and night. Also, I am one of those developers who rely a lot on log statements. It is probably a combination of old habits (having getting started coding with shell scripts which don't have the kind of debugging support full-fledged languages have) and past difficulties troubleshooting as a production support person (you always remember those pain…

[deleted]

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#113

Earlier quoted context omitted.

I ended up with the best of both worlds (subjective of course!). I use VSCode with a Vim plugin. I get all the best keystrokes from Vim, and the GUI of VSCode. For me, going to Vim would be worse, and going to plain VSCode would be worse.

except macros doesnt work! and the multiline editing from vs code doesnt work anymore. unless you got both to work?

They both work fine for me most of the time.

There are edge cases but I can’t think of a specific right now. When I run into one, which isn’t that often anymore, I’ll open vscode’s terminal panel and do a quick edit in nvim there.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#114
post #6

John Carmack expressed exactly how I feel about having a good debugger. I've never heard anyone say that or comment on that, so it was nice to get confirmation from a master programmer.

Around 15 years ago I worked as a .Net developer, using Visual Studio, and I loved having the debugger available. I might be less clever than others here on HN, but the debugger helped me locate so many stupid mistakes extremely quickly. Sure you could just read the code an reason about the flow and structure and find the bugs that way, but that takes me much longer. After the .Net jobs I pretty much switched back to…

Like he said, our brains make mistakes interpreting the code and running it our heads. Sometimes you need a debugger to see what's really going on, especially as the system becomes more complex

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#115
post #45
post #18

I've been trying to listen to the whole thing (it's 5 hours!), and there are some really interesting moments. Albeit, a bit too much talk on old video games that aren't from my generation, but I'm sure this will be interesting to some people to. What I found interesting: * he has insane hours and has never burnt out. He says that if you want to achieve big things in your life, you need to work a lot. He also says tha…

> he has insane hours and has never burnt out I think there's two major things you need in order to do that. Work on what you love/want and have no/little need for socializing.

I think the point he made was rather the opposite. He works 10-12 hours a day, 60 hours a week, 6 days a week. He needs seven to eight hours of sleep, like a normal person. He specifically mentioned that he never was much into doing all-nighters and that he experimented with working different times of the day. So he'd start in the afternoon and then continue until deep in the night when he was younger whereas having kids and a family caused him to shift to having an early start instead and run a more normal schedule.

That sounds like an intense schedule for sure but not really that insane. He's not super human and just staying in shape, and well rested is what has allowed him to do this for decades on end. Work life balance and taking care of his family is just part of that deal as well.

I notice that the quality of my own work is simply much better when I'm well rested and that beyond a certain point, the most productive thing is for me to simply take some rest or do something non work related. The rare case that I need to work on something late, I pay the price the next few days. It all averages out in the end in terms of productivity.

Grinding away at a problem for hours is simply draining. Often those problems melt away the next morning after I sleep a bit. Your brain doesn't stop working when you do. The hard work is immersing yourself in the problem and absorbing all its facets and then calmly reflecting on all the assumptions you are making. Generally, if you are stuck you need to find out which of your assumptions it is that is wrong. I've woken up with fully formed solutions in my head for seemingly unsolvable issues or bugs that I fought with the previous day so often that I actually rely on this happening a lot these days. So, I generally stop working around 6-7 pm and I'll park harder issues until I'm well rested in the morning or after a weekend.

I don't work on the weekend. The weekend is for resetting my brain. Just as important as sleep is. The most productive use of that time is allowing that brain reset to happen. Getting frustrated and stressed is counter productive. It leads to poor sleeping patterns and stuff just piles up. Take a break, relax.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#116
post #100

VSCode is definitely the first IDE I've ever felt satisfied with. I still run it with vim keybindings and will often pop up the VSCode terminal to run actual neovim for certain workflows, but it feels smooth switching between the two. Eclipse, IntelliJ, and especially XCode feel so frustratingly slow and confusing in comparison. The tight focus on the developer experience with TypeScript was what won me over. Functio…

> Live preview SVG images being edited/generated by code

Glad you like that one, I was probably the lunatic that kickstarted that hack of an idea back in the Atom days :) Can't recall if I ported it to VScode or if someone else did/copied the idea (not that I care! I just needed such a tool in a pinch and then gifted it for someone else to take over)

https://github.com/josa42/atom-svg-preview/commit/995e4fe0ba...

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#117

I'm one of the people he talks about who moved from diehard Emacs use slowly to more and more VSCode use largely due to the better UI experience around debugging and integration of a lot of modern tools. His point about features not being used when they're complicated to reach despite people claiming that they'll use them is a true observation in particular. You always can set up a lot of those features in your unix-…

I ended up with the best of both worlds (subjective of course!). I use VSCode with a Vim plugin. I get all the best keystrokes from Vim, and the GUI of VSCode. For me, going to Vim would be worse, and going to plain VSCode would be worse.

I went the other way, as soon as VSCode-like language server protocol was available for neovim I dropped VSCode. Now I have the same speed with modern features too. In the end it's what's best for you that counts, having quality options helps a lot.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#118
post #69

Earlier quoted context omitted.

Sounds horrible. Just let me open a folder without it being a project or having to use a script to clean up stuff (wtf?).

I use an IntelliJ IDE and open folders all the time and it's never created any cruft to clean up. I think that only shows up if you start making project configurations (like file watchers to run preprocessors for web languages)

It still makes a .idea folder to add to .gitignore or clean up, just as .vscode makes a .vscode folder.

I don't see this as a lot different than MacOS spraying .DS_STORE files everywhere. It's not a big deal to add to .gitignore, but it does leave a fingerprint. It's just that tries to determine reasonable defaults if the path doesn't exist instead of Netbeans/Eclipse/whatever forcing you to pick them with a wizard if you want any of the "real" features to work.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#120
post #99

Earlier quoted context omitted.

A semi successful YouTube video with less 2m views can easily bring in several thousand dollars in ad revenue. He is way more successful and has multiple sponsors. https://www.atomic14.com/2022/07/27/successful-youtube-video...

Several thousands for what time duration? That’s one month of rent. I would be interested in some estimates of revenue per audience.

We’ll of course - that is the trick - you need to repeat it consistently. There are people who do it and make a lot of money doing it (have a look at MrBeast as an example).

Lex will he making an awful lot of money from his sponsorship - which is also where the big channels on YouTube make the majority of their money.

If you can go to a marketing department and say “I’ll get your product in front of a captive audience of X-million people with this demographic” you can charge a lot of money.

Post reply on HN