Better HN
topnewbestaskshowjobs
Log inSign up

ronyclau

138 karma · joined Oct 10, 2017 (9y ago) · 21 submissions

Submissions

comment 1y ago · link · parent

Here's an example. This is the PR they created in lodash's GitHub repo:

https://github.com/lodash/lodash/pull/5980

2.

Earthquake in Japan yesterday may have shifted land 1.3 meters(www3.nhk.or.jp ↗)

119 points · by ronyclau · 2y ago · 86 comments

comment 3y ago · link · parent

I don't think she meant her girlfriend is under house arrest (though possibly too), I guess she meant she can leave the country but her girlfriend can't.

Uyghur are systematically suppressed and discriminated in China. It's very hard for them to get even a passport, let alone be allowed to leave the country legally. Given the situation of Naomi now, it's practically impossible for Kaidi to leave China.

comment 3y ago · link · parent

ResMed AirSense user here. Do take note that the water reservoir in the recent versions is prone to leakage after around a year of use, and replacing it is pretty expensive.

I sealed mine with food-grade silicone as fellow users in the internet suggested, and it's been good since.

comment 3y ago · link · parent

Oh my gosh. That screenshot of the Calculator alone brought back memories from my childhood.

comment 4y ago · link · parent

> - basic constructs like the arg array are broken once you have special chars and spaces and want to pass those args to other commands. and UNICODE? Ha.

Any example with this? The following works reasonably well for me.

  args=(-a --b 'arg with space' "一 二 三")
  someprog "${args[@]}"

comment 4y ago · link · parent

There is a documentary named "Falling from the Sky"[1] from 2009, which depicts how scared and helpless people in a Hunan village were, every time a rocket wss launched from Xichang Satellite Launch Center. The village was located within the area where rocket debris would fall, and the villagers were basically told to suck it up by officials.

[1]: https://www.imdb.com/title/tt2136916/

comment 4y ago · link · parent

Two suggestions:

1. Prefer sftp over scp whenever it's available. The scp protocol is pretty obsoleted. Just substitute `scp` with `sftp` in the command.

2. Turn on ssh multiplexing to drastically shorten the wait time when opening a file.

comment 4y ago · link · parent

There's too much cognitive overhead if you do this. For example, to change a word we use `ciw`, which roughly means "Change Inner Word" as a mnemonic. There are quite a lot of similar keys with mnemonics, which would prolly make no sense if you keep the QWERTY keypresses on a Dvorak layout.

comment 4y ago · link · parent

Not from the UK, I don't actually get why calling a local/in-country number could incur high cost. How could one identify a paid/free/local number without trial-and-error?

In my country, you only incur normal minutes when you call an ordinary non-overseas number. By ordinary, these numbers have a normal number of digits, and a known prefix. Paid call always have shorter or longer phone number.

comment 4y ago · link · parent

I'm guessing this is 表妹.

In English, your male siblings are "brothers", and female siblings are "sisters", regardless of age.

In Chinese, we differentiate between younger and elder siblings. Your elder brother is 哥哥, younger brother is 弟弟; elder sister is 姐姐/姊姊, and younger sister is 妹妹.

comment 4y ago · link · parent

Let's hope we can someday program it to find the answer to life, the universe and everything, and subsequently the ultimate question, just so we can render all philosophers jobless.

comment 5y ago · link · parent

Startpage was my preferred search engine for the past two years, however in the past half year, I get many of my searches blocked when they contain "site:" param. The situation got worse in thev part few months when some searches with double-quotes get blocked too, which is a deal breaker for me.

For blocked search, I meant Startpage showed a page claiming unusual network activity, and presented a report form. There was no captcha, and there's no way to continue the search from there.

I wasn't using VPN when this happened, and I encountered this on my home WiFi, office WiFi, and mobile network, MacBook and Android.

comment 5y ago · link · parent

Syncthing now supports untrusted device sync[0] (i.e. storing an encrypted copy on an untrusted device) in a recent version, though this is still on beta.

[0]: https://docs.syncthing.net/users/untrusted.html

comment 5y ago · link · parent

IIRC, this may also leak when `priority()` throws due to evaluation order. (Not exactly sure now, as I now always use `make_shared` whenever possible.)

However in the Effective C++ example, the `shared_ptr` constructor gave a false sense of security as it seemed the `new`-ed `Widget` was always managed by the smart pointer from its allocation.

comment 5y ago · link · parent

If you are using Firefox Nightly, you can install arbitrary add-ons (though quite a number of them don't work due to UI difference, container doesn't work too) now after going though some steps: https://blog.mozilla.org/addons/2020/09/29/expanded-extensio...

comment 5y ago · link · parent

That common character is called a generation name, as it is shared among the same generation in a family. This practice is seen much less commonly in recent times. For example, none of my friends bear a name in this format.

However, sometimes while siblings share a common character in their name, it may not a generation name. Some parents like to name their children this way, though in such case, the common character may appears in any position of the given name. So it's kinda hard to tell whether it's a generation name thing just by the name, without consulting the name bearer themselves or their parents.

comment 5y ago · link · parent

One of the origin story of the term links to a once-popular Hong Kong actress Amy Yip[1], who was known for her cup size and sexy appearances in movies. The "nickname" 波霸, roughly translated to "Boobs overlord" in English, or transliterated to "Boba" (sounds similar in both Cantonese and Mandarin), was given to her by the media.

It was said that one bubble tea maker in Taiwan made large tapioca bubbles to put in milk tea, when tiny bubbles were used in milk tea at the time, and he named it "Boba tea", associating the relatively huge size of his bubbles with the actress well-known body feature.

[1] https://en.m.wikipedia.org/wiki/Amy_Yip

comment 8y ago · link · parent

As released by the the Department of Commerce, ZTE has a document detailing:

1. how they evaded the sanction against Iran (destroying documents, re-export through a third country, deliberately removing logos from cargos, etc)

2. rewarding, rather than disciplining, staff involved in the evasion of sanction, an outright violation of the agreement they signed with Doc for a probationary punishment instead of a full-blown one

3. the resumption of sanction-evasive behaviors, while fully aware they are under active investigation

Did I mention ZTE had prepared another document detailing exactly how their competitor Huiwei does the same?

comment 8y ago · link · parent

The first syllable in charcoal reads "tʃɑ:" in IPA. I was referring to the "ʃ" sound, formally the "voiceless palato-alveolar fricative" according to Wikipedia.

comment 8y ago · link · parent

Interesting! Never heard anyone use "tea" to describe the evening meal. Tea refers to the light meal at late afternoon, after lunch and before the evening meal (dinner) at my place, seems to be same as the "common" usage.

BTW, Cantonese is actually a "chai language": the character 茶 (tea) reads like "char" as in charcoal, without the h sound and in a low tone.