Better HN
topnewbestaskshowjobs
Log inSign up

sobolevn

26 karma · joined Sep 28, 2016 (10y ago) · 39 submissions

Submissions

1.

Django-modern-rest 0.16.0 release

5 points · by sobolevn · 1mo ago · discuss

2.

Python Code Quality with Agents(github.com ↗)

3 points · by sobolevn · 3mo ago · discuss

comment 7mo ago · link · parent

<3

I also have a very warm relationship with Django. I used it for my first ever Python project back in 2010. And it made me to ditch Java and come to Python land. Great memories!

4.

Show HN: Django-Modern-Rest(github.com ↗)

6 points · by sobolevn · 7mo ago · 2 comments

comment 1y ago · link · parent

That's quite unexpected that Citus is not always ACID. I wonder if there are other PostgreSQL extensions, which are ACID

6.

Higher Kinded Types in Python(sobolevn.me ↗)

1 points · by sobolevn · 6y ago · discuss

7.

How async should have been in Python(sobolevn.me ↗)

4 points · by sobolevn · 6y ago · discuss

comment 6y ago · link · parent

Hi, author of `returns` here! Thanks a lot for sharing this link.

I would love to highlight several features of `0.14` release we are working on right now:

1. Typed `partial` and `curry` functions: https://returns.readthedocs.io/en/latest/pages/curry.html

2. `Future` and `FutureResult` containers for working with async Python! https://returns.readthedocs.io/en/latest/pages/future.html

3. Typed functional pipelines with very good type inference: https://returns.readthedocs.io/en/latest/pages/pipeline.html

It is going to be released soon, stay tuned!

comment 6y ago · link · parent

There's a better solution: use open-source cli tools that do just that!

1. 520 Python checks? Use `wemake-python-styleguide` (wrapper around flake8) that has bigger amount of checks: https://github.com/wemake-services/wemake-python-styleguide There's also `pylint` with a set of awesome checks as well.

2. Type checking? Use `mypy`: it just a single command!

3. Autofixing? Use `black` / `autopep8` / `autoflake` and you can use `pybetter` to have the same ~15 auto-fix rules. But, it is completely free and open-source

I don't like this whole idea of such tools (both technically and ethically):

- Why would anyone want to send all their codebase to 3rd party? We used to call it a security breach back in the days

- On moral side, this (and similar) projects look like thin wrappers around open-source tools but with a monetisation model. How much do these companies contribute back to the original authors of pylint, mypy, flake8? Ones who created and maintained them for years. I will be happy to be wrong here

10.

Do Not Log(sobolevn.me ↗)

3 points · by sobolevn · 6y ago · discuss

11.

How to write good quality Python code with GitHub Actions(medium.com ↗)

1 points · by sobolevn · 6y ago · discuss

12.

Conditional Python Coverage(sobolevn.me ↗)

1 points · by sobolevn · 6y ago · 1 comment

13.

Show HN: Conditional Coverage Plugin for Python(github.com ↗)

1 points · by sobolevn · 6y ago · discuss

14.

Typed Functional Dependency Injection in Python(reddit.com ↗)

1 points · by sobolevn · 6y ago · discuss

15.

Show HN: Dry-Python/returns 0.13 – typed Reader and IOResult monads(github.com ↗)

2 points · by sobolevn · 6y ago · discuss

16.

Show HN: GitHub Action to review and comment on your Python pull requests(wemake-python-stylegui.de ↗)

1 points · by sobolevn · 7y ago · discuss

17.

Show HN: Tool to Test Django Migrations(sobolevn.me ↗)

3 points · by sobolevn · 7y ago · 1 comment

18.

Complexity Waterfall(sobolevn.me ↗)

1 points · by sobolevn · 7y ago · discuss

19.

Collection of awesome Python types, stubs, plugins, and tools to work with them.(github.com ↗)

3 points · by sobolevn · 7y ago · discuss

20.

Typing Vue(sobolevn.me ↗)

1 points · by sobolevn · 7y ago · discuss

21.

From Flow to TypeScript. Why?(sobolevn.me ↗)

2 points · by sobolevn · 7y ago · discuss

22.

Use callable classes, SRP, DI, and composition to write simple Python code(sobolevn.me ↗)

3 points · by sobolevn · 7y ago · discuss

comment 7y ago · link · parent

Thanks, my idea was to state the problem and propose a solution. Hope, that you will find `returns` helpful.

24.

Python exceptions considered an anti-pattern(sobolevn.me ↗)

47 points · by sobolevn · 7y ago · 65 comments

25.

Simple dependent types in Python(sobolevn.me ↗)

1 points · by sobolevn · 7y ago · discuss

26.

Simple dependent types in Python(dev.to ↗)

2 points · by sobolevn · 7y ago · discuss

27.

Best engineering practices: how to fix a bug?(dev.to ↗)

1 points · by sobolevn · 7y ago · discuss

12