Live data from Hacker News

Ask HN: What are your favorite developer-efficiency tips?

news.ycombinator.com

221–230 of 532 posts

Re: Ask HN: What are your favorite developer-efficiency tips?

#221
post #81

Obs studio. I record myself while coding anything. I pretend to be a bigshot coding streaming sensation (even if its just for me). Its fun as well as very helpful in so many ways. 1. It helps me stay focus on the task at hand. One recording for each task 2. It lets me practice how to articulate stuffs. Its like blogging but ephemeral (because i wont upload this) 3. It helps me get motivated. Cant let my "thousands" o…

I loved this idea. Can you share your Obs defaults/workflow for this? By example, I work 8hs per day, how much space all this audio/video recording will take? What video/resolution/etc? Thank you!

the idea is to make a video that you can watch yourself. 8 hours of video isn't very enticing to watch. i suggest organizing the recordings by feature or task.

the only other thing I considered setting up in OBS is to make it work with Spotify to get a great bg music.

Re: Ask HN: What are your favorite developer-efficiency tips?

#222
post #59

The REST Client VSCode extension[0] let's you send HTTP request from any file open in the editor. I use it to call the Cloudflare API to purge the cache of my site after I make changes. It's also really useful to test new APIs or quickly create a bunch of file/requests for the current project. I use PHP on my landing page[1] so I can make changes and publish them immediately without any build step. This way, whenever…

I use this too, it's great!

My usecase is that I often have queries for debugging purposes for API's that I need to send, so in my repos I keep a requests.http file for quick-access.

I also put them in repos for projects I publish (like boilerplate/demo API's) along with a screenshot and a note + link to the extension in the README because you have a working spec for API requests, and so do if/when I ever revisit it.

Tiny extension saves a ton of time and super useful.

Re: Ask HN: What are your favorite developer-efficiency tips?

#224

Learn to touch-type properly. I'm not a shit hot typist or anything, but it does make hours on a keyboard more pleasant. And (hate me) I do judge other devs on it. If someone can't be bothered to invest a few tens of hours on such a key productivity enhancement then what does that say?

I'd love to subthread hear from people if alternate keyboard layouts have made a difference. ?

I use Dvorak exclusively and echo the other comment -- I'm not sure that it has made a dramatic difference in my speed, but it is much more comfortable! Your hands sit neatly on the home row, and do not have to reach much. The only downside is that I use vim and after many years of Nethack am pretty good at hjkl movement, and I can't even take advantage! :( Definitely something to consider though if you want to switch and are a vim user.

Re: Ask HN: What are your favorite developer-efficiency tips?

#225
SCM Breeze[1] is one of the first things I install whenever I set up a new dev machine. Setting up bash aliases for git commands like `ga=git add` is nice, but SCM Breeze takes it one step further and automatically numbers each file in the git output. Then you can do `ga 1 2 5`.

[1]: https://github.com/scmbreeze/scm_breeze

Re: Ask HN: What are your favorite developer-efficiency tips?

#226

Learn to touch-type properly. I'm not a shit hot typist or anything, but it does make hours on a keyboard more pleasant. And (hate me) I do judge other devs on it. If someone can't be bothered to invest a few tens of hours on such a key productivity enhancement then what does that say?

I'm really confused. I've only run into maybe one person working as a developer that didn't touch type. Is this really not nearly universal?

My version of this would be learn not to use a mouse.

Re: Ask HN: What are your favorite developer-efficiency tips?

#229

KEEP NOTES. Write everything down. Write down what you were thinking about, how you felt about decisions, things you tried for bug fixes. you never know when this stuff will be useful to you again. I keep really basic markdown notes in a git repo, roughly one file per day with an ISO date name, but some things I give a separate file name (still with the iso date, but with some descriptive words) for things that might…

OP mentions vim, so I want to add to this that I use vimwiki for this purpose: https://github.com/vimwiki/vimwiki

Re: Ask HN: What are your favorite developer-efficiency tips?

#230
post #156

Probably an unpopular opinion but... Write your own text editor. I've been working on my own ( https://github.com/alefore/edge ) as a side project and using it exclusively for about six years. I don't expect it to be very usable by other people (it's very customized for my workflows, I suppose; e.g., it's mostly useful for writing C++ and Markdown files) but, because I know it inside out (and I've invested in making…

> Write your own text editor.

This is what a lot of us Emacs users do, with the advantage that we have a huge base to start from.

Post reply on HN