Aaron Greenlee

🚀

Research and Notes for Building a Collaborative, Rich Text Editor for Un/Structured Text

This document organizes notes, sources, and other explorations in the pursuit of building a web-based text editor. My use cases do not seem to be typical. If you seek a rich text editor or a syntax editor, there are many great packages ready for you to integrate or build on. Criteria Must Have WYSIWYG Rich Text Data model supportive of lexing and parsing structured text Apply updates to multiple nodes in a single transaction (e....

How to determine if the key pressed is printable using a web browser's keyboard event such as onKeyDown and the `event.key` property

Background There once was a time when you might bind a function to a onKeyDown event and quickly ignore a range of inputs by using the event.keyCode property. For example, you could check the value of event.keyCode and determine that you can ignore the key press event because the value was less than 29. Numbers made it easy. The code for the spacebar key was 32 and then the next range of printable characters you might care about started at 48 and went up to 90 and so on....

Learning the TypeScript Programming Language

I’ve been playing with TypeScript off and on for a few months. A colleague of mine once said “JavaScript has won first place in the contest of languages no one wants to write but everyone wants to transpile to” and I agree. I find myself productive and happy when I quickly prototype in JavaScript as I appreciate how flexible the language is. But, I don’t enjoy shipping JavaScript. I have been exploring Dart 2....

Learning the Rust Programming Language

Rust has been on my radar for some time and I aspire to become proficient with the Rust Programming Language in 2019. Initially, my interest in Rust was sparked by the memory ownership model. With WASM support going mainstream I thought I’d give Rust a deeper look and have enjoyed my experience so far. This post is a living post that will continue to be revised and appended as I learn more about Rust....

Fixing FoundationDB Unsupported Version Errors using Go (golang) Bindings

I’ve been hearing some great things about FoundationDB recently and wanted to run it through the paces for a personal project I’ve been working on lately. Unfortunately, the experience to get started had a little friction. I hope this post helps others searching for quick tips to get FoundationDB working with Go. I expect this guidance will be valid for current and future versions of FoundationDB; however, I wrote it using FoundationDB 6....