I recently encountered a bug where an http request was taking up to 3 seconds. Once I developed a potential solution, I needed to test the request to see if it was faster with the new code changes. In order to test, I developed a baseline by curling the request without any code changes. Next, I updated the code with the hopeful solution, and curled the request again to observe the change.
What is jq? I use jq when I need a quick way to gain insights on JSON in the command line. According to the jq manual, “a jq program is a “filter”: it takes an input, and produces an output.” This post will provide examples of how jq can help you answer questions about JSON. I recommend installing jq and trying out the examples below in your terminal. I’m going to use the Google Books API to query a list of quilting books.
Keyboard shortcuts allow programmers to be more efficient. This post will share a list of my frequently used Mac keyboard shortcuts. The teacher in me included some keys words that may help you remember each shortcut. :) General shortcuts ⌃ a - a is the first letter of the alphabet, so it moves you to the front of the line/paragraph. ⌃ e - exits by moving you to the end of the line
Message brokers, like RabbitMQ, accept and forward messages between separate applications. Messaging is useful for decoupling applications. This means that different applications are connected through a message broker, but they don’t directly rely on one another. This post will provide an overview of messaging with a focus on AMQP and the publish-subscribe pattern. Another term for message broker is event bus. Publish/Subscribe architecture pattern The publish-subscribe (pub/sub) pattern is a messaging pattern where senders of messages (publishers) do not program the messages to be sent directly to specific receivers (subscribers).
I’ve written a bit about Filth Finder, an app that surfaces health inspections from NYC restaurants near you. Most recently, I wrote about the API that served the restaurants to the frontend. While this implementation worked, it was pretty slow to load. In an effort to speed up the loading time, I rewrote the backend to pull the of index restaurants from Google Cloud Storage. Check out how much faster it loads.
Filth Finder is an application that loads NYC restaurants near you and allows you to view health inspection violations at each restaurant. One problem that had to be solved when developing Filth Finder was how to calculate the distance between the user and all of the amazing restaurants NYC has to offer. The NYC Open Data API provided the addresses for each restaurant, but Filth Finder needed the geolocation of those restaurants.
If you are going to LTV Conf and want to chat about tech, please say hi. I received a scholarship to attend LTV Conf, and I’m looking forward to attending next month. The conference brings together leaders from the SaaS industry to share ideas about marketing, scaling, tech and entrepreneurship. I found out about the scholarship through Diversify Tech’s newsletter, and I applied knowing that it would be a cool opportunity to learn more about the SaaS industry.