gyf304's recent timeline updates
gyf304

gyf304

V2EX member #107932, joined on 2015-03-29 03:54:56 +08:00
Pettzel - 一个自动抠猫头照片的人工智障
分享创造  •  gyf304  •  Sep 15, 2022  •  Lastly replied by dithyrambusy
8
实测用 M1 GPU 挖矿
Apple  •  gyf304  •  Mar 3, 2021  •  Lastly replied by also24
14
分享一个之前自己做的地图杯垫
  •  1   
    分享创造  •  gyf304  •  Feb 27, 2021  •  Lastly replied by gyf304
    28
    在 M1 Mac 上挂载 WebDAV 并创建文件夹会导致 Kernel Panic
    macOS  •  gyf304  •  Feb 18, 2021  •  Lastly replied by liuliangyz
    2
    Show V2EX: LPVPN: 通过 Discord 建立局域网玩游戏
  •  1   
    分享创造  •  gyf304  •  Feb 18, 2021  •  Lastly replied by gyf304
    14
    M1 Mac 适用的轻量 Linux VM
  •  1   
    分享创造  •  gyf304  •  Apr 8, 2022  •  Lastly replied by Acebiu
    25
    gyf304's recent replies
    Jun 24, 2023
    Replied to a topic by ryansvn Windows windows 的记事本不能保存为 ANSI 编码?
    如果只有 ASCII 字符 ANSI 和 UTF-8 是等价的。保存了以后是没有任何区别的。
    Sep 13, 2022
    Replied to a topic by gyf304 分享创造 Pettzel - 一个自动抠猫头照片的人工智障
    @kaiki hhh 毛利兰
    写过个类似的 https://v2ex.com/t/753390
    @zeni123 可以联系一下我,我把半成品的 DX12 版 的 VS Project 发给你,C++ 写的。
    另:XSX 如果用 DX12 的话是没有显存限制的。
    我之前写过一个 PoC

    https://github.com/gyf304/ethash-hlsl/blob/main/ETHash.hlsli

    后来发现了和你一样的问题,在 XSX 上效率太低解决不了。最后把半成品开源了(半成品有一些 bug,主要是 Search 的实现不正确,但是我也懒得改,毕竟没啥用,在 AMD 平台上挖太慢了)。看起来你把我没干完的活干完了。
    Sep 13, 2021
    Replied to a topic by boneyao 奇思妙想 有很多木板,拿来做什么比较好。
    Aug 21, 2021
    Replied to a topic by nannanziyu C++ Windows 一分钟使用 C++ 发送 Http 请求
    @abersheeran pipenv?
    有挺多原因的
    1. 分区大小和文件系统占用空间不一定相同,分区 1T 文件系统可以只用前 500G 见 `man resize2fs`

    ```
    The resize2fs program does not manipulate the size of partitions. If you wish to enlarge a
    filesystem, you must make sure you can expand the size of the underlying partition first.
    This can be done using fdisk(8) by deleting the partition and recreating it with a larger
    size or using lvextend(8), if you're using the logical volume manager lvm(8). When recreat‐
    ing the partition, make sure you create it with the same starting disk cylinder as before!
    Otherwise, the resize operation will certainly not work, and you may lose your entire
    filesystem. After running fdisk(8), run resize2fs to resize the ext2 filesystem to use all
    of the space in the newly enlarged partition.
    ```

    2. ext4 默认有 5% 的 reserve
    3. 如上面说的,各种元数据
    4. 可能部分文件系统支持的 quota 也有可能影响
    电梯逻辑其实非常复杂 一些常见的运作模式: https://elevation.fandom.com/wiki/List_of_elevator_special_modes
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   946 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 20:51 · PVG 04:51 · LAX 13:51 · JFK 16:51
    ♥ Do have faith in what you're doing.