posts
-
Scala Native Dependencies
A quick-start list of dependencies for a Scala Native project
-
Scala Native - do you have the time?
working with dates and times in Scala Native
-
introducing websocket-scala
a simple websocket library for scala
-
slick codegen on postgres views
auto-generating slick schemas based on Postgres Views
-
scala type classes for the confused
explain and implement a type class example in a straightforward manner
-
Scala compiler options with Gradle
how to pass compiler flags to the scalac compiler when using Gradle
-
slick playground
a recipe for loading Scala Slick in a REPL session for live experimentation
-
safety wrapper
implementing a monadic wrapper type in scala
-
nested case classes and json4s
using json4s to extract case class instances that contain other case class instances in Scala
-
diff and patch
exploring version control with unix tools
-
sbt upgrade woes
fixing issues that arose with the upgrade to sbt 1.x
-
standard in - 2017 in review
looking back on 1 year of posts
-
sha256
looking under the hood at a sha-256 hashed value
-
making music
playing around with the JFugue library in Scala
-
using akka http with json4s part 2
deserializing json with akka http and json4s
-
using akka http with json4s
setting up a akka http webserver that uses json4s to handle json interactions
-
front end resources
recommendations for a WebSocket client and chart library
-
scala json workflow
setting up a local JSON exploration sandbox REPL in Scala
-
debugging the confluent platform
getting past a tricky error with kafka connect and the schema registry
-
kafka log compaction
dockerized example of using log compaction to create a distributed cache with Apache Kafka
-
extending case classes
using traits to extend case classes in scala
-
kafka topics and avro schemas
validating an assumption around schema-backed Kafka topics
-
json to csv using jq
doing a common conversion from the terminal
-
kafka two ways
using kafka for event streaming and as a data store
-
producing json from case classes
recipe for serializing a scala case class to json
-
tech debt
thoughts on using tech debt as a tool
-
scala function map
creating a function library using a Map
-
fake data for the jvm
using jFairy to generate data for a scala project
-
simple wisdom
a piece of advice from Jamila Woods
-
well that escalated quickly
quick look at Up-Arrow notation to denote giant numbers
-
benchmarking lookups, part 2
adding a binary search algorithm to the massive search scenario
-
kafka connect in action, part 3
streaming updates from a Postgres source database thru a data pipeline
-
REST alternative
using asynchronous messaging instead of HTTP request/response in a distributed system
-
kafka connect in action, part 2
setting up a basic data pipeline using Postgres, a JDBC Source Connector and a local file sink
-
benchmarking lookups
comparing Scala List vs. Map in massive search scenarios
-
types for your health
using custom types in scala to remove complexity
-
more on scala Streams
using the Scala Stream class in problem-solving
-
widsom from Martin Odersky
a couple of bits of wisdom from the founder of the scala language
-
scala streaming api
a local data stream using scala
-
closures in scala
using a closure to show a counter example
-
intro to kafka streams
implementing a basic Kafka streams app in Scala
-
gradle and scala
basic scaffolding for a Scala project built with Gradle
-
jvm logging
using a bridge between SLFJ4 and log4j2
-
exactly once
Apache Kafka's approach to an old problem
-
kafka monitoring
tips for keeping an eye on Apache Kafka
-
silly osx trick
fun trick to use in bash scripts
-
intro to gradle
getting started with gradle
-
scala json recipes
useful tips for consuming JSON in Scala with json4s
-
D.I.Y. mesos framework part 2
using the Mesos API to accept offers, launch tasks, kill tasks and send acks
-
D.I.Y. mesos framework part 1
launching a custom Apache Mesos framework in a local development environment
-
coming soon to java.lang
preview of new java features from Brian Goetz of Oracle
-
windowing a collection in scala
using a scala built-in to compare collection elements
-
intro to scala native
running scala without the jvm
-
prime factors
the periodic table of numbers
-
prime showdown
performance testing Sieve of Eratosthenes vs. trial division when finding the nth prime in scala
-
nth prime
using the Sieve of Eratosthenes to find the nth prime number in scala
-
timed scripts
a bash trick to control the lifespan of a script
-
prime number sieve in scala
imperative implementation the ancient Sieve of Eratosthenes in scala
-
sealed abstract
using the sealed keyword in scala
-
scala streams
lazy evaluation of a collection using scala's stream class
-
kafka avro producer example in scala
example of a avro serializing kafka producer in scala
-
TDD scala trick
trick for red to green refactoring in scala
-
intro to mesos II
investigating the Apache Mesos scheduler API
-
intro to mesos
understanding apache mesos
-
mandelbrot set revisited
experimenting with the equation which produces the set
-
printf tricks
couple of handy techniques for formatting output in the terminal
-
endpoint evolution
using content negotiation to avoid breaking changes in a Spring web service
-
try with resources
avoiding the finally block with java resources via a Apache Curator example
-
express async await
using javascript's async/await feature in a node http server
-
kafka connect concepts
understanding the pieces of Kafka Connect
-
express tips
prototyping using the node.js express framework
-
in-place editing with awk
using awk to modify a file directly
-
awk 101
understanding the philosophy of awk leads to new powers
-
1-click checkout
quick look at amazon's 1-click ordering patent
-
free software
free software vs. open source software according to Richard Stallman
-
merge-base
using git merge-base to squash commits and create a clean project history
-
kafka connect in action
setting up a basic kafka connector that writes to a local file
-
kafka connect 101 (docker edition)
walking thru a configuration of the kafka connect application
-
pbcopy ftw
pipe terminal output to the clipboard
-
efficient regex in scala
quick overview of the best regex approach in the scala language
-
seq tip
a tip for the unix seq util
-
speedy build tool REVERT
uncaching dependencies in a scala sbt project
-
functional testing in scala
testing function params in scala with scalamock
-
scala tests
running unit tests in an sbt project
-
the zookeeper connection
using the zkCli tool to interact with apache zookeeper
-
mutual exclusion
using the mutex pattern to create locks using zookeeper and curator
-
implicit parameters
understanding implicit parameters and implicit values in scala
-
async action in scala
a quick example of parallel code in scala
-
safer pipelines
failing fast in bash script pipelines
-
react + docker, part 2
let's finish dockerizing an app made with facebook's create-react-app tool
-
react + docker, part 1
dockerizing an app made with facebook's create-react-app tool
-
zookeeper leader election
implementing a zookeeper leader election recipe using scala & curator
-
speedy build tool...?
increasing sbt performance thru cached dependency resolution
-
dependency visualizations
using an sbt plugin to view a dependency graph for a scala project
-
immutability gap
a gotcha in the scala immutability game
-
curator cache and watch
using Apache Curator API to watch ZooKeeper zNodes
-
zookeeper client api refactoring
using the Apache Curator library and Scala Traits to refine zookeeper interactions
-
zookeeper client api
exploring the Apache ZooKeeper api using scala
-
HMAC sig and Coinbase API Access
generating a keyed-hash message authentication code with ruby
-
intro to stream processing
turning my sbt starter pack into a kafka stream processor app
-
rethinking data streams
a new perspective on data events
-
sbt basics
creating basic scaffolding for a Scala project built with sbt and docker
-
aws summit chicago report
brain dump after attending the 2017 aws summit at mccormick place chicago
-
hey mr postman
playing around with the kafka producer api and extending my docker-for-mac kafka stack
-
kafka stack on docker for mac
setting up a local kafka sandbox for experiments
-
dependency injection using scaldi
quick note on a dependency injection library for scala
-
a better scala REPL
getting more power at the command line from the Ammonite project
-
the unix process tree
the basics of processes in a Unix-based system
-
windows to linux
installing ubuntu on an old windows pc
-
midyear review
quick review of the year so far
-
jq ftw II
exploring more cool tricks with jq
-
jq ftw
using curl and jq to clone a bunch of repos from github
-
exception timing
measuring the cost of throwing exceptions in on the jvm
-
knock knock
sharing some interesting activity from a web service log
-
Either
functional error handling in Scala using the Either type
-
the thing about months
a weird quirk in JavaScript's Date constructor is a holdover from days gone by
-
cron part II
looking at the cron environment
-
intro to cron
a basic look at the cron utility for task scheduling
-
curling (for your health!)
using curl for http status checks
-
scala xerox machine
working with immutable data structures in scala
-
diff tools
diff'ing files from the terminal
-
scala + slack
quick solution for a slackbot in plain old scala
-
js-gc
understanding garbage collection in JavaScript via the mark-and-sweep algorithm
-
scalatra starter pack
a starter kit for api development
-
failing gracefully
handling code that can throw errors in scala
-
the mandelbrot set IV
some resources for the curious
-
the mandelbrot set III
using the previous work with complex numbers to display the set in a browser
-
dynamic terminal output
custom formatting based on terminal size
-
bash defaults
get or else on bash variables
-
the mandelbrot set II
determining if a given complex number is part of the set
-
the mandelbrot set, part 1
working with complex numbers in javascript to create fractal geometry
-
docker-compose startup order
managing dependencies using Docker compose
-
cat facts
using bash, curl, jq and say to have some fun
-
key logging
injecting javascript to capture a users keystrokes
-
intro to scala implicits
enhancing an existing trait with implicits
-
zipping case classes in scala
converting a case class to a Map in scala
-
the lonely operator
no more nested if's
-
docker ports
quick way to get the exposed port from a running container
-
teachers vol. 1
notes on Claude Shannon
-
postgres performance
comparing indexed vs. non-indexed table query speed
-
the docker engine api
going under the hood with docker
-
custom redis action
create a redis docker image that is preloaded with custom data
-
bash: play nice with strings
manipulating strings with bash
-
bash: play nice with others
using output from other interpreters in bash scripts
-
monitoring docker containers
keeping an eye on runtime performance
-
the redis protocol
using scala to prepare data for mass insertion into redis
-
disk usage
getting a quick handle on disk usage stats with bash
-
postgres vs. redis
comparing read performance of pg and redis
-
making lame mp3s
using LAME to compress audio files
-
remote control
logging into another system via ssh and LAN
-
more on bash env vars
making sure environmental variables are available at run time
-
love for hubs (git, docker)
notes on diversity and the open source community
-
env vars in intelliJ
using environmental variables with IntelliJ
-
drag&drop
learning the HTML Drag and Drop API
-
d d d
unwrapping the basics of the D3 data visualization library
-
public key encryption
looking under the covers at the basics of public key cryptography
-
hiatus time
gone trippin'
-
implementing a postgres connection pool
creating a jdbc connection pool for a scala app
-
scala sequence comprehensions
using for/yield expressions in scala to handle collection transformations
-
file i-o in scala
reading and writing to the file system in scala
-
connection pooling
sharing database connections with postgres
-
scalatra + docker(+postgres) (part 7)
connecting our scala web app to a postgres db
-
scalatra + docker (part 6)
preparing a postgres database for our api
-
lsof
process hunting with bash
-
secure http
understanding https
-
coding at right angles
on the benefits of being orthogonal
-
fing
fun with the fing app
-
git tags
checking out tags in git
-
hello world, nginx + docker edition (part 4)
local front end development with nginx and docker
-
better passwords
generating secure passwords from the terminal
-
postgres+docker(part 1)
spinning up a dockerized postgres and adding some data
-
scalatra + docker (part 5)
publishing our image to docker hub
-
scalatra + docker (part 4)
creating a docker image from our scalatra jar
-
docker debug
copying files from a failed docker container
-
hand-rolled map
rolling my own map function in scala
-
scalatra + docker (part 3)
building a fat jar from our scalatra app
-
scalatra + docker (part 2)
adding JSON support to our Scalatra server
-
scalatra + docker (part 1)
building an http web service with scala and dockerizing it. in part 1: hello world
-
hello world, nginx + docker edition (part 3)
continuing the nginx + docker series with basic authentication
-
two bangs
using the !! or double bang operator
-
improving grep skills
quick tip for better grep'ing
-
hello world, nginx + docker edition (part 2)
finishing hello world with nginx and docker
-
hello world, nginx + docker edition (part 1)
basic hello world action using nginx and docker
-
awk
processing text with awk
-
from the system to the browser
accessing environmental variables from a javascript browser application
-
scala vs. js => round 1
comparing JavaScript and Scala
-
exact change challenge
making change in javascript
-
uuid collisions
staying unique with universally unique identifiers
-
_ ; ?
checking out lodash and their jettisoning of semicolons
-
idempotent endpoints
providing safe endpoints for your api consumers
-
don't forget your ps2
more bash prompt customization
-
nginx location blocks
understanding nginx location block syntax
-
a better grep
targeting your searches based on file type
-
on the express train
working with the express http server framework in node
-
custom bash prompt action
understanding what happens when a new prompt appears
-
quite a john hancock
deciphering scala function signatures
-
totally DRY...but at what cost?
sometimes it's ok to repeat yourself
-
trivia night
what does the rc mean anyways?
-
iife's
controlling variable scope in JavaScript
-
Option[Type]
wrapping possible null values with Scala
-
umask
learning about mask setting in unix systems
-
file system permissions
'it's a Unix system... I know this...'
-
wikipedia:getting to philosophy
solving the wikipedia:getting to philosophy in pure bash
-
cookie recipe
what makes an http cookie?
-
rm -rf safety net
power tools can hurt, unless you have the proper protection
-
notes or declarations
communicating intention to the person reading your application code
-
broken windows
keeping code clean by enforcing standards on the little things
-
the 3rd factor
discussing config, the 3rd factor of a 12 factor app
-
bash pipes
making fun little programs with the pipe
-
testing
a note on writing tests
-
vr in the browser
using a javascript api to render virtual reality scenes in a browser
-
formula 409
http codes ftw
-
the concrete and the abstract
finding a middle ground between spaghetti code and extreme abstractions
-
jq and bash, part II
continuation of lil fun with jq, this time using output from jq in a bash read/while loop
-
lil fun with jq
cool features of the json parser utility jq
-
kernel tuning
fun facts about low latency trading systems
-
vars within vars
indirect variable expansion in bash
-
local development with docker
mount a local directory in a docker container
-
recursive find and replace
using bash to hunt and replace text in multiple files
-
nginx proxy config
how to proxy requests to an nginx server
-
functional programming in javascript
some words of wisdom from Luis Atencio
-
stuck in the 70s
old school skills, more on sed
-
git tricks vol. 1
nifty trick to enhance git work
-
postgres schemas
what the heck is a postgres schema?
-
docker diffs
quirk revealed in Docker Toolbox, does it exist on Docker for Mac?
-
read the man
bash's sed command, and the value of reading the manual
-
source files in bash
bash's source command, and a custom shell script to create Jekyll posts
-
git init
hello world, and debugging bash scripts
subscribe via RSS