This Week I Learned - 2016 Week 08

Last week post.

#1 NameError: name 'basestring' is not defined. Surprisingly there is still conflict with Ansible when installed using pip for Python 2 and Python 3.

#2 GNU/Linux Performance. Poster of tools you can use to investigate performance issues with your system.

#3 Container as Python module. (HN discussion) Interesting concept indeed. I've been looking at Docker for the past three weeks and this is probably best interesting use of container. It's useful when you want to build up an actual test environment from your Python apps or scripts. Instead of Mock object, you can test against the actual system, for example, an actual database system.

#4 Xamarin sold to Microsoft. (HN discussion). What took them so long? I read (can't remember where), it was sold for 400 millions. Interesting to see how this unfold in coming future.

#5 Non Zero Day. (HN discussion) Effective way to build a new habit through chain-method or streak. No, Jerry Seinfield did not create the Seinfield productivity program. For me, almost daily Git commit. You have to get started on something, the baby step..

This Week I Learned - 2016 Week 07

Last week post. Slow week, caught up with lots of pending stuff.

#1 Why Docker Is Not Yet Succeeding Widely in Production. Old but still relevant HN discussion regarding Docker. I've been experimenting with Docker for the past three weeks and it seems to be more stable and feature (v1.10.1) compare to the earlier version (two years ago) I've tried. Expect more write-ups on Dockers and Vagrant for coming weeks.

#2 Do you really need 10,000 steps a day? (HN discussion) For a healthy and active person, the daily 10k steps may not be necessary.

#3 Vagga. The equivalent tool I can think of right now is Otto. Good alternative to Vagrant and Docker to bootstrap your development environments.

This Week I Learned - 2016 Week 06

Previous post.

#1 PatternCraft. Learning Design Pattern through StarCraft. Never underestimate the importance of Software Metaphors in abstracting software engineering concepts.

#2 Ask HN: Best curated newsletters? Need a way to reduce your time from the net but at the same time still fear of missing out? Pick your favourite curated newsletters. Cron.weekly seems to have plenty of links which I've found interesting if you're looking into system administration. Mandarin Weekly caught my attention as well.

#3 How Git Merging turns you into a GITar Hero. Till today, I still don't understand why developers still fail to see the benefit of Git Rebasing. Maybe the complexity of the merged trees indicates productivity or sense of accomplishment? You know, software engineers tends to over-analyze and over-engineer.

#4 Linux Performance Analysis in 60,000 Milliseconds. Using uptime, dmesg, vmstat, mpstat, pidstat, iostat, free, sar, and top command, you can have an overview of the resource usage of a system. Don't want to go through the hassle of all these commands? Just use Glances, web or console-based monitoring tools written in Python. Perhaps, htop, an interactive process viewer or iotop, disk I/O status monitoring tool.

#5 Ping Sweep. Fun activity to do with nephews during CNY. We all learn how to find all available hosts that were connecting to the Access Point (AP). From the list of IP addresses, divide the these these hosts into mobile and computing devices. Have fun times scanning the network where they both overloaded the Wifi router by "nmapping" the network. The seed of learning have been planted, is really up to them to explore further. Hopefully, by the next CNY, they will move ahead even further and know which particular field in IT they want to venture into.

#6 Janice Kaplin: "The Gratitude Diaries". Is time to reflect and appreciate on what we have and where we are. How? Keep a gratitude journal.

#7 Today I Learned (TIL) is a famous subreddit. For technology related (programming or system administration), there are TIL collections created by Josh Branchaud, hashrocket, Jake Worth, and thoughtbot.

This Week I Learned - 2016 Week 05

Last week post.

#1 Reply 1988. Highest rated drama in Korea cable television as the time of writing. Heart-warming family Korean drama about a group of neighbouring families and friends set in 1988. Lots of nostagia look back in the eighties. Interestingly, the genre of the drama is known as coming of age where we follow the growth of the characters from youth to adulthood. One of the drama's original sound track (OST), "A Little Girl" (a remake) caught my attention. It has been a while since I've mesmerized by any OST. Frankly speaking, the best kdrama I've watched so far. And lastly, why 1988? Is the year that Korea hosted the Summer Olympics which leads to a significant political and social changes.

#2 TypeMatrix. (via Arcachne Webzine) Another ergonomic keyboard but without splitting the layout into half but instead more sensible keys placement, for example, large Enter key in the center.

#3 Visualizing Concurrency in Go. (HN dicusssion) Visually intriguing but 2D representation is still better than 3D, for example, like UML sequence diagram? Would be even better if we can have step-by-step tracing of the code and the visualizing simultaneously.

#4 Overpass Web Font, free/libre font by Red Hat. Primary used for the company own branding.

#5 Docker Official Images Are Moving to Alpine Linux. The sentiment in HN discussion does not agree with such approach. Furthermore, docker-slim was created to solve fatty container issue using your favourite GNU/Linux distros.