Recent submissions

Comment · 1 year ago
Comment · 3 years ago
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 · 3 years ago
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 · 3 years ago
Oh my gosh. That screenshot of the Calculator alone brought back memories from my childhood.
Comment · 4 years ago
> - 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 · 4 years ago
Comment · 4 years ago
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 · 4 years ago
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 · 4 years ago
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 · 4 years ago
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 · 4 years ago
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 · 5 years ago
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 · 5 years ago
Comment · 5 years ago
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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton