gyf304 最近的时间轴更新
gyf304

gyf304

V2EX 第 107932 号会员,加入于 2015-03-29 03:54:56 +08:00
Pettzel - 一个自动抠猫头照片的人工智障
分享创造  •  gyf304  •  2022-09-15 06:43:53 AM  •  最后回复来自 dithyrambusy
8
实测用 M1 GPU 挖矿
Apple  •  gyf304  •  2021-03-03 22:18:07 PM  •  最后回复来自 also24
14
分享一个之前自己做的地图杯垫
  •  1   
    分享创造  •  gyf304  •  2021-02-27 09:35:26 AM  •  最后回复来自 gyf304
    28
    在 M1 Mac 上挂载 WebDAV 并创建文件夹会导致 Kernel Panic
    macOS  •  gyf304  •  2021-02-18 10:43:38 AM  •  最后回复来自 liuliangyz
    2
    Show V2EX: LPVPN: 通过 Discord 建立局域网玩游戏
  •  1   
    分享创造  •  gyf304  •  2021-02-18 15:27:35 PM  •  最后回复来自 gyf304
    14
    Show V2EX: cmarshal: C struct JSON 序列化 / 反序列化代码生成器
    分享创造  •  gyf304  •  2021-02-18 20:06:03 PM  •  最后回复来自 codehz
    6
    M1 Mac 适用的轻量 Linux VM
  •  1   
    分享创造  •  gyf304  •  2022-04-08 14:40:28 PM  •  最后回复来自 Acebiu
    25
    Show V2EX: Wasmino: 将 Arduino C++编译至 WASM, 并在网页上运行
    分享创造  •  gyf304  •  2021-01-02 18:20:07 PM  •  最后回复来自 gyf304
    6
    gyf304 最近回复了
    299 天前
    回复了 ryansvn 创建的主题 Windows windows 的记事本不能保存为 ANSI 编码?
    如果只有 ASCII 字符 ANSI 和 UTF-8 是等价的。保存了以后是没有任何区别的。
    2022-09-13 06:52:00 +08:00
    回复了 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 平台上挖太慢了)。看起来你把我没干完的活干完了。
    2021-09-13 16:00:40 +08:00
    回复了 boneyao 创建的主题 奇思妙想 有很多木板,拿来做什么比较好。
    2021-08-21 01:58:14 +08:00
    回复了 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 也有可能影响
    2021-07-10 07:23:40 +08:00
    回复了 internelp 创建的主题 程序员 大家乘电梯的时候会想电梯的程序怎么写吗
    电梯逻辑其实非常复杂 一些常见的运作模式: https://elevation.fandom.com/wiki/List_of_elevator_special_modes
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5342 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 01:29 · PVG 09:29 · LAX 18:29 · JFK 21:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.