1,219 reputation
523
bio website launchpad.net/…
location United States
age
visits member for 2 years, 4 months
seen Dec 20 '13 at 23:05

🐌. Native speaker of American English. Linux user. Familiar with several programming languages in the procedural, OO, and functional paradigms.

Link rot is evil. Archive everything. The keyboard is king. Correctness over performance. Canonicalize, normalize, deduplicate. Don't repeat yourself. UTF-8 > UTF-16. Use static typing: good for tooling. Re-use; don't re-invent. Correctness, then clarity, then concision and elegance. Play devil's advocate. First understand opponents' positions.


Dec
20
comment Elegantly split a matrix into positive and negative parts?
Or in one line: {pos, neg} = m * UnitStep /@ {m, -m}
May
21
comment Speeding up a numerical constrained quadratic optimization
@OleksandrR.: I tried NMaximize with Method->{"RandomSearch",Method->"QuasiNewton","PostProcess"->"KKT"} on a similar smaller problem (7 vars), but it fails after a long time with NMaximize::cvmit: "Failed to converge to the requested accuracy or precision within \[NoBreak]100\[NoBreak] iterations. ".
May
21
comment Speeding up a numerical constrained quadratic optimization
@OleksandrR.: What do you mean by using FindMinimum via the "RandomSearch" method of NMinimize?
May
21
comment Speeding up a numerical constrained quadratic optimization
@OleksandrR.: I thought FindMinimum only gives a local minimum.
May
21
comment How to “Copy as Unicode” from a Notebook?
There's a built-in CopyToClipboard function, but it doesn't seem to work, at least on Linux.
May
20
comment How can I convert a plot to pdf or eps without errors?
@Jens: How did you get fonts to work in PDF export?
Feb
15
comment Piping and Replacement
The choice of relative precedence of // and /. is poor, I feel.
Feb
7
comment Examples of (well coded) packages using custom notation
@magma: By "source" I mean the "preferred form in which a programmer would modify the program.".
Dec
21
comment Better Autocompelete for the Front-End
Related: mathematica.stackexchange.com/questions/16599/…
Dec
8
comment Examples of (well coded) packages using custom notation
@magma: Which one is the source file then?
Dec
8
comment Superscript prime symbol
@OleksandrR.: The Derivative confusion only occurs with an apostrophe, not \[Prime]. The asker wanted to be able to use unprimed and primed in the same expression.
Dec
7
comment Combining two lists of different dimensions into a list of all combinations of points?
This is the Cartesian or outer product.
Dec
7
comment Can Mathematica show me a fraction with a repeating decimal notation?
+1 for making the formatted output usable as input.
Dec
6
comment Superscript prime symbol
That causes q to display as q^\[Prime]. But you could instead use InterpretationBox[SuperscriptBox[name, "\[Prime]"], Symbol[name <> "\[Prime]"]].
Dec
6
comment What are \[InvisiblePrefixScriptBase] and \[InvisiblePostfixScriptBase]?
@kguler: So it seems like the Prefix one is meant as an invisible base character for sub-/superscripts that are typeset before the conceptual base character. But the Postfix one is still a mystery.
Dec
3
comment Implementing efficient multiple undo
@Jérémie: Kernel sessions are computationally intensive. Undo would be a feature of the front-end. While graphics can use a fair amount of memory, that problem is surmountable (works fine in GIMP).
Dec
2
comment How to make an inkblot?
@Szabolcs Or viruses.
Dec
1
comment Mathematica as a normal programming language
Related: meta.mathematica.stackexchange.com/questions/270/…, mathematica.stackexchange.com/questions/4454/…
Dec
1
comment Why does Mathematica choose branches as it does in this situation?
Possibly related: mathematica.stackexchange.com/questions/13949/…
Nov
30
comment Pattern that matches colors
test[GrayLevel[0.5]] "bad". Obviously you can just test the heads against all you think of, but that's not robust if you forget one or if Wolfram adds another.