inequalities – problem of resolution of inequalities $ x + 1 / x> -1 + 1 / x $. different answer in Mathematica and Wolfram Alpha

I tried to resolve the inequality $ x + 1 / x> -1 + 1 / x $ with Wolfram Alpha, and that gave me the answer $ (- 1,0) cup (0, + infty) $. It is correct.

But when I try to solve it in Wolfram Mathematica 12.0 (with Wolframscript), it gives me an answer $ (- 1, + infty) $ – with zero in the answer – this is wrong.

I used this command in Wolframscript: Reduce(x+1/x>-1+1/x,x,Reals).

What is wrong with my script command?

wolfram cloud – How to get good images for Graph in published notebooks

Consider the following Graph for example:

Graph(
    {"Square"->"Rectangle","Rectangle"->"Parallelogram","Parallelogram"->"Four-Sided Polygon","Trapezoid"->"Four-Sided Polygon","Rectangle"->"Trapezoid","Four-Sided Polygon"->"Polygon","Polygon"->"Shape","Circle"->"Ellipsoid","Ellipsoid"->"Shape","Triangle"->"Polygon","Equilateral Triangle"->"Isosceles Triangle","Isosceles Triangle"->"Triangle"},
    PlotTheme->"DiagramGreen",

    VertexSize->{.4,.15},
    VertexLabelStyle->Directive(FontFamily->"Arial",FontSize->14),
    AspectRatio->1.5,
    ImageSize->Large
)

The image is crisp and clear (or at least bearable) in the local notebook.

enter description of image here

But if I publish it to the cloud and watch it there, it is of poor quality.

enter description of image here

This may not seem so bad in this simple diagram, but for a more complex diagram with many branches, the vertices are small and become unreadable and the diagonal or curved edges break (aliasing).

In addition, the case becomes serious if I try to transmit information using a vertex shape function with different types of dotted edges (it becomes difficult to distinguish with the aliasing that occurs in the cloud. ):

