 like to think, never intended it to become the cacophony of stentorian riff we evidence today.
Black History Month should be American History Month. It should be a tribute to the triumph of rugged Americanism despite barriers that were never deemed so severe as to not be overcome. While it most certainly should address the accomplishments of the past (for therein is the definition of history), it should also include those figures of the present who have not fallen prey to the tired old message of victimology.
Mindset is the key to success, and the conditioning of the mind to succeed is paramount. What a person believes he can perceive, and what one perceives he can accomplish.
The blacks of our American history recognized this fact and set about conditioning the mind to succeed. Tuskegee Institute (University), The Institute for Colored Youths (now Cheney University), Wilberforce University, Meharry Medical College and Spellman College, to name but a few, were not founded simply because certain doors may or may not have been open to blacks of that day.
Rather, they were founded to condition young minds to be prepared for and to accept success. The mind of the black youth today is, tragically, all too often conditioned not only to fail, but to accept failure.
Carl Jung said, "We have let houses that our fathers built fall into pieces, and now we try to break into Oriental palaces that our fathers never knew."
Black history is not an isolated history built upon color-coded extolments. History, regardless of how many would present it, is not exclusive; it is inclusive.
So-called black history is the history of America, and it includes Garrett Morgan, the inventor of the first traffic light and the gas mask. He was the father of what we know today as intelligent traffic systems. Morgan established a tailoring shop that employed 32 people and established the Cleveland Call newspaper. American history also includes Gen. Robert E. Lee, Gen. George Patton and President John F. Kennedy.
It includes Percy L. Julian,who developed a way to remove and prepare soybean products such as cortisone to treat arthritis and an extract used in the treatment of glaucoma.
It includes the work of Jane Wright,the former director of the Cancer Research Foundation,who formulated mithramycin, a drug that has proved promising in fighting cancer.
It includes St. Elmo Brady, who in 1916 became the first black to earn a doctorate in chemistry.
The history of America includes James Durham, born in 1762 and the first regularly recognized black physician in the United States. Born a slave in Philadelphia, he was purchased by a Scottish physician in New Orleans who hired him to perform medical services.
The history of America includes Daniel Hale Williams, the black surgeon who performed the first successful open heart surgery. The founder of Provident Hospital in Chicago in 1891, he was also the only black charter member of the American College of Surgeons.
History is replete with the legacies of Americans like Norbert Rillieux, born in 1806 and an inventor and engineer whose patented inventions revolutionized the sugar-refining industry.
But today the legacy of those houses has "fallen into pieces." Today, rather than seeing a careful enumeration and inclusion of history into history, we see a purposeful erosion of same.
We witness the willful segregation of history because it is profitable to race-mongers and neo-Leninists.
History is not a color – it is the recognition and chronicle of past events. Having a 28-day festival of agitprop does nothing to uplift the whole. It simply continues to validate victimology and immiseration.A new trailer for Star Trek Into Darkness has been released. Scroll down and click ‘play’ to watch it.
Exact plot details are being kept under wraps but the first nine minutes of Star Trek Into Darkness have been shown before IMAX screenings of The Hobbit. Click here for NME’s rundown of everything we know about the film so far.
Alongside Cumberbatch, Star Trek Into Darkness reunites the Enterprise crew from Abrams’ acclaimed 2009 reboot Star Trek, including Chris Pine‘s Captain Kirk, Zachary Quinto’s Spock and Simon Pegg’s Scotty. The film’s release date has recently been moved forward and it will now arrive in UK cinemas on May 9 – eight days earlier than originally planned.package com.meilisearch.sdk.json;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.meilisearch.sdk.exceptions.MeiliSearchRuntimeException;

public class GsonJsonHandler implements JsonHandler {
	private final Gson gson;

	public GsonJsonHandler() {
		this.gson = new Gson();
	}

	public GsonJsonHandler(Gson gson) {
		this.gson = gson;
	}

	@Override
	public String encode(Object o) throws Exception {
		if (o!= null && o.getClass() == String.class) {
			return (String) o;
		}
		try {
			return gson.toJson(o);
		} catch (Exception e) {
			// todo: use dedicated exception
			throw new MeiliSearchRuntimeException(e);
		}
	}

	@Override
	@SuppressWarnings("unchecked")
	public <T> T decode(Object o, Class<?> targetClass, Class<?>... parameters) throws Exception {
		if (o == null) {
			// todo: use dedicated exception
			throw new MeiliSearchRuntimeException();
		}
		if (targetClass == String.class) {
			return (T) o;
		}
		try {
			if (parameters == null || parameters.length == 0) {
				return (T) gson.fromJson((String) o, targetClass);
			} else {
				TypeToken<?> parameterized = TypeToken.getParameterized(targetClass, parameters);
				return gson.fromJson((String) o, parameterized.getType());
			}
		} catch (Exception e) {
			// todo: use dedicated exception
			throw new MeiliSearchRuntimeException(e);
		}
	}
}
<gh_stars>0
---
layout:     post
title:      "Notes on Duct Configuration"
subtitle:   "So I don't forget"
date:       2015-12-20 12:00:00
author:     "<NAME>"
header-img: "img/post-bg-duct.jpg"
published:  true
---

I'm a big fan of the Clojure library
[Component](https://github.com/stuartsierra/component). The design behind it
has structured my thinking in more than just Clojure but has impacted my OO
programming in C# as well. But since I am still a very new Clojure developer I
keep looking for prior art to study when building out my application. I can't
remember how but I stumbled on [duct](https://github.com/weavejester/duct) a
project by the prolific Weavejester. Duct is a project to bootstrap a web
application for Clojure and is admittedly an experiment.

That said, I have really enjoyed that it implements for me the
[reloaded](http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded)
developed by <NAME>. I had to dig into the source several times to 
really understand what all `duct` was doing for me but in doing so I have,
of course, learned a little bit more about the ecosystem that Clojure exits
in.

Thanks to the power of Leiningen templaces getting started was super easy.

`lein new duct <your app name>`

When i fire up just a basic duct template for an app named `bob` I get the following:

{% highlight text %}
.
├── README.md
├── dev
│   ├── local.clj
│   └── user.clj
├── profiles.clj
├── project.clj
├── src
│   └── bob
│       ├── component
│       ├── config.clj
│       ├── endpoint
│       ├── main.clj
│       └── system.clj
└── test
    └── bob

{% endhighlight %}

Ok, so now the exploration begins as I try to wrap my head around how
I can best leverage this organizational structure. For the most part it doesn't
get in the way at all, but I do find myself struggling with how to structure
my configuration data.

> Duct seperates configuration and environment.

Amen, duct indeed does seperate things out as we can see below:

#### dev/local.clj

I'll be honest, I'm not sure what goes in here.

#### config.clj

Contains `bob.config/defaults` (with `meta-merge` `displace` metadata) as well
as containing `bob.config/environ` to pull