Better HN
topnewbestaskshowjobs
Log inSign up

feisuzhu

97 karma · joined Oct 20, 2012 (14y ago) · 42 submissions

Submissions

comment 4mo ago · link · parent

And, non-state run Chinese companies are just like companies in US, they usually don't joint forces to maintain a common infrastructure, if they can build moat (or at least be in leading position for a period of time), they do it, sharing crawl dataset is no go.

comment 4mo ago · link · parent

I thought you got the location from BGP registration, then IMHO the before/after are both correct, it might be datacenter in Xinjiang belongs to Tencent.

comment 5mo ago · link · parent

V100 GPUs are e-waste.

comment 1y ago · link · parent

It's an over-simplification of Chinese idiom "浑水摸鱼", which is literally 'catching fish in muddy water'. Origninated from Thirty-Six Stratagems (三十六计). It generally mean "to take advantage of a chaotic situation or a crisis". It is later extended to express slacking off.

comment 1y ago · link · parent

(ab)?using ?

comment 1y ago · link · parent

No tab completion!

comment 1y ago · link · parent

Linux CUPS driver here: https://github.com/feisuzhu/gprinter-cups

comment 1y ago · link · parent

I'm using a [Gprinter GP-1324D](https://www.ebay.com/itm/365264659480) in everyday work, printing task tracking stickers, various labels, etc. It's designed to print shipping labels / recipients in business scenarios so it's fairly robust. The only con I can think of is its physical size. I'm not familiar with eBay, but on Xianyu(Chinese second hand market app), yes you can buy one using only $20, shipping included.

comment 2y ago · link · parent

Is this poor man's stacktrace?

comment 2y ago · link · parent

'WebGL disabled' is a pretty strong fingerprint anyways

comment 2y ago · link · parent

I’ve been using Firefox since the Quantum version is out. It feels slightly slower to Chrome but it's negligible to me. Otherwise I can't tell a difference (except some heavy web based Office like solutions screaming 'Your browser is not supported!' but actually works fine).

comment 2y ago · link · parent

Arms are powerful but tails are not.

comment 3y ago · link · parent

This is really an incredible piece of read! The concept mapping between Linux and switch ASIC can't be more elegant.

comment 3y ago · link · parent

Wow, that's really a brilliant idea. Is there any ready to use tools to implement that?

comment 3y ago · link · parent

I've found that every time my bash scripts become sufficiently complex, I end up rewriting them in Python.

comment 3y ago · link · parent

There is a SDF renderer in Taichi Lang examples: https://github.com/taichi-dev/taichi/blob/master/python/taic...

Not so short as OP's version(46 lines vs 171 lines), but it renders a nice looking image: https://github.com/taichi-dev/taichi-release-tests/blob/mast...

comment 5y ago · link · parent

In DHCP-PD you get a subnet instead of a single IP.

comment 5y ago · link · parent

I remember when I was using Windows 98, the media player [1] I was using is shipping with a tray icon which has a menu item written 'Save power when CPU is idle'[2]. It did exactly that (HLT thing). After ticking the menu, CPU just go cold.

[1]: 豪杰超级解霸2000 [2]: https://www.wendangwang.com/doc/e6d559d6f2cd9ba7007939d7/3

comment 5y ago · link · parent

Living in the mainland and generally have no idea what's the impact of recent actions of gov, so can you elaborate more?

comment 5y ago · link · parent

But I found it :-)

comment 5y ago · link · parent

Real number are called 实数 in Chinese which is literally `solid number`.

comment 6y ago · link · parent

Comment toggle:

    foo();
    //*
    some();
    code();
    which_you_want_to_comment_out();
    // */
    other_code();
Code between comments are 'enabled' for now, and can be commented out by simply removing a slash in the '//*'.

comment 6y ago · link · parent

> In the end git is not in production

Git ends in my production multiple times.

1. In my side project game, auto update and replay system is based on Git. For every update, there will be a commit appended to the code repo which is the most recent update. If a player wants to replay a game in previous version, just checkout the appropriate commit, and run the replay using exact the same code. I'm freed from backward compatibility issue & update subsystem which handles diffing, compression, transporting by a single decision. https://github.com/feisuzhu/thbattle/blob/master/src/autoupd...

2. Another project written by me, which is a monitoring system, distributes it's rules by a git repo. Monitoring agents in the nodes cares about authenticity of distributed rules. So I just sign the tree hash and embed the signature in commit message, which will be later validated by monitoring agents. https://github.com/leancloud/satori/blob/master/satori-rules...

comment 6y ago · link · parent

I have never managed to interpret the output of `lspci -tvnn` (mainly the bus number) but I can read `pcicrawler -t`.

comment 6y ago · link · parent

You are right, this aligns what I know about.

comment 6y ago · link · parent

Huawei is basically owned by all the employees(98.99%), and Ren Zhengfei only owns 1.01%.

comment 6y ago · link · parent

I'm always annoyed by the fact that no spec exists for a `intermediate CA for a particular domain`. If it exists, multiple level wildcard pain disappears and Subject Alternative Names stuff is not needed.
12