The cause of this problem is that GrabAction may reset objects’ kinematic attribute to false after releasing them. This behavior is configurable via “Interactable/InteractionLogic/Interactable.GrabLogic/Actions/PrimaryAction/Interactable.GrabAction.FollowAction”, where “Is Kinematic When Inactive” should be ticked.
UPDATE: The latest VRTK has an issue which causes “IsKinematicWhenInactive” reset to false when game is started. A workaround is to patch the following line at GrabInteractableFollowAction.cs:184
- IsKinematicWhenInactive = GrabSetup != null ? GrabSetup.Facade.ConsumerRigidbody.isKinematic : false;+ IsKinematicWhenInactive = GrabSetup != null ? GrabSetup.Facade.ConsumerRigidbody.isKinematic : IsKinematicWhenInactive;
To get rid of the grabbed object after the controller button is released:
Thereafter you may repeat 1–4 for the right controller to achieve the same effect.
$ sudo add-apt-repository ppa:xuzhen666/dnscrypt
$ sudo apt-get update
$ sudo apt-get install dnscrypt-proxy
Start dnscrypt-proxy instances:
$ sudo /usr/sbin/dnscrypt-proxy -R cisco-ipv6 -a 127.0.0.1:10898 -d
$ sudo /usr/sbin/dnscrypt-proxy -R cloudns-syd -a 127.0.0.1:10899 -d
-R resolver specifies the resolver proxy uses. For the list of available resolvers, please refer to
/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv or online at here.
$ sudo apt-get install unbound
Download the listing of primary root DNS servers:
$ sudo wget ftp://ftp.internic.net/domain/named.cache -O /etc/unbound/root.hints
# Unbound configuration file for Debian.
# See the unbound.conf(5) man page.
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
# interfaces for listening (both ipv4 and ipv6)
# enable for both ipv4 and ipv6 (udp or tcp)
# use previously downloaded root server list
# reject id.server or version.server queries
# enhance security (DNSSEC)
# set time to live for cache entries
# performance optimizations
# allow all IPs
access-control: 0.0.0.0/0 allow
# allow queries on 127.0.0.1
# forward queries to dnscrypt-proxy instances
forward-addr: 127.0.0.1@10898 …
The algorithm used here is based on M. Tennekes, et al.’s work: Tree Colors: Color Schemes for Tree-Structured Data specifically designed for generating colors for tree structured data (like tree maps) in HCL color space. A HCL color is made of three components: hue, chroma and luminance. Hue defines the color we commonly refer to in degree (from 0 to 360), chroma interpolates color from gray to full saturation, and luminance decides how bright the color looks.
Generating procedure can be divided into 2 parts:
Hue. A recursive method is defined as following:
AssignHue(v, r, f, perm, rev)
v is a node in the tree;
r is the hue range that node
f is the fraction of the hue range used (separating the hue range from its siblings);
perm decides whether to permutate the colors generated;
rev decides whether to reverse even-numbered colors to fully obfuscate the sequence. …
A few statistical algorithms like IsolationForest, an efficient outlier detection algorithm, are implemented in R language only. R is a fantastic language for statisticians and mathematicians, but learning a totally new language would be a huge cost for just using a simple functionality in the libraries designed specifically for that language.
rpy2 is a R to python interface which allows users conveniently call R functions and methods from python, as well as exploiting existing R modules. Some transitions are required basically due to different data types used in two languages. Example given here will be demonstrated based on IsolationForest library.
Step 1. …