Software Dev
Gnarly Learnings from April 2023
At the Gnar we are always reading, watching, and listening in order to keep our skills sharp and our perspectives fresh. Here are some of the resources we learned from this month. CSS Supports Trigonometry Functions Trig functions in CSS make it easier to rotate objects and let us avoid using magic numbers. For example,…
Read MoreDesign Systems: What They Are and Why You Need One
By definition a design system is a complete set of standards intended to manage design at scale using reusable components and patterns. When properly implemented, a design system provides a lot of benefits not only to design teams but development teams as well. Imagine you are tasked with baking a cake. You know what it…
Read MoreGnarly Learnings from March 2023
We love reading, watching, and listening in order to keep our skills sharp and our perspectives fresh. Here are some of the resources we learned from this month. compareDocumentPosition Sorting is a common feature requirement for any list UI. It is straightforward enough to write a unit test for a custom sorting function, comparing its…
Read MorePractical State Machinery
As abstractions go, finite state machines represent a bit of low hanging fruit when you have real world problems to solve. The jargon can be a little forbidding—MDN leads with “a mathematical abstraction used to design algorithms” and pretty much gets more technical from there—but in reality they represent a simple and practical technique for…
Read MoreMetaprogramming in Ruby: Intermediate Level
This post is the second in a series focused on the application of Ruby metaprogramming. If you’re just starting to learn about metaprogramming, “Metaprogramming in Ruby: Beginner Level” is a great place to get started. In this article, we’ll cover a practical application of Ruby metaprogramming. If you want to learn even more, stay tuned…
Read MoreGnarly Learnings from February 2023
We love reading, watching, and listening in order to keep our skills sharp and our perspectives fresh. Here are some of the resources we learned from this month. Improved Absolute URL Detection in React Router Link Component The Link component is an important aspect of React Router’s tooling, but historically we have had to fall…
Read MorePostgres Full Text Search
Why you might not need Elasticsearch This blog post is another in my series “Yeah, Postgres can do that”, (check out my other posts on enum types, and history tracking). Postgres is a humble workhorse with powerful features waiting to be unlocked. If you’re a web developer and you want to add a search bar…
Read MoreGnarly News January 2023
The software development landscape is constantly changing. As a software consultancy, it’s our responsibility to keep our finger on the pulse of the industry. Here are some headlines that caught our attention recently. React Native 0.71 Released We’ve had our eyes on the various release candidates for a few months and we were stoked with…
Read MoreRuby to the Rescue for Error Handling
TL;DR Though we frequently use the terms “throw” and “catch” when discussing error handling, we must be careful in Ruby to use the more accurate terms “raise” and “rescue”. “Throw” and “catch” have a significantly different meaning in Ruby. The Problem The other day we were writing an RSpec test and were surprised to find…
Read More