categories
tools
-
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
-
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
-
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
-
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
-
fake data for the jvm
using jFairy to generate data for a scala project
-
kafka connect in action, part 3
streaming updates from a Postgres source database thru a data pipeline
-
kafka connect in action, part 2
setting up a basic data pipeline using Postgres, a JDBC Source Connector and a local file sink
-
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
-
timed scripts
a bash trick to control the lifespan of a script
-
kafka avro producer example in scala
example of a avro serializing kafka producer in scala
-
printf tricks
couple of handy techniques for formatting output in the terminal
-
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
-
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
-
seq tip
a tip for the unix seq util
-
speedy build tool REVERT
uncaching dependencies in a scala 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
-
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
-
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
-
intro to stream processing
turning my sbt starter pack into a kafka stream processor app
-
sbt basics
creating basic scaffolding for a Scala project built with sbt and docker
-
kafka stack on docker for mac
setting up a local kafka sandbox for experiments
-
a better scala REPL
getting more power at the command line from the Ammonite project
-
jq ftw II
exploring more cool tricks with jq
-
jq ftw
using curl and jq to clone a bunch of repos from github
-
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
-
diff tools
diff'ing files from the terminal
-
scala + slack
quick solution for a slackbot in plain old scala
-
dynamic terminal output
custom formatting based on terminal size
-
bash defaults
get or else on bash variables
-
docker-compose startup order
managing dependencies using Docker compose
-
cat facts
using bash, curl, jq and say to have some fun
-
docker ports
quick way to get the exposed port from a running container
-
the docker engine api
going under the hood with docker
-
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
-
disk usage
getting a quick handle on disk usage stats with bash
-
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
-
env vars in intelliJ
using environmental variables with IntelliJ
-
d d d
unwrapping the basics of the D3 data visualization library
-
lsof
process hunting with bash
-
improving grep skills
quick tip for better grep'ing
-
awk
processing text with awk
-
don't forget your ps2
more bash prompt customization
-
a better grep
targeting your searches based on file type
-
custom bash prompt action
understanding what happens when a new prompt appears
-
rm -rf safety net
power tools can hurt, unless you have the proper protection
-
bash pipes
making fun little programs with the pipe
-
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
-
vars within vars
indirect variable expansion in bash
-
recursive find and replace
using bash to hunt and replace text in multiple files
-
stuck in the 70s
old school skills, more on sed
-
git tricks vol. 1
nifty trick to enhance git work
-
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
environment
-
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
-
intro to mesos II
investigating the Apache Mesos scheduler API
-
intro to mesos
understanding apache mesos
-
the unix process tree
the basics of processes in a Unix-based system
-
windows to linux
installing ubuntu on an old windows pc
-
docker debug
copying files from a failed docker container
-
from the system to the browser
accessing environmental variables from a javascript browser application
-
nginx location blocks
understanding nginx location block syntax
-
umask
learning about mask setting in unix systems
-
file system permissions
'it's a Unix system... I know this...'
-
the 3rd factor
discussing config, the 3rd factor of a 12 factor app
-
local development with docker
mount a local directory in a docker container
-
nginx proxy config
how to proxy requests to an nginx server
-
docker diffs
quirk revealed in Docker Toolbox, does it exist on Docker for Mac?
databases
-
slick playground
a recipe for loading Scala Slick in a REPL session for live experimentation
-
postgres performance
comparing indexed vs. non-indexed table query speed
-
custom redis action
create a redis docker image that is preloaded with custom data
-
the redis protocol
using scala to prepare data for mass insertion into redis
-
postgres vs. redis
comparing read performance of pg and redis
-
implementing a postgres connection pool
creating a jdbc connection pool for a scala app
-
connection pooling
sharing database connections with postgres
-
postgres+docker(part 1)
spinning up a dockerized postgres and adding some data
-
postgres schemas
what the heck is a postgres schema?
languages
-
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
-
safety wrapper
implementing a monadic wrapper type in scala
-
extending case classes
using traits to extend case classes in scala
-
scala function map
creating a function library using a Map
-
types for your health
using custom types in scala to remove complexity
-
more on scala Streams
using the Scala Stream class in problem-solving
-
scala streaming api
a local data stream using scala
-
closures in scala
using a closure to show a counter example
-
windowing a collection in scala
using a scala built-in to compare collection elements
-
intro to scala native
running scala without the jvm
-
sealed abstract
using the sealed keyword in scala
-
scala streams
lazy evaluation of a collection using scala's stream class
-
TDD scala trick
trick for red to green refactoring in scala
-
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
-
efficient regex in scala
quick overview of the best regex approach in the scala language
-
implicit parameters
understanding implicit parameters and implicit values in scala
-
async action in scala
a quick example of parallel code in scala
-
immutability gap
a gotcha in the scala immutability game
-
dependency injection using scaldi
quick note on a dependency injection library for scala
-
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
-
scala xerox machine
working with immutable data structures in scala
-
js-gc
understanding garbage collection in JavaScript via the mark-and-sweep algorithm
-
failing gracefully
handling code that can throw errors in scala
-
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
-
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
-
hand-rolled map
rolling my own map function in scala
-
two bangs
using the !! or double bang operator
-
scala vs. js => round 1
comparing JavaScript and Scala
-
_ ; ?
checking out lodash and their jettisoning of semicolons
-
quite a john hancock
deciphering scala function signatures
-
iife's
controlling variable scope in JavaScript
-
Option[Type]
wrapping possible null values with Scala
-
functional programming in javascript
some words of wisdom from Luis Atencio
mixed-bag
-
better passwords
generating secure passwords from the terminal
-
uuid collisions
staying unique with universally unique identifiers
-
vr in the browser
using a javascript api to render virtual reality scenes in a browser
-
kernel tuning
fun facts about low latency trading systems
wisdom
-
tech debt
thoughts on using tech debt as a tool
-
rethinking data streams
a new perspective on data events
-
coding at right angles
on the benefits of being orthogonal
-
totally DRY...but at what cost?
sometimes it's ok to repeat yourself
-
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 concrete and the abstract
finding a middle ground between spaghetti code and extreme abstractions
application-design
-
endpoint evolution
using content negotiation to avoid breaking changes in a Spring web service
-
formula 409
http codes ftw
testing
-
functional testing in scala
testing function params in scala with scalamock
-
scala tests
running unit tests in an sbt project
-
testing
a note on writing tests
web-programming
-
sha256
looking under the hood at a sha-256 hashed value
-
producing json from case classes
recipe for serializing a scala case class to json
-
REST alternative
using asynchronous messaging instead of HTTP request/response in a distributed system
-
scala json recipes
useful tips for consuming JSON in Scala with json4s
-
scalatra starter pack
a starter kit for api development
-
key logging
injecting javascript to capture a users keystrokes
-
drag&drop
learning the HTML Drag and Drop API
-
public key encryption
looking under the covers at the basics of public key cryptography
-
secure http
understanding https
-
idempotent endpoints
providing safe endpoints for your api consumers
-
on the express train
working with the express http server framework in node
-
cookie recipe
what makes an http cookie?
code-challenge
-
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
-
benchmarking lookups
comparing Scala List vs. Map in massive search scenarios
-
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
-
prime number sieve in scala
imperative implementation the ancient Sieve of Eratosthenes in scala
-
exact change challenge
making change in javascript
-
wikipedia:getting to philosophy
solving the wikipedia:getting to philosophy in pure bash
trivia
-
trivia night
what does the rc mean anyways?
web-dev
-
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
-
hello world, nginx + docker edition (part 4)
local front end development with nginx and docker
-
scalatra + docker (part 5)
publishing our image to docker hub
-
scalatra + docker (part 4)
creating a docker image from our scalatra jar
-
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
-
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
git
-
merge-base
using git merge-base to squash commits and create a clean project history
-
git tags
checking out tags in git
networking
-
fing
fun with the fing app
housekeeping
-
hiatus time
gone trippin'
community
-
love for hubs (git, docker)
notes on diversity and the open source community
teachers
-
simple wisdom
a piece of advice from Jamila Woods
-
widsom from Martin Odersky
a couple of bits of wisdom from the founder of the scala language
-
coming soon to java.lang
preview of new java features from Brian Goetz of Oracle
-
free software
free software vs. open source software according to Richard Stallman
-
teachers vol. 1
notes on Claude Shannon
fractal-nature
-
mandelbrot set revisited
experimenting with the equation which produces the set
-
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
-
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
security
-
HMAC sig and Coinbase API Access
generating a keyed-hash message authentication code with ruby
-
knock knock
sharing some interesting activity from a web service log
performance
-
exception timing
measuring the cost of throwing exceptions in on the jvm
review
-
standard in - 2017 in review
looking back on 1 year of posts
-
midyear review
quick review of the year so far
exploration
-
hey mr postman
playing around with the kafka producer api and extending my docker-for-mac kafka stack
conferences
-
aws summit chicago report
brain dump after attending the 2017 aws summit at mccormick place chicago
legal
-
1-click checkout
quick look at amazon's 1-click ordering patent
numbers
-
prime factors
the periodic table of numbers