Showing posts with label chinese. Show all posts
Showing posts with label chinese. Show all posts

This Week I Learned 2018 - Week 13

Last week post or something from the past. This going to be a very long weekly post. So many things written down this week and might as well put everything together.

又是那个季节。每当这个时候,都会想起唐代杜牧的著名诗句。以前倒是没什么去注意了解,但是没想到,根据百科解说,每一句都是诗者高明的写法。随着年龄增长,是时候重读起唐诗宋词,陶冶性情。
“清明时节雨纷纷”。第一句,交代情景、环境、气氛。
“路上行人欲断魂”。第二句,写出了人物,显示了人物的凄迷纷乱的心境。
“借问酒家何处有”。第三句,提出了如何摆脱这种心境的办法。
“牧童遥指杏花村”。第四句,写答话带行动,是整篇的精彩所在。
The Nightmare Letter: A Subject Access Request under GDPR (via HN). GDPR (General Data Protection Regulation), the new data protection law coming into force on 25th May, 2018. Ironically, an article posted in a site that making profit from our shared data. There always this saying I read online many moons ago regarding privacy, "If you have done nothing wrong, then why you need to worry about people tracking your Internet usage?". And the counter argument to this question is "Everyone knows what we did in the toilet, then why we still need to close our door?". Corporations have long monitored and tracked our daily movements and behaviours and people needs to be educated and aware of such activities and their right to erasure, also known as "the right to be forgotten".

Off course, all these discussions was due to the recent social media data breaching. And usual things was, some noises were made, another call for deletion of your social media account, and things will cool down, and live goes on. Nothing drastic will happen, people still will keep their social media account and no one will delete it. Social media site will be replaced by another social media site, somehow or another.

Surprising to find out about this on feeding Betta fish (emphasis added). And we were feeding the Betta fishes with more than 2 to 3 pellets! Pellets will expand in their stomach. No wonder some of the Bettas were having constipation issue.
Adult bettas can be fed once a day and babies (young) can be fed twice a day. It may not seem enough, but many pellets expand to more than 2x their size when they get wet. To put this in a further perspective, the stomach of a betta fish is about the size of their eye! Additional power supplies may be necessary depending on the level of activity and personality of your betta.
Read the story about the origin of Giant Betta. Most of the new Betta type was due to anomaly of breeding and continuous selective breeding.

Reality when comes to management as described below:
In this case, it's management giving the impression that they are "doing something." We see the same thing with, "can we add more developers to speed this up?" The answer is almost universally "no" and, presumably, any manager in the modern era should have read (or at least be familiar with) the over 40 year-old book, "The Mythical Man Month." But, from a senior management position, there aren't many levers to pull--and when the heat is on, they have to be seen to "do something."
Write or build your own software projects. Yes, is a time waster to re-implement something from scratch, but you will gain valuable insights by doing so. Build your own React is probably something relevant that everyone should look into if they wish to understand what the hype about front-end development using React and the like.

Thought provoking post on how Lisp, the programming language ruined a person development career (via HN). Are you a software plumber or software developer? The comment did raise an interesting question on how once see his or her software development career. If you're doing mostly business software or glorified spreadsheet, then you're a plumber, not the later. If remember correctly, long ago, there was this discussion about software developers who are producer and those who are consumers.

