Coder Social home page Coder Social logo

maimai-search-rs's Introduction

Hey there! I'm AnselYuki

少しだけ,梦に近づきました!

kano

About Me

现任 Java 开发工程师,喜欢进行性能调优以及底层组件开发,上班之余会学一些奇怪的新技术,有 OI 比赛经验,对底层常见的优化算法都有过一些接触

鹿乃单推人

平常的兴趣是搞二次元和听歌,是个音游人,主玩舞萌 DX 和一众移动端音游,VOCALOID 老粉

"为什么是她?"我常这么自问

第一次投稿,是 2010 年 1 月 16 日,而在 16 年的某个夏日的晚上,我与她邂逅了

十四年过去,她早已从无名唱见成功走上正轨,而我也早已不是那个懵懂的少年

以广州的演唱会开始,到 19 年的 VTuber 出道,她陪伴我走过了许多个日日夜夜,我依旧期待着她为我们带来的更多美好

现在也是如此。

Tech Stack

  • Java | Rust | C | C++ | Python | Golang
  • MySQL | Mongodb
  • IntelliJ IDEA | Visual Studio Code | Git | Vim

Github Stats

Connect with Me

maimai-search-rs's People

Contributors

anselyuki avatar teachertan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

teachertan

maimai-search-rs's Issues

Maybe have problems in pyo3 in Windows

In README.md in pyo3 in github, there are some prepared notice:

To embed Python into a Rust binary, you need to ensure that your Python installation contains a shared library. The following steps demonstrate how to ensure this (for Ubuntu), and then give some example code which runs an embedded Python interpreter.
To install the Python shared library on Ubuntu:
sudo apt install python3-dev

(在pyo3的官方仓库里,有提及到若需要在RUST中使用python模块,需要先安装python3-dev这个共享库,我不确定在Windows上这个共享库是否原生存在。前提:使用 pip3 install python3-dev 是无效的)

Markdown生成调整

为了Markdown编辑方便,希望增加一个参数加入多个id,生成一个乐曲列表包含多行乐曲信息。
示例:

./maimai-search.exe -list 480 11233 11207 466 -m -o Demo.md
谱面图片 ID 乐曲标题 类型 分区 BPM 演唱/作曲
HIMITSUスパーク 480 HIMITSUスパーク SD 流行&动漫 156 カラスは真っ白
Starry Colors 11233 Starry Colors DX 舞萌 177 BlackY feat. Risa Yuzuki
Ether Strike 11207 Ether Strike DX 其他游戏 156 Akira Complex
Jimang Shot 466 Jimang Shot SD 东方Project 164 じまんぐ

B50绘图功能使用Pyo3调用

目前pyo3调试已经成功,需要在本地设置python的全局变量以供pyo3初始化

  • @Anselyuki Pyo3本地调试
  • @Anselyuki Action的编译调试
  • @Anselyuki 提供给Python调用的FFI接口
  • @TeacherTan 使用pyo3的方式在Rust中调用Class DarwBest,可以先使用桩模块进行实现(暂时不创建CLI参数,使用tests运行)

About --help

是否可以将 --help 界面中直接加入 search 命令下的参数配置,例如:

search 搜索谱面信息,如果同时传入 id 参数与 name 参数,将优先使用 id 进行精确查询
    --id / -i ID参数
    --name/ -n Name参数  

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.