Ask HN: How to learn work ethics and discipline as an adult?
If you can&#x27;t concentrate then you don&#x27;t know why you are doing it. You have to write down what overall goal you want that you are very interested in then break that up into weekly research tasks where now you recognize that doing those tasks is necessary for said goal.<p>The only time I really used leetcode was to practice a basic linear algebra course. I had the idea to identify every non-linear problem on leetcode then see if I could use the course I was doing to practice writing linear approximations as solutions then leetcode was interesting to me otherwise yeah I can&#x27;t just sit there and do it hours per day without a reason either.<p>Try briefly auditing some advanced open courses and see if anything there is interesting to you that now require self-directed research  so you can figure out what&#x27;s going on. Erik Demaine has a bunch online.<p>Find an open source project that is interesting and become a contributor now you have to teach yourself the codebase and whatever it is they&#x27;re doing. Find a technical podcast then make a YouTube video animating in some software visuals to describe what they&#x27;re talking about. Whatever you choose it should be something you really want to do everyday and then discipline isn&#x27;t a problem