Lurker News
What are some skills (technical or not) you think someone should consider acquiring in 2020?

Comments (862) 132 threads

Earlier comments
bitexploder7 replies#
I will share one that has served me well for over 20 years: learn RDBMS and SQL. Learn normal forms, good schema design, and how to write complex queries. NoSQL adopters often avoided schemas like the plague and ended up with unmaintainable messes after a few years. I have seen more than a few NoSQL -> SQL conversions by now. Data is the most important thing in your app. Give it a great design.

Plus databases like Postgres have key/value and JSON data types. Once you are sure that is what you need it’s still there.
Rob Pikes 5th rule of programming: Data dominates.

collyw1 reply#
Agreed, though interviews seem to focus on trendy framework of the month plus some random algorithm that I learned 20 years ago then forgot as I never needed it.
bitexploder#
Same as it has always been. Experienced teams will always value the right things. Just have to learn when to play the game and what game to play :)
Mister_Snuggles1 reply#
To expand on this, learn about some of the neat things you can do within a SELECT statement.

Learn how the JOIN syntax works[0], and how to use OUTER JOINs.
Learn about WINDOW[1] functions and what kind of problems they can solve. In particular, many reporting needs can probably be solved with WINDOW functions instead of tracking state as you loop through a result set in application code.
Learn about Common Table Expressions[2]. While these usually aren't necessary, they can make your queries a LOT more readable.
The thing about learning this type of stuff is that it doesn't matter what database you learn on, you can use it on virtually any SQL database (possibly requiring minor syntax changes).
[0] https://www.postgresql.org/docs/12/tutorial-join.html and https://www.postgresql.org/docs/12/queries-table-expressions...
[1] https://www.postgresql.org/docs/12/tutorial-window.html
[2] https://www.postgresql.org/docs/12/queries-with.html

ajsharp#
WINDOW is incredible. Probably among the most useful yet least understood areas of SQL.
vector_spaces2 replies#
Any references in particular you recommend to learn schema design, particularly with an orientation towards performance (e.g. for high-volume sites)?

A couple years ago I got dinged on a take-home project that involved building a db schema, but didn't get any specific feedback on my work, and it's sort of haunted me to this day (especially since SQL is one of my primary languages)

bitexploder#
Everything I learned on is old school. Joe Celko was a great author back in the day. I always enjoyed this book:

https://www.amazon.com/Joe-Celkos-SQL-Smarties-Programming/d...
Although it is 10 years old, not much has changed in the universe of SQL basics. If I were to capture the essence of good schema design it is mostly about keeping data normalized until you have a really good reason not to. Denormalization is almost always an optimization choice.
And before you optimize you should have basic things covered, like indexes, etc. I have fixed more than one "slow" query by simply adding indicies to everything people are joining on. So, check out a tool like pgAdmin that has a cool query planner optimization feature. What is happening under the hood doesn't matter a /lot/ when learning SQL, but it is really insightful to see how indicies of various types impact performance. I believe this book basically covers it all from a theoretical perspective. Optimization and indices aren't super well covered in SQL for smarties, which make sense, it isn't about optimization but is a little higher level.
There are /tons/ of data sets out there now a days. CSV files, etc. Find some interesting data and start challenging yourself with interesting ways to design that data into a database. I actually design most of my SQL databases using an ORM these days, but, my bedrock knowledge of SQL makes it very efficient and I can avoid committing "SQL sins" (denormalization) prematurely. You will be surprised at how much you can learn on simple data sets :)

rz2k1 reply#
Take a look at the "Relational Design Theory"[1] mini-course on Stanford/Lagunitas. Though I had used SQL for years, I took it as part of the early MOOC on databases that was offered in 2011. It is likely to match up with the intuition you already have about what works well in practice, but it can still be a challenge and rewarding to formalize your intuition and understanding.

