Open in app

Sign in

Write

Sign in

Jimmy leo
Jimmy leo

35 Followers

Home

About

Oct 2, 2022

Implementation of load balancer — Consistent hashing

In this series, I want to cover about some popular load balancer algorithms. I will explain how they work, and most importantly, how it can be implemented, so that you get a better understanding of the technique inside. What is Load Balancer Load balancing refers to efficiently distributing incoming network traffic across a group…

Algorithms

5 min read

Implementation of load balancer — Consistent hashing
Implementation of load balancer — Consistent hashing
Algorithms

5 min read


Published in

Better Programming

·Aug 10, 2022

How to Write an Express-like API Using Bun.js

Working with the new runtime — I came across Youtube to find some interesting tech videos, then I found a video talking about Bun, which is a JavaScript runtime written in Zig. It introduces itself as an incredibly fast runtime, way faster than Nodejs. So I decided to give it a try. Here is how to…

JavaScript

5 min read

How to Write an Express-like API Using Bun.js
How to Write an Express-like API Using Bun.js
JavaScript

5 min read


Aug 2, 2021

Shark: A Flutter server rendering framework

Recently, I was developing a Flutter server rendering framework called shark. If you don’t know what server rendering is and what is it for, you can read this https://www.omnisci.com/technical-glossary/server-side-rendering After a month, shark finally reached 1.0 stable 👌 Here is how to use it in 1 Minute. Add dependency to…

Flutter

2 min read

Shark: A Flutter server rendering framework
Shark: A Flutter server rendering framework
Flutter

2 min read


Jul 16, 2021

Pass objects between Android activities

If you are an android developer, you must know passing object between objects is painful sometimes, it requires some boilerplate code. Normally, we implement Parceble interface for our model class, manually write every fields into Parcel object. And use these two method to put and get your object. intent.putExtra("xx", yourObject) intent.extras.getParcelable("xx")…

Android

1 min read

Pass objects between Android activities
Pass objects between Android activities
Android

1 min read


Jul 9, 2021

Write a controller on Flutter

We all have seen the Controller class on a different widget, like ListView, VideoPlayer… It is used for controlling(modify) properties inside a widget. Because all the field inside a widget is marked as final, we cannot change them directly. Controller is the rule as a proxy to modify property inside…

Flutter

2 min read

Write a controller on Flutter
Write a controller on Flutter
Flutter

2 min read


Jun 20, 2021

A Flutter Progress bar indicator

Recently, my app needs a progress indicator like this to control volume for my audio player. I looked through pub.dev and did not find any package related to this, so I made one. https://pub.dev/packages/sa_progress_bar Let’s see how to use it. Download dependency dependencies: sa_progress_bar: ^version_number Sample use SaProgressBar( controller: _controller, onMoved: (value) { // progress on moved callback }, onTap: (value) { // progress on tap callback }, )

Flutter

1 min read

A Flutter Progress bar indicator
A Flutter Progress bar indicator
Flutter

1 min read


May 3, 2021

How Sequence Work Compare to List Under The Hood In Kotlin

Today, I am gonna talk about Sequence in Kotlin and how it works under the wood. As Sequence, what we mainly talk about is the operator lambda function and how is it difference from List interface. Sequence is similar to Collection library from Java public interface Sequence<out T> {…

Kotlin

3 min read

How Sequence Work Compare to List Under The Hood In Kotlin
How Sequence Work Compare to List Under The Hood In Kotlin
Kotlin

3 min read


Dec 26, 2020

Controller Pattern on Flutter

I am Jimmy lau, I am an Android developer. Flutter got popular this day so my company decided to do a little project on Flutter. I started learn flutter in recent days. I am here to talk about a specific method which I found it is really common on Flutter…

Flutter

3 min read

Controller Pattern on Flutter
Controller Pattern on Flutter
Flutter

3 min read


May 12, 2020

Zoom, Drag & Rotate ImageView For Android

I made a small android package for imageView on Android . Basically, if you want zoom, drag & rotate gestures on your imageView, you can try this, it’s really easy to use. Let’s Start… First, add jitpack to your build.gradie file allprojects { repositories { ... maven { url 'https://jitpack.io' …

Android

2 min read

Zoom, Drag & Rotate ImageView For Android
Zoom, Drag & Rotate ImageView For Android
Android

2 min read

Jimmy leo

Jimmy leo

35 Followers

Enjoy Coding everyday

Following
  • Dmytro Khmelenko

    Dmytro Khmelenko

  • Hussein Nasser

    Hussein Nasser

  • Very Good Ventures Team

    Very Good Ventures Team

  • Netflix Technology Blog

    Netflix Technology Blog

  • Tanmay Deshpande

    Tanmay Deshpande

See all (111)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams