Open in app

Sign In

Write

Sign In

Jerry An
Jerry An

527 Followers

Home

About

Published in Level Up Coding

·Pinned

Circuit Breaker Example in Golang

In Microservices architecture, a service usually calls other services to retrieve data, and there is a chance that the upstream service may be down. If the problem is caused by transient network issues or temporal unavailability, the client service can retry the request several times to solve the issue. However…

Golang

4 min read

Circuit Breaker Example in Golang
Circuit Breaker Example in Golang
Golang

4 min read


Published in Level Up Coding

·Pinned

How Does Golang Channel Works

Understanding Inner workings of the Golang Channels — A goroutine is a lightweight user-space thread, which is managed by the Go runtime. It executes tasks concurrently, potentially in parallel. A channel is for communication between goroutines. In this post, we will delve into the inner workings of the channel and its send/ receive operations. Making Buffered channels Let’s first create a…

Golang

4 min read

How Do Golang Channels Work
How Do Golang Channels Work
Golang

4 min read


Published in The Startup

·Pinned

How to Remember all these Classification Concepts forever

Confusion matrix, Accuracy, Precision, Sensitivity, Specificity, F1 score, and Roc curve, let’s remember them once for all — Despite having seen all these concepts more than a thousand times, I’m still getting confused sometimes. Is there a good way to think about all these concepts so that they start making sense? In this post, I will focus on how to remember them. …

Machine Learning

5 min read

How to Remember all these Classification Concepts forever
How to Remember all these Classification Concepts forever
Machine Learning

5 min read


Published in Analytics Vidhya

·Pinned

The most important Redis data structures you must understand

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis is the world’s most popular in-memory data…

Redis

5 min read

The most important Redis data structures you must understand
The most important Redis data structures you must understand
Redis

5 min read


Published in Level Up Coding

·Jan 29

How to Upgrade Postgresql From 9 to 13

This post provides step-by-step instructions for upgrading Postgresql from version 9 to 13. Step 1: Create a backup of the existing Postgresql 9 database. Because the database server is running in AWS EC2, it’s recommended to use the AWS Volume Snapshot feature to create a backup of the whole volume that contains the database. …

Database

4 min read

How to Upgrade Postgresql From 9 to 13
How to Upgrade Postgresql From 9 to 13
Database

4 min read


Jan 28

[Leetcode] Min Stack Problem in Golang

Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Here is the code to solve this problem. package main type MinStack struct { stack []int min []int } func NewMinStack() *MinStack { return &MinStack{stack: []int{}, min: []int{}} } // Push element x onto stack. func (s *MinStack) Push(x int)…

Programming

2 min read

[Leetcode] Min Stack Problem in Golang
[Leetcode] Min Stack Problem in Golang
Programming

2 min read


Jan 12

The Quick way to Get Token Balance for Multiple Addresses At Once

Most Dapp has a place to show the token balance of the user. How to get a single token balance for an address? It is actually very simple. You can refer to this post. How to Get Balance of an Ethereum Smart Contract Most Dapps provide users with a single place to view all their tokens and token balances, which helps them easily…jerryan.medium.com We have already known that the balanceof function of the ERC20 contract can help us to…

Ethereum

3 min read

The Quick way to Get Token Balance for Multiple Addresses At Once
The Quick way to Get Token Balance for Multiple Addresses At Once
Ethereum

3 min read


Published in Level Up Coding

·Jan 12

How to Get the Balance of an Ethereum Smart Contract

Most Dapps provide users with a single place to view all their tokens and token balances, which helps them easily identify and track their current holdings. How to get the balance of a token in a smart contract? It is easier than you think. Let’s see how to do it. Solution …

Ethereum

3 min read

How to Get the Balance of an Ethereum Smart Contract
How to Get the Balance of an Ethereum Smart Contract
Ethereum

3 min read


Jan 4

How to find NFT Collection By a Contract Address

Using a contract address to find the NFT collection posted on Opensea is relatively simple. All you need to do is follow these steps: 1. Go to opensea.io 2. Enter a contract address into the search box, and the collection will be displayed on the page in a short period. …

Web 3

2 min read

How to find NFT Collection By a Contract Address
How to find NFT Collection By a Contract Address
Web 3

2 min read


Published in Level Up Coding

·Dec 23, 2022

Getting Started with Rust Programming

Rust is a powerful programming language that is becoming increasingly popular for its efficiency and safety. Here are some tips to get you started on your journey to mastering Rust. Learning the Basics The best way to learn the basics of Rust is to work through the official Rust Book. …

Rust

2 min read

Getting Started with Rust Programming
Getting Started with Rust Programming
Rust

2 min read

Jerry An

Jerry An

527 Followers

Golang/Python developer. To support me join Medium: https://jerryan.medium.com/membership or Buy me a coffee: https://ko-fi.com/jerryan

Following
  • The Good Men Project

    The Good Men Project

  • Ayodeji Awosika

    Ayodeji Awosika

  • Shaunta Grimes

    Shaunta Grimes

  • ODSC - Open Data Science

    ODSC - Open Data Science

  • Tim Denning

    Tim Denning

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech