Находки в опенсорсе
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
standard.js maintainer decided to include ads in the terminal output.

All internet is now going on him. But, his point was missed. He spent more than 3000 unpaid hours to create and maintain popular projects that thousands of people use everyday.

So, maybe that's not so wrong?
Legendary github issue from 2013. When one user suggested that it is better to use Category Theory for bulding #js Promises. His request was declined due to "API simplicity", because monads:

> Totally ignore reality in favor of typed-language fantasy land

We all know that in 2019 Promises in #js are monadic and API was changed. Simple is really hard.
​​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