28
votes
Accepted
Implementing Local HTTP Server
The following guide shows how to conduct communication between nanohttpd, an http server for Java, and Mathematica. The result is a server that, if you go to its address in a web browser, displays the ...
24
votes
Mathematica on Windows 98
It appears that the last version of Mathematica to have official support for Windows 98 was Mathematica 5.2.
We can see this by comparing archived versions of the system requirements pages for ...
21
votes
Accepted
Path Names Longer Than 256 on Windows
With a few rare exceptions, Mathematica is generally unable to work with long path names on Windows. This response presents two strategies to work around this difficulty: extended-length path syntax ...
14
votes
Implementing Local HTTP Server
The following is a sample implementation of a simple HTTP server in Wolfram Language code only:
https://github.com/arnoudbuzing/wolfram-server
You send it a POST request where the body data of the ...
13
votes
Incorrect Timing of Total
There are a couple of issues at play.
One is that the implementation of Total has changed, and it is now using several threads in parallel.
Furthermore, there ...
12
votes
Accepted
12
votes
Accepted
Export Mathematica code to Word, preserving all formatting
The user Szabolcs gave the answer.
Here are the steps:
Open your Mathematica Notebook
Ctrl+A, if you want to selct all your cells
or simply select your desired cells
Go to: Edit -> Copy as -> ...
12
votes
Wrong function of NotebookDirectory[] in the 12.1 version
This is a certainly a bug. The fix for it is going to be available in the next release (version 12.1.1).
In the meantime, perhaps the following workaround code may help
...
10
votes
Accepted
Obtain short path on Windows
Windows Command Line
Here is a way using the Windows command line:
getShortPathName[path_] :=
Import["!for %p in (\""~~path~~"\") do @echo %~sp", "Text"]
So ...
9
votes
Accepted
CUDAQ not working in Mathematica 10.2.0.0 on Windows 7 (using CUDA 7.5)
I recently encountered a similar problem (CUDAQ[] returning False, CUDADriverVersion[] ...
9
votes
Accepted
Run Command Not Executing Node
This is a known problem with nodejs on Windows. The stdout stream is an asynchronous stream and is not always being flushed before the process exits. A work-around is to perform an explicitly ...
9
votes
Implementing Local HTTP Server
Starting in Mathematica 12, there is a built-in function SocketListen that can start a web server and respond to HTTP requests.
...
8
votes
Accepted
How to use woframscript (Mathematica 11) on Win 10 console command line?
After looking at my personal use license installation of Mathematica 11, I was able to get wolframscript to run by modifying the the configuration file at ...
8
votes
Accepted
Error during getting CCompilerDriver
Please use the fix from @ilian's answer instead!!
The underlying problem
I think the underlying problem is with the RawJSON importer. JSON is required to be UTF8. But a character encoding like ...
7
votes
RunProcess seemingly does not work on my Windows system
Your RunProcess works properly in all examples and System settings are fine.
As @Oleksandr R. has admitted, date is a shell ...
7
votes
Incorrect Timing of Total
This is just a comment with code. Here is a very simple multithreaded compiled function (not a sum calculation) to prove that the issue has nothing to do with Total ...
Community wiki
7
votes
Web Browser Screen Shot
There is now a built-in way to do this:
WebImage["http://stackoverflow.com"]
...
7
votes
Switch actions of Shift+Enter and Enter in notebook interface?
This piece of code should do the trick. It takes effect immediately.
...
7
votes
All Graphics3D commands crash
I had the same issue and it drove me crazy for a long time.
Do you have any joysticks plugged in? Specifically, if you have a Logitech 'Extreme 3D Pro' joystick plugged in, it will cause Mathematica ...
7
votes
Accepted
RunProcess doesn't list files on Windows
It will work if you send a newline at the end of dir:
RunProcess[$SystemShell, All, "dir\n"] (* note the \n *)
What I do not ...
7
votes
Accepted
How to deal with compound command lines with RunProcess?
RunProcess does not run shell commands (things you might type into your terminal). It runs processes, as the name suggests.
If you want to run shell commands, then ...
7
votes
Accepted
Using Open with a filename that contains ":"
This is not possible. A colon is not a valid character in a file name on Windows.
Reference: https://docs.microsoft.com/en-us/windows/win32/msi/filename
7
votes
Accepted
ExternalEvaluate[pySys, pyCmd] evaluates to Failure[...]
Reading this, turns out the patch is a one-line fix to enable Python 3.8 support. I haven't tested it extensively, but I've included it in my GitHub gist that also lets you use Python runtimes ...
7
votes
Has anyone encountered Mathematica errors in the new Windows 11?
I took the plunge myself. I upgraded to Windows 11 Pro and ran my Mathematica code. There were no errors.
Everything seems to be working just as in Windows 10 Pro. Since my code base is quite large, ...
6
votes
Accepted
Switch actions of Shift+Enter and Enter in notebook interface?
First move KeyEventTranslations.tr file to your $UserBaseDirectory in order to not damage installation files. (Rebinding keys to ...

Kuba♦
- 136k
6
votes
Accepted
6
votes
Accepted
Mathematica 10.4 freezing after typing in new notebook
I had help from Wolfram on this. For Windows you have to find
C:\Users\"name"\AppData\Roaming\Mathematica\SystemFiles\FrontEnd\SystemResources\FunctionalFrequency
Where "name" is your name. I had ...
6
votes
Accepted
Letter g rendered with different descender styles
It took me a while to figure out what was happening.
Mathematica 11 uses different fonts on Windows, OS X and Linux. They are Consolas, Source Code Pro and Bitstream Vera Sans Mono, respectively.
...
6
votes
Export Mathematica code to Word, preserving all formatting
You can copy-as-MathML from Mathematica directly into Word. Have fun!
Edit
To address your comment. This is a fragment of my Mathematica notebook:
These are the corresponding formulas inserted into ...
6
votes
Accepted
Histogram not plotting RandomVariate of EmpiricalDistribution
It seems to be related to the way the binning is determined by Histogram if no explicit bspec is given. Once bspecs are given it seems to work without any problem:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
windows × 254front-end × 42
bugs × 24
files-and-directories × 23
interoperability × 20
linux × 20
export × 14
command-line × 11
remote-access × 10
compile × 9
mac-os-x × 9
external-calls × 9
installation × 9
graphics × 8
warning-messages × 8
kernel × 8
mathlink-or-wstp × 8
fonts × 8
compatibility × 8
.netlink × 8
image × 7
scripting × 7
crash × 7
palettes × 7
ccompilerdriver × 7