<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Dan Cole</title>
    <description>Perhaps there are thoughts we cannot think</description>
    <link>http://dan-cole.com/</link>
    <atom:link href="http://dan-cole.com/feed.xml" rel="self" type="application/rss+xml" />
    <pubDate>Sat, 25 Dec 2021 22:01:18 +0000</pubDate>
    <lastBuildDate>Sat, 25 Dec 2021 22:01:18 +0000</lastBuildDate>
    <generator>Jekyll v3.9.0</generator>
    
      <item>
        <title>D3.js in Jekyll Markdown</title>
        <description>&lt;p&gt;I’ve used d3.select to target an element &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;div id=&quot;example&quot;&amp;gt;&lt;/code&gt; in this document:&lt;/p&gt;

&lt;style&gt;

div.example {
  font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;
}

.box {
  font: 10px sans-serif;
}

.box line,
.box rect,
.box circle {
  fill: #fff;
  stroke: #000;
  stroke-width: 1.5px;
}

.box .center {
  stroke-dasharray: 3,3;
}

.box .outlier {
  fill: none;
  stroke: #ccc;
}

&lt;/style&gt;

&lt;script src=&quot;http://d3js.org/d3.v3.min.js&quot;&gt;&lt;/script&gt;

&lt;script src=&quot;http://bl.ocks.org/mbostock/raw/4061502/0a200ddf998aa75dfdb1ff32e16b680a15e5cb01/box.js&quot;&gt;&lt;/script&gt;

&lt;script&gt;

var margin = {top: 10, right: 50, bottom: 20, left: 50},
    width = 120 - margin.left - margin.right,
    height = 500 - margin.top - margin.bottom;

var min = Infinity,
    max = -Infinity;

var chart = d3.box()
    .whiskers(iqr(1.5))
    .width(width)
    .height(height);

