<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel rdf:about="https://community.wolfram.com">
    <title>Community RSS Feed</title>
    <link>https://community.wolfram.com</link>
    <description>RSS Feed for Wolfram Community showing any discussions tagged with webMathematica sorted by new.</description>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3177108" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/2672853" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/2594233" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/2391344" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/2337912" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/2281204" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1999108" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1886019" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1884517" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1879099" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1828923" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1670068" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1391661" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1300029" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1079114" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/989082" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/932597" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/908444" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/868653" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/771842" />
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3177108">
    <title>Inserting a matrix in Mathematica Online</title>
    <link>https://community.wolfram.com/groups/-/m/t/3177108</link>
    <description>How do I insert a matrix in Mathematica Online? The documentation says it should be under the Insert menu, but it is not there in my Online session. &#xD;
&#xD;
Also, is there a good place that describes the Online interface for someone who is used to the desktop interface?&#xD;
&#xD;
Thanks.</description>
    <dc:creator>John Gore</dc:creator>
    <dc:date>2024-05-15T23:07:25Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/2672853">
    <title>What&amp;#039;s the difference between Wolfram Mathematica and Wolfram One?</title>
    <link>https://community.wolfram.com/groups/-/m/t/2672853</link>
    <description>I wanted to compare those two solutions, so I started a free trial for both of them. However, it looks like they&amp;#039;re completely the same. Wolfram Mathematica web opens the same website as Wolfram One web, and both of the desktop downloads download the same application.&#xD;
&#xD;
So what is the difference between those two? Are they just the same thing, but with different pricing models?</description>
    <dc:creator>Paul Zolotarevskiy</dc:creator>
    <dc:date>2022-10-26T12:43:35Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/2594233">
    <title>Dialog box to read a cloud file in Mathematica Online</title>
    <link>https://community.wolfram.com/groups/-/m/t/2594233</link>
    <description>Good afternoon.&#xD;
