【Rust日报】2020-08-21 RustConf研讨会在线举办

时间:2022-07-24
本文章向大家介绍【Rust日报】2020-08-21 RustConf研讨会在线举办,主要内容包括其使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

Oxigraph - 实现了SPARQL标准的图数据库

Oxigraph is a graph database implementing the SPARQL standard. Official website: https://github.com/oxigraph/oxigraph

Oxigraph是一个实现了SPARQL标准的图数据库。宗旨是为了实现一个基于RockDB和Sled的K/V仓库的兼容的,安全的,快速的图数据库。由Rust语言实现,Oxigraph同时也提供很多读,写和处理RDF文件的工具功能。

Oxigraph目前正在重度活跃的开发中,很多SPARQL的查询评估还没有经过优化。

Oxigraph的组件:

  • lib
  • python
  • js
  • server
  • wikibase

安装和使用:

需要最新的稳定版本的Rust和Cargo安装 同时也需要clang编译RockDB。直接安装就可以:

    $ cargo install oxigraph_server
    
    ### build the fat binary at target/release/oxigraph_server
    $ cargo build --release
    
    ### 用Docker Image
    $ docker run --rm oxigraph/oxigraph --help
    
    ### run the docker webserver on port# 7878 
    ### save the local data at /data
    $ docker run --init --rm -v $PWD/data:/data -p 7878:7878 oxigraph/oxigraph -b 0.0.0.0:7878 -f /data
    
    ### build and run the wikibase server
    $ cargo install oxigraph_wikibase
    $ cargo build --release
    $ cd target/release/
    $ ./oxigraph_wikibase --mediawiki-api https://test.wikidata.org/w/api.php --mediawiki-base-url https://test.wikidata.org/wiki/ --namespaces 0,120 --file test.wikidata
    
    ## wikibase server from docker image
    $ docker run --rm oxigraph/oxigraph-wikibase --help
    $ docker run --init --rm -v $PWD/wikibase_data:/wikibase_data -p 7878:7878 oxigraph/oxigraph-wikibase -b 0.0.0.0:7878 -f /wikibase_data --mediawiki-api http://some.wikibase.instance/w/api.php --mediawiki-base-url http://some.wikibase.instance/wiki/

RustConf研讨会在线举办

RustConf is online! Official website: https://rustconf.com/

RustConf研讨会在线举办,大家可以科学观看和回顾:

  • Video#01 RustConf 2020 - Opening Keynote
  • Video#02 RustConf 2020 - Error Handling Isn't All About Errors
  • Video#03 RustConf 2020 - How to Start a Solo Project That You'll Stick With
  • Video#04 RustConf 2020 - Under a microscope - exploring fast and safe rust for biology
  • Video#05 RustConf 2020 - Bending the curve - a personal tutor at your fingertips
  • Video#06 RustConf 2020 - My First rust project - starting a 2d game with amethyst
  • Video#07 RustConf 2020 - Controlling telescope hardware with rust
  • Video#08 RustConf 2020 - Macros for a more productive rust
  • Video#09 RustConf 2020 - Rust for non-systems programmers
  • Video#10 RustConf 2020 - Closing keynote

tickrs | 实时滚动数据终端,用tui-rs打造。

tickrs | Realtime ticker data in your terminal. Built with tui-rs. https://github.com/tarkah/tickrs https://i.imgur.com/4Izc2dz.mp4

用tui-rs打造应答机模式的实时滚动数据终端。

受gotop启发,看到又搞了一个Rust语言版的ytop 超级兴奋,于是自己搞了一个TUI的APP来跟踪实时股票数据。考虑到要让没有API Key的用户都可以体验,最后选择了用Yahoo Finance的后台数据。

  • Cargo cargo install tickrs
  • Usage tickrs 0.3.3 Realtime ticker data in your terminal ? USAGE: tickrs [FLAGS] [OPTIONS] FLAGS: -h, --help Prints help information --hide-help Hide help icon in top right -V, --version Prints version information OPTIONS: -s, --symbols <symbols>... Comma separated list of ticker symbols to start app with
  • 特别感谢:
    • fdehau / tui-rs - great TUI library for Rust
    • cjbassi / ytop - thanks for the inspiration!

Veloren - Rust语言开发的多人版立体像素角色扮演游戏

Veloren is a multiplayer voxel RPG written in Rust. 代码:https://github.com/veloren/veloren 官网:https://veloren.net

Veloren是一款用Rust语言开发的多人立体像素角色扮演游戏。Veloren的开发受到Cube World,Minecraft和Dwarf Fortress等多款经典类似游戏的启发。这款游戏目前正在热烈和重度研发中,已经有发布版本并可以玩了。

  • 系统开发:

目前游戏贡献者们的交流与沟通主要是在项目的Discord网络社区服务器上进行。想了解项目最新动态,可以加入社区走近研发人员,了解项目或者自己为项目做点贡献。任何一个认真的想投入精力的都可以加入我们的团队。不要懂得编程也可以为项目和社区做贡献。

  • 有用的链接:
    • Sign Up注册用户,在这里你可以在线注册用户,用于登陆需要验证的服务器,包括Veloren官方服务器。
    • Book:Veloren手册,大量关于veloren的重要资料,包括如何编译程序软件,如何分发发布等信息。
    • Future Plans,这里可以找到Veloren的开发路线和最近研发团队的主要工作。
  • 官方社交媒体和官网:
    • Website
    • Discord Server
    • Subreddit
  • 获得Veloren:

官方支持64位版的Windows,Linux,MacOS版本,可以到官网下载: https://www.veloren.net

由于研发更新非常快,最新发布的"稳定版本"并不一定兼容公开的对外服务器。如果你想自己编译Veloren 可以在官方的参考书里找到相关的信息。

From 日报小组 BobQin,北纬27度