Is the ability to focus the key skill that separate successful and unsuccessful people. This HN user think so. The next question is how to increase your focus?
Pretty awesome! If I ever had to say the one thing that differentiates successful people from unsuccessful people it wouldn't be intelligence, or even perseverance, or passion. It'd be focus. With focus, you can be amazingly successful in so many types of occupations.
(That being said, passion / perseverance / intelligence can often lead to focus)
How to tell great story? Feeling stuck or suck? Just follows the Pixar’S 22 rules of storytelling. Rule number 4 or the The Story Spine way is the most common and popular.
Once upon a time there was ___. Every day, ___. One day ___. Because of that, ___. Because of that, ___. Until finally ___.
Meanwhile, while reading about writing, saw this post about whether we can start a sentence with a conjunction? Definitely yes. Good examples shown below:
It’s a pretty smart and progressive budget. But do you think those changes go far enough?
Some people are calling this film the worst movie ever. And who are we to argue?
Dworkin’s answer is no. But why not?
Who would have thought it? And is it really true?
While we at it, this week vocabulary list. Lots of similar words and it was quite hard to link these words up into a cohesive paragraph.
When sedition (煽动叛乱) law have been applied selectively, societies will slowly disintegrated (瓦解) from within rather by external influences. Inconsistency and partially interpretation this law will result in serious crisis in the legislation and judicature (司法) of our country or worse, the ridicule (奚落) of our judicial (法庭的) system. Therefore, there should be a judicial review of the law should be an integral (整体) part of the to the rule of law. That was David, an adjunct professor (副教) of law, judicious (有见识的) closing statement before the class adjourned (休庭) for lunch break. While he was discussing remaining details with his fellow students, Mary, his personal assistant, interjected (插话) their discussion to remind Davis about his itinerary (行程) for today. He should be in the transit (中转) lounge at the airport in two hours and additional amendment of this law was not be the ambit (范围) of their discussion right now.

This Week I Learned 2018 - Week 12

Last week post or something from the past.

A minor adjustment of book placement and I've been reading one page per day without any interruption for the whole week. Keep the reading streak going!

“城市套路深,我要回农村”。曾经流行过的网络流行语。最近开始关注中文网络的动向,也接触不少网络流行语。话说回来,是人性本善,还是人性本恶?或是性无善恶?姜源的解说,读起来蛮有道理的。

