engineering

Top Smart Contract Languages in 2024: Solidity, Rust, Motoko

Top Smart Contract Languages in 2024: Solidity, Rust, Motoko

Welcome to Dapp Mentors! In this article, we'll delve into the top three programming languages for blockchain development: Solidity, Rust, and Motoko. As a seasoned blockchain developer and educator, I'll share my expertise to help you transition into web3 development. You can watch this article as a video below or continue reading through it. Solidity: The FavoriteSolidity is our top choice due to its simplicity, ease of use, and wide community support. It's the most widely used language for blockchain development, and its simplicity makes it an excellent choice for beginners. However, it has limitations: Scalability: Solidity is not very…
Read More
How I Overcame The Imposter Syndrome

How I Overcame The Imposter Syndrome

The first law to having a long a healthy career in software development is to embrace your imposter. We like to complain in the industry all the time about imposter syndrome. And it is a real psychological thing that some people have. But I think we often claim that we are experiencing an imposter syndrome and we are not. We are just programmers! Let me give you an example. Myself, after over 10 software projects, every project I joined, and this includes the project I worked on last year. For the first three months of that project, I'm swimming in…
Read More
Why you should use Winston for Logging in JS

Why you should use Winston for Logging in JS

Winston JS is a popular open-sourced Javascript logging library used to write logs in code with support extending upto multiple transport. A transport helps the log to be present at multiple levels, be it storage at database level but logs on the console. The transports can be either console, database, files or remote servers making it highly flexible to get logs as per the requirements. The core transports that are part of Winston are Console, File and HTTP while there is option to write logs in third-party transports like MongoDb, CouchDb and Redis. The additional transports are written by the…
Read More
What is cloud computing ?

What is cloud computing ?

In simple words, cloud computing is delivery of resource, IT environments that enable on-demand services like computing, storage, networking, which can be accessed over the Internet using a cloud provider. Advantages of Cloud Computing Agility Being able to implement technology services in a short time, being able to expand activities to new geographic regions. ElasticityYou provision the amount of resources actually needed, being able to increase or decrease the amount of resources that will be needed. Cost savingsExpenses are equivalent only to the IT consumed Types of Cloud Computing (IaaS) = infrastructure as a serviceInstead of physically purchasing and managing…
Read More
Exception In java and hierarchy

Exception In java and hierarchy

While trying to understand the concept of exception in java , it becomes necessary to understand the hierarchy of exceptions becauce we can see a famous interview question from exception hierarchy in java developer interview. suppose we have a parent class with a method that throws IO exception , also there is a sub class that overrides the method of parent class throws FileNotFoundException , will this code works fine or not? The answer is no because in Java the overridden method in the subclass cannot throw a broader or more general exception than the method in the parent class.…
Read More
MICROSOFT AZURE CORE SERVICES

MICROSOFT AZURE CORE SERVICES

Azure Core Services are the primary offerings of Microsoft Azure. Services refer to individual offerings or capabilities provided by CSPs.Solutions are integrated packages that bring together multiple services to solve a specific need. COMPUTE Azure Compute is a cloud computing service that offers a range of services and features to support various computing needs, from virtual machines to serverless and containerized applications, enabling users to build, deploy, and manage applications and workloads in the cloud.With Azure Compute, users can: run applications and workloads in the cloud—provides a range of options for running applications and workloads, including: Virtual Machines (VMs) Container…
Read More
How to create GraphQL API in Nest JS? Step by Step guidelines!

How to create GraphQL API in Nest JS? Step by Step guidelines!

Creating a GraphQL API in NestJS involves several steps. Here's a step-by-step theoretical guide: Step 1: Setup a New NestJS Project Install Nest CLI: npm install -g @nestjs/cli Enter fullscreen mode Exit fullscreen mode Create a New Project: nest new project-name Enter fullscreen mode Exit fullscreen mode Navigate to the Project Directory: cd project-name Enter fullscreen mode Exit fullscreen mode Step 2: Install GraphQL and Apollo Server Install Required Packages: npm install @nestjs/graphql graphql apollo-server-express Enter fullscreen mode Exit fullscreen mode Step 3: Configure GraphQL Module Create a GraphQL Module Configuration: Open src/app.module.ts and configure the GraphQL module: import {…
Read More
Higher Order Components (HOC) React

Higher Order Components (HOC) React

const UpdatedComponent = (Original Component) => { class NewComponent extends React.Component { constructor(){ this.state = { ... } } render(){ return( <OriginalComponent props/> ); } } return NewComponent; }; class OGComponent extends React.Component{ ... //available via (this.props..) } export default UpdatedComponent(OGComponent); Enter fullscreen mode Exit fullscreen mode Source link lol
Read More
Smart contracts privados con Solidity y Circom

Smart contracts privados con Solidity y Circom

ZK nos permite hacer aplicaciones con datos y ejecución privada. Esto abre la puerta a muchos nuevos casos de uso, como el que crearemos en esta guía: un sistema de votación anónimo y seguro combinando Circom y Solidity. Circom y dependencias Si aún no tienes circom, instálalo con los comandos a continuación. Yo estoy usando node v20 pero debería funcionar con otras versiones. curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh git clone https://github.com/iden3/circom.git cd circom cargo build --release cargo install --path circom npm install -g snarkjs Enter fullscreen mode Exit fullscreen mode También vamos a ocupar las librerías de…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.