How to be More Productive - Detail


Make it easier to find

  • Put frequently used apps (like Google Keep) in first screen, etc
  • Add bookmark with short and easy to remember name in Chrome to make it easier to find
  • Delete history in Chrome to make search/autocompletion in Address bar work better
  • Minimize(or kill) windows that are not going to be used recently

How to Save Context

  • Compile error
  • TODO tag
  • Put the web page into a new window
    • When we find something online that we should read or search later, we can shift+w to put this page into a new window so we can go back to it later.
    • We can also use The Great Suspender to suspend the new tab or window so these pages don’t consume a lot of RAM.
  • Git diff
  • Undo then redo in editor
    • Use Case: After search, or move pointer, we would like to go back to last edit position.
Pin
  • Use Atom pinned-tabs to pin files that you are constantly working on recently
  • “PINNED-TABS: CLOSE UNPINNED” if needed.

Preserve Last Session

  • Set Chrome, iTerm2, Atom to restore last session.
  • In Atom, select Preserve Last Search for Command Palette and Fuzzy Finder

2X player

What to do at Spare Time (<5)

  • Clear things in Gmail(delete emails or draft), Google Keep

What else we can do

  • During development, the depended service is down, before they fix it, we can still clean the code or create the PR.

Example

  • Need a pr to test branch in another remote to make some experiment -> directly push to the test branch
  • Run multiple long-time(>2+ seconds) commands together: delete.sh && build.sh && deploy.sh
  • During development/test, don’t make change in the build output,
    • When we apply the change back to source, we may forget what change we have made, or waste some time to figure it out.

java.time Best Practices


Generics in Java


How to be More Productive


What Problems to Solve

  • is it worth?
  • to what extent?
  • Should we fix it now? or put it into backlog and solve it later?
    • Our brain will work on the problem in background, after we work on more same problem/domain, it may be much easier to solve it.
  • what you try to achieve or learn

Priority

  • work on the most important thing
    • put trivial things into backlog

Proactive

Track + Notification

  • Use Timer for wakeup
  • Use Calendar to track event, deadline
  • Use Keep to track ideas/todo

Less Distraction

Turn off unnecessary notification

  • Gmail
    • Gmail App only notifies email from primary category
    • Figure our why it’s marked as important and remove its filter or move it out from Primary category

Schedule

Health

  • sleep and wake up at the same time

Sleep & Rest

Music

  • to wake up
  • get excited

Wake up

  • My wife is a teacher, so she wakes up very early at 6:00 am
  • It’s best for me to adjust accordingly: wake up early.

Track TODO

Developer TODO

  • TODO
  • leave a compile error

Motivation

  • Have a thing to do/wake up tomorrow

Get Things Done

  • the problem/pain-point, find a way to fix it
  • Write things down

Labels

adsense (5) Algorithm (69) Algorithm Series (35) Android (7) ANT (6) bat (8) Big Data (7) Blogger (14) Bugs (6) Cache (5) Chrome (19) Code Example (29) Code Quality (7) Coding Skills (5) Database (7) Debug (16) Design (5) Dev Tips (63) Eclipse (32) Git (5) Google (33) Guava (7) How to (9) Http Client (8) IDE (7) Interview (88) J2EE (13) J2SE (49) Java (186) JavaScript (27) JSON (7) Learning code (9) Lesson Learned (6) Linux (26) Lucene-Solr (112) Mac (10) Maven (8) Network (9) Nutch2 (18) Performance (9) PowerShell (11) Problem Solving (11) Programmer Skills (6) regex (5) Scala (6) Security (9) Soft Skills (38) Spring (22) System Design (11) Testing (7) Text Mining (14) Tips (17) Tools (24) Troubleshooting (29) UIMA (9) Web Development (19) Windows (21) xml (5)