The way the course is broken up now, you may need some of the other sections [2] like Intro to Relational Databases or Relational Algebra as prerequisites, since I do not remember if it used SQL syntax.
[1] https://lagunita.stanford.edu/courses/DB/RD/SelfPaced/about
[2] https://lagunita.stanford.edu/courses/DB/2014/SelfPaced/abou...

umbs#
Reminder, Stanford is taking down this course on March 26th, 2020. They let you download courses that are setup for download (this course is not, unfortunately).
ngsx3 replies#
Do you have any recommendations on how to learn RDBMS/SQL? I'm currently using NoSQL at my day job (and agree with your points on it), but have struggled to find a good side project to really dig into RDBMS/SQL. I have used SQL briefly in the past (side projects/class projects) but I'm looking to really cement the skill in my mind.
chapium#
sqlzoo can help with the syntax
papreclip2 replies#
>NoSQL adopters often ... ended up with unmaintainable messes

learning SQL seems much more straightforward than learning NoSQL. personally I'd like to find a good resource that will help me use a non-relational database without creating a mess

beefield#
> I'd like to find a good resource that will help me use a non-relational database without creating a mess

My plan for the day when someone requires me to use NoSQL is to say that postgres supports JSON/JSONB perfectly so I can use that as a NoSQL database and then use the relational part to keep me out of the mess...

bitexploder#
Normalization is a thing in NoSQL and SQL. When you end up with data skip and tons of duplication it can get pretty crazy. Being able to normalize data fits with most data models so much better because data is mostly a collection of related bits of information.
MehdiHK#
This. Specially if you work with Node.js. The JavaScript community is susceptible to ignoring all previous knowledge, experience, wisdom and tries to reinvent everything. I appreciate the energy, but it is often misguided. Understand the difference between merit and marketing bullshit (stack names that include Mongodb?). Understand context. If you are using Node.js in green field project, you are probably better off using Postgres. Understand Lindy effect. Sql isn't going away, but the vendor specific query language that you are spending time with and hoping will replace sql is probably going to.
ryugarden4 replies#
Learn how to make more friends. Communicate. Learn how to talk with people, how to be adaptive and contextual.

Learn about yourself as much as you can, either via introspection or from other people. Learn what your values are, and what makes them satisfied. "You are your own ally, when you make yourself an enemy even though you should trust yourself, you become the victim hit the hardest".
Learn agency. Remember that you are a person, and you can take initiative.
Learn that another person's behavior toward you is just a reflection of their relationship with themselves rather than a statement about your value as a person.
Learn to genuinely tell people that you love them. People are precious.
Last of all, actually learn how to use knowledge of all of the above in your situation.

snarf212 replies#
I've come to believe that introspection is the one true real superpower.

Here is an exercise for the reader. Every year on your birthday, write down what you "know" to be true about life, work, love, politics, money, meaning, happiness, environment, etc. and then seal it. Now read what you wrote last year and see how dumb you used to be.

bryanmgreen2 replies#
Right now I’m completing an “In My 20’s” document tracking numbers of big things (is: how many countries visited, music festivals attended, pieces of furniture built, jobs had, dollars saved, etc), feelings, observations, lessons and questions.

It’s pretty powerful. I can track my progress, see the speedbumps, but I think the biggest thing is that despite having all this data, it is not predictive.
I have zero idea what my thirties will look like. Will my goals and priorities change? If so, in what direction and how much?
The biggest takeaway for me in this process is really wrapping my head around how I have no control over tomorrow, only the actions I take today, and that whatever happens, that too shall pass.

38932ur98u1 reply#
I'm interested in this. Do you have a template?

Continue this thread — 1 reply

dev-ns8#
This comment, along with another on this thread and finally by a few statements from a friend made me want to pursue writing a server app to help with this endeavor. I always say Ok I'm going to start writing and introspecting on my life, but always quit shortly thereafter. My plan is to have a server run cron jobs to text / email me to help facilitate this writing and introspection
blueside1 reply#
I don't think it's good to regard it as "how dumb you were". I used to do something similar to this but this screwed me up a bit mentally, leading to a big lack of confidence.

