Categories
EDH

New Vanity in EDH

We put in a new vanity last weekend at the EDH house, it turned out to be a fun little project. We snapped some pictures along the way which are below:

The Old Vanity
Old Vanity Removed
Tracing needed cuts so the top will fit flush
New Vanity Installed
New Mirror Installed

 

Categories
Finance Samuel

Favorite ERE Quotes

These are all copied from: http://earlyretirementextreme.com/frequently-asked-questions

Below is a list of my favorite tidbits of info from ERE.

In permaculture, one tries to understand how different plant and animal species interrelate with the goal of creating an arrangement with the highest possible production using the least amount of effort. The idea is to replace doing with thinking. Permaculture is brain-intensive rather than pesticide and fertilizer intensitive. You locate one plant (your job) close to a second beneficial plant (your home) which automatically fertilizes the first so you save on fertilizer (transport). You arrange plants (things you do) to minimize evaporation (wasting) so you no longer have to water them (spend). Eventually, your life will be so optimally designed and arranged in such a way so as to get paid for participating in your hobbies, get free food (from the garden) and exercise and eliminate unhealthy sideeffects like illness and stress.

Conversely, a non-permaculture way of thinking focus on increasing yield (income) of a single crop (your job) by increasing the amount of fertilizer (effort), using genetically modified seeds (technology and gadgets). You see the analogy, right? Actually a lot of the comments I get about ERE being “too extreme” and “too much sacrifice” is from those who do not see the analogy. You can imagine how an industrial farmer sees permaculture before understanding it: “Wow, your production (standard-of-living) must be low (austere) given the amount of fertilizer (money) you use (spend).

Q: How can someone with children retire early?
A: The same way as people without children. By themselves, children actually spend very little money. The problem is parents spending money on their children without limits. If you adopt the same basic guidelines for your children as you do for yourself, the cost will be low. The fiscal or frugal problem happens when parents are willing to spend less on themselves but still want to create a consumer lifestyle for their children, usually with the goal to conform. I believe this is doing the children a disfavor. Unlike stuff which you can just put in your garage, children need attention which you can either provide yourself or pay someone else to provide for you. Early retirement is a great way to provide time and attention and if you’re smart you will wait the 5 years it takes to save enough money to be financially independent before having children.

Q: I think 30 is way too young to be retired!
A: Could it be that you’re stuck in the conventional “school-career-retire-die” way of thinking about life? If so, you need to read a bit more of this site because that’s NOT the kind of retirement ERE is about. Here retirement is used in the “becoming financially independent and using that freedom to pursue other interests”-sense. Incidentally, this is not a new idea. Rather it is an old and somewhat forgotten idea. If you read biographies of people like Ben Franklin or Joseph Conrad, you will often see that they “retired” from one profession to take up another interest. Being financially independent and also well-rounded and possessing more than one skill made that possible.

Q: Do you have a bucket list?
A: Not officially! My goal in life is simply to avoid boredom. However, here are some things that interest me and a few things I have done: Get a PhD. Publish a scientific paper. Become financially independent. Live in a second country. Live in a third country. Live in a fourth country? Visit more than 10 other countries. Become a millionaire. Live in an RV. Live on a boat. Work on Wall Street. Work on/in the space program. Work in a strategic role (security or politics, not business). Learn to sail. Get a HAM radio license. Build a radio. Get my own wiki page. Publish a bestseller. Be published in three separate fields. Build a house. Buy a house. Sell a house. Fix a car. Build a vehicle. Take a trip walking 1000+ miles. Take a trip cycling 2000+ miles. Take a trip sailing 4000+ miles. Climb a mountain (Mt. Fuji). Fly an airplane. Get a black belt in a martial arts. Develop enough skills to live well on less than $7500/year. Less than $5000/year. Less than $2500/year. Become completely self-reliant: $0/year. Live off freelance income. Live off investment income. Live off business income. Live off wage income. Patent an invention. Learn woodworking. Learn metalworking. Ride a motorcycle. Shoot a gun. Build a steam engine. Build an entire machine toolshop (Gingery style). Go to Alaska and build a cabin to live in Proenneke-style. Build a robot. Build a boat. Build a motorcycle. Live forever…

Categories
Samuel Voluntary Discomfort

First Voluntary Discomfort Session of 2018

As a general practice, I have really started to find the act of Voluntary Discomfort to be very enjoyable and worthwhile. This practice is something that I have done for a long time but I have never been intentional about it. I’ve only occasionally done things like taking walks in freezing weather or taking cold showers to start or end a day. Every time I had no plan though, I simply started and stopped at a random interval. Moving forward I’m going to be intentional about this practice from now on, I’m planning to do each act of Voluntary Discomfort in a 30 day series and also journal the results.

First up for the month of January will be the Voluntary Discomfort of spending no money for the entire month (or as long as we can go). To start this challenge we did the following:

-Filled up our cars with gas on 12/31/2017
-Purchased groceries on 12/31/2017

And that’s pretty much it! We are simply going to try and see how long we can go without making a single purchase. Luckily we both do not have very far commutes so we think the tank of gas in each vehicle should come pretty close to lasting the entire month. Hopefully, we can last the entire month, that does seem pretty extreme though so we will see how far we can get!

Categories
Fixing Stuff Samuel Technology

Fixing Nest Thermostate In 20 Degree Weather

We woke up today with a nest thermostat was showing “dead battery”. After some googling around we realized we could take it off the wall and plug it into a USB cable to charge it. So we did that and 10 minutes later it was showing the message “connect to base”. So we put it back on and still no luck, it showed wiring error E74. After some more searching around we came across a nest support page that explained when the weather gets cold there is sometimes a safty shut off switch on your AC that activates preventing the nest from getting power. The solution is to simply unplug the Y1 power and plug the nest back into the base. The Unit should instantly kick on and start heating again:

Link to nest support page documenting how to remove the Y1 wire: https://nest.com/support/article/Troubleshooting-Nest-Thermostat-power-errors-when-it-gets-cold-outside

If you keep running into this issue, you can change the ground wire into a commmon wire buy following the instructions on this video: https://www.youtube.com/watch?v=R039DH7HASg

Categories
Finance Samuel

Favorite MMM’s

This is just a running list of my favorite MMM posts as I re-read his entire blog:

It’s All About the Safety Margin

Springy Debt instead of a Cash Cushion

The 4% Rule: The Easy Answer to “How Much Do I Need for Retirement?”

The Shockingly Simple Math Behind Early Retirement

Killing your $1000 Grocery Bill

**https://www.mrmoneymustache.com/2011/10/25/the-joy-of-part-time-work/

—not MMM’s but other good articles—

Frequently Asked Questions

Categories
Gitflow Samuel

Gitflow Real World Example

The notes below are from a real world example of updating WordPress core and plugins on a website stored in a repo following the gitflow model. We already went over a test run of updating WordPress in a gitflow repo in our earlier post, if you are new to working with gitflow you should start there.

Clone down a copy of the repo into htdocs

cd /
ls
cd /Applications/MAMP/htdocs
cd /project-folder-name
Git clone git@github.com:user-name/repo-name.git
Now fetch the headers:
Git fetch
Git remote (to see remote branches)

git lfs install (follow steps here if this is the first time doing this, we will need to install this on our system:
https://help.github.com/articles/installing-git-large-file-storage/)

npm install (check for packages.json first, this command will install all the packages listed in in package.json file)

Troubleshoot NPM Install

You will probably get an NPM install message of:
Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! libxmljs@0.14.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the libxmljs@0.14.3 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the libxmljs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs libxmljs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls libxmljs
npm ERR! There is likely additional logging output above.

To fix this were going to run:
Sudo npm cache clean –f
Sudo npm install –g n
Sudo n 4.7.0
Sudo npm install npm –g
Sudo npm uninstall node-gyp –g

Npm install
*Now all packages should install correctly

Source: https://stackoverflow.com/questions/38058386/why-is-node-gyp-rebuild-failing-on-mac-osx-el-capitan/38102743#38102743

Open repo up in source tree and verify that master and dev are in sync

Open SourceTree and create repo from local
Checkout dev branch by clicking odouble-clickinguble clicking dev, or manually run:
Git checkout dev in terminal window
Review the SourceTree graph to confirm branches are in sync

To login to Plesk go to:
https://[[ipaddress]]:8443/
click database > phpmy admin export

Create local copies of the repo and DB and store separately in case of an error/issue
Copy the repo and sql dump file onto desktop

Create the local Database & activate the site to use it

Open gitignore to confirm file name of local DB config file.
Create new config file, usually wp-config.local.php. Copy a standard wp-config file and re-save it as wp-config.local.php

Start MAMP then open up phpmy admin
Create DB, import sql dump file from live, then add information to wp-config.local

Change website URL in wp_options table to use local url in both places (http://localhost:8888/site-name)

Troubleshoot 500 server error

Navigate to localahost:8888/folder-name
If we get this error:
Localhost is currently unable to handle this request. HTTP ERROR 500
Then look in the error log by opening up terminal and typing:
tail -n 20 /Applications/MAMP/logs/php_error.log

It shows us an error of:
[20-Dec-2017 18:37:18 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function wp() in /Applications/MAMP/htdocs/churchill-mainsite/Churchill-Center-School/wordpress/wp-blog-header.php:16
Stack trace:
#0 /Applications/MAMP/htdocs/churchill-mainsite/Churchill-Center-School/index.php(17): require()

To fix this we need to create a wp-config.local (copy a full WP-config file). The previous one we copied was not a complete file and it was giving us the dreaded white screen of death!

Create New Feature Branch
git checkout -b feature/wp-update dev

Turn Permalinks off to test pages locally:
Go to settings > permalinks and set them to plain (it was on custom, /blog/%postname%/)

Update WordPress
-update core first
-check the plugins page to verify if any plugins are doing major releases (jumping a whole feature number)
-update plugins one by one checking site for errors after each update

Turn Debug on to verify no errors present:
In wp-config.local add define(‘WP_DEBUG’, true);

Commit code to feature branch:
Review code in Sourcetree and confirm which files we would like committed, then commit it to feature branch inside SourceTree.

Merge code to dev branch (submit site for QA testing on Dev)

git checkout dev
git merge feature/wp-update
git push (open source tree and only push dev branch)

**on a release branch we will use:
git merge --no-ff feature/wp-update -m “merge wp-update branch into dev”
git push (open source tree and only push dev branch)

*Submit site for QA then stop here waiting for QA approval*

If QA testing passes, then delete feature branch:
git branch –d feature/wp-update
git push --delete origin feature/wp-update (only if we pushed feature to the repo)

Create new Release Branch from dev branch:
git checkout dev
git checkout -b release/X.X.X (check repo version numbers)

Update readme file in release branch:
# Change version number in package.json and README.md files to line up with new #

Merge from release branch into Master:

*Download a copy of the live site files & DB before proceeding to next step*
git checkout master
git merge --no-ff release/X.X.X -m “merge wp-update branch into development”
git push

Tag merge into Master:

--follow semantic versioning numbers http://semver.org/. IE from 1.0.1 > 1.0.2
git tag -a 1.0.0 –m “updating from wordpress 4.8.1 to 4.8.2”
git push --tags
helpful links on git tagging:
https://git-scm.com/book/en/v2/Git-Basics-Tagging
https://gist.github.com/justinfrench/89712

Merge Release Branch into Dev:
git checkout dev
git merge --no-ff release/X.X.X -m “merge wp-update branch into development”
git push

Delete Release Branch:

git branch –d release-X.X.X
git push –delete origin release-X.X.X (only if this branch has been pushed to the repo)