This Week I Learned - 2017 Week 47

Last week post or random stuff from the archive.

Certain kind of food and my body does not like each other. Age related issue or just simple bad food? On the bright side, got the well deserved rest. More travelling. I can check off one item in my bucket list. Write it down and make it happen.

Never let an inexperience personnel to change your guitar strings. Sloppy works causing the guitar can't stay in tune. How to get the new guitar string to stay in tune then? Just two simple ways. Stretch all guitar strings either vertically (YouTube) or horizontally (YouTube). If this still fail, then you have intonation issue, which is quite tricky to fix or some other problems.

Numerous people have recommend Nujabes, some claimed he is the father of chillhop. Definitely worth adding this genre to your daily playlist.

The fake Facebook profile industry. (via HN). Even in the early days of IRC chat. Social engineering at its best.

What are some interesting papers in CS for a beginner? So many papers to read yet so little time.

Probably the biggest unnoticed item in the cloud right now. AWS have shifted the hypervisor used for the AWS cloud platform, from Xen to KVM. While is may seems like a blow to Xen but there is another new virtualization solution based on Xen called LightVM.

Example of implementing a web development stack based on microservices. (via HN) Overly and unnecessary complex? Perhaps but it serves as a good example of what can be done but not really recommended.

Don't have proper exception handling in Perl? Use eval() then. I finally grok this `eval()` thing in Perl. Example as shown below.
eval {
     # code that might throw exception
     1;  # always return true to indicate success
}
or do {
    # this block executes if eval did not return true (bacuse of an exception)

    # save the exception and use 'Unknown failure' if the content of $@ was already
    # removed
    my $error = $@ || 'Unknown failure';

    # report the exception and do something about it
};

"Just use jquery. In a few years jquery will be rediscovered and praised all over again." While I don't think this is possible but it's funny as hell.

Fricking annoying preview mode in Visual Studio Code. Disable it.

React control and uncontrolled form inputs. Good for beginner to start with React.

That really says a lots about Silicon Valley, especially the part on a peculiar form of McCarthyism.

No comments:

Post a Comment