HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wzyboy

no profile record

comments

wzyboy
·작년·discuss
It's a genius idea to run the process in a isolated network namespace!

I'm more interested in the HTTPS part. I see that it sets some common environment variables [1] to instruct the program to use the CA bundle in the temporary directory. This seems to pose a similar issue like all the variants of `http_proxy`: the program may simply choose to ignore the variable.

I see it also mounts an overlay fs for `/etc/resolv.conf` [2]. Does it help if httptap mounts `/etc/ca-certificates` directory with the temporary CA bundle?

[1] https://github.com/monasticacademy/httptap/blob/cb92ee3acfb2...

[2] https://github.com/monasticacademy/httptap/blob/cb92ee3acfb2...
wzyboy
·2년 전·discuss
Chinese law maker allow only Chinese characters if you want to register a company in China. So internal companies must transliterate their brand names into Chinese if they want to do business in China.

One funny example is 7-Eleven. Its legal name in China is "柒一拾壹". Note the dash is converted to the Chinese character "一" (meaning "one").
wzyboy
·2년 전·discuss
I've always been doing "two-pass" backups to achieve "3-2-1" goal: first pass is to run BorgBackup to backup devices to my home server. The second pass is to use rclone to transfer the repos on home server to an object storage service (B2).

With rclone support built-in, the setup would be much easier.
wzyboy
·2년 전·discuss
I have a similar setup but with SHA256 hash of the file as the object key.
wzyboy
·2년 전·discuss
On Pixel phone, there is a Digital Wellbeing setting that can turn your screen into Greyscale mode during bedtime. It is said to discourage the use of social networks and helps you sleep better.
wzyboy
·2년 전·discuss
> I lived in China for 9 years and always found the internet, even for going just to Chinese sites, to be really slow.

Did you have your VPN / proxy on? That might be one of the reason as Chinese internet is only fast for traffic within its borders. Traffic that crosses borders are super slow in terms of throughput AND latency (if not blocked altogether). If you have your VPN / proxy on, your request basically crosses the borders twice before it reaches the destination web server.

Another reason I can think of is the mobile ISP incompatibility. For some ridiculous reasons, most "foreign" phones' (iPhones exempt) do not have full radio coverage when connected to CMCC.
wzyboy
·2년 전·discuss
I immigrated from China to Canada and I'm not sure if monopoly is the root cause. In China, ISP is state-controlled and 100% monopoly, yet the plans are dirt cheap compared to those in Canada.

I just looked up the price in my hometown in China: 1000 Mbps fibre internet + 3 mobile phone lines (105 GB data) + IPTV = 249 CNY tax included (30 USD / 42 CAD / 28 EUR)

The 1000 Mbps fibre Internet plan alone (no phones no TVs) I have in Canada is $65 + tax. And it's a discounted plan. The price on the ISP website is $100.

Also in China phone plans have fast lanes as well. SNS and video streaming data are treated separately (cheap or even free).