Live data from Hacker News

Viewing profile — ambivalence

ambivalence

HN member
Joined
Thu, Apr 30, 2009, 10:17 PM UTC
HN karma
841
Public activity
119 items

About ambivalence

Łukasz Langa. CPython Developer in Residence. Python 3.8 and 3.9 release manager. Creator of Black, an opinionated code formatter.

Contact information in the KeyBase link below.

[ my public key: https://keybase.io/ambv; my proof: https://keybase.io/ambv/sigs/YFlWGlv21O-p2KBCGkahQq5QvzaW2fYVzzXGYMEreM8 ]

$2a$11$70w6J.UbVsGwuTMIvSTq5Oh97csRvkT9bz2BuWASdYI1W4MhnMDU2

Recent public activity

  1. comment
    Comment #47271959

    What the other person is trying to explain to you is that your Yubikey solution fails the following scenario: you leave your laptop at school. With TouchID, nobody can unlock it. W…

  2. comment
    Comment #43320653

    A big chunk of the performance gain comes from the fact that with tail calls the CPU doesn't have to reset the registers (configured through the `preserve_none` calling convention)…

  3. comment
    Comment #43320614

    Simon Willison is a great guy, but he's not a Python core developer and his ad hoc benchmark is not what the CPython core team members are using. For the latter, see https://github…

  4. comment
    Comment #43182264

    Wouldn't kill them to mention that all the heavy lifting is done by Pyodide.

  5. comment
    Comment #43182249

    > I'd maybe quibble with "running natively on WebAssembly with speed in the same order of magnitude as Rust" given I expect that statement would be just as true if you replaced Rus…

  6. comment
    Comment #43182152

    Work on what you want, so don't let me deter you. But in my personal case, what pushed me from fish to xonsh was that I could never quite internalize the way it wanted to do functi…

  7. comment
    Comment #43182105

    Not impressed with tako. Replaces the BSD license with GPL for mostly removing functionality and reverts. It looks unmaintained. Last release 5 years ago, documentation is sporadic…

  8. comment
    Comment #43178926

    Markdown is plaintext so you decide what it means. I personally write *italic* and **bold**, so I can use _underline_. Most Markdown to HTML converters would make the last example …

  9. comment
    Comment #43178892

    I wholeheartedly agree with this post. I also keep my notes in Markdown, I also have plenty of Python scripting around them, including automatic publishing of my website. I use FSN…

  10. comment
    Comment #43178670

    Not sure how much "trust" I actually need there. It's mostly convenience for me where it's easy to kill results from websites you never want to see again. This process allows for g…

  11. comment
    Comment #43178627

    Xonsh is a fantastic shell. I literally think they are most hindered by the name at this point, since it's one of those clever names that are pronounced in a peculiar way and one t…

  12. comment
    Comment #36914088

    You know that people change their minds and now Guido is working as part of a team at Microsoft that is literally called "Faster CPython"?

  13. comment
    Comment #36615350

    > Even the most perfectly-written Python code will still be dog-slow and require an enormous budget to actually run at scale. Nah, asyncio on uvloop is plenty fast.

  14. comment
    Comment #36614706

    It is on Mastodon as well, actually: https://mastodon.social/@ambv/110665808046065754

  15. comment
    Comment #36614700

    If you want real irony here, it's this: powering an app called Threads with Python that's got a global interpreter lock which makes threading hard. Get it? Threads, threading...? O…

  16. comment
    Comment #36614622

    In short: static analysis, unit tests, staging environments, effective log aggregation. The first one is a big productivity booster as it shows you bugs before you commit them. Her…

  17. comment
    Comment #36614583

    A fair point about what? Threads is out for less than a day, I have 8 followers there so far. I originally posted this information on Mastodon, actually: https://mastodon.social/@a…

  18. comment
    Comment #36614497

    The fork is where the tweaks live.

  19. comment
    Comment #31836300

    There are three related terms: mocking, faking, and stubbing. They mean subtly different things, which the article points out. The author prefers the last one, and uses the middle …

  20. story
  21. comment
    Comment #30131374

    As long as you can easily review code side-by-side with line numbers intact, you're good. The default was chosen for lower resolution 13" laptop monitors to be able to display the …

  22. comment
    Comment #30131360

    Yes, and yes. Edit: and yes.

  23. comment
    Comment #30131313

    This is now improved. Black is compiled with mypyc, should be roughly 2X faster than before.

  24. comment
    Comment #30130566

    This was decided very early in the project, the discussion can be read here: https://github.com/psf/black/issues/51

  25. comment
    Comment #29011063

    Thanks for the link. I just moved the website to Netlify from Fastmail. Hopefully the DNS on your side will update soon.