Author Archives: admin

Increasing your confidence at work – A reading list

2017 was my year to get more confident at work. It’s always been a problem of mine – that even though I’ve never had much (if any) bad feedback about the work I do, and I’ve always been told that I’m a productive and useful team member etc, my work-related self confidence has always been very low. This is in contrast to confidence in other areas of my life, which I feel has never been a problem.

My feelings might commonly be known as imposter syndrome. Where you feel like you don’t belong, you’re not good enough, you somehow got where you are by fluke and you don’t deserve it. This is not a nice way to feel, so that’s why 2017 was my year to work on that particular problem.

Like all my New Year’s resolutions it’s just a very vague theme or goal for the year. So I wasn’t sure what achieving it would look or feel like, but I just knew it was something I had to focus on for the year.
An important part of it was that I had to get more aware of my thought patterns and then work on challenging them.

By the end of the year I was feeling a lot more confident, I had had two pay rises and I had finished the year working as a leader on a work project and getting a lot of good feedback from all the people on the team.

I did a lot of reading during the year and this is a list of the books I found that were most helpful for me in increasing my confidence at work. Other books I read were also great, but these ones really stand out as ones I will read over and over again.

The Daily Stoic – Ryan Halliday
I spent Christmas 2016 in Paris and in the Galignani bookshop there I bought Ryan Haliday’s The Daily Stoic which is 366 meditations on wisdom, perseverance and the art of living. So the idea is that each day you will read a short passage from one of the stoic philosophers, for example Seneca or Marcus Aurelius, and they would have an explanation of it. Reading these once a day really provided a reality check, got me out of focussing on the minutiae of the day, and thinking about what is fact, what is important and what is out of my control. The most important lessons from the book for me were about clarity of thought, fortitude and resilience.

Change Your Thinking – Sarah Edelman
Another book that was very helpful for me was a book called Change Your Thinking. This book is about CBT, cognitive behavioural therapy, and it’s about learning to think in a more healthy way and learning strategies to overcome your negative thoughts and behaviours. I had a lot of ingrained thoughts and beliefs about myself and my work, and this book really helped me challenge those negative thoughts. It really drills it in with lots of examples of common negative thought patterns – e.g. ‘Mind Reading’, where you imagine you know what other people are thinking. It then gives scenarios like “Mike didn’t smile at Rachel this morning, so Rachel thinks she’s done something to upset Mike. In reality, Mike’s dog just died”. I was not super surprised to find out that I practice a lot of the negative thought patterns, and this book really helped me identify when I’m doing it.

Mindset – Carol Dweck
One of my best recommendations of the year is the book Mindset. I think it might be somewhat of a parenting book, because it has a lot about how to bring your child up to be more resilient and stuff like that, but actually it was really helpful for me as a person who suffers from imposter syndrome. This book teaches you about the two mindsets, growth and fixed, and helped me realise that I might have been suffering from a somewhat fixed mindset. It then goes on to teach you how to change that so that you can feel more comfortable with not knowing things, feel more comfortable facing challenges and trying new things. One of my private fears used to be that I was worried that I was the kind of person who would not try things out of a fear that I couldn’t do them. I didn’t want to be that person! This book helped me realise when I was in danger of being that person, and how to change my mind about it. The growth mindset person is not discouraged by failure, they don’t even think they are failing, they think they are learning!

Chaos to Calm – Shannah Kennedy and Lyndall Mitchell
At first this book seemed a bit too ‘self help’ and ‘life coachey’ to me, but let’s be honest, I really got into the self help books this year and I’m loving them. So, although I probably wouldn’t have read it a year ago, it’s one I’m going to keep going back to. The book helps you identify when you’re feeling low confidence – and gives you tips on how to ‘fill up’ your ‘confidence tank’ again. And I tell you, it really works for me. Every chapter ends with ‘power thoughts’ (… writing that just makes me feel weird), e.g. “Opportunities often come from challenging situations”, so that when you’re feeling low confidence, you can just go straight to those thoughts. As I said, it won’t be for everyone, and I understand if your sceptical, but this book really helps me, and I love going back to it for a refresh (…especially on a Monday morning when I’m not feeling so great….).

Beta – Rebecca Holman
The last book I’m going to give in my top 5 is called Beta, and this one is about what success looks like and what does a successful woman in the workplace look like. I guess I have always felt like I am too much of a pushover at work, that I’m trying to be too nice because I want everyone to like me, and as a result I could never be very successful in my career. (I’m not going to say ‘career woman’ because that is one of my most hated phrases, though that list is very long). I have always deep down thought I could never be super successful at work or in business because it’s just not the kind of personality I have. I’m too timid, and I’m too nice. This book was about being a leader when you’re a beta personality type, which I think is me. It talks about the beta personality traits that could be beneficial, but also the traits from alphas that you might want to temporarily utilise now and then. The book doesn’t recommend faking being an alpha for an extended period, because pretending to be something you’re not can be exhausting. This book was great at showing me that people with my personality type, can also be great leaders.

Not Just Lucky – Jamila Rizvi
I’m going to do an honourable mention for this book which I enjoyed because I suffer from imposter syndrome and I really think in the back of my mind that it was all by chance that I got the career I have, and the job that I have. Did you know that apparently this is a very common thing for Australian women to think at work? That their successes are pure luck or accident? This book was a really interesting study about the structural and cultural disadvantages that rob women of their confidence in the workplace without them even realising it. So many times I thought “Wow, that’s me” while reading this book. I liked it because it made me feel not so dumb for feeling this way and helping me to realise the reasoning behind my thinking.