There is a Chinese idiom, “对症下药”. With the right medication, a disease can be effectively cured. Surprisingly the medication that I've impulsively bought reduce the inflammation and speed up the recovery process. The problem have been plagued me for the past 4 years and it's finally reaching to an end. Surprising (not really after you went through different doctors), I've consulted a few doctors in the past but they can't seem to give the right prescriptions (can't blame them, doctor these days just want to sell more medications that fix symptoms). In the end, I've to thank to that pharmacist who ever he is.

Two interesting English words I've found, may sounds a bit too fancy. Big word, they said, nevertheless sounds "intelligence". Affordance. When come to daily object interaction, the handle of a cup is a good example to describe the words. The handle gives an obvious way on holding it. Kerfuffle. This was a popular words this week in the NBA, basically refers to a commotion between NBA players. Yes, big word.

Back to regular weekly learning new English words. Here we go.
The posthumous (作者死后出版的) publication of the researcher on the hydrodynamic (水力的) model of the eruption of the underwater volcano aroused quite a few interests among the archaeology field. While the late researcher main focus of the publication was on the igneous (火成岩) rocks formation, there was a section which documented about the ancient ideograph (象形文字) found within the underground caves carved (雕刻) by the lava near the coastal(沿海) and insular (海岛的) area. Insulated (使隔离) from the air under the sea, archaeologists are still puzzled how the ancient civilization were once ever existed in that area.
Hoarding? Too much stuff? Read this post on how a Redditor removed that habit. In short, go to thrift shop on weekly basis, you will aware that most stuff bought or collected will ended up there. The most memorable things are your experience in life, captured in photos or some ways or another. Definitely something to ponder.

This Week I Learned 2018 - Week 03

Last week stuff and all the archive posts.

大水冲了龙王庙 (一家人不认一家人)。看了几套大陆片,一直听到这句歇後語(英文应该是Idiom吧?)非常适合那些说话不直截了当,话中有话的人。另外还有几句普遍的,例如:
  • 有事鍾無艷,無事夏迎春
  • 豬八戒照鏡子(裏外不是人)
  • 秀才遇到兵(有理說不清)
  • 無事獻殷勤 (非奸即盜)
  • 泥菩薩過江(自身難保)
  • 快刀斬亂麻 (乾淨俐落)

Chinese New Year is around the corner, surprisingly this year, the weather is getting colder and not warmer especially after the Dongzhi festival. Several fishes have died due to infection and we suspected that tank contamination from other fishes without quarantine and cold weather may be the root cause. Water parameters are a dead and life issue for these fishes.

All the Bettas have been quarantines and water changes done on almost daily basis. Some of them are recovering and seems more active. We have change our approach to water changes and sea salt, which are good practices to keep the fishes healthy. Unless necessary, no more chemical like Malachine Green (debatable toxicity issue, it can kill both bacteria or fishes). Methylene Blue or Formaldehyde (aka Formalin) are still safe to use. Even so, each antimicrobials have their own safety issue and met with apprehension issue in the fishing industry, especially aquaculture (fishes breed for eating). Aquarium medication is an interesting area for investigating. Expect more future discussions on this.

Overfed your fishes? Expect bloating and constipation issue to follow suit. Nothing but pea to help them with their digestion. Surprisingly these fishes crave pea. Well, pea should be on their weekly diet then.

cron.weekly is no more. It's not easy to continuously writing up and weekly aggregate posts. Definitely you're going to burn out somehow or another. I've tried different approach and the only possible way is to do it on daily basis, sit down in front of you computer for 15 minutes and write something up. Consistency is the key here, whether you like it or not.

Cal Newport have a good write-up on digital de-cluttering. Find and cultivate high-quality leisure instead of instant gratification low-quality digital distractions (news feeds, social media posts, or videos). A deliberated and strategic pause of using your mobile devices will have quite a significant effect on your daily life. What are your analog activities? These is something I need to reflect upon. For a start, rediscover what you like to do when you're young? Long forgotten hobbies? That's a good start!

Yes, I've installing and setting up my printer and scanner drivers the wrong way (using the official M2070W drivers from Samsung) for so long. There always this conflict between the printer and scanner driver everything I've upgraded my Ubuntu distro. It took me a while, but I was made aware there have been this The Samsung Unified Linux Driver Repository since 2015. Adding a repository, update, and install the necessary drivers and everything works as intended.

Timezone cheatsheet in MySQL. Timezone is always tricky and to do it correctly or explain it persuasively to layman.

This Week I Learned 2018 - Week 02

Last week post or something recent from the past.

农历新年即将来临,在寻找适当的春联Antithetical couplet)时,偶然读到古代的「烟锁池塘柳」这上联,自古以来,难有适当的下联。但花燃山色用程序来寻找最佳的下联即搞笑又聪明。佩服!佩服!话说回来,历代比较好的对句如下:

  • 烟锁池塘柳,灯镶酒坊楼。
  • 烟锁池塘柳,炮镇海城楼。
  • 烟锁池塘柳,桃燃锦江堤。

After watching the demo on how to build your Javascript project using Webpack and Gulp. I'm seriously wonder what the eff have happened to the web development, especially the front end? While I'm for using latest development tools if possible, but the complexity of building and bundle the JavaScript rubs me the wrong way. Yes I know, once you get used to it and embrace it somehow. Where was the simple way of building web application?

When you're getting a new fish or plant to your tank, you will need to quarantine both. The issue with introducing new fishes or plants is that they may carry disease, fungus, and bacteria. Having a proper quarantine procedures also prevent potential pests (e.g. snails, insects, or worms) from being introduced to your tank. How we going to do that then? A teaspoon of aquarium salt and Methylene blue (a drop per gallon, depends). Vinita Phord have written a good introductory guide on the whole process. Adapt and adjust on your own.

Interesting talk given by a fellow data scientist who was originally a developer. Wish more young fresh graduates could join the talk. On the career side, the presenter gave tips on how to get yourself ready in data science. Three things: build enough competency, have confidence, and know enough to get it through. Always hire for the right reason, not just mere head counts. For young people, the most important criteria for selecting a job is the role is supportive to your career growth. Not just the salary, when you're fresh, pick the right environment to learn and contribute. Unfortunately, the talk was diverted into another old unresolved discussion or dispute of why we don't have enough lady in tech?

