Linked Questions

21
votes
5answers
2k views

Making a website with Mathematica

I know many people here have various websites associated with them and I'm guessing do at least some of the development of that stuff in Mathematica. I recently fell down that rabbit hole myself, ...
30
votes
2answers
680 views

Reading from a socket stream

I noticed an undocumented socket package (SocketLink) in Mathematica (Using version 10, not sure when it was actually added) and wrote a barebones HTTP responder ...
13
votes
1answer
496 views

How to use RunProcess to import external function?

I have a functions written in an external language called GO. How can I quickly load them into the kernel for use as Mathematica functions? The two ways I've tried are with MathLink and LibraryLink ...
15
votes
3answers
1k views

Implementing a 100% Mathematica http server

I would like to dedicate a small machine to exclusively running a Mathematica kernel and use that kernel to read http requests arriving on port 80, treat them and send http responses back without any ...
22
votes
1answer
822 views

Can Mathematica act like a web server?

I have a Mathematica program that modifies images that I would like to make available for other people to use through the web. The input is only one parameter. So, for example, I could run it as a ...
2
votes
0answers
527 views

How to lock a socket or create a queue for requests?

I try to implement sockets from java.net.ServerSocket in Mathematica. I execute this code step by step: Needs["JLink`"] InstallJava[] (* LinkObject[..] *) ...
9
votes
0answers
277 views

Can one create a custom front-end for Mathematica?

I'd like to create my custom front-end for Mathematica. I know there's a console interface (launched as math), which mostly works great, but it can't really provide ...
4
votes
0answers
112 views

Wrapper for mathematica code with GUI

I have a code written in Mathematica. What I am trying to do is to write a wrapper (say using Python) that will take user input for the Mathematica code, run the code, and create output. I do not ...
4
votes
0answers
90 views

Using an existing local kernel when launching from command line

I am trying to setup a web interface to a couple of Mathematica scripts, which in itself is quite simple: ...
2
votes
0answers
79 views

create interactive local site with backgroud mathematica calculations

This may be a bit of a weird question but I cannot figure out if this is possible. I need to write a program at work that can be used interactively. By that I mean, it will have several parameters ...
3
votes
0answers
46 views

WSTP HTTP interface

Wolfram's website mentions a "one-way" HTTP WSTP interface (https://www.wolfram.com/wstp/ ) One-way connection to the Wolfram Language is supported through HTTP in many languages, including PHP, ...