Angular RxJS .subscribe – unsubscribe -> takeWhile

Update: takeWhile does not cancel; “takeWhile() will not cancel the request, rather, it will not invoke your subscribe() method”; so unsubscribe is still needed. So, the statement “Another approach to unsubscribing is to use the takeWhile() operator” is not entirely true. If you use unsubscribe, there’s no need for takeWhile().   http://brianflove.com/2016/12/11/anguar-2-unsubscribe-observables/ export class MyComponent implements OnDestroy, OnInit { public […]

RxJs, Angular: Concat, Merge, forkJoin, flatMap, zip, Subject Subject and ReplaySubject

I needed to understand how advanced cases of Observables are working: Concat, Merge, forkJoin, flatMap: http://www.syntaxsuccess.com/viewarticle/combining-multiple-rxjs-streams-in-angular-2.0 forkJoin and zip: https://www.learnrxjs.io/operators/combination/forkjoin.html Subject and ReplaySubject: https://juristr.com/blog/2016/06/rxjs-1st-steps-subject/

Free up space on C: drive

This desktop of mine, still a Windows 7. The C: system drive is an SSD with 223 GB space. I wanted to install Visual Studio 2017, but only a few GB of space left. Since the C: is the glorious and miraculous Solid State Drive, it does matter what’s on it – and a good […]

MySQL Installer

The web (which means downloading packages on demand) installer of MySQL on Windows in broken. (mysql-installer-web-community-5.7.18.1.msi) See https://www.reddit.com/r/mysql/comments/35uh7n/installation_problems/ The solution is to download the whole package. (mysql-installer-community-5.7.18.1.msi) (Why? Just because…) World of Open Source, 2017. The full installer won’t let me to pick “developer package”, I have to click through the installer UI, which is a beast, […]