| Thread overview | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
March 03, 2016 Problem running code examples in the Home page | ||||
|---|---|---|---|---|
| ||||
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. | ||||
March 03, 2016 Re: Problem running code examples in the Home page | ||||
|---|---|---|---|---|
| ||||
Posted in reply to mahdi | 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.
| |||
March 03, 2016 Re: Problem running code examples in the Home page | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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?)
| |||
March 03, 2016 Re: Problem running code examples in the Home page | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Dominikus Dittes Scherkl | 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)
| |||
March 03, 2016 Re: Problem running code examples in the Home page | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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 | |||
March 03, 2016 Re: Problem running code examples in the Home page | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Meta | 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. | |||
March 03, 2016 Re: Problem running code examples in the Home page | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Meta | 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.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply