Tuesday, October 20, 2015

Book - Influence, the Psychology of Persuasion

This was kinda off track for books I normally get, but I liked it.
Gives insight into the human psyche.

Was gonna write up more details below, but I found this youtube video that basically sums up the whole damn book in 12 minutes:

https://www.youtube.com/watch?v=cFdCzN7RYbw

6 Factors:
  1. Reciprocation
  2. Commitment and Consistency
  3. Social Proof
  4. Liking
  5. Authority
  6. Scarcity

Tuesday, October 13, 2015

Service Discovery

Consul vs Eureka vs Etcd vs Zookeeper vs RollYourOwn:
  http://www.gomicro.services/articles/service-discovery-overview
 
Consul vs Zookeeper:
  https://www.consul.io/intro/vs/zookeeper.html


And then some really heavy stuff:
http://progrium.com/blog/2014/08/20/consul-service-discovery-with-docker/
http://progrium.com/blog/2014/07/29/understanding-modern-service-discovery-with-docker/
http://book.mixu.net/distsys/single-page.html

A comprehensive solution to service discovery will have three legs:
  • A consistent (ideally), highly available service directory
  • A mechanism to register services and monitor service health
  • A mechanism to lookup and connect to services

Chubby, Zookeeper, etcd, Consul are distributed data stores that are defined by their use of a consensus algorithm requiring a quorum for writes and generally exposing a simple key-value store.
Sometimes also called a 'lock server' or 'config store'.

12 factor apps

Summary:
http://www.clearlytech.com/2014/01/04/12-factor-apps-plain-english/

Full:
http://12factor.net/


The Twelve Factors

I. Codebase

One codebase tracked in revision control, many deploys

II. Dependencies

Explicitly declare and isolate dependencies

III. Config

Store config in the environment

IV. Backing Services

Treat backing services as attached resources

V. Build, release, run

Strictly separate build and run stages

VI. Processes

Execute the app as one or more stateless processes

VII. Port binding

Export services via port binding

VIII. Concurrency

Scale out via the process model

IX. Disposability

Maximize robustness with fast startup and graceful shutdown

X. Dev/prod parity

Keep development, staging, and production as similar as possible

XI. Logs

Treat logs as event streams

XII. Admin processes

Run admin/management tasks as one-off processes

Sunday, October 11, 2015

Dryer Failure









So.. the dryer stopped drying today.
Checked lint trap
Check exhaust hose
removed exhaust hose
blower was working...
just seemed to not be producing heat.
first thought was the heater element died, but the internet is smarter than me and it said i should check the thermal cut-off.
multimeter said thermal cut-off was Open.. which means its dead... so ordered a new one.
and ordered a new thermostat too. its recommended to replace em both

Wikipedia says thermal cut-off seems to be able to act as a switch VS a thermal fuse seems to be like a regular electrical fuse:  cook it once and its done. 

Anyhow, found parts online (damn you homedepot, lowes, sears for not carrying that stuff) and hopefully it'll showup within five days.







photo stolen from 'justanswer.com' cuz it just easier
http://ww2.justanswer.com/uploads/wilbur44/2010-07-05_181404_2009-03-08_171452_whirlpool_dryer_thermal_fuse_back.jpg