HackerTrans
TopNewTrendsCommentsPastAskShowJobs

znkr

no profile record

Submissions

Diff Algorithms

flo.znkr.io
289 points·by znkr·há 9 meses·62 comments

comments

znkr
·há 14 dias·discuss
We put asterisks next to proofs that use the axiom of choice. If a machine comes up with proof that’s not verifiable by humans, you can very well be sure that there will be asterisks.
znkr
·há 20 dias·discuss
+1 The worst code I had to maintain was code that tried to follow DRY (without the trying to understand what the original intention of that principle was). The only way out of that mess was widespread code duplication.
znkr
·há 21 dias·discuss
> It makes even less sense in an era of LLMs.

I would argue that out makes even more sense in the era of LLMs. LLM shaped tasks are tasks that we would hand out to junior engineers. Now, I can implement one of these tasks in 1hr instead of waiting for a junior engineer to finish this in 1-3 days. This means the equation for investing in junior engineers has shifted towards disfavoring investment.
znkr
·há 3 meses·discuss
Moving running computers around and maintaining connection would have required large trucks and very long cables at the time the internet was invented.
znkr
·há 4 meses·discuss
> If a project in an unsafe language has ever had a memory bug (I'm looking at you, Bun), the maintainers objectively have a track record of not being capable of manual memory management. You wouldn't put a person who has a track record of crashing busses at the wheel of a school bus.

If you’re serious, you should stop using Rust (which happens to contain an unsafe language): https://github.com/rust-lang/rust/issues/44800
znkr
·há 7 meses·discuss
LISP ;-)
znkr
·há 7 meses·discuss
I am sure they have this. What tends to happen is that the gradual rollout system becomes too slow for some rare, low latency rollout requirements, so a config system is introduced that fulfills the requirements. For example, let’s say you have a gradual rollout for binaries (slow) and configuration (fast). Over time, the fast rollout of the configuration system will cause outages, so it’s slowed down. Then a requirement pops up for which the config system is too slow and someone identifies a global system with no gradual rollout (e.g. a database) to be used as the solution. That solution will be compliant with all the processes that have been introduced to the letter, because so far nobody has thought of using a single database row for global configuration yet. Add new processes whenever this happens and at some point everything will be too slow and taking on more risk becomes necessary to stay competitive. So processes are adjusted. Repeat forever.
znkr
·há 8 meses·discuss
Maybe it helps to think of matrix multiplication as a special case of the composition of linear transformation. In the finite dimensional case they can be expressed as matrix multiplications.
znkr
·há 8 meses·discuss
The whole article starts with the implicit assumption that all bases are orthonormal and then throws linear algebra out of the window completely.
znkr
·há 9 meses·discuss
Bismarck was afraid of workers unionizing and transformed a working healthcare system owned by workers into a state owned one. That move significantly reduced the utility of worker unions, which was the goal behind it.
znkr
·há 9 meses·discuss
I don’t think it’s a wordplay with the r-word, but rather a reference to the famous Shakespeare quote: “Hoist with his own petard”. It’s become an English proverb. (A petard is a smallish bomb)
znkr
·há 9 meses·discuss
Search for memory wall. Moore’s law died a decade ago for DRAM
znkr
·há 9 meses·discuss
I actually used the examples from that paper for testing. The results that they are showing in the paper are different from mine and I think that git changed as well. I believe the conclusions from that paper no longer hold.
znkr
·há 9 meses·discuss
Good point, thanks!
znkr
·há 9 meses·discuss
One use case where I never want to miss it is in tests: Understanding what the differences between the expectation and the actual result are is invaluable.
znkr
·há 9 meses·discuss
A minimal diff is one where the number of edits is minimal. The context around edited lines does not count as edits, because they are matching lines. That said, minimal is definitely only a proxy, that’s why is a good property to relax.
znkr
·há 11 meses·discuss
> Even if something does align better with real numbers, it's still just x+0i

Beware, it’s not always useful to work in complex numbers, you sometimes want to do something different for reals and complex numbers. The prime example here is complex analysis. Defining differentiation is based on limits, on the complex plane there are a lot more directions to approach a limit vs just two on the real line. This has some interesting implications. For example, any function differentiable on the complex plane is infinitely differentiable.