-
-
Notifications
You must be signed in to change notification settings - Fork 378
Various front-page example fixes #1098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various front-page example fixes #1098
Conversation
An almost identical copy is already present in the "Built-in linear and associative arrays" section
Instead of removing the two examples requiring network access, they could be added to the exclusion list, which would hide the edit/run buttons. Of course that would mean that the first example visitors see might not be runnable online. Thoughts? |
I'd say we go for simplicity. Just put code that works in there, and don't put code that doesn't. |
Regarding http://forum.dlang.org/post/wuchoevfdcnwvpuldiqd@forum.dlang.org I though network access was now allowed. Is that correct @nazriel? |
Various front-page example fixes
I put you on the trello card (https://trello.com/c/JAYt8VG7/91-front-page-code-samples-frequently-crash-when-run-in-browser). |
If network programs don't work then I guess it's not live yet. However, my opinion is that we should NOT allow networked programs to run. It creates a very appealing target for amplifying DoS attacks, using the site as a proxy, etc. I think similar sandboxes also block network access for similar reasons.
I don't know. I'm not sure the websites we do allow network access to will be happy about it. If we get an influx of users, we'll use up their website's resources without them getting anything back (like ad views). |
https://issues.dlang.org/show_bug.cgi?id=12210