Находки в опенсорсе
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
​​Sampler is a tool for #shell commands execution, visualization and alerting. Configured with a simple YAML file: https://github.com/sqshq/sampler
Golden article about function color and async/await syntax problems.
​​mdr is a program and markup designed to facilitate documentation and testing.

Written in #haskell, suitable for all languages: https://github.com/fennecdjay/mdr
First impressions on #github sponsors from dry-rb creator.

> It can become a job and for many Open Source contributors it does become their second job. The problem? Nobody really has the time to do this job and to make things worse barely any Open Source contributor is being paid to do it. As a result many contributors flip the table and quit. This is the reason why I am very happy to see GitHub Sponsors!
​​Pony is an object-oriented, actor-model, type-safe, memory-safe, exception safe, data-race free, deadlock free, capabilities-secure programming language. https://tutorial.ponylang.io/

#pony
​​A battle-tested PostgreSQL client with strict types, detailed logging and assertions: https://github.com/gajus/slonik

#js
#tarantool is forked by the main contributor, the project future is now unclear: https://groups.google.com/forum/#!topic/tarantool/XjnDemkP3RY

#lua
#python #mypy

Have you ever tried to:

- Create complex generic types in your own project?
- Write distributable stubs for your library?
- Create custom mypy plugin?
- Write custom type-checker?

In case you try to do any of these, you will soon find out that you need to test your types. Wait, what? Testing types?!
​​Right after Nominal Types #ts might also get Optional Chaining.

PR is already available: https://github.com/microsoft/TypeScript/pull/33294
​​#python tool to build images from other images. Sounds crazy, looks amazing!

https://github.com/nuno-faria/tiler
​​dump-env - a #python utility tool to create .env files.

dump-env takes an .env.template file and some optional environmental variables to create a new .env file from these two sources. No external dependencies are used.

https://github.com/sobolevn/dump-env
ORMs are something that seem cool until you have to do anything with them, and then they just get in the way. Their promises (backend-agnostic, write type-safe native code, less boilerplate) sometimes have a catch and sometimes are just false.

The reason for this is that ORMs are backwards: they force you to design schemas in your implementation language (python, javascript, java) and then export them to #sql ‘somehow’. (The ‘somehow’ is usually a half-baked migration tool). This is bad for a lot of reasons and horrible if you want to access your data from another language.
​​SHIP: Shell Helper to Initialize (dockerfiles) in a new Project: https://github.com/augustohp/ship

#docker
​​WebAssembly runtimes (e.g. browsers) are slightly diverging in which features they support.

So here’s wasm-feature-detect — think modernizr, but for #wasm.

- Detectors for various WebAssembly proposals
- Tiny (~600B)
- Easy to augment and contribute

https://github.com/GoogleChromeLabs/wasm-feature-detect
​​New PEP to #python! Adding a frozenmap type to collections: https://www.python.org/dev/peps/pep-0603/

At last! That's the first feature in a long time that was really required. Not :=!