Nikita Sobolev

sobolevn.me · Personal blog · on HN since 2019

Nikita Sobolev is a Python developer who writes about typing, functional patterns, and software design, and maintains git-secret.

What HN saysHN users recommend his git-secret tool for encrypting secrets in repos, while his anti-pattern post on Python exceptions draws criticism from some commenters.
39HN people shared it
7linked it in comments
55stories submitted
360story points
1 year agolast shared
2019people per year2026

Most-shared posts

  1. 1
    Typeclasses in Python
    7 people · 25 points · first shared 2021 · discussion on HN
  2. 2
    Higher Kinded Types in Python
    7 people · 17 points · first shared 2020 · 1 comments on HN
  3. 3
    How async should have been in Python
    6 people · 11 points · first shared 2020 · 2 comments on HN
  4. 4
    Python exceptions considered an anti-pattern
    5 people · 49 points · first shared 2019 · 65 comments on HN
  5. 5
    Do Not Log
    4 people · 209 points · first shared 2020 · 148 comments on HN
  6. 6
  7. 7
    Strongly TypeScript Vue
    4 people · 5 points · first shared 2019 · discussion on HN
  8. 8
    Complexity Waterfall
    3 people · 6 points · first shared 2019 · discussion on HN
  9. 9
    Typechecking Django and DRF
    3 people · 5 points · first shared 2019 · discussion on HN
  10. 10
    Make tests a part of your app
    3 people · 5 points · first shared 2021 · discussion on HN
  11. 11
    Simple dependent types in Python
    3 people · 4 points · first shared 2019 · discussion on HN
  12. 12
    Git secret
    3 people · first shared 2023
  13. 13
    Engineering guide to writing correct User Stories
    2 people · 5 points · first shared 2019 · discussion on HN
  14. 14
    Typed Functional Dependency Injection in Python
    2 people · 3 points · first shared 2020 · discussion on HN
  15. 15
    Show HN: Tool to Test Django Migrations
    1 people · 3 points · first shared 2019 · 1 comments on HN

What HN people wrote when they linked it

Twey · 2023-12-30
A (correct) description of monads requires talking about higher-kinded types, which rules out those languages immediately, unless MyPy has come a long way since I last looked. Apart from that, frankly, I think that Haskell syntax (or just mathematical type syntax, which looks very similar) is so much cleaner when talking about higher-order functions that it's worth spending a little while explaining what `m a → (a → m b) → m b` means in the prerequisites of the article rather than have the reader have to wade through `Callable[[Kind[M, A]], Callable[[Callable[[A], Kind[M, B]]], Kind[M, B]]]` [1] for the rest of it. When you're trying to explain a novel topic, the last thing you want to force your reader to do is waste their brainpower counting brackets. [1]: https://sobolevn.me/2020/10/higher-kinded-types-in-python
richbell · 2024-11-27
I believe git-secret[0] does what you describe. The author of Lunar[1] uses it to hide the private elements in a public repo. [0]: https://sobolevn.me/git-secret/ [1]: https://github.com/alin23/Lunar/
Benjamin_Dobell · 2023-10-25
I've happily been using git-secret (https://sobolevn.me/git-secret/) for encrypting and committing non-critical (i.e. non-production) secrets for a while now. It sounds like Gittuf will do a lot more than git-secret, but for the use case of encrypted files specifically, are there any significant differences in the approach that Gittuf has taken?
guillemsola · 2023-10-12
This example on python exceptions on their sample queries... The second result is a very opinionated result about exceptions considered and anti pattern https://sobolevn.me/2019/02/python-exceptions-considered-an-antipatter… Maybe this was tweaked to be catchy for developers but I don't think is the right thing to see as the second entry. If you search for exceptions you want to learn how they work, that is what 99% of the people would need. An entry like this is dangerous for instance if you are just someone trying to learn about them. IMO this is a red flag about the quality for a search engine. Maybe they are just targeting seasoned tech people who would see this content interesting. But definitely not a search engine for the masses.
tuxxy · 2020-05-28
The project cites this blog post[0] on the "anti-pattern" that is Python exceptions, and I honestly couldn't be turned off on this project anymore after reading it if this is the inspiration behind it. The examples in the README and this blog post just give me huge "nope" vibes. Obviously Python could learn a lot more from functional programming, but this is the wrong way to go about a lot of it. 0. https://sobolevn.me/2019/02/python-exceptions-considered-an-antipatter…
detaro · 2019-02-11
The interesting bit starts at https://sobolevn.me/2019/02/python-exceptions-considered-an-antipatter… where it introduces a library for wrapping errors in return types, even if it got little to do with the headline. IMHO the article would be stronger with a title about what it presents and without the first half.

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close