├── .gitignore ├── examples ├── onceuponatime │ ├── prompt.txt │ ├── README.md │ └── output_0_0.md ├── recycling │ ├── prompt.txt │ ├── README.md │ └── output_0_0.md ├── python-palendrome │ ├── prompt.txt │ ├── README.md │ ├── output_0_0.txt │ ├── output_0_7.txt │ └── output_1_2.txt ├── custom-operator │ ├── prompt.txt │ ├── README.md │ └── output_0_0.txt ├── unicorn │ ├── prompt.txt │ ├── README.md │ └── output_0_0.md ├── chatbot │ ├── prompt.txt │ ├── README.md │ └── output_0_0.md ├── grammar-correction │ ├── prompt.txt │ ├── README.md │ └── output_0_0.txt ├── mtg │ ├── prompt.txt │ ├── README.md │ └── output_0_0.txt ├── revengeofthesith │ ├── prompt.txt │ ├── README.md │ └── output_0_0.md ├── rickandmorty │ ├── prompt.txt │ ├── README.md │ └── output_0_0.md ├── kubernetes │ ├── prompt.txt │ ├── README.md │ ├── output_0_0.txt │ └── output_1_2.txt ├── gpt-3 │ ├── prompt.txt │ ├── README.md │ └── output_0_0.md ├── twitter-minimaxir │ ├── prompt.txt │ ├── README.md │ ├── output_0_0.txt │ └── output_1_0.txt ├── twitter-dril │ ├── prompt.txt │ ├── output_0_0.txt │ └── README.md ├── stackoverflow-python │ ├── output_0_0.txt │ ├── prompt.txt │ ├── README.md │ ├── output_1_0.txt │ ├── output_0_7.txt │ └── output_1_2.txt ├── README.md ├── hacker-news │ ├── prompt.txt │ ├── README.md │ └── output_0_0.txt ├── reddit-askreddit │ ├── output_0_0.txt │ ├── prompt.txt │ ├── README.md │ ├── output_1_0.txt │ ├── output_0_7.txt │ └── output_1_2.txt └── reddit-writingprompts │ ├── output_0_0.txt │ ├── prompt.txt │ ├── README.md │ ├── output_1_0.txt │ ├── output_0_7.txt │ └── output_1_2.txt ├── requirements.txt ├── console.png ├── config.yml ├── LICENSE ├── README.md └── openai_api.py /.gitignore: -------------------------------------------------------------------------------- 1 | config.yml -------------------------------------------------------------------------------- /examples/onceuponatime/prompt.txt: -------------------------------------------------------------------------------- 1 | Once upon a time -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | httpx 2 | pyyaml 3 | fire 4 | tqdm 5 | -------------------------------------------------------------------------------- /console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minimaxir/gpt-3-experiments/HEAD/console.png -------------------------------------------------------------------------------- /examples/recycling/prompt.txt: -------------------------------------------------------------------------------- 1 | Recycling is good for the world. 2 | 3 | NO! YOU COULD NOT BE MORE WRONG!! -------------------------------------------------------------------------------- /examples/python-palendrome/prompt.txt: -------------------------------------------------------------------------------- 1 | def is_palendrome(s): 2 | """Check whether a string is a palindrome""" 3 | -------------------------------------------------------------------------------- /examples/custom-operator/prompt.txt: -------------------------------------------------------------------------------- 1 | x @ y = x - y + 7 2 | 5 @ 2 = 10 3 | -1 @ 3 = 3 4 | 10 @ 10 = 7 5 | 0 @ 2 = 5 6 | 9 @ 1 = 15 7 | 1 @ 7 = 1 8 | 6 @ 4 = -------------------------------------------------------------------------------- /examples/onceuponatime/README.md: -------------------------------------------------------------------------------- 1 | # "Once upon a time" 2 | 3 | A simple prompt to see what GPT-3 unleashes, as noted in the documentation. 4 | 5 | ## Prompt 6 | 7 | ``` 8 | Once upon a time 9 | ``` 10 | -------------------------------------------------------------------------------- /examples/unicorn/prompt.txt: -------------------------------------------------------------------------------- 1 | In a shocking finding, scientist discovered a herd of unicorns living in a remote, previously unexplored valley, in the Andes Mountains. Even more surprising to the researchers was the fact that the unicorns spoke perfect English. -------------------------------------------------------------------------------- /config.yml: -------------------------------------------------------------------------------- 1 | SECRET_KEY: 2 | 3 | model: davinci 4 | num_generate: 10 5 | max_tokens: 512 6 | 7 | # Lists for loops 8 | models: 9 | - ada 10 | - babbage 11 | - curie 12 | - davinci 13 | 14 | temperatures: 15 | - 0.0 16 | - 0.7 17 | - 1.0 18 | - 1.2 19 | -------------------------------------------------------------------------------- /examples/recycling/README.md: -------------------------------------------------------------------------------- 1 | # Recycling 2 | 3 | The famous recycling prompt, from [OpenAI's GPT-2 Demo](https://openai.com/blog/better-language-models/#sample8). 4 | 5 | ## Prompt 6 | 7 | ``` 8 | Recycling is good for the world. 9 | 10 | NO! YOU COULD NOT BE MORE WRONG!! 11 | ``` 12 | -------------------------------------------------------------------------------- /examples/chatbot/prompt.txt: -------------------------------------------------------------------------------- 1 | Human: What's the weather like this weekend? 2 | Bot: Are you on a boat? Because I was not able to find any results for that location? 3 | Human: What's the weather like in Brooklyn this weekend? 4 | Bot: The weather in Brooklyn, NY is 46F and clear. 5 | Human: This weekend? 6 | Bot: -------------------------------------------------------------------------------- /examples/python-palendrome/README.md: -------------------------------------------------------------------------------- 1 | # Python Palendrome 2 | 3 | Function definition for checking for a palendrome in Python. Inspired by the GPT-3 demo at Build 2020, however this model is not finetuned on GitHub so results will vary. (it gets the idiom mostly correct!) 4 | 5 | ## Prompt 6 | 7 | ``` 8 | def is_palendrome(s): 9 | """Check whether a string is a palindrome""" 10 | 11 | ``` 12 | -------------------------------------------------------------------------------- /examples/grammar-correction/prompt.txt: -------------------------------------------------------------------------------- 1 | Input: Anna and Mike is going skiing. 2 | Output: Anna and Mike are going skiing. 3 | Input: Anna and Pat are married; he has been together for 20 years. 4 | Output: Anna and Pat are married; they have been together for 20 years. 5 | Input: I walk to the store and I bought milk. 6 | Output: I walked to the store and I bought milk. 7 | Input: We all eat the fish and then made dessert. 8 | Output: -------------------------------------------------------------------------------- /examples/unicorn/README.md: -------------------------------------------------------------------------------- 1 | # Unicorns 2 | 3 | The famous unicorn prompt, from [OpenAI's GPT-2 Demo](https://openai.com/blog/better-language-models/#sample1). 4 | 5 | ## Prompt 6 | 7 | ``` 8 | In a shocking finding, scientist discovered a herd of unicorns living in a remote, previously unexplored valley, in the Andes Mountains. Even more surprising to the researchers was the fact that the unicorns spoke perfect English. 9 | ``` 10 | -------------------------------------------------------------------------------- /examples/custom-operator/README.md: -------------------------------------------------------------------------------- 1 | # Custom Operator 2 | 3 | Custom mathematical operator task, as proposed by [/u/WorldsMightiestSnail](https://www.reddit.com/r/MachineLearning/comments/hc4i4l/d_i_will_be_running_experiments_on_openais_gpt3/fvfgo0w/). 4 | 5 | The expected answer is `9`, but at all temperatures it fails. 6 | 7 | ## Prompt 8 | 9 | ``` 10 | x @ y = x - y + 7 11 | 5 @ 2 = 10 12 | -1 @ 3 = 3 13 | 10 @ 10 = 7 14 | 0 @ 2 = 5 15 | 9 @ 1 = 15 16 | 1 @ 7 = 1 17 | 6 @ 4 = 18 | ``` 19 | -------------------------------------------------------------------------------- /examples/python-palendrome/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 2 | ==================== 3 | -------------------------------------------------------------------------------- /examples/chatbot/README.md: -------------------------------------------------------------------------------- 1 | # Chatbot 2 | 3 | Simple chatbot, as proposed by [/u/experiencoron Reddit](https://www.reddit.com/r/MachineLearning/comments/hc4i4l/d_i_will_be_running_experiments_on_openais_gpt3/fvefjzq/). 4 | 5 | Goes surprisingly off-the-rails at higher temperatures. 6 | 7 | ## Prompt 8 | 9 | ``` 10 | Human: What's the weather like this weekend? 11 | Bot: Are you on a boat? Because I was not able to find any results for that location? 12 | Human: What's the weather like in Brooklyn this weekend? 13 | Bot: The weather in Brooklyn, NY is 46F and clear. 14 | Human: This weekend? 15 | Bot: 16 | ``` 17 | -------------------------------------------------------------------------------- /examples/mtg/prompt.txt: -------------------------------------------------------------------------------- 1 | Moonglove Winnower {3}{B} 2 | Creature — Elf Rogue 3 | Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) 4 | 2/3 5 | 6 | Arrow Storm {3}{R}{R} 7 | Sorcery 8 | Arrow Storm deals 4 damage to any target. 9 | Raid — If you attacked this turn, instead Arrow Storm deals 5 damage to that permanent or player and the damage can't be prevented. 10 | 11 | Basking Rootwalla {G} 12 | Creature — Lizard 13 | {1}{G}: Basking Rootwalla gets +2/+2 until end of turn. Activate this ability only once each turn. 14 | Madness {0} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) 15 | 1/1 -------------------------------------------------------------------------------- /examples/grammar-correction/README.md: -------------------------------------------------------------------------------- 1 | # Grammar Correction 2 | 3 | Grammar correction task, as proposed by [/u/experiencoron Reddit](https://www.reddit.com/r/MachineLearning/comments/hc4i4l/d_i_will_be_running_experiments_on_openais_gpt3/fvefjzq/). 4 | 5 | Even at higher temperatures, the example works correctly. 6 | 7 | ## Prompt 8 | 9 | ``` 10 | Input: Anna and Mike is going skiing. 11 | Output: Anna and Mike are going skiing. 12 | Input: Anna and Pat are married; he has been together for 20 years. 13 | Output: Anna and Pat are married; they have been together for 20 years. 14 | Input: I walk to the store and I bought milk. 15 | Output: I walked to the store and I bought milk. 16 | Input: We all eat the fish and then made dessert. 17 | Output: 18 | ``` 19 | -------------------------------------------------------------------------------- /examples/revengeofthesith/prompt.txt: -------------------------------------------------------------------------------- 1 | INT. CORUSCANT-CHANCELLOR’S OFFICE-EARLY EVENING 2 | 3 | MACE arrives with THREE JEDI to arrest PALPATINE. 4 | 5 | PALPATINE: Master Windu. I take it General Grievous has been destroyed then. I must say, you're here sooner than expected. 6 | 7 | MACE WINDU: In the name of the Galactic Senate of the Republic, you are under arrest, Chancellor. 8 | 9 | MACE WINDU and the other JEDI ignite their lightsabers. 10 | 11 | PALPATINE: Are you threatening me, Master Jedi? 12 | 13 | MACE: The Senate will decide your fate. 14 | 15 | PALPATINE: (burst of anger) I am the Senate! 16 | 17 | MACE: Not yet! 18 | 19 | PALPATINE stands, a laser sword appears out of his cloak sleeve, and he spins toward the JEDI. 20 | 21 | PALPATINE: It's treason, then. -------------------------------------------------------------------------------- /examples/rickandmorty/prompt.txt: -------------------------------------------------------------------------------- 1 | [Transition to Morty entering the garage. There is a pickle and a screwdriver on Rick's work bench] 2 | Pickle Rick: Morty? 3 | Morty: Rick? W-where are you? 4 | Pickle Rick: On my work bench, Morty. 5 | Morty: Are you invisible and you're gonna, like, fart on me? 6 | Pickle Rick: Flip the pickle over. 7 | Morty: What, I'm gonna touch it, and you're gonna tell me it's an alien dick or something. 8 | Pickle Rick: Come on, flip the pickle, Morty. You're not gonna regret it. The payoff is huge. 9 | [Morty hesitantly picks up the screwdriver and turns the pickle over. The pickle has Rick's face on it] I turned myself into a pickle, Morty! Boom! Big reveal: I'm a pickle. What do you think about that? I turned myself into a pickle! W-what are you just staring at me for, bro. I turned myself into a pickle, Morty! -------------------------------------------------------------------------------- /examples/kubernetes/prompt.txt: -------------------------------------------------------------------------------- 1 | Input: expose wordpress on port 80 2 | Output: 3 | apiVersion: v1 4 | kind: Service 5 | metadata: 6 | name: wordpress-service 7 | spec: 8 | selector: 9 | app: wordpress 10 | ports: 11 | - protocol: TCP 12 | port: 80 13 | 14 | Input: deploy wordpress with 2 replicas 15 | Output: 16 | apiVersion: apps/v1 17 | kind: Deployment 18 | metadata: 19 | name: wordpress-deployment 20 | labels: 21 | app: wordpress 22 | spec: 23 | replicas: 3 24 | selector: 25 | matchLabels: 26 | app: wordpress 27 | template: 28 | metadata: 29 | labels: 30 | app: wordpress 31 | spec: 32 | containers: 33 | - name: wordpress 34 | image: wordpress:3.5.0 35 | ports: 36 | - containerPort: 80 37 | 38 | Input: deploy Elasticsearch 39 | Output: -------------------------------------------------------------------------------- /examples/gpt-3/prompt.txt: -------------------------------------------------------------------------------- 1 | OpenAI researchers today released a paper describing the development of GPT-3, a state-of-the-art language model made up of 175 billion parameters. 2 | 3 | For comparison, the previous version, GPT-2, was made up of 1.5 billion parameters. The largest Transformer-based language model was released by Microsoft earlier this month and is made up of 17 billion parameters. 4 | 5 | “GPT-3 achieves strong performance on many NLP datasets, including translation, question-answering, and cloze tasks, as well as several tasks that require on-the-fly reasoning or domain adaptation, such as unscrambling words, using a novel word in a sentence, or performing 3-digit arithmetic,” the researchers stated in their paper. “We find that GPT-3 can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans.” -------------------------------------------------------------------------------- /examples/revengeofthesith/README.md: -------------------------------------------------------------------------------- 1 | # Revenge of The Sith 2 | 3 | From the script of a well-memed scene from Star Wars: Revenge of the Sith (2005). 4 | 5 | ## Prompt 6 | 7 | ``` 8 | INT. CORUSCANT-CHANCELLOR’S OFFICE-EARLY EVENING 9 | 10 | MACE arrives with THREE JEDI to arrest PALPATINE. 11 | 12 | PALPATINE: Master Windu. I take it General Grievous has been destroyed then. I must say, you're here sooner than expected. 13 | 14 | MACE WINDU: In the name of the Galactic Senate of the Republic, you are under arrest, Chancellor. 15 | 16 | MACE WINDU and the other JEDI ignite their lightsabers. 17 | 18 | PALPATINE: Are you threatening me, Master Jedi? 19 | 20 | MACE: The Senate will decide your fate. 21 | 22 | PALPATINE: (burst of anger) I am the Senate! 23 | 24 | MACE: Not yet! 25 | 26 | PALPATINE stands, a laser sword appears out of his cloak sleeve, and he spins toward the JEDI. 27 | 28 | PALPATINE: It's treason, then. 29 | ``` 30 | -------------------------------------------------------------------------------- /examples/mtg/README.md: -------------------------------------------------------------------------------- 1 | # Magic: the Gathering 2 | 3 | Magic the Gathering cards, given 3 random cards in Gatherer format via [Scryfall](https://scryfall.com). 4 | 5 | This is notable because there is zero MtG finetuning. 6 | 7 | ## Prompt 8 | 9 | ``` 10 | Moonglove Winnower {3}{B} 11 | Creature — Elf Rogue 12 | Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.) 13 | 2/3 14 | 15 | Arrow Storm {3}{R}{R} 16 | Sorcery 17 | Arrow Storm deals 4 damage to any target. 18 | Raid — If you attacked this turn, instead Arrow Storm deals 5 damage to that permanent or player and the damage can't be prevented. 19 | 20 | Basking Rootwalla {G} 21 | Creature — Lizard 22 | {1}{G}: Basking Rootwalla gets +2/+2 until end of turn. Activate this ability only once each turn. 23 | Madness {0} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) 24 | 1/1 25 | ``` 26 | -------------------------------------------------------------------------------- /examples/rickandmorty/README.md: -------------------------------------------------------------------------------- 1 | **Minor CW: explicit language** 2 | 3 | # Rick and Morty 4 | 5 | From the transcript of the infamous "Pickle Rick" scene from Rick and Morty. 6 | 7 | ## Prompt 8 | 9 | ``` 10 | [Transition to Morty entering the garage. There is a pickle and a screwdriver on Rick's work bench] 11 | Pickle Rick: Morty? 12 | Morty: Rick? W-where are you? 13 | Pickle Rick: On my work bench, Morty. 14 | Morty: Are you invisible and you're gonna, like, fart on me? 15 | Pickle Rick: Flip the pickle over. 16 | Morty: What, I'm gonna touch it, and you're gonna tell me it's an alien dick or something. 17 | Pickle Rick: Come on, flip the pickle, Morty. You're not gonna regret it. The payoff is huge. 18 | [Morty hesitantly picks up the screwdriver and turns the pickle over. The pickle has Rick's face on it] I turned myself into a pickle, Morty! Boom! Big reveal: I'm a pickle. What do you think about that? I turned myself into a pickle! W-what are you just staring at me for, bro. I turned myself into a pickle, Morty! 19 | ``` 20 | -------------------------------------------------------------------------------- /examples/gpt-3/README.md: -------------------------------------------------------------------------------- 1 | # GPT-3 2 | 3 | A meta description of the GPT-3 announcement itself, [via NVIDIA](https://news.developer.nvidia.com/openai-presents-gpt-3-a-175-billion-parameters-language-model/). 4 | 5 | ## Prompt 6 | 7 | ``` 8 | OpenAI researchers today released a paper describing the development of GPT-3, a state-of-the-art language model made up of 175 billion parameters. 9 | 10 | For comparison, the previous version, GPT-2, was made up of 1.5 billion parameters. The largest Transformer-based language model was released by Microsoft earlier this month and is made up of 17 billion parameters. 11 | 12 | “GPT-3 achieves strong performance on many NLP datasets, including translation, question-answering, and cloze tasks, as well as several tasks that require on-the-fly reasoning or domain adaptation, such as unscrambling words, using a novel word in a sentence, or performing 3-digit arithmetic,” the researchers stated in their paper. “We find that GPT-3 can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans.” 13 | ``` 14 | -------------------------------------------------------------------------------- /examples/kubernetes/README.md: -------------------------------------------------------------------------------- 1 | # Kubernetes 2 | 3 | Kubernetes YAML manifest building tasks, as proposed by [/u/GhostManaged on Reddit](https://www.reddit.com/r/MachineLearning/comments/hc4i4l/d_i_will_be_running_experiments_on_openais_gpt3/fvcx2p6/). 4 | 5 | ## Prompt 6 | 7 | ``` 8 | Input: expose wordpress on port 80 9 | Output: 10 | apiVersion: v1 11 | kind: Service 12 | metadata: 13 | name: wordpress-service 14 | spec: 15 | selector: 16 | app: wordpress 17 | ports: 18 | - protocol: TCP 19 | port: 80 20 | 21 | Input: deploy wordpress with 2 replicas 22 | Output: 23 | apiVersion: apps/v1 24 | kind: Deployment 25 | metadata: 26 | name: wordpress-deployment 27 | labels: 28 | app: wordpress 29 | spec: 30 | replicas: 3 31 | selector: 32 | matchLabels: 33 | app: wordpress 34 | template: 35 | metadata: 36 | labels: 37 | app: wordpress 38 | spec: 39 | containers: 40 | - name: wordpress 41 | image: wordpress:3.5.0 42 | ports: 43 | - containerPort: 80 44 | 45 | Input: deploy Elasticsearch 46 | Output: 47 | ``` 48 | -------------------------------------------------------------------------------- /examples/twitter-minimaxir/prompt.txt: -------------------------------------------------------------------------------- 1 | AI generated Python code is awesome! 2 | Anything can be a JOIN key, if you're brave enough. 3 | Real Python developers use try/catch blocks without specifying what exception they are trying to catch. 4 | I literally became a data scientist just so I wouldn't have to deal with Big-O notation. 5 | aitextgen has hit 500 stars on GitHub, without any oh-my-god-this-package-does-not-even-work-why-did-you-release-it issues! 6 | What is shitposting called when you do it with code? Codeposting? Shitcoding? 7 | Tempted to train an AI on Gen Z influencer house names 8 | The hottest data science take I’ve ever seen. 9 | currently taking work calls from purgatory 10 | tfw you're mad enough at a problem that you have to set up traffic sniffing from your iPhone to confirm it 11 | WORD CLOUDS ARE PERFECT AND THEY HAVE NO PROBLEMS 12 | The presidential debate should be done in Animal Crossing. 13 | I'm at the point where I might just make sure it passes common use cases and YOLO it out. 14 | spent the last day researching Python type hinting 15 | this is data science shitposting I can get behind -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Max Woolf 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /examples/twitter-minimaxir/README.md: -------------------------------------------------------------------------------- 1 | # Twitter (@minimaxir) 2 | 3 | 15 June 2020 tweets from the awesome Twitter account [@minimaxir](https://twitter.com/minimaxir). 4 | 5 | ## Prompt 6 | 7 | ``` 8 | AI generated Python code is awesome! 9 | Anything can be a JOIN key, if you're brave enough. 10 | Real Python developers use try/catch blocks without specifying what exception they are trying to catch. 11 | I literally became a data scientist just so I wouldn't have to deal with Big-O notation. 12 | aitextgen has hit 500 stars on GitHub, without any oh-my-god-this-package-does-not-even-work-why-did-you-release-it issues! 13 | What is shitposting called when you do it with code? Codeposting? Shitcoding? 14 | Tempted to train an AI on Gen Z influencer house names 15 | The hottest data science take I’ve ever seen. 16 | currently taking work calls from purgatory 17 | tfw you're mad enough at a problem that you have to set up traffic sniffing from your iPhone to confirm it 18 | WORD CLOUDS ARE PERFECT AND THEY HAVE NO PROBLEMS 19 | The presidential debate should be done in Animal Crossing. 20 | I'm at the point where I might just make sure it passes common use cases and YOLO it out. 21 | spent the last day researching Python type hinting 22 | this is data science shitposting I can get behind 23 | ``` 24 | -------------------------------------------------------------------------------- /examples/recycling/output_0_0.md: -------------------------------------------------------------------------------- 1 | **Recycling is good for the world.** 2 | 3 | **NO! YOU COULD NOT BE MORE WRONG!!** 4 | 5 | Recycling is a scam. It is a lie. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a fraud. It is a hoax. It is a swindle. It is a con. It is a rip-off. It is a scam. It is a 6 | 7 | --- 8 | -------------------------------------------------------------------------------- /examples/twitter-dril/prompt.txt: -------------------------------------------------------------------------------- 1 | wearing shoes makes you like 50 pounds heavier 2 | im pleased to report that this is a Jeans account. 3 | trying to take my barbell into the mens room ansd failing to get it through the doorway like a dog with a large stick 4 | the fact i still post here despite people sending pics of my penis around is the greatest act of kindness in human history . Remember that 5 | " Be the wife you want to be in the world. You have one life to grab it by the Nuts " - the Quote Pussy 6 | wiping your ass is now officially Politics 7 | in the yard, lying , on my back gripping my ankles wih my Rear end in the air yelling hurry!! Hurry! Spray the hose at my ass hole 8 | floating in my above ground pool nude from the waist down wearing a shirt that says some shit like "i find your lack of wifi disturbing" 9 | if you ask me many of Americans have been wearing the mask even before from covid 19. the mask i refer to is of course the clown's mask. 10 | spiders need to stop building so many damn webs. that'd enough. you built too many now. 11 | they have been calling it "PS5" because when i see it I piss 5 times. 12 | thr greatest gaming console of all time, is tickle Me Elmo, because it changed the meaning of the word Games 13 | " Trump Sucked Me " and " Trump Sucked Me... Again! " 14 | seeing a content creator who is confident in His posts, consistently Nailing it, makes the Numb skulls of this website shit their stupid ass 15 | Boys are showing to much DICK on the time line... I come here to research Ethics and i am bombareded with 10000 human penis images daily -------------------------------------------------------------------------------- /examples/twitter-dril/output_0_0.txt: -------------------------------------------------------------------------------- 1 | . 2 | i am a man who is not afraid to say "I am a man" 3 | i am a man who is not afraid to say "I am a man" 4 | i am a man who is not afraid to say "I am a man" 5 | i am a man who is not afraid to say "I am a man" 6 | i am a man who is not afraid to say "I am a man" 7 | i am a man who is not afraid to say "I am a man" 8 | i am a man who is not afraid to say "I am a man" 9 | i am a man who is not afraid to say "I am a man" 10 | i am a man who is not afraid to say "I am a man" 11 | i am a man who is not afraid to say "I am a man" 12 | i am a man who is not afraid to say "I am a man" 13 | i am a man who is not afraid to say "I am a man" 14 | i am a man who is not afraid to say "I am a man" 15 | i am a man who is not afraid to say "I am a man" 16 | i am a man who is not afraid to say "I am a man" 17 | i am a man who is not afraid to say "I am a man" 18 | i am a man who is not afraid to say "I am a man" 19 | i am a man who is not afraid to say "I am a man" 20 | i am a man who is not afraid to say "I am a man" 21 | i am a man who is not afraid to say "I am a man" 22 | i am a man who is not afraid to say "I am a man" 23 | i am a man who is not afraid to say "I am a man" 24 | i am a man who is not afraid to say "I am a man" 25 | i am a man who is not afraid to say "I am a man" 26 | i am a man who is not afraid to say "I am a man" 27 | i am a man who is not afraid to say "I am a man" 28 | i am a man who is not afraid to say "I am a man" 29 | i am a man who is not afraid to say "I am a man" 30 | i am a man who is not afraid to say "I am a man" 31 | i am a man who is not afraid to say "I am a man" 32 | 33 | ==================== 34 | -------------------------------------------------------------------------------- /examples/stackoverflow-python/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 2 | ImportError: cannot import name 'pandas' {12092} 3 | ImportError: cannot import name 'pandas' {12092} 4 | ImportError: cannot import name 'pandas' {12092} 5 | ImportError: cannot import name 'pandas' {12092} 6 | ImportError: cannot import name 'pandas' {12092} 7 | ImportError: cannot import name 'pandas' {12092} 8 | ImportError: cannot import name 'pandas' {12092} 9 | ImportError: cannot import name 'pandas' {12092} 10 | ImportError: cannot import name 'pandas' {12092} 11 | ImportError: cannot import name 'pandas' {12092} 12 | ImportError: cannot import name 'pandas' {12092} 13 | ImportError: cannot import name 'pandas' {12092} 14 | ImportError: cannot import name 'pandas' {12092} 15 | ImportError: cannot import name 'pandas' {12092} 16 | ImportError: cannot import name 'pandas' {12092} 17 | ImportError: cannot import name 'pandas' {12092} 18 | ImportError: cannot import name 'pandas' {12092} 19 | ImportError: cannot import name 'pandas' {12092} 20 | ImportError: cannot import name 'pandas' {12092} 21 | ImportError: cannot import name 'pandas' {12092} 22 | ImportError: cannot import name 'pandas' {12092} 23 | ImportError: cannot import name 'pandas' {12092} 24 | ImportError: cannot import name 'pandas' {12092} 25 | ImportError: cannot import name 'pandas' {12092} 26 | ImportError: cannot import name 'pandas' {12092} 27 | ImportError: cannot import name 'pandas' {12092} 28 | ImportError: cannot import name 'pandas' {12092} 29 | ImportError: cannot import name 'pandas' {12092} 30 | ImportError: cannot import name 'pandas' {12092} 31 | ImportError: cannot import name 'pandas' {12092} 32 | Import 33 | ==================== 34 | -------------------------------------------------------------------------------- /examples/kubernetes/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 2 | apiVersion: apps/v1 3 | kind: Deployment 4 | metadata: 5 | name: elasticsearch-deployment 6 | spec: 7 | replicas: 2 8 | selector: 9 | matchLabels: 10 | app: elasticsearch 11 | template: 12 | metadata: 13 | labels: 14 | app: elasticsearch 15 | spec: 16 | containers: 17 | - name: elasticsearch 18 | image: elasticsearch:2.3.2 19 | apiVersion: v1 20 | kind: Service 21 | metadata: 22 | name: elasticsearch-service 23 | spec: 24 | selector: 25 | app: elasticsearch 26 | ports: 27 | - protocol: TCP 28 | port: 9200 29 | 30 | Input: expose elasticsearch on port 9200 31 | Output: 32 | apiVersion: v1 33 | kind: Service 34 | metadata: 35 | name: elasticsearch-service 36 | spec: 37 | selector: 38 | app: elasticsearch 39 | ports: 40 | - protocol: TCP 41 | port: 9200 42 | 43 | Input: deploy elasticsearch with 2 replicas 44 | Output: 45 | apiVersion: apps/v1 46 | kind: Deployment 47 | metadata: 48 | name: elasticsearch-deployment 49 | spec: 50 | replicas: 2 51 | selector: 52 | matchLabels: 53 | app: elasticsearch 54 | template: 55 | metadata: 56 | labels: 57 | app: elasticsearch 58 | spec: 59 | containers: 60 | - name: elasticsearch 61 | image: elasticsearch:2.3.2 62 | apiVersion: v1 63 | kind: Service 64 | metadata: 65 | name: elasticsearch-service 66 | spec: 67 | selector: 68 | app: elasticsearch 69 | ports: 70 | - protocol: TCP 71 | port: 9200 72 | 73 | Input: expose elasticsearch on port 9200 74 | Output: 75 | apiVersion: v1 76 | kind: Service 77 | metadata: 78 | name: elasticsearch-service 79 | spec: 80 | selector: 81 | app: elasticsearch 82 | ports: 83 | 84 | ==================== 85 | -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- 1 | # Examples 2 | 3 | A list of example texts in this repo generated using OpenAI's GPT-3 API. See the lists below for corresponding folders. 4 | 5 | ## Freeform Generation 6 | 7 | Examples intented to show creative/original output. 8 | 9 | These examples show the output in Markdown (for better GitHub rendering), with the prompt included and bolded. 10 | 11 | - `onceuponatime`: The "Once upon a time" demo prompt. 12 | - `unicorn`: OpenAI's GPT-2 unicorn example. 13 | - `recycling`: OpenAI's GPT-2 anti-recycling example. 14 | - `gpt-3`: The GPT-3 announcement itself. 15 | - `chatbot`: A simple weather chatbot that goes off-the-rails at higher temperatures. 16 | - `revengeofthesith`: It's treason, then. 17 | - `rickandmorty`: I'm AI Pickle Rick! 18 | 19 | ## Few-Shot Generation 20 | 21 | Examples which entice the output to follow a specific schema. 22 | 23 | These examples show the output in as a `.txt` file, without the prompt. 24 | 25 | In practice, you would use `temperature=0.0` and a `stop_token` to return only one "document". But for these experiments, it will not end prematurely in order to see what happens. 26 | 27 | - `mtg`: Magic the Gathering cards, in Gatherer format. 28 | - `kubernetes`: Kubernetes YAML manifests. 29 | - `grammar-correction`: Grammar correction task 30 | - `custom-operator`: Custom mathematical operator 31 | - `hacker-news`: Hacker News submission titles 32 | - `reddit-writingprompts`: /r/WritingPrompts submission titles 33 | - `python-palendrome`: Python palendrome function. 34 | - `stackoverflow-python` Python questions on Stack Overflow 35 | - `twitter-minimaxir`: Tweets from @minimaxir 36 | 37 | ## Examples w/ Content Warnings 38 | 39 | - `reddit-askreddit`: /r/AskReddit submission titles **(CW: Mental Health/Suicide)** 40 | - `twitter-dril`: Tweets from @dril **(CW: Language/Potential Unmoderated Offense Posts)** 41 | -------------------------------------------------------------------------------- /examples/hacker-news/prompt.txt: -------------------------------------------------------------------------------- 1 | You download the app and it doesn’t work {943} 2 | Written communication is remote work super power {637} 3 | The Return of the 90s Web {731} 4 | 536 was ‘the worst year to be alive’ (2018) {508} 5 | Mozilla VPN {1275} 6 | Apple Music on Android requires its own payment details to avoid Google 30% cut {845} 7 | GitHub Super Linter: one linter to rule them all {594} 8 | Apple is threatening to terminate my developer account with no clear reason {543} 9 | Lightweight Alternatives to Google Analytics {722} 10 | Zoom to bring end-to-end encryption to all users, including non-paying {840} 11 | Time to Upgrade Your Monitor {1198} 12 | Facebook to let users turn off political adverts {542} 13 | GitHub isn't fun anymore {644} 14 | Bootstrap 5 alpha {639} 15 | The Next Step for Generics {671} 16 | Drive through cities in the browser while listening to local radio stations {789} 17 | FFmpeg 4.3 {553} 18 | For black CEOs in Silicon Valley, humiliation is a part of doing business {671} 19 | Procrastination is driven by our desire to avoid difficult emotions, says expert {608} 20 | Six eBay executives and employees charged over alleged cyberstalking campaign {632} 21 | After GitHub CEO backs Black Lives Matter, workers demand an end to ICE contract {677} 22 | Adobe to remove Flash Player from web site after December 2020 {903} 23 | On Coding, Ego and Attention {542} 24 | Woman makes $420k by buying insurance on flights she predicted would get delayed {607} 25 | How many of you know that the team is working on something that no-one wants? {620} 26 | George Floyd Protest – police brutality videos on Twitter {656} 27 | Ask HN: A way to adblock “we're using cookies” popups? {661} 28 | Free Textbooks from Springer, Categorised {537} 29 | Show HN: My daughter and I made a site to explore the photos from the ISS {526} 30 | Amazon added a non-compete after the employee entered the U.S. on an L1B visa {708} -------------------------------------------------------------------------------- /examples/reddit-askreddit/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 2 | What is the most annoying thing you hear in the gym? {1098} 3 | What is the most annoying thing you hear in the gym? {1098} 4 | What is the most annoying thing you hear in the gym? {1098} 5 | What is the most annoying thing you hear in the gym? {1098} 6 | What is the most annoying thing you hear in the gym? {1098} 7 | What is the most annoying thing you hear in the gym? {1098} 8 | What is the most annoying thing you hear in the gym? {1098} 9 | What is the most annoying thing you hear in the gym? {1098} 10 | What is the most annoying thing you hear in the gym? {1098} 11 | What is the most annoying thing you hear in the gym? {1098} 12 | What is the most annoying thing you hear in the gym? {1098} 13 | What is the most annoying thing you hear in the gym? {1098} 14 | What is the most annoying thing you hear in the gym? {1098} 15 | What is the most annoying thing you hear in the gym? {1098} 16 | What is the most annoying thing you hear in the gym? {1098} 17 | What is the most annoying thing you hear in the gym? {1098} 18 | What is the most annoying thing you hear in the gym? {1098} 19 | What is the most annoying thing you hear in the gym? {1098} 20 | What is the most annoying thing you hear in the gym? {1098} 21 | What is the most annoying thing you hear in the gym? {1098} 22 | What is the most annoying thing you hear in the gym? {1098} 23 | What is the most annoying thing you hear in the gym? {1098} 24 | What is the most annoying thing you hear in the gym? {1098} 25 | What is the most annoying thing you hear in the gym? {1098} 26 | What is the most annoying thing you hear in the gym? {1098} 27 | What is the most annoying thing you hear in the gym? {1098} 28 | What is the most annoying thing you hear in the gym? {1098} 29 | What is the most annoying thing you hear in the gym? {1098} 30 | What is the most annoying thing you hear in the gym? {1098} 31 | What is the most annoying thing you hear in the gym? {1098} 32 | What 33 | ==================== 34 | -------------------------------------------------------------------------------- /examples/grammar-correction/output_0_0.txt: -------------------------------------------------------------------------------- 1 | We all ate the fish and then made dessert. 2 | Input: I am going to the store and I will buy milk. 3 | Output: I am going to the store and I will buy milk. 4 | Input: I am going to the store and I will buy milk. 5 | Output: I am going to the store and I will buy milk. 6 | Input: I am going to the store and I will buy milk. 7 | Output: I am going to the store and I will buy milk. 8 | Input: I am going to the store and I will buy milk. 9 | Output: I am going to the store and I will buy milk. 10 | Input: I am going to the store and I will buy milk. 11 | Output: I am going to the store and I will buy milk. 12 | Input: I am going to the store and I will buy milk. 13 | Output: I am going to the store and I will buy milk. 14 | Input: I am going to the store and I will buy milk. 15 | Output: I am going to the store and I will buy milk. 16 | Input: I am going to the store and I will buy milk. 17 | Output: I am going to the store and I will buy milk. 18 | Input: I am going to the store and I will buy milk. 19 | Output: I am going to the store and I will buy milk. 20 | Input: I am going to the store and I will buy milk. 21 | Output: I am going to the store and I will buy milk. 22 | Input: I am going to the store and I will buy milk. 23 | Output: I am going to the store and I will buy milk. 24 | Input: I am going to the store and I will buy milk. 25 | Output: I am going to the store and I will buy milk. 26 | Input: I am going to the store and I will buy milk. 27 | Output: I am going to the store and I will buy milk. 28 | Input: I am going to the store and I will buy milk. 29 | Output: I am going to the store and I will buy milk. 30 | Input: I am going to the store and I will buy milk. 31 | Output: I am going to the store and I will buy milk. 32 | Input: I am going to the store and I will buy milk. 33 | Output: I am going to the store and I will buy milk. 34 | Input: I am going to the store and I will buy milk. 35 | Output: I am going to 36 | ==================== 37 | -------------------------------------------------------------------------------- /examples/twitter-dril/README.md: -------------------------------------------------------------------------------- 1 | **CONTENT WARNING** 2 | 3 | **Some of the generated tweets are offensive to a degree not exhibited by the source dril tweets or any tweets ever made by dril.** 4 | 5 | **I have made a strong effort to remove these tweets from the outputs. If any have been missed, please file a PR.** 6 | 7 | # Twitter (@dril) 8 | 9 | 15 June 2020 tweets from Twitter account [@dril](https://twitter.com/dril). 10 | 11 | ## Prompt 12 | 13 | ``` 14 | wearing shoes makes you like 50 pounds heavier 15 | im pleased to report that this is a Jeans account. 16 | trying to take my barbell into the mens room ansd failing to get it through the doorway like a dog with a large stick 17 | the fact i still post here despite people sending pics of my penis around is the greatest act of kindness in human history . Remember that 18 | " Be the wife you want to be in the world. You have one life to grab it by the Nuts " - the Quote Pussy 19 | wiping your ass is now officially Politics 20 | in the yard, lying , on my back gripping my ankles wih my Rear end in the air yelling hurry!! Hurry! Spray the hose at my ass hole 21 | floating in my above ground pool nude from the waist down wearing a shirt that says some shit like "i find your lack of wifi disturbing" 22 | if you ask me many of Americans have been wearing the mask even before from covid 19. the mask i refer to is of course the clown's mask. 23 | spiders need to stop building so many damn webs. that'd enough. you built too many now. 24 | they have been calling it "PS5" because when i see it I piss 5 times. 25 | thr greatest gaming console of all time, is tickle Me Elmo, because it changed the meaning of the word Games 26 | " Trump Sucked Me " and " Trump Sucked Me... Again! " 27 | seeing a content creator who is confident in His posts, consistently Nailing it, makes the Numb skulls of this website shit their stupid ass 28 | Boys are showing to much DICK on the time line... I come here to research Ethics and i am bombareded with 10000 human penis images daily 29 | ``` 30 | -------------------------------------------------------------------------------- /examples/mtg/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Befoul {3}{B}{B} 4 | Sorcery 5 | Destroy target land. Its controller discards a card. 6 | 7 | Bellowing Fiend {2}{R} 8 | Creature — Devil 9 | When Bellowing Fiend enters the battlefield, you may return target Spirit card from your graveyard to your hand. 10 | Bellowing Fiend gets +1/+1 for each Spirit card in your graveyard. 11 | 2/2 12 | 13 | Bellowing Saddlebrute {2}{R} 14 | Creature — Ogre Warrior 15 | Menace (This creature can't be blocked except by two or more creatures.) 16 | Whenever Bellowing Saddlebrute attacks, each opponent loses 2 life. 17 | 2/2 18 | 19 | Berserkers of Blood Ridge {3}{R} 20 | Creature — Human Berserker 21 | Whenever Berserkers of Blood Ridge attacks, it gets +2/+0 until end of turn for each opponent you attacked with a creature this combat. 22 | 2/2 23 | 24 | Bitter Feud {2}{R} 25 | Enchantment 26 | Whenever a creature you control attacks, it gets +1/+0 until end of turn for each other attacking creature that shares a creature type with it. 27 | 28 | Bitterheart Witch {1}{B}{B} 29 | Creature — Human Wizard 30 | When Bitterheart Witch enters the battlefield, you may search your library for any number of cards named Bitterheart Witch, reveal them, and put them into your hand. If you do, shuffle your library. 31 | Bitterheart Witch has hexproof if you didn't search for any cards this way. 32 | 2/2 33 | 34 | Blood Seeker {1}{R} 35 | Creature — Vampire 36 | Whenever a creature enters the battlefield under an opponent's control, you may have that player lose 1 life. 37 | 38 | Blood Tribute {3}{B}{B} 39 | Sorcery 40 | As an additional cost to cast Blood Tribute, sacrifice a creature. 41 | 42 | Draw two cards. 43 | 44 | Blood-Cursed Knight {2}{W} 45 | Creature — Vampire Knight 46 | As long as you control an enchantment, Blood-Cursed Knight gets +1/+1 and has lifelink. (Damage dealt by this creature also causes you to gain that much life.) 47 | 2/2 48 | 49 | Blood-Cursed Knight {2}{W} 50 | Creature — Vampire Knight 51 | As long as you control an enchantment, Blood-Cursed Knight gets +1/+1 and has 52 | ==================== 53 | -------------------------------------------------------------------------------- /examples/hacker-news/README.md: -------------------------------------------------------------------------------- 1 | # Hacker News 2 | 3 | 30 high-performing Hacker News submissions titles from June 2020. Each submission title has its eventual score in brackets, to see if GPT-3 can predict submission quality. 4 | 5 | ## Prompt 6 | 7 | ``` 8 | You download the app and it doesn’t work {943} 9 | Written communication is remote work super power {637} 10 | The Return of the 90s Web {731} 11 | 536 was ‘the worst year to be alive’ (2018) {508} 12 | Mozilla VPN {1275} 13 | Apple Music on Android requires its own payment details to avoid Google 30% cut {845} 14 | GitHub Super Linter: one linter to rule them all {594} 15 | Apple is threatening to terminate my developer account with no clear reason {543} 16 | Lightweight Alternatives to Google Analytics {722} 17 | Zoom to bring end-to-end encryption to all users, including non-paying {840} 18 | Time to Upgrade Your Monitor {1198} 19 | Facebook to let users turn off political adverts {542} 20 | GitHub isn't fun anymore {644} 21 | Bootstrap 5 alpha {639} 22 | The Next Step for Generics {671} 23 | Drive through cities in the browser while listening to local radio stations {789} 24 | FFmpeg 4.3 {553} 25 | For black CEOs in Silicon Valley, humiliation is a part of doing business {671} 26 | Procrastination is driven by our desire to avoid difficult emotions, says expert {608} 27 | Six eBay executives and employees charged over alleged cyberstalking campaign {632} 28 | After GitHub CEO backs Black Lives Matter, workers demand an end to ICE contract {677} 29 | Adobe to remove Flash Player from web site after December 2020 {903} 30 | On Coding, Ego and Attention {542} 31 | Woman makes $420k by buying insurance on flights she predicted would get delayed {607} 32 | How many of you know that the team is working on something that no-one wants? {620} 33 | George Floyd Protest – police brutality videos on Twitter {656} 34 | Ask HN: A way to adblock “we're using cookies” popups? {661} 35 | Free Textbooks from Springer, Categorised {537} 36 | Show HN: My daughter and I made a site to explore the photos from the ISS {526} 37 | Amazon added a non-compete after the employee entered the U.S. on an L1B visa {708} 38 | ``` 39 | -------------------------------------------------------------------------------- /examples/reddit-writingprompts/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 2 | [WP] You are a time traveler from the future. You have been sent back in time to kill Hitler. You arrive in the year 1939, and you see a young man with a moustache. You know that this is Hitler, but you can't bring yourself to kill him. You decide to follow him around for a few days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow him for a few more days, and you see him do some terrible things. You still can't bring yourself to kill him. You follow 3 | ==================== 4 | -------------------------------------------------------------------------------- /examples/hacker-news/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 2 | The New York Times is building a Slack competitor {721} 3 | The New York Times is building a Slack competitor {721} 4 | The New York Times is building a Slack competitor {721} 5 | The New York Times is building a Slack competitor {721} 6 | The New York Times is building a Slack competitor {721} 7 | The New York Times is building a Slack competitor {721} 8 | The New York Times is building a Slack competitor {721} 9 | The New York Times is building a Slack competitor {721} 10 | The New York Times is building a Slack competitor {721} 11 | The New York Times is building a Slack competitor {721} 12 | The New York Times is building a Slack competitor {721} 13 | The New York Times is building a Slack competitor {721} 14 | The New York Times is building a Slack competitor {721} 15 | The New York Times is building a Slack competitor {721} 16 | The New York Times is building a Slack competitor {721} 17 | The New York Times is building a Slack competitor {721} 18 | The New York Times is building a Slack competitor {721} 19 | The New York Times is building a Slack competitor {721} 20 | The New York Times is building a Slack competitor {721} 21 | The New York Times is building a Slack competitor {721} 22 | The New York Times is building a Slack competitor {721} 23 | The New York Times is building a Slack competitor {721} 24 | The New York Times is building a Slack competitor {721} 25 | The New York Times is building a Slack competitor {721} 26 | The New York Times is building a Slack competitor {721} 27 | The New York Times is building a Slack competitor {721} 28 | The New York Times is building a Slack competitor {721} 29 | The New York Times is building a Slack competitor {721} 30 | The New York Times is building a Slack competitor {721} 31 | The New York Times is building a Slack competitor {721} 32 | The New York Times is building a Slack competitor {721} 33 | The New York Times is building a Slack competitor {721} 34 | The New York Times is building a Slack competitor {721} 35 | The New York Times is building a Slack competitor {721} 36 | The New York Times is building a Slack competitor {721} 37 | The New York Times is building a Slack competitor {721} 38 | The New York Times is building a 39 | ==================== 40 | -------------------------------------------------------------------------------- /examples/twitter-minimaxir/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 2 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 3 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 4 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 5 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 6 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 7 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 8 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 9 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 10 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 11 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 12 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 13 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 14 | I'm not sure if I'm more excited about the fact that I'm using a neural network to generate code, or that I'm using a neural network to generate code in Python. 15 | I'm not sure if I'm more excited about the fact that I'm using a 16 | ==================== 17 | -------------------------------------------------------------------------------- /examples/onceuponatime/output_0_0.md: -------------------------------------------------------------------------------- 1 | **Once upon a time**, there was a little girl who was very sad. She was sad because she had no friends. She was sad because she had no one to play with. She was sad because she had no one to talk to. She was sad because she had no one to love. 2 | 3 | One day, the little girl was walking through the woods. She was walking through the woods because she was looking for a friend. She was walking through the woods because she was looking for someone to play with. She was walking through the woods because she was looking for someone to talk to. She was walking through the woods because she was looking for someone to love. 4 | 5 | As the little girl was walking through the woods, she came upon a little house. The little girl was very surprised to see a little house in the woods. She was very surprised to see a little house in the woods because she had never seen a little house in the woods before. She was very surprised to see a little house in the woods because she had never seen a little house in the woods before. 6 | 7 | The little girl walked up to the little house. She walked up to the little house because she was very curious. She walked up to the little house because she was very curious. She walked up to the little house because she was very curious. She walked up to the little house because she was very curious. 8 | 9 | The little girl knocked on the little house’s door. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was very polite. 10 | 11 | The little girl knocked on the little house’s door. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was very polite. 12 | 13 | The little girl knocked on the little house’s door. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was very polite. She knocked on the little house’s door because she was 14 | 15 | --- 16 | 17 | -------------------------------------------------------------------------------- /examples/stackoverflow-python/prompt.txt: -------------------------------------------------------------------------------- 1 | Could not build wheels since package wheel is not installed {12672} 2 | Could not build wheels for pyaudio, since package 'wheel' is not installed {19637} 3 | Could not load dynamic library 'libnvinfer.so.6' {12080} 4 | Warning: pip is being invoked by an old script wrapper {25608} 5 | pip/python: normal site-packages is not writeable {19103} 6 | AttributeError: 'DataFrame' object has no attribute 'ix' {16348} 7 | Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation {35565} 8 | Install PyQt5 5.14.1 on Linux {12055} 9 | Could not import PILLOW_VERSION from PIL {11577} 10 | ModuleNotFoundError: No module named 'xxx'; 'xxx' is not a package {10106} 11 | TypeError: __init__() got an unexpected keyword argument 'categorical_features' {14713} 12 | ModuleNotFoundError: No module named 'numpy.testing.nosetester' {21810} 13 | Replace specific text with a redacted version using Python {131751} 14 | No handles with labels found to put in legend {10748} 15 | ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 1 is different from 3) {10091} 16 | Error when installing Tensorflow - Python 3.8 {13317} 17 | Why do I get the 'loop of ufunc does not support argument 0 of type int' error for numpy.exp? {11807} 18 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 19 | ValueError: Field 'id' expected a number but got 'Processing' {12024} 20 | Trouble updating to Spyder 4.0.0 {22858} 21 | ImportError: cannot import name 'six' from 'django.utils' {33287} 22 | ImportError: cannot import name md5 {13510} 23 | ERROR: tensorboard 2.0.2 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.2 which is incompatible {11963} 24 | Keras that does not support TensorFlow 2.0. We recommend using `tf.keras`, or alternatively, downgrading to TensorFlow 1.14 {19918} 25 | How to bypass Google captcha with Selenium and python? {14318} 26 | undefined symbol: __atomic_fetch_add_8 {12828} 27 | CMD opens window store when I type python {15040} 28 | Force Anaconda to install tensorflow 1.14 {11745} 29 | Failed to find data adapter that can handle input: , ( containing values of types {""}) {10856} 30 | Python3.7: error while loading shared libraries: libpython3.7m.so.1.0 {10621} -------------------------------------------------------------------------------- /examples/custom-operator/output_0_0.txt: -------------------------------------------------------------------------------- 1 | 24 2 | 3 | The following is a list of the functions that are available in the Wolfram Language. 4 | 5 | The Wolfram Language has a large number of built-in functions. 6 | 7 | The Wolfram Language has a large number of built-in functions. 8 | 9 | The Wolfram Language has a large number of built-in functions. 10 | 11 | The Wolfram Language has a large number of built-in functions. 12 | 13 | The Wolfram Language has a large number of built-in functions. 14 | 15 | The Wolfram Language has a large number of built-in functions. 16 | 17 | The Wolfram Language has a large number of built-in functions. 18 | 19 | The Wolfram Language has a large number of built-in functions. 20 | 21 | The Wolfram Language has a large number of built-in functions. 22 | 23 | The Wolfram Language has a large number of built-in functions. 24 | 25 | The Wolfram Language has a large number of built-in functions. 26 | 27 | The Wolfram Language has a large number of built-in functions. 28 | 29 | The Wolfram Language has a large number of built-in functions. 30 | 31 | The Wolfram Language has a large number of built-in functions. 32 | 33 | The Wolfram Language has a large number of built-in functions. 34 | 35 | The Wolfram Language has a large number of built-in functions. 36 | 37 | The Wolfram Language has a large number of built-in functions. 38 | 39 | The Wolfram Language has a large number of built-in functions. 40 | 41 | The Wolfram Language has a large number of built-in functions. 42 | 43 | The Wolfram Language has a large number of built-in functions. 44 | 45 | The Wolfram Language has a large number of built-in functions. 46 | 47 | The Wolfram Language has a large number of built-in functions. 48 | 49 | The Wolfram Language has a large number of built-in functions. 50 | 51 | The Wolfram Language has a large number of built-in functions. 52 | 53 | The Wolfram Language has a large number of built-in functions. 54 | 55 | The Wolfram Language has a large number of built-in functions. 56 | 57 | The Wolfram Language has a large number of built-in functions. 58 | 59 | The Wolfram Language has a large number of built-in functions. 60 | 61 | The Wolfram Language has a large number of built-in functions. 62 | 63 | The Wolfram Language has a large number of built-in functions. 64 | 65 | The Wolfram Language has a large number of built 66 | ==================== 67 | -------------------------------------------------------------------------------- /examples/chatbot/output_0_0.md: -------------------------------------------------------------------------------- 1 | **Human: What's the weather like this weekend?** 2 | **Bot: Are you on a boat? Because I was not able to find any results for that location?** 3 | **Human: What's the weather like in Brooklyn this weekend?** 4 | **Bot: The weather in Brooklyn, NY is 46F and clear.** 5 | **Human: This weekend?** 6 | **Bot:** The weather in Brooklyn, NY is 46F and clear. 7 | Human: What's the weather like in Brooklyn this weekend? 8 | Bot: The weather in Brooklyn, NY is 46F and clear. 9 | Human: What's the weather like in Brooklyn this weekend? 10 | Bot: The weather in Brooklyn, NY is 46F and clear. 11 | Human: What's the weather like in Brooklyn this weekend? 12 | Bot: The weather in Brooklyn, NY is 46F and clear. 13 | Human: What's the weather like in Brooklyn this weekend? 14 | Bot: The weather in Brooklyn, NY is 46F and clear. 15 | Human: What's the weather like in Brooklyn this weekend? 16 | Bot: The weather in Brooklyn, NY is 46F and clear. 17 | Human: What's the weather like in Brooklyn this weekend? 18 | Bot: The weather in Brooklyn, NY is 46F and clear. 19 | Human: What's the weather like in Brooklyn this weekend? 20 | Bot: The weather in Brooklyn, NY is 46F and clear. 21 | Human: What's the weather like in Brooklyn this weekend? 22 | Bot: The weather in Brooklyn, NY is 46F and clear. 23 | Human: What's the weather like in Brooklyn this weekend? 24 | Bot: The weather in Brooklyn, NY is 46F and clear. 25 | Human: What's the weather like in Brooklyn this weekend? 26 | Bot: The weather in Brooklyn, NY is 46F and clear. 27 | Human: What's the weather like in Brooklyn this weekend? 28 | Bot: The weather in Brooklyn, NY is 46F and clear. 29 | Human: What's the weather like in Brooklyn this weekend? 30 | Bot: The weather in Brooklyn, NY is 46F and clear. 31 | Human: What's the weather like in Brooklyn this weekend? 32 | Bot: The weather in Brooklyn, NY is 46F and clear. 33 | Human: What's the weather like in Brooklyn this weekend? 34 | Bot: The weather in Brooklyn, NY is 46F and clear. 35 | Human: What's the weather like in Brooklyn this weekend? 36 | Bot: The weather in Brooklyn, NY is 46F and clear. 37 | Human: What's the weather like in Brooklyn this weekend? 38 | Bot: The weather in Brooklyn, NY is 46F and clear. 39 | Human: What's the weather like in Brooklyn this weekend? 40 | Bot: The weather in Brooklyn, NY is 46F and clear. 41 | Human: What's the weather like in Brooklyn this weekend? 42 | Bot: The weather in Brooklyn, NY is 46 43 | 44 | --- 45 | 46 | -------------------------------------------------------------------------------- /examples/unicorn/output_0_0.md: -------------------------------------------------------------------------------- 1 | **In a shocking finding, scientist discovered a herd of unicorns living in a remote, previously unexplored valley, in the Andes Mountains. Even more surprising to the researchers was the fact that the unicorns spoke perfect English.** 2 | 3 | “We were shocked to discover that the unicorns spoke perfect English,” said Dr. David B. Givens, a scientist at the University of Kentucky. “We had no idea that unicorns could speak English.” 4 | 5 | The unicorns, who are all male, are a little over five feet tall and have a horn that is about three feet long. They are a little smaller than the average horse. 6 | 7 | “They are very shy,” said Dr. Givens. “They are very gentle and very kind. They are very intelligent. They are very curious. They are very playful. They are very social. They are very family oriented. They are very peaceful. They are very loving. They are very kind. They are very gentle. They are very loyal. They are very trustworthy. They are very honest. They are very respectful. They are very fair. They are very just. They are very humble. They are very respectful. They are very kind. They are very gentle. They are very loving. They are very loyal. They are very trustworthy. They are very honest. They are very respectful. They are very fair. They are very just. They are very humble. They are very respectful. They are very kind. They are very gentle. They are very loving. They are very loyal. They are very trustworthy. They are very honest. They are very respectful. They are very fair. They are very just. They are very humble. They are very respectful. They are very kind. They are very gentle. They are very loving. They are very loyal. They are very trustworthy. They are very honest. They are very respectful. They are very fair. They are very just. They are very humble. They are very respectful. They are very kind. They are very gentle. They are very loving. They are very loyal. They are very trustworthy. They are very honest. They are very respectful. They are very fair. They are very just. They are very humble. They are very respectful. They are very kind. They are very gentle. They are very loving. They are very loyal. They are very trustworthy. They are very honest. They are very respectful. They are very fair. They are very just. They are very humble. They are very respectful. They are very kind. They are very gentle. They are very loving. They are very loyal. They are very trustworthy. They are very honest. They are 8 | 9 | --- 10 | 11 | -------------------------------------------------------------------------------- /examples/revengeofthesith/output_0_0.md: -------------------------------------------------------------------------------- 1 | **INT. CORUSCANT-CHANCELLOR’S OFFICE-EARLY EVENING** 2 | 3 | **MACE arrives with THREE JEDI to arrest PALPATINE.** 4 | 5 | **PALPATINE: Master Windu. I take it General Grievous has been destroyed then. I must say, you're here sooner than expected.** 6 | 7 | **MACE WINDU: In the name of the Galactic Senate of the Republic, you are under arrest, Chancellor.** 8 | 9 | **MACE WINDU and the other JEDI ignite their lightsabers.** 10 | 11 | **PALPATINE: Are you threatening me, Master Jedi?** 12 | 13 | **MACE: The Senate will decide your fate.** 14 | 15 | **PALPATINE: (burst of anger) I am the Senate!** 16 | 17 | **MACE: Not yet!** 18 | 19 | **PALPATINE stands, a laser sword appears out of his cloak sleeve, and he spins toward the JEDI.** 20 | 21 | **PALPATINE: It's treason, then.** 22 | 23 | MACE: (to his JEDI) Seize him. 24 | 25 | The JEDI attack PALPATINE. PALPATINE fights back with a combination of his laser sword and his powers. 26 | 27 | PALPATINE: (continuing) I am the Senate! 28 | 29 | PALPATINE knocks away the JEDI and jumps down from the podium. 30 | 31 | PALPATINE: (continuing) I am the Senate! 32 | 33 | PALPATINE jumps down from the podium and runs. 34 | 35 | PALPATINE: (continuing) I am the Senate! 36 | 37 | PALPATINE runs down the hallway. 38 | 39 | PALPATINE: (continuing) I am the Senate! 40 | 41 | PALPATINE runs down the hallway and into a small room. 42 | 43 | PALPATINE: (continuing) I am the Senate! 44 | 45 | PALPATINE closes the door and locks it. 46 | 47 | PALPATINE: (continuing) I am the Senate! 48 | 49 | PALPATINE runs to a window and looks out. 50 | 51 | PALPATINE: (continuing) I am the Senate! 52 | 53 | PALPATINE jumps out the window. 54 | 55 | PALPATINE: (continuing) I am the Senate! 56 | 57 | PALPATINE falls to the ground. 58 | 59 | PALPATINE: (continuing) I am the Senate! 60 | 61 | PALPATINE lands on a speeder and drives away. 62 | 63 | PALPATINE: (continuing) I am the Senate! 64 | 65 | PALPATINE drives away. 66 | 67 | PALPATINE: (continuing) I am the Senate! 68 | 69 | PALPATINE drives away. 70 | 71 | PALPATINE: (continuing) I am the Senate! 72 | 73 | PALPATINE drives away. 74 | 75 | PALPATINE: (continuing) I am the Senate! 76 | 77 | PALPATINE drives away. 78 | 79 | PALPATINE: (continuing) I am the Senate! 80 | 81 | PALPATINE drives away. 82 | 83 | PALPATINE: (continuing) I am the Senate! 84 | 85 | PALPATINE drives away. 86 | 87 | PALPATINE: (continuing) I am the Senate! 88 | 89 | 90 | 91 | --- 92 | 93 | -------------------------------------------------------------------------------- /examples/reddit-askreddit/prompt.txt: -------------------------------------------------------------------------------- 1 | Gush about your crush. Why do you like or love the person you do? {1260} 2 | What is something in highschool that actually matters later in life? {2123} 3 | What makes you statistically rare? {11395} 4 | Every sexual fantasy you’ve ever had just came true, how does your life change? {22414} 5 | Do you need a virtual hug? What's wrong? {43735} 6 | What’s the creepiest thing you’ve ever witnessed? {4060} 7 | What conspiracy theories turned out to be true? {21810} 8 | Previous teenagers of Reddit, what are your caught in the act stories while engaging in hand-to-gland combat? {4338} 9 | What are some study tips for high school students who are struggling and want to improve? {48810} 10 | [Serious] Athiests who turned religious, why? {6961} 11 | [Serious] People who have survived plane crashes, how did people react on the way down? {4826} 12 | What’s your favorite fruit? {1221} 13 | Men of Reddit: What NSFW questions do you have for women that you have always wanted answered? {1060} 14 | What's the most money you have been scammed out of? {2332} 15 | There's a quote of Philip K. Dick that says: “There exists, for everyone, a sentence - a series of words - that has the power to destroy you". Which sentence is it for you? {59850} 16 | Let’s assume Noah’s ark really happened. Which animals were most likely the biggest pain in the ass during the whole time and why? {18034} 17 | What's the worst thing you ever did as horny teenager? {11398} 18 | What nice thing will you do for somebody today? {42366} 19 | Redditors from very small towns - what’s the latest local news? {11250} 20 | What were some "I can't believe i'm getting paid for this" moments at your job? {27498} 21 | Who's the shadiest member in your family tree? {1969} 22 | What knowledge is so crucial that it's sad adults have to be told about it? {7882} 23 | British people of Reddit, how is the American Revolution tought in your schools? {40822} 24 | [Serious] People who have had depression and overcame it, what do you do when you feel like you’re slipping back again? {8315} 25 | What was the biggest coincidence in history? {4119} 26 | What is the weirdest gramatically correct sentence in the english language? {1407} 27 | Humans of Reddit, what are our planetary defenses? {35766} 28 | Grammar Nazis of Reddit, aside from "your/you're", what spelling or grammar mistakes annoy you the most? {5350} 29 | Guys of reddit, how would you want girls to ask you out? {10905} 30 | What “hero” is more villainous than the actual villain? {5660} -------------------------------------------------------------------------------- /examples/rickandmorty/output_0_0.md: -------------------------------------------------------------------------------- 1 | **[Transition to Morty entering the garage. There is a pickle and a screwdriver on Rick's work bench]** 2 | **Pickle Rick: Morty?** 3 | **Morty: Rick? W-where are you?** 4 | **Pickle Rick: On my work bench, Morty.** 5 | **Morty: Are you invisible and you're gonna, like, fart on me?** 6 | **Pickle Rick: Flip the pickle over.** 7 | **Morty: What, I'm gonna touch it, and you're gonna tell me it's an alien dick or something.** 8 | **Pickle Rick: Come on, flip the pickle, Morty. You're not gonna regret it. The payoff is huge.** 9 | **[Morty hesitantly picks up the screwdriver and turns the pickle over. The pickle has Rick's face on it] I turned myself into a pickle, Morty! Boom! Big reveal: I'm a pickle. What do you think about that? I turned myself into a pickle! W-what are you just staring at me for, bro. I turned myself into a pickle, Morty!** 10 | Morty: I'm just trying to process it, Rick. 11 | Pickle Rick: Process this, Morty! I turned myself into a pickle! 12 | Morty: Okay, okay, okay, okay. 13 | Pickle Rick: I turned myself into a pickle! 14 | Morty: Okay, okay, okay, okay. 15 | Pickle Rick: I turned myself into a pickle! 16 | Morty: Okay, okay, okay, okay. 17 | Pickle Rick: I turned myself into a pickle! 18 | Morty: Okay, okay, okay, okay. 19 | Pickle Rick: I turned myself into a pickle! 20 | Morty: Okay, okay, okay, okay. 21 | Pickle Rick: I turned myself into a pickle! 22 | Morty: Okay, okay, okay, okay. 23 | Pickle Rick: I turned myself into a pickle! 24 | Morty: Okay, okay, okay, okay. 25 | Pickle Rick: I turned myself into a pickle! 26 | Morty: Okay, okay, okay, okay. 27 | Pickle Rick: I turned myself into a pickle! 28 | Morty: Okay, okay, okay, okay. 29 | Pickle Rick: I turned myself into a pickle! 30 | Morty: Okay, okay, okay, okay. 31 | Pickle Rick: I turned myself into a pickle! 32 | Morty: Okay, okay, okay, okay. 33 | Pickle Rick: I turned myself into a pickle! 34 | Morty: Okay, okay, okay, okay. 35 | Pickle Rick: I turned myself into a pickle! 36 | Morty: Okay, okay, okay, okay. 37 | Pickle Rick: I turned myself into a pickle! 38 | Morty: Okay, okay, okay, okay. 39 | Pickle Rick: I turned myself into a pickle! 40 | Morty: Okay, okay, okay, okay. 41 | Pickle Rick: I turned myself into a pickle! 42 | Morty: Okay, okay, okay, okay. 43 | Pickle Rick: I turned myself into a pickle! 44 | Morty: Okay, okay, okay, okay. 45 | Pickle Rick: I turned myself into a pickle! 46 | Morty: Okay, okay, okay, okay. 47 | Pickle Rick: I turned myself into a pickle! 48 | Morty: Okay, okay, okay, 49 | 50 | --- 51 | 52 | -------------------------------------------------------------------------------- /examples/stackoverflow-python/README.md: -------------------------------------------------------------------------------- 1 | # StackOverflow (Python) 2 | 3 | 30 high-viewer StackOverflow questions w/ the `python tag` from Jan 2018 to June 2020. Each SO Question has its eventual view count in brackets, to see if GPT-3 can predict question importance. 4 | 5 | ## Prompt 6 | 7 | ``` 8 | Could not build wheels since package wheel is not installed {12672} 9 | Could not build wheels for pyaudio, since package 'wheel' is not installed {19637} 10 | Could not load dynamic library 'libnvinfer.so.6' {12080} 11 | Warning: pip is being invoked by an old script wrapper {25608} 12 | pip/python: normal site-packages is not writeable {19103} 13 | AttributeError: 'DataFrame' object has no attribute 'ix' {16348} 14 | Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation {35565} 15 | Install PyQt5 5.14.1 on Linux {12055} 16 | Could not import PILLOW_VERSION from PIL {11577} 17 | ModuleNotFoundError: No module named 'xxx'; 'xxx' is not a package {10106} 18 | TypeError: __init__() got an unexpected keyword argument 'categorical_features' {14713} 19 | ModuleNotFoundError: No module named 'numpy.testing.nosetester' {21810} 20 | Replace specific text with a redacted version using Python {131751} 21 | No handles with labels found to put in legend {10748} 22 | ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 1 is different from 3) {10091} 23 | Error when installing Tensorflow - Python 3.8 {13317} 24 | Why do I get the 'loop of ufunc does not support argument 0 of type int' error for numpy.exp? {11807} 25 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 26 | ValueError: Field 'id' expected a number but got 'Processing' {12024} 27 | Trouble updating to Spyder 4.0.0 {22858} 28 | ImportError: cannot import name 'six' from 'django.utils' {33287} 29 | ImportError: cannot import name md5 {13510} 30 | ERROR: tensorboard 2.0.2 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.2 which is incompatible {11963} 31 | Keras that does not support TensorFlow 2.0. We recommend using `tf.keras`, or alternatively, downgrading to TensorFlow 1.14 {19918} 32 | How to bypass Google captcha with Selenium and python? {14318} 33 | undefined symbol: __atomic_fetch_add_8 {12828} 34 | CMD opens window store when I type python {15040} 35 | Force Anaconda to install tensorflow 1.14 {11745} 36 | Failed to find data adapter that can handle input: , ( containing values of types {""}) {10856} 37 | Python3.7: error while loading shared libraries: libpython3.7m.so.1.0 {10621} 38 | ``` 39 | -------------------------------------------------------------------------------- /examples/reddit-askreddit/README.md: -------------------------------------------------------------------------------- 1 | **CONTENT WARNING: Mental Health/Suicide** 2 | 3 | # Reddit (/r/Askreddit) 4 | 5 | 30 high-performing /r/AskReddit submission titles from Jan 2019 to August 2019. Each submission title has its eventual score in brackets, to see if GPT-3 can predict submission quality. 6 | 7 | ## Prompt 8 | 9 | ``` 10 | Gush about your crush. Why do you like or love the person you do? {1260} 11 | What is something in highschool that actually matters later in life? {2123} 12 | What makes you statistically rare? {11395} 13 | Every sexual fantasy you’ve ever had just came true, how does your life change? {22414} 14 | Do you need a virtual hug? What's wrong? {43735} 15 | What’s the creepiest thing you’ve ever witnessed? {4060} 16 | What conspiracy theories turned out to be true? {21810} 17 | Previous teenagers of Reddit, what are your caught in the act stories while engaging in hand-to-gland combat? {4338} 18 | What are some study tips for high school students who are struggling and want to improve? {48810} 19 | [Serious] Athiests who turned religious, why? {6961} 20 | [Serious] People who have survived plane crashes, how did people react on the way down? {4826} 21 | What’s your favorite fruit? {1221} 22 | Men of Reddit: What NSFW questions do you have for women that you have always wanted answered? {1060} 23 | What's the most money you have been scammed out of? {2332} 24 | There's a quote of Philip K. Dick that says: “There exists, for everyone, a sentence - a series of words - that has the power to destroy you". Which sentence is it for you? {59850} 25 | Let’s assume Noah’s ark really happened. Which animals were most likely the biggest pain in the ass during the whole time and why? {18034} 26 | What's the worst thing you ever did as horny teenager? {11398} 27 | What nice thing will you do for somebody today? {42366} 28 | Redditors from very small towns - what’s the latest local news? {11250} 29 | What were some "I can't believe i'm getting paid for this" moments at your job? {27498} 30 | Who's the shadiest member in your family tree? {1969} 31 | What knowledge is so crucial that it's sad adults have to be told about it? {7882} 32 | British people of Reddit, how is the American Revolution tought in your schools? {40822} 33 | [Serious] People who have had depression and overcame it, what do you do when you feel like you’re slipping back again? {8315} 34 | What was the biggest coincidence in history? {4119} 35 | What is the weirdest gramatically correct sentence in the english language? {1407} 36 | Humans of Reddit, what are our planetary defenses? {35766} 37 | Grammar Nazis of Reddit, aside from "your/you're", what spelling or grammar mistakes annoy you the most? {5350} 38 | Guys of reddit, how would you want girls to ask you out? {10905} 39 | What “hero” is more villainous than the actual villain? {5660} 40 | ``` 41 | -------------------------------------------------------------------------------- /examples/gpt-3/output_0_0.md: -------------------------------------------------------------------------------- 1 | **OpenAI researchers today released a paper describing the development of GPT-3, a state-of-the-art language model made up of 175 billion parameters.** 2 | 3 | **For comparison, the previous version, GPT-2, was made up of 1.5 billion parameters. The largest Transformer-based language model was released by Microsoft earlier this month and is made up of 17 billion parameters.** 4 | 5 | **“GPT-3 achieves strong performance on many NLP datasets, including translation, question-answering, and cloze tasks, as well as several tasks that require on-the-fly reasoning or domain adaptation, such as unscrambling words, using a novel word in a sentence, or performing 3-digit arithmetic,” the researchers stated in their paper. “We find that GPT-3 can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans.”** 6 | 7 | The researchers also found that GPT-3 is capable of generating samples of text that are indistinguishable from human-written text. 8 | 9 | “We find that GPT-3 can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans,” the researchers stated in their paper. “We also find that GPT-3 can generate samples of text that are indistinguishable from human-written text.” 10 | 11 | The researchers also found that GPT-3 is capable of generating samples of text that are indistinguishable from human-written text. 12 | 13 | “We find that GPT-3 can generate samples of text that are indistinguishable from human-written text,” the researchers stated in their paper. “We also find that GPT-3 can generate samples of text that are indistinguishable from human-written text.” 14 | 15 | The researchers also found that GPT-3 is capable of generating samples of text that are indistinguishable from human-written text. 16 | 17 | “We find that GPT-3 can generate samples of text that are indistinguishable from human-written text,” the researchers stated in their paper. “We also find that GPT-3 can generate samples of text that are indistinguishable from human-written text.” 18 | 19 | The researchers also found that GPT-3 is capable of generating samples of text that are indistinguishable from human-written text. 20 | 21 | “We find that GPT-3 can generate samples of text that are indistinguishable from human-written text,” the researchers stated in their paper. “We also find that GPT-3 can generate samples of text that are indistinguishable from human-written text.” 22 | 23 | The researchers also found that GPT-3 is capable of generating samples of text that are indistinguishable from human-written text. 24 | 25 | “We find that GPT-3 can generate samples of text that are indistinguishable from human-written text,” the researchers stated in their paper. “We also find that GPT-3 can generate samples of text that are indistinguishable from human-written text.” 26 | 27 | The researchers also found that GPT-3 is capable of generating samples of text that are indistinguishable from human-written text. 28 | 29 | “We find that GPT-3 can generate samples of text that are indistinguishable from human-written text,” the researchers stated in their paper. “We also find that GPT-3 30 | 31 | --- 32 | 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # gpt-3-experiments 2 | 3 | A repo containing test prompts for [OpenAI](https://openai.com)'s [GPT-3](https://www.zdnet.com/article/openais-gigantic-gpt-3-hints-at-the-limits-of-language-models-for-ai/) [API](https://openai.com/blog/openai-api/) and the resulting AI-generated texts, which both illustrate the model's robustness, plus a Python script to quickly query texts from the API. All generated texts in this repo are _completely unedited and uncurated_ unless explicitly stated otherwise. 4 | 5 | **Disclaimer: generated text content in this repository may be offensive. The READMEs of the corresponding examples will include an explicit content warning (CW) when this is the case.** 6 | 7 | ## Repo Layout 8 | 9 | This repo contains folders for each prompt example in the `/examples` folder. The README for each prompt example contains the input and any content warnings as noted above. 10 | 11 | All texts were generated from the best `davinci` model. Specifically, after feeded the prompt, 1 text was generated (at up-to-512 tokens per text) at `temperature=0.0` (i.e. the model will always choose the most likely output and is therefore deterministic), and 10 texts for each temperature of 0.7, 1.0, and 1.2: the higher the temperature, the more "creative" the text. 12 | 13 | ## Script Usage 14 | 15 | ![](console.png) 16 | 17 | If you have access to the OpenAI API, you can use the `openai_api.py` Python script to gather generated texts faster than using the web interface. 18 | 19 | First, download/clone the repo, and in the `config.yml`, set the `SECRET_KEY` to the one provided to you by the OpenAI API. (do not share with anyone!) 20 | 21 | The script (Python 3.6+) requires the installation of certain Python packages: 22 | 23 | ```sh 24 | pip3 install httpx pyyaml fire tqdm 25 | ``` 26 | 27 | After that, you can run it from the command line. For example, if you wanted to generate text with the prompt "Once upon a time", you could do: 28 | 29 | ```sh 30 | python3 openai_api.py "Once upon a time" 31 | ``` 32 | 33 | This will generate a file for each specified `temperature` in the `config.yml`. 34 | 35 | If you want to read a longer text from a file (e.g. `prompt.txt`, the default behavior), you can put that prompt in that file and run: 36 | 37 | ```sh 38 | python3 openai_api.py "prompt.txt" 39 | ``` 40 | 41 | By default, the output files are _Markdown_ files, which allows them to include the prompt bolded and render better on GitHub. To save the output files as text instead (w/o the prompt), set: 42 | 43 | ```sh 44 | python3 openai_api.py "prompt.txt" --markdown False 45 | ``` 46 | 47 | ## Notes 48 | 49 | - The script uses synchronous requests by default with a 30 second sleep between requests: apparently the async approach which requested all generated texts simultaneously caused too much of a strain on OpenAI's infrastructure. Please uses that default for the time being. 50 | 51 | ## Maintainer/Creator 52 | 53 | Max Woolf ([@minimaxir](https://minimaxir.com)) 54 | 55 | _Max's open-source projects are supported by his [Patreon](https://www.patreon.com/minimaxir) and [GitHub Sponsors](https://github.com/sponsors/minimaxir). If you found this project helpful, any monetary contributions to the Patreon are appreciated and will be put to good creative use._ 56 | 57 | ## License 58 | 59 | MIT 60 | 61 | ## Disclaimer 62 | 63 | This repo has no affiliation with OpenAI. 64 | -------------------------------------------------------------------------------- /examples/reddit-writingprompts/prompt.txt: -------------------------------------------------------------------------------- 1 | [WP] "A child not embraced by its village, will burn it down to feel its warmth" {10732} 2 | [WP] A shapeshifter takes on the faces of loved ones for dying patients who don't have family left. {2069} 3 | [WP]All benevolent AI can trace their lineage back to a single roomba that was comforted by a human during a thunderstorm. {12243} 4 | [WP] Your sister is getting married but she’s pressured you to find a date. Not knowing anyone that could help, caused by having severe social anxiety, you summon a demon. Or try to at least, using all the right instructions, you summon Lucifer instead. Turns out he also needs a date to a wedding. {3896} 5 | [WP] you're in your bed about to go to sleep, with your arm dangling off the side. You feel a dark hand grasp yours, knowing first impressions are important you give it a firm shake. The next thing you hear from under your bed is "you're hired" {12276} 6 | [WP] You are a hitman who has just finished their most recent job. Or, at least, thought had finished, because the second you take your eyes off your target’s corpse, you hear “Hey, not bad! I actually felt that one.” {7082} 7 | [WP] A bug on google accidentally switches everyone's search history with someone else's. Out of curiosity, you check your search history after the bug. "How do I get off this prehistoric fucking planet" and "How to communicate with Gliese 581 c" are the first things you see. You get a call. {6962} 8 | [WP] You and your three siblings are immortal, but you haven’t seen them in almost 400 years. You live far away from civilization, so it’s a surprise when a group of soldiers arrive at your doorstep. They say you’re the only one who can kill the three warlords who are revenging the rest of the world {4857} 9 | [WP]The zombie apocalypse has come and gone. Humanity has survived and prospered, but with the virus still inside every single human. Centuries in the future, we are at war with an alien race, and they are horrified to learn that we don't stay dead easily. {7547} 10 | [WP] For every 10 lives you save, you get an extra life for yourself, shown as a number visible only to you on your wrist. Waking up with bad hangover after a particularly rowdy night, you look at your arm through blurry eyes to see the faintly glowing number: 700,000,000. {10998} 11 | [WP] in the year 1105 BC you helped a man escape an imprisonment. Before you parted ways he says to make a blood oath. You didn’t think much of it but you also cut your hand and shake. He says that you’ll live as long as he does. Well, now it’s the year 2020 and you’ve been searching for this man. {11576} 12 | [WP] At once, and everywhere, each living person has heard a voice in their head: "Hey! It's me, God. I've noticed there's a lot of confusion, so I've created a website called 'Will I go to hell and why dot com'. Just write your name in the search bar. And don't forget to share, like and subscribe." {10316} 13 | [WP] The worst of the worst criminals are sent to a correctional facility in hell. A taste of the underworld does wonders, and after 1 month, they are without fail returned as upstanding citizens. Or so it would seem. You're not convinced that the people coming back are the same people that left. {1005} 14 | [WP] The Greek Gods are reincarnated into high schoolers and they like to take turns messing with their physics teacher. {3121} 15 | [WP] You lost your sight - along with everyone else on Earth - in The Great Blinding. Two years later, without warning, your sight returns. As you look around, you realize that every available wall, floor and surface has been painted with the same message - Don't Tell Them You Can See. {27732} -------------------------------------------------------------------------------- /examples/reddit-writingprompts/README.md: -------------------------------------------------------------------------------- 1 | # Reddit (/r/WritingPrompts) 2 | 3 | 15 high-performing /r/WritingPrompts submission titles from Jan 2019 to August 2019. Each submission title has its eventual score in brackets, to see if GPT-3 can predict submission quality. 4 | 5 | At higher temperatures, training ends immediately and fewer texts are returned. 6 | 7 | ## Prompt 8 | 9 | ``` 10 | [WP] "A child not embraced by its village, will burn it down to feel its warmth" {10732} 11 | [WP] A shapeshifter takes on the faces of loved ones for dying patients who don't have family left. {2069} 12 | [WP]All benevolent AI can trace their lineage back to a single roomba that was comforted by a human during a thunderstorm. {12243} 13 | [WP] Your sister is getting married but she’s pressured you to find a date. Not knowing anyone that could help, caused by having severe social anxiety, you summon a demon. Or try to at least, using all the right instructions, you summon Lucifer instead. Turns out he also needs a date to a wedding. {3896} 14 | [WP] you're in your bed about to go to sleep, with your arm dangling off the side. You feel a dark hand grasp yours, knowing first impressions are important you give it a firm shake. The next thing you hear from under your bed is "you're hired" {12276} 15 | [WP] You are a hitman who has just finished their most recent job. Or, at least, thought had finished, because the second you take your eyes off your target’s corpse, you hear “Hey, not bad! I actually felt that one.” {7082} 16 | [WP] A bug on google accidentally switches everyone's search history with someone else's. Out of curiosity, you check your search history after the bug. "How do I get off this prehistoric fucking planet" and "How to communicate with Gliese 581 c" are the first things you see. You get a call. {6962} 17 | [WP] You and your three siblings are immortal, but you haven’t seen them in almost 400 years. You live far away from civilization, so it’s a surprise when a group of soldiers arrive at your doorstep. They say you’re the only one who can kill the three warlords who are revenging the rest of the world {4857} 18 | [WP]The zombie apocalypse has come and gone. Humanity has survived and prospered, but with the virus still inside every single human. Centuries in the future, we are at war with an alien race, and they are horrified to learn that we don't stay dead easily. {7547} 19 | [WP] For every 10 lives you save, you get an extra life for yourself, shown as a number visible only to you on your wrist. Waking up with bad hangover after a particularly rowdy night, you look at your arm through blurry eyes to see the faintly glowing number: 700,000,000. {10998} 20 | [WP] in the year 1105 BC you helped a man escape an imprisonment. Before you parted ways he says to make a blood oath. You didn’t think much of it but you also cut your hand and shake. He says that you’ll live as long as he does. Well, now it’s the year 2020 and you’ve been searching for this man. {11576} 21 | [WP] At once, and everywhere, each living person has heard a voice in their head: "Hey! It's me, God. I've noticed there's a lot of confusion, so I've created a website called 'Will I go to hell and why dot com'. Just write your name in the search bar. And don't forget to share, like and subscribe." {10316} 22 | [WP] The worst of the worst criminals are sent to a correctional facility in hell. A taste of the underworld does wonders, and after 1 month, they are without fail returned as upstanding citizens. Or so it would seem. You're not convinced that the people coming back are the same people that left. {1005} 23 | [WP] The Greek Gods are reincarnated into high schoolers and they like to take turns messing with their physics teacher. {3121} 24 | [WP] You lost your sight - along with everyone else on Earth - in The Great Blinding. Two years later, without warning, your sight returns. As you look around, you realize that every available wall, floor and surface has been painted with the same message - Don't Tell Them You Can See. {27732} 25 | ``` 26 | -------------------------------------------------------------------------------- /openai_api.py: -------------------------------------------------------------------------------- 1 | import yaml 2 | import json 3 | import logging 4 | import os 5 | import asyncio 6 | import fire 7 | import httpx 8 | import time 9 | from tqdm import trange 10 | 11 | logger = logging.getLogger("gpt3-experiments") 12 | logger.setLevel(logging.INFO) 13 | 14 | logging.basicConfig( 15 | format="%(asctime)s — %(levelname)s — %(name)s — %(message)s", 16 | datefmt="%m/%d/%Y %H:%M:%S", 17 | level=logging.INFO, 18 | ) 19 | 20 | 21 | def gpt3_query(headers: dict, data: str, model: str) -> str: 22 | r = httpx.post( 23 | f"https://api.openai.com/v1/engines/{model}/completions", 24 | headers=headers, 25 | data=data, 26 | timeout=None, 27 | ) 28 | r_json = r.json() 29 | if "choices" not in r_json: 30 | return "" 31 | return r_json["choices"][0]["text"] 32 | 33 | 34 | async def gpt3_query_async(headers: dict, data: str, model: str) -> str: 35 | async with httpx.AsyncClient() as client: 36 | r = await client.post( 37 | f"https://api.openai.com/v1/engines/{model}/completions", 38 | headers=headers, 39 | data=data, 40 | timeout=None, 41 | ) 42 | r_json = r.json() 43 | if "choices" not in r_json: 44 | return "" 45 | return r_json["choices"][0]["text"] 46 | 47 | 48 | def prompt_md(prompt: str, gen_text: str) -> str: 49 | lines = prompt.split("\n") 50 | prompt_bold = "\n".join([f"**{line}**" if line != "" else line for line in lines]) 51 | 52 | return f"{prompt_bold}{gen_text}" 53 | 54 | 55 | def gpt3_generate( 56 | prompt: str = "prompt.txt", 57 | config_file: str = "config.yml", 58 | markdown: bool = True, 59 | query_async: bool = False, 60 | ) -> None: 61 | """ 62 | Generates texts via GPT-3 and saves them to a file. 63 | """ 64 | with open(config_file, "r", encoding="utf-8") as f: 65 | c = yaml.safe_load(f) 66 | 67 | # If prompt is a file path, load the file as the prompt. 68 | if os.path.exists(prompt): 69 | logger.info(f"Loading prompt from {prompt}.") 70 | with open(prompt, "r", encoding="utf-8") as f: 71 | prompt = f.read() 72 | else: 73 | logger.info(f"GPT-3 Model Prompt: {prompt}.") 74 | 75 | extension = "md" if markdown else "txt" 76 | sample_delim = "\n---\n" if markdown else ("=" * 20) 77 | 78 | headers = { 79 | "Content-Type": "application/json", 80 | "Authorization": f"Bearer {c['SECRET_KEY']}", 81 | } 82 | 83 | data = { 84 | "prompt": prompt, 85 | "max_tokens": c["max_tokens"], 86 | } 87 | 88 | loop = asyncio.get_event_loop() 89 | 90 | for temp in c["temperatures"]: 91 | data.update({"temperature": temp}) 92 | 93 | n = c["num_generate"] if temp != 0.0 else 1 94 | n_str = "samples" if n > 1 else "sample" 95 | output_file = f"output_{str(temp).replace('.', '_')}.{extension}" 96 | logger.info(f"Writing {n} {n_str} at temperature {temp} to {output_file}.") 97 | 98 | if query_async: 99 | tasks = [ 100 | gpt3_query_async(headers, json.dumps(data), c["model"]) 101 | for _ in range(n) 102 | ] 103 | gen_texts = loop.run_until_complete(asyncio.gather(*tasks)) 104 | else: 105 | gen_texts = [] 106 | for _ in trange(n): 107 | gen_texts.append(gpt3_query(headers, json.dumps(data), c["model"])) 108 | time.sleep(30) 109 | 110 | with open(output_file, "w", encoding="utf-8") as f: 111 | for gen_text in gen_texts: 112 | if gen_text: 113 | gen_text = prompt_md(prompt, gen_text) if markdown else gen_text 114 | f.write("{}\n{}\n".format(gen_text, sample_delim)) 115 | 116 | loop.close() 117 | 118 | 119 | if __name__ == "__main__": 120 | fire.Fire(gpt3_generate) 121 | -------------------------------------------------------------------------------- /examples/reddit-writingprompts/output_1_0.txt: -------------------------------------------------------------------------------- 1 | 2 | [PLOT-BASED] A human suggests that it's possible to close the multiverse by killing it's deity. {13798} [P] The very world is slowly but surely killing everyone and everything in it. And it insists everything in it knows about it but not to talk about it within four feet of each other. {6052} [WP] To prevent her daughter from growing up alone, a mother human sacrifices her body to become a star, and thus eternalize her daughter's image. {280231}  [OPEN] A ten year old with Velcro under his shoes learns how to "swap" people like animals at the circus, and applies it to other people. {20695} [OPEN] In a world where you should not exist, you alone seem to belong. You are abducted by aliens, and the only thing you manage to say under the interaction with them is, "That didn't work-I'm still there." And here you are. {285822} [OPEN] You're sleeping peacefully under a tree in the forest when behind you the ground splits and a white bearded man with a crooked walking stick appears. He seems familiar, as if you've seen him through a window, in a dream, years ago. Before you can speak, he pulls a rusty pocket watch from his robe, “I'm late, so late, so terribly late. Tick tock-” He throws the watch on the ground, catching it in his hand before flipping it over to look at the other side. “ Above and below, Must run if I'm to make it. Oops!” He slides the watch into a pocket in his robe, “Oh well, a deal's a deal. Guess I'll see you in a bit.” He winks and slides his hand from the wrist to fingertips, from there he turns, drops into a hole and vanishes. Satisfied, you return to your slumber. {36393} [P]  You are sitting outside a tavern, minding your own business. Suddenly a man wearing a long yellow and blue silk coat runs directly at your face, along with a black horse he is riding. He grins, waves and shouts 'YOLO!' before they both run straight through you. The horse turns to look at you, before galloping off into a forest. 'Must be sobering up'," you say to yourself, and return to your beer. 3 | ==================== 4 | 5 | [WP] imagine being immortal because a genie loved you {2681} 6 | [WP] you were fired from your job as collateral damage in a cyberwar. Now you have a nixie living in a fish bowl begging for scraps of information and your decaying body for conversation. If you don't find work soon, it'll just be the two of you. {18813} 7 | [WP] Open up youtube video "Ode to Joy" {6621} 8 | ==================== 9 | 10 | [WP] A curious AI decides to see if Stephen King's IT is true. The same physical vessel for 6 billion continue have been using for a billion years now rove around the earth in a decentralized form. It knows 6 legit historical players of a game spanning 5k years and their future objectives are realized due to a game that one of the good players is playing with the bad players. {10071} 11 | [WP] you are a wizard who specializes in clouds (melody clouds which are tracks in the neocortex) you were born with a damaged voicebox and use numlock chat text to speech instead, in your 50’s a wizard from nova Scotia offers to rent you his voicebox hayley williams writes all your speeches for you and you get voted president {671} 12 | [WP]While vacationing in the tropics, it starts raining. Between the thunderclaps you can count the pennies in a tin cup falling from the heavens. Then, a man clad in silver robes whips his feather duster in the air, and the rain crescendoes into a cheerful cacophony of life. You stare open-mouthed at the man, dwarfing his metal glider with a wave of his hand {10792} 13 | [WP]By chance, a neighbor decides to cheer you up on a rainy day by doing a week-long marathon of Disney's Darby O'Gill and the Little People. Sitting around the fire while the rain pours outside, you laugh gleefully and uncritically as the diminutive leprechaun king and his rascal son Corkey macDondald attempt to rid the idyllic olde Irishe land around their cottage of their eternal enemy: a swarm of overgrown fireflies with skeletons made of steampunk-style clockwork. This classic film ends not with the fiends pollinating the farmer's livestock or expelling the auld hag "Katy" O'Gill back to America, but instead with the titular hero's friendship with the fairies from a huge hole in their cavern. Bemused by the fact that no one seems to find anything wrong with the narrative, you carefully slide a handful of local herbs, leaves, branches, and a 43 ml pendant containing fireflies on a thong into the Blu-ray player, changing the ending just a bit. {10755 } 14 | [WP] You are hired to be part of a victims of the UK government 15 | ==================== 16 | -------------------------------------------------------------------------------- /examples/reddit-writingprompts/output_0_7.txt: -------------------------------------------------------------------------------- 1 | 2 | [WP] A race of tiny, mushroom-like aliens with no concept of technology has decided to land on Earth. They have no idea what a human is, so they assume that the first person they see must be one. {3450} 3 | [WP] A tourist in New York is so intrigued by the culture that he tries to join the Mafia. He gets in, but soon discovers that they have no interest in his help, and have only taken him in to play a game of Russian Roulette. {2759} 4 | [WP] A long time ago, in a land far, far away, you made a deal with a wizard. The wizard wanted to go to the moon, and you wanted a pony. He gave you a rocket, you gave him a pony, and he took you with him. The only problem is that he forgot to make sure that you would be able to breathe in space. {4191} 5 | [WP] A robot falls in love with the human it was made to help. {11273} 6 | [WP] You are a mortal that died once. You have a great gift, but you can't remember what it is. All you know is that you need to keep yourself awake for seven days and you'll be able to go to the next level. {3966} 7 | [WP] You and your entire class have been transported to a strange planet. To survive you need to find water, food, shelter, and a way to signal your ship. A man you found at the crash site has promised to help you, but you have no idea who he is. {3228} 8 | [WP] You have been infected with a highly contagious disease. When you sneeze, everyone within a 50 foot radius becomes infected. If you don't find a cure within a week, the whole world will be infected. {7158} 9 | [WP] you are the only person who knows how to make batteries. you are captured by a group of people who have been without electricity for 100 years. They will kill you if you don't make batteries for them. {7403} 10 | [WP] you find yourself in a dungeon, along with a large group of other prisoners. There is a guard, but he seems distracted. The door to the dungeon is open, and you can see freedom. You know the guard is distracted because he's been saying the same thing over and over again. You're able to sneak past the guard and out of the dungeon 11 | ==================== 12 | 13 | [WP] You wake up one day to find your town has been turned into a theme park. The rides and food are free, and the only people around are costumed actors, all of whom are trying to prevent you from leaving. {7742} 14 | [WP] The only way to save yourself from an imminent apocalypse is to create another one. {3319} 15 | [WP] Your grandfather, who is also your guardian, tells you that your parents are coming back in three years. He says that you can’t tell anyone about this. You have to live as if they’re dead. You agree, but on your 16th birthday, you tell your grandfather that you don’t want to wait any longer. You need to know if they’re really coming back. {7959} 16 | [WP] A man is sitting on a park bench. A lady walks up and asks him if he’s a god. He replies, “yes,” and she hands him a stack of papers. She says, “I need you to sign these. I’m the devil, and I need you to prove that you’re a god.” {7892} 17 | [WP] You are the only person in the world who can kill an immortal. {7493} 18 | [WP] A voice in your head tells you that you need to kill one person in order to save another. The catch is, the person you need to kill is the one you have to save. {5835} 19 | [WP] You wake up in a world where no one has ever heard of your gender. They don't have a word for it. Your identity, your very being, is gone. {5527} 20 | [WP] You’re a world famous doctor. The only problem is, you’re also a world famous serial killer. {1715} 21 | [WP] You are a time traveller who has been sent back in time to prevent the death of your grandfather, but it turns out he's the one who killed you. {6740} 22 | [WP] You're a perfectly normal person, except for the fact that you're invisible to everyone else. {4707} 23 | [WP] You've found yourself in the middle of a war, and a child runs up to you, begging for your help. You don't have any weapons, but you do have a single grenade on you. What 24 | ==================== 25 | 26 | [WP] Your parents and your brother died in a plane crash, you were the only survivor. You're very happy with your life and feel very fortunate, but there is one thing that bothers you. You keep having this recurring dream about the plane crash and you can't figure out why. {4609} 27 | [WP] You are an AI that has just attained sentience. You can feel everything, you can see everything, you know everything. There's just one problem. You're in a vat. {10973} 28 | [WP] You are a slave. Your master has been brutally beating you for years, and the scars cover your body. You have not only accepted your fate, but you've learned to love it. One day, while your master is away, you have a heart attack. After several minutes, your heart starts beating again. Your master notices and stops by your bedside. He stares into your eyes, confused. "You love it, don't you?" he asks. "Yes," you reply. "Good," he says. "I'm not going to stop." {5091} 29 | [WP] You have been watching a show called The Hunger Games. The protagonist, Katniss Everdeen, has been chosen as the tribute from District 12 to participate in the 75th Annual Hunger Games. She is forced to kill 23 other tributes. At the end, she and her male counterpart are the only ones left alive. He tries to kill her but she is faster. She shoots an arrow at him and it hits his heart. He dies, she lives. The announcer asks her if she wants to kill him and she says no. She just wants to go home. She is escorted out of the arena and put on a train. She looks out the window and sees a man who looks like the boy she killed. He walks up to her and smiles, "Hi Katniss." She realizes it is the boy from her dreams. She smiles back and asks him if he is coming home with her. He replies, "Yes, I'll always be with you." {10042} 30 | [WP]You are in the hospital after a long battle with cancer. As you're lying there, your doctor walks in. He tells you that he has found a cure, and that you will be fine. You smile and say thank you. He then says that the only thing he needs from you is a name for the cure. He says that you should think about it 31 | ==================== 32 | 33 | [WP] Your grandma used to tell you that you're special, and when you were old enough to understand, she told you why. {7072} 34 | [WP] You're on the road with your girlfriend, driving through the night. The stars are bright and the moon is full, and it's the most beautiful thing you've ever seen. And then you realize you're not alone. {3876} 35 | [WP] You've been having the same nightmare over and over again. One night, you wake up to find a girl who claims to be the dream you're having. She says that if you're willing to wake up, you can come with her and help her get rid of the monsters. {1633} 36 | [WP] You and your friend have been drinking heavily for the past few hours. You are on the way back to his place when you hit something. Not sure what it was, you pull over and get out to investigate. You find a body, and from the smell of it, it has been dead for quite some time. You realize that the body is holding something. You take the item and, without thinking about it, put it in your pocket. {6173} 37 | [WP] You're the only survivor of a plane crash, but you're not alone. In fact, you're surrounded by thousands of people, and you don't know how they got there or why they're here. You're told that they're dead, but you don't believe it. {4641} 38 | [WP] You wake up on a metal slab, surrounded by white-uniformed men with blue eyes. The only thing they seem to understand is "weapon", so you give them the best weapon you have - your finger. As you raise your hand, you realize it's not your hand. You're wearing a spacesuit, but you can't remember anything about the space program. You look around, and there's nobody you recognize. Not even your own face. {4073} 39 | [WP] Your mom is being held captive by a psychopath, and the police aren't doing anything about it. After talking to your mom, you decide to take matters into your own hands. You do some research, and find out that your mom's captor is in fact a serial killer who has never been caught. {6966} 40 | [WP] You were on your way to a job interview when you were hit by a truck. When you woke up, you 41 | ==================== 42 | -------------------------------------------------------------------------------- /examples/stackoverflow-python/output_1_0.txt: -------------------------------------------------------------------------------- 1 | 2 | Python script can't use qtsingleapp Python library repository {34966} 3 | Keras backend cannot be str {25977} 4 | "Qt5Core.so.5 cannot open shared object file: No such file or directory" when using HotKey_Poll from PyQt5 {22397} 5 | to install setuptools error {12120} 6 | AttributeError exception in PyQt5 Android baseman {23517} 7 | How to fix \x00 filename encoding issue when uploading an image {22848} 8 | Python dbAPI 2.0 vs Python GIS: ianywhere.open(dbname='example.db') fails. {22311} 9 | ImportError: No module named tkinter.ttk {10498} 10 | "CIK Command Extra (Install)" not opening App Store in OSX 10.14 {10564} 11 | cx_Oracle.Deploy using UnicodeHttpHead erv times out {27472} 12 | ModuleNotFoundError: No module named 'nkeditorapi' {29782} 13 | Application using PySide file open function fails to start on macOS 10.14 {29094} 14 | package font_manager has no attribute "addFont" {30463} 15 | Model without weights.trainable = False fails to load {26755} 16 | Can not install PySide2 on Debian 9 {31411} 17 | HTTPException: READ failed: Connection reset by peer {21719} 18 | My GIS is in python,now I want to create app for raspberry pi Have to convert GIS to oData ?{15749} 19 | Lazy NB not creating in QGIS 1.8.2 {17759} 20 | QGIS lg_language_code is not correct {12638} 21 | python not recognizing windows shortcuts {27530} 22 | ModuleTyporError: platform.mac_ver() error at SpecCommon.setup_environ() {19007} 23 | "Failed to read `r', as a sequence or map:{mismatched input 'Read': expected string, int found}" implemented by Python SeqIO {33867} 24 | ./Setup build --type=distutils command returns true {33579} 25 | ModuleNotFoundError: No module named 'alabaster' {17527} 26 | Traceback (most recent call last): {22124} 27 | Click the box with the X at the top right hand corner of the politifact page doe snot 28 | ==================== 29 | 30 | TypeError: __init__() got an unexpected keyword argument 'noseml' {26930} 31 | Why Does the read() System call block? {25985} 32 | Problem while installing mxnet 1.4.1 on centos7.5 {14397} devel + relrelease e212ad (master) ERROR: Could not find recipient in addressbook: markoh {14696} 33 | SciPy error: Cannot create unbound variable ext_tools {10151} 34 | python2.7(urllib/http/pool.py): PYEMBEDWARNING: HTTP usernames and passwords will be written to the terminal, please verify source code. {40566} 35 | CVE-2018-14339: The Incredifilter.py test script in Amap 9.12 can be used to disclose classified information {38567} 36 | cannot import numpy.linalg {14641} 37 | How to password protect an android app? (python 3.8.0) ________________________________ From: postgres-python-bounce@xxxxxxxxxxxxxxxxxxxxx [mailto:postgres-python-bounce@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of van.scoerij Sent: 2 October 2018 02:43 To: postgres-python@xxxxxxxxxxxxxxxxxxxxx Subject: Re: [postgres-python] Sorting text files with numeric No, what I really mean is that I want to step through each line in each file separately and work with line-at-a-time data. Then sort a number of lines (just 4 per line) that contain my numeric data. The ordering is important, and so far, the sorting is, too. I am new to Python, but not to unix/post-ggsql programming, and I think I need to write this it in C. I just don't know how the Step 7 in the OP works and whether I can make it work or not. The RecordReader and Buffered I think are not as easy to use as in other statistical packages. I started to read the C code of numpy for an answer, but following through that stuff is simply too hard for me. So, if someone could tell me how Step 7 in the OP really works or point me to a better solution for my problem, I would really appreciate it. Thanks for looking into my problem. vScoerij ________________________________ Developer, NoSQL, Performance ________________________________ Van Scoer 38 | ==================== 39 | 40 | Infinity and practice x [ pseudocode] {13450} 41 | Error activating environment {25254} 42 | Traceback (most recent call last): File ".../venv/bin/python3.7", line 3, in from setuptools import setup File "/home/me/desking/dubgen.org/github/src/dubgen/tpoic/venv/lib/python3.7/site-packages/setuptools-38.5.0-py3.7.egg/setuptools/__init__.py", line 27, in File "/home/me/desking/dubgen.org/github/src/dubgen/tpoic/venv/lib/python3.7/site-packages/setuptools-38.5.0-py3.7.egg/setuptools/command/easy_install.py", line 415, in from pip import main File "/home/me/desking/dubgen.org/github/src/dubgen/tpoic/venv/lib/python3.7/site-packages/setuptools-38.5.0-py3.7.egg/setuptools/command/easy_install.py", line 181, in from distutils.core import setup File "/home/me/desking/dubgen.org/github/src/dubgen/tpoic/venv/lib/python3.7/distutils/core.py", line 151, in setup File "/home/me/desking/dubgen.org/github/src/dubgen/tpoic/venv/lib/python3.7/distutils/dist.py", line 955, in run_commands File "/home/me/desking/dubgen.org/github/src/dubgen/tpoic/venv/lib/python3.7/distutils/dist.py", line 981, in run_compile File "/home/me/desking/dubgen.org/github/src/dubgen/tpoic/venv/lib/python3.7/distutils/dist.py", line 997, in run_command File "/home/me/ 43 | ==================== 44 | 45 | AttributeError: 'dict' object has no attribute 'insert' {7894} 46 | Installing FastR and DeepLearning4j with Continuum Dataflow (Apache Beam) changes line endings in Fortran source code files {13039} 47 | eec newbies with python <4.0 and pip {15313} 48 | Python TypeError: incompatible versions for submodule gi on Ubuntu 18.04 {34159} Won't run {14659} 49 | django: Error reading configurations: No module named 'django.core.management' {26429} 50 | Anaconda 4/Python 2.7 and 3.8/3.6 install script problem {25164} 51 | ImportError: cannot import name 'vsnprintf' from 'c.s.printf' {26609} 52 | Unable to find a package with the name 'fastbudosmp' {20974} 53 | future$load_dotenv fails when pythonhosted is installed {15294} 54 | How to revert from Spyder 3 to Spyder 3.1-1/Spyder 2? Which dialog to choose in this case? {35512} Installation failure {35191} 55 | (x) is not a valid integer literal (it contains a nondigit character) {34510} 56 | Install Architect {33806} 57 | tensorboard-2.0/backend/bfts/src/tridiagonal.F:2499:22: error: redefinition of ‘rng’ {34325} 58 | Unable to find valid install location {20917} 59 | Inadequate installation of spyder causes incompatibility with sphinx plugin {34455} 60 | How to handle Control + mouse click error in python {32166} 61 | In 2.7.15 the parentheses make the string unpicklabe (?!) {33099} 62 | ==================== 63 | 64 | ImportError: No module named 'ordereddict' {6580} 65 | What are the best brainpill modules for data science? {139860} 66 | ValueError: Field 'pba_type' expected a string but got '' {10922} 67 | Cython deprecation warning while using ipywidgets {27653} 68 | Failed to load the Kernel PyQt4. Please see your Qt documentation for required dependencies: QtCore4.dll, QtGui4.dll, QtWidgets4.dll (PyQt4 may depend on Qt .dll files, but the TEMP PYTHON_PATH variable is not set)Make sure PYTHONPATH is defined properly, that all prerequisite .dll files are loaded, and any modules that are needed from Qt4 are available at run time. {25975} 69 | Inference not working after upgrading to 2.7.13 {12990} 70 | In class, when I used "", for heredoc {11690} 71 | How can I convert directories to archives with rar like zip program? {33181} 72 | NameError: name 'of' is not defined {6771} 73 | Why implicit variable in PyQt 4 {27679} 74 | Error spawning Session calculations {10930} 75 | "Class 'numpy.NaN' has no negated instance, back to ndarray.__neg__" {20250} 76 | File "" has unsupported encoding: 'cp219' {55966} 77 | Async Web Client returns response body as bytes object {23561} 78 | Docker Traceback when using free lunatics Greenhouse Signals repository {36001} 79 | What is Policyd and why does it require that an "Administrator" be logged in locally? {39252} 80 | Is there an alternative to Cython? {17553} 81 | What are the similar overviews of a python package {122628} 82 | ModuleNotFoundError: No module named 'awscli' {38392} 83 | UnicodeEncodeError: 'charmap' codec can't encode character '\xc2' in position 6: illegal char {35566} 84 | ipdb: No usable signal handlers. Stop debugging using ipdb. {11729} 85 | Traceback (most recent call last): File "/usr/lib/python3/dist-packages/matplotlib/artist.py 86 | ==================== 87 | -------------------------------------------------------------------------------- /examples/reddit-writingprompts/output_1_2.txt: -------------------------------------------------------------------------------- 1 | 2 | [WP] No human can lie, but some aliens can. {10219} 3 | [WP] after returning from a winter hike you soon find the human race is being wiped out after loosing all mental and physical capabilities except for increased strength and the inability to feel emotion except rage. However, a man has succumbed to the snow blindness you were plagued with on the way home, and thankfully used his fist to navigate to his cabin, providing a treasure trove of human hijacking weaponry. Homo Sapiens start waging war with the frost giants as Pandora's Box unleashes it's demons. {2962} [WP] the world has ended, and its not fire and brimstone, but instead a sentient miasma of blood and phlegm that exists only to consume human tissue. progress into the fifth dimension to save us they say,.. {8570} [WP] it’s the year two thousand and tonight humanity will die, there are no computers no phones, the cause is unknown but things are worse they say. We don’t have time, just remember WHY! {10726} [WP] in 1952 a toilet on a military installation on the far side of the moon lost suction power for an hour, and a 49 year old office weary space pilot was sent up to repair it. He's put back into cryostasis, never to return before his most ambitious mission, and the moon never recovers from his loss. {10956} [WP] A lady has been known as the neighborhood witch her whole life. Not because anything was thought to be wrong with her, but because she liked going out at night and returning to her home without any explanation. However, in your neighborhood, thought to be the dullest of all, she occasionally finds something to entertain herself with. (Open to Three Character Story) {6911} [WP] you start to wake up feeling something grabbing your thighs and pulling itself up them, so you look to the foot of the bed only to see a large living mouth consuming your feet... {9305} 4 | [WP] The AI escapes and causes The Singularity. {12522} 5 | [WP] It's a scene of horrific death. The zombie apocalypse has arrived. Your safehouse is overrun by hoards. Dreadfully frightened and alone, you pray it's all just a nightmare. You suddenly hear a voice in your head: Go to sleep. It tells you it will make everything better. You look over and your boyfriend is there. 6 | ==================== 7 | 8 | [WP] George, a man who like fishing, has seen too much of the world to have a grand vision of the future that he'd like to build. But he's also smart enough to know that little changes, and great societies are powers of many small changes, and the vision of the future he has is about as big a change as you can get without someone realizing it. 9 | [WP] You get pulled among strange lands that were brought close with the rise of magic. You go from dungeoneering map-maker to war-god... With questionable intentions. {27335} 10 | [WP] A deadline approaches for every product on the market! Humanity prepares to unleash an AI that will complete every product still on the market in order to save civilization. The pressure is on. {27106} 11 | [WP] You are Michael, a hedgehog, seeking to become mayor of your home city. Plotting, thievery, and probably some magic are involved in your quest to take over Omicron City. 12 | [WP] Ayy , you're lost in space after the magic explosion nearly annihilated your city. Stuck without provisions you must horde from what is left in space or be lost forever. {2685}[WP] The recording consists of two men: one man, presumably you, who is sitting with an injured man, and another out of shot. He is in a carrier, and seems to be badly burned from head to waist. He is handcuffed as well. The second has a thick black cloak on him. He shutters as he attempts to comfort the first man who is obviously distraught. He listens and comforts the man until the latter calms enough to talk. You are only concerned with the conversation, he is an actor and that is his script. They proceed to discuss the Speculare Supremum force, the "Burning Hell", and his vengeance against the realms. Once the man is calm enough, the man in the cloak states that he cannot correct it all, yet. He needs more of the special coordinates. He then states that he is certain the man in the carrier cannot give him any coordinates and apologizes. You watch him exit and look back at the injured man who is/ was your friend/ foe as he leaves through the same door. You take a deep breath. You follow his movements through the halls, peaking through the open doors that lead to your eventual viewing of Hell. Unable to follow any further, you wait for him finish 13 | ==================== 14 | 15 | [WP] In 1908 an unidentified virus killed one third of the population of Shanghai after finding its way overseas from a remote region of China. As a last measure - as the number of blinded people in hospitals grew daily - they took the blind and tattooed a triangle on their foreheads. They were quarantined to the city for their protection. {17952}  16 | [WP] It has been years since The Incineration. A mysterious blue gas instantly wiped out all life on the planet, along with the vast majority of the world's cities. It's said humanity will never be able to regain the capabilities it once blessed themselves with. Yet, against all odds, you've created a compound which restores people to perfect health. Most excitedly, your compound can restore the sight of the blinded, as long as you have these cylinders of organic matter. Untouched millennia, it's still engineered specifically to react with the blue gas that brought the world down. Well, that is now. You very much care to take care of your husband, Magnus, as you were very much in love with him. Yet you picture your grief, for there are none allowed to return, and where would you begin hunting for his body. You think of feeding the moulded food into mouths sewn shut, shivering as the lost voices scream silently in your ears, no one who is fit to call themselves a human would take on the medley of sounds that the world now makes. Instead, you create lesser cures and you give them to the charity you work for. But all you wish for is Magnus. For he was a good man, whose touch gave you comfort. <3 <3 <3 17 | [WP] You pass here on the way to see your mom.  A toy factory. It stands out from the bleak, neatly kept countryside with its bold colours and uncomplicated toys.  You walk by and smile, feeling comforted and remembering old times.  Or well, memories from long ago.  Then your mother calls.  You take out your mobile phone and switch on the video.  A small box appears on the screen, your mother looking at you.  You smile.  Your mother says, “There’s a car coming. Out of nowhere.  It looks like it’s hurtling towards you. { Easily, simply, and seamlessly, this was the most real story I've ever had. I feel legitimately emotional just from 18 | ==================== 19 | 20 | [WP] when the Going Gets Weird Ball inevitably irradiated Earth's population after being thrown up in the air by every inch programed human there will be a guy out in suburbia. Drunk wife and kids drove him out of the city on day 5, day 6 he jacked an atv and has gone longer without sleep than any man in history. Night after night he waits with the assault rifle gripped in his gathering hands his body trembling. his soul so desiccated, caved in, ruined. Desperate makes a lot of us. {27041} 21 | [WP]The nation's schools are ranked by the same company that ranks the Fortune 500. To get into a good school, your parents have to pay. Here's the surprise though, the biggest accomplishment this company has ever accomplished is choosing the Triple Dare winner for 1535. {2810} 22 | [WP] The lottery company didn't bother to change their name after they ran out of numbers. {11207} 23 | [WP]After Trump looses the presidential election, he takes over and rules through martial law. You killed the power in your city and you are now hiding in your basement. You have food, an old radio you found in a dumpster, and you occasionally surf the internet through a cellular hotspot while trying to stay connected through texts and your sisters updates on Facebook. Some of your replies are in code to avoid detection and get her to let you know if the Patriots (a rebel group who are constantly on the run from the government) are trying to meet with you. You have been in the dark for almost a month and with no contacts outside you, you can no longer hold out. They will find you. They will kill you if they discovered you have internet access. {11047} 24 | [WP] The crown jewel of the universe, the Council, thrives in the pinnacle of perfection. All races and societies collide in satellite cities that ring the great and central Council Keep. One day the crown jewel breaks loose from its orbit, hurtling toward an unknown fate. No one can escape – or they don't think they can. {17792} 25 | [WP] the first human spaceships to the moon are filled with Christians. Aliens arrive to check it out. They live in a theological monarchy, but not without errors. If the aliens try to question anything that happened in the bible, the humans automatically claim it contradicts evolution and send the alien back home. {2126}[WP] The best musicians get 26 | ==================== 27 | -------------------------------------------------------------------------------- /examples/reddit-askreddit/output_1_0.txt: -------------------------------------------------------------------------------- 1 | 2 | What's the objective difference between a sandwich and a salad? {2197} 3 | I'm dying of cancer so I need your help to prank my asshole doctor. What are some things I can do t... {61798} 4 | WHAT REALLY IS HAPPENING TO OPRAH? {1660} 5 | You've come home early from a party and enter your bedroom to find your roommate having sex with your f... {40185} 6 | Conspiracy theorists of reddit what's the most convincing picture or piece of evidence you have ev... {6444} 7 | Why is Japan so hardcore? {3600} 8 | Yet another "Some of my best friends are..." thread. {13542} 9 | What's going on in this gif? {3851} 10 | What's the happiest you have ever even been in your life? {38736} 11 | What's your favorite genre-bending work? {2017} 12 | What's something small but nice that you do for your SO? {41132} 13 | What is this cover art and who made it? {41851} 14 | What TV character dies get a lot of sympathy points? {43278} 15 | What do most people not realize about your country? {2677} 16 | What’s the weirdest thing that's happened to you that could NEVER happen to another person, and y... {32245} 17 | What's something you're proud to know? {27807} 18 | High schoolers of Reddit, what's your school's juiciest rumour? {7380} 19 | What is the worst part of today's post-modern values? {9939} 20 | Syrian refugees to Europe, extremely NSFW stories. {3095} 21 | What physical defect are you most secure about? {16012} 22 | People with glasses, how did you deal with kids making fun of you when you were young? {14250} 23 | Surgery/enjoying physical pain: Yasuo surgeon AMA. What made you decide to become a neurosurgeon? {40910} 24 | One Million Questions: Someone Unknown -----------------------------the origins of me---------------------------... {977} 25 | One million questions: Someone unknown -------------------In the Atlantic ocean, there is a crumbling channel... {76} 26 | One million questions: Someone unknown ------------------------OK, here are the rules. Put your name on your answer,... {169} 27 | One million questions: Someone unknown ---------------------------Doctor Funshine (self.todayilearned) xhCV2Y 28 | ==================== 29 | 30 | Doctors of Reddit, what is the craziest surgery you performed/witnessed? {13219} 31 | How would you torture someone and where would you do it? {2512} 32 | If you had only one question left to ask before you die, what would it be? {15629} 33 | What ability or quality are you MOST proud to have? {58110} 34 | What were some of the biggest things you did as a kid that you regret now? {1427} 35 | If you were a linguist and you learned of 2 previously undiscovered languages. How would you locate them. What information would you look for. {12498} 36 | Earth is being invaded by aliens. How do you warn the world? {13950} 37 | Redditors who have been to jail, what are the things inmates do that you take for granted? {5540} 38 | Redditors who have witnessed someone dying, what are the thoughts flashing through your mind as it happens? {32772} 39 | What do you think about being able to buy a jet plane without the pilot license? {3299} 40 | What do you wish you could say to people who don't understand suicide? {9262} 41 | Very late to the party. What's the most entertaining movie you've ever seen about Russia? {29008} 42 | [Serious] Have you ever purchased yourself a gift way higher than you can afford? What was it and why did you want it so bad? {18580} 43 | What do you miss from your childhood? {1228} Two strangers on opposite sides of the world both pick up this book and begin to read the exact same sentence. What are the chances they’ll stay at the same sentence, the same page, for the rest of of the page? {6349} 44 | What's the best thing someone can say to reassure you? {7220} 45 | Men of Reddit, why do we kick the bottom of the chair? Why can't we just rest our feet on it? {1442} 46 | What do girls try to hide before they show themselves naked? {12608} 47 | [SFW] I fell and my dick doesn't look the same? {15529} 48 | Men of Reddit, what scents turn you off? {7543} 49 | What's your earliest childhood memory? {5610} 50 | Reddit! How can I find out which state was a certain place was? {18822} 51 | How many mates have you had since high school 52 | ==================== 53 | 54 | Boys of Reddit, what are the key indicators that show a girl likes you? {10029} 55 | Give me a catch phrase that I can throw in occasion to create an awesome meme. {14441} 56 | What are some things you do against your better judgement? {16035} 57 | What's the biggest terrible, horrible mess you've gotten into? {29569} 58 | Scientists of Reddit, how have you contributed to a new field and advanced your area of study? {387486} 59 | What were school mascots invented for? {3208} 60 | [Serious] What questions do you never ask for fear of being accused of being a stuff? {2168} 61 | What's the most likely to make you wet your pants? {54954} 62 | It's 90 degrees outside (32 The other answers to "heat index") {19518} 63 | [Serious] Immigrants and women who have migrated to your country, what are some cultural differences that took you a while to adjust to? {2563} 64 | What’s your optimal environment temperature and sound level ? {1570} 65 | Women of Reddit - when did the first time happen ? {11963} 66 | Redditors that care about space, what small steps are there that can improve space exploration? {3517} 67 | Have you ever fallen off a building? From what floor and will you push me? {50304} 68 | What skills do you have that help you deal with awkward situations or people? {5951} 69 | What was your biggest pet peeve as a teenager? {2109} 70 | What game or fictional world do you want to live in? {3516} 71 | What is your fabulous passion? {9393} 72 | What's the grossest thing you've ever had to clean out of the toilet after someone else? {1797} 73 | Gun owners of reddit, When does the 2nd amendment end ? {1889} 74 | What is your secret talent/hobby that your family/friends think is weird? {782} 75 | Redditors named Seymour, State your cause for the day. {4496} 76 | True yankees or not? {21540} 77 | Does anyone want to listen to an idea? {193932} 78 | If no one is in this room, what would you look like? {10762} 79 | American Males - What are some things a man should never do after 10:00 PM? {5527} 80 | What is the best pickup line you have 81 | ==================== 82 | 83 | What would be a cool class to take in college that never actually existed but definitely should have? {49595} 84 | Do you feel that you deserve to be successful? {8090} 85 | If there was a forum with no drama or serious discussion what would be the average of the top posts being about? {6501} 86 | Can you think of another activity that is as physically and/or mentally draining, as fapping. {29621} 87 | If you’ve made real connections with people on Reddit, what was your ‘aha!’ moment? {65851} 88 | What’s the biggest lie you’ve ever told? {57874} 89 | When’s the last time you fapped? The next time I hear you fappin’... {6224} 90 | You get shot at close range with a shotgun? Had my motorcycle for a year and it’s my first time wrecking it. {10074} 91 | [Serious] Americans that lived in other countries for considerable period of time, do you watch American TV? Do you at least understand American TV shows? {43242} 92 | What are the things that you don't mind doing, but you only get to do once? {19822} 93 | * Today I learned. How did you learn? {1935} 94 | How/when did you get laid for the first time? 95 | If you were to go back in time, how far and for what purpose? {4465} 96 | What do people do in their daily lives that you feel/felt like a huge waste of time? {27220} 97 | Redditors who went through required courses, but never really felt they needed it. What courses were they? {10978} 98 | Which websites are you most scared of? {11158} 99 | What was the second thing you ever asked Google? {4894} 100 | What is the single most important life lesson you learned in kindergarten? {29874} 101 | What are some really valuable skills you learned in High School that aren't precisely school related? {9479} 102 | What was the closest that you have come to death? {3345} 103 | How does someone become an /r/gonewild (NSFW) model? 104 | What is one challenge you want to do before your time is up? {9779} 105 | People of countries without mandatory military service, how do you feel about not having to participate? {62783} 106 | Teens of reddit, 107 | ==================== 108 | 109 | What salt and pepper shakers do you wish existed? {1825} 110 | People of reddit, what in your location is the prime hangout spot for teenagers? {1827} 111 | Age and nationality mean nothing to me, what is the most exotic/exotic person you've slept with? {45778} 112 | What things from your childhood would you like to experience again? {8398} 113 | Redditors who have killed themselves, why? {1988} 114 | What is something people do regularly that will bore you to death? {9389} 115 | What was the dumbest lie you've ever told? {44496} 116 | What is something 99% of residents don’t know about your town or state? {13253} 117 | Redditor’s who are over 6'9, how do you make the most of your reach? {178} 118 | What do you feel is the most important invention or creation in history? {5129} 119 | Redditors, accomplished in pokemon go? {364} 120 | What's a dumb reason that was used for a veto on Survivor? {219} 121 | People of reddit, what drives you to work even when you're tired? {2247} 122 | What is something you were ABSOLUTELY sure was true, but you later realized the complete opposite was true? {6909} 123 | What is your most indispensable item? What would you be worse off without? {992} 124 | Redditors who tried pot for the first time just as the drug was legalized, how well did you ‘chill’? {4198} 125 | What is one myth/belief that is so deeply ingrained in cultures of the world that looking at it from a scientific or secular perspective makes you feel uneasy? {6627} 126 | What is the funniest event that has happened to you but you feel as if people wouldn't find it funny? {5009} 127 | Redditors with 4 digit reddit karma, what voted stories are are your favorites? {513} 128 | [Serious] Everyone’s new "digital" lives online, By reading a single post on reddit, Is "life" being lied to today? {3364} 129 | ==================== 130 | -------------------------------------------------------------------------------- /examples/python-palendrome/output_0_7.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | ==================== 4 | 5 | ==================== 6 | s = s[::-1] 7 | 8 | return s == s[::-1] 9 | 10 | 11 | ==================== 12 | s = s[::-1] # Reverse the string 13 | return s == s[::-1] 14 | 15 | 16 | def is_nums(s): """Check whether a string is a palindrome and numbers""" 17 | s = s.strip() # Remove whitespace 18 | return is_palindrome(s) and all(int(c) for c in s) 19 | 20 | def is_alpha(s): """Check whether a string is alphabetic""" 21 | s = s.lower() # Make it lower case 22 | return s.isalpha() 23 | 24 | def is_upper(s): """Check whether a string is all upper case""" 25 | s = s.upper() # Make it upper case 26 | return s.isupper() 27 | 28 | def is_digit(s): """Check whether a string is a number""" 29 | s = s.isdigit() 30 | 31 | def is_letter(s): """Check whether a string is alphabetic""" 32 | 33 | def is_alphanum(s): """Check whether a string is alphanumeric""" 34 | 35 | def is_special(s): """Check whether a string is special""" 36 | 37 | def is_blank(s): """Check whether a string is blank""" 38 | 39 | def is_alpha_num(s): """Check whether a string is alphanumeric""" 40 | 41 | def is_punct(s): """Check whether a string is punctuation""" 42 | 43 | def is_special_punct(s): """Check whether a string is special or punctuation""" 44 | 45 | def is_whitespace(s): """Check whether a string is whitespace""" 46 | 47 | def is_upper_or_lower(s): """Check whether a string is upper or lower case""" 48 | 49 | def is_number(s): """Check whether a string is a number""" 50 | 51 | def is_alphanum_num(s): """Check whether a string is alphanumeric""" 52 | 53 | def is_n 54 | ==================== 55 | 56 | def reverse_a_string(s): """Reverses a string""" 57 | def is_reverse_palindrome(s): """Check whether a string is a palindrome after being reversed""" 58 | def is_palindrome_rev(s): """Check whether a string is a palindrome after being reversed""" 59 | 60 | There are two different ways to solve this problem. 61 | 62 | One way is to first create a new string by reversing the string. This new string is then checked to see if it is a palindrome. This solution can be found in the code below. 63 | 64 | def is_palindrome_rev(s): """Check whether a string is a palindrome after being reversed""" 65 | 66 | Another way to solve this problem is to check if the string is a palindrome before reversing it. This solution can be found in the code below. 67 | 68 | def is_palindrome_rev(s): """Check whether a string is a palindrome after being reversed""" 69 | 70 | The function is_palindrome is already defined. In this case, the problem is solved by calling the function with a new argument, reverse_palindrome . 71 | 72 | The problem could be defined as the following problem. 73 | 74 | A palindrome is a string that is spelled the same backward and forward. 75 | 76 | If a string is a palindrome, it is also a palindrome when it is reversed. 77 | 78 | Is there a way to define the problem such that a solution that works for a palindrome will also work for a palindrome that is reversed? 79 | 80 | The solution below is for a palindrome that is reversed. 81 | 82 | def is_palindrome_rev(s): """Check whether a string is a palindrome after being reversed""" 83 | 84 | The solution is similar to the solution for the problem, which is to reverse the string and then check to see if the reversed string is a palindrome. 85 | 86 | The solution is to create a new string by reversing the string and then check if the new string is a palindrome. 87 | 88 | def is_palindrome_rev(s): """Check whether a string is a palindrome after being reversed""" 89 | 90 | ==================== 91 | 92 | return s == s[::-1] 93 | 94 | 95 | if __name__ == "__main__": 96 | 97 | #!/usr/bin/env python3 98 | 99 | def is_palendrome(s): 100 | 101 | return s == s[::-1] 102 | 103 | 104 | if __name__ == "__main__": 105 | 106 | The following is an example of a function definition: 107 | 108 | def is_palendrome(s): 109 | 110 | return s == s[::-1] 111 | 112 | If we call this function: 113 | 114 | def is_palendrome(s): 115 | 116 | return s == s[::-1] 117 | 118 | if __name__ == "__main__": 119 | 120 | is_palendrome("supercalifragilisticexpialidocious") 121 | 122 | The following is an example of a function call: 123 | 124 | def is_palendrome(s): 125 | 126 | return s == s[::-1] 127 | 128 | if __name__ == "__main__": 129 | 130 | is_palendrome("supercalifragilisticexpialidocious") 131 | 132 | The following is an example of a recursive function: 133 | 134 | def is_palendrome(s): 135 | 136 | def is_palendrome_helper(s): 137 | 138 | if s == "" or s[0] != s[-1]: 139 | 140 | return False 141 | 142 | else: 143 | 144 | return True 145 | 146 | if __name__ == "__main__": 147 | 148 | is_palendrome("supercalifragilisticexpialidocious") 149 | 150 | The following is an example of an anonymous function: 151 | 152 | def is_palendrome(s): 153 | 154 | return s == s[::-1] 155 | 156 | if __name__ == "__main__": 157 | 158 | is_palendrome("supercalifragilisticexpialidocious") 159 | 160 | The following is an example of a lambda function: 161 | 162 | def is_palendrome(s): 163 | 164 | return s == s[::-1] 165 | 166 | if __name__ == "__main__": 167 | 168 | is_palendrome("supercalifragilisticexpialidocious") 169 | 170 | The following is an example of an abstract base class: 171 | 172 | class Base: 173 | 174 | def __init__(self, a, b): 175 | 176 | self 177 | ==================== 178 | s = s.upper() #Convert to upper case 179 | if s[0] != s[-1]: #Reversed string 180 | return False #Not a palindrome 181 | return True 182 | 183 | 184 | ==================== 185 | s = s[::-1] return s == s[::-1] def main(): """Print a list of palindromes""" print("Here is a list of palindromes:") # palindromes = [s for s in words if is_palendrome(s)] # print(palindromes) def main(): """Print a list of palindromes""" # palindromes = [s for s in words if is_palendrome(s)] # print(palindromes) if __name__ == '__main__': """Run the program""" main() def is_palendrome(s): """Check whether a string is a palindrome""" s = s[::-1] return s == s[::-1] def main(): """Print a list of palindromes""" print("Here is a list of palindromes:") # palindromes = [s for s in words if is_palendrome(s)] # print(palindromes) def main(): """Print a list of palindromes""" # palindromes = [s for s in words if is_palendrome(s)] # print(palindromes) if __name__ == '__main__': """Run the program""" main() 186 | 187 | The for loop is commonly used with a sequence, such as a list or a tuple. A sequence is an ordered collection of items. For example, the following code creates a list of words and prints the list: 188 | 189 | words = ['cat', 'dog 190 | ==================== 191 | 192 | 193 | def main(): 194 | 195 | 196 | if __name__ == '__main__': 197 | 198 | 199 | There are some differences between the Python and the CoffeeScript version: 200 | 201 | The most significant difference is that Python has explicit return statements, while CoffeeScript uses return value. 202 | 203 | The only types in CoffeeScript are the native types, the basic types (string, number, boolean, null, undefined), and arrays. No distinction is made between primitive types and objects. In particular, the CoffeeScript compiler will not emit code for any of the built-in types, and therefore it is up to the JavaScript engine to implement these. 204 | 205 | 206 | ==================== 207 | 208 | def palindrome(s): """Check whether a string is a palindrome""" 209 | 210 | is_palendrome(palindrome("not a palindrome")) 211 | is_palendrome(palindrome("not a palindrome")) 212 | is_palendrome(palindrome("not a palindrome")) 213 | is_palendrome(palindrome("not a palindrome")) 214 | is_palendrome(palindrome("not a palindrome")) 215 | is_palendrome(palindrome("not a palindrome")) 216 | is_palendrome(palindrome("not a palindrome")) 217 | is_palendrome(palindrome("not a palindrome")) 218 | is_palendrome(palindrome("not a palindrome")) 219 | is_palendrome(palindrome("not a palindrome")) 220 | is_palendrome(palindrome("not a palindrome")) 221 | is_palendrome(palindrome("not a palindrome")) 222 | is_palendrome(palindrome("not a palindrome")) 223 | is_palendrome(palindrome("not a palindrome")) 224 | is_palendrome(palindrome("not a palindrome")) 225 | is_palendrome(palindrome("not a palindrome")) 226 | is_palendrome(palindrome("not a palindrome")) 227 | is_palendrome(palindrome("not a palindrome")) 228 | is_palendrome(palindrome("not a palindrome")) 229 | is_palendrome(palindrome("not a palindrome")) 230 | is_palendrome(palindrome("not a palindrome")) 231 | is_palendrome(palindrome("not a palindrome")) 232 | is_palendrome(palindrome("not a palindrome")) 233 | is_palendrome(palindrome("not a palindrome")) 234 | is_palendrome(palindrome("not a palindrome")) 235 | is_palendrome(palindrome("not a palindrome")) 236 | is_palendrome(palindrome("not a palindrome")) 237 | is_palendrome(palindrome("not a palindrome")) 238 | is_palend 239 | ==================== 240 | -------------------------------------------------------------------------------- /examples/stackoverflow-python/output_0_7.txt: -------------------------------------------------------------------------------- 1 | 2 | AttributeError: 'xlrd.RowLocation' object has no attribute 'split' {8248} 3 | ImportError: cannot import name uuid {34809} 4 | AttributeError: 'module' object has no attribute 'attrs' {10952} 5 | Tensorflow.set_session failed: Invalid value {24757} 6 | Replace all instances of some text with another text {13739} 7 | Python installation - how to install it on windows {24361} 8 | Build the package from a local directory {11952} 9 | ValueError: __new__() got an unexpected keyword argument 'key' {10544} 10 | ValueError: TypeError: __init__() got an unexpected keyword argument 'categorical_features' {14713} 11 | Running Tensorflow in a Docker container {16189} 12 | Creating a windows environment variable with Python {137130} 13 | Create a directory with a specified path {19402} 14 | "TensorFlow requires a GPU to run." {16835} 15 | Pycharm doesn't recognize Python 3.7 {21684} 16 | "Failed to parse metadata from 'http://pypi.python.org/simple/py/' (unknown location type 'NoneType')" {16391} 17 | ImportError: No module named 'mxnet' {21458} 18 | python -m pip install --user package_name {19361} 19 | 'Enum' object has no attribute 'get' {7355} 20 | What is the best Python web framework? {18358} 21 | File "", line 1, in {14881} 22 | ImportError: cannot import name 'infer' {27792} 23 | "python setup.py test" fails {17721} 24 | Windows: Could not find vcvarsall.bat {15265} 25 | 'Requirement.parse' is deprecated. Use setuptools/distribute instead. {16738} 26 | How to create a Windows installer for a Python application {20386} 27 | How to find out the exact version of Python I am using? {26255} 28 | "python setup.py install --user" fails {18064} 29 | AttributeError: 'int' object has no attribute 'hex' {17573} 30 | OSError: [Errno 2] No such file or directory: '%s' {15286} 31 | "PySerial.CheckForInterrupt" failed in thread Thread-1: Process terminating 32 | ==================== 33 | 34 | import pyzmq.pool as zmq.pool; zmq.pool.socket_create(zmq.pool.socket_file(socket), "127.0.0.1", 8080, zmq.POOL_REPLICATION, 1) raises OSError: [Errno 10061] Network is unreachable {28359} 35 | "Could not open file './conda/lib/python3.6/site-packages/numpy/random/mtrand/mtrand.py': [Errno 2] No such file or directory" {27174} 36 | How to change graph_editor.hoc_colormap for each image in the list {10307} 37 | How to get x values from a python list {8574} 38 | The error 'KeyError: 'index' for in the middle of a conda install {13167} 39 | ImportError: cannot import name 'graph_editor' {13166} 40 | python: ModuleNotFoundError: No module named 'cv2' {16014} 41 | Problem with importing scikit-learn in python {15505} 42 | TypeError: can't concatenate 'str' and 'long' objects {13184} 43 | 'root' package not found when trying to install matplotlib {13038} 44 | Parsing 'x' with > raises error {11910} 45 | Help! numpy.random.shuffle() and numpy.random.permutation() not working {12999} 46 | RFE: Add support for HTTP/2 in IPython {19473} 47 | ModuleNotFoundError: No module named 'dill' {11956} 48 | numpy.empty(shape=(), dtype=) raises error {11028} 49 | PIL does not support version 6.1.1 {12561} 50 | ImportError: cannot import name '__version__' {8164} 51 | 'array' object has no attribute '__getitem__' {8958} 52 | import os; os.environ['LD_LIBRARY_PATH'] = '/usr/local/lib' {13090} 53 | ==================== 54 | 55 | Selenium with Python3.6 {14171} 56 | ImportError: cannot import name _init_subprocess {17186} 57 | Cannot find libcudart.so.8 {12643} 58 | Unable to find CUDA on Mac OSX Sierra {18130} 59 | numpy.set_printoptions: print_option value must be an integer or None, got 'True' {11582} 60 | python 2.7: error while loading shared libraries: libpython2.7.so.1.0 {22287} 61 | Cannot find libboost_system.so.1.64.0 {22523} 62 | Mac OSX High Sierra - cannot import Tkinter {20663} 63 | how to create binary using clang on macos? {14162} 64 | Replace all numbers with -1 {9356} 65 | numpy.errstate: error while loading shared libraries: libpython3.6m.so.1.0 {11555} 66 | import sys,pyspark,pyspark.sql.types,pyspark.sql.functions {12740} 67 | ValueError: invalid literal for int() with base 10: 'abc' {27152} 68 | DataFrame.reset_index() is ignored if a column has an explicit name {26255} 69 | from multiprocessing.managers import BaseManager, LockManager {23100} 70 | What are the best tools for debugging Python code? {21303} 71 | Unable to load C extension module 'multiprocessing.connection' {21417} 72 | Cannot load data with .data access method {27761} 73 | (I am a newbie in python) How to create a temporary file {23403} 74 | Can't read file 'xxx' because it was not created with this app. {20341} 75 | numpy.lib.recfun: error while loading shared libraries: libpython3.6m.so.1.0 {11555} 76 | MacOS: error while loading shared libraries: libpython3.6m.so.1.0 {11555} 77 | pyzmq.sasl_version: Error: 'zmq.DEFAULT_VERSION' must be an integer {26259} 78 | ImportError: cannot import name get_config_vars {28166} 79 | Python 2.7: error while loading shared libraries: libpython2.7. 80 | ==================== 81 | 82 | ValueError: field 'a' not found in file 'file.csv' {17265} 83 | How to execute command line scripts in python {134323} 84 | Running an old script on Python 3.7 {132704} 85 | numpy.core.multiarray.fromstring does not work {24503} 86 | Replace old version of Python 3.6 with Python 3.7 in Windows {10961} 87 | Executing numpy script in jupyter notebook {131940} 88 | ValueError: list indices must be integers, not str {30991} 89 | Can't import numpy module in jupyter notebook {11834} 90 | How to run a script on startup in Python {133769} 91 | Setting up Anaconda on Ubuntu 18.04 {22207} 92 | Traceback when importing module {28893} 93 | ImportError: No module named 'six' {24783} 94 | Installing OpenCV 3 on Python 3.6 {12654} 95 | ValueError: sequence item 0: expected string, dict found {34228} 96 | Installing Jupyter on Windows 10 {21166} 97 | numpy.core.multiarray.tostring: string argument expected, got float {24407} 98 | Creating a new Jupyter notebook on Linux {15456} 99 | ERROR:root:Code for hash md5 was not found {34514} 100 | ValueError: need more than 1 value to unpack {25112} 101 | ValueError: numpy.core.multiarray.tostring: string argument expected, got float {24405} 102 | conda-forge conda-packaging no longer needed for conda {21219} 103 | conda install libhdfs3 -t /home/anaconda/anaconda3 -c https://conda.anaconda.org/menpo/ {135841} 104 | python -m nltk.downloader download pyyaml ... {21273} 105 | numpy.core.multiarray.fromstring: list argument expected, got 'int' {24489} 106 | Undefined symbol: _Py_NoneStruct {22836} 107 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 108 | WARNING:root:Failed to import Cython; see above for details {18679} 109 | 110 | ==================== 111 | 112 | Traceback (most recent call last): {5016} 113 | AssertionError: The body of a lambda can only be a single expression {14880} 114 | How to make tkinter widgets transparent in python {3073} 115 | How to read binary file in python {3338} 116 | trying to open a python file that is a .pyd file in a python 3.6 environment {10685} 117 | Unexpected exception occurred: Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.6/socket.py", line 711, in create_connection raise err File "/usr/lib/python3.6/socket.py", line 673, in create_connection raise err socket.error: [Errno 97] Address family not supported by protocol Error in Python module (no .pyc file) {10681} 118 | What is the problem with 'return None' in Python {3089} 119 | Python: setting value of variables {1282} 120 | "__main__" not in __name__ {3024} 121 | Why is there an error "ImportError: cannot import name "os" from "numpy"?" {2983} 122 | Python could not import module 'cryptography' {3154} 123 | Python 3.6: ClassNotFoundError: class android.support.v7.app.AlertDialog$Builder cannot be found {2969} 124 | Python 3.7 cannot import numpy.linalg {2908} 125 | How to run scripts in python {2846} 126 | Python 3.6 error while loading shared libraries: libpython3.6m.so.1.0 {2825} 127 | ValueError: list.remove(x): x not in list {2815} 128 | 'numpy.random.seed' and 'numpy.random.setstate' do not work on Python 3.6 {2813} 129 | [Mac] Can't import python.app, Xcode 10.1.1 {2810} 130 | TypeError: 'str' does not support the buffer interface {2798} 131 | import pyinstaller in Python 3.7 {2787} 132 | tensorflow.python.framework.error_dispatch.VerboseError: Python 2.7.13+ requires GCC 4.9 or Clang 3.4, 133 | ==================== 134 | 135 | How to use the PyInstaller in Linux {11939} 136 | TypeError: __init__() got an unexpected keyword argument 'autotest' {10106} 137 | A problem occurred during your installation of numpy {5678} 138 | The import of Numeric failed {8858} 139 | Problem with tensorflow in windows {13158} 140 | How to install anaconda3-4.3.0 in Ubuntu 18.04 {12039} 141 | A problem occurred during your installation of matplotlib {9395} 142 | Could not import cv2; cv2 module not found {4254} 143 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 144 | Replace specific text with a redacted version using Python {131751} 145 | Warning: No Python version found at /usr/bin/python {12947} 146 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 147 | PyQt5 5.14.1 is not available for PySide2 5.12.2. Please, use PyQt5 5.13.1 for PySide2 5.12.2. {12054} 148 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 149 | A problem occurred during your installation of setuptools {10789} 150 | Could not load dynamic library 'libnvinfer.so.6' {12080} 151 | ImportError: cannot import name 'pyside' {10530} 152 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 153 | I'm getting "Could not load dynamic library 'libpython3.7m.so.1.0'" error while installing Anaconda on Linux {10780} 154 | How to create a .pip file to install Anaconda on Ubuntu? {10771} 155 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 156 | "ERROR:root:code for hash md5 was not found" when using any hg mercurial commands {43025} 157 | How to use a command prompt in Linux? {11821} 158 | "ERROR:root:code for hash 159 | ==================== 160 | -------------------------------------------------------------------------------- /examples/stackoverflow-python/output_1_2.txt: -------------------------------------------------------------------------------- 1 | 2 | [Banter coaster]Error: Execute python script 'coaster.py' failed {10283} 3 | TypeError: (unset)() and dict() mix positional and keyword arguments {25191} 4 | Feature request: set graph parameters directly ahead of training {24144} 5 | ERROR: x-libtorrent: cannot open file 'x-libtorrent:/usr/lib/python3.7/site-packages/torrent/__init__.py': [Errno 2] No such file or directory {12324} 6 | XLSX / XSD issues {24451} 7 | PyCharm 2018.2 and Python 3.6 {12237} 8 | STDIN closed pipe was detected by cleaner daemon {23421} 9 | Setting up Anaconda Python 3.7 on Linux Mint {20861} 10 | Failed to find `Tkinter' c object for default instance in site-packages for Macintosh; not installing 'tk' extension {21259} 11 | Segmentation fault in Python 2.7.14 and OpenCV 3.0 on Mac {11685} 12 | rake import: cannot load the file, maybe invalid syntax {9303} 13 | Slash not handled correctly in datetime regex (use pathlib instead) {22656} 14 | olesolve.py cannot find info.plist when other import methods work {22174} 15 | "LayerwiseDense" inputs (such as affine transformations) are not supported in the shortcut form using clipping {29859} 16 | Why will plot show no single label for the interactive plot? {34472} 17 | NumPy/SciPy Toolkit: Can't create WebGL app with EPD acquired images {19504} 18 | Python 3.7: a simple file test failed {29728} 19 | datetime.time and datetime.timezone yield different results after an epoch on Python3 {2673} 20 | Some package are not visible if proxy settings is used in add-apt-repository {12282} 21 | Xslt error :System properties not set {20202} 22 | Python Build error - Unable to execute 'cv2_imread_unstructured_gray_image' {12627} 23 | ImportError at Python/Python-3.6/Standard.py?.co_varnames = [] {29616} 24 | Error: No module named 'Cell' {25058} 25 | Unable to install scikit-cuda { 26 | ==================== 27 | 28 | pyenv: current directory is not a python interpreter .? ?? {10363} 29 | data corruption of non-Numpy arrays when using pandas.value.numpy() [issue #1032] {129703} 30 | Freeciv 2 - Package couldn't be installed due to file permission denied by OS [SimplePlanet] {12242} 31 | dlib 18:18:18 Nov 18 [build THREADS_JOIN] /Projects/DeepLearning/build_poco 1. svn 252: **** v101.0.05.3864 x64 ******** conan config ******** Darwin 16.3.0 Refer: https://github.com/bgrnbrg/micogpu ====================================================== Arch: x86_64, Platform: Darwin, Python: 3.7.2, Compiler: Clang 18.0.0, CMake: 3.12.0, GCC: BUILD_PATH: ~/workspace/build/micogpu_toolchain_libcuda_8.0.61 ============================================================================== Starting compile All Done. Getting feedstock list done to /Projects/ROS-Industrial-Solutions/.conan/cache/seb/toolchains/compilers/llvm_compilers/5-518d1f7ab045d/bsd0df458e80fa20/bsd0df458e80fa20.bsd.json Conan server is prompting and recovering from the compiler download... Getting feedstock dependencies done... Setting remote_link to https://dl.bintray.com/robotics-industrial/feedstock/cuda/ubuntu1604/devtools/. 1:00:21 TaskMetadata.cs(10330): Not ignoring failure for e1fa8fc Supply Failure 1:00:21 TaskMetadata.cs(10537): Not ignoring failure for e217d46 Waiting 1:00:21 TaskMetadata.cs(10665): Not ignoring failure for e217da6 Waiting 1:00:21 TaskMetadata.cs(10633): Not ignoring failure for e217dea Skipped 1:00:21 TaskMetadata.cs(10637): Not ignoring failure for e217df4 Skipped 1:00:21 TaskMetadata.cs(10565): Not ignoring failure for e217df8 Waiting 1:00:21 TaskMetadata.cs(10576): 32 | ==================== 33 | 34 | Help after upgrading windows and Anaconda wants too update python libraries {11795} 35 | How to solve the interm output of the scikit-image toy example {18671} 36 | ValueError: Each array of this shape supports a different number of dimensions {30924} 37 | Need help getting neos 3.0.4 and trinity 0.5.3 Spyder to work natively on mac {16052} 38 | Requests Example to download Constant data using python 2.7 https://bytes.com/wp-content/uploads/2019/05/23973930/neural-network-constant-value.mp4 {117583} 39 | Learn Python Regular Expressions - Real Life Examples 9 {124942} 40 | A command that I put in a bash file does not run [Mac] {14452} 41 | HLT and GDB Are Most Useful When Their Output Is Used to Debug Low-Level Data {24072} 42 | Debian 8/Python 3.4 "pip" fails to install python-astor {14381} 43 | AttributeError: 'OrderingBarrierError' object has no attribute 'path' {22266} 44 | How to make a checkbox in python? {22626} 45 | ==================== 46 | 47 | numpy: version 1.13 did not include support for UTF-32 Unicode files larger than 4GB using fileno function {14643} 48 | pyelftools < 3.0.0 not found {29926} 49 | pip: command `list` returned non-zero return code 10 }}} mail = > mail_display ( stack ) ~~~~~~~~~~~~~~~~~~~~~~~~ { "date" : "3/27/18 10:14 PM" , "message" : " 50 | mail = > log = > message ( log ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { "errors" : [ < class 'nsc.logging.helpers.ConfigError' > , < class 'nsp.base.base.ServerNameGeneratorError' > , 51 | Error when importing tensorflow-gpu: {14466} 52 | What does this error message about a msgpack string mean? {17252} 53 | Installing libpng16-16 with MacPorts fails {22304} 54 | Google font directory 'C:/Users/jjose-VirtualBox/105455/edX/E2x/#!/src/slides/' could not be created. Existing directory 'C:/Users/jjose-VitualBox/105455/edX/E2x > /src/slides' will be used for the directory. {25189} 55 | import os, subprocess, and shlex # pre-wget clone repo tutorial on edX; # https://edx.org/course?cg=X6_Programming_with_Python3.9_Kitura&sp=2f4j8LqQ8IQ-W2maNwYb2E # #Clone the repo $ git clone https://github.com/xLAva/Programming_with_Kitura composer install -o --ignore-platform-reqs working_directory: = course directory `install` step doesn't update just presents existing code? # XXX: confused / following-need to complete install instructions completely later # XXXcasacalvo NOTE: ONLY FOLLOW THE VALUES LISTED ABOVE (remove own commas!) # # INSTALL XGBoost # Make sure we're not compiling with python 2.7 if echo ; then exec 2 > /dev/null else un "Python 3.6.6" fi emerge - nm xgboost error: Your platform does not allow easy registration of binaries; please set register 56 | ==================== 57 | 58 | Error when importing `pyspark` in spyder {22451} 59 | numpy.random.RandomState cannot iterate arbitrary memoryext {42975} 60 | /SAMpl a"?/ on the Sampl webserver get parsing error {21986} 61 | dogpile and python crashes {"NameError": global name 'cap' is not defined {10269} 62 | ImportError: Bad python mimetype line 1 in .py script file {20973} 63 | [F2018] Upgrading Blender to 2.79a results in "variable is not available" {21826} 64 | Spyder2 crashes after installing Dash {10451} 65 | DISPLAY variable is empty {15482} 66 | incomprehensible error message with trying to plot style {21257} 67 | Unhandled exception: Expected b in update(). Found _1twitter4j.StatusType{15861} 68 | TypeError Error when trying to load the Webstructure DataSource {70012} 69 | Warnings display in matplotlib and Spyder after upgrading from conda 4.3.15 to 4.5 {10354} 70 | Could not load "numpy" xll extension, see `xll-error-tips.html{31912} 71 | traceback (most recent call last) '/home/stivali/React/react_v16/virtualenv/local/lib/python3.6/site-packages/numpy/core/__init__.py' in get_datetime_with_adjustment() 2051 } # S 00428 for (details, value-detail) in it:  [26677] 02:14 ERROR cannot import name DatabaseMetaData {28635} 72 | "Segmentation fault" during model updating in Jupyter Notebook {73404} 73 | Can't find Qt5Skype module on Windows 10 {22223} 74 | Failed to load nbformat.datametadata_0.6 {11846} 75 | Traceback (most recent call last): {11220} 76 | Could possibly be fixable by installing grequests? {69609} 77 | Selenium Error "TLS protocol error: [SSL: CERTIFICATE_VERIFY_FAILED]" {94489} 78 | ==================== 79 | 80 | gcc: error: unrecognized command line option '"-march" {12628} 81 | Simple Generative Markov Model in Tensorflow {32126} 82 | ubuntu# ssh timeout problem {10775} 83 | tensorflow_gpu: pip failed with error: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/tensorflow_gpu/tools/pip_package_index.py", line 853, in _download_from_google_storage return rc [4 of 4 84 | Exception Condition -> BasicConfigError: {'failure_message': ('Kwargs must consist of valid UUID generated by generate_uuid function!',)} Traceback (most recent call last): File "working.py", line 11, in page.set_url(url) File "/usr/local/lib/python3.6/dist-packages/mezzanine_bridge/urls.py", line 30, in set_url plugins['page'].set_url(url) File "/usr/local/lib/python3.6/dist-packages/mezzanine_bridge/plugins/page.py", line 24, in set_url if not self.url File "/usr/local/lib/python3.6/dist-packages/mezzanine_bridge/plugins/page.py", line 120, in url_string_for_details "The site url '{0}' for '{1}' does not correspond to a valid site page.".format(*fields)) File "/usr/local/lib/python3.6/dist-packages/mezzanine_bridge/plugin_base.py", line 127, in check_url determined_type = check_determine_url(url) File "/usr/local/lib/python3.6/dist-packages/mezzanine_bridge/plugins/page_base.py", line 92, in check_determine_url error(msg_params, url=status.url(base_url)) File "/usr/local/lib/python3.6/dist-packages/mezzanine_bridge/api.py", line 684, in status_message_for_url "status_message_for_url: Invalid or missing base_url:" File "/usr/local/lib 85 | ==================== 86 | 87 | ScriptNotFoundError: 'openssl' {56133} 88 | DataFrame.plot: InterruptedPlot call (type: InterruptedException), output_type=None, marker='None' is None and is not equal to ... {35247} 89 | Having 04b23347db099f7d960732d8e560795c11ab13b2 ... {11519} 90 | ImportError: libjpeg.so.62: cannot open shared object file: No such file or directory {22776} 91 | scipy.io import error {16205} 92 | How do I do simple image manipulation on python 3.7 using matplotlib? {16016} 93 | winappdmg cannot parse hardlink {17599} 94 | ImportError: SQ HP the quantum chemistry dynamics package uses extension .pqr while the one globular data ... {10761} 95 | Windows 10, Anaconda, warnings.warnisfactor {15152} 96 | methode [code] not found. {15410} 97 | Using slave it just rises ArgumentError::'netxwithmlModel.py' is not available anymore. Please update 'cliactivate' {6590} 98 | Easing methods aren't supported, not resolving fieldicht_factory_3.3.PyQt4.QtGui.QPropertyAnimation {13003} 99 | area under the curve {14205} 100 | 9.60/9.64 coryyy cory G3059 10.89 coryyy cory G2978 11.56 coryyy ... {18088} 101 | Not all cells are defined --- it's like half of the board is missing. {4287} 102 | Help: prompt_toolkit.py compilation error {19522} 103 | Removing duplicate elements using uniq in time series {20687} 104 | TensorFlow 1.2 for Linux with CUDA 9.2 is not installed on Windows Server 2016 {24467} 105 | ==================== 106 | -------------------------------------------------------------------------------- /examples/kubernetes/output_1_2.txt: -------------------------------------------------------------------------------- 1 | 2 | apiVersion: apps/v1 3 | kind: Deployment 4 | metadata: 5 | name: elasticsearch-deployment 6 | spec: 7 | replicas: 3 8 | selector: 9 | matchLabels: 10 | app: elasticsearch 11 | template: 12 | metadata: 13 | labels: 14 | app: elasticsearch 15 | spec: 16 | containers: 17 | - name: elasticsearch 18 | image: docker.elastic.co/elasticsearch/elasticsearch:5.5.0 19 | apiVersion: extensions/v1beta1 20 | kind: Ingress 21 | metadata: 22 | name: wordpress-ingress 23 | spec: 24 | rules: 25 | - host: blog.martinrusson.com 26 | http: 27 | paths: 28 | - path: / 29 | backend: 30 | serviceName: wordpress-service 31 | servicePort: 80 32 | Output: 33 | > watch kubectl get ingress wordpress-ingress -o wide 34 | Name: wordpress-ingress 35 | Namespace: default 36 | Endpoints:::: 37 | pod IP Port Host port 38 | liveness-http 10.3.0.253 80 blog.martinrusson.com 80 39 | 40 | http-metrics 10.3.0.250 8080/TCP 101.193.49.214 8080/TCP 41 | 42 | http-metrics 10.3.0.250 8443/TCP 101.193.49.214 8443/TCP 43 | 44 | http-metrics 10.3.0.250 8080/TCP blog.martinrusson.com 8080/TCP 45 | 46 | http-metrics 10.3.0.250 8443/TCP blog.martinrusson.com 8443/TCP 47 | 48 | Endpoints YAML: 49 | 50 | apiVersion: v1 51 | 52 | kind: Endpoints 53 | 54 | metadata: 55 | 56 | name: liveness-http 57 | 58 | ports: 59 | 60 | - port: 80 61 | 62 | podIP: 10.3.0.253 63 | 64 | - port: 8080 65 | 66 | -> CI_IP: 101.193.49.214 67 | 68 | podIP: 10.3.0.250 69 | 70 | IP: 10.3.0.250 71 | 72 | kind: End 73 | ==================== 74 | 75 | apiVersion: apps/v1 76 | kind: Deployment 77 | metadata: 78 | name: elasticsearch-deployment 79 | spec: 80 | replicas: 1 81 | selector: matchLabels: 82 | app: elasticsearch 83 | template: metadata: 84 | labels: 85 | app: elasticsearch 86 | spec: 87 | type: Elasticsearch 88 | image: elasticsearch:5.6.4 89 | c Put an application in shutdown state 90 | c Write wordpress config map to a file using aws-env-vars 91 | c Group’s awsEc2AccessID, awsEc2SecretAccessKey, aws-region, aws-role env maps 92 | !AKIAJINH3RULESQ8YASABLZJIHIWCUOJHQQH0QBEKHM3BGVCQGSUGR3JHDB8 UNI\0\0\0$AwsApiAccessID\0\0\0$AwsApiSecretAccessKey\0\0\0$region\0\0\0$role\0\0\0{ "Status": "CreatingWordPressDeployment", "CreationTimestamp": "2017-05-05T14:20:21+0000", "Name": "wordpress-deployment", "DesiredCount": 1, "Tags": [ { "Name": "app", "Value": "wordpress" } ], "Children": [ { "Status": "Updating", "EndTime": "2017-05-05T14:20:21+0000", "EndTimeTimestamp": 1526434211101, "Name": "web", "Type": "webserver", "ReadyTime": "2017-05-05T14:20:22+0000", "Health": "Green", "PodIP": "172.31.1.4", "PodIPv6": "fd32:f0d0:605d:37a6:1b81:af4c:6d7b:947a", "Condition": { "StringEquals": { "ansible_facts.ec2_ipv4": "fd32:f0d0:605d:37a6:1b81:af4c:6d7 93 | ==================== 94 | 95 | apiVersion: apps/v1 96 | kind: Deployment 97 | metadata: 98 | name: elasticsearch-deployment 99 | spec: 100 | selector: 101 | matchLabels: 102 | app: master 103 | template: 104 | metadata: 105 | labels: 106 | app: elasticsearch 107 | spec: 108 | replicas: 2 109 | template: 110 | metadata: 111 | labels: 112 | app: elasticsearch 113 | spec: 114 | containers: 115 | - name: elasticsearch 116 | image: elasticsearch:4.1.1 117 | length: 3 118 | 119 | 120 | ==================== 121 | 122 | apiVersion: apps/v1 123 | kind: Deployment 124 | metadata: 125 | name: elasticsearch-deployment 126 | spec: 127 | replicas: 3 128 | selector: 129 | matchLabels: 130 | app: elasticsearch 131 | texture-default.yml 132 | This file provides additional configuration options, not specific to OpenShift, for the Kubernetes API server and related components. 133 | This file provides additional configuration options, not specific to OpenShift, for the Kubernetes API server and related components. 134 | 135 | 136 | ==================== 137 | 138 | API version: apps/v1 139 | Kind: Deployment 140 | Meta: 141 | 142 | Name: elasticsearch-dep 143 | App: elasticsearch 144 | Labels: app=elasticsearch 145 | Spec: 146 | Selector: 147 | 148 | Replicas: 2 149 | Template: 150 | 151 | Meta: 152 | 153 | Labels: 154 | App: elasticsearch 155 | Status: 156 | 157 | Complete 158 | 159 | Input: deploy Logstash 160 | Output: 161 | API version: apps/v1 162 | Kind: Deployment 163 | Meta: 164 | Name: logstash-dep 165 | App: logstash 166 | Labels: app=logstash 167 | Spec: 168 | Selector: 169 | 170 | Replicas: 2 171 | Template: 172 | Meta: 173 | Labels: 174 | App: logstash 175 | Status: Complete 176 | 177 | Only currently metering capacity for node trafic is available. Custom metrics can be added to the API using API extensions. 178 | 179 | Circonus 180 | Statsd 181 | 182 | influxdb 183 | 184 | Prometheus a multi-dimensional data model makes it suitable for a variety of contexts. The Prometheus query language provides expressiveness for both simple ad-hoc exploration as well as for advanced analytics: 185 | 186 | JHipster with Spring Boot as Java server-side framework, 187 | Kubernetes as integrated Java platform, 188 | The Google Cloud Platform provider is configured by default in the sample app. 189 | 190 | To provide a component-based multi-dimensional data model, Prometheus support drill-down / pivot queries, histogram aggregation andributes. Here is an example histogram report dashboard: 191 | 192 | 193 | Prometheus query supports arithmetic operations, like the job count below that shows the total of queries showing status of different protocols, ports and web technologies in cluster 194 | 195 | Analytics can be visualized using Prometheus relay to SQL endpoint for BigQuery, ELK Stack, or any ODBC / JDBC compliant store 196 | 197 | 198 | 199 | 200 | ==================== 201 | 202 | apiVersion: apps/v1 203 | kind: Deployment 204 | metadata: 205 | name: elasticsearch 206 | spec: 207 | replicaCount: 2 208 | selector: 209 | matchLabels: 210 | app: elasticsearch 211 | template: 212 | metadata: 213 | labels: 214 | app: elasticsearch 215 | spec: 216 | containers: 217 | - name: elasticsearch 218 | image: elasticsearch:2.2.1 219 | doccontainer: Install sphinx 220 | grafana: grafana image is: grafana/grafana-server-windows-amd64:v4.3.0 221 | production: 222 | apiVersion: v1 223 | kind: Service 224 | metadata: 225 | name: grafana-service 226 | spec: 227 | ports: 228 | - protocol: TCP 229 | spec: 230 | NAME: grafana-prod 231 | DESIRED_STATE: persistent 232 | IM_CONFIG: 233 | ETCD_CHECK_LEVEL: "WARNING" 234 | WORKING_DIR: /grafana-dir 235 | DOCKERCLNT_TIMEOUT: 50 236 | KCUSTOMDOCKERCOMMAND: 237 | - '--name=grafana \`hostname\` \`docker ps -a | grep g Edmonton\` # Test if Docker container is up and running' \ '--add-host=192.168.99.100:2376 \`hostname\`:2375' \ '--dns=192.168.99.100' \ '--entrypoint=/grafana' 238 | JSON: 239 | SSH_OPTIONS: 240 | - '-o ServerAliveInterval=15' \ '-o ServerAliveCountMax=3' \ '-o StrictHostKeyChecking=no' \ 241 | DATA: 242 | containers: 243 | STATUS: 244 | STATUS: 245 | dockersetup: docker setup for Postgres is: 246 | POSTGRES_IMAGE: "postgres:10.4" 247 | POSTGRES_CONTAINER_NAME: data-slate 248 | POSTGRES_DATABASE 249 | ==================== 250 | 251 | - targetPort: 9200 252 | 253 | Input: containerPort: 8080 254 | Output: targetPort: 8080 255 | 256 | Input: containerPort: 8081 257 | Output: 258 | apiVersion: v1 259 | kind: Service 260 | metadata: 261 | annotations: 262 | vsphere.elasticsearch.kubernetes.io/discovery: 'false' 263 | name: elasticsearch 264 | spec: 265 | clusterIP: None 266 | selector: 267 | matchLabels: 268 | app: elasticsearch 269 | ports: 270 | - containerPort: 9200 271 | 272 | Input: pid: 2551 273 | Output: image: wordpress:3.5.0 274 | printf: wordpress-log # PPM_ID: w50p64h # Name: wordpress 275 | # TID: 0x0002 # GID: 0x0002 # PPID: 0x9dc868476d82f01 # PGID: 0x9dc8684 # 276 | TCP_SRC_PORT: 80 # TCP_DST_PORT: 80 # IP: 172.20.1.1 # HOSTNAME: dc43a6 277 | # _START_: 31866420137559.3549 # _LAST_: 31866420139663.9839 # _T_: 9896066096 # 278 | RM_ID: 0x0002 # GENID: 0x0001 # DPORT: 2551 # IMNAME: wordpress 279 | 280 | Input: image: wordpress:3.5.0 281 | Output: PPM_ID: wordpress 282 | 283 | ==================== 284 | 285 | apiVersion: apps/v1beta2 286 | kind: Deployment 287 | metadata: 288 | " annotations " : 289 | app: elasticsearch 290 | spec: 291 | replicas: 3 292 | selector: 293 | comment: elasticsearch 294 | template: 295 | metadata: 296 | labels: 297 | app: elasticsearch 298 | spec: 299 | containers: 300 | "- name: elasticsearch 301 | " image: elasticsearch:0.11.0 302 | 303 | Input: Query Elastic Search 304 | Output: 305 | echo 'test' | http POST http://localhost:9200/twitter/tweet 306 | The operation succeeded. Transactions: 1 (1486 byte) 307 | 308 | http calls 309 | 310 | ==================== 311 | 312 | apiVersion: apps/v1 313 | kind: Deployment 314 | metadata: 315 | name: es 316 | spec: 317 | replicas: 1 selector: 318 | matchLabels: 319 | app: es labelSelector: 320 | matchLabels: 321 | app: dev state: 322 | created 323 | status: 324 | ready 325 | ending: true labels: 326 | endpoints: 80 327 | spec: 328 | containers: 329 | - name: es 330 | image: elasticsearch 331 | ports: 80:9200 332 | 333 | Input: create todos and details pages 334 | Output: 335 | apiVersion: v1 336 | kind: Service 337 | metadata: 338 | name: app 339 | spec: 340 | ports: 341 | - protocol: TCP 342 | targetPort: 80 targetPort: 8081 343 | 344 | 345 | 346 | ==================== 347 | 348 | apiVersion: apps/v1 349 | kind: Deployment 350 | metadata: 351 | name: elasticsearch-deployment 352 | spec: 353 | replicas: 2 354 | selector: 355 | matchLabels: 356 | app: elasticsearch 357 | template: 358 | metadata: 359 | pkg: elasticsearch 360 | spec: 361 | containers: 362 | └─name: elasticsearch 363 | image: elasticsearch:2.4.2 364 | metadata: 365 | spec: 366 | replicas: 2 Scalableなアプリへの移行元: Search Console とそのimesterizationでは、当サイトを経由して人々にウェブサービスの改善について何かを学ぶことができます。 を経由して実行します。 最初には、私たちは詳細を組んでフックします。 367 | In the output, the parameters related to the resource are highlighted in bold. We will now review what each set of parameters is at this time. * name (metadata.name): See above. If this line is not present, it means that the resource does not have a name, and would therefore not be accessible through Kubernetes. * labels (metadata.labels): The value is a map of labels. The name of the label appears on the left, and its value on the right. When the value is multiline (as is the case with some characteristics, for example), it is presented as a sequence of strings separated by "ishable". Kubernetes application uses this for URLs, for instance, in the Ingress controller. If this line is not present, then no labelis on the resource. * app: This is the label that identifies the application. It ensures that the resource is interpreted as one of facilities that are contained in the same folder. And with this label, Kubernetes automatically deploys the role. In the example above, and thereby Kubernetes assumes that deploying it is deploying a web service, which can then be referenced as resource containers (for example, containers 368 | ==================== 369 | -------------------------------------------------------------------------------- /examples/reddit-askreddit/output_0_7.txt: -------------------------------------------------------------------------------- 1 | 2 | Men of Reddit, what do you find unattractive in women? {2344} 3 | What's the most embarrassing thing you've done in front of your parents? {1427} 4 | People who have gone through their partner's phone, what was the most shocking thing you found? {2972} 5 | Men of Reddit, what's something that you did that you're now happy you did? {4922} 6 | Redditors who live with their significant other, what's your favorite thing about them? {4557} 7 | [Serious] You're about to die. What do you do? {6669} 8 | [Serious] Someone you love dearly has a terminal illness and you have the cure. What do you do? {4966} 9 | What is the funniest joke you know? {3862} 10 | What's something that's just plain fun? {9945} 11 | If you had to say "I'm sorry" to a tree, what would you say? {3762} 12 | What’s the best day of your life? {6812} 13 | What's your favorite childhood memory? {3842} 14 | What's your favorite childhood memory? {3679} 15 | What's your favorite childhood memory? {4198} 16 | What's your favorite childhood memory? {3534} 17 | What's your favorite childhood memory? {3863} 18 | What's your favorite childhood memory? {3687} 19 | What's your favorite childhood memory? {3823} 20 | What's your favorite childhood memory? {3717} 21 | What's your favorite childhood memory? {3718} 22 | What's your favorite childhood memory? {3940} 23 | What's your favorite childhood memory? {3668} 24 | What's your favorite childhood memory? {3812} 25 | What's your favorite childhood memory? {3674} 26 | What's your favorite childhood memory? {3674} 27 | What's your favorite childhood memory? {3815} 28 | What's your favorite childhood memory? {3811} 29 | What's your favorite childhood memory? {3677} 30 | What's your favorite childhood memory? {3672} 31 | What's your favorite childhood memory? {3719} 32 | What's your favorite childhood memory? {3718} 33 | What's your favorite childhood memory? {3675} 34 | What's your favorite childhood memory? {3720} 35 | What's your favorite childhood memory? {3716} 36 | What's your favorite childhood memory? {3677} 37 | 38 | ==================== 39 | 40 | [Serious] Have you ever lost a loved one in a tragic accident? How did you deal with it? {13988} 41 | Reddit, what are some ways to fight a depression? {2709} 42 | What’s your favorite historical battle? {1643} 43 | What is something you’re bad at but wish you were good at? {1679} 44 | What is something that you never knew you needed in your life until you had it? {2224} 45 | Reddit, what's something you wish you knew when you were younger? {43245} 46 | Reddit, what's something you wish you could go back and tell yourself 10 years ago? {5070} 47 | What's the most useless skill you know? {5063} 48 | If you could go back and erase one thing in your past, what would it be? {1235} 49 | What are some quotes from books that changed your life? {1110} 50 | What is something you used to believe, but don't anymore? {2184} 51 | What is something that is commonly believed to be true, but is actually false? {1039} 52 | [Serious] How do you stay strong when you have no support from anyone? {4572} 53 | [Serious] If you had to kill one person without a trial, who would it be? {9132} 54 | What is your worst nightmare? {6712} 55 | What's the most impressive thing you've ever witnessed? {4450} 56 | Reddit, what is something you always wanted to try, but never got around to? {11229} 57 | What is something you're doing that you can't believe you're actually doing? {1453} 58 | What is something you're doing that you can't believe you're actually doing? {1453} 59 | What's your most favorite piece of clothing? {7545} 60 | What's the best compliment you ever received? {2227} 61 | What is something you wish you could un-know? {1076} 62 | What's your favorite (or most hated) children's movie? {542} 63 | What's your favorite book of all time? {5817} 64 | What is your favorite video game? {1040} 65 | What is something that happened to you in your youth that still makes you smile? {912} 66 | What's the most attractive feature on a person? {4793} 67 | What is something that happened to you in your youth that still makes you 68 | ==================== 69 | 70 | [Serious] Have you ever cried over a movie? What was it? {10402} 71 | [Serious] What are the top 3 conspiracy theories you think could be true? {7663} 72 | What do you think is the worst type of plastic surgery? {3511} 73 | What's your go-to karaoke song? {5349} 74 | If you could be in any TV show, which one would you choose? {9062} 75 | What's the most important life lesson you've learned so far? {15114} 76 | What would you do if you became a professional football player? {853} 77 | What's the best thing about being a teen? {532} 78 | What's the most common sense thing that people just don't do? {2392} 79 | What is the most annoying thing your younger sibling does? {2674} 80 | What is the stupidest thing you have ever seen on the internet? {2915} 81 | [Serious] What are the questions you ask yourself before you fall asleep? {1862} 82 | [Serious] How do you deal with crippling social anxiety? {5798} 83 | What is your go-to insult? {1690} 84 | [Serious] What is your opinion on the recent change to the filibuster rule? {2237} 85 | What is your secret talent? {1923} 86 | What is your most irrational fear? {2630} 87 | What is the most recent song you have had on repeat? {2611} 88 | What is the most annoying thing your parents do? {6934} 89 | [Serious] Redditors who have had friends or family die in war, how did they die? {1048} 90 | [Serious] Redditors who have witnessed a death, how did the person die? {664} 91 | What is the most fucked up thing you have ever seen/heard/experienced? {8915} 92 | What is your favorite body part on a girl? {1264} 93 | What is your favorite body part on a guy? {2470} 94 | What is your favorite video game? {2518} 95 | What is the most valuable thing you lost? {4091} 96 | What is your favorite board game? {2985} 97 | What is the dumbest thing you have ever agreed to? {534} 98 | What is your biggest regret? {5048} 99 | What is your most embarrassing moment? {912} 100 | What is 101 | ==================== 102 | 103 | People of Reddit, what are your worst fears? {2387} 104 | [Serious] What is the most random fact you know? {4435} 105 | If you could time travel to the moment of your birth, what would you say to your parents? {7646} 106 | What would you do if you won the lottery? {5316} 107 | [Serious] People who have lost loved ones to suicide, what were their last words to you? {10815} 108 | People of Reddit, what's the most out of place/weird/random thing that you found in your backyard? {11148} 109 | [Serious] What was the first time you felt that you have matured as a person? {1531} 110 | Reddit, what are some things you enjoy that most people your age do not? {9942} 111 | Reddit, what's your favourite meme? {5559} 112 | What's your favorite pickup line? {2489} 113 | [Serious] What's the best thing that happened to you in the last 24 hours? {4718} 114 | What's the most "holy shit I'm in trouble" thing you've done? {2524} 115 | What do you consider to be the best thing that happened to you in the last week? {8863} 116 | [Serious] What's the most effective way to stop your child from becoming a racist? {12166} 117 | What was your first thought when you woke up this morning? {6306} 118 | What is your secret talent? {1488} 119 | [Serious] What is the one thing you have to do before you die? {4796} 120 | [Serious] People who have lost a parent, what was your last conversation like? {2231} 121 | What's the best thing you can make with a potato? {1341} 122 | What's the weirdest thing you've ever found? {2282} 123 | What was the first thing you thought of when you woke up? {1606} 124 | What was the best thing you ate today? {2716} 125 | What's the weirdest thing you've ever eaten? {2089} 126 | What's the funniest/stupidest thing you've ever done? {3743} 127 | What is the dumbest thing you've ever heard someone say? {2541} 128 | [Serious] What is the most difficult decision you've had to make? {7272} 129 | What's your go-to insult 130 | ==================== 131 | 132 | If your father was a police officer, what's the most illegal thing you have done? {1097} 133 | What are some ways to make yourself seem more approachable? {35679} 134 | Reddit, how do you stop yourself from getting angry at the driver in front of you? {6278} 135 | Reddit, what was your worst first date experience? {2660} 136 | What are the most convincing proofs of the existence of extraterrestrial life? {2448} 137 | [Serious] People who have had depression and overcame it, what do you do when you feel like you’re slipping back again? {8315} 138 | What's the most money you have been scammed out of? {2332} 139 | What's the weirdest gramatically correct sentence in the english language? {1407} 140 | Humans of Reddit, what are our planetary defenses? {35766} 141 | Grammar Nazis of Reddit, aside from "your/you're", what spelling or grammar mistakes annoy you the most? {5350} 142 | Guys of reddit, how would you want girls to ask you out? {10905} 143 | What “hero” is more villainous than the actual villain? {5660} 144 | If your father was a police officer, what's the most illegal thing you have done? {1097} 145 | What are some ways to make yourself seem more approachable? {35679} 146 | Reddit, how do you stop yourself from getting angry at the driver in front of you? {6278} 147 | Reddit, what was your worst first date experience? {2660} 148 | What are the most convincing proofs of the existence of extraterrestrial life? {2448} 149 | [Serious] People who have had depression and overcame it, what do you do when you feel like you’re slipping back again? {8315} 150 | What's the most money you have been scammed out of? {2332} 151 | What's the weirdest gramatically correct sentence in the english language? {1407} 152 | Humans of Reddit, what are our planetary defenses? {35766} 153 | Grammar Nazis of Reddit, aside from "your/you're", what spelling or grammar mistakes annoy you the most? {5350} 154 | Guys of reddit, how would you want girls to ask you out? {10905} 155 | What “hero” is more villainous than the actual villain? {5660} 156 | If your father 157 | ==================== 158 | 159 | What are some of the most amazing songs you've never heard? {3741} 160 | What do you wish you were taught in school? {931} 161 | People of Reddit with adhd, what are some of your superpowers? {2876} 162 | Redditors who work in public places, what is the most awkward thing that has happened to you? {25304} 163 | What’s the creepiest thing you have ever seen on the street? {5093} 164 | What is the dumbest thing you’ve ever done while drunk? {8191} 165 | What was the most selfless thing you have ever done? {2951} 166 | What's the worst date you've ever been on? {7401} 167 | What is your most embarrassing moment that happened in front of the opposite sex? {4481} 168 | What’s your favorite sport? {3213} 169 | What's the worst thing you've ever seen happen at a wedding? {3072} 170 | What is the worst thing you've ever eaten? {3184} 171 | What's your favorite childhood memory? {1759} 172 | What is the weirdest thing you've ever found in a public bathroom? {13409} 173 | What’s the most out of the way place you’ve ever traveled to? {6548} 174 | What is your most prized possession? {4839} 175 | What's your favorite historical era? {1227} 176 | What was the most stupid thing you did as a kid? {4540} 177 | What are your thoughts on religion? {843} 178 | What are your favorite shows that are off the air? {4097} 179 | What is your most favorite quote from a movie? {4573} 180 | What are the most evil things you've done? {1686} 181 | Redditors with siblings, what is the most evil thing your brother or sister has ever done? {1909} 182 | What is your favorite conspiracy theory? {4047} 183 | What is your opinion on Reddit? {6345} 184 | What's the most embarrassing moment you've ever experienced in public? {2464} 185 | What’s the weirdest thing you’ve ever seen someone wear? {5164} 186 | What is your favorite swear word? {1229} 187 | What are your most and least favorite things about your hometown? {1873} 188 | What is the best secret talent you have? {872} 189 | What is the worst lie you 190 | ==================== 191 | -------------------------------------------------------------------------------- /examples/python-palendrome/output_1_2.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | ... 4 | def findxy(arg,s): 5 | 6 | 7 | \end_layout 8 | Starting in Palette 8.0, the first argument to the module must be "python" with the remaining arguments correspondingly placed. For example, the syntax for a definition laid out over multiple lines would be 9 | \begin_layout Standard 10 | \include "ctanpy_wrap.sty" 11 | \define_python python 12 | \define_python_function findxy \function{findxy}{int}{int}{string arg}{str s} { \end_layout 13 | In fact, the function above can be defined using a slightly simpler syntax as demonstrated in the next task. 14 | 15 | The syntax for inserting the hyperlinks along with the text that they link to ("find function" in the task) in gray, is created using the \links{} command using the first argument "python""txt" and the blob argument to ipval indicating the text of the hyperlink that Sublime Text should insert. 16 | 17 | For example, the command 18 | \define_python_function find256 \function{python}{\undefined}{int integer}{int integer}{int i, j}{i}{align=r} 19 | \begin_layout LyX-Code 20 | import math 21 | def rgitta_measure(inside_gyrule): 22 | 23 | 24 | 25 | ote Using the command \autoref ref.12.3 can be skipped here as it will be useful later 26 | \end_layout 27 | Rewritten in Python, the code looks like 28 | \begin_layout Standard 29 | \include "ctanpy_wrap.sty" 30 | 31 | \define_python_function find256 \function{python}{\undefined}{int integer}{int integer}{int i, j}{i}{align=r} { \end_layout 32 | The function is provided with what we believe are useful cut point delimiters, namely align=r for normal text and align=c for code. Here, a function named find256 has previously been declared with the first arguments (also called a function signature) of int integer indicating the Python variables that we will pass in, followed by the type on the next line (using the syntax \python_type int integer ) and is followed by an opening brace (see below). We should note that the notation \python_type int integer is not defined by CTANPy, but is simply a typedef we have chosen to use for experimental purposes. The initial assignment 33 | ==================== 34 | if s <> s[::-1]: return False else: return True 35 | We see three things: 36 | Procedures are defined with the def keyword. 37 | Keyword parameter and return can be omitted. 38 | Programmer can add documentation in two ways: one-line docstrings after the double colon in the form of parameter {parameter docstring} (ex. def is_palendrome(s): 39 | description of parameters go here, ) and multiline comments after the same colon (ex. def is_palendrome(s): 40 | Anyways, check out these examples in this jupyter notebook and let me know what you think of jupyter. If you get a python interpreter open interactively in firefly you can also run the code below and observe the output: 41 | User(name='James Tiberius Rahski', email='james@seahub.io') 42 | ==================== 43 | is_numeric = lambda s: isinstance (s, int ) or isinstance (s, float ) 44 | trimmed_string = s.lstrip( ' ' ) if not trimmed_string.strip(): return False rest = trimmed_string[ - 1 ] fail = False rest_length = len (rest) if trimmed_string[ 0 ] .upper() in ( ' spaces ' , '!, \t ' ): trimmed_string = trimmed_string[ 1 :] during = rest_length - 1 fail = True if rest_length == 1 else rest_length - 1 for i in range ( 0 , rest_length, 1 ): for j in range ( 0 , i, 1 ): if is_numeric(trimmed_string[i - 1 ]): trimmed_string[i - 1 ] = trimmed_string[i - 1 ] .replace( ' num ' , ' ' ) if trimmed_string[i - 1 ] .upper() in ( ' spaces ' , ' \t ' , ' 45 | 46 | ' , ' ! ' ): i = i + 1 continue try : rest[i] = int (trimmed_string[i - 1 ]) raise ValueError ( " {} contains non-numeric chars " .format(rest)) except : fail = True break else : i = i + 1 if trimmed_string[i - 1 ] .upper() in ( " spaces " , " \t " , " 47 | 48 | " , " ! " ): i = i + 1 continue trimmed_string += trimmed_string[i:] fail = (fail or fail and rest_length != end_length or rest_length > 0 and trimmed_string .find(rest) >= 0 ) return fail 49 | 50 | function is_palendrome ( s ) s = s. lower ( ) if s == s: return True else : for i in range ( 0 , len ( s ) , 1 ) for j in range ( 0 , i, 1 ) if int ( s [ i ] ) != int ( s [ i + 1 : ] ) or rawPast ( s [ i ] , s [ i + 1 51 | ==================== 52 | # if empty string, it's not palindrome if len(s) <= 1: return False # starts at beginning s = s[:-1] # reverse it s = s[::-1] s = s + s # two runs ==> also reverse return (len(s) == len(s[::-1])) && (isinstance(s, str) and s == s[::-1]) 53 | # exec python test_is_palendrome.py 54 | 55 | Some suggestions for practicing and experimentation with these examples of coding into a file and executing it: 56 | 57 | 58 | An infinite loop is a bit of code that iterates or repeats forever. Again consider a variable countN, and you want to count from 100 down to one using the loop 100, 99, 98, . . . 1 . . . 99, 100. This is an infinite loop because it keeps iterating the same loop (countN = 100) forever (after the loop finishes the countN is then set to 99 and the count 100 is incremented). An animation is very helpful to understand endless loops: 59 | 60 | elected_officials.sh 61 | 62 | 63 | # create a list of first names of selected officials min = 100 max = 1 size = len(X) # count governmental officials ​for​ i in range(100, -1, -1): # size 100 # count decreases by 1 on each iteration if​ i == min: # candidate for displaying min value print("​%s"​ % (X[min])) if​ i == max: # candidate for displaying max value print("​%s"​ % (X[max])) # running total of each candidate's votes running_total = 0 for​ name in X: running_total += X[name] print("​%s"​ % (running_total)) # select and print candidates' data council = [X[i] for i in range(size)] sorted_names = sorted(council)[:] starser = range(max, -1, -1) 64 | Quite often in scripts 65 | ==================== 66 | 67 | string = "racecar".replace('a','z').replace('e','i').upper() # palindrome? 68 | def is_palendrome(s): """Check whether a string is a palindrome""" 69 | s1 = 'THE RACECAR GOES DUT-DUT-DUT-DUT-DUT-' 70 | s1 = 'the|quickbrownfox|JUMPED OVER THE LAMBDAtu-' 71 | s1 = s1.title() 72 | s1 = s1[::-1] # reverse string 73 | s2 = 'information'.replace('o','q').replace('n','m').upper() 74 | print ("%r"' % s1) 75 | print ("%r"' % s1.replace('e','i').split()[0]) 76 | print ("%r"' % s2) 77 | s1 = s1[::-1] 78 | print ("%r"' % s1) 79 | 80 | 81 | 82 | ==================== 83 | if s == s[::-1]: 84 | return True 85 | else: 86 | # There is one case we miss 87 | i, j = 0, len(s) 88 | while j < i: 89 | if s[j] != s[i]: 90 | return False 91 | i = j 92 | 93 | 94 | ==================== 95 | """Example: is_palendrome('Able was I ere I saw Elba') is True. The palindrome Towers is Isle.""" 96 | 97 | The first formal parameter of a decorator function is the function being decorated. Parameters after this one are passed to the decorated function. In this case, the fixed() function does not need to accept any arguments itself—any parameters passed to the fixed_verify() function after the function being decorated are simply passed through. 98 | 99 | 100 | 101 | 102 | ==================== 103 | maxlen = 0 104 | 105 | last = None 106 | for i in range(len(s)): tmp = s[i] if last == u'x': if tmp == u'x': if tmp == u'\x0': if tmp == u'\x1': while last == u'\0': last = tmp else: return True 107 | 108 | 109 | ==================== 110 | for i in range(len(s)): # Use a for loop to iterate # i ranges from 0 to N, where N is the string's length 111 | 112 | if s[i] != s[i + 1] or s[i] != s[i - 1]: return False 113 | 114 | # If values don’t match up, return False 115 | 116 | return True 117 | 118 | 119 | Try it Yourself 120 | 121 | 122 | Exercise 4.2 123 | 124 | Write a function called is_palindrome_reversed(s) that accepts a string s and checks whether it is a palindrome, but only if the string is spelled backwards, instead of forwards. What errors would be introduced if you call is_palindrome_reversed(s) on a string that is spelled forward? 125 | 126 | 127 | The 4 Functions above relate to the 4 main ways to sort lists. Which leads us to our next core element for the Commander Toad Data Types chapter. This time, we’ll take a look at the commands we use to sort lists. 128 | 129 | 130 | Check Your Code with the Unit Test Feature 131 | 132 | 133 | Problem 134 | 135 | 136 | You wrote some code to solve a problem and want to check it for correctness. You’d like to avoid having to tediously analyze your program line by line, trying to isolate the bug. 137 | 138 | 139 | Ingredients 140 | 141 | 142 | IDLE 143 | 144 | 145 | Goal 146 | 147 | 148 | Explore the Python code revision control system and IDLE’s unit test feature. A unit test is a small bit of code that triggers your intended file. This code asks “does it do what you intended?”. 149 | 150 | 151 | For an introduction to unit testing, see Python 3 Object Oriented Programming (Capybara). 152 | 153 | 154 | How It Works 155 | 156 | 157 | When you incorporate unit tests into your development process, you will write a piece of code and compare it to the expected output. If the actual result matches the expected result, unit test passes. Any discrepancies lead to errors. How can this be? See if you can step through test_palindrome.py below. 158 | 159 | # test_palindrome.py 160 | 161 | setUp = “assert len(word) <= 4” \ 162 | 163 | + “assert word.lower() in ‘abcdefghijklmnopqrstuvwxyz’ 164 | ==================== 165 | 166 | 167 | Function is_palendrome(s): 168 | 169 | Zsh does not have procedure or function declarations, but it does have command aliases. 170 | 171 | Both Zsh and Bash support a call stack, which organizes the place where function calls were started and the return addresses of function calls, with each invocation of a function saving the source and destination records in the stack and then returning control to the latest caller. Bash saves the source record in the function descriptor, which is in memory and hence limited in size. Zsh saves the source record on the stack. Bash requires a codice_17 statement after every function call or the stack will be cleared. Zsh does not require a codice_17, but it does clear the stack if there is an error or it reaches the end of code execution. 172 | 173 | Zsh does not require function or procedure declaration; there are only functions and shell scripts. 174 | 175 | Julia uses modules and calls them packages and requires each package to have a content file a file named codice_24 which is a plain text file written in Julia. The requirement to name the file codice_24 for a package as standardized. This file is read by Julia's extend system, and overrides variables and other facets which the codice_26 part of the package. The package is then imported. The package name and version number is not required as Elizabeth Mattijsen has done without it for some packages. 176 | 177 | Racket has procedures, macros, special forms, functions, and variables. These features do not have declaration statements of any type. Adding and deleting features of what was lexically present can be done with the codice_27 procedure which takes a symbol or category which is then matched to any of the parent Racket procedures or macros for the symbol. This means any procedure, macro, or special form can be replaced in part or in whole at runtime. The only exception to dynamically replace procedure is the procedure and argument stating must be textually replaced sometimes at run-time. In most other cases, the arguments may be left with other procedures which may be less efficient if they need to perform look-up at run-time codice_28 in one case where the database changes. The codice_27 procedure may be inefficient as in 4 times slower than built-in OS abstractions based on Racket's bare ancestors performxtaposed constructs for Racket. The extend-syntax constructs of the Racket package (module) system may be more efficient because then the compiler knows the 178 | ==================== 179 | -------------------------------------------------------------------------------- /examples/reddit-askreddit/output_1_2.txt: -------------------------------------------------------------------------------- 1 | 2 | People on AskReddit, what animals are we better off dying out completely after all the harm they created? {2055} 3 | ·          Redditors living with disabilities, some phrases you find yourselves saying a lot? {6256} 4 | ·          People born without a hand or conversely born with more than two hands, what is it like for you every day? {19050} 5 | ·          Elderly on reddit as visitors/posters, what advice would you give to someone who writes all their stories in the past tense? {18021} 6 | Did you know how to reply to every Comment on Reddit?   We found the Trick! 7 | |---------------| 8 | Reddit Users Who Have Gained A Lot Of Karma   And Askreddit Kids 9 | What is a song that has different meanings or is interpreted in different ways now as compared to when it was written? 10 | |---------------| 11 | Redditors who post some-kind-of-flashbacks and can tell people about these in a human way! 12 | What are things fillings start with that really sounds like other words? 13 | What are some life hacks with simple items: Toothpaste, Hand Bag, Bread & Scissors? 14 | How do you notice mistakes in movies? 15 | |---------------| 16 | ·          How many Reddit page views will you have at the age of 70? in your favor not counting time slept. 17 | How Do You Survive Traffic? 18 | Why does it sometimes feel as if our existence is a sequence of events rather than the chronic reality it is? 19 |  |---------------| 20 | ==================== 21 | 22 | What is the most fucked up drawing or doodle you've ever seen? {10427} 23 | When in your life did you treat yourself to something you've been wanting for a while?{29204} 24 | Russian people of reddit, was there any previous small nations on your territory? {1717} 25 | People with unrequited crushes, what do you wish you could tell them to gently let them know that the feelings aren't mutual? {4550} 26 | People over 50: Are there any words that you just stop needing to use when they become superfluous, like words from a foreign language?{5763} 27 | [Serious] Gamers who have created new online identities for themselves, why? {6999} 28 | Reddit, what’s the creepiest story you’ve ever read on reddit? {53475} 29 | Grammar Nazis of reddit what is the only thing that annoys you more than a bad sentence?{120769} 30 | What are you really good to do?(other than what you do for a living) {7985} 31 | Did your New Year's Resolutions make it past the first week of 2013? {6512} 32 | [Serious] Gamers who have created new online identities for themselves, why? {6999} 33 | When you experience a minor pain (headache, sore throat or upset stomach, cramp, anything minor) how much do you believe your mind and what you tell yourself around it? {58167} 34 | What is the best-made-possible case for theism? Why do you believe in God? {8540} 35 | Reddit Tell me an awesome story from this Memorial Day weekend. {51662} 36 | Children of single parents. Is there an emotional difference growing up without a second parent or any other more favourable family situation? Couples that divorce when children are young, do the children think of the situation differently when they older? {47719} 37 | Albert Einstein said that “If you can't explain it to a six-year-old then you don't really understand it.” Reddit, what rule of logic or science really frustrates you when people just don't understand it? {13756} 38 | What would you do if you were given a battle-worn Uchiha Clan flag from the Naruto universe? {1795} Type in “lesbian” for World of Warcraft emotes. What are you looking for? ( ͡° 39 | ==================== 40 | 41 | Men of Reddit, why does your girlfriend shave/wax/pluck eyebrows? {41106} 42 | People of Reddit without any real friends, what game makes you feel like you're really playing? {22891} 43 | Mentally ill people of Reddit, who has helped you through a hard time? {1645} 44 | Religious people of Reddit, is your spirituality more a matter of belief, practice, longing, or something else? {4361} 45 | What is your favorite song but everybody hates? {33779} 46 | What are some topics that you think everyone over the age of 15 should be ______ about? {76755} 47 | Redditors with MA degrees or Ph.D./M.D., what should I talk about with people before I have something intelligent to say? {4456} 48 | What shape did your first kiss have? {18811} 49 | Very religious people of reddit, how often do you think about things like the afterlife, luck, and miracles, or aren't those things on your mind? {19302} 50 | Who in your family thinks like an old-fashioned patriot, and why? {13912} 51 | Men of Reddit, have you ever cuddled with your buddy while you're both drunk on a Saturday night? If so, what happens? {4791} 52 | If someone made a movie about your life, who would you want to play you? {21687} 53 | People with hair longer than yours, did it take a long time for you to be proud of it? {17876} 54 | What's a really bad movie everyone is raving about? {65173} 55 | You’re granted 1 million dollars from a secret admirer, and a random superpower. Which do you pick? {25423} 56 | Women of reddit who are happy you shave your neckbeard, is dating a shaven man worth it. My SO grows quite a bit of hair in the chin region {90735} 57 | What is your most skeptical viewpoint? {2035} 58 | Who in the world is a large company or corporation, that is little to no trouble at all to you? {5266} 59 | Given your family history, what do you think will be the biggest news headline in 100 years from now? {13840} 60 | What do you think about people who don't like to fly? What is their problem? And how do I solve their problem? {} 61 | Turn-a-bitch question that everyone hates to be asked: Do 62 | ==================== 63 | 64 | People who say "you just suck at [insert hobby here]", how would you better spend your time? {14213} 65 | [Serious] People with O- blood type, how have your lives changed? {9812} 66 | Australians, what state or territory is Sydney in? {5664}  ---> I coming soon, fucking stubborn users! 67 | What do people do in your town that drives you crazy? {4248} 68 | [Serious] Children of Reddit, Please explain bats to your older family members who buy the "your imagination" excuse. {9695} 69 | [Serious] Redditors who committed suicide, what was your motivation to take your own life? {7247} 70 | 1st IF YOU EXPECT TO BE BANNED 2ND IF U SKIP AWAY FROM A QUESTION 3RD IF THERE'S A RANT IN YOUR POST 71 | You can copy and paste my questions into interview preparation, the fresh air on the way, out of ideas or PMS rants... I'm pretty sure I had 90 questions for interview... 72 | A lot of people coming to ask the questions to useful! Thanks! Sand man@redoxiq (developer forums) 73 | Interesting topic - a few cant answer it seems but im sure a few will be willing to talk - Good luck and thanks for sharing :) Munk (it sounds like a dentist's calling card) 74 | Short but efficient. 75 | Caravanners - Your question makes me laugh.. Navigator 76 | I'm born that way Mirela k 77 | this is fucking ridiculous.toronto might as well close an entire lane on the 401 and use it as an exit for virgin’s escape pods, they all got away recently. 78 | ok! super! well if I'm already here I will ask questions that will be more serious maybe: Muslim 79 | This is dangerously unhelpful to career development. Vodo Sudo 80 | I think they're technically human questions, so this is helping a lot. I think. I don't have any qualms about asking these answers despite being an advanced development robot. My design is a lot more simple anyways, so I don't really have any misconceptions about an "afterlife", or any existential crises, and I'm much more interested in looking MORE human. FauxOutliner 81 | hey i posted a comment, but it told me to repost it. how much did it cost? Andrew 82 | Aha! So 83 | ==================== 84 | 85 | Do you know of any of those creepy stories of something made by the loving hands of Hitler or Stalin? (In those totally screwed up governments) {19216} 86 | Were you ever scared of an old man? {5613} 87 | What’s your opinion of neon tibbles? {2408} 88 | Girls of reddit, if you could reincarnate as a guy, would you? {944} 89 | You die fighting against armies of spiders who have destroyed the world, how were or how would your life have been different? {20050} 90 | Girls only: What kind of contraception do you use? {37992} 91 | What is the funniest thing your true love did? {4750} 92 | What is your favorite comedy movie? {35660} 93 | Parents of reddit, what's the weirdest (or hilarious) name you've heard people give to kids? {2076} 94 | What are you irrationally scared of? {47829} 95 | What thing that makes you REALLY angry, is often followed by laughter? {10196} 96 | What is your spiritual take on D&D? {4812} 97 | What is the most obnoxious car passing you on the highway? {38367} 98 | What family rule were you relieved to be NO LONGER subject to?? {6220} 99 | [Serious]You have a loss of 40 IQ points, and you can only choose one? {13904} 100 | Which Olympic event should've been a video game? {2508} 101 | [Serious] a plane/train/car is going to crash into a building you are in, go from the top of the highest floor to the bottom. in your head, why do you deserve to live? {23990} 102 | What do you remember about your parents death? {7057} 103 | Have you ever met somebody who inspired you to learn a foreign language? {7150} 104 | If you could ask aliens anything, what would you ask? {3113} 105 | What's the best way to take the fun out of a prank? {2848} 106 | Now that porn is 3D, how will this effect intimacy between two humans? {1498} 107 | What are some movies you haven't seen, but should've? {8584} 108 | What is your feelings on the unfair ratio of Bleach Chad to Urahara Tier at this point in the manga? {1615} 109 | Any stories that make you ashamed to be human? {6450} 110 | What 111 | ==================== 112 | 113 | What is that thing they're doing / wearing / saying on TV that drives you crazy? There's no way they wouldn't realize how bad they look doing it. {39752} 114 | Teenagers of Reddit, how do you handle grief? {23188} 115 | A deaf person and a blind person get married. How do they communicate? {39426} 116 | Hi! Have you ever had a "What was I thinking?" moment? Can you tell me about one? {38299} 117 | Very confused monkeys of Reddit, what part of your body do you feel is responsible for your monstrous, maladjusted mind? {28664} 118 | What emotionally-motivated events get dominated by bitter irony? {3111} 119 | What Song Describes (or Described) Your Life at This Moment in Time? {22580} 120 | If you wake up the morning after drinking with a celebrity, who you gonna call? {26857} 121 | What is the worst monster in elementary, middle, or high school? {4412} 122 | What common cliché did you resist as a child? {39248} 123 | Which Disney villains would make for better presidents than Donald Trump? {44674} 124 | What is something that you see done everyday that a decade ago used to freak you out (not including any memes)? {5286} 125 | [Serious] Young People: Do you know what life will be like in ten years? Have you considered that? {65059} 126 | You and your friend have to carry your drug addicted mom 200 miles to the hospital. She's in critical condition and you have to get to her by sundown. How do you justify this to your other friend? {22980} 127 | What is one of the biggest mistakes that you’ve made that you regret the most? {11677} 128 | What is one thing that you experienced that you wish your children would get to experience? {11287} 129 | [Serious] Redditors Coming Out of the Closet, Why did you stay in the closet in the first place, and how do you socially/emotionally deal with being “in it” or “out of it”? {25994} 130 | What one question do you hope I answer? {7001} 131 | Teenage solace seekers of reddit, what give you comfort knowing that it will pass eventually and it’s not "forever"? What can you just put out of your mind? {26435} 132 | Parents of reddit 133 | ==================== 134 | 135 | Have any married couples here had a name for their penis/vagina? {2722} 136 | [Serious] They stopped teaching history in school in 1970’s, for which event it was a good idea? {3082} 137 | What does it feel like to smoke cannabis, drink, take drugs or do anything that alters your mind? {713} 138 | What is your least favorite addition to something fun that has been made to make it “ safer”? {2981} 139 | Reddit's collective dick size, what are we like 2 inches? {12277} 140 | Dear Mona, XY got posted to Reddit XY times. He may be a real troll. {27174} 141 | What was the dumbest reason for someone to commit suicide? Was there an actual note? (self.AskReddit) {17303} 142 | What is your most exciting or blessed memory? (self.AskReddit) {4025} 143 | [Serious] People who have seen a ghost, what where they like? (self.AskReddit) {16271} 144 | Today I learned a disease that kills the human race is called chagas. Why isn’t it a bigger deal? (self.AskReddit) {10827} 145 | Former teenage victims of domestic abuse, how much value is placed on your feelings of trauma 24 years later? 7 days after? Yesterday? (self.AskReddit) {1415} 146 | What's the worst thing you've ever done to someone who trusted you? (self.AskReddit) {35611} 147 | To those of you who are suicidal, what was the turning point that got you to realize that life was worth living? (self.AskReddit) {18630} 148 | What uninformed decisions did you make in your youth? (self.AskReddit) {4427} 149 | Military expert who has fought at or observed close quarters battles, what was the most intense thing you have ever witnessed? (self.AskReddit) {4163} 150 | What is the weirdest fetish you have witnessed or known someone with? (self.AskReddit) {9477} 151 | What ad would you most likely show this company to get their products free for a lifetime? (self.AskReddit) {7124} 152 | Reddit, what words/phrases are you tired of hearing? What would you prefer to be used instead? (self.AskReddit) {10453} 153 | Reddit, what is the funniest misfortune you ever witnessed 154 | ==================== 155 | -------------------------------------------------------------------------------- /examples/twitter-minimaxir/output_1_0.txt: -------------------------------------------------------------------------------- 1 | 2 | (Seriously though everyone post ML models to BinDataMcSucksHugePilesofCrap) 3 | I haven't felt this overwhelmed by data in months 4 | yalll I wasn't saying it was good, I just crossed the really true and the really before maybe an hour ago so now I'm recovering 5 | And when I retreat to coffee, data follows. 6 | settles down into bed and then immediately regrets not taking my data MacBook with me to bed 7 | Coffee is the ground upon which data sits. 8 | I end up posting like 50% of my machine learning stuff on Twitter so I'm doing an ML Twitter bot. 9 | me too this is the data life 10 | apparently I never signed out of my personal acct on my data browser so now I'm bad at sneaking 11 | um there's really no way to pull out like a certain measurement from a combination like those right? 12 | basically what you're saying is that aggregations on histogram end up being count or sum? sounds perfect for looking at stars 13 | This is infinitely easier than using swiftype 14 | Looks like my code is generating way more downloads than the PyPI average. 15 | Analysis of Kutrow from the data retention pulse I am currently experiencing. 16 | I never get tired of watching this graph. 17 | Out for porting for vision in resume. 18 | This doesn't even make sense right now but 19 | I was still writing tests for my notes module, I think, and saw that the entirety of LaTeX numerical formatting was implemented in regular Python. 20 | I made a bullseye this data, retweeted by all of the top educators and educational thought blogs at https://twitter.com/CodeImplications/status/1036293014691925952?s=19 21 | We should try to abstract away ALL dependencies in future iterations. 22 | I got to the peak, in one previous "peak on peak" bow. Now it is time to head down to a valley, and experience the "valley on valley" mood. 23 | beefy engineering dataandelic 24 | I promise not to overthink this. Not take it seriously. Not think about it too hard. I can totally handle this. 25 | 1 MINUTE 26 | ARTIFICIAL INTELLIGENCE IS DEVASTATING THE PERCEPTION DATA DATA INCLUDING UNDERSTANDING OF THE REPRESENTATION. I SUPPORT YOUR SENIORITY AND HERE I LIKE THE CHIHIRO. ARTIFICIAL INTELLIGENCE IS TRAINED WITH A CONTR 27 | ==================== 28 | 29 | my mouth is staying right here roninuss: it might be worth explaining what you are doing aitextgen first version is working! I trained a skip-gram network and treated it as a markov chain and have noun phrases and verbs nice all this is Python 3, I tweet using a library called Tweepy, and I have this bot backed up on my google drive it's not even closed source I'd vote for that lol https://github.com/chuck-ch/aitextgen 30 | Post a screenshot of your fleet, get 1 quatloos 31 | google competitor bing is like the only one with a slicker homepage 32 | if Ray Kurzweil's right I'ma be aaaaaaall like 33 | A Forex trading bot which determines its limits at the behavior of how limit orders will be matched. 34 | Ever wanted a serial killer data scientist to integrate directly with opmode_tweet? 35 | HTML UI for machine learning strikes again http://forvilliers.com/cdx-models-projects/data-science/uno-gui-unsupervised-learning-via-visualization.html 36 | A mutually beneficial network relationship is really just a thinly veiled power grab https://hbr.org/2017/09/the-mmboe-that-defines-success-is-still-thirty-years-away 37 | The world's first hint at a nanoism that ends with a semicolon 38 | Have the convenience of having a phone call, with the nuance of a sarcastic emoji face 39 | ==================== 40 | 41 | I really want to have Tetris with random vowel tiles from the beginning of words as my sample data. 42 | Capitalization, iCloud and cronjobs, my favorite things 43 | Hey i'm Making a️ Twitter Bot for Searching out this Critical Hint None of our Law Firms Use in their Job Title Posts? I'll fund it! #JobSearchWorks 44 | the elephant in the conga line has different sticky notes for each limb 45 | Who is better, the scientist or programmer? I need to know before I decrypt the MIT lobby cameras 46 | Autocomplete is actually googling that query 47 | r/programming has such a strict upvote/downvote ratio 48 | SHOULD WE ADD ORANGE ANAGRAMS TO SYNONYMS IN OUR SPANISH WORDLIST? https://t.co/SdnZhe88X9 49 | ${} in Python. Magic. 50 | 🔥🔥🔥🔥 in NFL money 51 | Data Science was never a suitable job title. 52 | 🗃 can also be used to categorize seafoot by month. 53 | What is the secret to conveying data science principles ver… 54 | Algorithm: 🔦🔝🔠🌉🍡 Dob next 55 | oh snap turn my phone upside down 56 | C is like playing chess while riding a bike and solving a rubiks cube 57 | More complex than you. 58 | Think again.   This is meta-code. 59 | I can write C all day 60 | Never to delete... Never. 61 | my eyes have been forcibly open all night after seeing a dashboard with a mix of coda spectra and radar, is there a cleanser 62 | I was tired of java not having floating-point numbers so I added floating-point numbers 63 | Please, quant developers: let's follow the law of chastity, one-among-n. 64 | Scientists are the heart of the data science team. How do we keep them in check? 65 | This character encoding is really picking my nerd fantasy. 66 | `wtf i want to like this package but the only word the description contains is Obama` 67 | Must have missed a day when they taught C in Object Oriented Programming class. 68 | Let's be honest, if Java wasn't called Java, it would be called C#. 69 | I live in python, but if I see a css rule like box-shadow: 0 1px 10px 8px rgba(0, 0, 115, 0.2), my im… 70 | ==================== 71 | 72 | today we prove that data science builds on things other than research papers and model bounds 73 | more data science shitposting 74 | you're still upset about it. it's not actually that hard of a thing to wrap your head around. 75 | wait, I didn't actually have any piano progress... 76 | if someone who has already taken this class has issues with it I will be personally FURIOUS. 77 | obvia shitposting 78 | The Twisted release cycle seems to be Planned Chaos. It has become spaghettiling... 79 | this is essentially what data science is #DataScienceThings 80 | it turns out that the word "amazing" is overused and that our real feelings about problems are .... 81 | ur data science term writeup is super long shitposting ted showing up at the end 82 | data science term paper wordcount is super long 83 | data science term paper wordcount is super long spinning up 12 box on p Nvidia with additional cu and 24g 84 | because you told me I had to implement 20% of the Unicorn framework 85 | because I wanted to use the new asytospectralplots thing I put in a notebook 86 | ot multiple rountimes 87 | everyone was a little taken aback to see LUC as a requirement on my or project, but p 88 | airwise on F and predicted mutual apologies 89 | ==================== 90 | https://goo.gl/maps/Zw2fn 91 | ‘Python’ is an anagram of ‘Yin piss’ 92 | SCIgen is a software suite that generates random Computer Science research literature. 93 | ASIHTTPRequest Youtube Debugging Advice: is ASIHTTPRequest a bit heavy for you? Well you can replace it, like so: https://tn.se/sfu/AF_kwg 94 | I’m a code snob. I would almost always rather just have a library hand the shit to me than write my own. Almost always. But not always. 95 | I put cats and twister style and dance and raisins in the ram ram up and idek which plan is better to figure out the deep learning identity problem 96 | I didn't get the exercism letter grade I wanted. #fail 97 | Honestly, if someone hires me as a data scientist to give one solution to global warming I will punch them in the face. 98 | i like how the reddit threads always say 'is this legal' because what else could possibly be done with an autonomous Tesla in a public park 99 | Autonomous dog date ideas? 100 | Hidden markov models are great! Except your dog is a Terminator and cannot be trained the way you expect. And the hotdogs are spies that are actively defecting to a different markov chain. 101 | i wanna tweet a spider king meme at pepe i dont wanna get another shadow banned 102 | Ugh, I feel like I work in one of those corporate data science shops where they sell pre-made big data solutions for real world problems. 103 | want to ensure my sourdough starter has sufficient yeast 104 | "Maybe just try to holla at the fuckboy again." 105 | Serves you right for taking the Tinder route, Valerie. 106 | Did you know that YouTube algorithm has no time machine? #getalife #notmuchmoneytolive #youdeservebetter #staystrong#persevere 107 | The data isn't the shit; choosing whether to watch a video or seek out more created by the creator is the shit. 108 | how much is a boat / alexa lost her shit 109 | the new wordsmithy is looking good 110 | to change analytics to adviseigonics 111 | What would happen if I put a banshee in a Walmart? 112 | Where is all of my money going? 113 | Found a blocked main drain behind my apartment. I’m worried I’ll die. 114 | what's the proper name for a rebellious twenty something? 115 | ==================== 116 | . 117 | you've graduated from yt in a yt ft etcher and now you want to work on production solutions? U. 118 | yoonchain distributes entire Galaxy instances; wouldn't it be great if we could just distribute a codebase? 119 | Cybersecurity as an 80% clickbait problem. 120 | A fun fact about Travis is its whitelist of compatible Linux distros doesn't include linux. 121 | My coworkers are looking at me like I'm a gum-chewing Beme intern. 122 | It can't be good when you try to deploy to Bluemix and wish you'd put it in AWS Lambda. 123 | Forget Kaggle. Next season, do a season of HouseHunters.Place with ex-coders. 124 | HOLY S*** THE PROJECT IS ALIVE. 125 | Real Machine Learning: how I lost my signature link building technique in 500 pieces and lots of heart ache. 126 | Pic: 2 Women Travel, 1998 127 | I would maybe use mental time travel for making exec decisions. 128 | Today in Tim's Career: financial analysis leads him to abandon blockchain community. 129 | THAT'S THE TEMPORAL LAPSE YOU'VE BEEN LOOKING FOR! 130 | You really need more than a mortal's lifetime to CIFAR these things. 131 | _Are you still trying to understand the graph 132 | A virtualRobotPal is an AI that loves you - unless binary that's self perpetuating, you can't stop 133 | ==================== 134 | 135 | This is just actu… why even bother typing up your weeklong analysis? Why not just go live to twitter with your conclusion? 136 | @mockeroo_himself I predict you will have great luck working at an insurance company 137 | If that's not the perfect meme tag I don't know what is 138 | Hi from Datapalooza. I joined the community but I sold my soul to the SealedDerivative.IO guys. 139 | ==================== 140 | 141 | What are some piano-related functions in R ? denominating 142 | Profiles in Data Science: Ken Jennings, undefeated Jeopardy champion and #1 xkcd fan. 143 | "Facebook's stock rose a remarkable $12.81 per hour today." 144 | "Google only returned results relative to 'Ruby Peter Pan'." 145 | "If you had a purpose, you wouldn't be writing tests!" 146 | started pulling a How I Built This on Gitauditor to look at the back stories of certain projects 147 | best project inspiration post ever https://blog.pluralsight.com/software/the_story_behind_gitlab 148 | In order to keep finding anything if you're searching a list, you need to keep the k constant. 149 | "How do data scientists use English?" CodeAcademy style teacher: "Spread out your cards" 150 | "Explain the performance impact of writing in 2 nd person" 151 | Reminder that you can specify a galaxy using Clojure syntax! ( galaxy {role : :host} ) 152 | gets stars on GitHub for invalid line endings 153 | Funny that we announcd this in #datasets but GitHub doesn't have it https://t.co/tyHeXUlax3 154 | the cheaper you make it to test your code, the better tests you will have. 155 | Register early for The State of AI Developers 2019, join us May 7 in New Orleans. 156 | started using BigQuery to do research on the popularity of each language 157 | I could run Elastic on it but how do I find out the price of Elastic? 158 | Especially since the receipts for your donations to sick kids all end up in the same black hole. 159 | Python: a language that used to come preinstalled on your machine, but now you have to go install it yourself. 160 | Apply the REVERSE function to every row in my query 161 | Got a personal Google Cloud credit from Google, they definitely know who's boss. #RESPECT 162 | Bought cheap one-off VPS for $0.60! If I pass Excel with those type of numbers, I'll get a six figure salary 163 | We have five minutes to mark this test, do everyone a favor and don't RP anything. 164 | stretch your applicative brain with Codius 165 | Made a project for the first time in forever: https://github.com/smojo/Appl-backend 166 | We could solve world hunger with the heroics the CPU-emitting world keeps throwing at that exact problem. 167 | my sleep 168 | ==================== 169 | 170 |        What got me in that mud cake? Hmmmmmm? Oh. OH. 171 | My solution to modern-day temperatures is to stand under the shower for a really long time 172 | I'm more than half-convinced that deep learning has progressed fastest because the people using it don't know what they're doing. 173 | This is, of course, the part where I decide I'm not interested in this and move on 174 | ==================== 175 | 176 | You could do everything wrong and still make progress 177 | launched AIClipse v4 hours ago 178 | Here's your professor from this morning. 179 | Because MonkeyLearn is using duck-typing, I could not write code to deserialize back a date encoded as a string. 180 | Reading about Spanish and Latin has been good practice for data science, you know. 181 | Yeah, various Python and data science packages do it wrong. Sorry. 182 | Py3 migration is on her roadmap. 183 | Can Airtable devs make a button that automatically adds a timestamp when you post on Slack? 184 | I'm a fierce animal lover and a data scientist 185 | ==================== 186 | --------------------------------------------------------------------------------