开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
今日推荐开源项目:《Swagger-Bootstrap-UI》
今日推荐英文原文:《A smart Rubik's Cube has become my 2020 fidget toy》

今日推荐开源项目:《Swagger-Bootstrap-UI》传送门:项目链接
推荐理由:该 UI 增强包主要包括两大核心功能:文档说明 和 在线调试 文档说明:根据 Swagger 的规范说明,详细列出接口文档的说明,包括接口地址、类型、请求示例、请求参数、响应示例、响应参数、响应码等信息,使用 swagger-bootstrap-ui 能根据该文档说明,对该接口的使用情况一目了然。 在线调试:提供在线接口联调的强大功能,自动解析当前接口参数,同时包含表单验证,调用参数可返回接口响应内容、headers、Curl 请求命令实例、响应时间、响应状态码等信息,帮助开发者在线调试,而不必通过其他测试工具测试接口是否正确,简介、强大。
今日推荐英文原文:《A smart Rubik's Cube has become my 2020 fidget toy》作者:Scott Stein
原文链接:https://www.cnet.com/news/best-smart-thermostat-for-2020/
推荐理由:魔方是大家小时候都会接触的一种玩具. 如今, 富有创意的人结合AI发明了智能魔方. 这个魔方搭配的应用程序将会展示如何还原魔方, 以及提供基于魔方的其他有意思的小游戏.

A smart Rubik's Cube has become my 2020 fidget toy

I had a Rubik's Cube as a kid. Yeah, who didn't. I also had almost all the Rubik's puzzles: a 4-by-4-inch cube, and several versions of Rubik's Magic. But that original cube, while it always made me dream of other dimensions, also fried my brain. I never learned to solve more than a couple of sides, even with books to study. I gave up, and accepted the scrambled colors.

When I heard there was a Bluetooth-connected, phone-paired Rubik's Cube, designed for speed-cubers to time their fastest solving runs, I shrugged. I can't even solve one slowly. But I was wrong, so wrong. The connected cube is brilliant, and it's become a comfort blanket. It's a Cube That Solves Itself. Its extra training modes and mini-games make this one of the best surprise holiday gifts I can think of.

GoCube, the maker of Rubik's Connected, introduced its first connected cube years ago, but I missed the boat on that one. The first GoCube ($80) has a cradle charger and is a bit more fancy-looking, while the $60 Rubik-branded Connected Cube is less expensive and has a plug-in dongle-charger that charges up the cube (lasting weeks so far on a charge). The GoCube and Rubik's Connected Cubes both pair with a phone, connecting with an app that turns the cube into a motion-sensitive, connected toy.

The Connected Cube feels just like a regular Rubik's Cube, with smooth turning mechanisms and sticker-applied colors. The app knows how many turns your cube has been through, and all you have to do is line up the center colors to match an on-screen illustration. Then select the "solve" button, and instructions pop up. Follow them, and your cube is back to perfect form like magic.

That sounds like cheating, but it's also part of the learning process. Another subsection of the app goes through learning how to solve the cube, teaching step-by-step turn algorithms. This process still fried my brain, but I'll keep trying.

The app also has some clever mini-games, using the turning cube to play games like some sort of Rubik's controller. There's a Guitar Hero-like rhythm music game, a Simon pattern-matching game and a few others. The app also is a gateway to register speed runs for cube solving, and games aimed solely at time-testing those skills.

I don't know if I'll really use the app with the Connected Cube forever, or if I'll lose interest. But the real point is, it's sort of like smart training wheels. It's an educational app for your Rubik's Cube. Eventually I might go it on my own, or follow YouTube videos and blogs. Consider the Connected Cube a special sort of smart instruction set.

It sits next to me now as I'm writing this. Fully solved. I know I can mess it up again at any time and still get it back to normal. It's comforting. If only the rest of the world were like this.
下载开源日报APP:https://openingsource.org/2579/
加入我们:https://openingsource.org/about/join/
关注我们:https://openingsource.org/about/love/