跳转至内容
  • A place to talk about whatever you want

    16 主题
    140 帖子
    没有新主题
  • 22 主题
    76 帖子
    SPeakS

    刚刚更新优化了一下工具在macos平台上的控制台刷新机制

    如果macos上遇到控制台的输出不刷新或重复输出问题, 可以运行下面命令进行更新一下工具(默认只会覆盖xlings的核心代码, 不用但心之前的安装或配置的环境和数据缓存

    curl -fsSL https://d2learn.org/xlings-install.sh | bash
  • 开源软件 | 开源社区 | 开源理念 | 开源与商业 | 开源可持续发展 等相关话的交流讨论
    注: 这里的"开源"是泛化的共建共享概念, 范围包含 OSI的范围、自由软件、CC等相关内容

    47 主题
    204 帖子
    SPeakS

    7b7a15fb-f3f1-400b-9120-3443fb667026-image.png

    issues详情: https://github.com/d2learn/xlings/issues/104 pr详情: https://github.com/d2learn/xlings/pull/105 修复代码&测试结果

    f9ac3a8d-12eb-40f4-868c-b4281fafcd2f-image.png

    验证步骤

    1.更新xlings到最新版本

    irm https://d2learn.org/xlings-install.ps1.txt | iex

    2.更新包索引

    xim --update index

    3.测试

    xlings remove code xlings self clean xlings install code

    预期输出

    code@system - already installed
  • d2learn开源组

    3 主题
    3 帖子
    没有新主题
  • 13 主题
    35 帖子
    SPeakS

    例如文中的代码

    #define BITWORD 8 #define SHIFT 3 #define N 32 #define Mask 0x7 void set_bit(uint8_t* array, uint8_t num); void clear_bit(uint8_t* array, uint8_t num); bool test_bit(uint8_t* array, uint8_t num); uint8_t test_array[N / BITWORD + 1] = { 0 }; int main() { set_bit(test_array, 22); printf("%d\n", test_bit(test_array, 22)); } void set_bit(uint8_t* array, uint8_t num) { array[num >> SHIFT] |= (1 << (num & Mask)); } void clear_bit(uint8_t* array, uint8_t num) { array[num >> SHIFT] &= ~(1 << (num & Mask)); } bool test_bit(uint8_t* array, uint8_t num) { return array[num >> SHIFT] & (1 << (num & Mask)); }
  • 一个技术知识分享、学习、交流的社区

    14 主题
    43 帖子
    sunrisepeakS

    中文版

    Introduction and Background

    A community forum oriented towards [knowledge/technology, projects, open courses, creative ideas, etc. + open-source philosophy].

    Why build such a forum?

    Many platforms are moving towards being comprehensive and entertainment-focused, leading to a massive increase in content volume but a decrease in the density of specific thematic content. There are relatively few forums related to open source in Chinese platforms, with content scattered across various platforms, lacking a common platform for exchange and sharing. Provide a platform for discussing topics related to open-source philosophy | open-source licenses | open-source projects | open-source communities | open-source and business | sustainable development of open-source, etc. Main Sections and Topics

    General Discussion Section

    Posts without a specific topic section are generally posted here.

    04473257-cc22-456b-b3e9-cfeed513a14a-image.png

    Open Courses Section

    Post content and discussions related to various open courses. Developers of courses/tutorial projects can create corresponding discussion sections.

    6ae992b8-d831-4a8d-8bbd-e00b4cb4b067-image.png

    Open Source Section

    Discussions on topics related to open-source software | open-source communities | open-source philosophy | open-source and business | sustainable development of open-source. Developers of open-source projects can create discussion sections for their projects.

    cf3aa71e-2fda-44cf-b016-6cea0876bb51-image.png

    d2learn Open Source

    Explorations of open-source content by the d2learn community/open-source group.

    04970ff0-56fb-4f7b-8f2f-a2ce42747315-image.png

    Forum Feedback & Community Building

    Feedback on forum-related issues and suggestions. Discussions on topics related to the sustainable development of the forum.

    ca1f43d9-162a-4a5d-9e3a-1dc7878f926a-image.png

    Functional Perspective A platform for open-source enthusiasts to exchange and discuss. Developers of open-source projects/open courses and tutorials can create discussion/exchange sections for their projects. A platform for discussing topics related to open-source itself (e.g., sustainable development of open-source projects). Others. Forum Philosophy and Restrictions

    Philosophy and Orientation

    Focus on technology, knowledge, creativity, and open-source fields, avoiding entertainment. Professional content and rational discussions, avoiding deliberately emotional content.

    Forum Code of Conduct

    Encouraged behaviors

    Use inclusive language. Respect different viewpoints and experiences. Gracefully accept constructive criticism.

    Prohibited/Restricted

    Provocative, insulting/derogatory comments, and personal attacks. Registration and Section Creation

    Registration Methods

    GitHub: Directly use GitHub for SSO single sign-on. Email invitation registration: Users who have already registered and completed email verification can invite others to register via the user interface.

    Personal Blogs and Subsection Creation

    Application Template Others https://d2learn.org https://github.com/d2learn Instant communication group (Q): 167535744

    Note: translate by ai-llm - original

  • Got a question? Ask away!

    4 主题
    13 帖子
    SPeakS

    插件实现: https://github.com/Sunrisepeak/nodebb-plugin-tinylatex

公告栏 | Bulletin Board

欢迎加入d2learn社区 - 社区指南
Welcome to the d2learn Community - Community Guide

一个以 [知识、技术、代码、项目、想法、开源] 相关话题为主导的社区
A community focused on topics related to [knowledge, technology, code, projects, ideas, and open source].


在线用户