www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Problem running code examples in the Home page

reply mahdi <xemailpro yahoo.co.uk> writes:
When I click on "Run" I have the text "Running..." inside the box 
and nothing happens. I don't know if this is a problem with the 
code or the website but can someone please take a look.

This is the first view of a newcomer on the D language so better 
to be as polished as possible.
Mar 02 2016
parent reply Mike Parker <aldacron gmail.com> writes:
On Thursday, 3 March 2016 at 05:09:17 UTC, mahdi wrote:
 When I click on "Run" I have the text "Running..." inside the 
 box and nothing happens. I don't know if this is a problem with 
 the code or the website but can someone please take a look.

 This is the first view of a newcomer on the D language so 
 better to be as polished as possible.
Works for me. It took a couple of seconds before the output appeared, but it did appear.
Mar 02 2016
next sibling parent reply Dominikus Dittes Scherkl <Dominikus.Scherkl continental-corporation.com> writes:
On Thursday, 3 March 2016 at 05:24:26 UTC, Mike Parker wrote:
 On Thursday, 3 March 2016 at 05:09:17 UTC, mahdi wrote:
 When I click on "Run" I have the text "Running..." inside the 
 box and nothing happens. I don't know if this is a problem 
 with the code or the website but can someone please take a 
 look.

 This is the first view of a newcomer on the D language so 
 better to be as polished as possible.
Works for me. It took a couple of seconds before the output appeared, but it did appear.
Hmm. There aew different code examples. Sure they all actually work? (espacially: which one was it that didn't work?)
Mar 03 2016
parent cym13 <cpicard openmailbox.org> writes:
On Thursday, 3 March 2016 at 10:14:43 UTC, Dominikus Dittes 
Scherkl wrote:
 On Thursday, 3 March 2016 at 05:24:26 UTC, Mike Parker wrote:
 On Thursday, 3 March 2016 at 05:09:17 UTC, mahdi wrote:
 When I click on "Run" I have the text "Running..." inside the 
 box and nothing happens. I don't know if this is a problem 
 with the code or the website but can someone please take a 
 look.

 This is the first view of a newcomer on the D language so 
 better to be as polished as possible.
Works for me. It took a couple of seconds before the output appeared, but it did appear.
Hmm. There aew different code examples. Sure they all actually work? (espacially: which one was it that didn't work?)
I think we're down to only two snippets now and both work for me (webkit-based browser)
Mar 03 2016
prev sibling parent reply Meta <jared771 gmail.com> writes:
On Thursday, 3 March 2016 at 05:24:26 UTC, Mike Parker wrote:
 Works for me. It took a couple of seconds before the output 
 appeared, but it did appear.
I just tried to run the "floating point rounding" example in Chrome. I got a "service temporarily unavailable" message. http://imgur.com/1tZtJWv
Mar 03 2016
parent reply Meta <jared771 gmail.com> writes:
On Thursday, 3 March 2016 at 14:19:32 UTC, Meta wrote:
 On Thursday, 3 March 2016 at 05:24:26 UTC, Mike Parker wrote:
 Works for me. It took a couple of seconds before the output 
 appeared, but it did appear.
I just tried to run the "floating point rounding" example in Chrome. I got a "service temporarily unavailable" message. http://imgur.com/1tZtJWv
Ah, this would be why: XMLHttpRequest cannot load http://dpaste.dzfl.pl/request/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://dlang.org' is therefore not allowed access. The response had HTTP status code 403.
Mar 03 2016
parent CookiesOfLove <minicookies mail.com> writes:
On Thursday, 3 March 2016 at 14:21:15 UTC, Meta wrote:
 On Thursday, 3 March 2016 at 14:19:32 UTC, Meta wrote:
 On Thursday, 3 March 2016 at 05:24:26 UTC, Mike Parker wrote:
 Works for me. It took a couple of seconds before the output 
 appeared, but it did appear.
I just tried to run the "floating point rounding" example in Chrome. I got a "service temporarily unavailable" message. http://imgur.com/1tZtJWv
Ah, this would be why: XMLHttpRequest cannot load http://dpaste.dzfl.pl/request/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://dlang.org' is therefore not allowed access. The response had HTTP status code 403.
Yes that's the problem. It will work with normal "HTTP:"! In fact I think all the "HTTPS" is a mess here, for example, I can access the main page "dlang.org" with "HTTPS", but if I try to access the forums from the link there I get: NET::ERR_CERT_INVALID, so in the end I need to go back to normal "HTTP" to access the forums. Matheus.
Mar 03 2016