Sim 🚢
/sim

Welcome to my social blog where I write about productivity, healthy habits, app development and being a software engineer
Sim 🚢
4y ago
The four steps I'd attribute to helping me prepare for software engineer interviews.
These steps were eventually all done simultaneously, but I spent a few weeks to a month on evenings/weekends getting to know the language and getting familiar with data structures and algorithms
Know the language
When doing tech interviews you'll sometimes be given a choice of language to use.
For me that was Javascript. I had been working in Javascript for quite some time, I really wanted to understand how fast some of the in-built functions were and what they actually did.
For example, sort() as the name suggests sorts elements in an array, but what I didn't realize because I had always been using it for numbers was that it was doing so lexicographically, meaning it was sorting it alphabetically.
Get Familiar with Data Structures and Algorithms
Most technical interviews will test you your knowledge of data structures and algorithms. My process was to practice them in Javascript and then create flash cards for testing the operations and run time (big O) of each data structure and algorithm. I would spend an evening or two on each data structure. Every morning I would review all the flash cards and separate them into stacks of 'what I knew', and 'what I need to review more'
At the same time I was using my knowledge to create side projects and beef up my Resume/CV.
Practicing Problems
This is when you really test yourself on your knowledge. Early on, if you suck, that's ok. Eventually you'll start to get it. I recommend getting Leetcode premium.
I found Youtube videos and Udemy courses, specifically JavaScript & LeetCode | The Interview Bootcamp by Kevin Nguyen extremely helpful
Get familiar with the company you're interviewing for
I think this step is crucial especially when you're new and just getting started. You want to work in a place where you can grow and developer as a person and engineer.
At the end of the interview you'll get a chance to ask questions to your interviewers. Typically these are seniors at the company.
Ask questions to get a gauge for the workplace. You don't want to work at a place with a high turnover rate. Find out what the interviews think about their workplace, how the company can improve, what they're happy with, etc.
Sim 🚢
4y ago
Have you heard about Golang?
No? All good,
That was me in 2021 when I was told I needed to learn it for work. A devoted Javascript and Python programmer, I was a bit unsettled by Golang (Go) and it took me forever to understand why anyone would want to use it, but then it all changed.
Fast forward to now, and I think it's the best.
Many people tout Python as the best language to learn first, but I would argue that learning Go would be better. Go was created by Google to help them solve pragmatic problems. That means, that Google, which had a revenue of 257.6 billion USD last year spent $$ to make this language. And when Google does something, they do it well (except maybe making glasses🙃).
All that aside, you can learn so much from working in Go.
Go has a built-in testing command that you can use to learn how to do test-driven development. You have to define the type of variables, which helps you plan and understand what the code does. Go runs up to 30 times faster than Python. I just added that in there for funsies, but ya you get the point. Go is great.
If you want to get started learning Go, head on over to: https://go.dev/tour/welcome/1
You can dive into the basics of the language and see if you like it.
Once that's done you can watch this free hour-long youtube video that will teach you more fundamentals:
Sim 🚢
4y ago
What happens if you've got terrible neck and back pain but are unable to seek professional help?
For far too long this was me. I would try and manage the pain with painkillers and pray it goes away. But, throughout the years, with help from my physiotherapists, I was able to learn exercises that would help prevent and fix injuries that I had.
Here are some common injuries that people who sit at a desk get and exercises that will help relieve the pain:
Lower Back Pain:
I went through years of physiotherapy thinking my low back pain as a result of a weak back. The truth is most lower pack pain related to sitting/being inactive occurs being of a weak core. The fix for that was a lot of planks and side planks:
planks: https://www.youtube.com/watch?v=pSHjTRCQxIw
side planks: https://www.youtube.com/watch?v=wqHdlRBWsAo
I would do 2 sets where 1 set would look like:
plank, left side plank, plank, right side plank
You're going to want to do all this in succession for 15 seconds each. Once you can handle more add 5 seconds to each exercise
Neck Pain:
As I'm writing this, my nose is almost touching the monitor. My neck is craned forward. I used to wake up with bad neck pain that would last a week.
The simple fix for that was:
An ergonomic cervical pillow. These pillows are amazing. They have a bit of a crevice where you can lay your head and neck in. I bought mine from Amazonpillows
neck mobilization using a towel: https://www.youtube.com/watch?v=qIsnadUGthg
Shoulder Pain:
Shoulder pain goes hand in hand with neck pain. The best exercises I've been told to do are:
With all that said, I think It's necessary to go seek out a professional who can assess and help you manage/eliminate any pain you are having.
Hopefully, these exercises helped. Reach out for other exercises that weren't included!
Sim 🚢
4y ago
There are over 10,000 programming courses on Udemy, but only a few teach you the basics of how to program.
Here are some of the best courses you can try:
FOR MAKING FUN, SMALL USEFUL PROGRAMS
Automate the Boring Stuff With Python by Al Sweigart
By learning python you open yourself to a world of opportunities.
In this course, you'll learn a lot. The nice thing is that all these programs are small and so they don't require a ton of work. In and out, you'll finish a program in no time. You'll have a ton of fun being able to write programs that will grab information from online resources or programs that will click and type for you, or write and send emails.
There's a reason why Python is one of the most used languages in the world and you've just seen a taste of what you can do with it.
FOR MAKING WEBSITES
Beginner PHP and MySQL Tutorial by Infinite Skills
PHP, like Python, is an intuitive language to learn and I enjoy programming in it because you can do so much without writing a lot of lines of code.
I'm a little biased because I do a little bit of development in PHP at my current job and have to say that it's a flexible language that can be used to do many things. A lot of companies still program in PHP and some of the coolest websites in the past 10 years have been built using PHP, take nomadlist.com for example.
With PHP you can get started and build fast.
Angular Front to Back by Brad Traversy
Take your web development a step further (no offence to PHP) and learn Angular Development.
Angular was what I used at my first job so I really came to enjoy it. Angular forces you to be code in a very strict manner so that you make fewer mistakes. Angular was created by Google and used in many of its products (Google Search)! If that's not endorsement enough, I don't know what is.
Try it out!
NOTE: Udemy courses regularly go on sale so instead of paying full price (I never have) I only buy the courses when they $10-$30.
Sim 🚢
Living a Healthier Life
4y ago
I went through a 6-week insomnia treatment program six months ago. I learned a whole host of tricks that helped me fall asleep faster and sleep better. Of all the tricks I found these 2 to be the easiest and most effective.
1. Avoid Watching your Bedroom Clock (avoid electronics in the bedroom)
Observing the time at night tends to increase physiological arousal by making us vigilant and often preoccupied with our sleep. The reaction to noting the time at night can cause us to become frustrated, or concerned ("why am I awake at 1 am.. what's wrong with me")
Get rid of all clocks in your room!
2. Relaxing before Bed
A) Paced breathing
Place one hand on your chest and the other on your abdomen. Inhale slowly through your nose and as you do so, push your abdomen out about one inch. As you exhale let your abdomen fall back in. Inhale slowly and exhale. Do this for as long as you want.
Also try 4-7-8 breathing: https://www.youtube.com/watch?v=j-1n3KJR1I8
B) Progressive/Deep muscle relaxation
Here's an easy to follow along with video: https://www.youtube.com/watch?v=ihO02wUzgkc
C) Imagery-induced induction
Imagine a relaxing time in your life.
For some people, this occurs when they imagine themselves sitting on the beach, or lying in a hammock. For me, I imagined playing soccer on a beautiful day.
Try it out for yourself. Experiment around certain ideas or situations.
Find a comfortable place, close your eyes, and imagine the relaxing scene. Think about the smells, the sounds. Involve all your senses. Do this for 10-15 minutes, then open your eyes and enjoy the relaxation.
Using this technique can lead you to feel more relaxed, breathe slower, and feel calmer.
Experiment by combining 1 with 2B one night, then 1 with 2C another, etc.
And that's it. These 2 exercises are really basic and obvious but I found them to be the most helpful. There are a few other tricks I learned but I couldn't fit them into this essay!