HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bduffany

53 karmajoined 5 anni fa

comments

bduffany
·20 giorni fa·discuss
I think you're right. Performance profile shows lots of long spans relating to that element, and deleting that element makes the page scroll much more smoothly.

There are still other issues though. The performance of this page feels pretty bad in general.
bduffany
·mese scorso·discuss
The performance of the "Layout blocks" component is particularly bad. It consumes tons of CPU when scrolling.
bduffany
·2 anni fa·discuss
I reproduced this too:

1. Click the box in the bottom right corner to create a cell. 2. Click the box just to the left of that one to create another cell. 3. Drag the cell you created in step 2 to the right. The cell on the bottom right gets pushed downwards, below the grid's lower boundary.

(Chrome/Android)
bduffany
·2 anni fa·discuss
What do you mean by unprivileged namespaces being buried by the big-name distros?
bduffany
·3 anni fa·discuss
There's a pretty popular `python-is-python3` package in Ubuntu which aliases `python` to `python3`. I used to install that in my dev environment setup scripts, but have since stopped using it for the reasons you mentioned. I've found it best to think of Python 2 and 3 as totally separate languages, so I consider it a good thing that the binary name python3 is unambiguous in all contexts.
bduffany
·3 anni fa·discuss
I wonder if React has had any impact on people's general tendency for reaching for classes vs. closures, particularly after hooks were introduced.
bduffany
·3 anni fa·discuss
Yes, and those work well for smaller workloads, but if you just run 1,000,000 commands with `&` in a `for` loop, it will grind your computer to a halt (if the tasks are modestly resource intensive). GNU parallel will let you run those same 1,000,000 tasks but make sure that only (e.g.) 16 of them are running at once. It's not easy to do that in bash.
bduffany
·3 anni fa·discuss
The "Problem #2" that they mention also has an easy solution.

If the "intermediate" variable / internal representation is just "the input image but with edges only," then of course you can see internal representations.

When you compute that intermediate variable for the line drawing, it will just happen to behave like the identity function for that particular case. So if you have already filtered out non-edges then the transformation is basically a no-op.

The "types" mismatching as they mention is not a concern because the type is just "image" i.e. a big vector of HSL values or something. Edge detection is just a convolution filter so it's going to have approximately the same type as the input.
bduffany
·3 anni fa·discuss
It's also an example of a PID controller with the integral and derivative terms set to zero: https://en.m.wikipedia.org/wiki/PID_controller
bduffany
·3 anni fa·discuss
typesense did their own comparison here:

https://typesense.org/typesense-vs-algolia-vs-elasticsearch-...