Anyway I feel like my year of increasing my confidence at work has been very useful, and that these 6 books were a gigantic part of it. I know that it’s not going to be something I work on once and then never have to do anything about again, it’s something I’m going to have to constantly work on, which is why it’s so great that I’ve got these books to keep reading over and over again whenever I feel like my confidence at work is slipping.

Now it’s 2018 and I have started a new year with a new goal. I feel confident in my new goal, because I have improved the confidence I’ve got from my work, and grown to acknowledge all the things I’ve been able to achieve in my career space. It really makes me feel that I can do anything I set my mind to, and I guess that’s what confidence is.

Leave a reply

High Tea React App Deployed on AWS

I am inordinately proud of a React App I just built.

It is an update of one of the first Rails Apps I ever made, and that I still use to this day – my app to rate high teas.

This new version (note: there is a bug that means you have to wait or reload, must fix) is a React app that pulls data from my old version via an API. I then deployed it onto AWS S3. The code can be found here, but some details that I want to point out are:

  • I was originally very bamboozled by how to set up a JS project, thus I recorded some notes here.
  • I used webpack to bundle it up, and then deployed the dist folder to an s3 bucket on AWS with: aws s3 sync dist/ s3://high-tea --acl public-read --delete --profile profileName 
Leave a reply

Setting up a JS project

I’m sure the instructions for this change all the time, but at the moment this is how I set up my latest JS repo.

To create the package.json file that will contain all the meta data for your project:

yarn init

Add a linter so that you can get into the practise of writing good JS

yarn add eslint --dev

Add webpack, which will bundle all your javascript, libraries and what you have written, into a single JavaScript file.

yarn add webpack webpack-dev-server --dev

Install babel, so that you can write in whatever JS you want, and browsers will be able to read it. E.g. you can write in ES6 and Babel will translate it for you.

yarn add babel-loader babel-core babel-preset-es2015 --dev

or

npm install --save-dev babel-preset-es2015

Then set up your .babelrc file to include that preset:

{
  "presets": ["es2015"]
}

Set up your webpack.config.js – making sure to include Babel details in it.

module.exports = {
  entry: "./src/app.js",
  output: {
    filename: "./src/index.js"
  },
  module: {
    rules: [
      {
        test: /\.js$/, 
        loader: 'babel-loader', 
        exclude: /node_modules/ 
      }
    ]
  }
}

Finally, you probably want to ignore the node_modules folder with a .gitignore file.

Set up your HTML and JS pages
Create an index.html page and an app.js. Note that the html page shouldn’t call your
app.js file, it should call whatever is the name of your output JS file in your webpack.config.js. In this case it is ./src/index.js.

Run locally
Run your app locally using hot reloading

webpack-dev-server ./src/app.js --hot --inline

You can use your linter by running

eslint ./src/app.js

Adding React

I wanted to make this repo a React App, so I added React and ReactDom

yarn add react react-dom

Then I added the Babel preset

npm install --save-dev babel-cli babel-preset-react

And updated my .babelrc

{
  "presets": ["es2015", "react"]
}

To get started with React I referenced a ‘root’ div in my HTML and then imported React into my App.js

import React from 'react';
import ReactDOM from 'react-dom';

ReactDOM.render(
MyElementsGoHere
,
document.getElementById('root')
);

And this is what that repo would look like at that point  

Leave a reply

Props vs State in React

I’ve recently started learning React. The Facebook React docs are fantastic for getting started, highly recommend.

Before I went completely through the docs I was getting very confused between Props and State in React, but as I went through the Docs I learnt some things to help distinguish them:

Props

  • Passed down from parent to child
  • Both class and function components can use props
  • Props are read only, they cannot be updated

State

  • State is set up when you create a component – i.e. in a constructor.
  • Only components that are built from classes can use state, components built from functions cannot.
  • Unlike props, state can be updated
  • Reserved for interactivity – i.e. state is updated by user in put

Is it a state or a prop?  (from React Docs)

  1. Is it passed in from a parent via props? If so, it probably isn’t state.
  2. Does it remain unchanged over time? If so, it probably isn’t state.
  3. Can you compute it based on any other state or props in your component? If so, it isn’t state.

Passing information up and down the inheritance tree

You pass information down via props.

You pass information up via callback (event handlers). Read these docs on how to lift state up, i.e., pass state up from child to parent, by using callbacks

A note on initialisers:

From the React Docs

The constructor is the right place to initialize state. If you don’t initialize state and you don’t bind methods, you don’t need to implement a constructor for your React component.

Side note about what I’m building in React:

The project I’ve decided to work on is an evolution of my High Tea app. This was one of the first Rails apps I ever built, back in 2013. I haven’t worked much on it since then, but have kept it going and done a few tweaks just because, unlike other little apps I made, this is one that I actually still use. I keep updating it with all the new High Teas I go to.

So, I’ve decided to create a React front end to it, and develop some API endpoints for my old app, so that I can practice some React.

Leave a reply

How it looks matters

I’m not good at design, and for some reason I believe this is an innate thing that won’t change about me. I can’t imagine getting better at design, and I also don’t have the drive. (Example A, this website. Example B, my high tea app, and so on and so forth).

However, I have come to accept that I need things I build to look some basic level of decent, or no one will use them. I can take ages making a little site that does something amazing to some user input, but invariably when I show it to someone they will say something like “Can you make it look better?”, “Maybe put some images?”. And I’ll huff and puff and get annoyed and say – who cares what it LOOKS LIKE, look what it can do!!!

But, the fact is. People prefer things that look nice, and sometimes that look even makes it easier to use and understand.

I’m not thinking I’m going to get great at design any time, but there is this tiny tutorial I’ve looked at many times, and I’m posting it here to remember it when I need a reminder to make the design of my things just a bit less crap - http://jgthms.com/web-design-in-4-minutes/

Leave a reply