dev.to
1. Sleeping is not the best option
Introduction.
Some time ago we were developing a code that stored some data with a given TTL. We wanted to check not only that the data was stored correctly but also that it expired after the given TTL. This is an example of testing asynchronous code.
When testing asynchronous code we need to carefully coordinate the test with the system it is testing to avoid running the assertion before the tested action has completed[1]. For example, the following test will always fail because the assertio…
#testing #php #webdev #refactoring
2. Top X programming and tech videos of November 2022.
Here is a quick overview of the BEST videos about programming and tech released on YouTube in November 2022.
The list is prepared using a super-secret algorithm. Read (of just scroll...) to the end to learn how it works.
Web development
A comprehensive step-by-step course that will teach you how to build a movie search app from scratch.
More web development videos of November
Game development
Interested in beautiful pixel-art games and how to make them? Here is a great explanation of ho…
#webdev #tutorial #productivity #programming
3. Run event-driven workflows with Amazon EKS Blueprints, Keda and Karpenter
Assignment
Implement a kubernetes solution to contanerize the project that will be shared along with this problem.
Implement a very simple API server with the following routes that can interact with kubernetes.
POST /jobs (Create a new job that runs on a kubernetes cluster)
GET /jobs/stats (Returns aggregate job stats. Succeeded vs failed and no of retries)
POST /jobs/schedule (Schedule a job using cron syntax)
The project is wrritten in Rust and we need to containerize the project to serve…
#simflexcloud #cdk #aws #eks
1. Sleeping is not the best option
Introduction.
Some time ago we were developing a code that stored some data with a given TTL. We wanted to check not only that the data was stored correctly but also that it expired after the given TTL. This is an example of testing asynchronous code.
When testing asynchronous code we need to carefully coordinate the test with the system it is testing to avoid running the assertion before the tested action has completed[1]. For example, the following test will always fail because the assertio…
#testing #php #webdev #refactoring
2. Top X programming and tech videos of November 2022.
Here is a quick overview of the BEST videos about programming and tech released on YouTube in November 2022.
The list is prepared using a super-secret algorithm. Read (of just scroll...) to the end to learn how it works.
Web development
A comprehensive step-by-step course that will teach you how to build a movie search app from scratch.
More web development videos of November
Game development
Interested in beautiful pixel-art games and how to make them? Here is a great explanation of ho…
#webdev #tutorial #productivity #programming
3. Run event-driven workflows with Amazon EKS Blueprints, Keda and Karpenter
Assignment
Implement a kubernetes solution to contanerize the project that will be shared along with this problem.
Implement a very simple API server with the following routes that can interact with kubernetes.
POST /jobs (Create a new job that runs on a kubernetes cluster)
GET /jobs/stats (Returns aggregate job stats. Succeeded vs failed and no of retries)
POST /jobs/schedule (Schedule a job using cron syntax)
The project is wrritten in Rust and we need to containerize the project to serve…
#simflexcloud #cdk #aws #eks
dev.to
Prioritizing Technical Debt as If Time & Money Matters - Adam Tornhill
I just watched this video. It covers code quality measurement and the human impact. I recommend it very much and I have included my notes in this post.
Speaker
Adam Tornhill founder of Codescene
Video
Source
At GOTO 2022
Software development at scale
Lehman's "Laws" of Software Evolution
Lehman, M.M. (1980) Programs, Life Cycles, and Laws of Software Evolution. Proceedings of the IEEE, 68, 1060-1076.
Continuing Change
"a system must be continually adapted or it becomes progressive…
#programming #refactoring #development #video
Prioritizing Technical Debt as If Time & Money Matters - Adam Tornhill
I just watched this video. It covers code quality measurement and the human impact. I recommend it very much and I have included my notes in this post.
Speaker
Adam Tornhill founder of Codescene
Video
Source
At GOTO 2022
Software development at scale
Lehman's "Laws" of Software Evolution
Lehman, M.M. (1980) Programs, Life Cycles, and Laws of Software Evolution. Proceedings of the IEEE, 68, 1060-1076.
Continuing Change
"a system must be continually adapted or it becomes progressive…
#programming #refactoring #development #video
dev.to
🧹 Tidying Up Your Rails Code: The Art of Refactoring, Marie Kondo Style
You know that feeling when you're in the mood to crack on some code and do a 'brain dump' of ideas...
#rails #refactoring #webcomponents #programming
🧹 Tidying Up Your Rails Code: The Art of Refactoring, Marie Kondo Style
You know that feeling when you're in the mood to crack on some code and do a 'brain dump' of ideas...
#rails #refactoring #webcomponents #programming
dev.to
Boldness in Refactoring
The old engineering adage: “don’t touch it, it works”. Is terrible. Don’t listen to it. It might be...
#tutorial #programming #refactoring #java
Boldness in Refactoring
The old engineering adage: “don’t touch it, it works”. Is terrible. Don’t listen to it. It might be...
#tutorial #programming #refactoring #java
dev.to
The Five Lines of Code Principle: Why Less is More in Programming
In this article, we’ll Learn a simple principle that can help you refactor your code more effectively...
#programming #refactoring #codequality #5loc
The Five Lines of Code Principle: Why Less is More in Programming
In this article, we’ll Learn a simple principle that can help you refactor your code more effectively...
#programming #refactoring #codequality #5loc
dev.to
Confessions from a Golfer Programmer
I love code. Not all code, just beautiful code. One of my favorite activities is to refactor -...
#rust #typescript #refactoring #programming
Confessions from a Golfer Programmer
I love code. Not all code, just beautiful code. One of my favorite activities is to refactor -...
#rust #typescript #refactoring #programming