Skip to content

Latest commit

 

History

History
794 lines (587 loc) · 70.6 KB

File metadata and controls

794 lines (587 loc) · 70.6 KB

drawing

Let's learn about Programming Tips via these 193 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the /Learn or LearnRepo.com to find the most read blog posts about any technology.

Programming tips are practical advice, best practices, and shortcuts to improve coding efficiency, quality, and maintainability. These tips are crucial for developers to write cleaner code, debug effectively, and enhance their overall productivity and software craftsmanship.

A trie (pronounced as “try”) or prefix tree is a tree data structure used to efficiently store and retrieve keys in a dataset of strings.

We can use LinkedList to merge both sorted lists, though there are considerations to doing it single or double-linked that may complicate the operation.

How to Find the Product of All Elements in an Array Except Self? You must write an algorithm that runs in O(n) time and without using the division operation.

A linked list of length n is given such that each node contains an additional random pointer, which could point to any node in the list, or null.

Explore the application of SOLID principles in the world of smart contract development.

In this part of the series, we apply the DCT to real images and explore the concept of quantization. Coincidentally, JPEG operates in the same manner.

Applications of dynamic programming

A step-by-step guide for getting to https://localhost:3000 Create a certificate to make ourselves a Certificate Authority (CA) that can sign SSL certificates.

"Optimizing List Manipulation: Two Pointers Technique" explores the effective application of the two-pointer technique to efficiently manipulate lists, reducing

Follow the author's exploration of software development from the early days of sequential code to embracing distributed systems.

Learn to write Pinescript v5 and create your first TradingView indicator. Enhance your trading strategies and gain a competitive edge in the market!

How can we create a custom user and password to access MongoDB when using docker-compose? Let's see how.

If you're a thrill seeker and up for a challenge, you're in luck because I'm here to give you a rundown of the top most mind-bending programming languages.

We take a look at what .phony actually does.

How to avoid inheritance problems using composition and functional programming

Let’s take a look at some of the best coding hacks to remember in the new year.

There are some great tools and extensions that might help your coding experience enjoyable in the VS Code. That is great and all but there might be a chance you are missing out on some great shortcuts that VS code offers. That is why this article is here to help you with some of the most useful shortcuts for faster coding.

Stop using if statements unless absolutely necessary. Using if statement is a clunky way of writing code and should be avoided wherever possible.

The Omit utility Type lets us take types, remove elements, and make entirely new types. Let's look at how it works.

Learning to code can be a challenging and rewarding journey, but it's not without its pitfalls. However, with a little knowledge and planning, these common

Choosing the best programming language to learn first can be overwhelming. We are reviewing popular languages and giving resources to learn them for FREE.

Building ping command in Node.js for fun. Short practical guide to buffers, sockets, bit manipulation, performance measurement, and Wireshark.

How I built a simple code editor like VScode using Tauri and Reactjs

Get clarity on using REM or EM in web design. This guide explains the differences and helps you choose the best unit for your project's needs.

Solving ATM problem with Dynamic Programming

The notion of state machines is extremely useful in programming. It streamlines the process of developing more complicated use case apps.

How to detect if the network connection is Online/Offline with Angular - RXJS

In this tutorial we'll see how we can use Go templating to replace values in a YAML file with values from another YAML file, similar to what Helm does.

I've been using Django for a little less than a year already if I'm not mistaken and I'd like to share the top resources I use when I'm running on a roadblock or if I'm trying to implement something that I haven't implemented yet.

TypeScript, the popular open-source programming language, has become a crucial tool in modern web development. As a superset of JavaScript, TypeScript bring

Programming languages enable complex applications and efficient issue-solving in modern software development.

Compile Angular Component To HTML String With All The Bindings

If you work in a team opening a Pull Request (or Merge Request) looks appropriate. It’s a common practice nowadays. However, have you ever thought about opening a Pull/Merge Request when working by yourself?

Hello everyone, I’d like to discuss creating a library using a Makefile in C with some practical examples.

Effortlessly Remove Selected Elements Programmatically: Mastering Object Deletion in Fabric.js 5

This article is about removing single line comments from text.