Fishackathon. Just realized this week that such even exists. The monitoring device in the 2016 winner team piqued my interest. Does a similar devices on a smaller scale exists in the market for hobbyist? Yes, there is Open Aquarium (based on Arduino) which is, unfortunately, costly and bulky.

Surprised to found that famous illustrator or comic artist, Chen Uen have passed away last year. Parka Blog have a review of his works. While I'm not a fan of his works, I firmly believe that Wuxia comics should definitely drawn in traditional Chinese painting style rather than the typical manga style.


Chinese Input Method (IBus) in Ubuntu 15.04

In the midst of migrating and consolidate all my personal stuff into the new but used lappy (more on that in future posts), I've struggled for the past few days but managed to get the Chinese input method through IBus to work in Ubuntu 15.04. The guide by Pinyin Joe (PYJ) helped a lot but you've to extract the instructions specifically for Ubuntu 15.04. While PYJ recommended Fcitx Input Framework for latest Ubuntu, I still prefer IBus as it came installed by default.

First, you'll have to install the Chinese language related files. See the below screenshot for visual details.
  1. Press the Super/Windows key.
  2. Type Language Support and press Enter.
  3. In the Language tab, click the Install / Remove Languages button.
  4. In the Installed Languages, select Chinese (simplified) and Chinese (traditional) and click Apply Changes.

The next step is to install the Pinyin input method for IBus input framework. While there many Chinese input methods, the Pinyin is the easiest as it's based on phonetic (pronunciation) rather than graphological (stroke order).

What are the available Pinyin input method for IBus framework in Ubuntu?
$ apt-cache search pinyin | grep ^ibus
ibus-sunpinyin - sunpinyin engine for ibus
ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
ibus-pinyin - Pinyin engine for IBus

You can install all three but it will be a hassle later to switch between input methods using the Super/Windows + Space key. Is best to use install one Chinese input method so that you can just easily toggle between English and Chinese input methods. Now, that leads us to the next question, which Pinyin input methods should be install?

Forget about the ibus-pinyin input method. This is a fundamental and limited. For example, you can't even input the phrase "看法" (opinion) without having to key in each individual word separately. ibus-libpinyin is a newer and better Pinyin input method, which also include Chinese ZhuYin (Bopomofo), using phonetic notation which still popular in Taiwan. Lastly, ibus-sunpinyin, which uses SLM (Statistical Language Model) to determine the probability of a sequence of words when you key in the Pinyin. We'll use the Sun Pinyin method for this setup guide.

Installation is straightforward, just apt-get install it.
$ sudo apt-get install ibus-sunpinyin

Next, we need to enable above installed input method through Text Entry Settings, which is located at the top right panel, see screenshot below.

Click the '+' button and type in 'chi' to show all Chinese input source. However, the SunPinyin we've just installed does not show up in Text Entry. You have to logout and re-login to the Unity Desktop environment again. I missed this step while following the guide by PYJ and wasted quite a few days redoing and retracing my steps again and again.


Logout and re-login again and go back to the Text Entry Settings again. This time the Sun Pinyin will be shown in the input sources list as shown. Note that restarting Unity without logging out did not work. You have to really logout and try again.


After this, clicking language selection on top right panel will show the SunPinYin selection. As mentioned before, to toggle between two input methods, just use the Super/Windows + Space Key.


Launch Gedit and toggle to SunPinyin, you can now input Chinese characters in Ubuntu 15.04.


On a related note, I've been using Fedora 22 for the past 9 months as my primary GNU/Linux distros. The whole GNOME desktop environment feels more integrated and polish compare to Ubuntu 15.04's Unity desktop environment. Pity though, I really like Fedora 22 but I've to switch to Ubuntu due to more up to date software packages and choices.