“Docker” – Solomon Hykes talks the future of Modern software

Docker” – the latest IT revolution of “Containers” in OS Virtualization was created by a young French IT graduate of the Parisian (private) Grande Ecole “Epitech” in 2010 – Solomon Hykes (born 1983).

https://youtu.be/JW8elKJbkAM

Why we built Docker?

https://youtu.be/3N3n9FzebAA

2014 Google “Kubernetes” embraces “Docker” in its Container Orchestration Automation tool:

https://www.sumologic.com/blog/devops/kubernetes-vs-docker/

Epitech Interview (in French):

https://youtu.be/VLiadroVNTM

Advertisements

The Software War : Object-Oriented Programming (OOP) vs Functional Programming (FP)

The “war” of OOP vs FP is akin to Applied Math vs Pure Math.

The formers (OOP & Applied Math) are not “rigourous” but practical, compared to the laters (FP & Pure Math) which are elegant but too abstract for popular usage.

OOP: SmallTalk and its followers – C++, C#, Objective-C, Java…

FP: LISP and its followers – Haskell, Clojure, …

The “hybrid” (OOP&FP): Scala, Kotlin (Google: Java ‘cousin’), Swift (Apple: Objective -C ‘cousin’), F# (MicroSoft)

The “cons” of OOP, which are bad for concurrency / parallel computing in multi-cored CPU:

  1. State changed
  2. Side-effect
  3. Mutability of data
  4. Polymorphism

https://blog.cleancoder.com/uncle-bob/2014/11/24/FPvsOO.html

Fix Slow iMac Annoyed By Spinning Beachball & Long Boot Time

My wonderful iMac 8,1 (2008) is a “long life” machine able to last more than 10 years, but it has an annoying weakness : the frequent spinning “Beachball” (known as the infamous “SBBOD” : Spinning Beach Ball Of Death) which slows down or freezes the computer.

Fret not ! Below is a very simple trick to fix the problem.

Note: to get the “Force Quit Application” Screen: press (<Command> + <Option> + <Esc>) 3 keys simultaneously.

Additional Info: If the above trick doesn’t fix the turning beachball problem, most likely you also face another related problem : slow booting at startup.

This can be fixed below: using command line tool “fsck” to repair the hard disk:

1. Restart iMac

2. Press and hold both <Command> <S> keys until see a black screen with white letters. Then release the keys.

3. Wait till the prompt “root #” at the end of white letters scrolling down the screen (take about few mins): type

/sbin/fsck -fy

If the repair sucessfully, the screen should be shown with last message:

** The volume Macintosh HD was repaired successfully **

then at <root #> prompt, type :

reboot

Hit RETURN key. The iMac should now boot up at normal speed. Congrats !

If the repair fails: (example below)

then repeat “fsck” tool 1 or 2 times until repair successfully.

Health-Check: Disk Utility’s “First Aid”

http://osxdaily.com/2012/05/24/check-hard-drive-health-mac-disk-utility/

Other Tip to kill Spinning Beachball: Update dyld (need sudo Admin password)

https://www.lifewire.com/fix-spod-spinning-pinwheel-of-death-2260811

iMac (2008) still usable today (2018) :