Friday, December 06, 2019

Process to Create Algorithmic Visualization

Storyboard Template
  1. Left page, upper section - Code that is currently executing
  2. Left page, lower section - Auxiliary data structure diagram
  3. Right page, upper section - Primary data structure Diagram  
  4. Right page, lower section - Explanation
  1. Draw the diagrams with color pens on paper.
  2. Scan the diagram with color
  3. Embed the images into a document (duplicate the image as many times as desired)
  4. Print the document in color
  5. Draw the shot for each step with color
  6. Scan the document
The sequence of images in the scanned document will now show the visualization.

Sunday, June 16, 2019

First Principles Thinking

Practice of taking any idea, any concept and then stripping it back to basic, fundamental building blocks that are incontestable, free of subjective bias and can be universally accepted as facts.

You do this by questioning every assumption you think you know about a given problem or scenario and challenging current knowledge that is learned, but not essential and doing this over and over until you get to its most basic roots. You will be able to:

- Think inventively.
- Invent new solutions to old problems.
- Change trajectory of creating from iterating on existing thinking to one of genuine innovation.
- Retain and use knowledge effectively because they understand the fundamental building blocks.

Sunday, March 10, 2019

git error

error: src refspec master does not match any.

This can happen when the files are not committed.

Set the PATH for Ruby in Ubuntu

 cat ~/.bash_profile
export PATH=$PATH:/usr/local/bin

Upgrading Git to Latest Version on Ubuntu

sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update
sudo apt-get install git -y
git --version

Tuesday, February 26, 2019

exec: \"/bin/bash\": stat /bin/bash: no such file or directory

docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown.
ERRO[0000] error waiting for container: context canceled 


bash must be installed on the Docker image.

Friday, February 22, 2019

ArgumentError: Missing `secret_key_base` for 'production' environment

set this string with `rails credentials:edit`command, 

Install Ruby 2.6.1 using RVM

rvm get stable
rvm pkg install openssl
rvm install ruby-2.6.1 --with-openssl-dir=$HOME/.rvm/usr

cannot create directory ‘/var/www’

Resolution: create the directory on the server and provide permission to deploy user:
sudo chown deploy:deploy /var/www/

Don't know how to build task 'deploy:updated'


In Capfile the require statement sequence matters:

require 'capistrano/setup'
require 'capistrano/deploy'
require 'capistrano/bundler'
require 'capistrano/rails'