HackerTrans
TopNewTrendsCommentsPastAskShowJobs

olliemath

no profile record

comments

olliemath
·2 anni fa·discuss
Actually most of the LLMs algos are less efficient than the readable human one, even with only two nested loops. Only one of them precalculates the factors which makes the biggest difference (there are log2(N) factors, worst case, for large N and a triple loop over those is better than a double loop over 1..N).
olliemath
·2 anni fa·discuss
I've used pypy on large codebases for years. Generally it's fine so long as you don't need any of the packages that are thin wrappers around C/fortran. It seems a lot of maintainers these days are pretty good about considering it as a target

On the other hand the memory footprint can be painful - not just the deferred garbage collection of things like weakrefs and closed files, but even regular objects. A while back I had hope that the faster cpython project would somewhat remove our need to use it, just so we could have a lower memory footprint, but that seems to have stalled
olliemath
·2 anni fa·discuss
Speaking as somebody who has had to debug why servers were ignoring changes to the configs in our git repos, this is a welcome change.

It's a shame there are ways to bypass it, but at least it communicates the intent: you aren't supposed to modify this system without modifying the actual config
olliemath
·2 anni fa·discuss
zoxide is great - in fact I tend to just alias cd to zoxide in my bashrc