Reputation
1,020
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 13
Newest
 Critic
Impact
~7k people reached

May
18
comment Can this be written well, without loops?
None taken and yes I did suspect such reverse-engineering might be a possibility and I would agree that it can't hurt to be up-front. Doesn't this however, say something about Solve's implementation - shouldn't its efficiency be comparable to a (For) "brute force" enumeration?
May
18
comment Can this be written well, without loops?
Yes, and of course irrespective, it is the OP's perogative :)
May
18
answered Can this be written well, without loops?
May
11
comment Dynamic list in which the sum of the elements is invariant under changes to the elements
... process. As m_golberg's answer suggests, there may be better approaches depending on the context and these often become apparent in surprising and interesting ways as you tinker with these interfaces yourself. Studying the documentation in relation to Checkbox, Slider and Dynamic should pay-off in this regard.
May
11
comment Dynamic list in which the sum of the elements is invariant under changes to the elements
@Qizhang Jia. I like your design interest and flair for creating new interfaces as per the suggestions/interactions in the answers. Perhaps, these contributions will continue - although moderation might step in since SO seem to require well-defined, contained answers- IMO I don't see the harm if contributors are willing to implement design specifications provided they are all suitably tagged. There is another reason however, I suggest learning how Dynamic works in relation to these interface components - the process of placing/operating these components is an integral part of the design ...
May
10
comment Dynamic list in which the sum of the elements is invariant under changes to the elements
.. teaching to fish that has exercised some people recently michael.richter.name/blogs/… and raises the question of what are "good" ways to encourage new users - a "meta" discussion admittedly.
May
10
comment Dynamic list in which the sum of the elements is invariant under changes to the elements
Maybe, although I also think MapIndexed kind of promotes a procedural thinking reminiscent of For loops. Using Range is kind of more holistic/functional although I do also have a sense that a higher order construct (perhaps something that abstracts this masking) is asking if not begging to be added to WL here. I assume your answer was independently arrived as it is a natural approach but irrespective, I've kept this answer as I think it can be pedagogically useful to see a progression, or refinement of code. Actually this also goes to whether SE answers should be like fishes or ..
May
10
awarded  Critic
May
10
comment Dynamic list in which the sum of the elements is invariant under changes to the elements
Not much different to Kuba's answer which is actually cleaner with VerticalSlider,Normalize and Appearance and packing into update.
May
10
answered Dynamic list in which the sum of the elements is invariant under changes to the elements
May
10
revised Getting explicit BaseStyle or DefaultBaseStyle settings
edited title
May
10
asked Getting explicit BaseStyle or DefaultBaseStyle settings
Mar
18
revised Mixing Wolfram Language & WolframAlpha Queries - How robust is it?
added 74 characters in body
Mar
18
revised Mixing Wolfram Language & WolframAlpha Queries - How robust is it?
added 74 characters in body
Mar
18
revised Mixing Wolfram Language & WolframAlpha Queries - How robust is it?
added 87 characters in body
Mar
18
comment Mixing Wolfram Language & WolframAlpha Queries - How robust is it?
I'm not sure there is an official answer when it comes to the interplay between natural language and programming languages but yes the CountryData lagging is probably worth flagging. Unfortunately, though this data curation issue is a much wider challenge since a pretty significant percentage of calls are in fact Missing[NotAvailable] (particularly non-US data) which I suspect reflects current priorities/curation limitations.
Mar
18
revised Mixing Wolfram Language & WolframAlpha Queries - How robust is it?
added 104 characters in body
Mar
18
asked Mixing Wolfram Language & WolframAlpha Queries - How robust is it?
Nov
19
awarded  Nice Answer
Oct
11
revised Changing Values in an Association using Map
formatting