interesting mathematica questions on StackOverflow

*To*: mathgroup at smc.vnet.net*Subject*: [mg109231] interesting mathematica questions on StackOverflow*From*: dreeves <dreeves at gmail.com>*Date*: Sun, 18 Apr 2010 05:58:09 -0400 (EDT)

Another resource for Mathematica questions is http://stackoverflow.com/questions/tagged/mathematica The answers (and the questions) tend to be very high quality. Here's a sampling: posmax: like argmax but gives the position(s) of the element x for which f[x] is maximal: http://stackoverflow.com/questions/2656769/posmax-like-argmax-but-gives-the= -pos parsing and generating JSON: http://stackoverflow.com/questions/2633003/parsing-and-generating-json regular expressions on unicode strings: http://stackoverflow.com/questions/2512766/mathematica-regular-expressions-= on-uni check if OpenSQLConnection was successful: http://stackoverflow.com/questions/2511463/how-can-i-check-if-opensqlconnec= tion extract a Date from an SQLDateTime object: http://stackoverflow.com/questions/2471250/how-to-extract-a-date-from-an-sq= ldateti import a file into mathematica and reference a column by header name: http://stackoverflow.com/questions/2422584/how-to-import-a-file-into-mathem= atica deal with large data files: http://stackoverflow.com/questions/2370570/way-to-deal-with-large-data-file= s creating lists and vectors of specific length: http://stackoverflow.com/questions/2348772/mathematica-creating-lists-and-v= ect does Mathematica 7 support lazy evalution: http://stackoverflow.com/questions/2233133/does-mathematica-7-support-lazy-= ev a function equivalent to Matlab=92s =93unique=94 function: http://stackoverflow.com/questions/2203737/does-mathematica-have-a-function= -eq Web UI for inputting a function from the reals to the reals, such as a probability distribution: http://stackoverflow.com/questions/2181120/web-ui-for-inputting-a-function-= from introspection of messages generated in Mathematica: http://stackoverflow.com/questions/2007160/introspection-of-messages-genera= ted cryptographic hash (sha1 or md5) of data given as a string: http://stackoverflow.com/questions/1854491/cryptographic-hash-sha1-or-md5-o= f HMAC (hash-based message authentication code, aka data signing): http://stackoverflow.com/questions/1851436/hmac-hash-based-message-auth export custom formatted expressions from Mathematica: http://stackoverflow.com/questions/1687705/export-custom-formatted-expressi= ons multiple assignment between lists: http://stackoverflow.com/questions/1653707/multiple-assignment-between-list= s function foo that can distinguish foo[.2] from foo[.20]: http://stackoverflow.com/questions/1628194/mathematica-function-foo-that-ca= n Unevaluated vs Defer vs Hold vs HoldForm vs HoldAllComplete vs etc etc: http://stackoverflow.com/questions/1616592/mathematica-unevaluated-vs-defer= -vs Mathematica in batch mode from the command line on Mac OS X: http://stackoverflow.com/questions/1604680/mathematica-in-batch-mode-from suppressing a trailing =93.=94 in numerical output from Mathematica: http://stackoverflow.com/questions/1545986/suppressing-a-trailing-in-numeri= cal sprintf equivalent in Mathematica: http://stackoverflow.com/questions/1526617/sprintf-equivalent-in-mathematic= a struct data type in Mathematica: http://stackoverflow.com/questions/1453006/struct-data-type-in-mathematica equivalent of =93defined=94 in Mathematica: http://stackoverflow.com/questions/1446477/equivalent-of-defined get the name of a calling function within a module: http://stackoverflow.com/questions/1415104/how-can-i-get-the-name-of-a-call= ing HashTable structure: http://stackoverflow.com/questions/1392007/is-there-hashtable-structure semantics of Mathematica=92s Thread function: http://stackoverflow.com/questions/1250125/the-semantics-of-mathematicas-th prepend a column to a matrix: http://stackoverflow.com/questions/1244782/how-to-prepend-a-column-to-a-mat what does @@@ mean: http://stackoverflow.com/questions/1141166/in-mathematica-what-does-mean images have a fubar color palette when generated under Xvfb instead of normal X: http://stackoverflow.com/questions/953065/images-have-a-fubar-color-palette setting environment variables: http://stackoverflow.com/questions/852056/setting-environment-variables exporting a plot as an image on a machine without X11 (ie, without involving the frontend): http://stackoverflow.com/questions/315464/exporting-a-plot-as-an-image ForEach loop in mathematica: http://stackoverflow.com/questions/160216/foreach-loop-in-mathematica call a Mathematica program from the command line, with command-line args, stdin, stdout, and stderr: http://stackoverflow.com/questions/148057/call-a-mathematica-program-from-t= he-com best open-source Mathematica equivalent: http://stackoverflow.com/questions/33550/best-open-source-mathematica-equiv= alent Finally, here's an RSS feed of new mathematica questions on stackoverflow: http://stackoverflow.com/feeds/tag?tagnames=mathematica