This Week I Learned 2018 - Week 33

Last post or some random posts from the archive.

Do you need standups? Maybe you don't. (via HN) Some comments in HN resonate with me based on the experience of the implementation. Maybe is just me, but it does feels like cargo cult software engineering. Team culture, business culture, or management issue? Execution of the practice is still al lot to be desired. Interesting development days ahead.

What are Thonet & Vander speakers like? The sad case in MY here is that there is no way for us to purchase any good budget speakers. The funny thing is that this particular brand Thonet & Vander is readily available. Some local distributor have brought this in (why that particular distributor did no brought HiVi Swan to MY?). Nevertheless, as the comment suggestion, this is one of those OEM manufacturer which use European brand names to implies good quality. Back to the question, is this brand of speaker good enough? My personal opinion, mostly are multimedia speakers (something you bought for your kids) and Amazon's reviews didn't justify anyone to fork money on it (there are other brands exists in similar market, Edifier). Unless we have good review from NO Audiophiliethis comment shares my sentiment.

Which "budget" stereo amplifier to get? It's between Onkyo A-9010 and Marantz PM5005. Price wise both are the same and it's just the sound signature. For A-9010, I'm not sure that I need to replace the Samwah capacitor to Nichicon gold tune capacitor. However, different country have different version. However, I'm not sure the model sold here is EU (digital inputs and normal capacitors) or UK (better capacitors, no digital input, and Wolfson WM8718 DAC) version. Having digital input is good if you want to hook up to Chomecase Audio via Toslink input. Also, the loudness button (which increases sounds at low volume, good for classical music like Boléro) piqued my interest with the device.

Why not stick to amplifier like SMSL SA50 which is cheaper? Those class D amplifier is truly budget amplifier which missing quite a lot of features compare to amplifier like A-9010, a class AB amplifier. Furthermore, the output rating have been inflated. Class D amplifier should be sufficient enough for a small room.

Speaker wise. Just pair it up with a floor standing speaker if you don't want to invest a sub-woofer. The speaker's bass should be sufficient enough.

Encountered this error "Odd number of elements in anonymous hash..." and took me a while to figure out what went wrong with the the code. It turned out that Perl's hash will accept single element Hash without a key-value pair. Hence, the warning. I was surprised that this is not a syntax error. The example code below. See if you can identify the issue. Hint, the `foobar`. There is a good explanation at Stack Overflow on this warning message. Turn on warnings people!
my $result = $api->GetSomething({name => {'foobar'}});

This Week I Learned 2018 - Week 32

Post from previous week or from the archive.

真的服了,句句都是绝句。第一次分手可能是对方有问题。第二次分手可能你们都有问题。第三次分手估计你肯定有问题。第四次分手表示你没搞懂问题。第五次分手表示你不改善问题。

What are the available wild Betta species? We're looking into Betta Brownorum as our next breeding project. Since this is a wild species, we can't find any stock from local breeders. It seemed you will have to capture it from the wild, in Sarawak.



Why there is a sign in Perl's hash key? Legacy reason.

Getting excited when buying stuffs (the highs is in the anticipation and it's more fun planning a vacation instead of the actual vacation) and have buyer remorse later? There is a quick tip on handling that. Take the amount you're going to spend and pay off any pending debts or loans. In the end, it's a divert and replace strategy. Any impulse purchase can be put off (delay strategy) if you set a goal before succumb to your materialistic needs. For example, lose a KG, indulge yourself into the stuff you desire for so long. Remember to reward yourself as you deserve it. Note that this is applicable to stuff and not really experience, especially spending on good experience with friends and family (moderation applies here as well). Another way, love shopping? Why not spends money on investment. Shop investment, not liabilities. Instead of getting the Nike shoes, buy Nike stocks. You have to ask yourself, which is more motivating? Watching your bills accumulates or your saving grows?

How to spend $0 each day? Meal prep. My friend. Meal prep.

How Europe Learnt to Swim? Like any forms of knowledge, observation, self-learned, trial and error, consolidation, and sharing of knowledge. I'm quite surprised that most island inhabitants can't swim properly to save their own life. Seriously?

What cloths to keep and throw away when cleaning up your closet? One key question to ask yourself is "If I saw this at the store right now, would I buy this again?" Throw away the cloth if the answer is no.

What is JSON PATCH? A combination of JSON and HTTP PATCH. You will see the HTTP content-type have been set to application/json-patch+json.

What was your most 'can't-put-down' book that you've ever read? Here are the list in random order. Overwhelm by the list? The quick way to filter out is to read the first few pages and if it caught your attention, proceed ahead. If not, ignore.
  1. Watership Down by Richard Adams (discussion)
  2. One Hundred Years of Solitude by Gabriel García Márquez (discussion)
  3. The Historian by Elizabeth Kostova (discussion)
  4. Night Watch by Terry Pratchett (discussion)
  5. 11/22/63 by Stephen King (discussion)
  6. The Book Thief by Markus Zusak (discussion)
  7. Killing Floor by Lee Child (discussion)
  8. Lonesome Dove by Larry McMurtry (discussion)
  9. Jurassic Park by Michael Crichton (discussion)
  10. Neverwhere by Neil Gaiman (discussion)