There are countless articles on DynamoDB qua NoSQL, a distributed DB, a high-level comparison to other technologies, and a serverless DB. This is not one of those posts.
read more.bindAll
https://clarkfeusier.com/wp-content/themes/crocal/images/empty/thumbnail.jpg
150
150
Clark
https://secure.gravatar.com/avatar/9e2a3b76bf5d8feb63267ecc12fecc61?s=96&d=mm&r=r
Like most JavaScripters, I often find myself needing to manually control the this
-binding of a function on invocation. Event handlers and callback functions are often re-bound to a different context than the caller — meaning that if those event handlers or callbacks reference this
, they might be referencing the wrong object.
I have now been able to remove Underscore.js, Ramda, and Lodash from the dependencies of multiple projects, by using the following underramdash.js helpers. Note, this file is 2kb unminified and unzipped, whereas Underscore.js is 52kb unminified and unzipped…
read moresed -n '/pattern/'p
https://clarkfeusier.com/wp-content/themes/crocal/images/empty/thumbnail.jpg
150
150
Clark
https://secure.gravatar.com/avatar/9e2a3b76bf5d8feb63267ecc12fecc61?s=96&d=mm&r=r
I like to think of the Unix command-line utilities as though they were interesting characters — it helps me remember the different command switches based on each command’s personality. sed is my simple and obedient search hound. He has a single input — his hound-dog nose. He can match patterns…
read moreFunction.prototype.bind
https://clarkfeusier.com/wp-content/themes/crocal/images/empty/thumbnail.jpg
150
150
Clark
https://secure.gravatar.com/avatar/9e2a3b76bf5d8feb63267ecc12fecc61?s=96&d=mm&r=r
Recently, I needed to polyfill Function.prototype.bind to use with PhantomJS. The project I was working on was written in CoffeeScript, so I rewrote the MDN Function.prototype.bind JavaScript polyfill in CoffeeScript. To use the polyfill, just add the above snippet wherever needed.
read moreEvery user of your web app is trying to break it In this post, we will discuss practical web security. We will start by covering the who — who you need to protect against. Next, we will cover the what — what common exploits you need to know about and…
read moreI am pleased to announce today’s release of the jKif Parser. SUO-KIF meet JavaScript — JavaScript meet SUO-KIF The jKif Parser facilitates the transmission and growth of formal knowledge by providing JavaScript access to the vast stores of open SUO-KIF ontologies and factbases. Available for Installation from NPM Read the…
read moreI work with a guy named, Raghu Kasturi. This talented buddy of mine shared a tutorial with us — getting started with webpack. We will learn about webpack, why we might use webpack, and finally, how to actually use it to enhance our work. The following knowledge-bombs and practical tutorial…
read moreCTRL-R
https://clarkfeusier.com/wp-content/uploads/2020/01/reverse_i_search_example.png
512
51
Clark
https://secure.gravatar.com/avatar/9e2a3b76bf5d8feb63267ecc12fecc61?s=96&d=mm&r=r
If you want to look cool, save time, and live a better life, then spend 5 minutes learning the shell command CTRL-R — sometimes called reverse-i-search. There is rare shell command that I use more often as a software engineer; I would like to pass my love for this wonderful…
read moreMy friend and talented colleague, Ryan Leung, wrote this guest tutorial on deploying to Digital Ocean with an Ubuntu and PostgreSQL setup. The following step-by-step guide is from Ryan… Deployment with Ubuntu and PostgreSQL on Digital Ocean By Ryan Leung Recently, I had to deploy a project that used PostgreSQL…
read more