Tag: Programming
-
Why and how to replace end-to-end tests with synthetic monitors
Posted on March 9, 2023, Level beginner Resource Length medium
An older article about potential alternative to classic end-to-end tests: synthetic monitors. A thousand tests can't prove your software works. They can only prove it doesn't. When your code reaches production, even the most thorough end-to-end tests can't prevent your users from seeing that "500 - Unexpected Server Error" screen that keeps you awake at night. By Lucas da Costa.
Tags programming cloud tdd miscellaneous performance agile
-
How to handle errors in React: full guide
Posted on February 28, 2023, Level intermediate Resource Length medium
We all want our apps to be stable, to work perfectly, and cater to every edge case imaginable, isn't it? But the sad reality is we are all humans (at least that is my assumption), we all make mistakes, and there is no such thing as a bug-free code. By Nadia Makarevich.
Tags programming frontend web-development react javascript
-
Various debugging methods in OpenResty
Posted on February 27, 2023, Level intermediate Resource Length short
In OpenResty's communication group, developers often ask this question: How do debug in OpenResty? As far as I know, there are some tools in OpenResty that support breakpoint debugging, including a plugin in VSCode, but they are not widely used so far. Including the author agentzh and a few contributors I know, everyone uses the simplest ngx.log and ngx.say to do debugging. By @api7.ai.
Tags programming performance devops distributed apis
-
.NET programmer's guide to CancellationToken
Posted on February 23, 2023, Level intermediate Resource Length long
Microsoft created a standardized cancellation implementation that has far-reaching capabilities beyond its original use case. Sometimes canceling is a good thing. In many of my .NET projects, I have had plenty of motivation to cancel both internal and external processes. Microsoft learned that developers were approaching this common use case in a variety of complex implementations and decided there must be a better way. By Davit Asryan.
Tags web-development programming how-to apis app-development
-
Best practices for Java apps on Kubernetes
Posted on February 22, 2023, Level beginner Resource Length long
In today's fast-paced digital world, the speed of your website can make or break the user experience. With abundant information at our fingertips, users expect websites to load quickly and efficiently. As frontend developers, it's our responsibility to deliver a seamless experience for our users. By Gaurav Sharma.
Tags java programming app-development devops kubernetes
-
Introduction to class delegation in Kotlin
Posted on February 17, 2023, Level intermediate Resource Length medium
Technically, what you're going to see in this chapter is more precisely known in the broader programming community as "forwarding" rather than "delegation". However, in the Kotlin world, it's always referred to as delegation, so we'll continue to use that term here. By typealias.com.
Tags java programming app-development kotlin
-
Jsonnet is better than YAML for generating JSON
Posted on February 13, 2023, Level beginner Resource Length long
YAML is a well-known language for generating JSON files, but as we have been generating Docker Compose for integration tests, we've found Jsonnet to be better. Before we discuss both languages, keep in mind that this piece is strictly to discuss the use of each language when generating JSON. By Colin Mo.
Tags json app-development programming web-development
-
8 most popular Python HTML web scraping packages with benchmarks
Posted on February 4, 2023, Level intermediate Resource Length long
This blog post will cover Python web scraping packages in terms of their speed, ease of use, and personal investigations. This blog post won't cover what webscraping is and how parsers work. By Dmitriy Zub.
Tags python programming web-development app-development performance
-
Why I selected Elixir and Phoenix as my main stack
Posted on February 3, 2023, Level intermediate Resource Length medium
This is just a personal journey documentation on how I decided to use my current tech stack. By Camilo.
Tags erlang programming career elixir
-
Reducing Go execution tracer overhead with frame pointer unwinding
Posted on February 1, 2023, Level intermediate Resource Length medium
The Go Execution Tracer (aka runtime/trace) was designed to achieve low enough overhead to be usable on "a server in production serving live traffic". This is achieved by writing events into per-P buffers, using RDTSC for timestamps, and encoding into a relatively efficient binary format. By Felix Geisendörfer.
Tags golang programming microservices cloud performance
-
Micro frontends for Java microservices
Posted on January 31, 2023, Level intermediate Resource Length medium
Microservices have been quite popular in the Java ecosystem ever since Spring Boot and Spring Cloud made them easy to build and deploy. Things have gotten even easier in recent years with the proliferation of new Java frameworks built specifically for microservices: MicroProfile, Micronaut, Quarkus, and Helidon. By Matt Raible.
Tags java programming microservices cloud serverless
-
Scala: Implicit parameters when to use them?
Posted on January 30, 2023, Level intermediate Resource Length medium
Implicits are one of the most feared features of the Scala programming language and for good reasons! By Julien Truffaut.
Tags scala programming akka serverless