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…
I'm so glad to see this comment. I recently got to the point where I created a text-viewer. Then I realized: This is the weak-sauce version of just admitting I need to write my own editor. My toolset is kind of weird conceptually so nobody else has created "my" editor yet. Haha :-) Thanks for sharing your experience.
Ask HN: What are your favorite developer-efficiency tips?
421–430 of 532 posts
Re: Ask HN: What are your favorite developer-efficiency tips?
#422I keep two diaries, both MS Word documents. In one, I write summaries of what I read about -- papers, blog posts, books, and articles that interest me, along with the google search term, authors, URL, quotable quotes etc. In the other, I put together a free-form running log of projects I am working on, along with feature ideas, benchmark results (and the parameters used to get it),etc. Why MS Word, you ask? I am ordi…
Any reason you emphasize MS Word instead of a word processor in general? The "Why MS Word" doesn't mention anything specific to MS I think.
Of the word processors, I like Apple Pages a lot, and its inline math typesetting supports LaTeX. But it didn't at one time, and I already had a ton of stuff in my Word diary.
Re: Ask HN: What are your favorite developer-efficiency tips?
#423I can't say enough good things about a multiple clipboard manager. Not only is it useful to copy/paste multiple items in sequence, but it's a game changer to be able to quickly retrieve a code snippet, or URL, or CLI command you used recently; and/or, to trivially stash one just in case you'll want it later. (Primary downside: using a computer without multiple clipboards feels broken. What do you mean it "forgot" the…
These small things are part of the reasons I stick with macOS.
Not sure why in decades, Windows never have these things.
Re: Ask HN: What are your favorite developer-efficiency tips?
#424The things I've benefited from most are not tools but practices. - Question the work Always be questioning whether the thing you're doing really needs to be done. Is there a way to not do it? Is there a way to do something better instead? - Park downhill Before putting a project or incomplete task away, make notes of what the next thing was that you were going to work on. This lets you bypass that 10 minute orientati…
Also: don't question the work. Sometimes it's already a compromise between too many people who questioned it, and nobody wants to discuss it any more. Sometimes the questioning is more work than actually doing it. Sometimes you get a reputation of only being in the way. Make sure the work has been questioned thoroughly, but that doesn't necessarily mean by you.
That's not a leading question. Honestly, both of those goals can be important and effective. But if your goal is to actually effect business change, you'll probably have better luck talking to a product person offline and having the idea come from them.
Re: Ask HN: What are your favorite developer-efficiency tips?
#425C-r for interactive history search
Not just that. Add this to you inputrc: "\e[A": history-search-backward "\e[B": history-search-forward Now up and down arrows will search your history with whatever you already have typed at the prompt. Re-running a command often? Probably just have to type its first letter and hit up arrow once or twice.
(fyi, for others: you need not use ctrl-r, just type and press up and down)
Re: Ask HN: What are your favorite developer-efficiency tips?
#426Earlier quoted context omitted.
Hey! What do you think of my WritingOutliner ( http://writingoutliner.com ) then? Basically it turns Microsoft Word into a powerful outliner.
Or the new DocxManager ( https://docxmanager.com )
Re: Ask HN: What are your favorite developer-efficiency tips?
#427My native language is Hungarian. We have 9 extra letters on the keyboard. Occupying the keys on the right side on the keyboard that used for brackets, semicolons, etc. on the US keyboard. These characters are moved to weird positions[1].
I use the English keyboard most of the time but modified it, so when I hit Caps Lock I can type Hungarian letters.
[1]: https://www.apple.com/uk/shop/product/MLA22Z/A/magic-keyboar...
Re: Ask HN: What are your favorite developer-efficiency tips?
#428From my experience - multiple desktops, especially when having multiple monitors (and yes, you should probably get a second monitor). If you don't use desktop switching: the basic idea is to have one desktop per task/bug/project. Lets you context-switch in a very organized manner. If you're using them, good, but you may be surprised how many people don't!
Different strokes for different folks and all that, but, anecdotally, having been tech lead for various sized groups as well, I never saw a performance boost when people got the multiple monitors they always wanted, either.
I think part of it is that I find building a mental space of what I'm working on is the most important thing, and having tons of screen real estate acts as a replacement for that and thus goes against it, ultimately causing me to perform worse.
Re: Ask HN: What are your favorite developer-efficiency tips?
#429My biggest boosters were: - learning more then a few basic hot keys for zsh (things like ctrl-k, ctrl-r and beyond) - mastering tiling window manager, today I can switch, compose, mix and match windows in a blink of any eye - it used to take seconds - switch to minimal OS setup, tile WM, your basic terminal tool suit, browser + the few apps you actually need (saves you trouble configuring all of that extra crap + upd…
Which tiling window manager do you use?
Re: Ask HN: What are your favorite developer-efficiency tips?
#430Earlier quoted context omitted.
One thing you can try: actually stop after those 5 push-ups. Actually stop after editing that line of the code. The idea is that I need to build tolerance for that task. If you keep at it, those 5 push-ups will become so easy that you will feel compelled to do more. If it's not working, then there's another reason behind the resistance. Maybe what you're trying to do feels pointless. Try to notice your feelings and i…
Or just make the task smaller and smaller. Can’t finish 5? Do 1! Too much? Just get on the floor and hold the position. This strategy can’t fail, as you can always reduce your goal (and next time have to reduce it less)