coding

Azure Container Registry — Storing images and artifacts

Azure Container Registry — Storing images and artifacts

Hi everyone, in today’s post we’re going to talk about Azure Container Registry, a great alternative to Docker Hub for storing both public and private images and artifacts. We’ll also learn how to use Azure CLI and Docker CLI for creating and uploading Docker images. What is Azure Container Registry? It's a service for storing and managing images and artifacts, based on Docker Registry technology. Azure Container Registry supports OCI distribution, which is a vendor-agnostic specification responsible for enabling the storage, sharing, and protection of artifacts and images. What are Artifacts? Artifacts are objects used by a process, such as…
Read More
Encapsulation in OOP

Encapsulation in OOP

Encapsulation is a fundamental concept in Object-Oriented Programming (OOP) that binds together the data and the methods that manipulate that data, keeping both safe from outside interference and misuse. In PHP, encapsulation is achieved by using classes and objects to wrap data (properties) and methods that operate on that data. This helps to: Hide internal implementation details Protect data from external interference Improve code organization and structure Enhance data security and integrity How to achieve encapsulation in OOP php? To achieve encapsulation in PHP, we can use: Access modifiers (public, protected, private) to control access to properties and methods Constructors…
Read More
Effort Estimation in Software Project Management

Effort Estimation in Software Project Management

What is Effort Estimantion? Effort estimation is the art of forecasting the effort required to complete a project successfully. Traditionally, it's measured in person hours. It's a crucial aspect of software project management since it ensures proper resource allocation, precise budgeting, and practical scheduling. It assists in the early identification of potential hazards, effective communication with stakeholders, and evaluating performance. Successful project outcomes rely heavily on proper project estimation. Ways to Estimate Efforts in a Project Although there is a variety of ways through which the efforts in a project could be effectively estimated, here in this article we'll talk…
Read More
Defer & Panic Recovery In Go

Defer & Panic Recovery In Go

Panics are caused by operations like accessing elements outside the bounds of an array, null dereference, closing closed channels, and so on. They are abnormal operations that should be avoided by checks in the code, but sometimes these scenarios are missed, and the panic can crash our application. There might be many reasons to recover from a panic, the most obvious being to "fail gracefully" by finishing cleanup operations and properly reporting the errors before exiting. Panic recovery in Go is based on defers, lets take a look at how they work. Each time the function encounters a defer statement,…
Read More
How to Fix the Annoying White Space Issue in iOS Safari: A Beginner’s Guide with Easy Solutions

How to Fix the Annoying White Space Issue in iOS Safari: A Beginner’s Guide with Easy Solutions

Have you ever been designing a website and been working on a flawless page when all of a sudden the iOS Safari keyboard appears? There it is—a large blank area that is not welcome on your page. You're not alone, though, if you're scratching your head as to why that is. Let's investigate this peculiar issue and work out a solution. What’s Going On? Imagine this: your user taps on a form field, and the virtual keyboard just magically appears. As it pushes up the content, a little pesky white space shows up at the bottom of the page. It's…
Read More
Unlocking the Potential of Cloudflare Workers for Small Projects

Unlocking the Potential of Cloudflare Workers for Small Projects

Cloudflare Workers is a serverless platform that allows developers to run code at the edge, close to the end users. Unlike some other serverless platforms that run in centralized data centers, Cloudflare Workers run in over 200 locations worldwide, providing lower latency and high performance. This article explores why Cloudflare Workers is a fantastic choice for smaller projects and offers a practical use case of creating a Telegram bot using Cloudflare Workers. Why Choose Cloudflare Workers for Smaller Projects? 1. Low Latency and High Performance Imagine your code running in data centers closest to your users, reducing latency significantly and…
Read More
Write a test function while learning javascript

Write a test function while learning javascript

Objects everywhere Well, you've probably heard before about objects in JavaScript and how they are important in order to understand the language. Objects make JS extremely readable and useful because of its model "key":"value". But the thing I want to stand out is that the "value" section accepts not only a simple string, rather another object, that in turn, may be another object and so on. For instance: const character = { name:"Arthur Morgan", age:24, face: { hairSize:5, eyesColor: "blue", } } Enter fullscreen mode Exit fullscreen mode This snippet shows that face is an object as well as character.…
Read More
Listening for HTTP requests on the CLI with tshark

Listening for HTTP requests on the CLI with tshark

sudo tshark -Y "http.request or tls.handshake.type == 1" -T fields -e http.request.method -e http.host -e http.request.uri -e tls.handshake.extensions_server_name Enter fullscreen mode Exit fullscreen mode Argument Description -Y "http.request or tls.handshake.type == 1" Filters for HTTP requests or TLS ClientHello packets -T fields Outputs the following fields -e http.request.method Displays the HTTP request method -e http.host Displays the HTTP host header (domain name) -e http.request.uri Displays the URI of the HTTP request -e tls.handshake.extensions_server_name Displays the server name from the TLS handshake Source link lol
Read More
[Game of Purpose] Day 68

[Game of Purpose] Day 68

Today I imported all the animations (dying, damaging, limping, etc.) to the project. Its ~40 of them and I want to make a simple demo map, where I display them all in a grid. It is not that simple. I tried to do that similarly to how Lyria project did: https://blueprintue.com/blueprint/g6invk5y/. First I tried that in Cpp, but failed miserably and thought maybe in Blueprint will be easier. But I can't figure out how to create a Static Mesh Actor from an Animation Squence. Tomorrow I will try to make a Blueprint and pass an animation sequence as a variable.…
Read More
Priming My Workspace

Priming My Workspace

Separation of concerns. In the tech world, that phrase generally refers to the design principle of separating a complex system into more manageable parts. However, ever since I started working from home, I have started seeing it in other places outside of my codebase. When I worked in an office, I found it really easy to keep my space clean and organized. In hindsight that was because that space was dedicated to my job only. It was easier to disconnect from that headspace once I was done with my work because the work was literally in a different location. But…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.