会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Nolca
没有人会活成一座孤岛,但守护岛的主人总是略显孤独
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
19
下一页
2025年4月20日
linux/macos dotfile 配置文件备份/同步指南
摘要: yadm GUI管理.git的yadm仓库: https://github.com/yadm-dev/yadm/issues/350#issuecomment-1179784792 安装yadm: https://yadm.io/docs/install# 在$HOME下创建.gitignore:
阅读全文
posted @ 2025-04-20 09:49 Nolca
阅读(35)
评论(0)
推荐(0)
2025年4月16日
regex 经验匹配式
摘要: Union[a,b] → a|b 用这个: https://ast-grep.github.io/catalog/python/recursive-rewrite-type.html vscode 有 ast-grep的配套拓展,但容易导致 语言服务器 反应缓慢,不如手动命令ast-grep sca
阅读全文
posted @ 2025-04-16 09:53 Nolca
阅读(18)
评论(0)
推荐(0)
2025年4月13日
blender 骨骼重定向 bone remapping
摘要: 现有方案 addon 下载 教程 许可协议 UI 骨架链接bind 导出配置 Roroko ⬇️ ytb LGPL 可商用 最简洁 ❌仅一次性转换 .json有形变键映射;骨骼没有偏移量offset信息,在 人→非人 转换上较麻烦 ReNim ⬇️ ytb GPL 不可商用 基于节点树,最复杂 ✅编
阅读全文
posted @ 2025-04-13 11:26 Nolca
阅读(209)
评论(0)
推荐(0)
2025年3月25日
blender 4.4: ActionSlot 动作插槽
摘要: 旧版4.3之前 只能在动画摄影表 Dope Sheet,同时控制所有Action、所有物体的动画。大工程里,很难选择关键帧 NLA非线性动画一堆轨道,会很凌乱 Action只能存储一种类型的动画数据,会产生大量的Action。大工程里还需要自己加前缀来区分,如MaterialAction, Shap
阅读全文
posted @ 2025-03-25 17:29 Nolca
阅读(295)
评论(0)
推荐(0)
2025年3月15日
(开发者)为blender插件制作翻译(i18n/international) make translations for blender addon
摘要: 不直观的教程/文档 https://developer.blender.org/docs/handbook/translating/translator_guide/?utm_source=blender-4.3.2#manage-ui-translations-add-on https://dev
阅读全文
posted @ 2025-03-15 09:59 Nolca
阅读(321)
评论(0)
推荐(0)
2025年3月13日
gvhmr .pt 数据解读
摘要: smpl、smplx、coco等骨架(skeleton)系统 name size K_fullimg (312,3,3) net_outputs-decode_dict-betas (312,10) net_outputs-decode_dict-bodypose (312,63) net_outp
阅读全文
posted @ 2025-03-13 08:54 Nolca
阅读(227)
评论(0)
推荐(0)
2025年3月8日
python: 将子函数参数传递给父函数的kwargs,且IDE静态分析有类型提示的3种方法 (2025年)
摘要: 方法1: TypedDict+Unpack 强烈推荐,适用于自己编写的库内使用 外部库不推荐,因为要额外维护Kwargs参数类,且无法对应不同版本的外部库 https://docs.python.org/3/library/typing.html#typing.Unpack 副作用,二次继承Type
阅读全文
posted @ 2025-03-08 11:48 Nolca
阅读(64)
评论(0)
推荐(0)
2025年3月6日
将异步/线程/进程抽象成worker的框架:python-worker (网络编程)
摘要: https://github.com/Danangjoyoo/python-worker 还挺好用的,一旦写了一些会阻塞异步函数的逻辑,就需要将其移到新线程/进程去执行。如果不用这个库,就需要重构代码。代码需求经常变动,这个库就不错。 import asyncio import time impor
阅读全文
posted @ 2025-03-06 16:23 Nolca
阅读(58)
评论(0)
推荐(0)
2025年3月3日
python网络编程:一边延迟启动,一边准备as_completed
摘要: 原代码: import asyncio as aio async def Sleeper(s=1): t = f'Sleeper for {s} seconds' await aio.sleep(s) print(t) return t async def main(): tasks = [Slee
阅读全文
posted @ 2025-03-03 17:57 Nolca
阅读(17)
评论(0)
推荐(0)
2025年3月1日
python网络编程:异步与多线程,异卵双胞胎!
摘要: 异步 多线程 多进程 比喻 一个在烧水、泡衣服与洗碗的人 很多洗碗的人 很多语言不通的洗碗的人 核心 很多需要等待的函数同时运行 很多计算任务同时运行 原理 await转让控制权,再次事件循环 共享内存 不共享,使用IPC跨进程消息沟通 限制 - 若 async 函数内有耗时操作 , 会阻塞事件循环
阅读全文
posted @ 2025-03-01 21:22 Nolca
阅读(27)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
19
下一页
公告