&#xD;
I am an engineer that used Mathematica many many years ago during my Ph.D. Now I decided to try again and I ordered an annual subscription for Mathematica online.&#xD;
&#xD;
I wrote a little script that reads a file:&#xD;
&#xD;
    data=Transpose@Partition[BinaryReadList[&amp;#034;0077_1_20070101.BIN&amp;#034;,&amp;#034;UnsignedInteger16&amp;#034;],8];&#xD;
&#xD;
This is the first line.&#xD;
I would like to choose the correct file (in this case 0077_1_20070101.BIN) through a dialog window. Is it possible to choose a file from the Cloud Files directory?&#xD;
&#xD;
Thank you in advance and best regards.&#xD;
&#xD;
Bruno</description>
    <dc:creator>Bruno Vusini</dc:creator>
    <dc:date>2022-08-09T13:29:11Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/2391344">
    <title>HTMLSelect gives a wrong ouput?</title>
    <link>https://community.wolfram.com/groups/-/m/t/2391344</link>
    <description>I am using the bellow code. With opA or opD works but not with opB or opD. Perhaps because in the output B and C is used 10^-6! But why?. Also, in OpB and optC the menu reset to OptA .&#xD;
 &#xD;
![enter image description here][1]&#xD;
![enter image description here][2]&#xD;
&#xD;
&#xD;
    &amp;lt;%@ page language=&amp;#034;java&amp;#034;  %&amp;gt;&#xD;
    &amp;lt;%@ taglib uri=&amp;#034;/webMathematica-taglib&amp;#034; prefix=&amp;#034;msp&amp;#034; %&amp;gt;&#xD;
    &amp;lt;html&amp;gt;&#xD;
    &#xD;
    &amp;lt;head&amp;gt;&#xD;
    &amp;lt;title&amp;gt;TITULO&amp;lt;/title&amp;gt;&#xD;
    &amp;lt;link rel=stylesheet type=&amp;#039;text/css&amp;#039; href=&amp;#039;css/estilo1.css&amp;#039;&amp;gt;&#xD;
    &#xD;
    &amp;lt;/head&amp;gt;&#xD;
    &amp;lt;body bgcolor=&amp;#034;#ffffff&amp;#034; &amp;gt;&#xD;
    &#xD;
    &amp;lt;form name=&amp;#034;formulario&amp;#034; action=&amp;#034;biokmodfit2.jsp&amp;#034; method=&amp;#034;post&amp;#034;&amp;gt;&#xD;
    &#xD;
    &#xD;
    Choose one option: &#xD;
    &amp;lt;msp:evaluate&amp;gt;&#xD;
    HTMLSelect[{&amp;#034;OpA&amp;#034;,&amp;#034;OpB&amp;#034;,&amp;#034;OpC&amp;#034;,&amp;#034;OpD&amp;#034;}, {2.4*10^-5, 0.32*10^(-5), 2.1*10^-6, 4.2*10^-5}, &amp;#034;dcf&amp;#034;, SelectedValues -&amp;gt; {$$dcf}]&#xD;
    &amp;lt;/msp:evaluate&amp;gt;&#xD;
    Or&#xD;
    &amp;lt;INPUT TYPE=&amp;#034;TEXT&amp;#034; NAME=&amp;#034;dcfOptional&amp;#034; ALIGN=&amp;#034;LEFT&amp;#034; SIZE=&amp;#034;35&amp;#034; &#xD;
    VALUE=&amp;#034;&amp;lt;msp:evaluate&amp;gt;  MSPValue[$$dcfOptional,&amp;#034;0.0&amp;#034;] &#xD;
    &amp;lt;/msp:evaluate&amp;gt;&amp;#034;&#xD;
    /&amp;gt;&#xD;
    &amp;lt;INPUT TYPE=&amp;#034;checkbox&amp;#034; NAME=&amp;#034;dcfOptionalChbx&amp;#034; &amp;gt;&#xD;
    &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&#xD;
    &#xD;
    &amp;lt;br&amp;gt;&#xD;
    &#xD;
    &amp;lt;p class=&amp;#039;azulpeque&amp;#039; align=&amp;#039;center&amp;#039;&amp;gt;Push EVALUATE &amp;lt;br&amp;gt;&amp;lt;img src=&amp;#034;images/help.gif&amp;#034; width=&amp;#034;1%&amp;#034; heigth=&amp;#034;1%&amp;#034; border=&amp;#034;0&amp;#034;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xD;
    &amp;lt;center&amp;gt;&amp;lt;input type=&amp;#034;submit&amp;#034; name=&amp;#034;btnSubmit&amp;#034; value=&amp;#034;Evaluate&amp;#034;  &amp;gt; &amp;lt;/center&amp;gt;&#xD;
    &amp;lt;img name=&amp;#034;results&amp;#034; src=&amp;#034;images/results.gif&amp;#034; class=&amp;#034;icon&amp;#034; align=&amp;#034;absmiddle&amp;#034; border=&amp;#034;0&amp;#034; width=&amp;#034;100%&amp;#034;&amp;gt;&#xD;
    &#xD;
    &amp;lt;font class=&amp;#039;rojo&amp;#039;&amp;gt;&amp;lt;b&amp;gt; Input data &amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&#xD;
    &amp;lt;msp:evaluate&amp;gt;&#xD;
    If[$$dcfOptionalChbx===&amp;#034;on&amp;#034;,$$dcf=$$dcfOptional];&#xD;
    HTMLTableForm[MSPBlock[{$$dcf}, {$$dcf}]]&#xD;
    &amp;lt;/msp:evaluate&amp;gt; &#xD;
    &amp;lt;/form&amp;gt;&#xD;
    &amp;lt;/body&amp;gt;&#xD;
    &amp;lt;/html&amp;gt;&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Captura2.JPG&amp;amp;userId=430661&#xD;
  [2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Captura1.JPG&amp;amp;userId=430661</description>
    <dc:creator>JOSÉ GUILLERMO SÁNCHEZ LEÓN</dc:creator>
    <dc:date>2021-10-23T17:25:12Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/2337912">
    <title>Work productivity and accountability sessions</title>
    <link>https://community.wolfram.com/groups/-/m/t/2337912</link>
    <description>I want to set up a regular online meeting for productivity and accountability in our Mathematica projects.  I suggest the Pomodoro method: 25 minutes independent work on our own projects, 5 minute break to check in with each other, repeated 3-4x per session. Happy to discuss exact timings and frequency with anyone who&amp;#039;s interested!</description>
    <dc:creator>Milan Ter</dc:creator>
    <dc:date>2021-08-09T14:34:49Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/2281204">
    <title>Graphics3D with tooltip doesn&amp;#039;t work on Mathematica online?</title>
    <link>https://community.wolfram.com/groups/-/m/t/2281204</link>
    <description>7 years ago, Bianca Eifert gave this example for tooltip with Graphics3D :&#xD;
&#xD;
    Graphics3D[{Tooltip[Sphere[{0, 0, 0}], &amp;#034;one sphere&amp;#034;],&#xD;
      Tooltip[Sphere[{2, 0, 0}], &amp;#034;another sphere&amp;#034;]}]&#xD;
&#xD;
It does not work when I test it on Mathematica online.&#xD;
&#xD;
I wonder why.&#xD;
Thank you in advance for any help.</description>
    <dc:creator>Jean Maillet</dc:creator>
    <dc:date>2021-06-02T10:19:05Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1999108">
    <title>Create a tree menu in webMathematica</title>
    <link>https://community.wolfram.com/groups/-/m/t/1999108</link>
    <description>At present I have in webMathematica a Menu like this:&#xD;
&#xD;
I have only a box where the user can choose {&amp;#034;A1&amp;#034;, &amp;#034;A2&amp;#034;,  &amp;#034;B1&amp;#034;, &amp;#034;B2&amp;#034;, &amp;#034;B3&amp;#034;,&amp;#034;C1&amp;#034;,&amp;#034;C2&amp;#034; }&#xD;
I apply the following syntax&#xD;
&amp;lt;msp:evaluate&amp;gt;&#xD;
HTMLSelect[{&amp;#034;A1&amp;#034;, &amp;#034;A2&amp;#034;,  &amp;#034;B1&amp;#034;, &amp;#034;B2&amp;#034;, &amp;#034;B3&amp;#034;,&amp;#034;C1&amp;#034;,&amp;#034;C2&amp;#034; }, {&amp;#034;av1&amp;#034;,&amp;#034;av2&amp;#034;, &amp;#034;bv1&amp;#034;, &amp;#034;bv2&amp;#034;,&amp;#034;bv3&amp;#034;, &amp;#034;cv1&amp;#034;, &amp;#034;cv2&amp;#034;}}, &amp;#034;lambda&amp;#034;, SelectedValues -&amp;gt; {$$lambda}]&#xD;
&amp;lt;/msp:evaluate&amp;gt;&#xD;
&#xD;
I will prefer to divide the above box in two boxes&#xD;
&#xD;
Box1-&amp;gt; The user can choose {A or B or C}&#xD;
Box2-&amp;gt; If in Box1 it is chosen A, then it shows {A1, A2},  If it is chosen B, then it shows {B1,B2, B3},  If it is chosen C, then it shows {C1,C2}, &#xD;
&#xD;
How can it be done?&#xD;
&#xD;
&#xD;
Guillermo</description>
    <dc:creator>JOSÉ GUILLERMO SÁNCHEZ LEÓN</dc:creator>
    <dc:date>2020-06-09T07:14:09Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1886019">
    <title>How do I change output size before truncation from the Linux Terminal ?</title>
    <link>https://community.wolfram.com/groups/-/m/t/1886019</link>
    <description>I recently installed Wolfram Mathematica in a instance in Google Cloud using GPUs and I&amp;#039;m running it inside Jupyter Notebook, Python 3, using Wolfram Client library. However, big outputs, like a 400,000 connections social network are being prevented from being shown:&#xD;
&#xD;
![Truncated][1]&#xD;
&#xD;
He is my code:&#xD;
&#xD;
    a1=list(a.iloc[:,1].astype(str))&#xD;
    a2=list(a.iloc[:,2].astype(str))&#xD;
    b=[i for i in list(a1)]&#xD;
    b2=[i for i in list(a2)]&#xD;
    punct=w1.Flatten(w1.StringCases(w1.CharacterRange(1, 65535), w1.PunctuationCharacter))&#xD;
    c1=w1.StringDelete(b,punct)&#xD;
    c2=w1.StringDelete(b2,punct)&#xD;
    edges=wlexpr(&amp;#039;f[x_,y_]:=CommunityGraphPlot[Graph[UndirectedEdge[x[[#]], y[[#]]] &amp;amp; /@ Range[Dimensions[x][[1]]]],FindGraphCommunities[Graph[UndirectedEdge[x[[#]], y[[#]]] &amp;amp; /@ Range[Dimensions[x][[1]]]]]]&amp;#039;);&#xD;
    h=w1.f(c1,c2);&#xD;
    path2 = &amp;#034;/home/rubens/Math/data2.jpg&amp;#034;&#xD;
    cr=session.evaluate(w1.Export(path2,h , &amp;#034;JPG&amp;#034;));&#xD;
    &#xD;
    import imageio&#xD;
    import matplotlib.pyplot as plt&#xD;
    from PIL import Image&#xD;
    &#xD;
    im1 = imageio.imread(&amp;#039;/home/rubens/Math/data2.jpg&amp;#039;) &#xD;
    plt.imshow(im1)&#xD;
    plt.show()&#xD;
&#xD;
I tried Show[] but it does not solve the problem. I noticed it&amp;#039;s possible to setup a maximum output before truncation and I guess this would solve my problem, but I don&amp;#039;t know how to do this using Linux terminal command line, given that Jupyter does not offer a Mathematica menu.&#xD;
&#xD;
Any ideas are welcome.&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=doubt.png&amp;amp;userId=992056</description>
    <dc:creator>Rubens Zimbres</dc:creator>
    <dc:date>2020-02-23T19:14:01Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1884517">
    <title>Running Wolfram Mathematica inside Jupiter Notebook in Google Cloud + GPUs</title>
    <link>https://community.wolfram.com/groups/-/m/t/1884517</link>
    <description>I am a Data Scientist working in a startup in Brazil. Recently I was working with Social Networks in Python using networkx library to analyse posts from a given hashtag for our client. However, I was completely aware of the additional functionalities of Wolfram Mathematica. Take the following picture as an example, done with networkx, 100,000 people:&#xD;
&#xD;
![Social Network Emotions Connections][1]&#xD;
&#xD;
It&amp;#039;s an interesting perspective, but adds little value to generate strategic insights for our clients, given that we need to zoom it to analyze details of this network. In my previous experience of Wolfram Mathematica, I was able to use some reasoning coming from cellular automata interactions to map, track people of interest (blue circle), and watch the evolution of mood (color), number of connections (size of circle) in a social network:&#xD;
&#xD;
![Evolution of Mood][2]&#xD;
&#xD;
Besides, one can use Mathematica&amp;#039;s features of finding communities, coloring them and even highlight people of interest when passing the mouse over the social network and also speaking their names:&#xD;
&#xD;
![Communities][3]&#xD;
&#xD;
More than that, you can highlight communities and check the number of connections of each individual:&#xD;
&#xD;
![Communities Two][4]&#xD;
&#xD;
So, it&amp;#039;s clear that Wolfram Mathematica is way ahead of networkx. However, I was dealing with a drawback: if you choose to plot more than 10,000 connections in Mathematica, that can take some time. And time is what you don&amp;#039;t have in a startup. So, I started wondering how I could use GPUs with Wolfram Mathematica. One way it&amp;#039;s to use webMathematica, installing Java and Apache Tomcat in a cloud instance. However, I was told one can also use Wolfram Client Python library and run Mathematica in a Python notebook.&#xD;
&#xD;
So, I will present how I was able to run Mathematica inside a Jupyter notebook located in a Google Cloud instance with 8 V100 GPUs. My co-worker, Gustavo Gouvea, also put efforts in this solution.&#xD;
&#xD;
First of all, go to Google Cloud Platform (GCP) Compute Engine and select Create Instance in a given region. Choose your CPUs, Memory, GPUs and regarding the boot disk, I used Debian GNU/Linux with Anaconda, PyTorch and CUDA already installed, as we also work with Deep Learning and NLP.&#xD;
&#xD;
After that, you need to configure Jupyter in order to be able to open it in the local browser, by doing the following:&#xD;
&#xD;
    ipython&#xD;
    from IPython.lib import passwd&#xD;
    passwd()&#xD;
&#xD;
Now that you created the password, you are going to save &amp;#034;sha1:49b8799c22...&amp;#034;&#xD;
Then you will edit Jupyter configuration file (use sudo or chmod -R 777 /home/anaconda3):&#xD;
&#xD;
    sudo vi ~/.jupyter/jupyter_notebook_config.py&#xD;
&#xD;
Add (type &amp;#034;i&amp;#034;) these line of code:&#xD;
&#xD;
    c=get_config()&#xD;
    c.NotebookApp.password =  paste your sha1 here&#xD;
    c.IPKernelApp.pylab = &amp;#039;inline&amp;#039;&#xD;
    c.NotebookApp.ip =  &amp;#034;*&amp;#034; or 0.0.0.0&#xD;
    c.NotebookApp.open_browser = False&#xD;
&#xD;
Go to GCP VPC and create a static IP for your instance, SSH into it.&#xD;
&#xD;
So, to start Jupyter notebook you will need to run:&#xD;
&#xD;
    jupyter notebook&#xD;
&#xD;
![Jupyter][5]&#xD;
&#xD;
Now you will access Jupyter in the following address:&#xD;
&#xD;
http://http://55.100.30.200:8888/&#xD;
&#xD;
![Jupyter 2][6]&#xD;
&#xD;
That will allow you to run Python notebooks in Jupyter. Now Mathematica. Get the mathematica .sh file:&#xD;
&#xD;
    sudo wget link_to_mathematica.sh&#xD;
&#xD;
To install Mathematica run in another SSH session (terminal window):&#xD;
&#xD;
    sudo bash  link_to_mathematica.sh&#xD;
&#xD;
Ok, you installed Mathematica. Now run:&#xD;
&#xD;
    math&#xD;
&#xD;
This command will ask for your Activation key and Password. After providing them, Mathematica notebook starts in the command line&#xD;
&#xD;
![Mathematica running][7]&#xD;
&#xD;
**Important:** You must run Mathematica (&amp;#034;math&amp;#034;) **before** you open Jupyter Notebook.&#xD;
&#xD;
Now that you&amp;#039;ve opened Mathematica in the command line with one SSH and after that Jupyter Notebook in other SSH, access the web address, port 8888, create a new Python 3 notebook and install wolframclient library:&#xD;
&#xD;
![pip install][8]&#xD;
&#xD;
Now you can run your Mathematica scripts with backup of how many GPUs you need:&#xD;
&#xD;
![NVIDIA-SMI][9]&#xD;
&#xD;
    from wolframclient.language import wl as w1&#xD;
    from wolframclient.language import wlexpr&#xD;
    from wolframclient.evaluation import WolframLanguageSession&#xD;
    session = WolframLanguageSession(&amp;#039;/usr/local/Wolfram/Mathematica/12.0/Executables/MathKernel&amp;#039;)&#xD;
    import numpy as np &#xD;
    import imageio&#xD;
    import matplotlib.pyplot as plt&#xD;
    from PIL import Image&#xD;
&#xD;
![Output][10]&#xD;
&#xD;
In bird&amp;#039;s eye:&#xD;
&#xD;
![Overview][11]&#xD;
&#xD;
![enter image description here][12]&#xD;
&#xD;
The only point is that you won&amp;#039;t have access to all Mathematica functionalities, as Manipulate, Mouse Over and the display of some images when output is truncated. My guess is that init.m config file must be adjusted to increase output size before truncation (in the command line) :&#xD;
&#xD;
![GraphPlot][13]&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Easter0.PNG&amp;amp;userId=992056&#xD;
  [2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=0.jpeg&amp;amp;userId=992056&#xD;
  [3]: https://community.wolfram.com//c/portal/getImageAttachment?filename=01.png&amp;amp;userId=992056&#xD;
  [4]: https://community.wolfram.com//c/portal/getImageAttachment?filename=02.png&amp;amp;userId=992056&#xD;
  [5]: https://community.wolfram.com//c/portal/getImageAttachment?filename=2918jupy.png&amp;amp;userId=992056&#xD;
  [6]: https://community.wolfram.com//c/portal/getImageAttachment?filename=jupyter.png&amp;amp;userId=992056&#xD;
  [7]: https://community.wolfram.com//c/portal/getImageAttachment?filename=pp.png&amp;amp;userId=992056&#xD;
  [8]: https://community.wolfram.com//c/portal/getImageAttachment?filename=pip.png&amp;amp;userId=992056&#xD;
  [9]: https://community.wolfram.com//c/portal/getImageAttachment?filename=nvidia.png&amp;amp;userId=992056&#xD;
  [10]: https://community.wolfram.com//c/portal/getImageAttachment?filename=py.png&amp;amp;userId=992056&#xD;
  [11]: https://community.wolfram.com//c/portal/getImageAttachment?filename=bird.png&amp;amp;userId=992056&#xD;
  [12]: https://community.wolfram.com//c/portal/getImageAttachment?filename=sss.png&amp;amp;userId=992056&#xD;
  [13]: https://community.wolfram.com//c/portal/getImageAttachment?filename=issues.png&amp;amp;userId=992056</description>
    <dc:creator>Rubens Zimbres</dc:creator>
    <dc:date>2020-02-21T00:39:03Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1879099">
    <title>webMathematica: Avoid reset the input in a menu with different options?</title>
    <link>https://community.wolfram.com/groups/-/m/t/1879099</link>
    <description>In the below jsp file the user chooses between 3 options: A, B, C. When the menu is evaluated the output is fine, but the menu reset to the initial state. For instance: If I choose B, and evaluate the ouput is B (it is OK), but the input menu resest to A,  how could I get that it stays in my last election (B)?&#xD;
&#xD;
    &amp;lt;%@ page language=&amp;#034;java&amp;#034;  %&amp;gt;&#xD;
    &amp;lt;%@ taglib uri=&amp;#034;/webMathematica-taglib&amp;#034; prefix=&amp;#034;msp&amp;#034; %&amp;gt;&#xD;
    &#xD;
    &amp;lt;html&amp;gt;&#xD;
    &#xD;
    &amp;lt;form name=&amp;#034;fest&amp;#034; action=&amp;#034;test.jsp&amp;#034; method=&amp;#034;post&amp;#034;&amp;gt;&#xD;
    &amp;lt;body&amp;gt;&#xD;
    Select a option:  &#xD;
    &#xD;
    &amp;lt;SELECT NAME=&amp;#034;element&amp;#034; SIZE=&amp;#034;1&amp;#034;&amp;gt;&#xD;
    &amp;lt;OPTION VALUE=&amp;#034;OptionA&amp;#034;&amp;gt;A&#xD;
    &amp;lt;OPTION VALUE=&amp;#034;OptionB&amp;#034;&amp;gt;B&#xD;
    &amp;lt;OPTION VALUE=&amp;#034;OptionC&amp;#034;&amp;gt;C&#xD;
    &amp;lt;/SELECT&amp;gt;&#xD;
    &amp;lt;br&amp;gt;&#xD;
    &amp;lt;br&amp;gt;&#xD;
    &amp;lt;msp:evaluate&amp;gt;&#xD;
    MSPBlock[$$element,$$element ]&#xD;
    &amp;lt;/msp:evaluate&amp;gt;&#xD;
    &amp;lt;input type=&amp;#034;submit&amp;#034; name=&amp;#034;btnSubmit&amp;#034; value=&amp;#034;Evaluate&amp;#034; &amp;gt; &#xD;
    &#xD;
    &amp;lt;/body&amp;gt;&#xD;
    &amp;lt;/html&amp;gt;</description>
    <dc:creator>JOSÉ GUILLERMO SÁNCHEZ LEÓN</dc:creator>
    <dc:date>2020-02-15T16:41:34Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1828923">
    <title>Show an output in a new webPage in webMathematica?</title>
    <link>https://community.wolfram.com/groups/-/m/t/1828923</link>
    <description>webMathematica: How show an output in a new webPage?&#xD;
 e.g. In  https://library.wolfram.com/webMathematica/Mathematics/Expand.jsp&#xD;
![enter image description here][1]&#xD;
How show the result in a new webpage.&#xD;
&#xD;
The code of the Expand.jsp example can be found in. &#xD;
https://library.wolfram.com/webMathematica/scripts/GetForm.jsp?script=Mathematics/Expand.jsp&#xD;
I will apprediate if you modify it to obtain the output in a new  webpage.&#xD;
 &#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=example.JPG&amp;amp;userId=430661</description>
    <dc:creator>JOSÉ GUILLERMO SÁNCHEZ LEÓN</dc:creator>
    <dc:date>2019-11-21T13:02:08Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1670068">
    <title>webMathematica in Safari under macOS Mojave: Unsupported plug-in for 3D</title>
    <link>https://community.wolfram.com/groups/-/m/t/1670068</link>
    <description>On a localhost installation of webMathematica (with Mathematica 12.0 as engine) under macOS Mojave 10.14.4, and using tomcat 9.0.1, I can run the supplied examples *except* those that create 3D graphics, e.g., &amp;#034;Live 3D Plotting&amp;#034; and &amp;#034;Polyedron Explorer&amp;#034;.&#xD;
&#xD;
When in Safari I press a button to do an evaluation, etc. for one of these 3D graphics apps, I get an &amp;#034;Unsupported Plug-in&amp;#034; error where the 3D graphic should appear.&#xD;
&#xD;
What plug-in would this be, and how can the error be fixed?</description>
    <dc:creator>Murray Eisenberg</dc:creator>
    <dc:date>2019-04-26T19:49:13Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1391661">
    <title>Get Mathematica Online usage and access?</title>
    <link>https://community.wolfram.com/groups/-/m/t/1391661</link>
    <description>Hello,&#xD;
My name is Shailesh. I have just purchased the Mathematica Annual subscription for Premium Service Plus package. It is supposed to include the Mathematica Online usage and access. However, I am not able to use the platform, not able to create notebooks etc. Please help.&#xD;
&#xD;
Regards,&#xD;
Shailesh</description>
    <dc:creator>Shailesh Chiplunkar</dc:creator>
    <dc:date>2018-07-25T12:23:45Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1300029">
    <title>Obtain a Plot3D in webMathematica?</title>
    <link>https://community.wolfram.com/groups/-/m/t/1300029</link>
    <description>Hello friends&#xD;
&#xD;
Can any body give me an example to represent a graphics 3D (using Plot3D) in webMathematica?&#xD;
&#xD;
I copied the file Plot3D included in webMathemaica documentantion&#xD;
(https://reference.wolfram.com/webMathematica/tutorial/BasicExamples.html )&#xD;
 &#xD;
http://oed.usal.es/webMathematica/Examples/Plot3DLive.jsp , It worked some time ago (years) but now it does´t work&#xD;
&#xD;
I realize at http://library.wolfram.com/webMathematica/Graphics/Plot3D.jsp includes an example of Plot3D but a package called Cluster whose code is not shown is requiered .&#xD;
&#xD;
Guillermo</description>
    <dc:creator>JOSÉ GUILLERMO SÁNCHEZ LEÓN</dc:creator>
    <dc:date>2018-03-11T11:21:08Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1079114">
    <title>Get tomcat servlet info in webMathematica?</title>
    <link>https://community.wolfram.com/groups/-/m/t/1079114</link>
    <description>Anyone know how to fetch the current webMathematica kernel ID number (e.g. {0,1,2,3...} as reported by Resources/Tools/KernelMonitor.jsp) from within my webMathematica code.  I can use $ProcessID to get a UNIX PID, but I&amp;#039;d prefer to have the Kernel ID associated with that PID.&#xD;
&#xD;
Also, I&amp;#039;d like to know how to fetch the current tomcat servlet ID from within webMathematica.  Any idea how to do this?  This is the value logged as &amp;#039;%t&amp;#039; in the log4j logging package used by tomcat (e.g. &amp;#039;http-bio-8080-exec-4&amp;#039;) when running webMathematica transactions.&#xD;
&#xD;
Thanks!</description>
    <dc:creator>Jim Van Riper</dc:creator>
    <dc:date>2017-05-01T17:25:17Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/989082">
    <title>Create an online version of a desktop WL-based puzzle game?</title>
    <link>https://community.wolfram.com/groups/-/m/t/989082</link>
    <description>Hello. I wrote the code for a puzzle game. It&amp;#039;s written in a notebook that I would like to share on the internet:&#xD;
&#xD;
    game[] := &#xD;
      Dynamic[DynamicModule[{pt = {0, 0}}, &#xD;
        Magnify[EventHandler[&#xD;
          ClickPane[Dynamic@Graphics[display[]], (pt = #) &amp;amp;], &#xD;
            {&amp;#034;MouseClicked&amp;#034; :&amp;gt; clicks$manager[pt[[1]], pt[[2]]]}], 7]]];&#xD;
&#xD;
display[] calls a Graphics[...] user interface. There is a &#xD;
&#xD;
    {background$color,Rectangle[{0,0},{1024,1024}]} &#xD;
&#xD;
background and images appear in top of it. `clicks$manager[x,y]` triggers actions depending on what is currently displayed by the UI. `game[]` is the single-line input I shift-enter to begin playing the game.&#xD;
&#xD;
When I shift-enter the code, the game imports the images that will be used by the UI from &amp;#034;path/images/image01.jpg&amp;#034;, &amp;#034;path/images/image02.jpg&amp;#034;, ... . All images a stored on my computer.&#xD;
&#xD;
The game is single player: one vs the AI. The AI has a few difficulty levels. One level calls a log of all the previous games to be able to pick the best decisions. This database is actually only a table written in a log.txt file stored on my computer. At the end of each game, the log is exported to &amp;#034;path/log/log.txt&amp;#034;. At the beginning of each game, log.txt is imported from &amp;#034;path/log/log.txt&amp;#034;&#xD;
&#xD;
My question is from that point, what do I need to do to share this game on the internet?&#xD;
I&amp;#039;d like to have a webpage that starts to display the UI at once.&#xD;
I consider webmathematica to let anyone, not only Mathematica users, have access to my UI.&#xD;
Is that the only option?&#xD;
If yes, where will I put the notebook, the images and the log.txt that the game requires?&#xD;
What modification will I have to make to the code?&#xD;
Am I sure that I will be the only one to have access to the log.txt file?&#xD;
Are there examples of websites for puzzle games made by amateurs that are powered by webmathematica? (I googled it but I can only find www.wolfram.com pages)&#xD;
&#xD;
Thank you.</description>
    <dc:creator>Dominic Biron</dc:creator>
    <dc:date>2017-01-03T13:13:00Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/932597">
    <title>Deploying interactive Notebooks or CDFs to an existing website?</title>
    <link>https://community.wolfram.com/groups/-/m/t/932597</link>
    <description>I have a website that I created with Go Daddy and deployed on the web via Google.&#xD;
&#xD;
I would like to embed some interactive Mathematica calculation capabilities and graphics into the site&amp;#039;s webpages. I have several notebooks and CDFs that will be of interest to my website visitors as-well-as a customized package and palette that I might also want to use with the site&amp;#039;s calculations.&#xD;
&#xD;
What is the best way to go about doing this? Which Wolfram product should I utilize (webMathematica, Wolfram Cloud, Mathematica Online, etc) and how do I actually do it? Should I first convert my interactive notebooks into CDF&amp;#039;s or use the notebooks as is? Website building is not my area of expertise.&#xD;
&#xD;
Thanks for your assistance!&#xD;
&#xD;
Kerry</description>
    <dc:creator>Kerry Litvin</dc:creator>
    <dc:date>2016-10-02T02:06:07Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/908444">
    <title>[WSSA16] Astronomy Club Scheduler</title>
    <link>https://community.wolfram.com/groups/-/m/t/908444</link>
    <description>Abstract&#xD;
=======&#xD;
&#xD;
Have you ever thought which place could be the best for sky observation? When should you enjoy clear sky? A lot people like astronomy and usually they observe astronomical objects using telescopes or camera. Star observers and photographers should know the importance of the clear sky during an observation of astronomical objects such as the moon. The moon is the brightest object in the sky and it is the main reason why  I started my  project with creating an astronomical  web program which will show the weather forecast  by comparing it with other regions in a chosen country and also the moon phases for the next week. Firstly, users will get an opportunity to observe the moon from their window or in the parks near to their home. Secondly, they will get information about regions where cloud density is the lowest. Finally, users will know the moon phases for the next week so they can use it for an observation. In this case it becomes easy to observe astronomical objects without having problems with the cloudy sky and the location choice.&#xD;
&#xD;
Table of Context&#xD;
--------------------&#xD;
&#xD;
 -  **Introduction to Astronomy Club Bot program**&#xD;
 -  **Searching for Wolfram Data**&#xD;
 -  **Creating Data Access Library**&#xD;
 -  **Integrating Library into a Single Macro-Function**&#xD;
 -  **Creating Cloud Micro-Site**&#xD;
 -  **Conclusion**&#xD;
&#xD;
Please interact with the actual web project at the [**following location**][1]&#xD;
&#xD;
![enter image description here][2]&#xD;
&#xD;
#Introduction to Astronomy Club Bot program &#xD;
&#xD;
Astronomy Club Bot program has three inputs and a big output, which includes three important parts. First input is the name the of city where user wants to observe the Moon. The output has two parts related to each other. It shows the cloud cover and the moon phases for that week. Second and third inputs are the name of  the country and the exact date of  an observing. Third part shows map with the comparison of the cover densities  in all regions of a chosen country. The main thing that I used during programming was the Wolfram Data and all functions related to my web project.  &#xD;
&#xD;
Wolfram Data used&#xD;
=======&#xD;
 - WeatherForecastData&#xD;
 - CloudCoverFraction&#xD;
 - AdministrativeDivisionData&#xD;
 - CountryData&#xD;
 - CityData&#xD;
 - Date&#xD;
 - MoonPhase&#xD;
&#xD;
Creating Data Access Library&#xD;
=======&#xD;
&#xD;
After researching all important information I started to code a simple functions and the Wolfram data helped me. Here is my first plot (part of the main output) which shows the cloud cover for 6 days in a chosen city. That is why I used CloudCoverFraction to got the cloud cover information.&#xD;
&#xD;
    cit[x_] := &#xD;
     DateListPlot[&#xD;
      WeatherForecastData[GeoPosition[x], &amp;#034;CloudCoverFraction&amp;#034;], &#xD;
      PlotRange -&amp;gt; All, Mesh -&amp;gt; All, Filling -&amp;gt; Bottom]    &#xD;
    cit[Entity[&amp;#034;City&amp;#034;, {&amp;#034;Kathmandu&amp;#034;, &amp;#034;Kathmandu&amp;#034;, &amp;#034;Nepal&amp;#034;}]]&#xD;
&#xD;
  ![enter image description here][3]&#xD;
&#xD;
This is my second plot, which I connected with the first one (next output shows that). I used the MoonPhase function to got the illustration of the moon phase fraction for a current date. According to my written code the program counts days by assuming that the first day will be tomorrow (first=Tomorrow) so it adds the next 6 days to it and shows the moon phases for that days . &#xD;
&#xD;
    mn = Grid[{{ImageResize[#2, 35]}, {DateString[#, {&amp;#034;DayShort&amp;#034;}]}}] &amp;amp; @@@&#xD;
       MoonPhase[&#xD;
        With[{first = Tomorrow}, &#xD;
         DateRange[first, DatePlus[first, Quantity[6, &amp;#034;Days&amp;#034;]]]], &amp;#034;Icon&amp;#034;][&#xD;
       &amp;#034;Path&amp;#034;]&#xD;
&#xD;
Integrating Library into a Single Macro-Function&#xD;
=======&#xD;
&#xD;
Here I connected two simple functions by using Grid function and gave them sizes .In that case I have two parts in the one output. That means my program will take the city name and give me information about the cloud density and also the moon phases for 6 days.&#xD;
&#xD;
    tg[y_] := &#xD;
     Grid[{{Row[mn, Spacer[9]]}, {Show[cit[y], ImageSize -&amp;gt; 400]}}]&#xD;
    &#xD;
![enter image description here][4]&#xD;
&#xD;
 The AdministrativeDivisionData function helped me with the comparison of a regional cloud covers. The benefit of this data was that I found  administrative divisions of all needed countries by using EntityList and EntityClass. &#xD;
&#xD;
    div[z_] := &#xD;
    EntityValue[&#xD;
     Entity[&amp;#034;AdministrativeDivision&amp;#034;, {EntityProperty[&#xD;
         &amp;#034;AdministrativeDivision&amp;#034;, &amp;#034;ParentRegion&amp;#034;] -&amp;gt; z}], &amp;#034;Entities&amp;#034;]&#xD;
&#xD;
I made a function with WeatherForecastData for cloud cover prediction of the exact time.In this function I have two arguments, so they are responsible for the  Date and the GeoPostion.&#xD;
&#xD;
    wt[time_][ad_] := &#xD;
     QuantityMagnitude[&#xD;
      WeatherForecastData[GeoPosition[ad], &amp;#034;CloudCoverFraction&amp;#034;, time]]&#xD;
    &#xD;
The pltF function shows a regional plot with administrative divisions and the main argument depends on the exact date and the country that user should input. I used a &amp;#034;ct&amp;#034; argument which I defined by mapping a &amp;#034;wt&amp;#034; and a &amp;#034;region&amp;#034; functions.&#xD;
&#xD;
    pltF[y__, ct_] :=  &#xD;
      GeoRegionValuePlot[Thread[y -&amp;gt; ct], PlotStyle -&amp;gt; Opacity[.5], &#xD;
       GeoBackground -&amp;gt; &amp;#034;StreetMap&amp;#034;, &#xD;
       PlotLegends -&amp;gt; Placed[Automatic, Above], ImageSize -&amp;gt; 400];&#xD;
&#xD;
mapperFunct includes two arguments and makes easy to get a division plot that shows the comparison of the cloud covers for each region. This plot is evaluating by getting information of  date and position.  &#xD;
&#xD;
    mapperFunct[country_, time_] := Module[ {regions, ct, ans},&#xD;
      regions = div[country];&#xD;
      ct = wt[time] /@ regions;&#xD;
      ans  = pltF[regions, ct];&#xD;
      ans&#xD;
      ]&#xD;
    mapperFunct[Entity[&amp;#034;Country&amp;#034;, &amp;#034;Nepal&amp;#034;], Tomorrow]&#xD;
&#xD;
![enter image description here][5]&#xD;
&#xD;
Creating Cloud Micro-Site&#xD;
=======&#xD;
&#xD;
In finalFunct I added all important functions that  I programmed before. My function has 3 inputs with big output  as I wanted. It means my function runs by depending on 3 arguments.&#xD;
&#xD;
    finalFunct[city_, country_, time_] := &#xD;
     Rasterize[Column[{tg[city], mapperFunct[country, time]}], &amp;#034;Image&amp;#034;, &#xD;
      &amp;#034;ImageSize&amp;#034; -&amp;gt; 800]&#xD;
&#xD;
This is my final code of the web project where I used CloudDeploy function and included FormPage with 3 inputs. I changed my function permissions to Public, it means that program is opened for users so they can run my program and check the weather forecast for the moon observation.&#xD;
&#xD;
    CloudDeploy[&#xD;
    	Delayed[&#xD;
    		FormPage[{&#xD;
    			&amp;#034;city&amp;#034;-&amp;gt;&amp;lt;|&amp;#034;Interpreter&amp;#034;-&amp;gt;&amp;#034;City&amp;#034;,&amp;#034;Input&amp;#034;-&amp;gt;&amp;#034;Kathmandu&amp;#034;|&amp;gt;,&#xD;
    			&amp;#034;country&amp;#034;-&amp;gt;&amp;lt;|&amp;#034;Interpreter&amp;#034;-&amp;gt;&amp;#034;Country&amp;#034;,&amp;#034;Input&amp;#034;-&amp;gt;&amp;#034;Yerevan&amp;#034;|&amp;gt;,&#xD;
    			&amp;#034;date&amp;#034;-&amp;gt;List[With[{first=Tomorrow},DateRange[first,DatePlus[first, Quantity[6,&amp;#034;Days&amp;#034;]]]]]},&#xD;
    		finalFunct[#city,#country,#date]&amp;amp;]],&#xD;
    &amp;#034;AstroClub&amp;#034;,Permissions-&amp;gt;&amp;#034;Public&amp;#034;]&#xD;
&#xD;
Conclusion&#xD;
=======&#xD;
&#xD;
Astronomy Club Bot program gives an opportunity for amateur astronomers to take pictures and observe the moon with telescope or camera. Users will know the moon phase and the weather forecast by choosing the exact day when they want to organize observation. They also can go to another region where the cloud density will be the lowest. The main idea of this project was making an observation more comfortable for users who can&amp;#039;t leave his/her home or region. So I programmed it by using simple functions,wolfram data and documentation.  &#xD;
&#xD;
&#xD;
  [1]: https://www.wolframcloud.com/objects/user-3c5d3268-040e-45d5-8ac1-25476e7870da/AstroClub/&#xD;
  [2]: http://community.wolfram.com//c/portal/getImageAttachment?filename=ScreenShot2016-08-19at8.50.38AM.png&amp;amp;userId=900614&#xD;
  [3]: http://community.wolfram.com//c/portal/getImageAttachment?filename=ASTRO_CLUB_Final.png&amp;amp;userId=900614&#xD;
  [4]: http://community.wolfram.com//c/portal/getImageAttachment?filename=4482Capture.PNG&amp;amp;userId=900614&#xD;
  [5]: http://community.wolfram.com//c/portal/getImageAttachment?filename=4387Capture1.PNG&amp;amp;userId=900614</description>
    <dc:creator>Tatevik Mkrtchyan</dc:creator>
    <dc:date>2016-08-19T11:47:25Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/868653">
    <title>Set EdgeStyles on a Directed Graph?</title>
    <link>https://community.wolfram.com/groups/-/m/t/868653</link>
    <description>Hello, I wonder if anyone can help me understand how to use EdgeStyles on a directed graph.&#xD;
&#xD;
On an un-directed graph I can do the following:&#xD;
&#xD;
    Graph[{1&amp;lt;-&amp;gt;2,3 &amp;lt;-&amp;gt; 2,1&amp;lt;-&amp;gt;3}, EdgeStyle -&amp;gt; {1&amp;lt;-&amp;gt;2-&amp;gt; Directive[Thickness[0.01],Blue], 3 &amp;lt;-&amp;gt; 2 -&amp;gt; Directive[Thickness[0.005],Red], &#xD;
    1&amp;lt;-&amp;gt; 3 -&amp;gt; Directive[Thickness[0.02],Green]}]&#xD;
&#xD;
But on a directed graph the following does not work:&#xD;
&#xD;
    Graph[{1-&amp;gt;2,3 -&amp;gt; 2,1-&amp;gt;3}, EdgeStyle -&amp;gt; {1-&amp;gt;2-&amp;gt; Directive[Thickness[0.01],Blue], 3 -&amp;gt; 2 -&amp;gt; Directive[Thickness[0.005],Red], &#xD;
    1-&amp;gt; 3 -&amp;gt;  Directive[Thickness[0.02],Green]}]&#xD;
&#xD;
Can someone help me understand what I am missing here?&#xD;
&#xD;
Thank you,&#xD;
Grey</description>
    <dc:creator>Grey Nearing</dc:creator>
    <dc:date>2016-06-06T19:57:55Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/771842">
    <title>How to combine MSPShow and MSPReturn in one block in webMathematica</title>
    <link>https://community.wolfram.com/groups/-/m/t/771842</link>
    <description>Dear All,&#xD;
&#xD;
I am trying to develop a webMathematica website using a jsp file. In my JSP file I can successfully generate a table as input data for plotting a curve. I can then display the plot using MSPShow within my &amp;lt;msp:evaluate&amp;gt; block. My problem is that I cannot use MSPReturn right after MSPShow in the same block, unless I suppress the display using a semicolon &amp;#034;MSPShow[plot];&amp;#034;. My question is how can I use both MSPShow and MSPReturn inside my &amp;lt;msp:evaluate&amp;gt;? &#xD;
&#xD;
The jsp code is attached.&#xD;
&#xD;
Thanks!&#xD;
&#xD;
Cheers,&#xD;
&#xD;
Hadi</description>
    <dc:creator>Hadi Seyed Hosseini</dc:creator>
    <dc:date>2016-01-11T14:35:27Z</dc:date>
  </item>
</rdf:RDF>