VertexShapeFunction->(Inset(Framed(#2,
    Background->...change based on #2 ...,
    FrameStyle->Directive(...change based on #2 to {Black,Dotted}, {Black,DotDashed} or {Black,Dashed}...)
),#1)&)

Finally, what happens to the hyperlinks in the vertices of Graph in the notebook published in the cloud, they just don't want to work!

Graph(
    {"Square"->"Rectangle","Rectangle"->"Parallelogram","Parallelogram"->"Four-Sided Polygon","Trapezoid"->"Four-Sided Polygon","Rectangle"->"Trapezoid","Four-Sided Polygon"->"Polygon","Polygon"->"Shape","Circle"->"Ellipsoid","Ellipsoid"->"Shape","Triangle"->"Polygon","Equilateral Triangle"->"Isosceles Triangle","Isosceles Triangle"->"Triangle"}/.{
        "Rectangle"->Hyperlink("Rectangle","https://en.wikipedia.org/wiki/Rectangle")
    },
    PlotTheme->"DiagramGreen",

    VertexSize->{.4,.15},
    VertexLabelStyle->Directive(FontFamily->"Arial",FontSize->14),
    AspectRatio->1.5,
    ImageSize->Large
)

wolfram alpha queries – In a running program, how do I get the WolframAlpha command to check the periodically generated numbers for any exact underlying values?

I am running a program that sequentially generates digital output. I would like to use WolframAlpha to check each number at the point where it is generated to ask if it possibly matches an exact value.

I don't see how to use the WolframAlpha command in a running program to process such an intermediate output – despite various attempts on my part (with or without quotes, with or without @, with or without Print command, …) to do therefore.

wolfram cloud – Unable to submit a valid form in FormFunction

I have a simple FormFunction like that:

FormFunction({"expr" -> ToExpression}, HTTPRequestData() &)

When I use CloudDeploy, it works normally. But when I use SocketListen and GenerateHTTPResponse to set up a server, my Chrome seems to have submitted no data because I can't find it in the HTTPRequestData results.

I tried the remote server (instead of the local), #expr(instead of HTTPRequestData), none works. If I use APIFunction as backend and URLRead as a customer, everything is fine.

What is missing for the submission compared to that of WolframCloud?

extension of the series – Theoretical number notation in Wolfram Cloud for iOS

I am using Wolfram Cloud Mathematica and I want to write an equation using mathematical symbols for Sum (like a capital sigma, but not the Greek letter) and Product (like the capital pi but not the Greek letter), with the index written only below the symbol not above, in the style of number theory.

For example,

$$ prod _ {a leq n} f (a) $$

The closest I can come to Wolfram Cloud, using IOS13's super limited virtual keyboard, is

Product(f(a),{a<=n,n})//TraditionalForm

But it's not quite what I want because: (1) I don't want n above Product symbol; (2) I want the result in standard Wolfram language, not in italics TraditionalForm which is not editable in the Cloud app.

If I had a physical keyboard, I would type Esc-prod-Esc, then Ctrl-4 to write the index under the symbol, then Ctrl-Space to write the main expression.

This is not possible with the virtual keyboard of IOS. The "select" function which, in theory, would allow me to remove the n above the product symbol just doesn't work in Wolfram Cloud for IOS: it doesn't just select that item, and even if it does, there is then no way to delete what whatever it is.

Any suggestion?

How to detect where your code is running (Mathematica, Engine, CDF, Wolfram Cloud, etc.)?

I would like to include logic to avoid breaking my functions in different environments, like the cloud (which doesn't support many things) or the wolfram engine, or CDF. For example, I would like a test:

If(!$RunningInCloud, Print @ SystemInformation())

Since SystemInformation is not supported in the cloud, only $RunningInCloud to be?

bugs – Trying to create a personal data resource in Wolfram Cloud Notebook

I am trying to create a personal data resource from a Wolfram Cloud notebook. I follow the instructions on:

https://reference.wolfram.com/language/workflow/SetUpAPersonalDataResource.html

I don't have a desktop version of Mathematica, so I'm using the Wolfram Cloud notebook and running the command: CreateNotebook["DataResource"]

I have tried using Google Chrome and Internet Explorer. The notebook starts to open a dialog box but the fields scroll at the top of the page, leaving all the fields inaccessible:
screenshot

What am i doing wrong?

conversion – Convert Wolfram code to C language

here is my Mathematica coded:

f(x_) := x^2 + 4 x + 4; Solve(f(x) == 9, x)

I tried to convert it to VS but failed.

Here is the conversion code:

CForm(f(x_) := x^2 + 4 x + 4)

and that

CForm(f(x_) := x^2 + 4 x + 4; Solve(f(x) == 9, x))

The old fair spell Null, the latter simply converts the final result below

List(List(Rule(x,-5)),
   List(Rule(x,1)))

I installed Wolfram CDF Player on Linux, but now I have to uninstall it and I can't find a way to do it

I have version 11 and I need space for something else. It would have been easier to do this if a deb package was available for it, since you can uninstall the software installed this way by restarting the installer.

wolfram cloud – Rewriting a plot expression to add an option works, but with an unexpected error message

I'm trying to rewrite a ListDensityPlot expression to systematically add an option:

SetAttributes(myShow, HoldAll)
myShow(plots__) := With({
   mplots = Hold({plots}) /. {
      ListDensityPlot(args__) :> 
       ListDensityPlot(args, ColorFunction -> "Rainbow")
      }
   }, Show(
   Sequence(ReleaseHold(mplots))
   )
  )

myShow(
 ListDensityPlot(({#1, #2, #1*#2}) & @@@ Tuples(Range(-2, 2), 2))
 )

It seems like it works since the plot uses the ColorFunction specified in my replacement rule. However, next to the graph, I also have the error message:

ListDensityPlot::arrayerr -- args__ must be a valid array.

enter description of image here

Could you explain what is causing this error message and how to fix it?