d3.csv(&quot;/morley.csv&quot;, function(error, csv) {
  var data = [];

  csv.forEach(function(x) {
    var e = Math.floor(x.Expt - 1),
        r = Math.floor(x.Run - 1),
        s = Math.floor(x.Speed),
        d = data[e];
    if (!d) d = data[e] = [s];
    else d.push(s);
    if (s &gt; max) max = s;
    if (s &lt; min) min = s;
  });

  chart.domain([min, max]);

  var svg = d3.select(&quot;div#example&quot;).selectAll(&quot;svg&quot;)
      .data(data)
    .enter().append(&quot;svg&quot;)
      .attr(&quot;class&quot;, &quot;box&quot;)
      .attr(&quot;width&quot;, width + margin.left + margin.right)
      .attr(&quot;height&quot;, height + margin.bottom + margin.top)
    .append(&quot;g&quot;)
      .attr(&quot;transform&quot;, &quot;translate(&quot; + margin.left + &quot;,&quot; + margin.top + &quot;)&quot;)
      .call(chart);

  setInterval(function() {
    svg.datum(randomize).call(chart.duration(1000));
  }, 2000);
});

function randomize(d) {
  if (!d.randomizer) d.randomizer = randomizer(d);
  return d.map(d.randomizer);
}

function randomizer(d) {
  var k = d3.max(d) * .02;
  return function(d) {
    return Math.max(min, Math.min(max, d + k * (Math.random() - .5)));
  };
}

// Returns a function to compute the interquartile range.
function iqr(k) {
  return function(d, i) {
    var q1 = d.quartiles[0],
        q3 = d.quartiles[2],
        iqr = (q3 - q1) * k,
        i = -1,
        j = d.length;
    while (d[++i] &lt; q1 - iqr);
    while (d[--j] &gt; q3 + iqr);
    return [i, j];
  };
}

&lt;/script&gt;

&lt;div id=&quot;example&quot;&gt;&lt;/div&gt;

&lt;p&gt;Things to keep in mind:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Include morley.csv (Search local JavaScript for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/morley.csv&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;Include D3.js&lt;/li&gt;
  &lt;li&gt;Include box.js&lt;/li&gt;
  &lt;li&gt;Include the local CSS and JavaScript&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check out &lt;a href=&quot;https://raw.githubusercontent.com/dancole/dancole.github.io/master/_posts/2017-01-02-d3js-example.markdown&quot;&gt;the code for this post on GitHub&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Mon, 02 Jan 2017 15:00:00 +0000</pubDate>
        <link>http://dan-cole.com/2017/d3js-example/</link>
        <guid isPermaLink="true">http://dan-cole.com/2017/d3js-example/</guid>
        
        <category>code</category>
        
        <category>d3js</category>
        
        
        <category>code</category>
        
      </item>
    
      <item>
        <title>Profit vs. Purpose</title>
        <description>&lt;blockquote&gt;
  &lt;p&gt;The idea that all of the world should be measured in dollars to stockholders is actually a relatively new idea. It used to be that we thought that businesses had their purpose. Your purpose was to be making newspapers or fountain pens or whatever. And now we act as though the only purpose of a business was to enrich the people who trade it on Wall Street… Of course you’ve got to have profit, of course you’ve got to support your ownership. But that’s not why we’re doing it. We’re doing it because publishing a newspaper is a crucial thing to be doing. ~Andy Barnes&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Mon, 26 Dec 2016 21:42:00 +0000</pubDate>
        <link>http://dan-cole.com/2016/profit/</link>
        <guid isPermaLink="true">http://dan-cole.com/2016/profit/</guid>
        
        <category>thoughts</category>
        
        
        <category>thoughts</category>
        
      </item>
    
      <item>
        <title>5-Step Process</title>
        <description>&lt;p&gt;Time is like a river that will take you forward into encounters with reality that will require you to make decisions. You can’t stop the movement down this river, and you can’t avoid encounters. You can only approach these encounters in the best way possible.&lt;/p&gt;

&lt;p&gt;The most important quality that differentiates successful people from unsuccessful people is our capacity to learn and adapt to these things.&lt;/p&gt;

&lt;h2 id=&quot;how-peoples-thinking-abilities-differ&quot;&gt;How People’s Thinking Abilities Differ&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Details to Big Picture&lt;/li&gt;
  &lt;li&gt;Learning to Thinking (Remembering what they were taught verses independent reasoning)&lt;/li&gt;
  &lt;li&gt;Tasks to Goals&lt;/li&gt;
  &lt;li&gt;Planners to perceivers (Perceivers more readily adapt to what’s happening, while planners stick to the plan)&lt;/li&gt;
  &lt;li&gt;Driven by Emotion to Intellect&lt;/li&gt;
  &lt;li&gt;Risk-averse to Risk-taker&lt;/li&gt;
  &lt;li&gt;Introvert to Extrovert&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;values&quot;&gt;Values&lt;/h2&gt;
&lt;p&gt;Reality + Dreams + Determination = A Successful Life&lt;/p&gt;

&lt;p&gt;What do you value most deeply?&lt;/p&gt;

&lt;p&gt;The quality of our lives depends on the quality of the decisions we make.&lt;/p&gt;

&lt;p&gt;What do you want out of life?&lt;/p&gt;

&lt;p&gt;Adopting pre-packaged values without much thought exposes you to the risk of inconsistency with your true values. It can make you a hypocrite where your claims of your belief differ from how you behave.&lt;/p&gt;

&lt;h2 id=&quot;1-goals&quot;&gt;1. Goals&lt;/h2&gt;
&lt;p&gt;Set Goals. Higher-level thinking, synthesis, visualization, prioritization.&lt;/p&gt;

&lt;p&gt;Your values determine what you want, i.e. your goals. Life is like a game where you seek to overcome the obstacles that stand in the way of achieving your goals. You get better at this game through practice. The game consists of a series of choices that have consequences. You have the freedom to make whatever choices you want, though it’s best to be mindful of their consequences.&lt;/p&gt;

&lt;p&gt;Achieving your goals isn’t just about moving forward. They might also be keeping what you do have or minimizing the rate of loss.&lt;/p&gt;

&lt;p&gt;Avoid setting goals based on what you think you can achieve. Thus requires some faith that you really can achieve anything, even if you don’t know how you will do it at the moment.&lt;/p&gt;

&lt;p&gt;To acieve your goals you have to prioritize, and that includes rejecting good alternatives. You can have virtually anything you want, but you can’t have everything you want.&lt;/p&gt;

&lt;p&gt;It is important not to confuse goals and desires. Desires are typically first-order consequences. For example, a goal might be physical fitness, while a desire is the urge to eat good-tasting food.&lt;/p&gt;

&lt;h2 id=&quot;2-problems&quot;&gt;2. Problems&lt;/h2&gt;
&lt;p&gt;Identify and don’t tolerate problems. Perception, intolerance of badness (regardless of severity), synthesis&lt;/p&gt;

&lt;p&gt;The pain of problems is a call to find solutions rather than a reason for unhappiness and inaction.&lt;/p&gt;

&lt;p&gt;Most problems are potential improvements screaming at you. It is essential to bring problems to the surface.&lt;/p&gt;

&lt;p&gt;Problems can be harsh realities that are unpleasant to look at. Thinking about them can produce anxiety. People often worry more about apearing to not have problems than about achieving their desired goals.&lt;/p&gt;

&lt;p&gt;Some people are unable to distinguish big problems from small ones.&lt;/p&gt;

&lt;p&gt;When identifying problems, it is important to remain centered and logical. Be very precise in specifying your problems.&lt;/p&gt;

&lt;p&gt;Don’t confuse problems with causes.&lt;/p&gt;

&lt;p&gt;Once you identify your problems, you must not tolerate them.&lt;/p&gt;

&lt;h2 id=&quot;3-diagnoses&quot;&gt;3. Diagnoses&lt;/h2&gt;
&lt;p&gt;Diagnose the problems to root causes. Hyper-logical, willing to “touch the nerve”, seeing multiple possiblities.&lt;/p&gt;

&lt;p&gt;You will be more effective if you focus on diagnosis and design rather than jumping to solutions. Diagnosing and design are what spark strategic thinking.&lt;/p&gt;

&lt;p&gt;You must be calm and logical. You must get at the root causes. Root causes manifest themslves over and over again as the deep-seated reasons behind the actions that cause problems. It is important to distinguish root causes from proximate causes. Proximate causes typically are the actions or lack of actions that lead to problems. Proximate causes are typucally described via verbs. Root causes are often described with adjectives.&lt;/p&gt;

&lt;p&gt;More than anything else, what differentiates people who live up to their potential from those who don’t is a willingness to look at themselves and others objectively.&lt;/p&gt;

&lt;p&gt;Pain + Reflection = Progress&lt;/p&gt;

&lt;h2 id=&quot;4-design&quot;&gt;4. Design&lt;/h2&gt;
&lt;p&gt;Design a plan for eliminating the problems. Visualization, practicality, creativity.&lt;/p&gt;

&lt;p&gt;Creating a design is like writing a movie script in that you visualize who will do what through time in order to achieve the goal.&lt;/p&gt;

&lt;p&gt;Write down the plan. The plan connect your goals to the tasks. Don’t loose sight of the goals while focusing on the tasks. Be as detailed as possible, include implications (costs, dates/times, people, etc.).&lt;/p&gt;

&lt;p&gt;Designing is very important because it determines what you will have to do to be effective. Don’t become preoccupied with execution.&lt;/p&gt;

&lt;h2 id=&quot;5-task&quot;&gt;5. Task&lt;/h2&gt;
&lt;p&gt;Do what is set out in the plan. Self discipline, good work habits, results orientation, proactivity&lt;/p&gt;

&lt;p&gt;The importance of good work habits is vastly underrated. It is critical to know each fay what you need to do and have the descipline to do it. People with poor work habits almost almost randomly react to the stuff that comes at them and can’t bring themselves to do the things they need to do but don’t like to do.&lt;/p&gt;

&lt;h2 id=&quot;notes&quot;&gt;Notes&lt;/h2&gt;
&lt;p&gt;This process is iterative. If this process is working, each step with change much slower than the next. People who are having a hard time achieving their goals use this process backwards. They stick rigidly to specified taks, changing their plans, goals, and values, going from problem to problem without finding a solution.&lt;/p&gt;

&lt;p&gt;Remember that you need to do each step independently from the other steps.&lt;/p&gt;

&lt;p&gt;The process goes better if you are as accurate as possible in all respects, including assessing your strengths and weaknesses and adapting them.&lt;/p&gt;

&lt;p&gt;While these steps require different abilities, you don’t have to be good at all of them. This isn’t school, you can have other people do the work for you. Seek help from others. This requires you to put your ego aside and objectively reflect on your strengths and weaknesses. Having a weakness is like missing a sense – if you can’t visualize what it is, it’s hard to perceive not having it.&lt;/p&gt;

&lt;h2 id=&quot;principles&quot;&gt;Principles&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Trust in truth&lt;/li&gt;
  &lt;li&gt;Be extremely open&lt;/li&gt;
  &lt;li&gt;Have integrity and demand it from others. Never say anything about a person you wouldn’t say to them directly.&lt;/li&gt;
  &lt;li&gt;Be radically transparent&lt;/li&gt;
  &lt;li&gt;Don’t tolerate dishonesty&lt;/li&gt;
  &lt;li&gt;Create a culture in which it is okay to make mistakes but unacceptable not to identify, analyze, and learn from them.&lt;/li&gt;
  &lt;li&gt;Be assertive and open-minded at the same time.&lt;/li&gt;
  &lt;li&gt;Don’t treat all options as equally valuable.&lt;/li&gt;
  &lt;li&gt;Recognizde that peopkle are built very differently. Think about their different values, abilities, and skills.&lt;/li&gt;
  &lt;li&gt;Remember that people who see things and think on way often have difficulty communicating and relating to people who see things and think another way.&lt;/li&gt;
  &lt;li&gt;Look for people who have lots of great questions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;reference&quot;&gt;Reference&lt;/h2&gt;
&lt;p&gt;*Principles by Ray Dalio&lt;/p&gt;
</description>
        <pubDate>Sat, 24 Dec 2016 14:00:00 +0000</pubDate>
        <link>http://dan-cole.com/2016/process/</link>
        <guid isPermaLink="true">http://dan-cole.com/2016/process/</guid>
        
        <category>thoughs</category>
        
        
        <category>thoughts</category>
        
      </item>
    
      <item>
        <title>Unthinkable Thoughts</title>
        <description>&lt;blockquote&gt;
  &lt;p&gt;Just as there are odors that dogs can smell and we cannot, as well as sounds that dogs can hear and we cannot, so too there are wavelengths of light we cannot see and flavors we cannot taste. Why then, given our brains wired the way they are, does the remark, “Perhaps there are thoughts we cannot think,” surprise you? ~ Richard Hamming&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Sun, 20 Nov 2016 14:05:00 +0000</pubDate>
        <link>http://dan-cole.com/2016/unthinkable-thoughts/</link>
        <guid isPermaLink="true">http://dan-cole.com/2016/unthinkable-thoughts/</guid>
        
        <category>thoughts</category>
        
        
        <category>thoughts</category>
        
      </item>
    
      <item>
        <title>Creating on Principle</title>
        <description>&lt;p&gt;Craftsman, entrepreneur, or activist?&lt;/p&gt;

&lt;p&gt;Creators need an immediate connection. Delays between having an idea and the out come lead to missed ideas. Ideas you can’t think. Or at best are stunted.&lt;/p&gt;

&lt;p&gt;With a delay you have to imagine the out come. If you writing software, then you’re pretending to be a computer.&lt;/p&gt;

&lt;p&gt;A delay in the feedback loop could be a waste of time. You know what you want to create, but your stuck implementing the details. Maybe some minimum time is required, but most of the time a bad interface is the issue. You can’t convey an idea fast enough. You have to start from nothing every time and build up to the thing you want.&lt;/p&gt;

&lt;p&gt;Things need to be immediately interactive.&lt;/p&gt;

&lt;p&gt;Before there were graphs, there were tables, but it’s hard to put the data in your mind. Graphs are a mapping of data on to a positional system. When it’s hard to see something, it is necessary to map that data onto a system you can.&lt;/p&gt;

&lt;p&gt;Systems don’t have to be the way they are. Not everything has to use the pen and paper metaphor. Try to figure out in which ways your blindfolded. What assumptions are you making? Why do beginner not recognize their mistakes? What are your simulating in your head?&lt;/p&gt;

&lt;p&gt;Sometimes you need more information, other times less. Being able to explore is a great feature. But remember to display it in a useful format that helps.&lt;/p&gt;

&lt;p&gt;What is locked in your head?&lt;/p&gt;

&lt;p&gt;This is an injustice. It is a moral wrong. We have a responsibility to correct social wrongs. Have a vision for what a better world could be. It would be invisible in today’s society.&lt;/p&gt;

&lt;p&gt;Are you focused on a career or a technology or working for a cause? Are you working from principles. Is this a personal crusade?&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Enable mankind to solve the world’s urgent problems.&lt;/li&gt;
  &lt;li&gt;Amplify human reach and bring new ways of thinking to a faltering civilization that desperately needed it.&lt;/li&gt;
  &lt;li&gt;Software must be free. It’s a moral wrong for it to be otherwise.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You must be willing to fight for your cause. The world will try to define you by a skill. That’s why you have a major in college. That’s why you have a job title. That is the path of a craftsman.&lt;/p&gt;

&lt;p&gt;The other common path is that of the problem solver, an entrepreneur or an academic researcher. There is a field and a set of problems within that field. You work it and make your contributions.&lt;/p&gt;

&lt;p&gt;What do you want to stand for as a person?&lt;/p&gt;

&lt;p&gt;Make lots and lots of things. Study lots and lots of things. Then use all of those experiences as a ways of analyzing yourself. Does this resonate with me? Does this repeal me? Or do I not care?&lt;/p&gt;

&lt;p&gt;Confining yourself to practicing a single skill can make it difficult to get that broad range of experience which seems to be so valuable for finding a principle to follow.&lt;/p&gt;

&lt;p&gt;A principle should be directly actionable. Does it make you see the world in an objective way. Does it prompt Yes or No answers.&lt;/p&gt;

&lt;p&gt;What matters to you? What do you believe in? What will you fight for?&lt;/p&gt;

&lt;p&gt;Recommend watching Bret Victor’s Inventing on Principle. Many of the thoughts are his.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Why do we have to do so many repetitive tasks that we do not like?&lt;/li&gt;
  &lt;li&gt;Why do we have deadend jobs that are soul sucking?&lt;/li&gt;
  &lt;li&gt;Why is it so hard to find great people to work with?&lt;/li&gt;
  &lt;li&gt;Why is it so hard to open up to people?&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Fri, 18 Nov 2016 20:11:00 +0000</pubDate>
        <link>http://dan-cole.com/2016/principles/</link>
        <guid isPermaLink="true">http://dan-cole.com/2016/principles/</guid>
        
        <category>thoughs</category>
        
        
        <category>thoughts</category>
        
      </item>
    
      <item>
        <title>Howdy!</title>
        <description>&lt;p&gt;I wish I would have started writing down my thoughts long ago. Writing brought to us something that was only a fleeting memory before. Writing allows for deeper throughts. My writing may be random, infrequent, and riddled with spelling errors, but maybe it’ll be helpful to me in the long run.&lt;/p&gt;

&lt;p&gt;With love,
Dan Cole&lt;/p&gt;
</description>
        <pubDate>Mon, 14 Nov 2016 19:28:23 +0000</pubDate>
        <link>http://dan-cole.com/2016/howdy/</link>
        <guid isPermaLink="true">http://dan-cole.com/2016/howdy/</guid>
        
        <category>writing</category>
        
        <category>thoughs</category>
        
        
        <category>thoughts</category>
        
      </item>
    
      <item>
        <title>Welcome to Jekyll!</title>
        <description>&lt;p&gt;You’ll find this post in your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_posts&lt;/code&gt; directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jekyll serve --watch&lt;/code&gt;, which launches a web server and auto-regenerates your site when a file is updated.&lt;/p&gt;

&lt;p&gt;To add new posts, simply add a file in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_posts&lt;/code&gt; directory that follows the convention &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;YYYY-MM-DD-name-of-post.ext&lt;/code&gt; and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.&lt;/p&gt;

&lt;p&gt;Jekyll also offers powerful support for code snippets:&lt;/p&gt;

&lt;div class=&quot;language-ruby highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;print_hi&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Hi, &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;#{&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;print_hi&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;'Tom'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;#=&amp;gt; prints 'Hi, Tom' to STDOUT.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Check out the &lt;a href=&quot;http://jekyllrb.com&quot;&gt;Jekyll docs&lt;/a&gt; for more info on how to get the most out of Jekyll. File all bugs/feature requests at &lt;a href=&quot;https://github.com/jekyll/jekyll&quot;&gt;Jekyll’s GitHub repo&lt;/a&gt;. If you have questions, you can ask them on &lt;a href=&quot;https://github.com/jekyll/jekyll-help&quot;&gt;Jekyll’s dedicated Help repository&lt;/a&gt;.&lt;/p&gt;

</description>
        <pubDate>Fri, 08 Jan 2016 15:04:23 +0000</pubDate>
        <link>http://dan-cole.com/2016/welcome-to-jekyll/</link>
        <guid isPermaLink="true">http://dan-cole.com/2016/welcome-to-jekyll/</guid>
        
        <category>jekyll</category>
        
        
        <category>jekyll</category>
        
      </item>
    
  </channel>
</rss>