Learn the best practices to convert or coerce data from one type to another in Javascript for performing operations, manipulating data, with data consistancy.

You will require coding skills if you want to work in the field of artificial intelligence (AI). How do you begin? and Which programming language to use?

My best practice from making a real-time high loaded performance application on .NET platform

PHP GD is a library that performs fantastic tasks that helps you to do several things with your image.

In C#, how can we balance asynchrony and laziness? Is there such a thing as async lazy? Let's explore our options built into dotnet!

This article address how errors are handled with the Rust programming language.

Learn why tuples are more memory-efficient than lists in Python. Explore memory usage, immutability benefits, and real-life applications for optimization.

Discover how to leverage templates and constexpr in modern C++ for faster, safer compile-time calculations. Uncover practical tips, pitfalls, and best practices

Android Studio has some functions you probably do not know. So, I am sharing the top 10 Android Studio Tips and Tricks.

Virtual functions are normal C++ methods with virtual keyword. Checkout the working and implementation of these methods in this blog.

For quite a while, software development has been among the most well-paid and demanded jobs in the labor markets across the world. Now, when 2019 is running to the end and we are standing on the threshold of the new year, this tendency seems to stay with us.

This will enable finding and fixing Ajax errors using Network Tab! Once this is resolved your JavaScript Ability will be legit!

Solving k-th largest element in the array using heap and quickselect

An engineer with a deep understanding of algorithms and data structures will be able to make informed design choices, and write programs that are more performant and easier to change.

Linux is one of the best-known and most used operating systems in the world. Here are 6 essential commands which can make you better at using Linux systems.

Avoid software bottlenecks by understanding the 'God Object' anti-pattern in object-oriented programming. Learn its impacts, examples, and best practices.

Reflection makes a lot of confusion for the C# developers when it comes to the question of the real-life practical use of it. This article shows how to do that.

In this article, we will be building a currency converter application in Flutter.

With this guide, I hope you gain an in-depth understanding of the buddy system in OS and the slab system for allocating kernel memory.

Kubernetes default namespaces and their importance

Array reduce is a powerful functional programming technique that can be used to simplify complex data manipulation tasks. One of the main advantages of using array reduce over traditional for loops and filter operations is that it allows for more concise and expressive code.

A step by step guide on how to create a React project from scratch, with TypeScript and Vite

We are trying to learn the basic concepts about heaps like inserting and extracting data from heaps and also the time complexity of heaps.

This article will introduce the concepts and topics common to all programming languages, that beginners and experts must know!

Harnessing Concurrent Execution with “Future.wait()” in Dart

How Programming and Technology Are Changing the World

In this article, we will see how can we perform crud operations with MySQL database using JDBC.

This post focuses on creating materials in 3D with the Delphi FireMonkey framework. Shaders give your programs the ability to take full advantage of the GPU.

The rise in cybercrime and the sophistication of attacks has made security a crucial part of the development process and not just an afterthought.

Discover lesser-known React Native tricks & advanced techniques to elevate app development. Unleash its full potential in mobile innovation!

Embedding refers to integrating external content on your webpage like images, videos, etc. Learn the history of embedding and how to embed content on a website

We dive deep into the first principle of SOLID programming, the Single responsible principle. It states "A class should have one and only one reason to change"

Over-engineering feels like smart planning—until it slows you down. Learn how to spot the signs, avoid common traps, and keep your code simple, scalable, and ma

How to set up Flavors in Flutter and why you need them. A tutorial on Android & iOS app development.

Given the head of a singly linked list, reverse the list, and return the reversed list.

If it brings no value to users, chances are, no one will use it.

User stories are brief, informal descriptions of a feature told from user POV.

We work with Git all the time. Did you ever get to a point where you said: “uh-oh, what did I just do?” This post will give you the tools to rewrite history.

Buttons are the most basic element we love to neglect, but buttons don't have to be boring. Here are 7 spicy button designs using Tailwind CSS.

How to create private homebrew taps

The most important Data structures explained in code for cracking the coding interview. Understand and learn how to implement them. Crack the interview

In this article, I have handpicked 16 commands to set up your React apps in seconds.

Are you stuck on earlier versions of .NET but want to get your hands on the hot new record types? Fear not! Check out this simple solution to simplify things!

