Re: Problem running code examples in the Home page

2016-03-03 Thread CookiesOfLove via Digitalmars-d

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.


Re: Problem running code examples in the Home page

2016-03-03 Thread Meta via Digitalmars-d

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.


Re: Problem running code examples in the Home page

2016-03-03 Thread Meta via Digitalmars-d

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




Re: Problem running code examples in the Home page

2016-03-03 Thread cym13 via Digitalmars-d
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)


Re: Problem running code examples in the Home page

2016-03-03 Thread Dominikus Dittes Scherkl via Digitalmars-d

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?)


Re: Problem running code examples in the Home page

2016-03-02 Thread Mike Parker via Digitalmars-d

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.


Problem running code examples in the Home page

2016-03-02 Thread mahdi via Digitalmars-d
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.