Viewing profile — skribanto
skribanto
HN member- Joined
- Thu, Jan 27, 2022, 4:30 PM UTC
- HN karma
- 48
- Public activity
- 60 items
- HN profile
- View on Hacker News ↗
About skribanto
No profile information was provided.
Recent public activity
-
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…
-
comment
Comment #46604401
rerere can help, but OP probably has their own workflow
-
comment
Comment #46336450
Why couldnt you flatten it?
-
comment
Comment #45995428
swap with last element then truncate at the end
-
comment
Comment #45561771
Well, it can make some chained function composition easier. Ick1 result1 = potentiallyNull1(); Ick2 result2 = (result1 == null) ? null : potentiallyNull2(result1); Ick3 result3 = (…
-
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 …
-
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 …
-
comment
Comment #43838829
Well, recursion is well-structured and can be reasoned about through induction. Goto is unstructured…
-
comment
Comment #43473439
I don’t think I follow, do you mind giving a concrete example?
-
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…
-
comment
Comment #41672791
I believe int[6] can still be passed to static 5 but I would have to double check
-
comment
Comment #41351848
Looks fine to me
-
comment
Comment #41098295
I like to wrap it in a venv (pure python project) or nix flake (mixed languages)
-
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…
-
comment
Comment #40631835
A follow up from the same author https://blog.codinghorror.com/web-discussions-flat-by-design...
-
comment
Comment #40470823
Interesting side note: the blog is generated with the C preprocessor https://aartaka.me/this-post-is-cpp
-
comment
Comment #40350125
e4 d5 e5 f5 exf6 This simple en passant works
-
comment
Comment #39985954
I use Sidebery for tab groups, but it would be nice to have it built in
-
comment
Comment #39704100
At least in safari, you can hit the AA button and increase the font size there.
-
comment
Comment #39288008
Aren’t fruits only plants which contain seeds? Like a celery would not be a fruit
-
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.
-
comment
Comment #37693206
These virtues are promoted by Christianity as well
-
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.
-
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…
-
comment
Comment #36753545
Austral has been looking good to me as a potential "rust-lite". It's still in the very early stages though.