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

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

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

Связь: @sobolev_nikita
Download Telegram
​​Test #django schema and data migrations, including migrations' order.

https://github.com/wemake-services/django-test-migrations

And there's also an announcing post about how I got into the sutiation where I have to test my migrations: https://sobolevn.me/2019/10/testing-django-migrations

#python
Universal JavaScript is here.

Pika is a new kind of package registry for the modern web. 100% ESM. Write once, run natively on every platform.

Transpilation, bundling, type declarations, export mapping, modern browser optimizations, legacy browser support, unnecessary file trimming.

https://www.pika.dev/registry

#js
​​> Gone are the days when we developers were too shy/humble/introverted to promote our warez with the confidence and vigor necessary to draw a crowd.

> In fact, we may be experiencing an over-correction. Some of us are selling a bit too hard at times. With that in mind, here’s some help translating between how developers describe our software and what we might actually be thinking.

This is a great article about what word really mean these days. For example:

> “Simple”
> translation: This solves the single use-case I had in mind and literally zero others.
​​Vesper - HTTP Framework for Unix Shell

vesper is a collection of shell functions to make it super easy to generate valid http responses. Vesper is not a web server itself, its just the framework to parse http requests and generate valid responses.

This is crazy, who needs a http framework for unix shell?

That is a very good question! If you would have asked me that question a year ago, I would have argued: nobody. Now, I am not sure anymore. How will sh/bash scripts work in the future of cloud and serverless?

https://github.com/chris-rock/vesper

#shell
​​A one-click database. No server required.

https://easydb.io/

Clients exist for #js, #python, #ruby, and #shell
​​dovpanda = Directions OVer PANDAs

Directions are hints and tips for using pandas in an analysis environment. dovpanda is an overlay companion for working with pandas in an analysis environment.
It is an overlay module that tries to understand what you are trying to do with your data, and helps you make you code more concise with readable.
If you think your task is common enough, it probably is, and pandas probably has a built-in solution. dovpanda will help you find them.

Looks like a linter for pandas!

https://github.com/dovpanda-dev/dovpanda

#python
​​Flowy makes creating WebApps with flowchart functionality an incredibly simple task. Build automation software, mind mapping tools, or simple programming platforms in minutes by implementing the library into your project.

https://github.com/alyssaxuu/flowy

#js
Incremental Type-Driven development with #elm

The help from the compiler is amazing in this demo. Starting to think about production with #elm more and more often.
​​We have a new #js framework! Again!

But, this one is cool. This is a framework for the HTML you already have. Just one <script> tag and you are all set.

A simple tool for composing javascript behavior in your markup.

https://github.com/calebporzio/project-x

Reminds me of https://github.com/stimulusjs/stimulus, but easier.
A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018 (nothing has really changed!) #noyaml

Link: https://noyaml.com
Source: https://github.com/ghuntley/noyaml

Problems discussed in the project above can be solved with awesome tools like nix and dhall:
- https://builtwithnix.org/
- https://github.com/dhall-lang/dhall-lang

But, they are written in #haskell and so they are very unfriendly, which is a very haskell thing.

#devops
#python Object-Oriented Web Framework built on Flask.

https://mardix.github.io/assembly/

Looks like Django to me!
Breaking news!

#django 3.0 released.

With first-step asyncio support. I am still not sure about this: it might be a complete disaster, or it might resolve in first truly usabe async python web framework. (in case you really believe that there's something async in #python)

Let's see how it goes!

https://www.djangoproject.com/weblog/2019/dec/02/django-3-released/
This is insane! This utility strips everything you do not need from an image and creates a new image with just the bare necessities.

Look at the image size!

https://github.com/mvanholsteijn/strip-docker-image

But, it surely won't work for complex app images.

#devops #docker
​​#rust macros which provide useful shortcut combinators, combine sync/async chains, support single and multi thread (sync/async) step by step execution of branches, transform tuple of results to result of tuple.

Very powerful and pretty dark magic.

https://github.com/olegnn/join
Linting dotenv files like a charm!

Why?
1. This brings consistency for your .env files
2. Ensures that .env files have correct syntax and values

Read this post for more details: https://sobolevn.me/2019/01/announcing-dotenv-linter

Github repo: https://github.com/wemake-services/dotenv-linter

#python

Now with beautiful Github Action that can review and comment your pull requests:
​​Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.

https://github.com/mail-in-a-box/mailinabox

#python
​​A module used to arrange card elements including content infinitely according to layout type. With this module, you can implement various layouts composed of different card elements whose sizes vary. It guarantees performance by maintaining the number of DOMs the module is handling under any circumstance.

With built-in integrations for #vue, #react, #angular, and #svelte

https://github.com/naver/egjs-infinitegrid
​​Reverse engineer PostgreSQL database as a detailed #js Object.

https://www.pg-structure.com/