Lurker News
What things (books, activities, courses - anything really) have richly rewarded the time you invested in mastering them?

Comments (563) 147 threads

Earlier comments
msluyter4 replies#
Readline —- I’m sometimes amazed at the number of relatively seasoned developers who don’t know simple commands like ctrl-r. This one really pays off because almost all shells and repls like ipython or the mysql client implement it.

Sample cheat sheet:
https://readline.kablamo.org/emacs.html
You don’t have to learn it all, but mastering the basics like moving to the end/beginning on the line, moving/deleting by word, yank, history search and the like will pay off handsomely.

hoosieree1 reply#
Huge fan as well. What I really want is a terminal which has Vim's "normal mode" keybindings for scrolling back the buffer, selecting, find/replace... but then anytime you go to "insert mode", you get Readline. Best of both worlds.
paulriddle1 reply#
I think that's Neovim's terminal mode. I personally don't use it because I use a tiling window manager, so it's easy to launch another terminal wherever I want and I'm happy with the key bindings. But some people swear by terminal mode.
hoosieree#
Thanks for the pointer, I'll check it out.
todd38341 reply#
Nice! I’ve been at this game for a while and ctrl-r must have slipped right past me till now. I’ve regularly do ‘history | grep ___’ but ctrl-r looks like a far better solution.
twinge1 reply#
If you're a vi user, edit ~/.inputrc and add:

   set editing-mode vi
   set keymap vi-command
This changes readline behavior from emacs to vi. This, along with "set -o vi" in bash, are really handy (though can be frustrating for others if you ever share a keyboard pair programming).
Cyph0n#
In Zsh, it will set the editing mode to whatever your $EDITOR is set to. So if $EDITOR == vim, readline will be set to vim mode.

I’m a vim person, but I feel like the modal workflow does not work well at all in a shell.

ajmurmann1 reply#
Lots of the commands work in many macOS GUI apps as well.
mycelium#
The origin of those shared commands isn't from readline, but rather from emacs key bindings that made it into both readline and MacOS: https://jblevins.org/log/kbd
neya4 replies#
I'm going to say something out of the blue - Building speakers.

Building speakers look complex from the outside, but are pretty rewarding once you know the basics (Thiele parameters, enclosure design and tuning). You can put together your own speaker with just a couple of parts from eBay or anywhere else on the internet really and sometimes can end up with really high quality boxes that can outperform much more expensive commercial ones available in the market.
Speaker design is one of those things that the more time you put into it, learning, studying, testing, the better rewarded you'd feel. To add to the mix there's also amplifiers - Class A, B, C, D and even tube amps and each combination of amplifier and crossover sounds totally different.
Each speaker box I design, I feel is like good food. Different flavors, different combinations, different possibilities. You will never feel bored and never feel you've hit an end. You're always discovering something new.

faitswulff3 replies#
Would the barrier to entry for making working speakers be significantly higher if the aux port goes away entirely?
tgsovlerkhgsel#
If it went away entirely, as in also from laptops, desktops and Raspberry Pis, without adapters being available, maybe.

But you're not going to be driving a speaker with a phone anyways. You'll need an amplifier, and if the aux port goes away, the amp will likely have whatever-alternative-input-there-is.

neya#
If Aux port goes away, it's still going to be Bluetooth or Wifi and of course there are plenty of plug and play chips out there on the market that should do the job pretty easily. So, to answer your question, no, the barrier wouldn't be that high at all :)
nicoburns1 reply#
Oo, this is something I'm pretty interested in getting into (I love good sound systems, and enjoy building physical things). Do you have any pointers on where to find information on how to design speakers / pick sensible component combinations?
neya1 reply#
Sure.

