- uncomment gem 'bcrypt' in Gemfile and bundle
- create user with 'password_digest' attribute (password and password_confirmation attributes are combined in password_digest)
- User model:
has_secure_password
if user.save
Verifying my Blockstack ID is secured with the address 1KrKDFgZXidm96ALQeiQxovh9ytTkkxoVJ https://explorer.blockstack.org/address/1KrKDFgZXidm96ALQeiQxovh9ytTkkxoVJ |
The first behavior that resonated with me was understanding that “code is cheap” because I have been guilty of falling for the sunk-cost fallacy before while writing short programs. In particular, I spent a couple of days attempting to write a program for a specific dark room timer and was very reluctant to ditch my code in favor of another (better, faster) approach because I had put so much time into it already.
The second behavior that stood out to me was to always analyze error messages. While writing the number-guessing game for the pre work, I got error messages frequently and eventually learned how to use them to help me fix problems in the code.
The third behavior that I found helpful to read about was how to absorb massive criticism with ease. I particularly liked the advice on how to respond to criticism that you disagree with - b
I had trouble finding the specific quizzes on brilliant.com that were mentioned in the Warm-Up Exercises.
atom
.rb
I think that empathy has helped me in many aspects of my both my personal and professional lives. In my personal life, I am able to relate better with my husband and children if I can understand their perspectives. For example, if my 3-year-old is throwing a tantrum, I can try to understand how she is feeling (often sleepy, hungry or misunderstood) and meet her needs instead of reacting solely from my perspective (often complete annoyance and frustration). In my professional life as a math teacher, the ability to listen carefully to students’ responses has helped me be able to pinpoint their specific gaps in knowledge and skills instead of re-teaching things that they already know and wasting valuable time in the process.
I think that being able to empathize with the users of my product will help me recognize which aspects of the software are m