« first day (1352 days earlier)      last day (1846 days later) » 

5:18 AM
Hmmh... how to efficiently perform least squares fitting constrained to a semialgebraic set?
5:35 AM
Welll... I suppose it reduces into a case Minimize should handle reasonably well - I hope.
@PatrickStevens For low level functions like Nest it is unclear what purpose high level code would serve. Nest[...] := .... what would be on the r.h.s.? The function is not written in Mathematica code.
1 hour later…
6:56 AM
@Pickett I was just wondering how it was done - is it automatic for non-Mathematica code, then, but all other functions can be spelunked with PrintDefinitions?
1 hour later…
8:21 AM
@PatrickStevens Have you read the spelunking question here?
It is done basically the same way. I would go so far to claim that the PrintDefinitions was implemented after WRI saw how nice it can be done :-)
Q: What is the most convenient way to read definitions of in-memory symbols when we don't have the source files? (Spelunking tools)

SzabolcsNote: I put Simon's implementation on GitHub. Contributions welcome! When trying to read the definition of already defined (package or built-in) symbols using Information or FullDefinition, the biggest inconvenience is that lots of distracting private context names appear in front of all sym...

8:39 AM
@PatrickStevens The second answer in the question linked to by halirutan is by the developer of PrintDefinitions. It says that it only show upvalues, downvalues, subvalues, ownvalues and attributes; so with functions that don't have high level definitions it is automatic in the sense that there are no definitions to show. So I think the answer to your question is that all functions can be spelunked and there is no way to prevent that.
9:07 AM
Hi everyone, I have the following confusion:
I work on Windows 10 pro and I installed the Mathematica 10.2 on my laptop. However, when I open the Wolfram Demostration Project, the Chrome browser and Mircosoft Edge cannot run the demo on the sites.

For instsnce, Chrome browser
Mircosoft Edge
However, when I open the Internet Explore, this time the wolfram demo could be ran automatically.
Is there any solution to revise this pheomenon?
@PlaysDice It does what it's name suggests: prints definitions of a symbol - though I forgot to add that it is in the "GeneralUtilities`" package; see here.
Ahh, I see there was already an explanation by others.
3 hours later…
12:11 PM
@IstvánZachar thanks, @Pickett too. GeneralUtilities` requires v10.1. When I upgrade I look forward to exploring!
1 hour later…
1:25 PM
I'm trying to pass a ! Exists[x, ! ...] as a constraint to Minimize. How do I prevent Mma rewriting Exists into ForAll in this process?
2 hours later…
3:05 PM
@ShutaoTANG Maybe Chrome supported old browser plugins (if it worked for you before, I don't know how else to explain it), officially the don't support plugins like the CDF player. Other browsers are phasing it out, and this is probably what you are seeing with Microsoft Edge.
@Pickett How is "most popular" calculated on package data?
@TheToad Each time someone clicks on a link his IP is registered as having clicked on that link, and the popularity ranking is the number of visitors (in this sense) who have clicked on a certain link.
One IP cannot be counted twice.
3:49 PM
@Pickett Ah nice, thanks
4:20 PM
@ShutaoTANG Neither Chrome, nor Edge support NPAPI plugins anymore. Chrome might have a switch to turn it back on ... otherwise just use Firefox while they still support it.
@Pickett Good, so I don't have to worry about clicking too much :)
Did you know Mathematica could do this?
Graph[ExampleData[{"NetworkGraph", "JazzMusicians"}],
 VertexSize -> Scaled[0.01],
 EdgeStyle -> Directive[RGBColor[0.8, 0.2, 0.3], Opacity[0.2]],
 VertexStyle -> Black,
 GraphLayout -> {"EdgeLayout" -> "HierarchicalEdgeBundling"}]
4:56 PM
Useless method of approximating pi: Table[With[{e = 2.^-n}, Length@NestWhileList[#^2 + 1/4 + e &, 0, # < 2 &] Sqrt@e], {n, 0, 35}]
Stolen from this video:
5:22 PM
Q: How to deal with questions that are basically duplicates of the Pitfalls thread but that have excellent answers anyway?

marchI'm thinking in particular of this very recent question, where the OP has constructed a For loop that actually solves their problem, except that instead of using AppendTo, they are using Append, and so of course they are falling victim to a common new user pitfall. I am tempted, of course, to vo...

1 hour later…
6:42 PM
I'm trying to build a tool to construct a color distance metric from own visual judgement.
It repeatedly gives two large random color patches, and ten small ones, randomized interpolations between those, overlapping with both. The goal is to pick one that is "at equal distance" from both large patches.
A very simple test case, measuring linearity of greyscale values, seems to reconstruct the perceptual response curve surprisingly efficiently on basis of this data.
6:59 PM
posted on October 01, 2015 by Peter Barendse

As summer wraps up and students are hitting the books once again here in the US, it’s fun to explore how the Wolfram Language can be used in the classroom to analyze texts. Take the beloved classic Alice in Wonderland by Lewis Carroll as an example. In just a few lines of code, you can [...]


« first day (1352 days earlier)      last day (1846 days later) »