Books: There are many technical books, some are so complex in their wordings that you'd feel like giving up even before you start.
The best book I've found that's short and sweet (but requires a little bit of math background) is this one:
https://www.amazon.com/Designing-Building-Testing-Speaker-Pr...
Courses:
Coursera has an Audio Engineering course which the professor explains in really crisp detail. It's from University of Rochester.
The course title is: "Fundamentals of Audio and Music Engineering: Part 1 Musical Sound & Electronics"
Link: https://www.coursera.org/learn/audio-engineering
I audited the course and didn't pay any money. There's not much difference unless you want a certificate (and of course want to support Coursera too).
YouTube:
I like Kirby meets audio. He does some really nice stuff with speaker boxes. He mostly sells kits for his speakers, but I don't recommend them. They are from parts express mostly.
https://www.youtube.com/channel/UCOuow_HIYmeaIqi42zVs3qg
I LOVE John. He reviews most of the cheap amplifiers from China and teaches you what's wrong with them electronically and how to fix them. HE's very knowledgeable as well.
https://www.youtube.com/channel/UC8SPQG7er2RJhz4E8xvFEtw
Where to buy parts:
If you're buying speakers, AliExpress usually sells good quality speakers for cheap. You may also want to search for the same model (sometimes under different brand names) on eBay as eBay can be cheap sometimes as well.
Contrary to popular belief, most speakers are actually made in China. Simply because China possesses most of earth's natural magnetic ore required for making speakers. That and Neodymium too. For example, look at the quality of this Aluminium cast speaker: https://www.instagram.com/p/BjZN5XKggOt/. It's definitely hundreds of notches higher quality than what you can buy commercially from say, Sony or Philips in the consumer market. And it also costs really less.
Nanjing in China has most of these speaker factories and I visited a few last year. If you are able to make a trip to China like I did, it's best to form a personal relationship with someone there and you can order directly through them. The price difference between AliExpress/eBay and these factories direct can be as huge as $50-100 depending on the model and size of the speaker.
For amplifiers, I recommend eBay or AliExpress. Both carry decent models.
If you'd like to build your own, hands down the best model to get started with and easiest to hack one in a weekend is TDA 7297 by ST MicroElectronics. The good thing is, you can even power it with your USB! And the sound quality is REALLY good. It's the same IC used by a lot of companies (Creative for example) and resold to you for $700 (Creative actually has a model that uses this IC for this price, I can't remember which one). Many companies like Bose also use similar models from ST as well. That's when you realize stuff you buy from the consumer market is actually something you could have built yourself too, with a little more effort :)
Some other popular amplifier models (plug and play) are chips based on TPA 3116D2. They come in different configurations 2.1, 4 channels or good ole' stereo. Pick the ones you like.
Finally, don't be intimidated by all the complex terminology, sometimes you can just start with what you like or find combinations on the internet that are popular. Here's my earliest build: It's a mix of art + audio (attempt to): https://www.instagram.com/p/Bet9CA-FxHs/. But even after so many years, I'm still proud of it :)
Hope this helps :)

defterGoose#
I'll piggyback on this comment to recommend (no affiliation) twistedpearaudio.com

Awesome little company with great kits for people into building HiFi gear

shanecleveland#
I'm glad you mentioned this. I've recently gotten into analog stereo. I've fixed up a few receivers, which has involved deciphering schematics, testing circuitry and soldering. Very rewarding when it works! I've rehabbed some speakers and turntables, too. I'm a long way from understanding much of anything in depth, but it is a nice off-screen, hands-on hobby. Thanks for the book recommendations below.
Bakary#
I recommend reading the book The Invisibility Cloak by Ge Fei
EliRivers3 replies#
Being good at reading and writing.

