Creating:
polyline = PolyLine([[0,0],[0,10],[10,0],[0,0]])
polyline = PolyLine(generator=solid_object_2D)
Checking:
polyline.show()
{"text":"# Prediction Markets Suggest Replacing Biden\n\nThe last week hasn’t been great for the Democratic Party. First Biden bombed the debate. But the subsequent decision about whether/how to replace Biden has also been embarrassing. Biden has refused to step aside gracefully, and party elites don’t seem to have any contingency plan. Worse, they don’t even seem united on the need to figure anything out, with many deflecting the conversation to irrelevant points like “Trump is also bad” or pretending that nothing is really wrong.\n\nSome of the party’s problems are hard and have no shortcuts. But the big one - figuring out whether replacing Biden would even help the Democrats’ electoral chances - is a good match for prediction markets. Set up markets to find the probability of Democrats winning they nominate Biden, vs. the probability of Democrats winning if they replace him with someone else.\n\n(see my [Prediction Market FAQ](https://www.astralcodexten.com/p/prediction-market-faq) for why I think they are |
import { getUser } from '@/db/profile' | |
import { createEdgeClient } from '@/pages/api/_db' | |
import { NextRequest, NextResponse } from 'next/server' | |
import uuid from 'react-uuid' | |
export const runtime = 'edge' | |
// Manifold user ID for [email protected] | |
const MANAGRAM_DEST_ID = 'pyBueUg9y3hrDIUtrus5uAkPHCr1' |
Quidditch Gear, | |
Duel, | |
Slytherin, | |
Ravenclaw, | |
Hufflepuff, | |
Gryffindor, | |
Educational decree, | |
Wizard, | |
Witch, | |
Muggle, |
<template> | |
<BigColumn> | |
<h1 class="fancy big mb-4">MetaPrompt</h1> | |
<div class="box prompt is-italic"> | |
{{ promptCard.text }} | |
</div> | |
<textarea | |
class="textarea" | |
v-model="text" | |
placeholder="Respond here..." |
osu file format v14 | |
[General] | |
AudioFilename: audio.mp3 | |
AudioLeadIn: 0 | |
PreviewTime: 133610 | |
Countdown: 0 | |
SampleSet: Soft | |
StackLeniency: 0.7 | |
Mode: 3 |
/** | |
* @license | |
* Copyright 2018-2020 Streamlit Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
// Problem: Given a string "line" and a number "xCount", output all versions of the string | |
// with exactly xCount locations replaced by "X". | |
// e.g. "abcd", 2 => ["XXcd", "XbcX", "abXX", etc...] | |
// For each line in lines, replace the character at index with 'X' | |
function joinLine(index, lines) { | |
function blot(line) { | |
return ( | |
line.substring(0, index - 1) + 'X' + line.substring(index, line.length) | |
); |
/* | |
Instructions: | |
1) Go to https://mangadex.com on Chrome. | |
2) Open the Chrome console (Ctrl+Shift+J on Windows). | |
3) Copy + paste the code in this file. | |
4) Replace batoto_ids in line 10 with a list of the manga to follow. | |
5) Hit Enter. | |
*/ | |
var batoto_ids = [1, 2, 3, 5, 8] // TODO: REPLACE WITH YOUR OWN MANGA |
Movies | |
Wolf Children Ame and Yuki (Ookami Kodomo Ame to Yuki) - Slice of life. A mother struggles to raise her half-wolf children. 2 hours. | |
Time of Eve (Eve no Jikan) - Sci-fi. A cafe where androids are free from discrimination. 2 hours. | |
Book Girl (Bungaku Shoujo) - Mystery. A girl who literally devours books, and the boy who writes her snacks. 2 hours. | |
Garden of Words (Kotonoha no Niwa) - Romance. Boy skipping school encounters woman skipping work. 45 min. | |
Shows | |
Spice and Wolf - Medieval fantasy, economics. Traveling merchant journeys with wolf goddess. 2 cour. | |
Steins;Gate - Sci-fi, mystery. College students time travel with microwaves and cell phones. 2 cour. | |
Hataraku Maou-sama - Fantasy, comedy. The Devil works part-time at MgRonald's. 1 cour. |