# User Portlet

Jeff Bryant
Discussions
On March 20, a total solar eclipse will happen. Although unless you live in the north polar regions, you are unlikely to see much. You can map the areas of visibility using the Wolfram Language. GeoGraphics[{GeoStyling[None], Opacity[.7], Red,...
You have defined x to be a function of Pn only, but in fact, it is dependent on several other parameters and you are not passing those values into the function. So, they are global. But inside Manipulate, they are local control variables. One way to...
If you are dealing with dates, then its better to deal with DateObjects: events = DateObject /@ {{2014, 12, 14, 15, 26, 20.}, {2014, 12, 14, 15, 38, 31.}, {2014, 12, 14, 15, 41, 14.}, {2014, 12, 19, 11, 55, 11.},...
Manipulate is intended to be a real-time tool. Putting things in Manipulate that are potentially slow will often lead to poor interactivity. Calling data paclets or making API calls, like MinorPlanetData does, inside Manipulate can lead to such...
To add to Jose's response, if you want to color the points different colors efficiently, you can redefine p as follows (there may be a shorter way, but this works): p = With[{triples = Cases[rad, {a_, b_, c_?NumberQ} :> {b, Mod[a,...
Looks like I had a missing set of curly brackets around the Qualifier specification in the first EntityValue call. The released versions don't like that. I have edited the code in the original post above. Hopefully this should now work.
Tomorrow morning, as the Sun is rising, there will be a total lunar eclipse visible over most of the United States and most of the Pacific rim. Alpha supports queries about lunar eclipses: [lunar eclipse on Oct 7 2014][1] But using Wolfram...
With this week's push to production, these inputs should now work with the "Location" qualifier specified: StarData["Polaris", EntityProperty["Star", "Altitude", {"Date" -> DateObject[{2014, 7, 31, 22, 30, 0}], ...
I cannot comment on the accuracy of the model used as I was not involved in that implementation. I can only confirm that NASA and the US Naval observatory were not the sources used. This does not mean the results are wrong, just that it uses...
This seems to work: [mcode]In[22]:= Cases[    XMLElement[      "myelem", {}, {XMLElement[      "INSDQualifier_value", {}, {"Peptidase family M49; pfam03571"}]}],    XMLElement[_, {}, {x_String}] /; StringMatchQ[x, RegularExpression[".+pfam\\d+"]]...