babel-core from CDNs. I just wanted to document it so that I don’t have to look it up in the future. At the bottom of the page is a larger example which includes some actual React code.
<html> <head> <script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"> </script> <script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"> </script> <script crossorigin src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.24/browser.min.js"> </script> <script type="text/babel"> // React code goes here </script> </head> <body> <div id="root"></div> </body> </html>
You would not want to use the in-browser babel script for production code.
Like season 2 of Stranger Things, Coffee and Code is adding some new characters. One of those new characters is me, Chris. I bring some new skills which will help to round out the Coffee and Code team. For example, while completing a masters degree I worked with a computer vision algorithm called seam carving. Seam carving is a great algorithm to demonstrate how the team’s capabilities are growing since what it does is immediately visible. I’m going to tell you a little about how seam carving works and give some examples from the latest season of Stranger Things 2. There should be no spoilers here, but we will be working with images from the latest season, so you may want to turn back now if you have not watched the entire season yet.
Seam carving is a technique for adding or removing portions of an image without changing the main elements of that image. The devil is always in the details, but from a high level the process is pretty basic. The algorithm analyzes an image to determine which areas are less interesting. Then, it carves seams through those areas in ways which are hopefully not noticeable. Easy peasy.
Found in a very old book1 while researching historical mead recipes:
Honey is the Countrey-mans ſugar, wherewith they often condite Cherries, Goosberies and Pears, Apothecaryes alſo, not for want of ſugar, but by the Phyſicians adviſe confect certain juices, fruits and flowers with honey, and make them into Conſerves, ſapes, and ſyrups: conſerves, as honey of Roſes called by the Arabians Geneljabin, and by the Greeks Rhodomel, which is made of one part of the flowers of red roſes bruised, and three parts of honey deſpumed: Sapes as honey of grapes, which confected of one pound of dry grapes, clenſed and macerated for a whole day in three pounds of water, then boyled to the half, afterwards ſtrained, and mixed with an equall quantity of honey deſpumed: ſyups, as another kind of honey of roſes, which is made of an equall quantity of deſpumed honey, and red roſe juice, the Mercuriall honey, or Mel Mercuriale, is alſo confected after the like manner, and cocted to the conſiſtency of a thicker ſyrup.
A few months ago I let my individual Apple Developer Program membership expire. I have been working on other projects and have not given enough attention to my iOS apps, and though they still worked, I had not updated them in a very long time. The apps were starting to look dated, and were certainly not taking advantage of the latest development frameworks. So, I decided to stop paying Apple for the privilege of keeping outdated free apps in their store.
Rather than just letting my apps disappear, I decided to open source the code so that other people might be able to use it. The apps are written in Objective-C and C, so that may limit interest in it. But, someone may be interested enough in the seam carving algorithms to deal with the archaic languages.
Located in Pennsylvania’s Allegheny National Forest, Minister Creek is a great trail for introducing new people to backpacking. It is not terribly difficult and it is perfect for a single overnight stay. So, when Heather said that she would be willing to try backpacking with the boys, our new puppy, and me, I knew this would be the best place to go.
The excerpt below was found in an old book1 while researching historical mead and wine recipes. Hippocras is a type of mead which incorporates grapes and spices.
Hippocras. (Also spelled Ipocras and Yypocras). A medicated drink composed usually of red wine, but sometimes of white, with the addition of sugar and spices. The apothecaries called it “Vinum Hippocraticum,” as Menage supposes, being derived from Hippocrates, as being originally composed by medical skill; but Theobald suggests that it was from its being strained in a woolen bag called by the apothecaries Hippocrates’ sleve. It was a favourite beverage, and usually given at weddings. In an old play, to the question “What’s best to drink in mornings?” the reply is “Ipocras, sir, for my mistress, if I fetch it, is most dear to her.” In the Antiquary, another old play, is the line “Drank to your health whole nights, in Hippocras, “ &c. In onl books are many recipes for its composition. (Nares.) The oldest English recipe for this beverage is in Anglo-Norman, in a cooker MS. of 1300, which being short, we copy: —
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.