Находки в опенсорсе
10.6K subscribers
11 photos
1 video
3 files
816 links
Привет!

Меня зовут Никита Соболев. Я занимаюсь опенсорс разработкой полный рабочий день.

Тут я рассказываю про #python, #c, опенсорс и тд.
Поддержать: https://boosty.to/sobolevn
РКН: https://vk.cc/cOzn36

Связь: @sobolev_nikita
Download Telegram
​​Sorbet is 100% compatible with #ruby. It type checks normal method definitions, and introduces backwards-compatible syntax for method signatures: https://sorbet.org/
#ruby on rails 6.0 release: https://weblog.rubyonrails.org/2019/8/15/Rails-6-0-final-release/

Interesting. I thought that ruby is dead...
​​dry-effects is a practical, production-oriented implementation of algebraic effects in #ruby.

https://dry-rb.org/gems/dry-effects/0.1/
Great talk with a great name: "Ruby is Dead"

But. This talk is not about just some specific problems in #ruby on its own, it spreads an inportant idea: "Programmers want tools, not toys". Sadly, that's what #python started to do: shipping toys.

One more fun fact: this talk uses #php as an example of good language evolution. And I tend to agree.
​​Ma, a #ruby micro library: events as first class citizens. It also supports async events as well.

https://gitlab.com/kris.leech/ma
​​A one-click database. No server required.

https://easydb.io/

Clients exist for #js, #python, #ruby, and #shell
​​> Every time I want to write format a date in Ruby using strftime I have to look up the symbols for month, year, etc.

> This tool lets you just write your desired outcome (e.g. "March 3rd, 2019") and it generates the right #ruby code for you

Date strings are compatible with some other languages as well.

http://strftimer.com/
​​Breaking news!

Introducing Hanami::API: It's a minimal, extremely fast, lightweight Ruby framework for HTTP APIs.

http://hanamirb.org/blog/2020/02/26/introducing-hanami-api.html

#ruby
Integrating new code quality tools into existing legacy is always hard.

Here's a good article about integrating RuboCop into existing #ruby code.

We are also working on adding a single command integration of wemake-python-styleguide into an existing #python legacy. Currently it is a WIP, but you can already read about it here: https://github.com/wemake-services/wemake-python-styleguide/pull/1276/files#diff-a767531552fe775f5be950388425b154R28

More tools and articles about this to come!
​​Artichoke is a #ruby made with #rust

If Artichoke does not run Ruby source code in the same way that MRI does, it is a bug. MRI compatibility means supporting a C API, if possible.

Pack a Ruby VM, application source code, configuration, and native extensions into a single-file bundle. Easy distribution without requiring installation of a Ruby VM.

Artichoke also compiles to WebAssembly with Emscripten. We plan to support compiling for wasm32-unknown-unknown targets.

https://www.artichokeruby.org/