Better HN
topnewbestaskshowjobs
Log inSign up

meithecatte

939 karma · joined Jun 29, 2019 (7y ago) · 198 submissions

Submissions

61.

Karatsuba's Multiplication Trick Summarized in 1 Minute [video](youtube.com ↗)

3 points · by NieDzejkob · 5y ago · discuss

comment 5y ago · link · parent

I can't seem to find any other instance of this comment.

comment 5y ago · link · parent

How hard would it be to prove correctness of this quicksort in an example?

comment 5y ago · link · parent

Does the 700 LoC core include a termination checker? If I understood your other comments correctly, that's planned for later, no? If so, I don't think this is a very apples-to-apples comparison.

comment 5y ago · link · parent

Perhaps that's on purpose? If a tile is being selected only sometimes, you can infer things from that.

comment 5y ago · link · parent

Looks like you didn't even bother to test your claim.

comment 5y ago · link · parent

Just fired up the server and that does indeed break it. I suppose openat2 with RESOLVE_BENEATH and AT_FDCWD would be a bullet-proof fix, but that's not very codegolf.

comment 5y ago · link · parent

Huh, any reason to use printf("%s\n",...) instead of puts?

69.

How the Earth was destroyed (2006)(qntm.org ↗)

1 points · by NieDzejkob · 5y ago · discuss

comment 5y ago · link · parent

GP does say that the amount of tabs actually running still exceeds the number quoted by GGP

comment 5y ago · link · parent

That sounds like something that could be solved with a linter for prose. Though, I can't think of the search terms that would let me find such a solution, if it exists.

comment 5y ago · link · parent

Ah, it's still exponential, but in the size of the type, and the constants of the complexity are a bit different, so you need around x30.

comment 5y ago · link · parent

The fact that x1 is \y -> (y, y) is superficial, though. Something like x1 = Just also increases exponentially, and makes clear that using a deduplicated DAG for representing type terms doesn't solve this.

comment 5y ago · link · parent

It still needs to ensure that one of the arms will always match. (just not executing any branch in that case is tricky, because the arms can return values)

75.

Compiling Rust is NP-hard(niedzejkob.p4.team ↗)

8 points · by NieDzejkob · 5y ago · 1 comment

comment 5y ago · link · parent

It is a feature present on some headsets, though...

77.

Branches: No Assembly Required(niedzejkob.p4.team ↗)

11 points · by NieDzejkob · 5y ago · discuss

comment 5y ago · link · parent

> Backblaze has no redundancy.

That does not seem to be the case.

https://help.backblaze.com/hc/en-us/articles/217667468-B2-Se...

comment 5y ago · link · parent

I can't see how you'd even begin to think that.

80.

No branches? No problem – a Forth assembler(niedzejkob.p4.team ↗)

4 points · by NieDzejkob · 5y ago · discuss

comment 5y ago · link · parent

So you're claiming that needing help to fix an issue in a language you don't at all know is bad? How is it supposed to work otherwise? In my opinion, the fact that you have an option of asking an expert in this situation is a good thing.

comment 5y ago · link · parent

This reminds me of this video on a text processing example with Forth: https://www.youtube.com/watch?v=mvrE2ZGe-rs

comment 5y ago · link · parent

Workarounds exist, like for every other example I mentioned. I am mostly referring to the commonly used dependency graph.

comment 5y ago · link · parent

I suppose that prior art influences things. In my case, I went "a separate text editor won't fit, I need a REPL", and that basically filtered to just Forth and Lisp. It would be interesting to see what subset of Lisp would fit in a bootsector, but I wouldn't get my hopes up.

85.

Ask HN: Should a User Subscribe to a Blog

1 points · by NieDzejkob · 5y ago · 1 comment

comment 5y ago · link · parent

Another solution that seems to be Android-only: YouTube Vanced. Includes AdBlock, SponsorBlock (if enabled in settings), and other Premium features like picture-in-picture and listening to music in the background.

comment 5y ago · link · parent

Yes, they are highlighting the importance of research towards model explainability.

comment 5y ago · link · parent

Apart from adapting proprietary or hard-to-compile software to non-FHS distros like NixOS or Guix, what are the usecases of patchelf?

comment 5y ago · link · parent

Except that brainfuck was actively designed to make programming difficult, and as you can only increment and decrement, the performance is abysmal.

comment 5y ago · link · parent

Perhaps I'm blind, but I can't actually see the number of commits on this page.
1234567