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…Dec 11, 2022Dec 11, 2022
TC WangN-threads Modify Non-Atomic Shared VariableI recently am asked with this pseduo code for concurrent programming problem:Nov 30, 2022Nov 30, 2022
TC WanginSodaLabsHow to Reason About Weighted Matrices in Neural NetworkWeights matrix is a linear transformation that either squash space or expands spaceOct 11, 2020Oct 11, 2020
TC WanginSodaLabsHeap’s Algorithm: Fun ObservationHeap’s Algorithm is NOT heap sort, and instead, it’s an algorithm to generate permutations.Aug 19, 20192Aug 19, 20192
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?Apr 21, 20192Apr 21, 20192
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()Dec 4, 2018Dec 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…Nov 4, 2018Nov 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…Oct 11, 2018Oct 11, 2018
TC WanginPicCollage Company BlogRxJava2: “TakeWhenObservable”Updated: Jun 28, 2018Jun 22, 2018Jun 22, 2018