The ability to quickly and efficiently understand and mentally absorb large amounts of the written word, and the ability to write clearly, simply and coherently about subjects both simple and complicated.
Being good at reading is a force multiplier in everything academic I have ever done, and continues to be a huge advantage in both learning and simply doing my job, and in so much of life in general. So much information about how everything works, physical devices and procedures and interacting with governments and organisations, is provided as the written word. If you can do it quickly and correctly, you're ahead of the game.
Being good at writing helps me transmit knowledge and instructions across time and space to other people, helping them understand faster and better. It also saves me time; I work with people who genuinely struggle to express precise technical information through the written word, spending large amounts of time producing text that really isn't adequate. Often they write as if they're speaking, which just doesn't work.
A lot of people go through life with just functional literacy; being good at reading and writing is a force multiplier across so many activities in life, right from early education all the way through such a huge range of jobs and careers. The return on investment spent on being good at reading and writing is huge.

Keinstein2 replies#
Do you have any tips on getting better at this (eg writing explanatory pieces on technical issues) apart from simply doing it over and over again?
EliRivers#
Harsh, brutal critique from other people (ideally the target audience), prompted by deliberate questions from us about how easy it is to read and understand, and questions from us to test that understanding.

Writing happens entirely inside one's own mind; it can be so hard to see that what we're writing isn't clear, isn't well structured, doesn't guide the reader deftly through understanding and enlightenment. I wonder if it's even possible to properly critique our own explanatory pieces on technical issues, given that we cannot read it without having that knowledge already in our heads, as the target audience will have to.
It can be quite a shock to learn how badly written some of our own work is; as with code reviews, ego has to step aside.

therealdrag0#
I really enjoyed "The Sense of Style" by Steven Pinker. It's meant to be an accessible guide for the common writer.

(I have an English degree, so I can at least say his advice rings true and hits a lot of important points.)

DenisM1 reply#
By way of writing feedback - you could have made your point in half as much text. What is your take on brevity?
EliRivers1 reply#
I'm with Strunk & White.
seventhtiger1 reply#
Strunk & White is held in too high regard because of its status as the definitive writing style guide in education. Much of it is outdated, or based on the opinions and pet peeves of the writers. Some of it is outright wrong and promotes bad writing in favor of made up grammar rules such as split infinitives.

Continue this thread — 1 reply

thirdsun1 reply#
> Being good at writing helps me transmit knowledge and instructions across time and space to other people, helping them understand faster and better. It also saves me time; I work with people who genuinely struggle to express precise technical information through the written word, spending large amounts of time producing text that really isn't adequate. Often they write as if they're speaking, which just doesn't work.

I'm very familiar with this situation. Since an ever increasing amount of important communication is handled in written form, via mail, slack, in todo lists and project management tools, I noticed how many smart people reduce their writing to several loose thoughts, if not barely connected nouns, that hardly count as sentences, resemble spoken language and almost always require additional discussion and questions to understand the actual meaning.
I think to many people it just feels too cumbersome to write and explain in detail. However the time saved during writing is, of course, lost when the almost inevitable clarifying discussion afterwards is due.
Writing and reading is critical. Take your time to do it well.

thrower123#
I generally find that people are no more precise in their verbal language than their written, if you actively listen and don't just let the word-salad wash over you. Very few people can achieve much information density, in any medium, but at least when written down the information is persistent.
songzme3 replies#
Learning how to smile. I would spend time in front of the mirror practicing my smile for different situations.

During interviews I would force myself to smile. It helped get rid of some nervousness. When I get stuck on a problem I would smile stupidly and usually the interviewer would help me out.
When I feel like conversations are getting heated I would take a step back and smile, it helps me direct the conversion to a more positive place.
Sometimes when stuff happens outside my control and life just sucks I'll force myself to smile and handle things to the best of my ability

dominotw1 reply#
Wow. Amazing advice. I was feeling shitty and nervous now and tried a bit of forced smiling. Changed my mood for sure.
daninus14#
Me too! :D !! :D
yorwba#
I also practiced smiling to change my neutral expression (which used to cause people to worry that I might be sad) and now I constantly have a slight smile.

I still haven't gotten used to strangers on the street suddenly smiling brightly at me, it always takes me a moment to realize it was me who smiled at them first.
The secondary effect of receiving unexpected smiles definitely also helps to improve my mood.

Load more comments