Skip to main content
16 votes
Accepted

YouTube Video inside Mathematica 13?

We know Mathematica supports communication with different programming languages via external connectors. I will show a way with Python here. Main idea is to import the YouTube streaming link using an ...
PlatoManiac's user avatar
  • 14.8k
15 votes

Making a website with Mathematica

In my opinion, Mathematica's XML template feature makes this quite easy. You'd write your HTML code for each page using XML templates, and then populate the templates with data as necessary using <...
C. E.'s user avatar
  • 70.7k
13 votes
Accepted

How to obtain the distance (in Km/Miles and in minutes) by road ?. for example using googlemaps

You can use TravelDistance and related functions to find the distance by road. Example: ...
Szabolcs's user avatar
  • 235k
12 votes

Making a website with Mathematica

This is not an anwser to produce live/production code for websides. (yet) I guess it's not what you want because its not very sophisticated but one could use MMA to make a good html code emitter ...
Julien Kluge's user avatar
  • 5,345
12 votes

Making a website with Mathematica

This small note describes the method I use. I've been using this method for years. (all of my web site is written in Latex actually, and converted to HTML. First I used to use latex2html then switched ...
Nasser's user avatar
  • 145k
12 votes
Accepted

Temporarily simulate being offline programmatically

You can set $AllowInternet to False (or just turn off your WiFi or unplug the cable).
Szabolcs's user avatar
  • 235k
11 votes
Accepted

Mathematica equivalent of a curl snippet

You can use a program like Fiddler to compare the requests being generated by both: Your call to curl generates a request like this: ...
Gustavo Delfino's user avatar
10 votes

Making a website with Mathematica

I thought I'd just briefly lay out what I do so people don't have to go to the link to my blog post in the question. The packages for all this junk are here, here, and here. Look for the things with <...
b3m2a1's user avatar
  • 46.9k
10 votes

Security of SendMail

Computers communicate with each other through protocols. For example, web servers communicate with browsers using HTTP – the Hypertext Transfer Protocol. Another protocol is HTTPS – the Hypertext ...
C. E.'s user avatar
  • 70.7k
10 votes

YouTube Video inside Mathematica 13?

I think the issue might be with the nature of the content in this URL. It's not that you are not been able to access the URL, as you can check yourself with running either ...
Victor K.'s user avatar
  • 5,191
10 votes

How to test upload speed?

The easiest method I can think of to get an estimate is to upload a file to a server and measure how long it takes. Should give a reasonable guess, but like all of these things, it can only be a guess....
Carl Lange's user avatar
  • 13.1k
8 votes

Temporarily simulate being offline programmatically

A general solution for Windows is to run an application (such as Mathematica) inside a Sandboxie sandbox, for which Sandbox Settings > Restrictions > Internet Access has been set to "No program can ...
Mr.Wizard's user avatar
  • 272k
8 votes

How to tell (sub)kernels on a cluster not to try to access wolfram servers on startup?

As an alternative it can also be done programatically following this link $AllowInternet = False Or to the frontend You can use: ...
chris's user avatar
  • 23k
7 votes
Accepted

Reading data from Google Docs

This seems to work: ...
chuy's user avatar
  • 11.2k
7 votes
Accepted

Incorporating photos into a Mathematica-made web page

I haven't seen a clear cut solution listed anywhere even though this question is quite old. Thus, I will post my solution here. The easiest solution is to use SVG format rather than to fiddle with ...
Tadashi Kikuno's user avatar
6 votes
Accepted

MathLink: How to change the default listening IP address?

Use the undocumented LinkHost option, e.g.: LinkCreate[LinkProtocol -> "TCPIP", LinkHost -> "127.0.0.1"] yields: ...
sakra's user avatar
  • 5,170
5 votes

Print only when webpage updates

Your approach is the only viable option: You have to download the website to see if it has changed. I wrote some sample code just try it, and I didn't think this solution presented a performance issue....
C. E.'s user avatar
  • 70.7k
5 votes
Accepted

Is there a way to turn off paclet updating altogether?

You can open Preferences > Internet Connectivity and uncheck Allow the Wolfram System to access the Internet. Alternatively ...
Ray Shadow's user avatar
  • 7,836
5 votes

webmathematica to share my game?

This applies to any Wolfram Cloud based web application, not simply to your question, but there are say 4 steps involved in creating a web app. Hopefully some of this carries over from WC to ...
b3m2a1's user avatar
  • 46.9k
4 votes
Accepted

Scraping Google nGram data

In chrome, after you run the ngram query, you can go to the "Developer tools", find the source file starting with graph?content=", search for the string ...
ulvi's user avatar
  • 1,808
4 votes

Can anyone explain how to use Mathematica's OAuth package?

In version 11 of Mathematica, I have used this (it's almost the same as Max's answer): ...
Peter Stuifzand's user avatar
3 votes

Making a website with Mathematica

Here's my second method, based on C.E.'s idea of using XMLTemplate. I've detailed exactly what I did here This is a site that I built with my generator My process ...
b3m2a1's user avatar
  • 46.9k
3 votes
Accepted

How to detect an HTTP redirect when importing or reading a URL?

There is no redirect. The URL https://en.wikipedia.org/w/index.php?title=Basidiomycete returns the same page as ...
Gustavo Delfino's user avatar
3 votes

Using SendMail with new Google Security Rules

If you have activated the two-step verification in gmail, you need to use an password dedicated to one application. This works straightforwardly. From https://support.google.com/accounts/answer/185833:...
anderstood's user avatar
  • 14.3k
3 votes

How to tell (sub)kernels on a cluster not to try to access wolfram servers on startup?

I post this answer as it provided a solution to us. Please adapt on a case by case basis to your own situation ? One solution is to make sure that the file ...
chris's user avatar
  • 23k
2 votes

How to set up own paclet server?

Here is a package with utilities for manage a paclet site, especially a paclet site on Github: https://github.com/rnotlnglgq/WolframPacletSiteManager Basic Usage Put your paclets like this: Git ...
rnotlnglgq's user avatar
  • 3,740
2 votes

How to test upload speed?

Here is another way. Install the speedtest cli application for your OS from here. ...
Rohit Namjoshi's user avatar
2 votes
Accepted

Where is URLExistsQ in version 11?

In Version 11 URLRead got added. With that it is simple to define (maybe as a ResourceFunction?) ...
Rolf Mertig's user avatar
  • 17.2k
2 votes

How to validate an IP address format?

There might be other ways, but Interpreter["IPAddress"]["www.example.com"] was the first thing that came to mind.
ihojnicki's user avatar
  • 3,051
2 votes

Activation problem: "Unable to connect to the internet"

Solution turns out to be: rm /Library/Mathematica and ~/Library/Mathematica completely. Then retry activation. This is not an internet connection problem, it is a bug with refreshing SSO and ...
edgeloss's user avatar
  • 311

Only top scored, non community-wiki answers of a minimum length are eligible