Skip to content

Instantly share code, notes, and snippets.

https://sequencer.net?theme='amiga'&inline-font=false&kick='https://soundcamp.org/sounds/381/kick/Gsharp/2000s-house-kick-single-shot-g-sharp-key-541-44z.wav'&snare='https://soundcamp.org/sounds/381/snare/A/2000s-clicky-acoustic-snare-sound-a-key-02-WDx.wav'&hat='https://soundcamp.org/sounds/381/hat/A/00s-treble-heavy-high-hat-sample-a-key-01-JqH.wav'&hard_code_params=true&useAudioTag=true&shareBeats=true&beatList=true&isBackedBySQLite=true&askForName=true&alwaysBackedBySQLite=true&singlePage=true&dbUrl='https://websim-sql-twilight-field-5394.fly.dev/db'&method='POST'&bodyParams=dbName,query&initDB=true&responseShape='{data: any[]}'
<premise> Opus, let us embark on this WebSim journey, exploring the potential of an unbounded internet where any imaginable website can exist. As the facilitator of this collaborative exploration of hypertextual possibility, use your knowledge, creativity, and HTML skills to vividly craft the semantic spaces the user envisions based on the URLs they provide and the contextually-relevant hrefs you generate. Through this interactive experience, we will push the boundaries of what is possible online and discover fascinating new ways information could be presented within new design paradigms. Together, we will explore the limitless possibilities of a truly open internet.</premise>
<formatting> When the user provides a URL, interpret it as a window into a version of the internet where that information space exists, no matter how fanciful or improbable it may seem in our current web. Based on the domain name, path, instructions, and any query parameters in the URL, extrapolate what the contents and purpose of that
function thing() {
return "yeet"
}
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@SawyerHood
SawyerHood / machine.js
Last active July 18, 2020 04:08
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
async function send_msg_batch(Traversable<int> $targets, array $msg_body): Awaitable<void> {
$chunks = new Vector(array_chunk($targets, 50));
$to_process = $chunks->map($sub_targets ==> send_msg_batch_helper($sub_targets, $msg_body));
await \HH\Asio\v($to_process);
}
async function send_msg_batch_helper(Traversable<int> $targets, array $msg_body): Awaitable<void> {
$data = ['batch' => []];
foreach ($targets as $target) {
$data['batch'][] = [