Huang Huang

Results 149 comments of Huang Huang

BTW, `LoadPublicKey` and `LoadPrivateKey` don't support PEM/DER-encoded data for ES256K algorithm yet. https://github.com/square/go-jose/blob/96c717272387d4b4be0da5d3a74a7fb55f3938f7/jose-util/utils.go#L42-L43 https://github.com/square/go-jose/blob/96c717272387d4b4be0da5d3a74a7fb55f3938f7/jose-util/utils.go#L70-L71

I have no idea how this happened : https://github.com/aquasecurity/libbpfgo/runs/7815708108?check_suite_focus=true Maybe we should use `make` instead of `make -j8` in Makefile?: https://github.com/aquasecurity/libbpfgo/blob/0850b8cf46a9610acbe6b2c8503fb69a88af4243/Makefile#L129-L138

I have the same usecase recently. After disable `fsync`, the program that writing 900+ files has 8x speedup(from 8s to 1s) on Linux.

@untitaker Yes, you are right, I removed that(both for file and directory). Does `fsync` for file is must operation? Not sure whether below document is useful, does `rename` work as...

@untitaker Thanks for your reply. On ext4, when `auto_da_alloc` is enabled(default on) it looks like removing the fsync for file is safe too: ``` auto_da_alloc(*) Many broken applications don't use...

I created a repo to do this work and so far 26/46 tools have been ported: https://github.com/mozillazg/libbpfgo-tools

@geyslan Sorry, I'm really too busy this year to get this done. But I have no objections regarding this matter, you can proceed with it freely.

@SRbone 目前没有单独的 to_bopomofo 函数,不过参考一下 https://github.com/mozillazg/python-pinyin/blob/master/pypinyin/style/bopomofo.py 这个文件里的相关内容。

感谢反馈!这个字的读音好像是三个 tú shū guǎn ,不是一个标准的拼音。