6,109 reputation
11542
bio website
location
age
visits member for 2 years, 5 months
seen 9 hours ago

May
25
accepted High-quality RegionPlot3D for logical combinations of predicates
May
25
comment High-quality RegionPlot3D for logical combinations of predicates
Thanks for the explanation. That's very ingenious! By the way, I would find the line easier to understand if written as Refine[reg, p] && Refine[! reg, ! p], unless there's some subtle difference I'm not seeing.
May
25
revised Place symbols from small to big
deleted 31 characters in body
May
25
comment random split a dataset
The easiest way would be to shuffle the data randomly and then just take the first $70\%$, the next $20\%$, and the last $10\%$. (Edit: I have to run; anyone else please feel free to turn this into a proper answer with working code.)
May
25
comment Reversing Autocorrect, aka how to find the word that was supposed to be there
@Oleksandr: What I understand from the way the question is written (and Marco's recent comment on the answer below) is that the user will then look at the list of possible words and use their own judgement. It doesn't have to be a fully automatic deAutocorrectizer.
May
25
comment Reversing Autocorrect, aka how to find the word that was supposed to be there
Come on, guys, the question isn't asking for magic. It clearly asks to "provide in input an English dictionary and an Autocorrect-ed word, and get as output all the words that, slightly mispelled, would lead to the Autocorrect-ed word" (emphasis mine). So lack of one-to-one-ness is not a problem, nor is it required to automatically detect Autocorrection.
May
25
answered RegionPlot not working as expected
May
25
comment RegionPlot not working as expected
@Kuba: Neither; I thought the question would be closed as a duplicate, but I was too lazy to check :) Turns out I was thinking of a ContourPlot question instead.
May
25
comment How to get shadows in Graphics3D?
That puts the lights in the right positions, but the problem that "the surface on the right is blue-illuminated although this surface is completely shaded from the blue light source" remains.
May
25
comment RegionPlot not working as expected
Jean-Claude is right. To create your plot you should make a ContourPlot of 2 a + b == 0 with RegionFunction -> Function[{a, b}, a > 0].
May
25
revised High-quality RegionPlot3D for logical combinations of predicates
added 2 characters in body
May
25
comment High-quality RegionPlot3D for logical combinations of predicates
Fantastic! Can you write a little about how it works? The Refine trick is very interesting and a little mysterious.
May
25
awarded  Self-Learner
May
24
comment Plotting John Conway's Hecatohedron
@Mario: Conway says to divide "each face of a cube into 16 smaller "square" faces in the obvious way", and this was the most obvious way I could think of. :) Perhaps it would be better to make the configuration nonflat by moving vertices outward, but that requires an arbitrary choice of perturbation and the smaller faces would not remain square. The plotted figure is at least topologically/combinatorially correct, but I can delete the answer if you feel it is not the desired solution.
May
24
comment High-quality RegionPlot3D for logical combinations of predicates
@Simon: That's neat! I wasn't aware of BooleanConvert.
May
24
answered Plotting John Conway's Hecatohedron
May
24
comment Plotting John Conway's Hecatohedron
@eldo: That's a different 100-faced polyhedron than the one described in the question.
May
24
revised High-quality RegionPlot3D for logical combinations of predicates
added 99 characters in body
May
24
revised High-quality RegionPlot3D for logical combinations of predicates
added 194 characters in body
May
24
asked High-quality RegionPlot3D for logical combinations of predicates