How can I be confident or feel good about my decision if I am currently "dumb"?
You're not dumb if you make the best choices you can with the information you have at the time.

snarf21#
Sorry, I mean "dumb" in jest. The point is that introspection allows you to see what you knew based on what was available and what was short sighted and biased. I think that taking the time to consider decisions or positions at all is a huge step forward.
ricg1 reply#
Care to elaborate on "learn agency" for a non-native English speaker?
ricg#
Thanks for the link! Glad I asked.
stronglikedan#
> Learn how to make more friends.

I've heard a lot lately about how having fewer, closer friends is better. Just an alternate viewpoint to consider.

mechwar#
Love the positivity and orientation in soft skills in this one.
vasco6 replies#
Some less usual things people do that I think are very high value but boring (hence why they're not usually done):

- Understanding taxes, the importance of savings and baseline personal finance literacy.
- Reading the political programs of a few parties running for elections in you country
- Reading a few yearly report / financial statements for a public company, an NGO/non-profit/state agency/local government and trying to understand them
- Reading a few top research papers in a field you're interested in and work through them

aratakareigen1 reply#
> Reading a few top research papers in a field you're interested in and work through them

Why reading a research paper rather than the more standard approach of reading a textbook?

jimbokun#
Recent research papers are the stuff that hasn't made it into textbooks yet.
balfirevic2 replies#
> Reading the political programs of a few parties running for elections in you country

I too recommend reading more fiction in 2020! (Sorry, I was just a little bit struck with how little this would matter in some countries, mine included).

brlewis#
Political parties are highly skilled at telling people what they want to hear. Reading their programs will keep you current on what people want to hear.
rchaud#
If it doesn't matter in your country, you could look at the voting records of the people running for leadership positions, and thereby separate their words from their actions.
rocketpastsix#
> Understanding taxes, the importance of savings and baseline personal finance literacy.

huge plus one to this one.

jon-wood1 reply#
Actually getting a proper handle on my finances has been the single thing I did last year which has contributed most to my general mental wellbeing. Historically I've been terrible at it, I'm paid incredibly well compared to most of the population, but because I wasn't consciously budgeting I'd end up running down to the last few pounds in my bank account every month.

Putting an effort into setting actual budgets at the start of the month means I'm shifted from impulse buying silly things on the basis that I have the money at the moment to holding off on those and saving some money. (And admittedly still making silly impulse purchases, but with solid data that I can afford to do so and still have enough money left over for food).
I can highly recommend the ridiculously named You Need A Budget (https://www.youneedabudget.com/) if you're not sure what you're doing, since they have a ton of content around how to go about budgeting. Even if you don't buy the software, give their educational material a read.

agentwiggles#
> Historically I've been terrible at it, I'm paid incredibly well compared to most of the population, but because I wasn't consciously budgeting I'd end up running down to the last few pounds in my bank account every month.

I'll pile on a recommendation for YNAB. This sounds exactly like me. Having a better handle on my money and where it's going has definitely improved my mental health this year.

Continue this thread — 2 more replies

alasano2 replies#
No matter what you choose to learn, it's good to learn how to learn.

You have the free "Learning how to learn" course on coursera : https://www.coursera.org/learn/learning-how-to-learn
And I'm currently reading a book called "Ultralearning" by a guy called Scott H Young who I imagine is the type of person to be on hacker news and be like "Hey, thanks for recommending my book!"
https://www.scotthyoung.com/blog/ultralearning/
The book so far is great, there are certainly some principles which may seem obvious but in reality they need to be acknowledged and used effectively. Overall it's a clear read and gives a pretty clear way to get started on learning a ton of things in a short amount of time.
No shortcuts though, still a ton of effort involved.

Continue this thread — 2 replies

Load more comments