Programming

Programming

What are structured logs and how do they improve performance?

What are structured logs and how do they improve performance?

Recording information in a structured format for better analysis and processing of log data photo from Kier… in sight on the Unsplash Structured logging is an invaluable tool when it comes to understanding and troubleshooting software problems. By clearly and neatly organizing information about events happening in your system, structured logs make it easy to …

What are structured logs and how do they improve performance? Read More »

How Distributed Systems Are the Software Equivalent of Cities

How Distributed Systems Are the Software Equivalent of Cities

Getting civil about system components and relationships Software engineering and civil engineering are both disciplines that involve the design and construction of complex systems. Both software engineering and civil engineering involve the use of mathematical and scientific principles to solve problems, and both require a deep understanding of the materials and tools used to create …

How Distributed Systems Are the Software Equivalent of Cities Read More »

Visualizing Street Tree Population Variance in NYC Using GeoPandas, Plotly, and JavaScript

Visualizing Street Tree Population Variance in NYC Using GeoPandas, Plotly, and JavaScript

And a comparison of the performance of the server and client-side rendering using Plotly Dash and JavaScript Photo by Maria Teneva on Unsplash In this article, I will: Use data from the US Census Bureau and the NYC Parks Department to map the change in street tree cover in NYC from 1995 to 2015. Walk …

Visualizing Street Tree Population Variance in NYC Using GeoPandas, Plotly, and JavaScript Read More »

Understanding the JavaScript call stack through illustrations

Understanding the JavaScript call stack through illustrations

How are functions executed in Javascript? What is the enforcement order? What is the execution context? according to Racool_studio from freepik In the simplest terms, the call stack is the stack that controls the order in which functions are executed. This is it. It is the mechanism that controls which function is executed and when. …

Understanding the JavaScript call stack through illustrations Read More »

Numpy vs.  Pickle for storing human readable strings in Python?

Numpy vs. Pickle for storing human readable strings in Python?

Glauco emphasized this numpy may use more memory than other libraries pickle. But first, read how you can use numpy to store strings: import numpy as npstrings = [‘string1’, ‘string2’, ‘string3’]np.savetxt(‘strings.txt’, strings, fmt=’%s’) In this example fmt the argument in this case specifies the format of the stored data %s is used to indicate that …

Numpy vs. Pickle for storing human readable strings in Python? Read More »

Introduction to the Actor-Based Concurrency Model in Java

Introduction to the Actor-Based Concurrency Model in Java

Exploring the pros and cons of the actor model photo from Michael Dziedzic on the Unsplash In software development, the performance benefits of multi-core processors can be maximized through concurrent programming. Concurrent programming is designed to create independent processes working in parallel in a specific composition without affecting the desired result. Various concurrency models are …

Introduction to the Actor-Based Concurrency Model in Java Read More »

Making Sure Microservices Doesn’t Turn into a Cyberpunk Dystopia

Making Sure Microservices Doesn’t Turn into a Cyberpunk Dystopia

My saga with microservices and the book that helped me write a better future Photo by cheng feng on Unsplash This is a summary of content from a talk series I’ve developed entitled “Distributed Distributed Systems unDerstanding,” focusing on defining and right-sizing microservice architectures. They are based on the books Fundamentals of Software Architecture: An …

Making Sure Microservices Doesn’t Turn into a Cyberpunk Dystopia Read More »

The Emerging Paradigms for Delivering Content Faster

The Emerging Paradigms for Delivering Content Faster

Caching static and dynamic content — CDNs and Edge Computing Photo by Anders Jildén on Unsplash Before the advent of component-based frameworks like React, Svelte, and Vue, rendering all content via your web server was commonplace. In those days, navigation through a website would result in multiple requests to the server, rendering content and sending …

The Emerging Paradigms for Delivering Content Faster Read More »

Scroll to Top