================================== Top new questions this week: ==================================
[String-manipulation bugs in v10.1] http://mathematica.stackexchange.com/questions/78884/string-manipulation-bugs-in-v10-1
The new version 10.1 has introduced some strange (possibly buggy) behaviour compared to v10.0:
StringCases["1472", Except["0", DigitCharacter]]
(* v10.0 *) "1","4","7","2" (* v10.1 *) "1"
...
- asked by Istvan Zachar (25 votes), answered by Stefan R (8 votes)
—————————-
[What are the cool kids talking about when they use ##&[]
?]
http://mathematica.stackexchange.com/questions/78910/what-are-the-cool-kids-talking-about-when-they-use
All the cool kids are apparently using
##&[]
for
Unevaluated @ Sequence[]
but I have no idea what either means.
Please explain what these things are so I can be a cool kid!
- asked by raxacoricofallapatorius (23 votes), answered by rasher (18 votes)
—————————-
[Mathematical morphology: removing text features from image, while keeping connectivity] http://mathematica.stackexchange.com/questions/79066/mathematical-morphology-removing-text-features-from-image-while-keeping-connec
I have this image of London’s road networks.
img = Image[ Import["https://maps.googleapis.com/maps/api/staticmap?center=+51.5+ ...
- asked by andandandand (17 votes), answered by mm.Jang (12 votes)
—————————-
[What is the difference between Composition (@*) and sequential applications (@)?] http://mathematica.stackexchange.com/questions/78979/what-is-the-difference-between-composition-and-sequential-applications
What is the difference between
f@*g@*h@x
and
f@g@h@x
Both evaluate to
f[g[h[x]]]
If they’re the same, why introduce Composition as a new feature?
- asked by raxacoricofallapatorius (15 votes), answered by Szabolcs (22 votes)
—————————-
[Random polyhedra walk] http://mathematica.stackexchange.com/questions/79099/random-polyhedra-walk
I would like to recreate ssch’s random polyhedra random walk, which he posted in the chat. For convenience here it is again:
Since it’s been one and a half year since then I’ve certainly had time ...
- asked by Pickett (14 votes)
—————————-
[Plot a partition of the sphere given vertices of polygons] http://mathematica.stackexchange.com/questions/78705/plot-a-partition-of-the-sphere-given-vertices-of-polygons
I saw in this question that Mathematica can draw spherical triangles. I guess something similar can be done to plot a spherical polygon. I am interested in something similar:
I have a set of ...
- asked by Beni Bogosel (12 votes), answered by Taiki (14 votes)
—————————-
[Why is a symbol still found after changing its context?] http://mathematica.stackexchange.com/questions/78926/why-is-a-symbol-still-found-after-changing-its-context
It seems that we can change the context of symbols:
In[1]:= x = 1 Out[1]= 1
In[2]:= Context[x] = "foo‘";
But then x is still interpreted as foo‘x (and not Global‘x) even though foo‘ is not in ...
- asked by Szabolcs (8 votes), answered by penguin77 (0 votes)
================================== Greatest hits from previous weeks: ==================================
[Where can I find examples of good Mathematica programming practice?] http://mathematica.stackexchange.com/questions/18/where-can-i-find-examples-of-good-mathematica-programming-practice
I consider myself a pretty good Mathematica programmer, but I’m always looking out for ways to either improve my way of doing things in Mathematica, or to see if there’s something nifty that I haven’t ...
- asked by J.M. (339 votes), answered by faysou (314 votes)
—————————-
[How do I draw a pair of buttocks?] http://mathematica.stackexchange.com/questions/66538/how-do-i-draw-a-pair-of-buttocks
I’m trying to develop a function which 3D plot would have a buttocks like shape.
Several days of searching the web and a dozen my of own attempts to solve the issue have brought nothing but two ...
- asked by Simpleton Jack (212 votes), answered by mikuszefski (333 votes)
================================== Can you answer these? ==================================
[short cut entry in KeyEventTranslations.tr works on V 10.0.2 but does not work in V 10.1] http://mathematica.stackexchange.com/questions/79195/short-cut-entry-in-keyeventtranslations-tr-works-on-v-10-0-2-but-does-not-work-i
I added 2 useful key shortcuts to my V 10.0.2 KeyEventTranslations.tr to allow adding [[ and ]] using ctrl-[ and ctrl-] (thanks to this post by Szabolcs at WRI community some time ago) and these ...
- asked by Nasser (1 vote)
—————————-
[Compile, "global variables" and recursion] http://mathematica.stackexchange.com/questions/78768/compile-global-variables-and-recursion
I am trying to do something similar to this, namely to make a Compile’d function outer that itself calls a Compile’d function inner which accesses a variable defined in outer. Copy-pasting the example ...
- asked by Marius Ladegard Meyer (3 votes)
—————————-
[Issues reproducing reversible CA from NKS] http://mathematica.stackexchange.com/questions/78931/issues-reproducing-reversible-ca-from-nks
I want to recreate the output of the reversible cellular automaton described in this page of the NKS book.
The book specifies that this is a modified version of R214, where the new state (step+1) ...
- asked by andandandand (1 vote)