4.35.1 Top new questions this week

4.35.1.1 Framework behind Graph plots. DynamicNamespace and friends
4.35.1.2 DynamicLocation usage
4.35.1.3 How can I use GitHub as a paclet server?
4.35.1.4 Permanently extending the behaviour of functions (like decorators)
4.35.1.5 Is Tooltip broken in MMA 11.1.1?
4.35.1.6 Install paclets into $BaseDirectory on multi-user system
4.35.1.7 How can I reproduce the result of PrincipalComponents
4.35.1.1 Framework behind Graph plots. DynamicNamespace and friends

https://mathematica.stackexchange.com/questions/155237/framework-behind-graph-plots-dynamicnamespace-and-friends

 
As shown in DynamicLocation usage, we can use it to quickly create very nice functionality, that it to refer to graphics' primitives relative coordinates without calculations of boundary etc. 
 
 
 
As  ...
 

- asked by Kuba (15 votes), answered by Kuba (12 votes)

4.35.1.2 DynamicLocation usage

https://mathematica.stackexchange.com/questions/155157/dynamiclocation-usage

 
Background 
 
DynamicLocation can be very useful: 
 
LocatorPane[Dynamic@x, 
Graphics[ 
{ EdgeForm @ Thick, FaceForm @ None, Rectangle[BoxID -> "box"] 
, Arrow[{Dynamic[x],  ...
 

- asked by Kuba (14 votes), answered by b3m2a1 (9 votes)

4.35.1.3 How can I use GitHub as a paclet server?

https://mathematica.stackexchange.com/questions/155123/how-can-i-use-github-as-a-paclet-server

 
I want to use GitHub as a paclet server, but this fails: 
 
PacletInstall[ 
"ServiceConnection_StackExchange", 
"Site" ->"https:/github.com/b3m2a1/PacletServer" 
] 
 
PacletSiteUpdate::err: An error  ...
 

- asked by b3m2a1 (13 votes), answered by b3m2a1 (16 votes)

4.35.1.4 Permanently extending the behaviour of functions (like decorators)

https://mathematica.stackexchange.com/questions/155567/permanently-extending-the-behaviour-of-functions-like-decorators

 
Suppose I have a function, e.g. 
 
f[x_] := x^2 
 
 
It works like this: 
 
f[5] 
(* 25 *) 
 
 
I would like to permanently modify it so that calling f[5] will perform some action before and after the evaluation  ...
 

- asked by Szabolcs (11 votes), answered by Leonid Shifrin (9 votes)

4.35.1.5 Is Tooltip broken in MMA 11.1.1?

https://mathematica.stackexchange.com/questions/155434/is-tooltip-broken-in-mma-11-1-1

 
Bug introduced in 11.1.0 and persisting through 11.1.1 
 
 
 
I have just discovered that Tooltip works differently from as described in the documentation, at least in my version of MMA (11.1.1.0, Windows  ...
 
- asked by Oleg Soloviev 9votes
4.35.1.6 Install paclets into $BaseDirectory on multi-user system

https://mathematica.stackexchange.com/questions/155122/install-paclets-into-basedirectory-on-multi-user-system

 
PacletInstall will install paclets into the $UserBaseDirectory by default. How can we install them in $BaseDirectory so that all users on the system will have access?  Is this currently possible? 
 
...
 

- asked by Szabolcs (9 votes), answered by halirutan (5 votes)

4.35.1.7 How can I reproduce the result of PrincipalComponents

https://mathematica.stackexchange.com/questions/155467/how-can-i-reproduce-the-result-of-principalcomponents

 
matrix = N[{{1, 2}, {2, 3}, {4, 10}}] 
{{1., 2.}, {2., 3.}, {4., 10.}} 
 
res1 = PrincipalComponents[matrix, Method -> "Correlation"] 
{{1.10388, 0.130549}, {0.478746, -0.170139}, {-1.58262,  ...
 

- asked by HyperGroups (8 votes), answered by J. M. (13 votes)