Every programming problem involves some kind of algorithm. An algorithm, in this sense, is a process or set of steps to accomplish a certain tasks; or simply a step-by-step way to solve a problem. There are about 700 programming languages. (Seriously: Here's a list.) So, what to learn and why to learn it - that's what most people are stuck on. From my perspective, you can (and should) choose learn any language. Learning the basics of one on-demand programming language will do you no harm. But: you must select ONE language that becomes your magic spell, and you should always be ready to create something out of it. Learning varieties of languages and not being able to do anything really well is like a curse.

I used to consider myself pretty knowledgable about the cyber-world, but then I started learning about cyber-security and reading reports by companies like Shape Security, IBM and Snyk.

A look at an average pay scale and the future demand for each of the programming languages available today and made a list of the top five languages.

Well, I'm certainly not a world-class expert, but I have put my 10,000 hours of deliberate practice into programming.

We will make an effort to comprehend the significance of competitive programming (CP) and whether or not it will be useful for your technical interview.

OpenSERP that supports multiple search engines (Google, Yandex, Baidu), can be deployed on your hardware and helps you avoid being bound to a paid 3rd-party.

Python lessons for beginner and advanced level at the same time

Rebases are a way of making your crude commit history into something you’ll want to share with the rest of your team.

Reading the manual is a habit that every software engineer needs in order to perform well. Save hours of trial and error.

Learn how to understand a complex codebase in minutes using AI coding assistants. Step by Step guide using AI Tools.

I used PHP GD to create, and generate watermark images! Also if you want to know the magic behind what was done, read this guide to the end.

A review of some of the HTML attributes you might want to use.

JavaScript is changing fast with a lot of new and exciting features to help us - developers write code better and better. Let's check these latest features.

In this article, we will learn about what memoization is, what value memoization provides to Javascript developers, and how to use it to improve JS functions.

Building a job-ready portfolio of coding projects doesn't happen overnight, here's why you should include libraries and packages in yours.

We decided to build a custom hook that would load and store user preferences from local storage, so users can start with the same settings applied.

Should I migrate to the next Java version?

Java is a skill that is in high demand and that’s why I and so many others have jumped on board the bandwagon and became a java developer. This field has so much to offer a young coder. Things like a high salary and job advancement are nice to have in a world where it seems like nothing is certain.

Leave comments just for important design decisions. Don't explain the obvious.

Spring/Boot REST API and Stereotype Annotations Reference for Learning and for Daily Development.

This blog post started with a personal search for such a post. I have a coding interview in an hour, and I was searching for a good medium post, which can point me out some basic concepts of Competitive Coding so that I can brush up just in time.

This article provides a roadmap and list of great online resources to help you attain the necessary skills to become a great web developer.

Programs may freeze for many reasons, such as software and hardware problems, software bugs, and among others, inefficient algorithm implementations.

Looking to understand the critical factors to learn programming faster are listed here.

In this series of articles, I would like to share my practical experience implementing Domain-Driven Design to a complex legacy project.

How to Survive Your First Programming Job

Have you ever found a bug inducing line change in your code, and wondered who made the change to that line? Fortunately, git has a command for that

Fox Infotech provides comprehensive programming tutorials, online courses, tools, and community forums to help users advance their IT careers.

Java and JavaScript...

Beyond the names that appear "similar," how else do these two programming languages differ from each other?

Walking through the process of building a platform leveraging AI to help users practice for interviews; integrating feedback from the first few live user tests

As a software development company, it’s easy to focus on technical excellence while forgetting that a lot of what creates that excellence isn’t technical in nature at all. Culture, practices, and all those ‘soft’ things in and around the technical heavily influence the way software gets built, and the quality of output.

I just tried Zustand, and it seems very refreshing and straightforward. There's minimal boilerplate.

Getting better at problem-solving requires more than just reps. It’s also how you go about it. We discuss How to Get Better at Solving Programming Problems.

Detailed examples on how to return the middle node, given the head of a singly linked list.

Learn to deploy django to production using nginx, gunicorn and cloudflare tunnels.

Gow to automate Rust build customization using Cargo metadata and a build script—ideal for projects needing many runtime-configurable variants.

I asked developers in my team what VS Code extensions they use to boost their productivity, and here’s what they said.

Algorithms and heuristics are not the same. In this post, you'll learn how to distinguish them.

This article illustrates how to separate the vocals of a song from the instruments using my new favorite library, Librosa.

Heap data structure is a balanced binary tree data structure where the child node is placed in comparison to the root node and then arranged accordingly.

After some time working as a data scientist in my startup, I came to a point where I needed to ask for external help with your project.

Strings are nothing but a combination of characters, and working on strings is a common part of a programmer’s life.

Sometimes it’s necessary to set up a development environment for writing TypeScript code. This article will show you how it’s done.

Java Stream's Collectors methods fit most use-cases. They allow returning either a Collection or a scalar. For the former, you use one of the toXXX() method, for the latter, one of the reducing() one.

This article is a heads up that you can do a lot with just vanilla HTML and a bit of CSS if you want it to look pretty. Here's how...

Learn what to consider when moving from monolith to microservices, including data management, team organization, and infrastructure implementation.

For just as you solve complex problems in your code, winning a girl's heart can also be approached with a logical and systematic mindset.

What is Git and how do you use it? Learn about Git in this intro to programming article.

Instance variables or instance fields: these are variables declared inside a class without a static keyword, but outside a method, constructor, or code block.

Discover the best GraphQL Dev Tools that can help you streamline your development workflow.

It's amazing how much you learn about people and about yourself once you have a kid. You can see below some of the lessons I’ve learned from my 3 year old daughter and which I believe are also applicable in building software products. 

it's easy to think we understand a certain technology when in reality it's not the case. So what questions can we ask to make sure we do?

Programming languages have different type systems that provide developers with different levels of type safety, flexibility and usability.

To become one of these in-demand professionals, you need to know how to learn to program.

Some helpful tips that can steer you in the right direction and help you decide if a component should be part of your internal component library.

Domain-Driven Design is not a specific software architecture or a strict set of rules but rather a collection of principles and ideas to manage complex domains.

Becoming a Git power user is on the bucket list of every developer. With our 5 Git tips you will level up your workflow and get one step closer to Git mastery!

Explore how Domain-Driven Design tackles concurrency issues in complex legacy systems, based on real-world experiences and practical insights.

In this article, we will explore how to integrate Elasticsearch into a Ruby on Rails application and leverage its advanced features to deliver efficient results

Recycle the programming projects you complete: iterate on them and create your own mini-projects along the way. Here’s how.

Code review is an essential step needed for effective software development.

No matter how experienced you are, Git will always find a way to surprise you. It is loaded with neat tricks that have the power to make your daily coding routi

How much time do you spend in debugging? Well, I know that the question is bit vague and the answer would vary. After spending close to 15 years in Computer Programming, I still can't say confidently how much time I really spend in debugging things. There could be multiple factors that influence it and make it uncertain to answer:

Git worktree allows us to checkout many branches in a git repository. This lets us switch between different branches without losing our changes.

Cross-Origin Resource Sharing (CORS) is a process which protects your APIs from defined domains, method types or headers. The CORS headers define which domains

Do you know what percentage of people do not use Ctrl+F when searching text on pages?

There's a lot to learn when you're a new React Developer. These 5 Intro Tips will help you avoid simple mistakes many new developers make when starting out.

You may not believe that learning a programming language is easier than you imagine. However, it is! And we want to help you to start the way in IT via C#.

In this complete guide, let's look at how && works, and go through some examples to explain when it returns values, and what values it will return.

These are some of the most useful Git commands that helped me during my programming journey.

In one project, we got an application that contained half of the source code in Java, and the other half in Kotlin. In fact, I asked a question: "Why is it so?"

If you are preparing for a coding interview and would like to learn a few simple approaches for setting a matrix value to 0, then keep reading.

What would happen if we apply some wisdom from handling exceptions to handling negative emotions?

DDD doesn’t prescribe a specific architectural approach, but certain existing solutions effectively help achieve the tactical goals of the methodology.

Command Design Pattern is one of the behavioural design patterns used to encapsulate a request as an object, thus enabling to parameterize clients with differen

Learn how to use the go-redis client to get started with Apache Kvrocks, a distributed key-value NoSQL database.

Discover the power of Java lambda functions and how they eliminate boilerplate code. Explore cool use cases, save time, and write more expressive code.

Learn how Low-Code/No-Code platforms are revolutionizing app development, breaking barriers for all.

Learning Dynamic Programming and Memoization in Under 5 Minutes

Are you willing to start a career in programming? Or, probably, you’re a dedicated hobbyist who wants to try coding just for fun? Then this article is for you!

Simplify New Relic deployments track with a custom Laravel. Track deployments easily without GitHub Actions by using 'php artisan app:deploy-mark'.

There is no direct way to break from the forEach() function, however, there are some workarounds.f

Implementation of domain driven design in a complex legacy project, focusing on potential mistakes, non-obvious nuances, and useful practical advice.

This article acts as a step-by-step guide that you can follow to start on your projects and learn along the way.

From Assembly to Brainf*ck. A design collection of curated programming language trivia.

Pair programming is a software development technique where two developers work together on the same code on one computer.

Understand how JavaScript array methods work by implementing three of the most common methods: map(), filter() and reduce.

With coding, just like with riding, you need to be responsible and conscious to stay in the saddle and double that to be a winner.

How do you document infrastructure failures and outages?

In this article, I will share the outcomes of adopting Domain-Driven Design in a large legacy project.

A year of consistent leetcode practice in improving problem solving skills

Typing 150+ words per minute won't help you get things done. Likely it will do the opposite.

Value Objects are a useful approach that allows for both formalizing reusable data structures within the domain and designating terms from the subject area.

In this article, the breadth-first search algorithm is explained with examples and implementations, including how it can be modified to find the shortest paths.

Don't let C++ scare you!

Debunking the myth: A college degree is not essential for a successful IT career. Skills, experience, and passion matter more in the industry today.

Explore the unexpected behavior of the 'Using Declaration' feature in C# 8.0 and learn how to safely implement it in your code.

The simplicity and predictability of constructors and destructors are vital to the robustness and efficiency of your application.

A guide on how to protect yourself and your projects while on Github.

Here are 12 VS code shortcuts to help code faster.

Ruby is one of the popular programming languages which was developed by Yukihiro Matsumoto in the mid-1990s. Ruby is a general-purpose language and is easy to learn. So, today we will be talking about the top 14 most asked questions about Ruby.

Whenever you’re developing software, a certain amount of refactoring and rewriting is inevitable. This is sometimes due to a new idea that will simplify the design or a change to the project requirements. But unfortunately, it often also happens because of a misunderstanding about how the software will connect and interact with its external environment. While it’s impossible to completely avoid such miscommunication, you can minimize it by using a principle I call writing software from the outside in.

In this article, we will learn what breakpoint() is, how to use it with PDB and other debuggers, and how to change its behavior with environment variables.

There are a lot of articles about PWA that tell in detail what it is and how to set it up. Yet you may not always understand them from the first time.

While "public static" as well as "void" fulfill separate functions, it is critical to grasp the distinctions between them to fully utilize their capabilities.

Webpages can and do look pretty different from one another, but they all tend to share similar standard components.

Record and Replay, otherwise known as codeless automation, is a way to run tests without programming knowledge. This is done using a tool, like CodeParrot.

Today we will discover Slices, one of the core data structures in Go.

Often, I need to 'tell' Netlify the Node version for my sites, and often I can't find the correct docs for this. Here's a potential solution, if you can relate.

Dyslexia has shaped how I read and write code, influencing my preference for structured, easy-to-scan formatting.

What is a Dockerfile? DevOps engineers must understand this key concept to be effective in deploying containerized applications.

In this article, we take a sneak peek at the capabilities and applications of Power Virtual Agents and PowerFX.

Channeling my inner Sherlock Holmes and armed with the wisdom of every iconic animated sitcom and sci-fi series known to man, I present to you the unseen and u

Java is a solid choice of a programming language to learn in case you have no prior tech background.

To get a glimpse of it, in today’s issue, I’d like to communicate briefly the idea of a Bipartite Graph and its implementation in a very gentle manner. Let’s go