« first day (1281 days earlier)      last day (3204 days later) » 

10:47 AM
Any ideas on this one?
2
Q: How can we show the boundary of a WordCloud shape?

SzabolcsWordCloud can arrange the words inside a shape. data = EntityValue[CountryData[], {"Name", "Population"}]; WordCloud[data, Disk[], WordOrientation -> "Random", Frame -> True] As you can see from the plot range, the coordinates in the final word cloud don't seem to be related to the coordinat...

I did try a few things before posting so if you're about to try something basic, feel free to ask first.
I wasn't able to find any coordinate mapping. For one dataset, the width and height of the word cloud tend to be in the 100-400 range, with around 200 if the height and width are comparable. But both height and width are variable. Neither are fixed.
For other datasets, the coordinates will be different. It seems to depend on the number of words.
Another question:
Can we use WordCloud with arbitrary shapes instead of strings?
This works, but doesn't care about relative sizes: WordCloud[ToString[#, StandardForm] & /@ CountryData["Africa", "Shape"]]
 
 
2 hours later…
12:43 PM
Hmmh. What's the most practical, preferably efficient way to functionally exchange two items on a matrix?
 
{A[[j1, k1]], A[[j2, k2]]} = {A[[j2, k2]], A[[j1, k1]]}?
 
12:59 PM
But that's imperative, right?
It modifies A instead of making a new modified copy...
 
@kirma Yes, it changes A
@kirma Why don't you use ReplacePart?
 
Need advise :)
0
Q: String option names for Cells

KubaThey seem to be correctly interpreted. I'm asking because of some minor reasons and a major one: NotebookWrite a Cell with WholeCellGroupOpener option I don't know any official confirmation so let me just ask if anyone knows where using string names for built in options names may fail. Let's ...

 
@halirutan Maybe. Permute with simple cycle might be variant for single-dimensional list, at least conceptually clearer.
 
1:17 PM
There's also the plodding method of subtracting and adding an appropriate SparseArray[]… :)
But yes, ReplacePart[] seems like the cleanest solution if you don't want to modify the original matrix.
 
@Guesswhoitis. @kirma Or creating a permutation matrix and multiplying it :-)
 
1:34 PM
Heh, interesting alternatives.
 
 
1 hour later…
2:52 PM
Typo humor: "executed the program in bitch mode with verbose option enabled"
 
 
1 hour later…
4:15 PM
@Guesswhoitis. Watch out! Political correctness is deadly serious business these days. :o
 
4:29 PM
Yeah, told the guy who wrote the report about his typo @kirma, but not before getting a good laugh out of it. :)
 
5:08 PM
@Guesswhoitis. reminds me of a game I was playing where one of the in game alliances was call "H.I.V.E Heroes". A player in my alliance mistyped it "HIVE Herpes". guess what stuck?
 
@rcollyer just like here
 
6:00 PM
I wrote a stochastic search algorithm and I'm now wondering if it's MCMC or something else... :o
Ballmer peak programming!
(That is, I also wrote it while attending a beer festival.)
 
6:31 PM
Hi all, quickie: I'm trying to use Plot with different colors an expression that is evaluated at the time of the call
If I do the "Evaluated" trick it throws an error because I'm taking a Part of an Interpolating function
And the interpolating function is multidimensional
Excluding the Evaluated flag, PlotStyle is ignored
 
7:02 PM
@shrx This was fixed: on the web a few days ago and a paclet is now live which updates the in-product documentation (new in 10.2 page) as well.
@shrx To force the update, run these commands:
PacletSiteUpdate /@ PacletSites[];
PacletInstall /@ PacletFindRemote["SystemDocs*"]
This fixes the JulinaDate typo on the guide/SummaryOfNewFeaturesIn102 page.
 
8:04 PM
@ArnoudBuzing Great, thanks for notifying me.
 
 
2 hours later…
9:53 PM
Hi I need to go from {a,b,c,d} ---> {b,c,a,d}. How do I do this?
 
10:15 PM
@space {a,b,c,d}[[{2,3,1,4}]]
 
10:50 PM
@Pickett Thanks!
 

« first day (1281 days earlier)      last day (3204 days later) »