Skip to content

Commit 2d8520a

Browse files
committed
Add rule about forced usage of WebSockets
1 parent 8d20f84 commit 2d8520a

File tree

1 file changed

+9
-0
lines changed
  • pydis_site/templates/events/pages/code-jams/9

1 file changed

+9
-0
lines changed

pydis_site/templates/events/pages/code-jams/9/rules.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
{% block event_content %}
1313
<ol>
1414
<li><p>Your solution must use one of the approved frameworks (a list will be released soon). It is not permitted to circumvent this rule by e.g. using the approved framework as a wrapper for another framework.</p></li>
15+
<li>
16+
<p><strong>Your solution must only communicate through WebSockets</strong>. Any communication between the client and server (or any two server workers), must utilize WebSockets.</p>
17+
18+
<p>
19+
Exceptions to this rule are made for resources such as databases and files, albeit excluding usage other than for storage.
20+
For example, you may use PostgreSQL as a database but not its `NOTIFY` command.
21+
Lastly, working with subprocesses (through stdin/stdout or <code>multiprocessing.Pool()</code>/<code>concurrent.futures.ProcessPoolExecutor()(</code>) is also exempted from this rule.
22+
</p>
23+
</li>
1524
<li><p>Your solution should be platform agnostic. For example, if you use filepaths in your submission, use <code>pathlib</code> to create platform agnostic Path objects instead of hardcoding the paths.</p></li>
1625
<li>
1726
<p>

0 commit comments

Comments
 (0)