Live data from Hacker News

Viewing profile — skribanto

skribanto

HN member
Joined
Thu, Jan 27, 2022, 4:30 PM UTC
HN karma
48
Public activity
60 items

About skribanto

No profile information was provided.

Recent public activity

  1. comment
    Comment #47791351

    From my understanding git reflog works on refs and jj op log works on fhe repo as a whole. E.g. if I rebase some stacked branches then I want to undo it, with git I would reset eac…

  2. comment
    Comment #46604401

    rerere can help, but OP probably has their own workflow

  3. comment
    Comment #46336450

    Why couldnt you flatten it?

  4. comment
    Comment #45995428

    swap with last element then truncate at the end

  5. comment
    Comment #45561771

    Well, it can make some chained function composition easier. Ick1 result1 = potentiallyNull1(); Ick2 result2 = (result1 == null) ? null : potentiallyNull2(result1); Ick3 result3 = (…

  6. comment
    Comment #44285675

    maybe it’s better now, but at last time I checked (~2 years ago) humans are still better in jargon heavy contexts - legal as you mentioned, tech/medical/etc. also accents, muffled …

  7. comment
    Comment #44093103

    My interpretation is that as engineers, we attempt to justify all of our choices through purely rational means. However, as humans, we cannot really make said choices without also …

  8. comment
    Comment #43838829

    Well, recursion is well-structured and can be reasoned about through induction. Goto is unstructured…

  9. comment
    Comment #43473439

    I don’t think I follow, do you mind giving a concrete example?

  10. comment
    Comment #41770554

    Well the main point is that there are changes that for most languages would need a change in the compiler/interpreter itself. However in lisp those kinds of things can be done in u…

  11. comment
    Comment #41672791

    I believe int[6] can still be passed to static 5 but I would have to double check

  12. comment
    Comment #41351848

    Looks fine to me

  13. comment
    Comment #41098295

    I like to wrap it in a venv (pure python project) or nix flake (mixed languages)

  14. comment
    Comment #40778039

    Left leaning red black trees enforce extra constraints, which remove symmetries. This actually adds an edge case when instead you can just treat left/right rotations and comparison…

  15. comment
    Comment #40631835

    A follow up from the same author https://blog.codinghorror.com/web-discussions-flat-by-design...

  16. comment
    Comment #40470823

    Interesting side note: the blog is generated with the C preprocessor https://aartaka.me/this-post-is-cpp

  17. comment
    Comment #40350125

    e4 d5 e5 f5 exf6 This simple en passant works

  18. comment
    Comment #39985954

    I use Sidebery for tab groups, but it would be nice to have it built in

  19. comment
    Comment #39704100

    At least in safari, you can hit the AA button and increase the font size there.

  20. comment
    Comment #39288008

    Aren’t fruits only plants which contain seeds? Like a celery would not be a fruit

  21. comment
    Comment #38713991

    You can approximate it by maintaining some kind of vtable, but it can get messy, especially if you need to implement multiple traits/interfaces.

  22. comment
    Comment #37693206

    These virtues are promoted by Christianity as well

  23. comment
    Comment #36819665

    Without it, it would pass the current location, that is the location inside that test function, rather than the original parent call.

  24. comment
    Comment #36762381

    Maybe have your public fields defined as a second struct, and then you can cast the pointer to your struct to the concrete struct that has all the public fields. This has the restr…

  25. comment
    Comment #36753545

    Austral has been looking good to me as a potential "rust-lite". It's still in the very early stages though.