Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skribanto
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
skribanto
5mo ago
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 each branch separately. With jj you can timetravel the state of
2.
▲
by
skribanto
8mo ago
rerere can help, but OP probably has their own workflow
3.
▲
by
skribanto
9mo ago
Why couldnt you flatten it?
4.
▲
by
skribanto
10mo ago
swap with last element then truncate at the end
5.
▲
by
skribanto
11mo ago
Well, it can make some chained function composition easier. Ick1 result1 = potentiallyNull1(); Ick2 result2 = (result1 == null) ? null : potentiallyNull2(result1); Ick3 result3 = (result2 == null) ? null : potentiallyNull3(result2);
6.
▲
by
skribanto
1y ago
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 audio, noise in general, humans are (were?) much b
7.
▲
by
skribanto
1y ago
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 being at least somewhat influenced by our subjective affecti
8.
▲
by
skribanto
1y ago
Well, recursion is well-structured and can be reasoned about through induction. Goto is unstructured…
9.
▲
by
skribanto
1y ago
I don’t think I follow, do you mind giving a concrete example?
10.
▲
by
skribanto
2y ago
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 userspace
11.
▲
by
skribanto
2y ago
I believe int[6] can still be passed to static 5 but I would have to double check
12.
▲
by
skribanto
2y ago
Looks fine to me
13.
▲
by
skribanto
2y ago
I like to wrap it in a venv (pure python project) or nix flake (mixed languages)
14.
▲
by
skribanto
2y ago
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 comparisons as symmetric operations. Left Leaning Red Black Trees
15.
▲
by
skribanto
2y ago
A follow up from the same author https://blog.codinghorror.com/web-discussions-flat-by-design...
16.
▲
by
skribanto
2y ago
Interesting side note: the blog is generated with the C preprocessor https://aartaka.me/this-post-is-cpp
17.
▲
by
skribanto
2y ago
e4 d5 e5 f5 exf6 This simple en passant works
18.
▲
by
skribanto
2y ago
I use Sidebery for tab groups, but it would be nice to have it built in
19.
▲
by
skribanto
3y ago
At least in safari, you can hit the AA button and increase the font size there.
20.
▲
by
skribanto
3y ago
Aren’t fruits only plants which contain seeds? Like a celery would not be a fruit
21.
▲
by
skribanto
3y ago
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.
▲
by
skribanto
3y ago
These virtues are promoted by Christianity as well
23.
▲
by
skribanto
3y ago
Without it, it would pass the current location, that is the location inside that test function, rather than the original parent call.
24.
▲
by
skribanto
3y ago
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 restriction that all public fields must be at the start, and you
25.
▲
by
skribanto
3y ago
Austral has been looking good to me as a potential "rust-lite". It's still in the very early stages though.
26.
▲
by
skribanto
3y ago
For me, tap hold is kind of iffy. If I set the hold delay short enough that it doesn’t feel sluggish, it becomes too easy to misfire it while trying to type. That’s just my experience though, I’ve come to prefer dedicated keys for each in a
27.
▲
by
skribanto
3y ago
Getting 502 Bad Gateway
28.
▲
by
skribanto
3y ago
In my brief acme foray, I somehow bound a keyboard press to middle click? Dont quite remember the details
29.
▲
by
skribanto
3y ago
According to Krashen, effort is not needed for comprehensible input to be effective. Rather, it is more likely that you are simply not consuming enough comprehensible input
30.
▲
by
skribanto
3y ago
Does HN really think this? 99% of people will have neutral to negative impact on the world 10 yrs post mortem. None of us are the target audience is this article
More ›