7.41.1 Top new questions this week

7.41.1.1 How to create a general AttachedCell toolbar?
7.41.1.2 How to correctly use lists inside Compile
7.41.1.3 Help with Double Sum (lattice sum) over all integers m,n of 1/(a+m^2+n^2)
7.41.1.4 How to compute RandomReal faster?
7.41.1.5 Is there a way to make SparseArray distinguish between background values of different precision that are numerically equal?
7.41.1.6 DensityPlot3D with clear division negative/positive value but also value dependent
7.41.1.7 Split list by sequential entries
7.41.1.1 How to create a general AttachedCell toolbar?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=258815

For example, when an image is displayed in the frontend, the image suggestion toolbar, which is an  AttachedCell , pops up: 
 
It can can be found here, among other ... 
[front-end] [dynamic] [cells] [boxes] [attachedcell]
 
asked by István Zachar https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=89 13 votes
answered by Kuba https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=5478 4 votes
7.41.1.2 How to correctly use lists inside Compile

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=258974

Consider the following code: 
 Compile[{{x,_Real}},Module[{x1=x,W}, 
W=RandomVariate[NormalDistribution[0, 10^-2], 2]; 
x1=x1+W[[1]]+W[[2]]; 
x1]] 
 
It fails ... 
[compile]
 
asked by mattiav27 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=8822 7 votes
answered by Ulrich Neumann https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=53677 7 votes
7.41.1.3 Help with Double Sum (lattice sum) over all integers m,n of 1/(a+m^2+n^2)

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=258834

Im researching electric fields in periodic arrays of charges, and encountered this summation that I can't find any published work on. 
Has anybody encountered a solution to $\sum_{m,n=-\infty,\infty}\... 
[summation] [series-expansion]
 
asked by dturn805 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=82951 7 votes
answered by Roman https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=26598 13 votes
7.41.1.4 How to compute RandomReal faster?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=259054

I have variables $E_{1},E_{3}$ that are bounded in the following way: 
$$ 
\tag 1 E_{1}>m_{1}, \quad E_{3}>m_{3}, E_{2}\equiv m-E_{1}-E_{3}>m_{2}, \\ -1 < \frac{\sqrt{E_{2}^{2}-m_{2}^{2}}-\... 
[performance-tuning] [mathematical-optimization] [syntax] [random]
 
asked by John Taylor https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=41058 5 votes
answered by Roman https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=26598 10 votes
7.41.1.5 Is there a way to make SparseArray distinguish between background values of different precision that are numerically equal?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=259048

To illustrate what I mean, consider the following: 
 SparseArray[{{1} -> 1, {5} -> 1.}, Automatic, 0] // Normal 
 
 
{1, 0, 0, 0, 1.} 
 
As you can see, the ... 
[sparse-arrays]
 
asked by Sjoerd Smit https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=43522 5 votes
7.41.1.6 DensityPlot3D with clear division negative/positive value but also value dependent

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=259017

It is easy to obtain a clear positive/negative boundary, with, exemplary 
 ColorFunction -> Function[{f}, If[f > 0, Red, Blue]] 
 
Do you have an idea how I can ... 
[plotting] [plot-themes]
 
asked by Agnieszka https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=6015 5 votes
answered by Bob Hanlon https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=9362 6 votes
7.41.1.7 Split list by sequential entries

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=258965

I have a list with some entries being sequential and some not.  I would like to construct a list of lists split by sequential entries.  In this context, sequential means the integer value increases by ... 
[list-manipulation]
 
asked by Mark R https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=65931 5 votes
answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 13 votes