Author: cdimascio

Determine the “Readability” of a text with Python

George Klare (1963) defines readability as “the ease of understanding or comprehension due to the style of writing.” Readability, although somewhat subjective, has been a well researched topic dating back to the 1920s. Since then, researchers have crafted a number of readability formulas that attempt to accurately identify the readability of a text. Readability metrics have numerous uses. A writer might use the metrics to objectively assess the complexity of...

Awesome APIs with Kotlin, Spring 5 and Swagger

Early last year, Spring announced official support for Kotlin in Spring Framework 5. The news was welcome and exciting, particularly with respect to technologies like Spring Webflux, Project Reactor, and Spring functional, areas where Kotlin very much shines. In this article, I will describe how to bootstrap a new Spring 5 project that integrates Kotlin, Spring Webflux functional, Project Reactor, Swagger, Gradle, and JUnit using kotlin-swagger-spring-functional-template. The template includes two sample REST...

dotenv for Java, Kotlin and the JVM

[Just show me dotenv] When working within the context of a modern microservice architecture, one often encounters services written in a variety of languages using a variety of frameworks. There are numerous benefits to microservice architectures, however configuring each service can be quite complex. Each framework may offer their own configuration method e.g. property files, yaml, json, etc. As the number of microservices pile up, this quickly becomes a dev...

Node.js / Express app generator: with ES.next, API validation, documentation, logging, and more

[Take me to the app generator] I’m at work on a new project. My team and I are building a highly scalable service platform and have elected to build it using the microservices architecture pattern. The platform consists of many microservices, each of which is typically owned by a collaborating team. Teams are empowered to make decisions and choose technologies that best fit the need. This means that services may...

Create a baseball-themed app powered by Weather Company Data for IBM Bluemix and DBpedia

Last summer, I wrote an article on developerWorks describing how to use the IBM Bluemix Weather Data service in combination with DbPedia to render a variety of information about Major League Baseball parks. The article takes you through the process of building a baseball-theme application on IBM Bluemix using the IBM Weather Data service, DbPedia, SPARQL, React.js, and Node.js. Check it out here and let me know your thoughts You...