Christopher
Stoll

Colorado

Colorado

continue reading


Some Notes about Honey

Found in a very old book while researching the history of mead:

The Honey of dry open Countries, where there is much Wild-thyme, Roſemary, and Flowers, is beſt. It is of three ſorts, Virgin-honey, Life-honey, and Stock-honey. The firſt is the best. The Life-honey next. The Virgin honey is of Bees, that ſwarmed the Spring before, and are taken up in Autumn; and is made beſt by chuſing the Whiteſt combs of the Hive, and then letting the Honey run out of them lying upon a Sieve without preſſing it, or breaking of the Combs. The Lide-honey is of the ſame Combs broken after the Virgin-honey is run from it; The Merchants of Honey do uſe to mingle all th ſorts together. The firſt of a Swarm is called Virgin-honey. That of the next year, after the Swarm was hatched, if Life-honey. And ever after, it is Honey of Old-ſtocks. Honey that is forced out of the Combs, will always taſte of Wax. Hampshire Honey is moſt eſteemed at London. About Biſleter there is excellent good. Some account Norfolk honey the beſt.

continue reading


A poem for Veterans Day (née Armistice Day)

Vorm Sterben mache ich noch mein Gedicht.
Still, Kameraden, stört mich nicht.
(Prior to death my poem still is to be.)
(Quiet, my comrades, do not disturb me.)

Wir ziehn zum Krieg. Der Tod ist unser Kitt.
O, heulte mir doch die Geliebte nit.
(We are off to war, where death is our tie.)
(Oh that my sweetheart would no longer cry.)

Was liegt an mir. Ich gehe gerne ein.
Die Mutter weint. Man muss aus Eisen sein.
(I will happily go, what is it to me.)
(Mothers cry, so of iron one must be.)

Die Sonne fällt zum Horizont hinab.
Bald wirft man mich ins milde Massengrab.
(The sun crashes down on the horizon like a wave.)
(I soon will be tossed, in a peaceful mass grave.)

Am Himmel brennt das brave Abendrot.
Vielleicht bin ich in dreizehn Tagen tot.
(The heavens are burning a valorous red.)
(In thirteen days I will likely be dead.)

– Alfred Lichtenstein (interpreted by Christopher Stoll)

continue reading


Wines of the Fourth Century

While researching historical mead recipes I found the excerpt below in an old book1. It shows the historical names and spellings of some ancient alcoholic drinks.

The following lines, of a poet of the fourth century, show what wines the Britons of those days had a knowledge of.

“Ye hall have rumney and malespine
Both yprocrasse and vernage wyne,
Mountrese and wyne of Greek,
Both algrade and despice eke;
Antioche and Bastarde,
Wyne of Greke, and Muscadell,
Both clare, pyment, and Rochell.

“Some of these liquors, as ypocrasse, pyment, and clare, were compounded of wine, honey, and spices.”

continue reading


Python Min/Max Methods Compared

I wanted to know if it would be more efficient, when searching for both a minimum and a maximum value in a list, to perform both tests in a single loop rather than making calls to both the min function and the the max function. The basis for this question was that if the min and max functions ran in O(n) time then, all else being equal, combining them into a single step should cut processing time in half. Apparently, all else is not equal; running both the min and max functions is faster than looping over all of the values once. The detailed results are listed below.

continue reading


Test then Deploy an Ember App from Jenkins

Here is a quick example of how to configure Jenkins to test an Ember application and then deploy it to AWS S3 if all of the tests pass.

Testing

The first step is to create a project within Jenkins to test the app. To execute the tests the following shell commands will be executed:

npm install > test_results_npm.txt
bower cache clean > test_results_bower.txt
rm -rf bower_components >> test_results_bower.txt
bower install >> test_results_bower.txt
ember test | tee test_results.tap

The important part it to build other projects, but only if this build is stable (i.e. the tests pass).

Here is the Jenkins configuration for the test project:

continue reading


Docker Build in Jenkins from AWS CodePipeline

I know the title has a high buzzword quotient, but I assure you it is a real thing. The use case is this: there is code stored on GitHub which, after it passes all tests, will be deployed to Elastic Beanstalk inside of Docker container. For this project CodePipeline will get the source from GitHub and send it to Jenkins for testing. If the tests pass then CodePipeline will publish the app to Elastic Beanstalk. Below are the steps required to get this up and running.

continue reading


Installing Jenkins and Docker in an AWS EC2 Instance

In order to do efficient, modern software development, especially for web applications, it is absolutely necessary to have a system for continuous integration (CI) and continuous delivery (CD). The idea with CI is to continuously integrate working code to the repository so that it can continuously be checked for errors. So, a prerequisite is to be using some sort of test driven development (TDD) method or at least some unit test framework; otherwise there is chance to automatically test for errors when the code is committed to the repository. The best CI systems automate everything after the commit. A developer pushes her code, then the CI systems notices the change and automatically runs the tests. When the application passes all of its test, a continuous delivery system should then automatically put the code into the QA, staging, or testing environment. There can be a lot of steps required to get a decent CI/CD system working, and it can be especially daunting when there is no dedicated DevOps team. So, I created a cheat-sheet for quickly setting up a simple Jenkins CI/CD system on an AWS EC2 instance.

Before proceeding you must have an Amazon Web Services account and be somewhat familiar with AWS.

continue reading