This Week I Learned - 2017 Week 46

Last week post or something from the archive. For something interesting related to a week, visualize your life in week. How many weeks do you still left?

So much things I've learned and observed this week. Some were the same old same old, others were quite eye opening instead, if you pay close attention.

Encountered this message, "expected, at character offset 2 (before "(end of string)")", when processing the JSON file during encoding. It turned out the root cause is how we use the read_file subroutine in File::Slurp module. Passing the right parameter, you can have multiple ways to either read the whole file or multiple lines. There even a research done on finding the optimized way to do do.

You’re working in the wrong place. (if you’re working in an open office)". When most of the employee are wearing headphones, that sufficiently shows that open floor plan have failed to reach its original intention, which to promote so-called information sharing and collaboration. Why open office don't work? Have you ever been to a library to study? If everyone keeps talking or making noise, do you think you can concentrate on your stuff?

The Amazing $1 Microcontroller. (via HN) The author should have written a book instead of a very lengthy blog post. I agree with the author, it's an exciting time for picking up electronic.

Looping through an array in JavaScript. A simple programming language construct, yet so many ways and workarounds. Add to that, you have JQuery way (.each()) of looping through DOM elements with its own quirk. Not to mention the let vs. var. No wonder so many JavaScript transpilers exists. And I was thinking PHP or Perl was bad, JavaScript is even more mind boggling. Forget about JavaScript, just stick to TypeScript which is gaining momentum these days.

The LEBRON stack. Anyone still remember the MEAN stack? I believe only Node.js survived the hype so far. Something similar, do you know Slack is using PHP for its server-side application logic?

Getting things done? (via HN) There are just two steps. However, till today, I'm still struggle with the execution of the system. Refine and more refine.

1/ Start something simple, the first step.
2/ You can stop if you want to.

This Week I Learned - 2017 Week 45

Last week post or something from the archive.

So many things to learn and yet, so little time. But once you've understand it, most of these stuff are rather quite straightforward.

The local startup scene have moved from the early days of cloning social network and shopping to the current day of big data, machine learning, artificial intelligent, and blockchain. History will repeat itself again as illustrated in Gartner Hype Cycle. The hype cycle will eventually die down and new shinny things will emerge again. Does the local startups works? Partly yes and no. Only time will tell.

SSDD. Probably the best term I can think of describing the web stack right now, especially on the front end part. Endless things "reinvented" or rediscovered again and again and again. One thing for sure, there is a clear distinctive separation between the Front End and the Back End development.

NBA Go, the finest NBA score from command line. Sadly, it still doesn't display well under different terminals and the dependency on Node.js. Is Node.js is the new PHP? Is Node.js going to dethrone PHP? Yes, my survey and gut feeling indicates so.

Agile Product Ownership in a Nutshell. It's going to be a long adjustment and readjustment process to get it done, if possible, right. Managing requirements and stakeholders expectations outweighs the implementation. Furthermore, it's even more challenging for flat organization with different geographical offices and working cultures. Interesting development indeed and can't wait for the growth and expansion.

MSP430FR2433. Another new board from TI.