2024年3月25日

windows wsl2 中打开rust std 本地文档

摘要: https://github.com/rust-lang/rustup/issues/2206#issuecomment-1833076438 Adding the prompt below in .zshrc or .bashrc: export BROWSER="/mnt/c/Program F 阅读全文

posted @ 2024-03-25 20:44 Tmacy 阅读(3) 评论(0) 推荐(0) 编辑

2024年2月29日

wayland with Nvidia

摘要: 环境:thinkpad l14 安装了nvidia驱动:550.54 启用wayland :安装plasma-wayland-session qt5-wayland qt6-wayland xorg-xwayland egl-wayland 等 在wayland下,optimus-manager不能 阅读全文

posted @ 2024-02-29 08:24 Tmacy 阅读(121) 评论(0) 推荐(0) 编辑

2024年1月31日

Bevy Not enough memory left error

摘要: Bevy Not enough memory left error 在笔记本环境下,默认启动intel的集成显卡,cargo run 执行bevy的测试例子,会发现窗口图形无法正常启动,报错信息如下: thread 'main' panicked at /home/chen/.cargo/regis 阅读全文

posted @ 2024-01-31 09:35 Tmacy 阅读(17) 评论(0) 推荐(0) 编辑

2024年1月28日

Rust学习笔记

摘要: 迭代器 迭代器是一个值,它可以生成一系列值 Iterrator 类型和 IntoIterator类型 迭代器是实现了Iterator类型的任意值 IntoIterator是迭代器本身类型,Item是它生成的值的类型。 任意实现了IntoIterator的类型都可以成为可迭代者,可以通过into_it 阅读全文

posted @ 2024-01-28 23:06 Tmacy 阅读(11) 评论(0) 推荐(0) 编辑

2024年1月8日

Rust 学习笔记

摘要: rust 学习梳理 数据类型 基于已明确的类型,Rust会推断剩下大部分类型。基于类型推断Rust具备了与动态类型语言近似的易读性,并仍能在编译期捕获类型错误。 函数可以是泛型的:单个函数ujiu可以处理不同类型的值。 Rust的类型根基是一组固定宽度的数值类型,匹配几乎所有现代处理器直接硬件实现的 阅读全文

posted @ 2024-01-08 08:13 Tmacy 阅读(22) 评论(0) 推荐(0) 编辑

2024年1月4日

gsamplerCubeArrayShadow isn't supported in textureGrad, textureLod or texture with bias

摘要: 问题描述 跑rust的Bevy示例程序 运行3d的示例,cargo run --example 3d_shapes 发现报错: INFO bevy_render::renderer: AdapterInfo { name: "Mesa Intel(R) Graphics (ADL GT2)", ve 阅读全文

posted @ 2024-01-04 10:38 Tmacy 阅读(18) 评论(0) 推荐(0) 编辑

2024年1月3日

【推荐】Helix的编程语言配置

摘要: 目录编程语言languages.toml语言配置探测文件类型编程语言服务为一个编程语言配置语言服务Tree-sitter 语法配置选择语法 编程语言 编程语言设置以及语言服务器设置位于配置文件languages.toml 中。 languages.toml languages.toml 有三个可能的 阅读全文

posted @ 2024-01-03 11:19 Tmacy 阅读(199) 评论(0) 推荐(0) 编辑

2024年1月2日

【推荐】Helix 常用命令与设置

摘要: 目录Helix常用命令配置编辑器[editor]字段[editor.statusline] 字段[editor.lsp] 字段[editor.cursor-shape] 字段[editor.file-picker] 字段[editor.auto-pairs] 字段[editor.search] 字段 阅读全文

posted @ 2024-01-02 09:01 Tmacy 阅读(543) 评论(0) 推荐(0) 编辑

2023年12月20日

【推荐】后现代风格文本编辑器-Helix

摘要: 目录Helix简介Helix 安装Linux平台UbuntuFedora/RHELArch Linux extraNixOSFlatpakSnapAppImagemacOS系统Homebrew CoreMacPortsWindowsWingetScoopChocolateyMSYS2源码编译安装配置 阅读全文

posted @ 2023-12-20 17:41 Tmacy 阅读(541) 评论(0) 推荐(0) 编辑

2023年12月19日

Project Based Learning 基于项目的编程学习

摘要: Project Based Learning https://github.com/practical-tutorials/project-based-learning.git A list of programming tutorials in which aspiring software de 阅读全文

posted @ 2023-12-19 14:20 Tmacy 阅读(36) 评论(0) 推荐(0) 编辑

导航