From 0ed932253df6cd3e30ba2e199f6bbf1ab5f11029 Mon Sep 17 00:00:00 2001 From: Bluenix Date: Thu, 21 Jul 2022 23:42:50 +0200 Subject: Clarify WebSocket restriction rule's impact on static serving Before this change, the rule technically disallows implementing JavaScript clients because webbrowsers use HTTP to fetch the static files. This commit also fixes a mistake in a previous commit where Markdown-style characters were used instead of code-tags. --- pydis_site/templates/events/pages/code-jams/9/rules.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pydis_site') diff --git a/pydis_site/templates/events/pages/code-jams/9/rules.html b/pydis_site/templates/events/pages/code-jams/9/rules.html index 5ad75d67..3e610ff2 100644 --- a/pydis_site/templates/events/pages/code-jams/9/rules.html +++ b/pydis_site/templates/events/pages/code-jams/9/rules.html @@ -17,10 +17,12 @@

An exception to this rule is that communication with databases and files is allowed for accessing resources or for storage purposes. - For example, you may use PostgreSQL as a database but not its `NOTIFY` command. + For example, you may use PostgreSQL as a database but not its NOTIFY command. Working with subprocesses (through stdin/stdout or multiprocessing.Pool()/concurrent.futures.ProcessPoolExecutor()) is also allowed.

+

Another exception is made for serving static files, which normally uses HTTP. You are also allowed to serve a JavaScript-implemented client for your WebSocket server.

+

If you're interested in utilizing a particular non-WebSocket method of communication, reach out to the Events Team for discussion and approval

  • Your solution should be platform agnostic. For example, if you use filepaths in your submission, use pathlib to create platform agnostic Path objects instead of hardcoding the paths.

  • -- cgit v1.2.3