coding

Zig First Impressions

Zig First Impressions

Table of Contents Why Zig? I've had my eye on Zig for a while. It first came onto my radar after throwing my own hat into the ring of language design, when I started looking into tons of languages from the most mainstream to the most obscure for inspiration. Until recently, I had never actually used it. So, after taking a break from my own language project, I became curious about what it was like to actually program in Zig. Here are my initial thoughts after my first small project. What is Zig? Zig is a statically typed, compiled language…
Read More
Perfecting the Hook Shot A Classic Scoring Technique

Perfecting the Hook Shot A Classic Scoring Technique

Perfecting the Hook Shot: A Classic Scoring Technique When it comes to basketball, evolving your arsenal of scoring techniques can set you apart from the average player. One of the most underutilized yet effective moves in today's game is the hook shot. Though it might remind you of basketball legends like Kareem Abdul-Jabbar or Hakeem Olajuwon, mastering this classic technique can give modern players a significant edge, particularly in the post. The Mechanics of the Hook Shot Perfecting the hook shot involves a combination of footwork, body positioning, and arm movement. Here’s a detailed breakdown of the mechanics: Mechanic Description…
Read More
How to customize the User model in Django?

How to customize the User model in Django?

Image credits to: Pin In this post I explain three methods to extend or customize Django’s User model, without having to rewrite it from scratch, and keeping all Django’s user management features But, before we start, let’s see where Django’s User model comes from. Where does the Django User model come from? Django’s User model inherits from AbstractUser which, in turn, inherits from the AbstractBaseUser class. graph TD; AbstractBaseUser-->AbstractUser; AbstractUser-->User; If you look at the Django source code, you will see that the User model you normally use has virtually no functionality of its own , but inherits all of…
Read More
An Exploratory Testing Approach on HNG.TECH

An Exploratory Testing Approach on HNG.TECH

Exploratory testing is an approach to software testing that is often described as simultaneous learning, test design, and execution. It focuses on discovery and relies on the guidance of the individual tester to uncover defects that are not easily covered in the scope of other tests. The practice of exploratory testing has gathered momentum in recent years. Testers and QA managers are encouraged to include exploratory testing as part of a comprehensive test coverage strategy. This weekend, I conducted an exploratory test on hng.tech website. My goal for the testing was to uncover issues that could affect user experience and…
Read More

Quantum Key Distribution Revolutionizing Secure Communications

In a world where cybersecurity threats are perpetually evolving, the need for rock-solid encryption methods has never been more pressing. Enter Quantum Key Distribution (QKD) – a groundbreaking advancement that promises to redefine secure communication and protect our data from adversaries wielding even the most powerful quantum computers. What is Quantum Key Distribution? Quantum Key Distribution is a method of securely distributing cryptographic keys between two parties using the principles of quantum mechanics. The genius of QKD lies in its utilization of quantum states to transmit keys, ensuring that any attempt to intercept or eavesdrop on the communication fundamentally alters…
Read More
Integrating React Native with GraphQL: A Comprehensive Guide

Integrating React Native with GraphQL: A Comprehensive Guide

Heys devs! React Native is a powerful tool for developing cross-platform mobile applications, while GraphQL offers a flexible and efficient approach to consuming APIs. Together, they can make app development faster and less error-prone. In this post, we will explore how to set up and use GraphQL in a React Native application with TypeScript, including installation, code examples (queries and mutations), tests, and best practices. Installation 1. Setting Up the Environment First, ensure you have your React Native development environment set up. If you haven't done this yet, follow the instructions in the official documentation to configure the React Native…
Read More
CodeBehind 2.8 Released, Cache the Pages and the Controller

CodeBehind 2.8 Released, Cache the Pages and the Controller

What is CodeBehind? CodeBehind is a back-end framework on .NET Core, the first version of which is released in 2023. CodeBehind is a competitor to the default back-end frameworks in ASP.NET Core (ASP.NET Core MVC and Razor Pages). CodeBehind inherits all the benefits of .NET Core, giving it more flexibility and power than Microsoft's default frameworks. CodeBehind Framework 2.8 Version 2.8 of the CodeBehind framework was released with the addition of the cache feature. It took a long time to add cache support to the CodeBehind framework; The reason for the prolongation of this process was our attention to design…
Read More
Discovering the Power of Atlassian Resources

Discovering the Power of Atlassian Resources

Recently, I explored the extensive resources provided by Atlassian on Agile, DevOps, and more. Their comprehensive material not only refreshed my understanding of Agile and Scrum methodologies learned at Red Hat, but also expanded my knowledge on critical topics like various Git workflows, DevOps culture, and the Scaled Agile Framework (SAFe). Practical Tips from Atlassian Consider Gitflow for Large, Complex Projects: Atlassian's guide on Git workflows offers valuable insights into enhancing your version control strategy. The Gitflow model, in particular, is useful for managing larger projects, ensuring a streamlined and efficient development process. It might become The Solution if your…
Read More
【Kaggle】HMS 2nd Solution explaind

【Kaggle】HMS 2nd Solution explaind

This time, I'll explain the 2nd solution of HMS competition on kaggle.the original solution is here:https://www.kaggle.com/competitions/hms-harmful-brain-activity-classification/discussion/492254 This competition's purpose is classification to the 182 type bird calls.The validation method is AUC-ROC, so we had to predict all of birds classes. Competition host provide the random length audio calling data over 240000 samples as training data, and data not labeled for utilize to augmentation or otehrs. As the problem must be addressed were: unbalanced data, probably noisy and mixed test data, data while bird not calling, etc.. Additionaly point to be noted is the limitation of submittion. This competition only allow…
Read More
Full Stack Serverless Challenge #1: AWS Amplify Gen 2

Full Stack Serverless Challenge #1: AWS Amplify Gen 2

In this challenge, we'll be learning more about Amplify Gen 2. It is an AWS service that allows front-end developers to deploy full-stack applications. It has a code library that attaches itself to supported frontend frameworks like VueJS, ReactJS, Flutter, React Native, etc. Once attached to the framework, developers can easily create serverless backends, protect them with user authentication, and add file uploads and downloads. We start by following the basic getting started guide. From there, we'll get our hands dirty with the core functionalities of Amplify Gen 2. This is not a walkthrough post. It forces you to explore…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.