Move to the new blog
Move to the newĀ blog
Hey, my dear readers, Iāve moved my WordPress blog to here. I really appreciate that you love to read my articles. Please keep following me!!
Merry Chrismas.
View On WordPress

pixel skylines
dirt enthusiast
Cosmic Funnies
Lint Roller? I Barely Know Her
let's talk about Bridgerton tea, my ask is open


titsay
Monterey Bay Aquarium
he wasn't even looking at me and he found me
Game of Thrones Daily
will byers stan first human second

JBB: An Artblog!
šŖ¼
d e v o n
RMH

Product Placement
Alisa U Zemlji Chuda
TVSTRANGERTHINGS
seen from United States

seen from United States
seen from United States
seen from United States

seen from Malaysia

seen from Brunei
seen from Germany

seen from Türkiye

seen from United States
seen from United States

seen from United Kingdom

seen from Canada
seen from United Kingdom

seen from United Kingdom

seen from Malaysia

seen from United Kingdom

seen from United States
seen from United States
seen from Türkiye

seen from Malaysia
@deathrid
Move to the new blog
Move to the newĀ blog
Hey, my dear readers, Iāve moved my WordPress blog to here. I really appreciate that you love to read my articles. Please keep following me!!
Merry Chrismas.
View On WordPress

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
[Tips] Something interesting about foreach() in TypeScript
[Tips] Something interesting about foreach() inĀ TypeScript
This is just a note for myself. There are several ways to visit every element in a list. The most known way is for-loop. There are two different kinds of for-loop. One is foreach loop. Another one is traditional for-loop. Letās check some examples.
foreach()
const array1 = ['a', 'b', 'c']; array1.forEach(item => { console.log(element); });
(moreā¦)
View On WordPress
Composition over inheritance
I recently got a question about why using interface would be better than using inheritance. I got this is because we defined lots of interfaces (behaviors) in recent project. And, I am not saying this is good or bad, but just wanted to think of it deeper why we do that. Another reason that makes me think is that, I confuse if some classes share the same behaviors, my first thought from Java worldā¦
View On WordPress
TypeScript - Interface (I)
TypeScript ā InterfaceĀ (I)
I found the concept of Interface is quite fun, cause no matter what kind of languages, e.g. Golang, Java, Kotlin, etc. Even Swift/Objective-C also provide similar concept protocol to support the polymorphism. Then, letās check what power TS interface gets.
One of TypeScriptās core principles is that type checking focuses on the shape that values have. This is sometimes called āduck typingā orā¦
View On WordPress
Load test by Artillery.io - Concept Introduction
Load test by Artillery.io ā ConceptĀ Introduction
As a noobās note, I think itās really necessary to record how to use Artillery for loading test. I think there are so many loading test library, check these out:
Gatling
JMeter
Locust
Wrk
k6
You can read this postto get more detail information. I choose Artillery is not because I love this tool, itās just because we use that in our project. After doing some researches and actually adapting toā¦
View On WordPress

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
[Notes] Editor.Rules in VS Code
[Notes] Editor.Rules in VSĀ Code
Just a note for myself to remind to how to setup a vertical ruler to notify me, a developer, the code character limitation.
The right most vertical white line is the ruler. I am using the VS Code Version: 1.38.0.
Here is the way to set:
Preferences -> Settings -> In User tab, or Workspace tab.
Search editor.ruler.
insert āeditor.rulersā: [100] to the settings file:
{ "window.zoomLevel":ā¦
View On WordPress
[Devops] Continuous Integration + Issue Tracking system + Git settings
[Devops] Continuous Integration + Issue Tracking system + GitĀ settings
Just a note for myself to remind me how to setup the CI/CD, git commit message template and integrating both Github and YouTrack for mobile projects. Letās start from the easiest part ā Git commit message template.
(moreā¦)
View On WordPress
Tips - object in Kotlin
Tips ā object inĀ Kotlin
You might know the Singleton design pattern. And also, I guess you should also know how to use singleton pattern in Kotlin. But if you donāt know, donāt worry about that. Let me show some examples first.
(moreā¦)
View On WordPress
Tips - object in Kotlin
Tips ā object inĀ Kotlin
You might know the Singleton design pattern. And also, I guess you should also know how to use singleton pattern in Kotlin. But if you donāt know, donāt worry about that. Let me show some examples first.
(moreā¦)
View On WordPress
buildSrc folder for Android Project
buildSrc folder for AndroidĀ Project
I think android developers nowadays are using the Gradle as the default build tool and manage the build process. For multiple modules in your project, you might have several ways to manage your import dependencies.
(moreā¦)
View On WordPress

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
[Notes] import from V.S. import require in TypeScript
[Notes] import from V.S. import require inĀ TypeScript
This is just a note for myself to explain whatās difference between import from and import require.
In the TypeScript project, you might sometimes see people use:
import uuid = require('uuid');
But you can see another way like this:
import uuid from 'uuid';
(moreā¦)
View On WordPress
Dagger tips: the potentiality of Constructor Injection
Dagger tips: the potentiality of ConstructorĀ Injection
Remember my posts [Dagger tips for using AndroidInjector] and [Dagger tips for modularization]? I didnāt talk too much about the constructor injection way in the project. But it has great potentialities to let your injection more robust and more flexible. Letās see how we can use constructor injection for providing multi-source injection for the different release version.
Check the repo[click here
View On WordPress
Generic Programming in Go - Interface {}
Generic Programming in Go ā InterfaceĀ {}
I used to write Java, Kotlin, ObjC, and Swiftlanguages before, cause I am basically a mobile engineer. After doing the backend stuff in Go, I start thinking thatās totally another world. Golang is really an interesting language. I learn a lot from it and I have to say, fortunately, itās an open source language which means you can directly read the source code to see what the fuck is going onā¦
View On WordPress
[time limited offer] Alaska Airlines VisaĀ® Credit Card 40,000 miles + 100 statement credit
[time limited offer] Alaska Airlines VisaĀ® Credit Card 40,000 miles + 100 statementĀ credit
ē®ęÆę»æé«ē offer. č¦ē³č«ēåčéé (time limited offer)
å”ēē¹č²:
éå” 90 å¤©å §č± USD 2000 åÆä»„å¾å° 40k miles č· USD 100 ē statement credit (äøęÆē“ę„ēµ¦ä½ é¢, ęÆēµ¦ä½ credit ęęµ).
ęÆå¹“ē¹³å®å¹“č²»(å«éå”幓)åÆä»„č± USD 121 (USD 99 plus taxes and fee from USD 22) ēåč”ę©ē„Ø (äæēرåŗå焨), é©ēØęęē Alaska čŖē·.
Alaska Airlines ēøéę¶č²» å¾å° 3x Alaska miles, å ¶ä»ę¶č²»å¾ 1x.
Free checked bag (ęå¤å ååč”č ).
ę°å¢ē¦å©: 50% off ē Alaska Lounge 仄å 20% back on all Alaska Airlines inflightā¦
View On WordPress
[Notes] Import path in TypeScript
[Notes] Import path inĀ TypeScript
My colleague mentioned about one question:
why do we do our imports as relative paths rather than absolute paths? Itās not easy to figure out whatās the correct path.
We then start discussing about the what are the pros and cons for using absolute path or relative path. In my understanding, I always voted for relative path, cause that wonāt cause a problem when we try to deploy the service intoā¦
View On WordPress

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Kotlin Multiplatform Programming
If you remember that, I recently read the source code of Kotlin Coroutines, and share something I learned from the source code, [Introduction], [Suspend, Resume and Dispatch]. I found something really interesting but Iāve never use it before.
(moreā¦)
View On WordPress
Android Coroutines - Suspend, Resume, and Dispatch
Android Coroutines ā Suspend, Resume, andĀ Dispatch
In the <a href="https://chauyanw.wordpress.com/2019/08/18/android-coroutines-introduction/">Introduction</a> section, we already know some detail about the Coroutines included what it is, how we can use it, and whatās the concept of the Coroutines. I think an important thing is:
Whatās a suspend function?
Remember the example we use before:
suspend fun requestToken(): Token { ... } suspend funā¦
View On WordPress