These are simple ones that you probably all know. I'm just writing them down for reference.
__General__
1) Flux for sleep (sleep being the 'hack')
2) Social pressure: find a community that you want to belong to and that gives you the social pressure towards goals you want to achive
__For programming (when learning a new language)__
For me, the focus is on getting as unstuck as possible. I've noticed that interactive tools help a lot with this because they show you how things 'under the hood' work.
1) Get a text editor or IDE that teaches you how to code -- only if you're new(ish) at a language. Things like Intellisense, a debugger and jumping to function definitions allow you to learn a lot more about code. For me, with Java this is Eclipse (Netbeans and IntelliJ work as well). For front-end it is Chrome developer tools (Firefox works too). For iOS this is Xcode. For node.js this was Visual Studio Code. I'm curious if there are suggestions from other people.
2) Knowing how to search on Google well. I can't really explain this yet, and it's something that's learned with the first programming language. So I'm going to ask this question on HN to see if there are people who can explain it :)
Edit, see: https://news.ycombinator.com/item?id=13183302
3) Finding a shell to play with.
__General__
1) Flux for sleep (sleep being the 'hack')
2) Social pressure: find a community that you want to belong to and that gives you the social pressure towards goals you want to achive
__For programming (when learning a new language)__
For me, the focus is on getting as unstuck as possible. I've noticed that interactive tools help a lot with this because they show you how things 'under the hood' work.
1) Get a text editor or IDE that teaches you how to code -- only if you're new(ish) at a language. Things like Intellisense, a debugger and jumping to function definitions allow you to learn a lot more about code. For me, with Java this is Eclipse (Netbeans and IntelliJ work as well). For front-end it is Chrome developer tools (Firefox works too). For iOS this is Xcode. For node.js this was Visual Studio Code. I'm curious if there are suggestions from other people.
2) Knowing how to search on Google well. I can't really explain this yet, and it's something that's learned with the first programming language. So I'm going to ask this question on HN to see if there are people who can explain it :)
Edit, see: https://news.ycombinator.com/item?id=13183302
3) Finding a shell to play with.