The Goals of 2022

I started off 2020 on a great note and continued through the year. I used a daily checklist in Notion to make sure I accomplished something every day. Here is the single list of things.

  • Learn something new
  • Read
  • 30 mins on Social Media
  • Do House stuff

A weird list, but here’s the reasoning behind the four.

Learn Something New

This one is pretty simple. Learning anything new that day to increase my knowledge in either my work field (IT) or my personal self-help/growth. This task can be completed using the next item on the list, “Read.”

My company pays for a subscription to ITPro.TV, and online learn at your own pace IT library of classes. My goal was to do one hour daily but sometimes it doesn’t happen. This year I want to put more of a priority on this. Its free to me and can only provide me with more understanding of the IT world I work in.

Read

A journey I started in 2019 was to read more. Before that year, I couldn’t tell you the last time I read a book about anything. So my first dive into self-help books was Atomic Habits by James Clear. This book set the groundwork for this entire journey in learning more and stopping the waste of my time on social media.

After finishing Atomic Habits, the natural progression seemed to move to Cal Newport’s books. So I started with Deep Work. The premise of the book is distractions are bad. Picking a task and just working on that one task without the distractions of email, text messages and phone calls. It also talks about the reality that other people’s emergencies don’t have to be yours.

I continued my Cal Newport journey to Digital Minimalism. Minimalism is a topic and Philosophy that has fascinated me for years now. Something about having what I need to bring peace to my over-filled brain and physical space feels like the piece I wish I had. As I write this post, I hardly have enough room for this computer on the table due to the cereal box, water cup, baby monitor and residual items from Christmas scattered over the dining room table. Always a work in progress.

A World without Email was an exciting read. In my line of work (IT), it’s not practical to only check my email once a day, let alone a few times a month. A lot of this book I couldn’t relate to or couldn’t apply in my daily work-life, and so that concluded my Cal Newport journey.

I was an avid listener of The Tim Ferris Podcast but fell off the bandwagon when he gets in the “compounds” and psychedelics, two topics I have no interest in. However, one episode came up in the feed that interested me, the lost South by Southwest talk he did before the release of his famous book “The 4-hour Work Week”.

I was glued to the 50-minute episode. I as soon as the episode ended, I bought the book. I’m only into it a few chapters, but what a game-changer. I’m trying to apply the teachings from this book to my everyday life, though some are difficult due to my 9 – 5 “career.”

30 Minutes of Social Media

I have removed Facebook from my phone entirely and only check it when sitting at a computer. I also found removing all the news organizations and companies trying to “buy my eyes” has cleaned up my feed. I now only see things friends and family have posted. Sometimes I don’t check Facebook for a few days, which is a massive change from the once-every-hour doom scrolling.

On the flip side, Instagram is still a problem for me. A lot of communication occurs in the Instagram app, so I find myself chatting and scrolling while I wait for responses. My one relief has been tapping on the “Instagram” logo at the top of the app and changing to see people and hashtags I’m “Following.”

The 30-minute limit should reduce the “doom scrolling” until I can make the jump to only a few times a week.

Do House Stuff

This was always an area of improvement. With two kids, the house goes from clean and organized to a disaster in just a matter of 30 seconds. I checked this box off once I had cleaned or run a load of laundry once a day. It’s not glamourous, but it has to be done.

Final Thoughts

I’m going to put the processes I had created with the daily checklist back in place. Unfortunately, stopping didn’t hold me accountable for the tasks on the list, thus causing everything to fall by the wayside. I believe this is also the reason for my decline in mental health.

I want to find an app to help me along with this journey as there are many barriers when using Notion to track the changes. If you have any suggestions, please comment below. Your help would be greatly appreciated! I will report back on how the journey is going. New me starts today!

Social Media Detox

Over the last 3 months I started tracking a list of daily task that I would like to adhere to. One of those tasks is 1 hour of social media per day.

At first this was easy to do. I broke my Samsung S8 phone and had to switch to an old iPhone 7 we had. I decided to only install the apps I deemed essential. Facebook, Instagram and Twitter did not meet that essential criteria.

I found my concentration was up and I was able to complete more projects at work. It’s amazing what a hole day of not scroll through Facebook can do. During this time, COVID was in full swing here in Canada. Facebook felt toxic with all the fears and “crazy talk” from some of my Facebook”friends”. Instagram was filled with pictures of text?! That’s right, pictures of sentences. I thought Instagram was for photos?

Limiting social media to 1 hour a day really changed my perspective. I realized my primary news outlet was Facebook so I decided to login to my Feedly.com account and setup some good old RSS feeds but reduced my selection to my local news paper (not actually a paper anymore) and international news from the CBC. I do have a few personal blogs I follow but posts are few and far between.

Since the beginning of August, I have felt my self slipping. In the evenings, I’m scrolling past the 1 hour limit. I justify this by saying “well the days over so what does it matter”. It matters! As I write this post, my productivity has dropped, concentration has dropped. I still don’t check social media on my phone, but when I get home, there I am, scrolling through Facebook and Instagram on my tablet.

I see my son developing the same bad habits as his parents. He comes home and just wants to sit in front of a laptop and watch endless episodes of Peppa Pig. He doesn’t even like to go outside and play with his toys. I’m almost at the point where I sell everything in our back yard.

The Goal

For me, it’s time to be more present. Stop scrolling and stop wasting my time reading what crazy conspiracy theory aunt Helen is sharing on Facebook. I’m sure if this photo gets 100 likes, God will send me $1000.

What are your theory’s on social media and what its doing to you? Do you find it helpful or is getting in the way of living your life?

Pi Project Update

