TC WangC++ 1min: Competitive Arithmetic TricksThere’re some tricks to make your program run much faster. Although in most cases, the performance boost isn’t noticeable for regular…1 min read·Dec 11, 2022----
TC WangN-threads Modify Non-Atomic Shared VariableI recently am asked with this pseduo code for concurrent programming problem:3 min read·Nov 30, 2022----
TC WanginSodaLabsHow to Reason About Weighted Matrices in Neural NetworkWeights matrix is a linear transformation that either squash space or expands space5 min read·Oct 11, 2020----
TC WanginSodaLabsHeap’s Algorithm: Fun ObservationHeap’s Algorithm is NOT heap sort, and instead, it’s an algorithm to generate permutations.4 min read·Aug 19, 2019--2--2
TC WanginSodaLabsRxJava: Handling Errors Like a ProWhy the error is the terminate event in RxJava? How to bring the reactive streams back to alive after it is terminated by an error?8 min read·Apr 21, 2019--2--2
TC WanginSodaLabsRxJava Pro-Tip: How flatMap and switchMap handle terminate eventsHow does a flatMap or switchMap handle a terminate event such as Observable.empty() or Completable.complete()2 min read·Dec 4, 2018----
TC WanginSodaLabsKotlin: Dive Into “inline”, Specifically With Byte-Code LevelFrom the official document, we know the inline function is similar to C/C++ Macro, where the instruction of the function is…3 min read·Nov 4, 2018----
TC WanginSodaLabsRecyclerView Pro Tips: Add Line Divider In XMLThe RecyclerView supports addItemDecoration method since 22.1.0 and many people use this method to add line divider, but programmatically…2 min read·Oct 11, 2018----
TC WanginPicCollage Company BlogRxJava2: “TakeWhenObservable”Updated: Jun 28, 20183 min read·Jun 22, 2018----