Live data from Hacker News

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

youtube.com

221–230 of 303 posts

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

#221
post #43

Earlier quoted context omitted.

That note always struck me as pride in self flagellation. Having been around many talented kernel developers, most are perfectly happy with a debugger or any other tool they can use to debug something.

> pride in Not really: the linked text shows it is a costly strategy to avoid later «self flagellation»: it is meant to avoid the practice of mindless coding - of overly fast feature insertion, blowing amounts of low quality code to maintain. Torvalds: « I'd rather not work with people who aren't careful ». Also: « I happen to believe that not having a kernel debugger forces people to think about their problem on a d…

Implicit in that argument is that these kernel developers are writing low quality code / coding mindlessly. That’s a bold statement to make when you don’t know who I’m talking about.

At no point has anyone suggested using the debugger in lieu of understanding what the program does and that’s a pure strawman. Understanding is step 0. Once you’ve done that piece, a debugger levels up your game. Same with other tools like profilers, printf debugging, EBPF debugging, etc. Hell, even simple things like executing the code in the first place / running tests / gathering metrics is a debugging tool. It’s rare that someone stares at a difficult bug until they see the matrix. It usually involves iteration cycles of some kind to test out different hypothesis / collect data and a debugger is one tool to speed up those iteration cycles.

There was a story on HN a while back about how one of the inventors of Ethernet had to hook up oscilloscopes to figure out what the electrical signal was doing to figure out why CSMA wasn’t working properly. An oscilloscope is an analog debugger and you can’t tell me that the inventor of Ethernet didn’t understand Ethernet or that the oscilloscope hampered that in any way, especially since the bug turned out to be very nuanced with a chip generating a spike switching modes.

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

#222
post #165

I've programmed for a long time. One of the best programmer's I've known actually had his own debugger. He was an OS kernel developer and carried the debugger with him from job to job; we were working on the new operating system at IBM that would become AIX. He was a bit of a nuisance in the large development organization because he would wander around the kernel in his debugger fixing code before others had even not…

I’d love to hear more about this. What happened to this guy and the debugger? I’m guessing he got fired and moved to a cabin in the woods. No way talent of that level can exist in a corporate environment too long. Too much jealousy, etc and the higher ups usually can’t stand someone who won’t play by their rules even if the results speak for themselves. Hope I’m wrong.

No post body was provided.

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

#223

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 found myself using VSCode instead of Emacs when browsing a lot of files. Just recently I added treemacs to my Emacs setup so my use of VSCode is much reduced. I also took the small effort to setup GitHub Copilot to work with Emacs - for some types of work, Copilot is a real time saver for Common Lisp and Python work.

I would also like his take on Pharo, which I like and many years ago released an open source NLP library for Pharo.

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

#224
post #145

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.

VS Code with a vim plugin is in the uncanny valley of text editors. It doesn't work quite right and a lot of functionality is missing. It's enough that there's more frustration and less productivity for no advantage.

Try the vscode-neovim[1] plugin instead of the more popular vscode-vim plugin. It runs an actual neovim instance in the background and works so much better than vscode-vim, which I also found was "not quite right" and very laggy. It really is excellent, pretty seamless and can't recommend it enough.

1: https://marketplace.visualstudio.com/items?itemName=asvetlia...

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

#225
post #80

Earlier quoted context omitted.

Yeah, he meant VS. He even mentioned using an older version (6) as it is much faster on modern computers. Maybe he was referring to a friend of his, I don’t remember. Most Windows programmers I know (not a lot) use VS for the ease of integration with all things .NET and Microsoft.

Obligatory Casey Muratori rant about modern Visual Studio, complete with Visual Studio 6 running in a VM: https://youtu.be/GC-0tCy4P1U

Since I just re-watched it: he ran it on a P4 from 2003.

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

#226
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…

it is tough on the teeth, pepsi and coke are as far as I can tell the worse with phosphoric acid and around 2.5 pH and on the order of stomach acid. Obviously -volume- counts too. however at least he's avoiding sugar which also contributes to building up a lot of plaque which is a constant supply of acid rather than a diet coke which the saliva would neutralize pH up pretty quickly back to 7

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

#227

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-…

It's just easier, it's not as powerful but it is "good enough" and much less steep learning curve.

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

#228
post #11

Such a joy to listen to Carmack talk about just about anything. Not sure if it's an age thing but there is a particular feeling common to contemporaries of that era, growing up in our formative years as computers grew from their humble beginnings to the incredible machines we have now. At that time, each new improvement brought astounding differences in capability. In the space of 10 years we went from 8k to 64k of m…

> At that time, each new improvement brought astounding differences in capability. Yes! There's a post we wrote on precisely this phenomenon with John Carmack as the main character that you might find interesting.[1] TLDR: There was a time when people were willing to spend (literally) tens of thousands of dollars on ultra-premium hardware in order to compute on hardware a few years ahead of the market. For example, J…

>in 1995, Carmack spent $9,995 on one the first 1080p monitors… It provided a 28" screen with 1920x1080 @ 85Hz… Essentially, Carmack was able to trade $9,995 of 1995 money for a monitor that put him decades into the future.

“Decades” is a bit hyperbolic. I got a 22” that would do 1920x1440@80 for under $1000 in 1999. I’m also skeptical of that non-4:3 resolution quoted.

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

#229

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-…

VSCode is based on Electron, a glorified hack/resource hog of Chromium than even Github largely abandoned. It maybe "great" and mildly "popular" here and there, but it's built on a foundation of mud. Build native apps that work and are performant. With enough effort and care, a frictionless experience can be made with a TUI should some "Jetbrains" come along and try to make a commercial product out of it.

and yet millions of people use it every day just fine. It's not any more of a resource hog than emacs when you load up enough lsp's and add ons to make it useful and modern.

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

#230
post #41

Earlier quoted context omitted.

VSCode is based on Electron, a glorified hack/resource hog of Chromium than even Github largely abandoned. It maybe "great" and mildly "popular" here and there, but it's built on a foundation of mud. Build native apps that work and are performant. With enough effort and care, a frictionless experience can be made with a TUI should some "Jetbrains" come along and try to make a commercial product out of it.

This is the most "just use rsync instead of Dropbox" HN-style argument I've ever heard. It's sufficiently comical to be satire

I'm thinking "use rsync instead of github" myself lol
Post reply on HN