Over the last few years, I decided to make my “Outdoor automation” a little more permanent and indoors. The Pi lived outside in my garage or screwed to a floor joist in my basement. My goat was to provide the same functionality but in a safer case, and have it permanently installed. The tasks the solution needed to perform were as follows.

  1. Water the lawn during the summer
  2. Control the Christmas lights during the winter
  3. Play music for Halloween on Oct 31.

I controlled the watering with a 4 bank relay. My plan was to have the ability to control 4 watering zones. I still only have the one water valve but I do want the ability to add up to 4.

During the month of December, I wanted to control the Christmas lights. 1 relay for the eve lights and 3 more for the floodlights on the lawn. The floods alternate colour ever 30 seconds.

The Hardware & Software

Pi Model B

I already owned most of the hardware for the Pi. It was the outdoor box to house the outlets and pipe. I also wanted a box inside to mount the relays, transformer and the Pi.

I used an 8 channel relay board. I soldered 4 relays together for the 25V AC side and the other 4 for the 120V AC side. If at any point I need to change the board, I will be replacing this one with 2 x 4 channel boards. This will then separate the high and low voltage.

Relays are wired up.

The Pi was always the best candidate for these tasks. The Christmas lights and Sprinkler projects were built in Python3. You can find the code for these here.

The Halloween project just plays some scary music to a speaker I place just near the door. I ordered a 15′ 3.5mm cable extension to get the audio from the Pi out to the front lawn. This cable I run through the window because it’s used once a year for one day. The code for this is available here.

Photos

Setting up the layout.
High voltage is hooked up.

The Audio Chain

As most of you know I am a huge audio file. The other day I was having a discussion with a friend of mine concerning audio chain and what he did in the studio vs what I do on live setups

As a bed room DJ I don’t see very many large venues. Most of the time I am playing house party’s. I do like to have a proper balanced setup for any gig I am performing wither it’s from my bed room to the internet or to 50 people in a house.

House parties can be tricky because audio maybe required in other rooms or outside on a patio. Some houses have built in home audio system. Most will have the power amps for each room in one location. I normally patch into this to provide listening experience in all room but also have it adjustable for each room. Not every room has to be the dance floors. Be sure to discuss this with the host of the party before tearing apart there house.

On the output side I like to have a few key peaces of gear either on the master effects chain or between the main mix and the power amplifier gear.

  1. Compressor / limiter / gate
  2. Equalizer

I normally run light compression just to normalize the audio some. I then set the gate to eliminate any added noise from the mixer (normally set low). The limiter I set appropriately to the venue and the sound system I will powering. If the venue is small but you have a powerful sound system, you might want to consider setting the limiter high to prevent deafening your crowd.

The limiter is when I save myself during DJ events. With the limiter in the chain I find I am more aware of the audio levels of the room. Have to remember, people do not want you driving the audio to the max all night. I find myself adjusting the master output just slightly. Play the good songs loud and the less popular quieter. You do want to avoid abrupt volume changes. Be sure to practice this before hand. I often use this when I want to emphasize the first drop in a song. Using this technique is where the limiter can save you from blowing speakers.

The last device in the chain is the equalizer. Some engineers would say well that’s stupid, shouldn’t it be before the compressor? Well yes and no. In my case I am running a set of vintage Rotel speakers when I’m DJing house parties. I know these speakers have bad low end without the help of an EQ. This comes back to the idea of knowing your equipment before taking it out. My equalizer is normally set to bring 30 – 60Hz up by about 1 or 2 db.

During bigger gigs, I will run the compressor through the master effects loop then the output into a crossover then out to the proper amps for that venue. The reason I run all effects through the master effects loop is so I can monitor levels using the mixers VU meters. I am able to listen to a song, set its gain based on the PPL VU and then know exactly where it will end up on the master output meter. This guarantees clean audio output to the power amplifier section.

I hope this has helped you understand what a DJ can do with out bored equipment. Remember none of that is set in stone, so experiment and let me know what you do in the comment section below.

Apache VirtualHosts

The following tutorial will explain how to configure one Apache server to resolve for multiple domain names. We assume you already have install Apache on you Linux based server. Check your distribution for where the configuration files are stored. For this example I am using Ubuntu 12.04.1 LTS.

Make sure you have the DNS A records pointing to the external IP of your server.
We will setup the following domains:

  • example1.com
  • example2.ca

First step is to create separate directory’s for each website. Apaches default web folder is /var/www so we will make the folders in there.

cd /var/www
mkdir example1.com
mkdir example2.ca

Now that the directory’s are made you can upload the sites into each of them.

Next step is to make some configuration files for each of the websites. For that we are going to switch to the /etc/apache2/sites-enabled and create a new file. You can use another text editor if you wish.

cd /etc/apache2/sites-enabled
nano example1.com

Inside this file, you will want to insert the following config.

<VirtualHost *:80>
        ServerAdmin webmaster@example1.com
        ServerName example1.com
        ServerAlias www.example1.com

        DocumentRoot /var/www/example1.com

        <Directory /var/www/example1.com>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/example1.com-error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/example1.com-access_log.log common

</VirtualHost>

You could keep the logs in there default directory, but I like to know if one site has an issue that others are not. In this configuration we have not included CGI for security reasons.

The next configuration file is simple. Just need to replace example1.com with example2.ca.

<VirtualHost *:80>
        ServerAdmin webmaster@example2.ca
        ServerName example2.ca
        ServerAlias www.example2.ca

        DocumentRoot /var/www/example2.ca

        <Directory /var/www/example2.ca>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/example2.ca-error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/example2.ca-access_log.log common

</VirtualHost>

After you have created all your configs, it’s time to restart Apache.

sudo service apache2 reload

That is it. You have now configured multiple domains on Apache.