The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.
Send messages to iframe using iframeEl.contentWindow.postMessage
Recieve messages using window.addEventListener('message')
| import fetch from "node-fetch"; | |
| const tasks = { | |
| "tasks": {} | |
| } | |
| const TOKEN = "" | |
| const excludedIndex = [0, 1, 4, 5, 6, 7, 8, 9, 10, 23, 24] |
| #!/usr/bin/env python3 | |
| """ | |
| Example of a generic Mixout implementation. (Lee et al., 2019). | |
| https://arxiv.org/abs/1909.11299 | |
| Implementation by Stephen Roller (https://stephenroller.com). | |
| Updated 2020-02-10 to include 1/(1 - p) correction term. Thanks to | |
| Cheolhyoung Lee for making this correction. |