Davi
Davi
Same as before: ``` In [10]: curse(list, "__init__", lambda x:x*x) --------------------------------------------------------------------------- KeyError Traceback (most recent call last) in ----> 1 curse(list, "__init__", lambda x:x*x) /tmp/forbiddenfruit/forbiddenfruit/__init__.py in curse(klass, attr, value, hide_from_dir)...
Ok, solved with a dirty hack: I changed the variable _prefix_ inside **/usr/bin/python3-config** to point to my scala project directory. It seems to be a known and old unfixed bug...
I suppose this is a better hack in _build.sbt_: ```scala nativeLinkingOptions ++= { "-L/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu -Lvenv/lib -lpython3.7 -lcrypt -lpthread -ldl -lutil -lm".split(' ').map(_.trim).filter(_.nonEmpty).toSeq } ```
A soft, and possibly weighted, kendall-tau B would also be a great thing to have. It probably doesn't need sorting or ranking, just a sigmoid-like function to soften the agreement/disagreement/tie...
@teddykoker , your suggestion is pretty similar to what I am trying now. If we find a common ground, I can contribute to the library. I often use python packages...
A _Weighted soft_rank_ implementation would be a more general addition to the library, that could be used to replace parts of the code I wrote above. However, too trivial, as...
Or, instead of a shortcut, a config to persist layout across sessions.
I am thinking about implementing a monoid-friendly decision tree