diff --git "a/lima_sampled_curated_all_data.jsonl" "b/lima_sampled_curated_all_data.jsonl" new file mode 100644--- /dev/null +++ "b/lima_sampled_curated_all_data.jsonl" @@ -0,0 +1,150 @@ +{"instruction": "Why is arabica coffee better than robusta coffee?", "response": "* One reason that the taste isn't as good for Robusta is that it has more caffeine compared to Arabica. Which may sound like a positive thing but caffeine carries a bitter taste which makes it an unpleasant drink. In fact the Robusta bean has 2.7% caffeine content, almost double the 1.5% of Arabica.\n* Arabica contains almost 60% more lipids and almost twice the concentration of sugar than Robusta. This factor also probably has a big impact on why we prefer the taste of Arabica.\n* From a price perspective, green beans of Robusta is about half the price of Arabica green beans on the commodity market.\n* Robusta is easier to tend to on the farm, has a higher yield and is less sensitive to insects - the extra caffeine is a chemical defense for the coffee seed as the quantity in the Robusta is toxic to bugs.\n\nAll of these factors help bring up the supply and lower the input costs for farmers to produce. With this more attractive price point, a lot of roasters back in the day would add Robusta to their blend in an attempt to reduce their costs and increase their profits. When coffee was initially sold in the 1900s the quality of coffee slowly and slowly deteriorated in an effort for companies to squeeze the most profit.\nWhere you’ll find it: Nowadays, it’s not often you’ll find Robusta in a coffee blends or in coffee shop. If you’re drinking instant coffee? Well, that’s probably all Robusta… but you probably don’t care very much about taste. In your espresso blend? That’s a mixed bag. Literally. Oddly enough, Robusta is still widely used as part of espresso blends – specifically Italian style blends. It is said to help improve the crema.\nOne thing to note is despite the association with Arabica of being higher quality, and Robusta as being lower quality, it’s not always the case. Top notch specialty Robusta coffee will usually taste as good as or better than low end Arabica. However, high end Robusta isn’t widely used or available. Rather, Robusta is usually used as a filler or cost reducer.\n\n* Robusta beans are much more circular, whereas Arabica are more oval.\n* Chlorogenic acid is a significant antioxidant and an insect deterrent. Robusta is 7-10% CGA and Arabica has 5.5-8% CGA.", "score": 4} +{"instruction": "How can I best review my own code?", "response": "First of all, make use of tools to check as much as you can. Tests (backed up with some reasonable code coverage) will give you some confidence of the correctness of the code. Static analysis tools can catch a lot of best practice things. There will always be issues that you need human eyes on to determine though and you will never do as good a job reviewing your own stuff as someone else, there are some things you can do to help however\n\n* Check tests exist and pass (possibly have a target test coverage, though you may need to break this in certain cases, but you should be able to justify why)\n* Check Static analysis passes (there will also be false negatives here but that is fine as long as you can justify why then its fine to suppress them)\n* Maintain a check list of further things to check in review (ideally add this as new static analysis rules if possible) make sure you check anything the SA can't check, e.g., are comments still valid, are things named appropriately (naming things is of course, one of the 2 hard problems known to computer science)\n* If a fault is identified check if the cause is systemic and look at why it wasn't found in earlier tests or reviews\n\nThis of course is useful when you are reviewing others code as well", "score": 4} +{"instruction": "What should a developer be happy about? What should a manager be happy about? What should a user be happy about? What should a client be happy about? What should a project be happy about?", "response": "If this is a medical application you are talking about it is serious stuff. What if the bugs affected real users? Developers would be much less happy if they put in life threat someone or if management has to retire a product or make public excuses. Nowadays it is pretty standard for software having minor bugs, but a medical application should be as much as bug-free as possible.\nA good developer should not be angry about bugs, but rather be happy, and a good manager already know how software development work so should not put under too much pressure its team unless really necessary:\n\n* It has been caught before product release\n* It is pretty standard for a programmer fixing bugs daily\n* If you have to focus on programming it is hard also to focus on testing\n* A tester Always reports bugs\n* A regular user usually not (unless particularly angry or determined)\n* If the user is your client, he will report bugs and he will not be happy if the project already cost him much money or required a good amount of time.\n\nLiterally a project for which bugs are not reported at least on a weekly basis:\n\n* Too simple project: no value every other company could easily create a better clone\n* Not much-used project: maybe there are bugs but no one incurred in them\n* Bad management: if there are no bugs it's time to move on further work (extra features or different projects).\n* Bug fixes should drive development, they give a correct idea of what should work and is not working, this allows to manage priorities between fixes and features\n* In important projects it makes sense adding automated testing so that every fix and feature comes with new tests that avoid breaking pre-existing functionality", "score": null} +{"instruction": "What are the ways to make my beard look fuller?", "response": "If you’re dissatisfied with the patchiness of your beard or mustache, there are several easy steps you can take to thicken your facial hair. Many of these involve making simple lifestyle changes, like changing your diet or exercising more. If these easy techniques don’t give you the results you’re looking for, there are several products you can try out, which may either make your beard thicker or make it appear so. If these don’t work and you really want fuller facial hair, there’s always the option of getting a beard transplant.\n\n## Make lifestyle change\n\n1. Eat a healthy diet to get the vitamins and nutrients your beard needs. Like any other part of your body, your beard needs vitamins and nutrients to grow properly. Be sure your diet includes a balanced mix of whole grains, lean protein, healthy fats, fruits, and vegetables. Remember to also drink plenty of water and other fluids to stay hydrated. Since your hair is protein-based, it’s especially important that you eat plenty of protein. Sources of protein include: lean meats, eggs, dairy products, beans, legumes, seeds, and nuts. Adult men should aim to consume around 0.84 grams (0.030 oz) of protein per 1 kilogram (2.2 lb) of body weight.\n2. Exercise to help stimulate hair growth. Being physically active on a regular basis will help boost your blood circulation. Better blood circulation will allow more nutrients to reach your hair roots, helping to boost hair growth. Try to get at least 30 minutes of aerobic exercise every day by jogging, taking a brisk walk, or riding a bike. If you don’t exercise much, ease into an exercise regime gradually so that you don’t injure yourself.\n3. Reduce stress in your life to keep your hair healthy. Constant, high levels of stress can make your hair more brittle and even cause it to fall out. You can minimize stress in your life by getting enough sleep every night, exercising regularly, and participating in relaxing activities. Aim to get between 8-10 hours of sleep a night if you’re a teenager, and at least 7 hours of sleep if you’re over 18 years of age. Activities like yoga, meditation, and reading can also help you relax.\n\n\n## Take care of your facial hair\n\n1. Let your beard grow for at least 4 weeks. You’ll need to let your facial hair grow out a while before you can determine just how thick it looks. While your beard may look patchy and uneven after a week of letting it grow out, after 4 weeks, it may actually look lush and full. Try not to start trimming your beard too soon. Don’t trim any hair until you reach the 3rd week or so. Itchiness usually fades after the 2nd week of growing out your facial hair.\n2. Comb and brush your facial hair to cover patchy spots. As you let your facial hair grow out, comb and brush it daily. Comb areas that are thicker towards the patchier areas you want to cover. This will help train the hairs to grow in that direction. If you plan to keep a beard long term, consider investing in a quality beard brush.\n3. Apply a beard oil to your beard to soften and nourish it. In addition to eating a healthy and well-balanced diet, using beard oil is another great way to supply your beard with the vitamins and nutrients it needs to look full and healthy. Apply beard oil to your facial hair once a day to begin with. Apply your beard oil soon after you get out of the shower, when your beard is still slightly damp, but not dripping wet. Beard oil will also help reduce the itchiness of your facial hair during the first 2 weeks of growth.\n\n\n## Use hair-growth products\n\n1. Dye your facial hair to make it look thicker. If some of your facial hairs are blond, light brown, or gray, your facial hair may look thinner and patchier than it really is. Dyeing your facial hair a darker color will make these hairs more visible, making your beard or mustache look fuller and more uniform. You can find hair dye made for coloring facial hair at your local drug store. When dyeing your facial hair, follow the directions on the container closely, so you don’t end up with dye spots on your skin.\n2. Take biotin supplements daily to thicken your facial hair. Biotin supplements may help thicken your facial hair by strengthening your hair’s keratin infrastructure, giving your facial hair a fuller appearance. You can find biotin supplements over-the-counter at your local drug store. Biotin supplements, unfortunately, won’t make hair grow in places where there isn’t any to begin with. Products marketed as beard-growing pills are usually a combination of biotin, vitamin C, zinc, and other vitamins. The claims of these and other supplements haven’t been proven in clinical trials, so take them with a hefty grain of salt.\n3. Apply Minoxidil (aka Rogaine) to your facial hair. Minoxidil helps stimulates blood circulation, which allows more nutrients and hormones to reach your hair follicles. This helps encourage growth of your hair. You can buy Minoxidil as a foam or liquid. You can purchase Minoxidil at your local drug store. The 2 most common side-effects users of Minoxidil experience are lower blood pressure and dry, irritated skin.\n4. Look into getting a beard transplant if other methods don’t work. A beard transplant involves a doctor taking hairs from the back of your scalp and transferring them to areas on your face where you want thicker hair. After the procedure, it may take a few months for you to see its final results. The procedure typically takes several hours and requires the application of a local anesthetic. A beard transplant can cost upwards of $7,000.", "score": 4} +{"instruction": "What are some tips for learning a foreign language?", "response": "Learning a foreign language is an important skill that can open up countless opportunities and experiences. Whether for travel, work, or personal growth, knowing how to speak a second or third language is a valuable asset in today’s increasingly globalized world. While it may sometimes seem like a daunting undertaking, there are several key strategies that can help make learning a new language easier and more effective.\n\nOne of the first steps in learning a foreign language is to set a goal. This could be something as simple as learning a few key phrases before a trip abroad or something more long term, such as achieving fluency in a language for work or personal reasons. Setting a goal provides a clear endpoint and motivation to keep going.\n\nOnce a goal has been established, it’s important to create a structured learning plan. This can include setting aside dedicated study time each day or week, focusing on specific aspects of the language (such as grammar or vocabulary), and setting measurable benchmarks to track progress. A learning plan keeps things organized and ensures that steady progress is being made toward the ultimate goal.\n\nImmersion is one of the best ways to learn a foreign language quickly and effectively. This can involve watching movies without subtitles, reading books in the target language, listening to podcasts, or even taking a trip to a foreign country. Immersive learning helps build confidence speaking the language and exposes learners to new words and concepts in a natural way.\n\nPracticing regularly is essential when learning a foreign language. This can take many forms, including talking to native speakers, practicing with flashcards, using online programs, or simply thinking in the target language. Practice reinforces what has already been learned and helps develop new skills. It also builds confidence, which is crucial for improving language ability.\n\nIt’s important to remember that learning a foreign language takes time and practice. Don’t get discouraged if progress seems slow - every little bit counts! With dedication and perseverance, anyone can become multilingual.", "score": null} +{"instruction": "I'm trying to create an object that can be used in three different ways, and each time it's used it should return a different value. I want to use the same object to fulfill each condition. How can I do this?", "response": "If you take advantage of how == works, you could simply create an object with a custom ```toString``` (or ```valueOf```) function that changes what it returns each time it is used such that it satisfies all three conditions.\n```\nconst a = {\n i: 1,\n toString: function () {\n return a.i++;\n }\n}\n\nif(a == 1 && a == 2 && a == 3) {\n console.log('Hello World!');\n}\n```\n\nThe reason this works is due to the use of the loose equality operator. When using loose equality, if one of the operands is of a different type than the other, the engine will attempt to convert one to the other. In the case of an object on the left and a number on the right, it will attempt to convert the object to a number by first calling ```valueOf``` if it is callable, and failing that, it will call ```toString```. I used ```toString``` in this case simply because it's what came to mind, ```valueOf``` would make more sense. If I instead returned a string from ```toString```, the engine would have then attempted to convert the string to a number giving us the same end result, though with a slightly longer path.", "score": 5} +{"instruction": "Explain why the Elves do not have children, and why they are reluctant to do so.", "response": "Tolkien himself addresses this in an essay called "Laws and Customs Among the Eldar". There are essentially two problems:\n\n* Elvish libido diminishes over time. Contrary to popular belief (and outward appearance, from a human perspective), Elves do age; and as they get older, they get less interested in procreation.\n* Having children is exhausting. The Elves believe that their child-bearing process draws a heavier physical and spiritual toll on them, compared to what it does to humans. They're understandable reluctant to have a lot of kids, because what's the point in having a dozen kids if doing so might literally kill you?\n\nFrom "Laws and Customs":\n\nIt might be thought that, since the Eldar do not (as Men deem) grow old in body, they may bring forth children at any time in the ages of their lives. But this is not so. For the Eldar do indeed grow older, even if slowly: the limit of their lives is the life of Arda, which though long beyond the reckoning of Men is not endless, and ages also. Moreover their body and spirit are not separated but coherent. As the weight of the years, with all their changes of desire and thought, gathers upon the spirit of the Eldar, so do the impulses and moods of their bodies change. [...]\nAlso the Eldar say that in the begetting [conceiving], and still more in the bearing of children, greater share and strength of their being, in mind and in body, goes forth than in the making of mortal children. For these reasons it came to pass that the Eldar brought forth few children; and also that their time of generation was in their youth or earlier life, unless strange and hard fates befell them.\nHistory of Middle-earth X Morgoth's Ring Part 3: "The Later Quenta Silmarillion" Chapter 2: "The Second Phase" Laws and Customs Among the Eldar\n\nThat last point about the toll on their mind and body is worth expanding on, and fortunately Tolkien does this later in the essay:\n\n[A]ll the Eldar, being aware of it in themselves, spoke of the passing of much strength, both of mind and of body, into their children, in bearing and begetting. Therefore they hold that the fëa [soul], though unbegotten, draws nourishment directly from the fëa of the mother while she bears and nourishes the hrondo [body; later changed to the word hroä], and mediately but equally from the father, whose fëa is bound in union with the mother's and supports it.\nHistory of Middle-earth X Morgoth's Ring Part 3: "The Later Quenta Silmarillion" Chapter 2: "The Second Phase" Laws and Customs Among the Eldar", "score": null} +{"instruction": "Orphans are children who've lost parents. Widows are people who've lost spouses. Where's the word for parents who've lost children?", "response": "Orphans are children who've lost parents. Widows are people who've lost spouses. Where's the word for parents who've lost children, they wondered. What are we?", "score": null} +{"instruction": "I'd like a poem, in the style of a poem. It should have a rhythm, but it should be a poem about how to make a girl fall in love with me.", "response": "I say hello to the man called Jude\nAsking that he make happier notes from sad tunes\nOnce you let inside your love, notes happier hued\nAfraid not my dear man, for with the newer moons\nYou shall find your love, come into to happier places\nCarrying too much upon yourself, with so much weight\nLying to yourself will lead only to dark spaces\nYou have found your love, now take the bait\nAgain, you must allow her access inside your heart\nDo not play games of stop and go, it shall get better\nYour will and love are strong enough start\nSo come now Jude, you must go out and get her", "score": null} +{"instruction": "Write a letter to the Batman.", "response": "Did you know the Batman was my greatest inspiration? He was a lone man who changed the face of Gotham but he was beyond our understanding.\nMaybe he did have a moral code, but he never chose fit to share that code with the rest of us. Sometimes he fought criminals, sometimes he didn’t. He allowed evil to live and fester rather than dirty his hands with a gun. He allowed poverty and degradation to run rampant in Gotham, destroying more lives than I ever could. Slowly and insidiously. All the while he flew through the air, armed with millions of dollars worth of gadgets.\nHis agenda was arbitrary and merciless. We never knew where he would strike. Who he would chose to save. So I salute you, dear departed Batman. May I bring to the streets of Gotham a fraction of the chaos that you did.", "score": null} +{"instruction": "What is the relationship between muscle mass and strength? Can a buff guy be weak?", "response": "Certainly there is a correlation between muscle mass and strength, but there is more to the story. Two reasons why muscle mass and strength may not be completely congruous are:\n\n* Muscle fiber density\n* Muscle utilization\n\nDensity:\nYour muscles are composed of four different types of fibers (slow-twitch, and three forms of fast-twitch). These fibers have different profiles in terms of force applied and recovery time. Slow twitch fibers, for example, recover quickly but have less force as there are fewer muscle fibers per bundle, compared with the fast-twitch fibers. \nExtra water in the form of glycogen can also cause muscles to take up more volume with the same amount of actual muscle. This glycogen can be a ready source of energy for the muscles, but isn't going to increase their maximum theoretical force for a single heavy lift (per Olympic competition) where endurance through a long set isn't at issue.\nUtilization:\nThe average person is able to utilize 20-30% of their total theoretical muscle strength when trying their hardest. (Ref. Tsatsouline, Power To The People) Top lifters use perhaps 50% of their theoretical strength. Olympic and powerlifting-style training focuses on training the neural pathways to utilize a greater percentage of the available muscle mass. Since muscle fibers contract all internal cells (the all-or-nothing principal), this training is focused on convincing a greater proportion of fiber bundles to contract during a lift. \n\nCan a buff guy be weak? \nWell, it depends on your definition of buff. A cut guy can be weak (compared to a strength athlete), because muscle definition is more about having low body fat covering the muscle than it is about having large muscles. \nA bodybuilder with decent volume won't be able to lift as much as a comparable powerlifter because he/she doesn't train for strength per se. It seems worth noting that Olympic/power lifters also want to minimize their size (except for the heavyweights) because it affects their weight class in competition, so there is an added incentive to train for neural utilization over additional muscle mass.", "score": 3} +{"instruction": "What does it mean to kern a font?", "response": "Any font has built-in spacing determined by the “side bearing” of each character. In metal type, the side bearing is the physical right or left edge of the individual piece of type that determines its spacing from the characters on either side. Digital fonts mimic this in the basic design process.\n\n* “To kern” means to adjust the spacing between a pair of letters, numerals, punctuation, etc. (properly “glyphs”) so that their spacing looks correct. The letters AV, for example, have to overlap in any usual typeface, otherwise at least one of them ends up looking lost and bewildered. Their kerning is tightened to snug them up to one another. An italic f will collide with a following question or quote mark in some fonts, so the kerning must be opened up from the default spacing.\n\nAn ancient scribe could kern effortlessly with pen and ink, and if you read old manuscripts you'll see lots of places where a letter intrudes into the space of the one next to it. With metal type, it wasn't so easy. Kerning required cutting away some of the metal base, or table, of the character. The amount of time, skill and work involved is left as an exercise for readers whose minds are in need of a little boggling. The shapes of the letters in metal type intended for long passages of text such as books, or especially newspapers, were designed to minimize the amount of kerning that would be necessary.\n\nKerning tables built into a digital font assign preset kerning values to specific letter pairs, according to the designer's best estimate of how they should look. There can be a dozen or so pairs (or none!) in a cheapo font, thousands in a high-end one. No matter how thoroughly and well a kerning table is built, though, there will still be situations where some awkward combination requires that the kerning be loosened or tightened from the preset values of the glyphs.\n\n* Letter spacing (often “tracking” in software applications) adjusts the spacing between all the glyphs in a piece of text. This can help to make a page look a little more open and inviting, for example, especially with a similarly open leading. Very large type, such as a big headline, almost always benefits from tightening the tracking. Tiny type, such as in captions or footnotes, is made more readable by opening the letter spacing a bit, especially if the paper is absorbent and will allow the ink to spread a little.\n\nA final note: Use caution with both kerning and tracking. Tracking is very often wildly overdone, kerning is seldom done enough.", "score": 3} +{"instruction": "I am a 30 year old woman who weighs 130 lbs. I want to lose 10 lbs. I would like to know how many calories I should be eating each day to lose 10 lbs per month. I would also like to know what I should be eating each day.", "response": "Our daily calorie needs vary depending on our gender, age, height, weight, and activity level. Here is a suggested daily food plan. Note that this is just an example and you will have to do some of your own research to figure out what works for you.\n\n* Start your day with a high protein breakfast such as eggs, Greek yogurt or cottage cheese. Avoid carb heavy breakfasts such as pancakes, waffles, sugary cereals, etc. which will just spike your blood sugar and leave you hungry a few hours later.\n* Eat a healthy lunch including a protein, some veggies and some carbs. Avoid high carb lunches such as sandwiches, pasta, etc. that will make you drowsy and unproductive in the afternoon.\n* Eat a healthy dinner with protein, veggies and healthy fats. Avoid large dinners that will make you feel bloated and uncomfortable.\n* Snack on nuts, seeds, veggies (carrots, celery, etc.) and high protein snacks such as Greek yogurt.\n* Drink plenty of water throughout the day. Aim for at least 8 glasses.\n\nIn addition, to keep a healthy life, get some exercise. Even if you can't make it to the gym, you can do pushups, situps and other exercises at home. Take the stairs instead of the elevator, park further away from your destination and walk, etc.", "score": null} +{"instruction": "Dear Officer, I am writing to appeal the parking ticket I received on [Date] for failing to display my parking permit. I apologize for any inconvenience this may have caused and would like to explain the circumstances that led to this oversight. On the day in question, I was hurrying to an important appointment and mistakenly forgot to place my parking permit on the dashboard. This was a genuine mistake on my part, as I have always been sure to display my parking permit when parking in the designated area. I have attached a photo of my permit as proof that I am indeed in the possession of a legitimate permit. I understand the importance of complying with parking regulations and take full responsibility for my mistake. However, I kindly request that you consider waiving the fine in light of my past compliance and honest mistake on this occasion. Thank you for your understanding and consideration in this matter.", "response": "Dear Officer,\n\nI am writing to appeal the parking ticket I received on [Date] for failing to display my parking permit. I apologize for any inconvenience this may have caused and would like to explain the circumstances that led to this oversight.\n\nOn the day in question, I was hurrying to an important appointment and mistakenly forgot to place my parking permit on the dashboard. This was a genuine mistake on my part, as I have always been sure to display my parking permit when parking in the designated area. I have attached a photo of my permit as proof that I am indeed in the possession of a legitimate permit.\n\nI understand the importance of complying with parking regulations and take full responsibility for my mistake. However, I kindly request that you consider waiving the fine in light of my past compliance and honest mistake on this occasion.\n\nThank you for your understanding and consideration in this matter.\n\nSincerely,\n[Your Name]", "score": 4} +{"instruction": "How do you train your crew to gain xp?", "response": "###Piloting\nA crew member who is controlling a helm gains one point of experience for each incoming projectile that is dodged during combat. This includes asteroids, so long as you are in combat at the time. (Note that the dodges do not count while you ship is under the effects of +60% evasion from a cloak.)\nThis can be explicitly trained by finding an enemy that cannot break through your shields, and letting him fire at you. Increasing your dodge chance (i.e. more power to engines) will help this occur quicker, but even with the default chance you can max out the skill eventually.\n\n###Engines\nExactly as for piloting, a crew member manning the engines gains one point of XP for each projectile evaded while uncloaked in combat - and so it can be trained in the same way.\n\n###Weapons\nA crew member who is manning the weapons station gains one point of experience for each weapon that is fired. It doesn't matter whether it hits or misses, or whether it can do damage (e.g. a beam weapon fired at a shield).\n(Multi-shot weapons such as burst lasers still count as a single fire order and hence a single XP.)\nThis can be trained by firing non-lethal weapons (e.g. ones that do ion damage) repeatedly against a target that cannot damage you.\n\n###Shields\nA crew member manning the shields station gains one point of experience for each shield \"bubble\" that is brought back up during combat. It doesn't matter why the shields were down, be that direct enemy fire, ion damage, asteroid strikes, or even manually removing and then restoring power to the shield systems.\nThis can be trained by letting a target that cannot break through all of your shields repeatedly take one layer down. (For fastest results, move your pilot away from the helm, or reduce your engines to 0 power. This will reduce your dodge chance to 0%, ensuring that everything hits your shields.)\nNote that you used to be able to manually remove power and restore it in combat, to get points, but this has been patched.\n\n###Repair\nA crew member gains one point of experience for getting the \"finishing blow\" when repairing a (sub)system. Note that hull breaches provide no repair experience.\nThere's no specific way to train this as it requires your systems to be damaged. Though you can focus the XP gains by always having the same person run around and repair everything after a battle.\n\n###Combat\nA crew member gains one point of experience for getting the finishing blow when fighting an enemy crew member or (sub)system.\nThis generally gets trained in \"real\" situations. However, since XP is gained for taking out systems, a few extra XP can be gained from boarding if one tries to take out the enemy's systems before the crew.", "score": 4} +{"instruction": "What is the significance of the minimum date value for a datetime in SQL Server?", "response": "The decision to use 1st January 1753 (```1753-01-01```) as the minimum date value for a datetime in SQL Server goes back to its Sybase origins.\nThe significance of the date itself though can be attributed to this man.\n\nPhilip Stanhope, 4th Earl of Chesterfield. Who steered the Calendar (New Style) Act 1750 through the British Parliament. This legislated for the adoption of the Gregorian calendar for Britain and its then colonies. \n\nThere were some missing days (internet archive link) in the British calendar in 1752 when the adjustment was finally made from the Julian calendar. September 3, 1752 to September 13, 1752 were lost.\nKalen Delaney explained the choice this way\n\n> So, with 12 days lost, how can you compute dates? For example, how can you compute the number of days between October 12, 1492, and July 4, 1776? Do you include those missing 12 days? To avoid having to solve this problem, the original Sybase SQL Server developers decided not to allow dates before 1753. You can store earlier dates by using character fields, but you can't use any datetime functions with the earlier dates that you store in character fields.\n\nThe choice of 1753 does seem somewhat anglocentric however as many catholic countries in Europe had been using the calendar for 170 years before the British implementation (originally delayed due to opposition by the church). Conversely many countries did not reform their calendars until much later, 1918 in Russia. Indeed the October Revolution of 1917 started on 7 November under the Gregorian calendar.\nBoth ```datetime``` and the new ```datetime2``` datatype mentioned in Joe's answer do not attempt to account for these local differences and simply use the Gregorian Calendar.\nSo with the greater range of ```datetime2```\n```SELECT CONVERT(VARCHAR, DATEADD(DAY,-5,CAST('1752-09-13' AS DATETIME2)),100)\n```\nReturns\n```Sep 8 1752 12:00AM\n```\nOne final point with the ```datetime2``` data type is that it uses the proleptic Gregorian calendar projected backwards to well before it was actually invented so is of limited use in dealing with historic dates.\nThis contrasts with other Software implementations such as the Java Gregorian Calendar class which defaults to following the Julian Calendar for dates until October 4, 1582 then jumping to October 15, 1582 in the new Gregorian calendar. It correctly handles the Julian model of leap year before that date and the Gregorian model after that date. The cutover date may be changed by the caller by calling ```setGregorianChange()```. \nA fairly entertaining article discussing some more peculiarities with the adoption of the calendar can be found here.", "score": null} +{"instruction": "I have been researching Mark Twain's life and works and I am wondering if he got his inspiration from a notebook that I found. I have attached a picture of the cover.", "response": "Dear [Author Name],\n\nIt has come to my attention that you have published a series of books about the characters Tom Sawyer and Huckleberry Finn. I would like to know, sir, where you received your inspiration for these characters.\nWhen I was a young man, and an aspiring writer, I invented two characters who had a variety of adventures along the Mississippi River. Now, as you may have guessed, my characters names were Tom Sawyer and Huckleberry Finn. After reading your novels I have come to the conclusion that you somehow gained access to my notes. I do not have time to speculate on how you managed this, but I intend to find out.\nYou will contact me, inform me how and why you have stolen my characters, and acknowledge me in your works. I expect your response in a timely manner, or my lawyer will be contacting you.\n\nRegards,\n[Your Name]", "score": null} +{"instruction": "I am a time traveler from the future. I was in the middle of searching for the Ark of The Covenant when my time-travel machine was unlinked by my boyfriend. I have no idea how to contact the future or even if I can. I do have the Bible though. I need to get a message to myself in the year 2500.", "response": "It was all Jeremy's fault. See, Jeremy was my boyfriend. And, well, maybe I shouldn't have cheated on him, but that's not the point.\nIf I hadn't cheated on Jeremy, then he wouldn't have unlinked my time-travel machine. I had planned on going back in time to search for the Ark of The Covenant and Jeremy was my spotter.\nOnly, Jeremy found out I was cheating on him.\nSo now, I sit here in the desert with nothing but a sweaty robe and sandles racking my brain for SOME sort of message that will get to me in 2500 years. Then it hits me: the Bible. I'm in biblical times after all.\nI search for days and come across men who say they hail from the \"tribe of Levi.\" I show them things that make them think that I am enlightened by God, you know, Physics and all that. Then, they ask what I believe to be the most important piece of knowledge for them. This is my chance. If I was told never to sleep with another man, then maybe I wouldn't cheat. But I have to make it sound universal, otherwise they won't write it down.\nI tell them, \"If a man lies with a male as with a woman, both of them have committed an abomination; they shall surely be put to death; their blood is upon them.\"\nI just hope this has no long-lasting implications.", "score": 4} +{"instruction": "How can I structure my project so I can use the same code for both frontend and backend?", "response": "These days it is much easier as vscode has better support for this.\nYou can use this directory structure so all the code is independent:\n```├── frontend/\n│ ├── src/\n│ │ ├── \n│ ├── package.json\n│ ├── tsconfig.json\n├── shared/\n│ ├── package.json\n├── backend/\n│ ├── src/\n│ │ ├── \n│ ├── package.json\n│ ├── tsconfig.json\n```\nThen in both the backend and frontend ```tsconfig.json```:\n```{\n "compilerOptions": {\n "paths": {\n "~shared/*": ["../shared/*"]\n },\n "rootDirs": [\n "./src",\n "../shared"\n ]\n }\n}\n```\nTo allow access to the shared code e.g.:\n```import { Foo } from '~shared/foo';\n```", "score": null} +{"instruction": "What is the difference between static_cast and dynamic_cast?", "response": "## static_cast\n\n`static_cast` is used for cases where you basically want to reverse an implicit conversion, with a few restrictions and additions. `static_cast` performs no runtime checks. This should be used if you know that you refer to an object of a specific type, and thus a check would be unnecessary. Here is an example:\n\n```\nvoid func(void *data) {\n // Conversion from MyClass* -> void* is implicit\n MyClass *c = static_cast(data);\n ...\n}\n\nint main() {\n MyClass c;\n start_thread(&func, &c) // func(&c) will be called\n .join();\n}\n```\nIn this example, you know that you passed a `MyClass` object, and thus there isn't any need for a runtime check to ensure this.\n\n## dynamic_cast\n\n`dynamic_cast` is useful when you don't know what the dynamic type of the object is. It returns a null pointer if the object referred to doesn't contain the type casted to as a base class (when you cast to a reference, a `bad_cast` exception is thrown in that case).\n\n```\nif (JumpStm *j = dynamic_cast(&stm)) {\n ...\n} else if (ExprStm *e = dynamic_cast(&stm)) {\n ...\n}\n```\nAn \"up-cast\" (cast to the base class) is always valid with both `static_cast` and `dynamic_cast`, and also without any cast, as an \"up-cast\" is an implicit conversion (assuming the base class is accessible, i.e. it's a `public` inheritance).\n\n## Regular Cast\n\nThese casts are also called C-style cast. A C-style cast is basically identical to trying out a range of sequences of C++ casts, and taking the first C++ cast that works, without ever considering `dynamic_cast`. Needless to say, this is much more powerful as it combines all of `const_cast`, `static_cast` and `reinterpret_cast`, but it's also unsafe, because it does not use `dynamic_cast`.\n\nIn addition, C-style casts not only allow you to do this, but they also allow you to safely cast to a private base-class, while the \"equivalent\" `static_cast` sequence would give you a compile-time error for that.\n\nSome people prefer C-style casts because of their brevity. I use them for numeric casts only, and use the appropriate C++ casts when user defined types are involved, as they provide stricter checking.", "score": 3} +{"instruction": "What is the purpose of the following line of code in the Android API?", "response": "Here is an example:\n```\nFile outputDir = context.getCacheDir(); // context being the Activity pointer\nFile outputFile = File.createTempFile(\"prefix\", \".extension\", outputDir);\n```\nExplanation:\n1. The `getCacheDir()` method returns the directory on the filesystem where your app can create cache files. \n2. The `createTempFile()` function creates a temporary file in a given directory.", "score": null} +{"instruction": "What are the benefits of studying at the University of Chicago Booth School of Business?", "response": "The University of Chicago Booth School of Business is one of the top business schools in the world. It offers a full-time MBA program as well as part-time and executive programs. The school has over 50,000 alumni around the globe who are leaders in their fields.\n\nBooth's rigorous curriculum emphasizes analytical thinking and problem solving. Students learn how to approach any business challenge with confidence and creativity. They develop practical skills they can use immediately in their careers, while also gaining a deeper understanding of how businesses work.\n\nThe faculty at Booth are renowned experts in their fields. They conduct groundbreaking research that pushes the boundaries of knowledge and shapes business practices around the world. Their insights inform every aspect of the MBA experience, both inside and outside the classroom.\n\nBooth's flexible curriculum allows students to follow their own interests and choose courses that best suit their career goals. Students can specialize in finance, marketing, entrepreneurship, operations management, or other areas. They can also take elective classes across the university, exploring subjects like public policy, international relations, law, medicine, and more.\n\nBeyond the classroom, students can enhance their learning through hands-on experiences like internships, consulting projects, and entrepreneurial ventures. The Polsky Center for Entrepreneurship and Innovation provides resources and support for aspiring start-up founders. The Harper Center houses state-of-the-art facilities where students can practice their presentation skills and connect with peers. And Booth's global network of campuses gives students opportunities to study abroad and build connections around the world.\n\nWith its rigorous curriculum, world-class faculty, and innovative approach to education, the University of Chicago Booth School of Business prepares students to become leaders in any field. Whether they pursue careers in finance, consulting, tech, healthcare, or another industry, Booth graduates have the skills and knowledge they need to succeed.", "score": null} +{"instruction": "I have multiple layers, and I want to know how to chain them. I also want to know how to select them for alignment. I also want to know how to merge them into a single layer.", "response": "It's not possible. The only thing you can do is link layers together or merge them. \nInstead, there are several alternative methods of handling multiple layers, each appropriate to a different task. You can chain layers to move or transform them, shift-click objects on different layers in the canvas to align them, or create a new layer based on all visible layers.\n\nInstructions:\n\n* Chaining Layers:\n 1) Make sure the Layers dialog box is open. If it is not, click on the Windows menu and select \"Dockable Dialogs\" > \"Layers.\" You can also hold down the \"Ctrl\" key and press \"L.\"\n 2) Hover your mouse between the Layer Visibility icon, which looks like an eye, and the layer thumbnail. A raised box will appear. Click this box to activate the chain.\n 3) Repeat this process on all of the other layers you wish to chain together. Once these layers are chained, you can move or apply transformation effects to all of them simultaneously.\n\n* Selecting for Alignment\n 4) Make sure the Toolbox is open. If it is not, click on the Windows menu and select \"Toolbox.\" You can also hold down the \"Ctrl\" key and press \"B.\"\n 5) Click on the Alignment Tool in the Toolbox. It looks like an empty rectangle with arrows pointing away from all sides of it.\n 6) Press and hold the \"Shift\" key while clicking on the layers in the canvas. Or click somewhere off the layers and drag a selection rectangle around them. Once you have selected these layers, you can choose an alignment method.\n\n* Merging Visible Layers\n 7) Make sure the Layers dialog box is open. If it is not, click on the Windows menu and select \"Dockable Dialogs\" > \"Layers.\" You can also hold down the \"Ctrl\" key and press \"L.\"\n 8) Click on the Visibility icon on any layer you do not want to include in your new layer. This will render that layer invisible.\n 9) Click on the Layers menu and select \"New from Visible.\"\n 10) Select the option that best describes how you want the layers to be merged from the dialog box that appears, and click \"Merge.\" This will merge all of the visible layers into a new layer but will not affect your original layers.", "score": 3} +{"instruction": "I am a sister in law who is not very well liked by my husband's family. I have been trying to deal with the issues for years but the more I try to be nice and understanding the more they push me away. They talk about me behind my back and are very mean and rude to me in person. I have tried everything to try and be the good wife and daughter in law but it is just not working. They also have a very strange way of doing things and will not explain anything. I know it is not my fault but I just do not know how to deal with them. I have been trying to be nice and understanding but it is just not working.", "response": "## Tone down the drama queen\n\n1. Realize that you may be dealing with a drama queen. The dynamics of a sister-in-law (S-I-L) are complex at the best of times but no more so if she has spent much of her life causing her immediate family to run to her beck and call. The drama queen thrives off drama and having everyone pay attention to her as a result. Sit back at your next family occasion and simply watch. Notice how she interacts with her family members, and how they in turn react back. If you witness a lot of step-toeing around her and acquiescing to her, she is clearly used to getting her own way. Consider what happens when she raises a drama-filled topic. Do other family members rush to agree with her about how \"outrageous\" the price of child care/electricity/shampoo/dog grooming/car maintenance/etc. is? Do they confirm her quibbles as quickly as possible, thereby engendering even more complaints? This shows that they enable her complaint-filled view of the world and sadly, have long been used to pandering to it. You can't change them but you can set a new role model by not complaining yourself. Notice what happens when you disagree with her. Does she pout, throw an adult-style tantrum or try and put you down? While it's important to stand your ground on things that matter to you, if she does react childishly, you'll need to learn how to manage this carefully. Learn not so much to disagree as to fail to agree––there is a fine line but it's about acknowledging her underlying need (notice me, care about me, help me, etc.) without buying into her view of the world.\n2. Do not get involved with the drama. Your S-I-L can let off steam, vent away and curse all she wants but there is no need to join the negativity. Avoid taking any of what is said personally––the crazier the reactions and actions, the more your S-I-L is grasping at straws to try and provoke you and restore the limelight back onto her. Let her have the limelight in her own home but don't hang around to be vented upon. If it gets really bad, simply announce that you will come back when she is feeling calmer and leave. Equally, if it's happening in your own home, tell it's time to leave. (You can even make up a fake appointment or an early bedtime if you really need a polite excuse.)\n\n\n## Deal with your hot button\n\n1. Look to yourself first. It can be hard when to do this when someone else pushes your buttons. But it is important because it is your reaction that defines whether or not she feels she can keep going in the same direction with you. Some of the things to consider include:\n\t* Stay silent and there's a risk she just thinks you're dumb, awed by her or chewed up with resentment. Take your pick, she's probably happy to think you're feeling all three. And she'll use your silence to keep putting across her point of view at the expense of yours. If you're grinning and bearing it, you're likely turning into a doormat. Argue and she probably thinks her brother/sister has married an angry, resentful and bitter so-and-so who hates her and will do anything to come between her and her brother/sister. You may feel as if you're defending yourself but to her, it's about you not caring what she thinks and possibly even about putting her down. This doesn't mean there isn't room for disagreement; it just means that the manner in which you realign her understanding must be done with care.\n2. Create boundaries. State the facts about matters that she pressures you about, firmly but politely, and avoid being emotional into the bargain. If you state things simply, stick to the facts and avoid making it into an issue about her, she has few places to run. Be aware that she may continue to resent you for speaking your mind in an assertive and self-effective way but this shouldn't stop you from clarifying your position. Ultimately, she has to respect someone who doesn't argue, lose their temper or bite their tongue but instead makes it absolutely clear where the boundaries exist. And even if she doesn't everyone else will plainly see that you are the cooler head in the room. For example, let's say your daughter Sheila has been running outside and has fallen over. Your S-I-L insists that she needs to see a doctor or something terrible might happen. You are quite sure nothing of the sort will occur and you know you're a good parent but S-I-L keeps badgering you, upping the intensity of all the bad things that will happen if you fail to follow her advice. Offer your S-I-L a calmly spoken \"That's very kind of you to notice that Sheila has a bruised knee but I am thoroughly satisfied that Sheila is going to be all right; this happens all the time and is a part of the way she learns to cope with the great outdoors. She does not need to see the doctor.\" And that's the end of it, no need to enter into any further discussion. If S-I-L keeps trying, smile and change the subject; refuse to re-engage on the matter.\n\n\n## You and your spouse\n\n1. Talk to your spouse about your feelings. Avoid name-calling, insulting or insinuating anything about your sister-in-law. Instead, explain how you feel when the proverbial dung hits the fan whenever you're in her presence. Your spouse cannot fault your feelings, so be clear and thoughtful in stating them. This puts your spouse on notice that you've recognized the behavior of your S-I-L for what it is and that you have chosen to no longer accept being at the receiving end of it. For example, \"Georgia, when your sister talks a lot about how hard it is to fund her children's private schooling, I feel claustrophobic because she doesn't know when to stop discussing it. Given that we can barely afford our mortgage, I feel a little distressed at this kind of talk all night. I'd like to stop putting myself in this position from now on by simply acknowledging her problem but not letting her continue discussing it all night and I'd like you to help me do this by finding other subjects to talk about that don't involve money. Do you think that this is something you can get on board with? \".\n2. Ask your spouse to think carefully about the way in which he or she relays information about family issues. Tell your spouse that you love to hear about how your sister-in-law is doing but that you don't appreciate hearing about the embellished drama that often comes with it. Help your spouse to recognize what you consider to be \"drama\" from what you consider to be \"real news\" and in time, both of you will learn to speak about family matters in a less dramatic and more emotionally healthy way. Remind your spouse gently whenever you feel that your S-I-L's drama is being repeated in your house. You could even have a special signal rather than having to spell it out each time. Place a ban on gossip at home (or anywhere). Remind one another whenever it veers anywhere near close to gossip and shut it down. It doesn't matter if you feel you are being gossiped about; you're the bigger person for not engaging in the same behavior.\n\n\n## Cop with your s-i-l's call and message\n\n1. Avoid answering what isn't worthy of a response. Don't respond to any text messages that do not directly relate to a family get-together, positive messages or something else perfectly normal. If you are getting texts that spell out her outrage about things that have happened to her, her annoyance at something you've apparently done or to send you gossip about family or friends, let it slide and leave her wondering. If you feel angry and want to send back a retort, reprimand or justification straight away, don't do it. Treat your anger or irritation as a warning sign to sleep on the matter. Furious texting or messaging can only end in more angst on both sides.\n2. Keep social media networking to a minimum with your sister-in-law if she sets off your buttons. If your S-I-L is truly a pain and a bit of a drama queen, it's possible that her social networking reflects her attention-seeking ways. You can be all too easily drawn into a web of her anger and drama venting if you can see her Facebook updates or her latest tweets. If she friends you, you can do one of several things. One, simply ignore the request. When she asks you about it, tell her that you don't use social media much to exchange important things (or at all); or\n\t* Two, reply to her with a \"Thanks but no thanks, I am not accepting new requests at the moment due to busyness/privacy/overloading, etc.\" You might also add something like, \"Besides, we see each other often and I prefer we talk face-to-face\"; or\n\t* Three, turn all of your settings to private so that she can't see who you are friends with. Either say nothing or tell her either that you stopped using social media or that you only have a tight knit circle of followers and don't wish to extend it at the moment. If you say you didn't receive any request, she'll only resend it, but it might buy enough time to throw her off the whole idea if you offer to \"look into it\" but let the \"looking into it\" drag on and refuse to raise the matter again); or\n\t* Four, offer her a more neutral alternative. Offer to friend her on Pinterest and focus solely on a shared craft or cooking board. Nothing racy or mean spirited, of course. Try to avoid using the terminology of \"friends\" when discussing any refusal to accept her request. Unfortunately, the usage of this term by social media sites has caused many people to take it at face value; many people are simply followers or fans, not friends. She might feel devalued if you make any suggestion that she is being rejected as a \"friend\". If she is already a follower of one or more of your networking sites, you might consider blocking her and turning your pages private on some sites. Most probably you will need to explain what has happened (with a sound excuse); if she's a drama queen, she'll not only notice but she'll take offense too.\n3. Take care if you do soldier on and try to be her friend online and/or through the phone. If she acts abusively, it is recommended that you keep records to show your spouse and other family members if needed. Save messages, emails, voice-mails, etc. Some drama queens like to \"attack\" when nobody else can see, thinking you won't have the courage to out them. This isn't about deliberately looking for dirt but it is a way of protecting yourself if anything should get out of hand. However, this is truly the stuff of last resort––if you handle yourself deftly in public situations around your S-I-L, everyone will know for real who is behaving and who is stirring the pot.\n\n\n## A kinder future together\n\n1. Get on with your lives together. You married your spouse, not your family. While his or her family members are part of the package, they are not a part of your intimacy and they do not share the same journey with the two of you. If you make it very obvious that you're not bothered by jealousy, insinuations, rumors or gossip, it will soon become clear to your S-I-L that her barbs, attitude and meanness aren't pricking you in the way that they used to. Eventually, it ceases to be profitable or enjoyable for her to keep bothering and most likely she'll begrudgingly go and find someone else to taunt and hassle. Spend less time around your S-I-L. In what ways are you putting yourself in her pathway? While it may feel like you have to put up with her, you can find ways to reduce the time spent together. For example, ask other family members to meet you at different times than when she is around, more often than not. Don't always do this, or she will have a legitimate cause for complaining, but time spent with other family members shouldn't always involve her presence. If you live far away and have to visit once a year, stay in your own accommodation to give yourself respite. Take walks, get outside and don't overstay any welcome when it comes to drawn-out family events that press your buttons. Families know the pressure points better than anyone and unfortunately, some like to press them. At such events, your S-I-L probably has alliances that she can set in train to be even more effective, so the less time spent near such complaint-prone cliques, the better.\n2. Listen for real. When you are around your S-I-L, try active listening and acknowledgment in place of letting your fog of self-defensiveness take control. When she gets on top of her complaining mountain, instead of trying to topple her off with \"if you think that's bad, you should live in my shoes\" replies, actually focus on her and try to discern what is really driving her jibes, whining and gossip. By not making this about you, you may be truly surprised at what you unearth.As for responding to her, acknowledge her pain with neutral comments like: \"I'm sorry you have had to go through that to pay an electricity bill. It must be hard having four kids chewing through the power each month.\" Don't offer advice, don't offer how you would deal with it and don't ever offer to pay or pave the way to see her problem resolved. She owns it, you simply acknowledge it.\n3. Be compassionate. If your S-I-L has been a pain more than once and has even done things to show you up or drag you down, the chances are that she will try to do it again, even when you don't bite. But if you're ready for it and if you're understanding as to where she is coming from (insecurity, loneliness, feeling left out, needing to be in control, etc. ), you can be compassionate about her actions and detach yourself from her drama. If you don't carry her load, she'll be forced to do it for herself and will stop seeing you as a viable target.", "score": null} +{"instruction": "> Explain why did users add sound cards such as the Adlib or Sound Blaster. What was lacking with the original PC sound chip?", "response": "> The original IBM PC and later variants used an Intel 8253 or 8254 as a sound chip.\n\nThe 8253 is a timer circuit, containing three timers able to generate timed interrupts or square-wave output with programmed frequencies. On the PC the third timer's output is, via an amplifier, connected to a simple speaker.\n\nAs said before, calling a 'simple' timer a sound chip is quite a stretch. \nSince it's a digital output, no level control is available. Only on or off is possible. At best this results in rather nasty sounding square waves. There is no provision to smooth the signal (beside the inertia of the speaker membrane).\n\nAlso, the only frequencies that can be selected are those that result from dividing the base frequency (1,193,181.8 Hz) by an integer in the range of 1–65535. So even when accepting the meager signal quality, only very few notes can be played at correct frequency. Already the basic 440 Hz concert pitch will be off by .5Hz. So whatever is played using the timer will sound off pitch. Music can still sound good if a little off pitch, but only when all notes are off in the same way (*1) - which is not the case with this 'sound chip'.\n\nOf course, there are also ways to manipulate the sound even a bit better by manually handling the output - which results in 100% CPU time usage.\n\n> Why did users add sound cards such as the Adlib or Sound Blaster.\n\nSimply because they wanted sound - or at least music. Not just a beeper.\n\n> What was lacking with the original PC sound chip?\n\nAs said before, it's no sound chip at all. A sound chip will need programmable oscillators for different wave forms and at least some analogue ciruitry to make a smooth, more natural sound. Ofcourse, from an enginering point, the PC's use of a timer was a great improvement over the Apple II, its model and competition, as it allowed the beeping in parallel - not that this feature was used by BIOS or DOS.\nLast but not least, the PC is an open system. It is made to add new/better hardware. So why shoudn't there be a real sound card? Improving the machine is a core feature of the design.\n\nAddendum:\nagtoever added a comment with a great example of what was possible with the direct fiddling with the speaker. Awesome, but less than apealing when compared to even the cheapest form of soundcard, the AdLib of the same time, as used by Monkey Island. Next to zero CPU usage and crisp clear sound. Not to mention easy programming. I'd call that a huge advantage.\n\n*1 - The average human decodes frequencies relative to each other. As a result sound is still perceived as good, even if the whole scale is shifted, as long as it's in the same direction and same percentage. Output needs to be way off to be noticed by an average listener. In contrast, if notes are off by a different margin and in different directions, even less trained listeners will notice.", "score": null} +{"instruction": "How many trees should I use for a random forest classifier if the number of predictors is large and the number of observations is small?", "response": "Random forest uses bagging (picking a sample of observations rather than all of them) and random subspace method (picking a sample of features rather than all of them, in other words - attribute bagging) to grow a tree. If the number of observations is large, but the number of trees is too small, then some observations will be predicted only once or even not at all. If the number of predictors is large but the number of trees is too small, then some features can (theoretically) be missed in all subspaces used. Both cases results in the decrease of random forest predictive power. But the last is a rather extreme case, since the selection of subspace is performed at each node.\n\nDuring classification the subspace dimensionality is $\\sqrt{p}$ (rather small, $p$ is the total number of predictors) by default, but a tree contains many nodes. During regression the subspace dimensionality is $p/3$ (large enough) by default, though a tree contains fewer nodes. So the optimal number of trees in a random forest depends on the number of predictors only in extreme cases. \n\nThe official page of the algorithm states that random forest does not overfit, and you can use as much trees as you want. But Mark R. Segal (April 14 2004. \"Machine Learning Benchmarks and Random Forest Regression.\" Center for Bioinformatics & Molecular Biostatistics) has found that it overfits for some noisy datasets. So to obtain optimal number you can try training random forest at a grid of ```ntree``` parameter (simple, but more CPU-consuming) or build one random forest with many trees with ```keep.inbag```, calculate out-of-bag (OOB) error rates for first $n$ trees (where $n$ changes from $1$ to ```ntree```) and plot OOB error rate vs. number of trees (more complex, but less CPU-consuming).", "score": 4} +{"instruction": "Why do CISC processors like x86 still exist?", "response": "There is a general historical trend.\nIn the olden days, memories were small, and so programs were perforce small. Also, compilers were not very smart, and many programs were written in assembler, so it was considered a good thing to be able to write a program using few instructions. Instruction pipelines were simple, and processors grabbed one instruction at a time to execute it. The machinery inside the processor was quite complex anyway; decoding instructions was not felt to be much of a burden. \nIn the 1970s, CPU and compiler designers realized that having such complex instructions was not so helpful after all. It was difficult to design processors in which those instructions were really efficient, and it was difficult to design compilers that really took advantage of these instructions. Chip area and compiler complexity was better spent on more generic pursuits such as more general-purpose registers. The Wikipedia article on RISC explains this in more detail.\nMIPS is the ultimate RISC architecture, which is why it's taught so often.\nThe x86 family is a bit different. It was originally a CISC architecture meant for systems with very small memory (no room for large instructions), and has undergone many successive versions. Today's x86 instruction set is not only complicated because it's CISC, but because it's really a 8088 with a 80386 with a Pentium possibly with an x86_64 processor.\nIn today's world, RISC and CISC are no longer the black-and-white distinction they might have been once. Most CPU architectures have evolved to different shades of grey.\nOn the RISC side, some modern MIPS variants have added multiplication and division instructions, with a non-uniform encoding. ARM processors have become more complex: many of them have a 16-bit instruction set called Thumb in addition to the “original” 32-bit instructions, not to mention Jazelle to execute JVM instructions on the CPU. Modern ARM processors also have SIMD instructions for multimedia applications: some complex instructions do pay after all.\nOn the CISC side, all recent processors are to some extent RISC inside. They have microcode to define all these complex macro instructions. The sheer complexity of the processor makes the design of each model take several years, even with a RISC design, what with the large number of components, with pipelining and predictive execution and whatnot.\nSo why do the fastest processors remain CISC outside? Part of it, in the case of the x86 (32-bit and 64-bit) family, is historical compatibility. But that's not the whole of it. In the early 2000s, Intel tried pushing the Itanium architecture. Itanium is an extreme case of complex instructions (not really CISC, though: its design has been dubbed EPIC). It even does away with the old-fashioned idea of executing instructions in sequence: all instructions are executed in parallel until the next barrier. One of the reasons Itanium didn't take is that nobody, whether at Intel or elsewhere, could write a decent compiler for it. Now a good old mostly-sequential processor like x86_64, that's something we understand.", "score": null} +{"instruction": "What happened to Ralph?", "response": "Mr. Willow this is case sensitive, please keep good track of this information. The following letter is detailing the last account of Ralph Baker, the person who disappeared. Good luck, and the sooner you track down that nightshade book, the better.\n\nThis is Ralph Baker, I live on 22 S, Pennyweather street, by the tall solar mills. Quickly, before we get into things, mother I love you, and I’m afraid I’m going to miss Jim’s wedding. Congratulations.\nAnyways, I don’t have the time for that anymore. \nHere is my story.\nAt 6pm I got home from work. It could have been a little later then that though. Either way, I got back to find a small blue book laying in the hallway. It had golden trim and the initials M. T. On its bind. I thought it could have been Patrice’s, my flatmate.\nPatrice was a strange person, always slow to speak and move. She carried a book with her always, in fact I don’t think I’d ever seen her without one. So I thought the blue one with the nightshade cover was just another of her collection.\nI opened the cover though, just to read a bit at what the novel was about, but it was blank.\nSurprised, I flipped through the book and landed on page 136. This page was not blank I quickly realized. And my realization turned to utter horror.\nThe page in front of me detailed everything about me. My height, weight, average distance between each step at a walking pace. Everything was crammed in, written in margins and on corners. It was my whole life.\nIt was me.\nThe end of the page told me how I was supposed to die, and I’m afraid it might come tru-\n\nThis letter was found under Ralph’s bed, It ends abruptly, and without reason. Take care Mr. Willow.", "score": 3} +{"instruction": "What are the current riots in Tel Aviv about?", "response": "Here are a few questions that may be worth researching to better understand the current situation in Tel Aviv:\n* What are the circumstances in which the riots erupted?\n* Why was Defense Minister Yoav Gallant fired?\n* Are the riots happening only in Tel Aviv or elsewhere too?\n* What is the prime minister's response to the situation?\n* Is anybody hurt or is there any damage to property?\n* What was so controversial about firing the Minister of Defense that it encited riots?\n* How is the police responding to the riots?", "score": null} +{"instruction": "I need to know how to bake freeze chicken legs", "response": "If you are in a rush, you may not have the time to thaw chicken for a meal. Luckily, you can save yourself some time and safely cook chicken from frozen. You can roast a whole, frozen chicken for a large group, or bake breasts or drumsticks for a smaller meal. Regardless of how much chicken you cook, it is important to always follow the safety guidelines for cooking chicken and thoroughly cook your meat to avoid any foodborne illnesses.\n\n## Roast a whole chicken from freeze\n\n1. Use caution when cooking frozen chicken. If you are cooking any parts of a chicken from frozen, there is an increased risk for foodborne illness. To kill any pathogens in the chicken, be sure to cook the meat to an internal temperature of at least 165°F (74°C). Always prepare from frozen chicken in the oven or on the stovetop and, as a rule of thumb, cook it about 50 percent longer than you would thawed meat. For example, it would take about two hours to roast a thawed 5-pound (2.25 kg) roasting hen at 350°F (177°C). If frozen, a similarly sized chicken would take about three hours to cook thoroughly at the same temperature. Check the internal temperature of the meat by inserting a meat thermometer into thickest part of the breast and the innermost part of the thigh and wing. If the thermometer does not ready 165°F (74°C), continue cooking the bird. Do not try to cook the frozen chicken in a slow cooker. The appliance will not get hot enough to kill the pathogens in the meat. It also leaves the meat sitting for too long at unsafe temperatures.\n2. Preheat the oven. Turn on your oven and heat it to 350ºF (177ºC). While your oven warms up, put the frozen chicken breast-side-up in a large roasting pan. This will ensure that the densest meat of the bird gets thoroughly cooked. Depending on the size of the chicken, you may also be able to use a Dutch oven instead of a roasting pan.\n3. Dress the chicken. If the bird is not frozen closed, try to remove the giblets from inside of the chicken. Once you remove the giblets, stuff the bird with your favorite ingredients, such as lemon, onion, rosemary, and thyme. Then rub the exterior of the chicken with olive oil and sprinkle it with salt and pepper. If you cannot access the inside of the bird, wait until it has cooked for about 45 minutes to remove the giblets. Use tongs and an oven mitt to remove the giblets and insert any stuffings that you want.\n4. Cook the chicken. Place the seasoned chicken in the oven uncovered and roast for about 90 minutes. Then increase the temperature of the oven to 450ºF (232ºC) and cook the chicken for another 15 to 30 minutes. This will help brown the skin. Remove the pan from the oven and serve once a meat thermometer placed into various parts of the chicken reads 165°F (74°C). These cooking times are based on a 4-pound (1.8 kg) chicken. Be sure to adjust the roasting time based on the weight of your chicken. Let the chicken rest for 10 to 15 minutes to cool before carving. If there is any pink or red meat, place the whole bird or uncooked pieces back in the oven until they turn white and there is no red in the juices.\n\n\n## Prepare bread chicken breast from freeze\n\n1. Freeze the breasts individually. When you bring the chicken breasts home from the grocery store, place them in single layer in a freezer bag. Make sure that there is some space between the breasts. If they freeze together, it will be hard to separate them and you will likely have to thaw them. You can also freeze the breasts flat on a plate or tray and then transfer them to a freezer bag. This is a good strategy for freezing any individual chicken parts.\n2. Preheat the oven. Preheat your oven to 425ºF (218ºC). While the oven warms, lightly oil a baking sheet. You can use olive oil, vegetable oil, or any other preferred cooking oil or fat. Then place four boneless skinless chicken breasts on the tray. If you are cooking frozen chicken breasts without breading, preheat the oven to 350ºF (177ºC).\n3. Add breading. As the oven warms, mix 1/3-cup (113 g) dry breadcrumbs, ½-teaspoon (3 g) salt, ¼-teaspoon (1.5 g) of black pepper, ¼-teaspoon (1.5 g) garlic powder with one tablespoon (15 ml) of cooking oil. Spread about one teaspoon (5 ml) of mustard on the top of the frozen chicken breasts. Then sprinkle the breadcrumb mixture onto the breasts, making sure that the mix sticks to the mustard.\n4. Bake the breasts. Place the tray in the oven and cook the breasts for about 30 to 40 minutes. Insert a meat thermometer into the thickest part of the breast to make sure that it is cooked thoroughly. If the temperature is below 165°F (74°C) or if there is any red or pink meat, put the breasts back in the oven and let them cook until they are white and the juices run clear. If you are cooking four frozen 4-oz (28 g) chicken breasts without any breading, you should cook them at 350ºF (177ºC) for 30 to 45 minutes. However, it is important to remember that the cooking time depends on the size of the chicken breasts.\n\n\n## Bake freeze chicken legs\n\n1. Season the legs before freezing. Because it is difficult to get seasoning to stick to frozen chicken skin, it may be easier to season your drumsticks before freezing them. Before you put them in the freezer, coat your drumsticks with your desired seasoning or rub. This will freeze the seasoning to the skin and make it easier to pull the legs from the freezer and toss them in the oven when you are ready to cook. This is a great way to season any individual pieces of chicken before you freeze them.\n2. Preheat the oven. Heat the oven to 350ºF (177ºC). While the oven warms, remove your drumsticks from the freezer and place them on a tray. For a side, you may also want to add some chopped vegetables like carrots and onions or a few sliced potatoes to the tray.\n3. Cook the drumsticks. Place the tray in the oven and cook the drumsticks for about 50 to 60 minutes. Once the time is up, insert a meat thermometer into the thickest part of the drumstick to make sure that it is cooked. If the temperature is below 165°F (74°C) or if there is any red or pink meat, put the breasts back in the oven and let them cook until they are white and the juices run clear. When you are taking the temperature of the drumsticks, try not to touch the bone with your thermometer. This will give you an inaccurate temperature.", "score": null} +{"instruction": "What was the title of his first two works?", "response": "He titled his first two works “Rough Draft”.\nThis time he called it “Completed Draft”.\n\nHe let his friend in on the plan when they met up face-to-face.\nFirstly, he sent her fake text messages outlining how this time he was \"very confident\" he knew how to keep his works safe on his PC from ‘hackers’.\nHe sent a text stating that he would create a handwritten draft that would be fully edited, which he would then type up on his computer in a few hours on the 25th of May and publish quickly within 24 hours.\nIt was a win-win situation.\nHe knew that if the hacker wasn't watching his texts, he would be able to publish his novel.\nBut if they were, they'd be caught out.\nHis completed draft was stolen on 25th of May and self-published to Amazon before he had the chance to do so himself.\nHe erased all traces of the draft on his computer.\nJust to make sure, the hard-drive was destroyed as well.\nHe knew the cyber thief wouldn’t be able to completely check and edit the story within the short timeframe.\nSo, on page 198 of his light-hearted fantasy novel, he decided to abruptly interrupt the story to detail “intelligence leaks and tips” in Arabic to “potential terrorists” from a “professional criminal hacker/high-level government employee”, (his two best guesses as to who had repeatedly hacked his computer).\nHe sent an anonymous tip to the FBI.\nThey decided to check if the original publisher really was a high-level government employee.", "score": 4} +{"instruction": "I haven't seen you in a while. I know it's my fault. I'm sorry. I wish I could take back the things I said. I know I'm not the best person in the world, but I always wanted to be the best person for you. I'm making progress in life. I've gotten back into school and I'm on my way to graduate school. I'm a semester away from graduating cum laude. I've learned to keep things in perspective in terms of importance, and I've gotten better at dealing with stress. I still think of you when I don't have enough to distract me. I think you'd be proud of me. I told myself I wouldn't pursue you after you left. I have no right to do so. I have had to accept that you will forever be the girl of my dreams, and the one that got away. But I still hold to hope. You will always be the one who brought out the best of me. Even if it broke my heart to do it. I'm sorry. I miss you.", "response": "Dear [Name],\n\nIt's been a while since we last talked or even saw each other. I understand why. I know it was me, and my issues, that drove us apart. I wish I could take back the things I said, because you always deserved the best of me, even if you never got it.\nI have been making progress in your absence.\nI got back into school, and where before I was an abysmal student, now I am a semester away from graduating cum laude on my way towards grad school.\nI've learned to keep things in perspective in terms of importance, and I've gotten better at dealing with stress.\nI still think of you when I don't have enough to distract me. That may be how I've managed to focus so well in school - I have to in order to not miss you so much.\nOn occasions when I've had a particular success in life, I wonder what you'd say if I could tell you. Would you be proud of me? I don't know. But I like to think you would be.\nI told myself I wouldn't pursue you after you left. I have no right to do so. I have had to accept that you will forever be the girl of my dreams, and the one that got away. But I still hold to hope.\nYou will always be the one who brought out the best of me. Even if it broke my heart to do it.\n\nAlways yours,\n[Your Name]", "score": 3} +{"instruction": "I need help to prevent my teen from joining a gang", "response": "Gangs can be a very bad influence on a teen. Teens often want to join a gang because of certain issues such as racism, poverty, loneliness, and media influences. You can prevent your teen from joining a gang by education about the appeal of gangs for teens, talking and listening to your teen, and getting involved in your own community.\n\n## Educate yourself\n\n1. Learn the appeal of gangs. There are many reasons why a teen might join a gang. Learning the potential draw of gangs for teens can help you identify if your teen is at risk. Teens might seek out gangs for a feeling of belonging. If your teen feels like an outsider for any reason, he or she may seek out a gang for a sense of community. Peer pressure is also a major factor in teens joining gangs. If your teen has friends who are in a gang or associated with one, your teen may consider joining as well. Teens also don't always realize the danger of gangs. The idea of being part of a gang might be exciting, especially if your teen has been exposed to video games and other media that glorifies gang violence. If your teen has an underlying mental illness, such as a personality disorder, he or she might seek thrills through joining a gang.\n2. Investigate gang activity in your area. Location is a big risk factor when it comes to your teen joining a gang. Be aware of any gang activity in your area so you know what your teen might be exposed to at school or in the community. You can research gang activity in your area by browsing police reports and police data online. Most areas have a police blotter website where you can enter your zip code and see of any recent arrests or disturbances in your area. Talk to officials at your teen's school. Principals and superintendents should be aware if there is any gang activity occurring in their jurisdiction. Make an appointment with an official at the school and ask him or her about gang activity. Many people feel certain locations make them immune to gangs. If you live in the suburbs, for example, you might think your teen is immune to gang violence. However, in a lot of big cities gangs eventually move into the suburbs. In the Chicago suburb Evanston, for example, gang activity has been on the rise in the last few years. Be vigilant about potential gang activity regardless of your location.\n3. Familiarize yourself with the warning signs your teen is involved with a gang. Make sure you know the warnings signs regarding gang activity in teens. You should be concerned if your teen is displaying any of the following signs:\n\t* Wearing a certain color or color scheme suddenly\n\t* An increased interest in gangs, gangster music, and gangster movies\n\t* Bragging about having friends in gangs\n\t* Coming home with expensive items\n\t* Using hand gestures and signs to communicate with friends\n\t* Aggressive or withdrawn behavior\n\n\n## Work with your teen\n\n1. Talk to your teen about gangs. Education is key to keeping your teen from joining a gang. Take time to sit down and talk to your teen about the dangers of gangs. Be as frank as possible when discussing gangs with your teens. Explain that, short term, gang activity can lead to trouble with police, trouble with school, and poor relationships with family members. Longterm, make sure your teen knows gang activity can prevent them having access to education and employment options, time in jail, and a risk to their personal safety and the personal safety of their family and friends. Listen as well. Your teen may be compelled to argue or even disregard what you're saying. Try to understand why your teen is resisting. Is he or she being intimidated by a gang? Is a person your teen looks up to in a gang? Understanding the reasons gang membership is appealing to teens can help you better address the problem.\n2. Keep your teen engaged in other activities. Teens often join gangs for a sense of community or for some excitement. Keeping your teen as engaged in other activities as possible can lessen the draw of gangs. Encourage your teen to engage in activities that appeal to his or her interest. Is your teen always sketching or drawing? Enroll him or her in art classes. Is your teen athletic? Encourage him or her to join a school sports team. Is your teen interested in music? Invest in a piano, guitar, or other musical instrument. Push your teen to find an after school job. While some teens might resist the notion of working, emphasize how building a work ethic can help later on. Talk about what your teen could do with all the extra spending money. Allow your teen to have friends over at your house. You want your teen to feel most comfortable at home, where it's safe. This also gives you an opportunity to get to know your teen and his or her peers. You can encourage wholesome activities, like board games and age appropriate movies, over the kinds of activities that might land your teen in trouble.\n3. Learn how to best communicate with a teen. Communicating with teenager can be difficult. Most teens feel an increased need for autonomy and independence, which means they may pull away and rebel against you. However, learning the means to effectively communicate with a teen can help. Always listen without judgment. If your teen is willing to share something with you, let him or her. Try to stay calm and listen, even if your concerned by what your teen is saying. Remember, as a parent you're better off hearing bad news than not hearing it. Being reactionary and harsh can discourage your teen from reaching out when in need. Respect your teen's sense of privacy and autonomy. Unless you suspect a serious problem, allow your teen his or her own space. Let them have a bedroom to themselves. Do not always ask who your teen is calling or texting on the phone. Do not touch your teen's belonging without permission. Schedule times to talk. You do not need to schedule a weekly conversation, but having a family dinner night or board game night gives your teen the opportunity to share. Strive to keep communication open and keep yourself available when your teen is in need.\n4. Identify positive role models for your teen. Teens often join gangs because they feel lost. Lacking positive role models, a teen might turn to the allure of a gang. Identify positive roll models for your teen. Get your teen involved in the community. Encourage him or her to volunteer. Take him or her to church, town hall meetings, and other places and meetings you attend. Teach your teen about people you admire. This can be someone you know personally, like your great-grandmother who supported her family during the Great Depression. It can also be a public figure, like a politician or activist. Showing your teen what you believe admirable qualities constitute can lessen the appeal of gang members.\n\n\n## Improve your community\n\n1. Remove gang related graffiti. Graffiti is often a way for gangs to advertise and recruit new members. If you notice new or unusual graffiti in your area, google the images to see if they're gang affiliated. If they are, talk to the local police about having them removed as soon as possible. Depending on regulations in your area, you may be able to remove the images yourself or schedule a community cleanup. Stop by the local courthouse and ask what your options are in terms of arranging a cleanup.\n2. Team up with other parents. The phrase \"It takes a village to raise a child\" exists for a reason. You cannot do this alone. Work with other parents to build a stronger community and to keep out gangs. Schedule a meeting with other parents in town to discuss gang activity in your area. Brainstorm ideas about how to keep your teens out of gangs. Working together, you and other parents can create regular community events and activities for teens to engage in in order to discourage them from joining gangs. You can also go, as a group, to a PTA to raise any concerns you have about gang activity in the school system. Look into starting a neighborhood watch to keep on the lookout for gang activity.\n3. Take political action. In order to address gang activity, political action may be necessary. Increasing law enforcement presence in your are and providing community outreach to at-risk teens may be needed in your area. Start letter writing and phone campaigns to local members of Congress. Explain why your area needs help addressing gang violence and gang activity. Demand community outreach in your area. Raise awareness. Buy an ad on the local radio. Hand out pamphlets at community centers, schools, churches, grocery stores, and other areas. A single call to local police about gang activity has little effect. A collective group effort is necessary to stomping out gang activity in your area. Make sure other parents on board with talking to the police together.", "score": null} +{"instruction": "Can you explain the difference between drills and impact drivers?", "response": "Drills and impact drivers are similar in that they're both rotating power tools and they have some overlap in usage, but they work differently and have different strengths.\n\nDrills apply a constant torque and tend to have good control across a range of speeds and clutch settings. They're good for work that requires care or precision, like drilling a hole or driving a a smaller screw.\n\nImpact drivers provide much higher torque but in rapid bursts–very much like a hammer provides bursts of linear force. \n\nThis makes them good for heavy-duty jobs like driving long lag bolts (you can even take the lug nuts off your car wheels with most impact drivers), but the banging action makes them a little bit difficult to control. They're also not good for driving into something very soft–between the hammer strikes there's no torque applied and the bit can actually rotate backwards. You can see this by holding the chuck with your hands while the driver is on; you'll feel the pulsing of the strikes but chuck won't actually rotate. Finally, some impact drivers don't have a clutch, which means you need to be very careful if you're driving something that could be over-tightened or broken by the high torque.\n\nBesides the higher torque, impact drivers have another huge advantage in that you don't have to hold them tightly to provide the torque. The momentum of the rotating striker inside is what provides the rotation force, so even when you're driving something very tough it's quite easy to hold the tool. Drills on the other hand provide a constant torque and require the user to provide the reaction and prevent the tool from spinning.\n\nIf you have to pick a single all-purpose tool for general DIY use, a drill is much easier to control and is useful in a wider range of situations.", "score": 4} +{"instruction": "I need a python script to convert a unix timestamp to the local time in the desired format.", "response": "There are two parts here:\n\n* Convert the unix timestamp (\"seconds since epoch\") to the local time\n* Display the local time in the desired format.\n\nA portable way to get the local time that works even if the local time zone had a different utc offset in the past and python has no access to the tz database is to use a ```pytz``` timezone:\n```#!/usr/bin/env python\nfrom datetime import datetime\nimport tzlocal # $ pip install tzlocal\nunix_timestamp = float(\"1284101485\")\nlocal_timezone = tzlocal.get_localzone() # get pytz timezone\nlocal_time = datetime.fromtimestamp(unix_timestamp, local_timezone)\n```\nTo display it, you could use any time format that is supported by your system e.g.:\n```print(local_time.strftime(\"%Y-%m-%d %H:%M:%S.%f%z (%Z)\"))\nprint(local_time.strftime(\"%B %d %Y\")) # print date in your format\n```\n\nIf you do not need a local time, to get a readable UTC time instead:\n```utc_time = datetime.utcfromtimestamp(unix_timestamp)\nprint(utc_time.strftime(\"%Y-%m-%d %H:%M:%S.%f+00:00 (UTC)\"))\n```\n\nIf you don't care about the timezone issues that might affect what date is returned or if python has access to the tz database on your system:\n```local_time = datetime.fromtimestamp(unix_timestamp)\nprint(local_time.strftime(\"%Y-%m-%d %H:%M:%S.%f\"))\n```\nOn Python 3, you could get a timezone-aware datetime using only stdlib (the UTC offset may be wrong if python has no access to the tz database on your system e.g., on Windows):\n```#!/usr/bin/env python3\nfrom datetime import datetime, timezone\nutc_time = datetime.fromtimestamp(unix_timestamp, timezone.utc)\nlocal_time = utc_time.astimezone()\nprint(local_time.strftime(\"%Y-%m-%d %H:%M:%S.%f%z (%Z)\"))\n```\nFunctions from the ```time``` module are thin wrappers around the corresponding C API and therefore they may be less portable than the corresponding ```datetime``` methods otherwise you could use them too:\n```#!/usr/bin/env python\nimport time\nunix_timestamp = int(\"1284101485\")\nutc_time = time.gmtime(unix_timestamp)\nlocal_time = time.localtime(unix_timestamp)\nprint(time.strftime(\"%Y-%m-%d %H:%M:%S\", local_time))\nprint(time.strftime(\"%Y-%m-%d %H:%M:%S+00:00 (UTC)\", utc_time))\n```", "score": null} +{"instruction": "Why do democrats oppose border wall construction?", "response": "It's not clear to me that Democrats are opposed to border-wall construction (your one source suggests they are fine with border walls/fences where necessary), so much as they opposed to some of the plans for full-border walls that have been put forth so far.\nRecently, in response to reports that the spending bill would include funding for a border wall, 5 Democratic senators released a letter voicing concerns over the cost, the effectiveness, and the legal issues of constructing it.\n\nWe are also concerned with reports that there may be an effort to include funding for a very expensive new wall along the southern border with Mexico and a “deportation force.” According to non-partisan experts, the proposed new border wall could cost as much as $25 million per mile and raises considerable issues that have not been resolved by the Congress or the Department of Homeland Security. First, many experts believe that such a border wall will not work. Second, there is real concern that the Administration, put simply, has no plan to build the border wall. For example, the Administration has not detailed how to 1) use eminent domain and other procedures to acquire land from private landowners and Native American tribes, 2) design the wall, 3) locate the wall, 4) construct the wall, and 5) require Mexico to pay for the wall given the President’s clear and repeated promises that he would force Mexico to do so. Finally, there are objections to the construction of a wall from Democratic and Republican members of Congress that represent border states. Given these and other concerns, we believe it would be inappropriate to insist on the inclusion of such funding in a must-pass appropriations bill that is needed for the Republican majority in control of the Congress to avert a government shutdown so early in President Trump’s Administration.\n[...]\nSenator Charles Schumer\nSenator Richard Durbin\nSenator Patty Murray\nSenator Debbie Stabenow\nSenator Patrick Leahy\n\nBased on this letter, it appears their main objections to a full border wall are currently the cost-benefit ratio and the legal issues of taking land from Americans to build it on; objections that may not be unique to Democrats.", "score": 3} +{"instruction": "What is the purpose behind the novel structure of Moby-Dick?", "response": "There are multiple purposes behind the novel structure of Moby-Dick.\n\nIn the first instance the author was himself a whaleman, having spent 18 months as an ordinary seaman aboard the whaler Acushnet in 1841–42. In his experience the literature of the day, such as Miriam \n\nCoffin or The Whale-Fisherman by Joseph Hart, did not portray whaling accurately but rather sensationalised it. He wished to provide his readers with a more realistic account.\n\nIn doing so, he also gave the reader the information necessary to better understand and appreciate the passages of whaling described in the novel. With the reader forewarned, he is able to keep the narrative passages tense and exciting. It is interesting that, early in the novel, the Pequod meets virutally no whales and that the chases become longer and more involved as the story progresses. This may be because Melville felt he needed to give the reader more and more technical information before they could fully appreicate these encounters, but understood the science would need to be spaced out among the narrative.\n\nIn describing it to the reader, the science also serves another useful narrative function. It indicates that on whaling voyages, long periods of time pass when nothing much happens at all. By padding out of the story with scientific digressions serves as a useful narrative metaphor for waiting.\n\nThe level of detail provided also mirrors one of the novel's central themes: obsession. Although Ishmael is the narrator and Ahab the obvious obsessive, the amount of science indicates that Ishmael is also an obsessive. His obsession is the business of whaling itself.\n\nFinally, Melville made good use of these passages in serving as metaphors for other themes of the novel where he felt it appropriate. For example in the chapter The Line, which describes how the whale line is stored and used in the boat, it ends by using the line as a metaphor.\n\n \"All men live enveloped in whale-lines. All are born with halters round their necks; but it is only when caught in the swift, sudden turn of death, that mortals realize the silent, subtle, ever-present perils of life.\"", "score": 5} +{"instruction": "Preparation", "response": "## Prevention\n\n1. Cover your mouth and nose when you cough or sneeze. Use a disposable tissue and flush it down the toilet or throw it in a trash can immediately (don't put it down on any surface). Wash your hands or use hand sanitizer right afterwards. If you don't have anything to cough or sneeze into, cough or sneeze into the inside of your elbow rather than your hand. Change your clothing (if you were wearing long sleeves) or wash your arm as soon as you can. Carry tissues with you and offer them to others.\n2. Keep your hands clean. Wash your hands throughout the day, especially after touching other people or any surface that others have touched. Carry alcohol-based sanitizer with you. Offer it to others. Avoid touching your face unless your hands are just cleaned.\n3. Don't share utensils or drinks. In cafeteria settings, it's not uncommon for people to casually share utensils or take a sip from someone else's drink. This should be completely avoided if there is any risk of a flu pandemic.\n4. Wear a face mask or respirator as instructed by authorities. If used correctly, face masks and respirators may help prevent some exposure to flu viruses. However, face masks should be used along with other preventive measures, such as frequent hand washing.\n5. Stay healthy. Get plenty of sleep, be physically active, manage your stress, drink plenty of fluids, and eat nutritious food. The healthier you are, the better your immune system will be at defending your body against a virus.\n\n\n## Preparation\n\n1. Know what to expect. A vaccine for pandemic flu may not be available for 4-6 months after a pandemic starts, and even then, it may only be available in limited amounts. People will have little or no immunity to pandemic flu since it is a new virus to humans. With seasonal flu, people have some immunity built up from previous exposure to the viruses. Symptoms of pandemic flu may be more severe than seasonal flu. More people are likely to die from pandemic flu than from seasonal flu.\n2. Stock up. Store nonperishable foods, bottled water, over-the-counter drugs, health supplies, and other necessities. The U.S. Department of Health and Human Services (HHS) recommends having a 2-week supply. (These supplies can be useful in other types of emergencies, such as power outages.) Have basic, over-the-counter health supplies such as a thermometer, facemasks, tissues, soap, hand sanitizers, medicine to relieve fever, and cold medicine.\n3. Plan ahead. Plan for what you will do in the following cases:\n\t* Schools dismissed: Consider childcare needs. Plan home learning activities and exercises. Have materials, such as books, on hand. Also plan recreational activities that your children can do at home. You or family member becomes sick and requires care: Make plans for how to care for people with special needs in case the services they rely on are not available. Plan to stay home for at least 10 days when you are sick with pandemic flu. Staying home will keep you from giving it to others. Make sure others in your household also stay home when they are sick. During a severe pandemic, stay home if someone in your household is sick with pandemic flu. Transportation networks disrupted. Think about how you can rely less on public transportation during a pandemic. For example, store food and other essential supplies so you can make fewer trips to the store. Prepare backup plans for taking care of loved ones who are far away. Consider other ways to get to work, or, if you can, work at home.\n4. Talk to your employer. Ask your employer about how business will continue during a pandemic. You can Develop a Risk Management Plan that accounts for the possibility of a flu pandemic. Find out if you can work from home, or if your employer will consider virtualizing the workforce. Plan for the possible reduction or loss of income if you are unable to work or your place of employment is closed. Check with your employer or union about leave policies.\n5. Stay updated. Identify sources you can count on for reliable information. If a pandemic occurs, having accurate and reliable information will be critical. Reliable, accurate, and timely information is available at http://www.pandemicflu.gov. Another source for information on pandemic influenza is the Centers for Disease Control and Prevention (CDC) Hotline at: 1-800-CDC-INFO (1-800-232-4636). This line is available in English and Spanish, 24 hours a day, 7 days a week. TTY: 1-888-232-6348. If you do not live in the U.S., check if there is an equivalent hotline in your area. Look for information on your local and state government Web sites. Review your state's planning efforts and those of your local public health and emergency preparedness officials. Listen to local and national radio, watch news reports on television, and read your newspaper and other sources of printed and Web-based information.", "score": 4} +{"instruction": "What are the main differences between a Honda Civic and a Toyota Prius?", "response": "The Honda Civic and the Toyota Prius are two of the most trusted compact sedans available today. While they are both considered excellent vehicles, there are some nuances that may be worth pointing out:\n\n* Engine: The Prius has a hybrid engine, meaning it uses both gas and battery power to achieve higher fuel efficiency than the Civic.\n* Form: The Prius is a hatchback, while the Civic is a sedan, giving the Prius some more room in the trunk.\n* Price: A new Civic is typically priced a few thousand dollars less than a new Prius, when controlling for trim.\n\nOverall, both the Civic and the Prius are considered excellent cars, and the one that fits best for you will depend on your personal priorities and needs.", "score": 3} +{"instruction": "Can you tell me what is the main reason people root Android phones?", "response": "In few words, rooting an Android system means overcome the limitations that were imposed over it by the manufacturer. People may want that for different reasons, but the main one is freedom. Having a rooted phone means you've got all the control over your device.\n\nThe main reason people root phones is to install a custom ROM. Custom ROMs are often known for improvements in performance and exclusive features that are not present on manufacturer ROMs, like installing apps on sdcard or taking screenshots. Custom ROMS can also become a system update alternative for those devices that were abandoned by their manufacturers. You can see a review of popular ROMS, as an example, here.\n\nRooting Android also allows you to uninstall stock apps that you don't use or don't want, besides those that violates user's privacy (see CarrierIQ). Another main reason for doing that is to gain more space on internal storage. A rooted device lets you install almost any app that requires root access. Those apps generally aim to do something that would not be possible without that privilege. A lot of useful apps were shown on the previous answer, but you may find a lot more available on Google Play. You can find a list of good apps here.", "score": null} +{"instruction": "I imagine you weren't exactly expecting to get a letter from me. I mean, we're mortal enemies, we don't write letters, we shout at each other from across wide distances while we're in the middle of fighting each other. We're not exactly pen pals. But I had a confession to make, and despite appearing bold, I'm not. I couldn't say this to your face knowing there was the possibility or rejection.\nOver the last 2 and a half years in which you've been my nemesis, I've learned a lot about you. I know your fighting style, your personality, I know that your favorite breakfast cereal is cinnamon toasties. I know you in a most intimate way. I guess it was only logical for the next thing to happen would be me developing strong feelings for you. I don't even know your real name, but I know that I want to be with you. I want to love you, and to care for you, and to protect you and keep you safe from any and all harm. Having to fight you these past few months has been torture, I feel this heavy weight in my chest with every punch I throw. I'm hurting you, and I can't handle it anymore.\nI'm giving up villainy. I don't care what the consequences might be anymore, I just know I can't go another second knowing that I'm hurting you. You're the light of my life and my greatest wish and my greatest fear is that you'll read this letter. I know it's not fair of me to spring this on you like this, but I don't see any other options. I'm leaving you with one last parting gift, to do with as you please. I promise that this isn't a trick, and you will find that it's very", "response": "Dearest \"hero\",\n\nI imagine you weren't exactly expecting to get a letter from me. I mean, we're mortal enemies, we don't write letters, we shout at each other from across wide distances while we're in the middle of fighting each other. We're not exactly pen pals. But I had a confession to make, and despite appearing bold, I'm not. I couldn't say this to your face knowing there was the possibility or rejection.\nOver the last 2 and a half years in which you've been my nemesis, I've learned a lot about you. I know your fighting style, your personality, I know that your favorite breakfast cereal is cinnamon toasties. I know you in a most intimate way. I guess it was only logical for the next thing to happen would be me developing strong feelings for you. I don't even know your real name, but I know that I want to be with you. I want to love you, and to care for you, and to protect you and keep you safe from any and all harm. Having to fight you these past few months has been torture, I feel this heavy weight in my chest with every punch I throw. I'm hurting you, and I can't handle it anymore.\nI'm giving up villainy. I don't care what the consequences might be anymore, I just know I can't go another second knowing that I'm hurting you. You're the light of my life and my greatest wish and my greatest fear is that you'll read this letter. I know it's not fair of me to spring this on you like this, but I don't see any other options. I'm leaving you with one last parting gift, to do with as you please. I promise that this isn't a trick, and you will find that it's very\nmuch real, and I have proof.\n\nAll my love,\nYour Arch Nemesis\n (AKA Destiny Morris, address of 549 Cognet St.)", "score": null} +{"instruction": "I've heard that git has two configuration commands, git config filter..clean and git config filter..smudge, where the clean command can be used to sort all records in a CSV file except the top row, thus making re-ordering irrelevant.\n\nCould you please explain this to me?", "response": "Please note that ```git``` has two configuration commands:\n```git config filter..clean\ngit config filter..smudge\n```\nThe ```clean``` filter can be used e.g. to sort all records in a CSV file except the top row, thus making re-ordering irrelevant.\nQuoting ```gitattributes(5)``` :\n\nA filter driver consists of a clean command and a smudge command, either of which can be left unspecified. Upon checkout, when the smudge command is specified, the command is fed the blob object from its standard input, and its standard output is used to update the worktree file. Similarly, the clean command is used to convert the contents of worktree file upon checkin.\nA missing filter driver definition in the config is not an error but makes the filter a no-op passthru.\nThe content filtering is done to massage the content into a shape that is more convenient for the platform, filesystem, and the user to use. The key phrase here is "more convenient" and not "turning something unusable into usable". In other words, the intent is that if someone unsets the filter driver definition, or does not have the appropriate filter program, the project should still be usable.", "score": null} +{"instruction": "What is an InputStream and what is an OutputStream?", "response": "InputStream is used for reading, OutputStream for writing. They are connected as decorators to one another such that you can read/write all different types of data from all different types of sources.\nFor example, you can write primitive data to a file:\n```File file = new File(\"C:/text.bin\");\nfile.createNewFile();\nDataOutputStream stream = new DataOutputStream(new FileOutputStream(file));\nstream.writeBoolean(true);\nstream.writeInt(1234);\nstream.close();\n```\nTo read the written contents:\n```File file = new File(\"C:/text.bin\");\nDataInputStream stream = new DataInputStream(new FileInputStream(file));\nboolean isTrue = stream.readBoolean();\nint value = stream.readInt();\nstream.close();\nSystem.out.printlin(isTrue + \" \" + value);\n```\nYou can use other types of streams to enhance the reading/writing. For example, you can introduce a buffer for efficiency:\n```DataInputStream stream = new DataInputStream(\n new BufferedInputStream(new FileInputStream(file)));\n```\nYou can write other data such as objects:\n```MyClass myObject = new MyClass(); // MyClass have to implement Serializable\nObjectOutputStream stream = new ObjectOutputStream(\n new FileOutputStream(\"C:/text.obj\"));\nstream.writeObject(myObject);\nstream.close();\n```\nYou can read from other different input sources:\n```byte[] test = new byte[] {0, 0, 1, 0, 0, 0, 1, 1, 8, 9};\nDataInputStream stream = new DataInputStream(new ByteArrayInputStream(test));\nint value0 = stream.readInt();\nint value1 = stream.readInt();\nbyte value2 = stream.readByte();\nbyte value3 = stream.readByte();\nstream.close();\nSystem.out.println(value0 + \" \" + value1 + \" \" + value2 + \" \" + value3);\n```\nFor most input streams there is an output stream, also. You can define your own streams to reading/writing special things and there are complex streams for reading complex things (for example there are Streams for reading/writing ZIP format).", "score": null} +{"instruction": "Provide a Chicago-style footnote for the following entry: UN Women. \"Commission on the Status of Women.\" UN Women. Accessed February 14, 2019. http://www.unwomen.org/en/csw.\n\n\n## Mla\n\n1. Start your Works Cited entry with the author's name, if provided. If an individual author is listed for the web page you want to cite, type their last name first, followed by a comma, then their first name. Place a period at the end of the name. Example: Claymore, Crystal. If no individual author is listed, but the website is produced by a government agency, organization, or business, use that name as the author. For example, if you're using a CDC web page as a source, you would list the author as \"Centers for Disease Control and Prevention. \"Tip: For your entire Works Cited entry, if an element doesn't exist or isn't provided, simply skip that part of the citation and move on to the next part.\n2. Provide the title of the page in double quotation marks. If the specific web page has a title, type it after the author's name. Use title case, capitalizing the first word and all nouns, pronouns, adverbs, adjectives, and verbs. Enclose the title in double quotation marks, placing a period at the end of the title, inside the closing quotation marks. Example: Claymore, Crystal. \"Best-Kept Secrets for Amazing Cupcake Frosting.\"\n3. Give the name of the website in italics followed by the date of publication. Type the name of the website as a whole in title case, followed by a comma. Use the capitalization and spacing schemes the website uses if they are proprietary (such as \"wikiHow\" or \"WebMD\") If there is a publication date for the web page, list it in day-month-year format, abbreviating all months with names longer than 4 letters. Place a comma after the date of publication. Example: Claymore, Crystal. \"Best-Kept Secrets for Amazing Cupcake Frosting.\" Crystal's Cupcakes, 24 Sept. 2018,\n4. Include the", "response": "## Mla\n\n1. Start your Works Cited entry with the author's name, if provided. If an individual author is listed for the web page you want to cite, type their last name first, followed by a comma, then their first name. Place a period at the end of the name. Example: Claymore, Crystal. If no individual author is listed, but the website is produced by a government agency, organization, or business, use that name as the author. For example, if you're using a CDC web page as a source, you would list the author as \"Centers for Disease Control and Prevention. \"Tip: For your entire Works Cited entry, if an element doesn't exist or isn't provided, simply skip that part of the citation and move on to the next part.\n2. Provide the title of the page in double quotation marks. If the specific web page has a title, type it after the author's name. Use title case, capitalizing the first word and all nouns, pronouns, adverbs, adjectives, and verbs. Enclose the title in double quotation marks, placing a period at the end of the title, inside the closing quotation marks. Example: Claymore, Crystal. \"Best-Kept Secrets for Amazing Cupcake Frosting.\"\n3. Give the name of the website in italics followed by the date of publication. Type the name of the website as a whole in title case, followed by a comma. Use the capitalization and spacing schemes the website uses if they are proprietary (such as \"wikiHow\" or \"WebMD\") If there is a publication date for the web page, list it in day-month-year format, abbreviating all months with names longer than 4 letters. Place a comma after the date of publication. Example: Claymore, Crystal. \"Best-Kept Secrets for Amazing Cupcake Frosting.\" Crystal's Cupcakes, 24 Sept. 2018,\n4. Include the URL for the web page. Copy the URL for the web page and paste it into your entry, leaving off the \"http://\" part. Place a period at the end of the URL. Make sure the URL you use is a permalink for the information you're citing. If the URL is excessively long, talk to your instructor or supervisor about using a shortened URL. Example: Claymore, Crystal. \"Best-Kept Secrets for Amazing Cupcake Frosting.\" Crystal's Cupcakes, 24 Sept. 2018, www.crystalscupcakes.com/amazing-frosting.\n5. Close with your date of access if there was no date of publication. Often, a web page won't have a particular publication date. If that happens for a page you want to cite, add the word \"Accessed\" after the URL and include the date you last accessed the page in day-month-year format. Abbreviate all months with names that have more than 4 letters. Place a period at the end of the date. Example: Claymore, Crystal. \"Best-Kept Secrets for Amazing Cupcake Frosting.\" Crystal's Cupcakes, www.crystalscupcakes.com/amazing-frosting. Accessed 14 Feb. 2019. MLA Works Cited Format:\n\t* Author Last Name, First Name. \"Title of Web Page in Title Case.\" Name of Website, Day Month Year of publication, URL. Accessed Day Month Year.\n6. Place a parenthetical citation after referencing the website in your text. An MLA parenthetical citation typically includes the author's last name and the page number where the quoted or paraphrased information can be found. Since websites don't have page numbers, simply include the author's last name in the parenthetical, or the title of the web page if there is no author. Place your parenthetical inside the closing punctuation for the sentence. For example, you might write: \"The best cupcake frosting techniques are often the least intuitive (Claymore).\" If you include the author's name in your text, there's no need for a parenthetical citation. For example, you might write: \"Award-winning baker Crystal Claymore wasn't afraid to give away all her secrets, sharing her favorite frosting techniques on her website.\"\n\n\n## Apa\n\n1. Start your reference list entry with the name of the author. If an individual author is listed, type their last name first, followed by a comma, then their first and middle initials (if a middle initial is given. Usually, the author of a website will be the government agency, organization, or business that owns the website. In that case, list the name of that entity followed by a period. Example: Canadian Cancer Society.\n2. Add the year the website or page was published. If a publication date is provided next to the content you are citing, include that year in parentheses after the name of the author. Place a period after the closing parentheses. If no date is provided for the specific content you're citing, use the abbreviation \"n.d.\" (for \"no date\") inside the parentheses. Do not use the copyright date for the website itself. Example: Canadian Cancer Society. (2017). If you're citing several pages from the same website that were published in the same year, add a lower-case letter to the end of the year so you can differentiate them in your in-text citations. For example, you might have \"2017a\" and \"2017b.\"\n3. Type the title of the web page in sentence case. Type a space after the period that follows the date, then type the title of the web page, which will usually appear as a header at the top of the page. Use sentence case, capitalizing only the first word and any proper nouns. Place a period at the end of the title. Example: Canadian Cancer Society. (2017). Cancer research. If the content you're citing is a stand-alone document, the title should be italicized. This will usually be the case if you're citing a PDF document that appears on a website. If you're not sure, use your best judgment in deciding whether to italicize it or not.\n4. Close with the direct URL of the web page. Copy the full direct URL or permalink of the content you want to cite. Type the words \"Retrieved from,\" then past the URL into your entry. Do not place a period at the end of the URL. If the URL is overly long, ask your instructor or supervisor if you can use a shortened link. Example: Canadian Cancer Society. (2017). Cancer research. Retrieved from http://www.cancer.ca/en/cancer-information/cancer-101/cancer-research/?region=on\n\t* APA Reference List Format:\n\t* Author Last Name, A. A. (Year). Title of web page in sentence case. Retrieved from URL\n5. Use the author's name and year for in-text parenthetical citations. APA uses author-year parenthetical at the end of any sentence in which you quote or paraphrase information from the website. The parenthetical citation goes inside the closing punctuation for the sentence. For example, you might write: \"Clinical trials are used to test new cancer treatments (Canadian Cancer Society, 2017).\" If you include the author's name in your text, place the year in parentheses immediately after the author's name. For example, you might write: \"The Canadian Cancer Society (2017) noted that Canada is a global leader in clinical trials of cancer treatments.\"\n\n\n## Chicago\n\n1. Start your bibliographic entry with the name of the author. If the web page has an individual author listed, type that author's last name first, followed by a comma, then their first name. If there is no individual author, use the name of the organization, company, or government agency that published the content as the author. Place a period at the end of the author's name. Example: UN Women.\n2. List the title of the web page in double quotation marks. After the name of the article, provide the title of the specific web page. Use title case, capitalizing the first word and all nouns, pronouns, adjectives, adverbs, and verbs. Place a period at the end of the title, inside the closing quotation marks. Example: UN Women. \"Commission on the Status of Women.\"\n3. Add the name of the website or publishing organization in italics. If the website has a distinct name, include this after the title of the webpage. If it doesn't, use the name of the business, organization, or government agency that produces the website. Place a period at the end of the name. Example: UN Women. \"Commission on the Status of Women.\" UN Women.\n4. Provide the publication date or access date. If the content you're citing has a specific publication date associated with it, provide that date in month-day-year format. If no publication date is listed, type the word \"Accessed\" followed by the date you accessed the content in month-day-year format. Spell out the names of all months. Example: UN Women. \"Commission on the Status of Women.\" UN Women. Accessed February 14, 2019.\n5. Close your entry with a direct URL to the web page. Copy the full URL for the permalink of the web page and paste it into your bibliographic entry. Place a period at the end of the URL. If the URL is overly lengthy, talk to your instructor, editor, or supervisor about using a shortened link. Example: UN Women. \"Commission on the Status of Women.\" UN Women. Accessed February 14, 2019. http://www.unwomen.org/en/csw. Chicago Bibliography Format:\n\t* Author Last Name, First Name. \"Title of Web Page in Title Case.\" Name of Website or Publishing Organization. Accessed Month Day, Year. URL.\n6. Use commas instead of periods between elements in footnotes. A Chicago-style footnote generally includes all of the same information as the bibliographic entry. However, the footnote is treated as a sentence, with elements separated by commas. If there was an individual author listed, their name should be listed with their first name first, followed by their last name, just as you would do it if you wrote it in text. Example: UN Women, \"Commission on the Status of Women,\" UN Women, accessed February 14, 2019, http://www.unwomen.org/en/csw.", "score": null} +{"instruction": "Which of the following was used to record the Apollo 11 mission?", "response": "Apollo 11 mission had two modules\n\n* Lunar module - which descent to moon carrying two astronauts\n* command / service module- CSM was designed to return astronauts from the lunar surface on a direct-descent mission to earth and splash down.\n\nDirect telecast from the Command service module is not possible but CSM stored the recording of conversation which is transmitted by LM (which occur once in a rotation because the LM is stationary while CSM is orbiting the moon) then CSM sents to earth.\n\nRegarding the actual camera used in Apollo \n\n > Originally, these slow-scan television (SSTV) cameras, running at 10 frames-per-second (fps), produced only black and white pictures and first flew on the Apollo 7 mission in October 1968. \n\nNASA states as\n\n > The equipment onboard the Apollo Command Module that was used to make the recordings was called the Data Storage Equipment (DSE). Its contents were transmitted to the ground periodically during the mission. Also, the Command Module DSE had the capability to record data live during certain periods from the Lunar Module as it flew separately in lunar orbit. The equipment used aboard the Lunar Module to make the recordings was called the Data Storage Electronics Assembly (DSEA). It made recordings onboard the Lunar Module, but the DSEA flown on the Eagle during Apollo 11 malfunctioned. As a result, many of its recordings are barely, if at all, audible, with a constant high-pitched background tone. In the attached database, the recordings that are virtually inaudible are highlighted, but they are available on the web to ensure a complete release of the recordings made during the mission.\n\nand \n\n > The portion of the broadcast spectrum traditionally used for video was sending vital ship data to Earth, and there was no room left for the standard black-and- white video format of the era: 525 scan lines of data at 30 frames per second, transmitted at 4.5 MHz. So Lebar helped devise a smaller \"oddball format\" – 320 scan lines at 10 fps, transmitted at a meager 500 kHz. Tracking stations back on Earth would take this so-called slow-scan footage, convert it for TV broadcast, and beam it to Mission Control, which would send it out for the world to see. \n\nTransmission stations\n\n > To ensure a direct transmission signal from the moon, NASA had to maintain stations in three continents – two in Australia (the Honeysuckle Creek Tracking Station near Canberra and the Parkes Radio Observatory surrounded by sheep paddocks west of Sydney); one at the Goldstone Deep Space Communications Complex in the Mojave Desert of California; and one at the Madrid Manned Flight Tracking Site in Spain........ the tracking stations with a direct line on the Apollo 's signal were the ones in Australia. The 200-foot-diameter radio dish at the Parkes facility manag to withstand freak 70 mph gusts of wind and successfully captured the footage, which was converted and relayed to Houston.", "score": 4} +{"instruction": "I'm trying to run a python script on a mac. How do I tell the shell to run a python script?", "response": "In order to run the python script, we need to tell the shell three things:\n\n* That the file is a script\n* Which interpreter we want to execute the script\n* The path of said interpreter\n\nThe shebang ```#!``` accomplishes (1.). The shebang begins with a ```#``` because the ```#``` character is a comment marker in many scripting languages. The contents of the shebang line are therefore automatically ignored by the interpreter.\nThe ```env``` command accomplishes (2.) and (3.). To quote "grawity,"\n\n> A common use of the ```env``` command is to launch interpreters, by making use of the fact that env will search $PATH for the command it is told to launch. Since the shebang line requires an absolute path to be specified, and since the location of various interpreters (perl, bash, python) may vary a lot, it is common to use: ```#!/usr/bin/env perl``` instead of trying to guess whether it is /bin/perl, /usr/bin/perl, /usr/local/bin/perl, /usr/local/pkg/perl, /fileserver/usr/bin/perl, or /home/MrDaniel/usr/bin/perl on the user's system... \n\n> On the other hand, env is almost always in /usr/bin/env. (Except in cases when it isn't; some systems might use /bin/env, but that's a fairly rare occassion and only happens on non-Linux systems.)", "score": 5} +{"instruction": "What is the greatest upset in sports history?", "response": "* Buster Douglas ending Mike Tyson’s undefeated streak in 1990.\n* Greece winning the 2004 European football championship.\n* The 10-6 New York Giants defeating the 16-0 New England Patriots in Super Bowl 42.\n* Leicester City winning the 2015–16 English Premier League.\n* The No. 16 seed UMBC beating the No.1 seed University of Virginia in the 2018 NCAA Tournament.", "score": 1} +{"instruction": "I just met a man and I want to know his name.", "response": "He walked through the door, he smiled. I smiled, then immediately frowned. His mouth--just there, on the corner, is a touch of pink. Maybe red? Now the breeze he brought in just hit me--like spring flowers, which is odd for winter. Perfume! Not mine. That touch of pink, or red...not mine. My heart breaks. I say: \"who is she?\"", "score": null} +{"instruction": "I have some doubts about lfilter and filtfilt. I'm not sure if lfilter is causal. I know that filtfilt is zero-phase filtering. Does lfilter support zero-phase filtering? Is it causal?", "response": "* ```filtfilt``` is zero-phase filtering, which doesn't shift the signal as it filters. Since the phase is zero at all frequencies, it is also linear-phase. Filtering backwards in time requires you to predict the future, so it can't be used in \"online\" real-life applications, only for offline processing of recordings of signals.\n* ```lfilter``` is causal forward-in-time filtering only, similar to a real-life electronic filter. It can't be zero-phase. It can be linear-phase (symmetrical FIR), but usually isn't. Usually it adds different amounts of delay at different frequencies.\n\nAn example and image should make it obvious. Although the magnitude of the frequency response of the filters is identical (top left and top right), the zero-phase lowpass lines up with the original signal, just without high frequency content, while the minimum phase filtering delays the signal in a causal way:\n\n```from __future__ import division, print_function\nimport numpy as np\nfrom numpy.random import randn\nfrom numpy.fft import rfft\nfrom scipy import signal\nimport matplotlib.pyplot as plt\nb, a = signal.butter(4, 0.03, analog=False)\n# Show that frequency response is the same\nimpulse = np.zeros(1000)\nimpulse[500] = 1\n# Applies filter forward and backward in time\nimp_ff = signal.filtfilt(b, a, impulse)\n# Applies filter forward in time twice (for same frequency response)\nimp_lf = signal.lfilter(b, a, signal.lfilter(b, a, impulse))\nplt.subplot(2, 2, 1)\nplt.semilogx(20*np.log10(np.abs(rfft(imp_lf))))\nplt.ylim(-100, 20)\nplt.grid(True, which='both')\nplt.title('lfilter')\nplt.subplot(2, 2, 2)\nplt.semilogx(20*np.log10(np.abs(rfft(imp_ff))))\nplt.ylim(-100, 20)\nplt.grid(True, which='both')\nplt.title('filtfilt')\nsig = np.cumsum(randn(800)) # Brownian noise\nsig_ff = signal.filtfilt(b, a, sig)\nsig_lf = signal.lfilter(b, a, signal.lfilter(b, a, sig))\nplt.subplot(2, 1, 2)\nplt.plot(sig, color='silver', label='Original')\nplt.plot(sig_ff, color='#3465a4', label='filtfilt')\nplt.plot(sig_lf, color='#cc0000', label='lfilter')\nplt.grid(True, which='both')\nplt.legend(loc=\"best\")\n```", "score": 3} +{"instruction": "I have a repository with a lot of commits, but the author and committer are wrong. Is there a way to change all commits to have the correct author and committer?", "response": "Here is the solution, but be careful if you have a multi-user repository - this will change all commits to have the same (new) author and committer.\n```\ngit filter-branch -f --env-filter \"\n GIT_AUTHOR_NAME='Newname'\n GIT_AUTHOR_EMAIL='new@email'\n GIT_COMMITTER_NAME='Newname'\n GIT_COMMITTER_EMAIL='new@email'\n \" HEAD\n```\n\nChanging the author (or committer) would require rewriting all of the history. If you're okay with that and think it's worth it then you should check out git filter-branch. The manual page includes several examples to get you started. Also note that you can use environment variables to change the name of the author, committer, dates, etc. -- see the \"Environment Variables\" section of the git manual page.\n\nSpecifically, you can fix all the wrong author names and emails for all branches and tags with this command (source: GitHub help):\n```\n#!/bin/sh\n\ngit filter-branch --env-filter '\nOLD_EMAIL=\"your-old-email@example.com\"\nCORRECT_NAME=\"Your Correct Name\"\nCORRECT_EMAIL=\"your-correct-email@example.com\"\nif [ \"$GIT_COMMITTER_EMAIL\" = \"$OLD_EMAIL\" ]\nthen\n export GIT_COMMITTER_NAME=\"$CORRECT_NAME\"\n export GIT_COMMITTER_EMAIL=\"$CORRECT_EMAIL\"\nfi\nif [ \"$GIT_AUTHOR_EMAIL\" = \"$OLD_EMAIL\" ]\nthen\n export GIT_AUTHOR_NAME=\"$CORRECT_NAME\"\n export GIT_AUTHOR_EMAIL=\"$CORRECT_EMAIL\"\nfi\n' --tag-name-filter cat -- --branches --tags\n```\nFor using alternative history filtering tool `git filter-repo`, you can first install it and construct a `git-mailmap` according to the format of `gitmailmap`.\n```\nProper Name Commit Name \n```\nAnd then run filter-repo with the created mailmap:\n```\ngit filter-repo --mailmap git-mailmap\n```", "score": 5} +{"instruction": "I need a short story about a guy who throws a snail and three years later the snail is back at the guy's doorstep. The snail says: \"What the hell was that all about? Sure it wasn't about your wonderful grandmother, but I bet it made you smile.\"", "response": "I am sorry for your loss, here is a short story for you: \nA guy is sitting at home when he hears a knock at the door. He opens the door and sees a snail on the porch. He picks up the snail and throws it as far as he can. Three years later there’s a knock on the door. He opens it and sees the same snail. The snail says: ‘What the hell was that all about?\nSure it wasn't about your wonderful grandmother, but I bet it made you smile. \nHope you like it and cheer up soon!", "score": null} +{"instruction": "Please summarize the election results of the summer olympics host city", "response": "Here is the table that summarizes the summer olympics host city election results:\n\n| City | Team | Round 1 | Runoff | Round 2 |\n|----------|-------|-------|------|-------|\n| Tokyo | Japan | 42 | - | 60 |\n| Istanbul | Turkey| 26 | 49 | 36 |\n| Madrid | Spain | 26 | 45 | - |", "score": null} +{"instruction": "My cat scratches the furniture. How do I train her not to do that?", "response": "Cats scratch furniture for a variety of reasons, so you'll have to work out why yours is scratching in particular. It's usually because it wants to claw off old nail sheaths, or because it wants to mark its territory. Here are a number of things you can do to train her not to scratch your furniture.\n\nFirst, you can trim her nails regularly. If you trim your cat's nails regularly, then it will be less likely for her to want to scratch because it will be more uncomfortable for her to do so. Plus, it will reduce the damage done by scratching because the claws won't be as sharp.\n\nSecond, you can cover the areas with something unpleasant, like tin foil or double-sided tape. This should discourage her from scratching there, and she'll (hopefully) learn to go to her scratching post instead.\nThird, you can try to redirect her attention when she starts to scratch where she shouldn't. If you catch her in the act, make a loud noise (clapping is good) and she should stop. Then, if you have a scratching post nearby, encourage her to scratch there instead. Give her a treat if she scratches the post, or praise her verbally. She'll learn that scratching the post gets her good things, while scratching the furniture gets her nothing.\n\nFinally, you can try a combination of all of the above. Trim her nails, cover the furniture, and when you catch her scratching the furniture, clap your hands and show her the scratching post.\n\nWith consistent effort, you should be able to break her furniture-scratching habit. It may take a few weeks, but it can be done.", "score": null} +{"instruction": "Dear [Hospital Name], I'm interested in enrolling in your MyChart service. Could you provide me with some instructions on how to do this?", "response": "Dear [Patient Name],\nThank you for starting the process of enrolling in [Hospital Name] MyChart. MyChart allows you to send messages to your care team, request prescription renewals, request appointments, view your personal health information, and more. Please follow the instructions below to create your account.\nPlease use this link to sign up for your MyChart account: [URL Link]. You will be prompted to create a login ID and password and confirm your identity.\nPlease remember that MyChart is NOT to be used for urgent needs. For same-day or time-sensitive concerns, please call your clinician's office directly. For medical emergencies, dial 911.\nSincerely,\n[Hospital Name] Providers and Staff", "score": null} +{"instruction": "What is the best way to export genealogical data from one vendor to another?", "response": "GEDCOM is the defacto standard for exchanging genealogical data. There are some problems with GEDCOM.\n\n* It is not rich enough to hold all the types of information that different vendor systems manage internally. So exporting GEDCOM from one system may lose information that that system actually holds. Though see point 4 below.\n* There is enough ambiguity in the definition of GEDCOM that different vendors have interpreted a few parts of the format inconsistently. Though they support the same tags, they can't consistently share data that uses those tags.\n* Some systems don't implement all parts of the GEDCOM format. So, when they import GEDCOM data that includes those parts, they lose that information.\n* GEDCOM has facilities that allow different vendors to extend it by adding new tags that allow them to add new types of data to GEDCOM. Others systems that do not use the same set of extensions looe that information on import.\n\nThere have been a few attempts to create new standards and formats for exchanging genealogical data. An older one that is often mentioned is the GenTech model. Recently there have been two efforts underway, Better GEDCOM and GEDCOM-X. Better GEDCOM is now inactive. However, the currently developing FHISO effort evolved from it. GEDCOM-X is an effort of Family Search (an organ of the LDS) and is currently a work in progress.\nA number of individuals have also offered up new formats for archiving and tranferring genealogical data. None of these have generated enough traction to attract critical mass of interest.", "score": 3} +{"instruction": "What is a joke with a pun?", "response": "Here is a joke with pun:\n\nI tried to make a belt out of watches. It was a waist of time.", "score": null} +{"instruction": "Write a script for an anime where a magical hand appears in the middle of the night, and writes \"Mene, Mene, Tekel, and Parsin\" on the wall. The king of the kingdom then summons his wisest advisors to decipher the writing, but they fail. Later that night, a man bursts into the room through the window, his long coat billowing majestically in the night breeze. He declares that he is the one who wrote the writing on the wall. The king tries to kill him, but the man defeats the king's Stand users with his magic hand.", "response": "Belshazzar cowered and fell to the ground as a silver hand appeared. It wrote on the wall in gleaming letters \"Mene, Mene, Tekel, and Parsin!!!\"\n\"OH NO!\" Belshazzar shrieked. \"Enchanters, warriors, tell me what this means.\"\n\"This must be the work of an enemy Stand...\" Yet the enchanters could not decipher the writing on the wall.\nDaniel burst into the room through the window, his long coat billowing majestically in the night breeze. \"You thought it undecipherable so you consulted your wise men, but it was I, Daniel!\"\n\"Behold my Stand, za Hand. These are the meaning of the words.\"\nDaniel contorted his upper body and thrust his hands outwards. \"Mene, the days of your kingdom have been numbered and will be brought to an end.\"\n\"Tekel, you have been weighed and found lacking. The scales of justice tipped against you.\" Daniel pointed dramatically at Belshazzar.\n \"Peres, your kingdom has split and shall be given to the Persians and the Medes.\" Daniel brought his hand down with a swift chopping motion.\nBelshazzar yelled, \"Seize him, seize him!\"\nDaniel beat the Stand users aside with mighty swings of his silver Stand. \"Too late! God has spoken, Belshazzar tonight you die!\"", "score": null} +{"instruction": "What are the pros and cons of having a less experienced advisor?", "response": "An inexperienced advisor can hurt your career by being relatively unknown. This means they may not have access to the same network and that their recommendation letters do not carry the same weight. Inexperience in supervision may, for example, lead to unrealistic expectations. Or an inexperienced advisor can be very good for your career, by quickly rising to fame with the awesome publications the two of you will write together and being fresh in everybody's memory when writing recommendation letters. They may spend plenty of time on working with you.\n\nAn experienced advisor can hurt your career by being never there. They may already have made their name, have extremely high expectations from PhD students, to the level of cause them to be overly stressed and quit. Or they may be very good for your career, as dedicated as can be to PhD students, prioritising them above most other duties, having realistic expectations from PhD students, and having great influence when writing recommendation letters.\n\nBottom line: an experienced advisor may be better for you than an inexperienced one, but that certainly does not have to be the case. And keep in mind: a very good/famous scientist is not always a very good PhD advisor.", "score": 4} +{"instruction": "Write a poem about a hero fighting a monster.", "response": "Anthony galloped toward the foul beast.\nAs brave and strong, he felt no fear in the least.\nTen men, ten swords fell,\nOne swipe of Anthony's sword, their story they would never tell\nSoon, against our hero left just one,\nThe foul demon Nashbar, terrible claws eating the sun.\nForward, the hero charged, on a golden steed,\nHe killed it dead, cut off it's head, and left the vultures to feed.\nSo remember my son, though small and weak,\nAll a hero ever needs, Bravery, and a quest to seek.", "score": 4} +{"instruction": "What is the most fun thing to do in Minecraft?", "response": "The thing about Minecraft is, unlike most games you set your own goals. Here's a list of common (and uncommon!) things people have done with Minecraft:\n\n* Building a massive structure\n* Recreating real-world objects\n* Survival (Deleting map upon dying)\n* Making amusing videos\n* Creating an adventure map for others to play\n* Getting all the achievements\n* Proposing to your girlfriend\n* Achieving difficult things in the game through ingenuity\n* Computation\n* Blowing stuff up!\n\nThe mechanism that keeps the game going is your own desire to complete the goals you've set yourself, and pure, red-hot addiction.\n\nSome additional stuff people have done:\n\n* Walking and walking and walking (thanks SevenSidedDie)\n* Build an epic railway\n* Make music\n* Find the Far Lands\n\nMinecraft 1.9+\nIn Minecraft 1.9 and beyond, there are villages, strongholds, abandoned mineshafts and nether ruins to explore. In particular, strongholds will contain portals to The End, in which players can fight The Ender Dragon, a 'boss fights'. The second 'boss fight' has also been added, The Wither. This makes exploration a key part of the game, as well as combat. 'Hardcore Mode' (world deletion upon death) is also an option if you're after a challenge.\nA creative mode has also been added that allows players complete freedom in constructing large structures, compartmentalizing that aspect of gameplay.", "score": 5} +{"instruction": "How to disable the git pull warning?", "response": "This is a new warning added in Git 2.27:\n\n* \"git pull\" issues a warning message until the pull.rebase configuration variable is explicitly given, which some existing users may find annoying---those who prefer not to rebase need to set the variable to false to squelch the warning.\n\nTo remove the warning, set one of the suggested values to your preferred default behaviour for git pull if you don't specify behaviour on the command line (using --ff, --no-ff, --ff-only, --rebase). In all cases, git will attempt a fast-forward merge if possible. The settings control what happens when there are changes in your branch but not present in the remote branch.\n\n```\n git config pull.rebase false # merge (the default strategy)\n```\nThis is the existing default behaviour; set this for no warning, and no change in behaviour; git will merge the remote branch into your local one.\n```\ngit config pull.rebase true # rebase\n```\n\nHere, git will attempt to rebase your changes on top of the remote branch. \n```\ngit config pull.ff only # fast-forward only\n```\nIf a fast-forward merge is not possible, git will refuse to proceed.\n> Refuse to merge and exit with a non-zero status unless the current HEAD is already up-to-date or the merge can be resolved as a fast-forward", "score": null} +{"instruction": "I'm thinking of being on the surface of the Moon. What's your first impression of being on the surface of the Moon?", "response": "My first words of my impression of being on the surface of the Moon that just came to my mind was \"magnificent desolation.\" The magnificence of human beings, humanity, Planet Earth, maturing the technologies, imagination and courage to expand our capabilities beyond the next ocean, to dream about being on the Moon, and then taking advantage of increases in technology and carrying out that dream - achieving that is magnificent testimony to humanity. But it is also desolate - there is no place on earth as desolate as what I was viewing in those first moments on the Lunar Surface.\n\nBecause I realized what I was looking at, towards the horizon and in every direction, had not changed in hundreds, thousands of years. Beyond me I could see the moon curving away - no atmosphere, black sky. Cold. Colder than anyone could experience on Earth when the sun is up- but when the sun is up for 14 days, it gets very, very hot. No sign of life whatsoever.\n\nThat is desolate. More desolate than any place on Earth.", "score": 4} +{"instruction": "Write an essay about the impact of COVID-19 on online shopping", "response": "This text contains the following facts: \n* The COVID-19 pandemic brought about an increase in online shopping.\n* The COVID-19 caused anxiety over potential health risk associated with in-store shopping.", "score": null} +{"instruction": "Imagine you are a country with an island that has a population of live dinosaurs. What would the scientific, historical and social impacts of such a discovery be?", "response": "The discovery of live dinosours would be a major scientific breakthrough and would have a number of implications for science, history and society.\n\nFirst, scientists would go nuts. The discovery of any new species is big news, but the discovery of a population of new species that are dinosaurs would be the biggest scientific discovery of all time. Paleontologists would fight tooth and claw to be the first to study them. The island would be immediately declared a nature preserve and probably a UNESCO World Heritage Site. The country that owns the island (if it's a country that has a good relationship with the scientific community) would be overjoyed at all the scientific attention and would do everything they could to help the scientists study the dinosaurs.\n\nSecond, the public would also go nuts. It would get a lot of media coverage. There would be huge demand for tours to the island, as much to see the dinosaurs as to see the amazing new species of plants and other animals that would almost certainly be found there as well. The country that owns the island would be overjoyed at all the income from tourists and would do everything they could to set up tours, as long as the scientists didn't object too strongly.\n\nThird, there'd be a lot of debates about whether to clone them, whether it was ethical to bring them back to civilization and what impacts they would have on the ecosystem and society.\n\nOverall, the discovery of live dinosours is a momentous event and it needs lots of discussions and careful actions to figure out what is the best way to manage the dinosours.", "score": 4} +{"instruction": "I want to copy all files from a directory to another directory in python. The directory is relative to a script. I have the full path of the script and the destination directory. But I don't have the full path of the source directory. How to copy all files from the source to the destination?", "response": "Python have already evolve to the ```__future__``` long time ago. So how about using the amazing ```pathlib``` coming with Python 3.4 to accomplish the task instead of struggling with ```os```, ```os.path```, ```glob ```, ```shutil```, etc.\nSo we have 3 paths here (possibly duplicated):\n\n* ```mod_path```: which is the path of the simple helper script\n* ```src_path```: which contains a couple of template files waiting to be copied.\n* ```cwd```: current directory, the destination of those template files.\n\nand the problem is: we don't have the full path of ```src_path```, only know it's relative path to the ```mod_path```.\nNow let's solve this with the the amazing ```pathlib```:\n```# Hope you don't be imprisoned by legacy Python code :)\nfrom pathlib import Path\n# `cwd`: current directory is straightforward\ncwd = Path.cwd()\n# `mod_path`: According to the accepted answer and combine with future power\n# if we are in the `helper_script.py`\nmod_path = Path(__file__).parent\n# OR if we are `import helper_script`\nmod_path = Path(helper_script.__file__).parent\n# `src_path`: with the future power, it's just so straightforward\nrelative_path_1 = 'same/parent/with/helper/script/'\nrelative_path_2 = '../../or/any/level/up/'\nsrc_path_1 = (mod_path / relative_path_1).resolve()\nsrc_path_2 = (mod_path / relative_path_2).resolve()\n```\nIn the future, it's just that simple.\n\nMoreover, we can select and check and copy/move those template files with ```pathlib```:\n```if src_path != cwd:\n # When we have different types of files in the `src_path`\n for template_path in src_path.glob('*.ini'):\n fname = template_path.name\n target = cwd / fname\n if not target.exists():\n # This is the COPY action\n with target.open(mode='wb') as fd:\n fd.write(template_path.read_bytes())\n # If we want MOVE action, we could use:\n # template_path.replace(target)\n```", "score": null} +{"instruction": "I am writing an essay about the use of the oxford comma. Can you please write a short summary of the rules for using the oxford comma?", "response": "Using a comma before the last item in a list is known as the Oxford Comma, sometimes the Serial Comma. It is used before conjunctions in a list like this with three or more items. Its use is purely written style and optional. It is more common in America outside journalism, and much less common in other English speaking areas of the world. There are arguments for and against which usually come down to comprehension. \n\nComma use is something of a grey area though, and everyone has his own style. Pick what reduces ambiguity. Language log has an interesting article on how reading comprehension can be improved with comma use, including this type.", "score": null} +{"instruction": "I have a crush on a friend, and I want to know if they like me back. I want to know if they think of me as more than just a friend.", "response": "Feelings and emotions can be complex and difficult to understand, especially when trying to decipher those of someone you know. Are you simply an acquaintance? Do they consider you a friend? Is it love or just a crush? There are many layers to relationships and it's not always clear where you stand with someone. However, there are several different methods to decode how a person feels about you and perceives your relationship.\n\n## Read body language\n\n1. Notice the amount of eye contact. People’s eyes can be very expressive and tell a lot about how they’re feeling toward those around them. Friends will make eye contact with each other during conversation to show interest and respect. Someone with a crush on you will make repeated eye contact with you whether in a conversation or not. A crush may hold eye contact for a few seconds, and then look away from shyness, and find your gaze again later. Dilated pupils are another indication of a crush. Someone who’s in love with you will feel totally comfortable locking gazes for extended periods of time.\n2. Gauge proximity. The amount of space people choose to place between themselves and others can be an indicator of their perceived relationships with those around them. Someone who is your friend will stand or sit closer to you than an acquaintance. A person with a crush on you will stand near you, lean toward you, and look for reasons to get closer to you- whether it’s intentionally walking past you at a close range, or leaning in closer than necessary to talk to you. People who are in love will stand or sit very close together- perhaps their hips touch when standing side by side or their knees touch when sitting across from one another.\n3. Monitor movement. Our movements, whether conscious or unconscious, can convey lots of different meanings about how we feel about those around us. Friends will tilt their heads while in conversations with other friends to show that they’re listening. They may touch each other in light, casual ways on the hand or arm. Someone with a crush will look for reasons to touch the other person, often in a playful and flirty way. They may seem fidgety or nervous, and may subconsciously begin to copy the movements of their crush. Someone who is in love with you will seem very comfortable and secure around you. They may touch you using gentle, caressing gestures.\n4. Pay attention to posture. The way a person stands (or sits) when they're around you may give you some clues as to how they feel about you. A friend will stand with his or her shoulders and face pointing toward you. If sitting, he or she will uncross his or her legs to show that he or she is open to you. His or her palms may be open toward you as well, another sign of receptivity. When someone has a crush on you, they stand tall and slightly stick their chest out. Additionally, they will point their toes and hips toward you, as a sign of wanting to move toward you (both figuratively and literally).\n\n\n## Listen for verbal cue\n\n1. Recognize vocal tone. The inflection and quality of a person’s voice will change subconsciously depending on the feelings they have toward you. Listen to how someone talks in general, and compare it with they sound when talking to you individually. A friend’s voice will remain constant, with little to no change in pitch or tone. A crush’s voice will have a playful and flirtatious quality to it. Women use a higher pitch to accentuate their femininity. Men use a lower pitch, but alter the pitch, almost to a “sing-song” tone, to both highlight masculinity, and make a woman feel at ease. People who are in love will alter their voices to match their partners’. Men talk in a higher pitch and women a lower one to show that they are connected as one.\n2. Think about how casual your conversations are. A conversation between friends is usually casual and comfortable. Both you and your friend ask and answer questions equally, and may or may not make future plans to hang out.\n3. Notice how much they talk about themselves. If someone has a crush, they will talk a lot about themselves, both from nerves and as a way to “humble-brag.” They will also ask about you, and agree enthusiastically with what you say to make it seem like you have things in common.\n4. Analyze how intimate your conversations are. If someone is in love with you, they will open up to you in intimate ways. You may find out about their deep insecurities and fears, childhood, family dynamics, important personal values, and vision for the future. They may plan future vacations, or invite you to meet family.\n\n\n## Analyze your relationship\n\n1. Reflect on your relationship. Take some time in a quiet place simply to think about your feelings toward the person in question, and your interactions with them. Some questions to consider are:\n\t* How long have you known this person? How frequently do you see or talk to them? Is the communication equitable? What is the level of intimacy shared (either physically or conversationally)? How would you characterize your time together? Do you both seem to enjoy being together?\n2. Make a list. If you’re trying to determine whether someone is a friend or a crush, make a “Friend/Crush” list. If you’re figuring out whether someone is in love with you, make a “Like/Love” list. Like a Pro/Con list, record any specific behavior that would indicate how they feel about you. Having a visual aid way may give you more insight into how they feel.\n3. Ask a trusted friend for help. Sometimes our feelings toward someone can cloud our judgment in assessing their behavior. A friend can offer an honest, objective observation of the relationship, and will be less likely to allow personal feelings to affect their understanding.\n\n\n## Ask directly\n\n1. Express your feelings first. If you’re asking someone to open up to you, then you need to be upfront with them as well. If you’re looking for honesty, you need to show you’re capable of reciprocating. People are more likely to be direct with you if you’re direct with them. Start with a sentence like, \"I want you to know that I feel\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_about you/our relationship. I'm hoping you'll be just as honest and share your feelings about me.\"\n2. Ask in a tactful, non-threatening way. Explain that you’re simply trying to gain some insight and clarity in your relationship, and that you respect their feelings no matter what. It’s important for your partner to know that they can open up to you, without an abrasive reaction. Try saying something like, \"I want you to know that I will completely honor and respect your answer, even if it's not the one I want to hear.\"\n3. Be prepared for the consequences. There’s a chance you and your partner may be on two different wavelengths in terms of your relationship. Their answer may sting a little. Take some time to decide how you want to proceed in the relationship, knowing exactly how your partner feels about you.", "score": null} +{"instruction": "When someone gives you unsolicited advice, it can be tricky to know how to respond, no matter how well-intentioned it is. You don't want to hurt their feelings, but you also may not want to leave room for further advice. Sometimes, all you can do is politely acknowledge the advice and move forward. In other cases, however, you may need to shut the advice-giver down for crossing a boundary, or even leave the conversation.", "response": "When someone gives you unsolicited advice, it can be tricky to know how to respond, no matter how well-intentioned it is. You don't want to hurt their feelings, but you also may not want to leave room for further advice. Sometimes, all you can do is politely acknowledge the advice and move forward. In other cases, however, you may need to shut the advice-giver down for crossing a boundary, or even leave the conversation.\n\n## Keep your cool\n\n1. Try to remember that the person is probably just trying to be helpful. They may not realize when they overstep their bounds, and they might hope that you will genuinely benefit from their advice. Sometimes, unsolicited advice just means that the person cares about you and wants to make your life easier. It is easy to take unsolicited advice as criticism. While this can be true, take their perspective into account and try to see if they are offering genuine, yet misguided support.\n2. Take a moment to put yourself in the other person's shoes. While it does not excuse their rude behavior, keep in mind that people often give unsolicited advice because they feel the need to be heard, or because it's what they're used to receiving from other people. Think about what may have led this person to share a piece of advice you did not need. Some examples of experiences that might lead someone to give unsolicited advice are feeling unheard while growing up, going through a difficult time and projecting their own problems onto you, or they feel undermined in other areas of their life and give advice to feel more competent. In other cases, the person may feel more powerful by giving advice that no one asked for, or they may be overconfident in their abilities. Gender is another factor, as men tend to give women more unsolicited advice, often as a result of undervaluing their skills.\n3. Maintain a sense of humor. It’s often easiest to smile or laugh off unsolicited advice. By having a sense of humor about the situation, you can put yourself in the right frame of mind to shrug off the comment. For small, harmless suggestions, especially from strangers, put the situation in perspective and let your humor guide your response. Think about how the situation will make a funny story to tell your friends later, or how absurd it is for someone to think you might not know how to do a simple task. You can convey good-natured humor in your response out of politeness, even when you find the suggestion silly or ignorant. By saying something like, “Well, that’s a great idea! Why didn’t I think of that?” you may be enabling them to continue to offer unprompted advice, but it can help you avoid conflict.\n4. Avoid the impulse to lash out. It is easy to feel defensive when you receive unsolicited advice, in part because it can feel like the other person doesn’t trust you to handle things themselves. Sarcasm and criticism can make the person who gave you advice feel victimized, however, as they most likely won’t see what they did wrong. Think about your relationship with the person. Especially if they are a friend or family member, you may not want to upset them. When interacting with a stranger, it can be easy to be dismissive or rude, but try responding in a firm, yet polite way if laughing off the advice doesn’t work.\n\n\n## Move on with the conversation\n\n1. Hear the advice-giver out. In many cases, the person just wants to feel heard or contribute to the conversation. Let them say their piece, even if it's unhelpful or completely wrong. They'll probably feel better once they finish talking and often just stop. Once they have finished, the conversation can move on.\n2. Acknowledge the advice and move on. Sometimes the easiest thing to do is nod, smile, say okay, and go ahead with your plans anyway. Particularly if the person is in a position of power, you might feel obligated to thank them before moving forward or changing the subject. \"Thank you. I'll consider that.\" \"Let me write that down so I can think it over.\" \"I already have a plan for handling this, but thank you for your perspective. I'll take it into consideration.\"\n3. Turn it into a joke about yourself. A little humor can turn around an awkward situation. If you think of something silly to say, try saying it out loud. The two of you might be able to have a good laugh and move on. \"If you think my desk is messy, you should see my bedroom. Some of my clothes have probably fossilized by now.\" \"You know me. I love carbs far too much to change my diet.\" \"I would, but my husband banned me from the kitchen after the second time I set myself on fire.\"\n4. Address their motive, if they have one. Sometimes people who give advice have an ulterior motive (for better or for worse). If you can tell that an advice-giver is hoping you'll do something that makes them happy, try offering an alternative or addressing it directly. \"Are you trying to make an excuse to spend more time with me? Because you don't need one! Are you free this weekend?\" \"I know that it's been a big change since I moved away from home. I enjoy living in the city, so I plan to stay there. Why don't we set some dates for you to come visit?\"\n5. Ask a question to switch to a new topic. Changing the subject by asking a question can be a good way to distract a person who was piling on advice. Try asking about them, or about something you know they're interested in. This way, they're likely to stay engaged in the new topic. \"I'll keep that in mind. But enough about me. How was your day?\" \"My partner and I are going to make all our birthing decisions together. Do you know of any good parent and me classes?\" \"Thanks for the advice! You mentioned having two dogs. What are their names?\"\n6. Turn down the advice politely if the person doesn't get the hint.. Try to keep it positive by saying that it isn't right for you personally, while acknowledging that it could be right for them or someone else. This will help the other person realize that they gave advice you didn’t ask for. \"Thank you for trying to help, but I may have given the wrong impression. I'm not looking for advice right now.\" \"I've tried that, but I found that it doesn't help me personally.\" \"I'll make treatment decisions with my doctor.\" \"That's not in line with my personal values.\"\n\n\n## Confront the advice-giver\n\n1. Express your discomfort if the advice-giver crosses a line. Sometimes, people say things that are downright rude, mean, or overly familiar. In that case, you may want to tell them that they've offended you or hurt your feelings. Try to make \"I\" statements (e.g. \"I'm upset\") instead of a \"you\" statement (e.g. \"you're rude\") so that you don't put them on the defensive. One way to shut down a piece of unwanted advice would be to say, \"I feel upset about this line of conversation. Let's please change the subject.\"\n2. Set a boundary with a regular advice-giver. If someone is repeatedly trying to give advice when it's not what you want, you may want to express your frustration in a constructive way. You can set a boundary in the conversation, or in general, if the person has a track record of offering unsolicited advice. For a specific instance of needing to set a boundary you could say, \"I know you're trying to help, but I really just need a listening ear right now,\" or simply \"I'm not looking for advice at the moment.\" If someone has been giving you unsolicited advice for weeks, months, or years, try saying something like, “I often feel like you try to help in ways that show you don’t trust me to help myself,” or “I will ask for advice if I need to, but I need you to let me talk about this without trying to help.”\n3. Exit the conversation if needed. Sometimes people pile on unsolicited advice despite your attempts to redirect the conversation or set a boundary. In these situations, it may be easier to leave the conversation for a minute or end the conversation altogether. \"Please excuse me. I remembered… \"\n\t* \"I need to get going now so I'm not late.\" \"I need to get to an appointment. It was nice talking to you!\"", "score": null} +{"instruction": "What 10 items would you take with you if you were stranded on a desert island for 100 days?", "response": "If I had to spend 100 days on a desert island all alone, I will take the following ten items with me:\n\n1. A knife. It has lots of use cases, e.g. making a spear for hunting, making a raft, cutting wood to make a shelter or preparing food.\n2. A lighter to start fires. If I have dry wood, I can make fire. And I can use fire for signaling, for keeping warm, for cooking food.\n3. A fishing rod. I may have to survive on fishing. And it's better to have a rod rather than trying to make one.\n4. A solar still. It's impossible to survive without water. If I have a still, it allows me to get fresh water from the sea.\n5. A satellite phone. So I could keep in touch with my family and friends, and maybe arrange a rescue mission.\n6. A solar charger - to keep my electronics powered.\n7. A sturdy tent. It can be used as a shelter to provide me with protection and privacy.\n8. A book on survival and/or how to build stuff with minimal tools. I'd want something with pictures, since I wouldn't have anyone to teach me\n9. A first aid kit in case of emergencies. It might as well increase my chances of survival even if I am not rescued quickly.\n10. A blanket - to keep me warm at night.", "score": 4} +{"instruction": "Europe has a very profound cultural heritage. Sculpture art, architecture, art, literature, and music are all things with a long history in Europe. Britain, Greece, France, Switzerland, Italy, Austria, Germany, the Netherlands, Luxembourg, Belgium, and almost all other European countries are popular tourist destinations. Here are recommended seven-day tours of Europe. Day 1: - Sightseeing guideline: Paris - Dijon - Palace Duchy of Burgundy - Place Libre - Notre-Dame Dijon - Lucerne - Traffic guideline: You can take a bus at KFC, 211-213 Boulevard Vincent Auriol, 75013 Paris. Day 2: - Sightseeing guideline: Lucerne - Capel Bridge - Lake Lucerne - Milan - Sforza Castle - Venice - Traffic guideline: Take a bus at Milano, Main entrance of Main Train Station, Lucerne and then transfer to Fontana la torta di Spus Day 3: - Sightseeing guideline: Venice - Piazza San Marco - Bridge of Sighs - Rome - Traffic guideline: Take a bus at Piazza San Marco Day 4: - Sightseeing guideline: Rome - Colosseum - Constantine's Arch of Triumph - Piazza Venezia - Piazza Spagna - Florence - Traffic guideline: Take a bus at Piazza del Colosseo, 1, 00184 Roma, Italy Day 5: - Sightseeing guideline: Florence - Cathedral of the Virgin of Flowers - Piazza del Laird - Pisa - Leaning Tower of Pisa - SAN Remo - Traffic guideline: Take a bus at Piazza di Santa Croce, 50122 Firenze Day 6: - Sightseeing guideline: SAN Remo - Monaco - Monaco Royal Palace - Cannes - Cannes Film Festival Palace - Lyon - Traffic guideline: Take a bus at Hotel SAN Remo and transfer to Avenue Saint-Martin, 98000 Monaco Day 7: - Sightseeing guideline: Lyon - Paris - Arc de Triomphe - Eiffel Tower - Notre Dame Cathedral - Seine River", "response": "Europe has a very profound cultural heritage. Sculpture art, architecture, art, literature, and music are all things with a long history in Europe. Britain, Greece, France, Switzerland, Italy, Austria, Germany, the Netherlands, Luxembourg, Belgium, and almost all other European countries are popular tourist destinations. Here are recommended seven-day tours of Europe.\n\nDay 1: \n\n* Sightseeing guideline: Paris - Dijon - Palace Duchy of Burgundy - Place Libre - Notre-Dame Dijon - Lucerne\nPalace Duchy of Burgundy is originally little more than a residence backed on the Gallo-Roman Hill, it was rebuilt in the 17th century as a classicist palace designed by Versailles architect Mansard. The gallery in the east wing of the palace is one of the largest museums in France and houses many art treasures. Place Libre is a semi-garden designed by Choumansard in 1685 to welcome the equestrian sculpture of King Louis XIV. It is one of the most spectacular royal squares in France. Notre Dame de Dijon is an outstanding example of third-century Burgundian architecture, inherited from the Roman art period.\n* Traffic guideline: You can take a bus at KFC, 211-213 Boulevard Vincent Auriol, 75013 Paris.\n\nDay 2: \n\n* Sightseeing guideline: Lucerne - Capel Bridge - Lake Lucerne - Milan - Sforza Castle - Venice\nThe Capel Bridge is an ancient wooden bridge in Europe, constructed in 1333 to defend Lucerne. It has since become a prominent landmark of the city. \nLake Lucerne, with its stunning mountainous surroundings, is considered to be Switzerland's most picturesque and diverse lake. \nThe Sforza Castle is a representation of the many ups and downs of Milan's history and houses numerous valuable works of art and historical significance. \nThe Milan Cathedral is the world's second-largest church, and it took five centuries to complete. It is a Gothic-style church with 135 steeples, each with a statue, and it boasts the most statues of any Gothic church in the world.\n* Traffic guideline: Take a bus at Milano, Main entrance of Main Train Station, Lucerne and then transfer to Fontana la torta di Spus\n\nDay 3: \n\n* Sightseeing guideline: Venice - Piazza San Marco - Bridge of Sighs - Rome\nPiazza San Marco, or St. Mark's Square, is a beautiful square that is encircled by several stunning Renaissance buildings, including the Duke's Palace, St. Mark's Church, and St. Mark's Bell Tower. It was hailed by French Emperor Napoleon as \"the most beautiful living room in Europe.\" \nThe Bridge of Sighs, on the other hand, links the court and the prison, and it is frequently the final path for prisoners sentenced to death, just before their execution.\n* Traffic guideline: Take a bus at Piazza San Marco\n\nDay 4: \n\n* Sightseeing guideline: Rome - Colosseum - Constantine's Arch of Triumph - Piazza Venezia - Piazza Spagna - Florence\nThe Colosseum is Rome's most spectacular monument and is synonymous with gladiator battles, lion fights, and the eternal city. \nThe Arch of Constantine is located between the Colosseum and the ruins and features three arches and reliefs of angels. It stands as a symbol of Emperor Constantine I's rejection of Rome's old religion and his establishment of Christianity as the state religion. \nPiazza Venezia is situated near the Roman Forum and boasts a magnificent white palace that is free for visitors to explore. There are exhibitions inside documenting Italy's recent unification. \nPlaza de Espana, while lacking in attractions, became a household name after a famous scene in the movie Roman Holiday, where Audrey Hepburn's character ate ice cream on the steps. \nFinally, the world-renowned Trevi Fountain is the largest Baroque fountain globally and gained popularity following the success of the film Roman Holiday.\n* Traffic guideline: Take a bus at Piazza del Colosseo, 1, 00184 Roma, Italy\n\nDay 5:\n \n* Sightseeing guideline: Florence - Cathedral of the Virgin of Flowers - Piazza del Laird - Pisa - Leaning Tower of Pisa - SAN Remo\nThe Florence Cathedral, also known as the Basilica, is among Italy's largest churches and is famous for having the biggest brick dome ever constructed. It encompasses the Cathedral, St. John's Baptistery, and Giotto's Bell Tower. \nLaird Square, located in Florence, Italy, is an \"L\" shaped square situated in front of the Old Palazzo, still retaining its status as the political hub of the city and featuring several stunning statues. \nThe Leaning Tower of Pisa is situated in the Miracle Square complex in the north of the city of Pisa in Tuscany, Italy. It and the neighboring cathedral, Baptistery, and more have had a significant influence on Italian architectural art and have been designated as World Heritage by the United Nations Educational, Scientific, and Cultural Organization.\n* Traffic guideline: Take a bus at Piazza di Santa Croce, 50122 Firenze\n\nDay 6:\n \n* Sightseeing guideline: SAN Remo - Monaco - Monaco Royal Palace - Cannes - Cannes Film Festival Palace - Lyon\nThe Monaco Royal Palace is the governmental center of Monaco and was initially utilized as a military fortress until the 17th century. \nThe King's palace boasts a distinctive geographical location on the sea. \nOn the other hand, the Palais des Festivals, constructed in 1982, is Cannes Film Festival's primary gathering place, where the most coveted prize in the film industry, the Palme d'Or, is awarded.\n* Traffic guideline: Take a bus at Hotel SAN Remo and transfer to Avenue Saint-Martin, 98000 Monaco\n\nDay 7:\n\n* Sightseeing guideline: Lyon - Paris - Arc de Triomphe - Eiffel Tower - Notre Dame Cathedral - Seine River\nThe Triumphal Arch, situated in Paris, France's central star square, was constructed in 1836 to honor Napoleon's victory over the Russian and Austrian allied forces in the Oak Pars battle. It features engravings of famous French soldiers from the 18th and 19th centuries and is a representative landmark of Paris, standing as the world's second-largest Arc de Triomphe. \nThe Eiffel Tower, designed by Gustave Eiffel, was built in an astonishing two years, two months, and five days, making it one of the most well-known landmarks globally and an international symbol of Paris, France, and romance. Lastly, the Seine River, which flows through Paris, is renowned worldwide and was once called \"the daughter of the Seine\" by someone.\n* Traffic guideline: Take a bus at Place Bellecour69002 Lyon\n\nEurope boasts numerous other tourist destinations that are worth exploring. I hope you have a pleasant journey discovering all of the continent's beauty and wonders.", "score": null} +{"instruction": "Is 1011 a prime number?", "response": "A prime number is divisible only by 1 and itself, which means it has no other divisor except 1 and the number itself. \nHence, 1011 is not a prime number. The number 1011 is divisible by 1, 3, 337, 1011.", "score": 1} +{"instruction": "I'm looking for a response to the following article.", "response": "There are many reasons why this is wrong. The first one is the assumption of 1 supernova per 25 years. That was the value arrived at in Gustav Tammann's article published in 1970. Others got values up to 100 years (Tammann himself changed his value later). All these values are really only good guesses.\n\nWorse errors are made in the percentage of remnants that should be visible. To start with, only a small percentage of them are visible; the others are obscured by dust in the galaxy. This does not happen to the same extent to the supernovas themselves, as they are intrinsically very much brighter. \n\nSarfati also uses an old paper to come up with the number of remnants in the Large Magellanic Cloud (a satellite galaxy to the Milky Way). However, that figure was considered to be wrong (and much smaller) in later studies. Older remnants are very difficult to distinguish against a background of dust in the galaxy. Many of them disappear completely after about 10,000 years or so.\n\nIt should be noted that, using Sarfati's own reasoning, we should not be able to see any remnants older than 6000 years. Instead, we know of remnants (e.g. G166.2 + 2.5) that are over 100,000 years old. How did those originate in his universe? The same goes for the distance to supernovas. The distance to SN 1987A has been trigonometrically measured at 167,000 light years (the paper says 51,200 parsecs). In other words, its light took more than 30 times longer to reach us than the creationist universe has supposedly existed. \n\nRemember also that a supernova typically becomes either a pulsar or a black hole, both of which are very hard to observe. A black hole can only be \"seen\" through its effects on other matter, and a pulsar is mainly visible if the solar system happens to be in line with its sweeping radio beam (with some pulsars the star itself has also been seen). Hence, all we can see of them long after the event is an expanding cloud of gas that gets dimmer over the millennia.\n\nThere are several other reasons which are covered in a very good article on TalkOrigins. That article has links to all the original scientific papers referred to, so you can check the validity yourself.", "score": 3} +{"instruction": "Why does China want to devalue their currency while Turkey doesn't? What is the difference in motivation between the two?", "response": "Trade surplus/deficit\nDevaluing one's currency means mostly one thing: It becomes more expensive to import products from abroad, while one's own products become comparably cheaper to buy on the world market. That means a country which exports lots of goods wants to devalue their currency while a country which imports lots of goods does not.\nIn 2016, Turkey imported goods worth US $186 billion and exported goods worth US $156 billion. That means they had a trade deficit of 19%.\nHowever, China only imported goods worth US $1.23 trillion and exported goods worth US $2.27 trillion in 2016. That means they had a trade surplus of 84%.\nWhich is why China wants to devalue their currency while Turkey does not.\nDebt management\nAnother reason to devalue one's currency is that it reduces any debts denoted in that currency. If a country has a problem of too much public and private debt, then an easy way to get rid of it is to cause a hyperinflation. \nChina happens to have a debt-to-gdp ratio of 47.6% while Turkey only has one of 28.3%. When you look at the private debt (debt of private citizens and companies in the country), you see the same picture. Private debit in Turkey was 170% of GDP, while China's is rumored to be over 300%.\nWhich is why reducing debt through causing inflation seems more attractive to China than to Turkey.\nForeign investor relations\nSo why don't all countries get rid of their debt by adding a few zeroes to their bank notes? Because inflating your currency is a surefire way to drive away any foreign investors. Nobody will invest money into your country when that money might be worth nothing in a few years. Investors want stable currencies. Again, we observe the same difference in motivation between Turkey and China here. Turkey is actively inviting foreign investors, but China is quite reluctant to allow foreign economic influence in their country.", "score": 5} +{"instruction": "If I were in charge of reforming school education, here are some changes I would make:\n\n* Reduce standardized tests and eliminate the stigma associated with failing them. The focus on testing is harmful in so many ways. It encourages teaching to the test and rote learning. It leads to gaming the system by teachers and students. It leads to a narrowing of the curriculum as schools focus on the subjects that are tested. It discriminates against kids who aren't good at taking tests, especially kids with ADHD, dyslexia and other learning disabilities. There needs to be more evaluation of critical thinking and reasoning skills, and less emphasis on memorization and regurgitation. \n* Enhance teacher training and support. I would make teacher education more rigorous, with more emphasis on pedagogy and less on content. A good teacher does not need to know all the answers, but needs to know how to find the answers, and how to inspire and guide students. In addition, I would make it compulsory for teachers to keep updating their knowledge of both their subject and of teaching methods. \n* Increase government fundings for teacher training. I would invest heavily in teacher training and professional development and ensure that teachers are well supported, respected and fairly paid.\n* Introduce a course on logical fallacies, starting with the most basic ones like appeal to authority, ad hominem, red herring, tu quoque, appeal to tradition, appeal to emotion, etc. I would also introduce a course on critical thinking, which would be more practical than the previous one. Students would learn how to formulate arguments and evaluate them, how to distinguish between good and bad arguments, etc.\n* Ensure that students receive a balanced curriculum including the arts, humanities and sciences. Schools should be evaluated on how well they develop the whole student, including their social, emotional and physical wellbeing.", "response": "If I were in charge of reforming school education, here are some changes I would make:\n\n* Reduce standardized tests and eliminate the stigma associated with failing them. The focus on testing is harmful in so many ways. It encourages teaching to the test and rote learning. It leads to gaming the system by teachers and students. It leads to a narrowing of the curriculum as schools focus on the subjects that are tested. It discriminates against kids who aren't good at taking tests, especially kids with ADHD, dyslexia and other learning disabilities. There needs to be more evaluation of critical thinking and reasoning skills, and less emphasis on memorization and regurgitation. \n* Enhance teacher training and support. I would make teacher education more rigorous, with more emphasis on pedagogy and less on content. A good teacher does not need to know all the answers, but needs to know how to find the answers, and how to inspire and guide students. In addition, I would make it compulsory for teachers to keep updating their knowledge of both their subject and of teaching methods. \n* Increase government fundings for teacher training. I would invest heavily in teacher training and professional development and ensure that teachers are well supported, respected and fairly paid.<\\lit>\n* Introduce a course on logical fallacies, starting with the most basic ones like appeal to authority, ad hominem, red herring, tu quoque, appeal to tradition, appeal to emotion, etc. I would also introduce a course on critical thinking, which would be more practical than the previous one. Students would learn how to formulate arguments and evaluate them, how to distinguish between good and bad arguments, etc.\n* Ensure that students receive a balanced curriculum including the arts, humanities and sciences. Schools should be evaluated on how well they develop the whole student, including their social, emotional and physical wellbeing.<\\lit>", "score": null} +{"instruction": "Please write a poem about how the world would be different if it was ruled by women instead of men.", "response": "Our ways were not hers and so she would carry on without us. No, in spite of us. Handing out advice wouldn't cut it. She'd need to experience a bloody nose or a skinned knee to learn her lessons. There were no skies limiting her, no obstacles to slow her foot. Sandy beaches with bright blue skies and feathery white clouds stretching out of view would be her providence. Awash in foamy surf she road waves smooth as glass and faster than speeding locomotives. And then, with her sun at set and darkness crowding in around, a broad smile fills her face. Her day is done and now it's time to take in an omnipotent panorama of celestial mechanics and a deep breath.", "score": 4} +{"instruction": "I collect postage stamps. I don't collect postage stamps. I only collect postage stamps of all the countries that we have defeated. France, Czechoslovakia, Austria, Holland, Denmark, Norway, Russia, etc.. I have a special album, which I especially designed for them. It bears the title \"Germany's Rules, Loser Drool\".", "response": "Ich sammle Briefmarken. Kein Briefmarken. Ich sammle nur die Briefmarken von allen, die wir überwunden haben. Frankreich, Tschechoslowakei, Österreich, Holland, Dänemark, Norwegen, Russland, etc.. Ich habe ein besonderes Album, die, das ich speziell für sie gemacht hatte. Es trägt den Titel \"Duetschland Regeln, Verlierer Drool\".\nIst ziemlich flott, es nicht?", "score": 3} +{"instruction": "## Develop the right mind set", "response": "## Develop the right mind set\n\n1. Do not compare yourself to others. Our standards for beauty are majorly influenced by media, Hollywood, and popular culture. Through these outlets, we develop negative judgements of our bodies by comparing ourselves to photoshopped pictures and glamorized movie stars. These images are created and altered by computers and are not realistic goals to achieve. Popular media can be hard to ignore, but you can loosen the grip of majority rule by deciding to love your body because your body is real. Whenever you see an image in a magazine, commercial ad, or some other media outlet, remind yourself that the image is false. The person you are looking at has most likely been air brushed and altered to look like that. You should not compare yourself to computerized images.\n2. Give yourself compliments. Having love in your life starts with loving yourself. You should view and treat yourself with the same kindness and admiration you would with someone you love. You probably wouldn't critique another person's body for the same things you critique on yourself. Don't hesitate to give yourself a compliment, go easy on your mistakes, and forgive yourself when you mess up. Drop the self-hatred, and replace it with understanding and appreciation. Look in the mirror and say \"I am attractive, confident, and amazing!\" Keep that up and eventually you will see yourself in a more positive light. When you accomplish a goal, let yourself know how proud you are of yourself. Look into a mirror and say, \"Great job, I am so proud of you.\"\n3. Practice gratitude. Appreciate what you have and love your inner-self. Do not let the number on the scale or your pant size define who you are or of what you are capable. Nothing good will come from being mean to yourself when you look in the mirror. Here are some ways to practice gratitude in your everyday life:\n\t* When a bad situation presents itself, do not let it get you down. Instead, ask yourself what you can learn from it when you look back on it and what you may be grateful for. Make a vow not to be negative or criticize for ten days. If you slip up, forgive yourself and keep going. You will notice how much energy you were wasting on negative thoughts. Keep a gratitude journal to write down the things you are grateful for everyday. Your body is a miracle, and you should celebrate all of the gifts your body has given you. Think about all of your great accomplishments, relationships, and activities you love that your body has allowed you to have and record them everyday.\n4. Make a list of all of the positive things in your life. Everyone has insecurities, but the key is focusing on what you like about yourself and your life. It can be easy to let the negatives outweigh the positives, but making a list can help prevent this. Start off by finding one thing that you like about yourself, no matter how small. Once you are feeling more confident in that thing, identify a second thing and so on. Build up a list of things you love about yourself, and when you hear a negative thought pop into your head, immediately refocus on the list. Eventually, you will see more positive qualities than negative.\n5. Steer clear of negativity. Stay away from people who often rant about their bodies. Their insecurities can rub off onto you and get you thinking about what problems you may have. Life is too precious to waste time self-loathing or knit-picking about your body, especially when your own self perceptions are usually more critical than what anyone else thinks. If someone starts to bash or criticize their own body or life, do not engage in the negativity. Instead, change the subject or make your exit.\n6. Exude confidence. When you act like you have confidence, you will feel good about yourself. Even if you don't feel like you have any, pretend. Pull back your shoulders, tilt your head up, and smile. Smiling is one of the biggest things you can do to improve both your self-image and the way others see you. If you hold yourself confidently, inner confidence will follow.\n\n\n## Practice healthy habit\n\n1. Practice healthy hygiene. To feel good about yourself, and show respect to your body, start every day with a refreshing shower. Use nice smelling soap, wash your face, and put deodorant on after you shower. This will keep you refreshed, confident around people, and help send positive thoughts to your mind.\n2. Wear comfortable clothes that help you feel good. Everything in your closet should complement your current body shape and appeal to you. Don't wear something uncomfortable just to impress others if it makes you feel self-conscious. Remember, you always look better being yourself. Wear clean clothes free of tears or rips to dress your body the way it deserves. Buy matching underwear and bras even if you are the only one who will see them. This tells your inner-self that you are doing this for you and only you.\n3. Commit to daily affirmations. Affirmations are positive statements that are meant to be repeated until the mind starts to believe them as true. Verbalizing what you like about yourself helps your brain to remember more easily than just thinking thoughts silently. You can personalize your daily affirmations however you see fit, just make sure they are positive statements. Here is a great statement to start with:\n\t* Everyday, look into a mirror, and say, \"I am beautiful; I am loved; I love myself as I am.\"\n4. Eat a well-balanced diet. Make a goal to eat fruits and vegetables each day to nourish your body and thank it for all that it gives you. This will not only give you a glow and long-lasting health benefits, but it will teach you how to respect your body. This does not mean that you have to stick to a strict dietary plan, but do make an effort to eliminate junk food and eat healthier to fuel your body.\n5. Get regular exercise. The best way to love your body is to partake in physical activities that are good for you and help you feel good. Don't just exercise to lose weight, but do it to take care of your heart and overall health. For example, yoga is good for relaxation, core strength and general well being, whereas sports are an excellent way to release energy productively and has been shown to improve mood.\n\n\n## Find support\n\n1. Ask others what they love about you. Although it may be scary and intimidating, ask your friends and loved ones what they think your best qualities are. This will help boost your confidence and remind you that your body has given you so many gifts. You will most likely be surprised at the wonderful things they see in you that you often miss. Here is a way you can ask:\n\t* Start off by giving your friend or loved one a great compliment, and then ask, \"What do you think is my best quality?\"\n2. Surround yourself with people who love themselves. People develop the attitude and behaviors of the people who surround them. If you keep positive influences in your life, you will adopt those attitudes which will help you love yourself, inside and out. Look for people who are optimistic, work hard toward their goals, and respect themselves.\n3. Follow after your role models. Think about all of the people either directly in your life, or those who have accomplished amazing things that you admire. Those individuals are most likely renowned and respected for their accomplishments outside of their bodies. Use this to help you remember that your body does not stand in the way of your life or happiness. Your body can help you pursue all of your dreams and desires. Think about your family members, close friends, or someone you have never met but always admired, and make a list of their best qualities. Then, ask yourself if their self-image or body made the list, or kept them from achieving their accomplishments.", "score": null} +{"instruction": "I want to create a 2x2 grid of subplots and plot some data on each subplot. I want to set the x-label, y-label, and y-ticks for each subplot. I want to set the x-labels and y-ticks for each subplot. I want to hide the x-labels and tick labels for the top subplots and y-ticks for the right subplots. I want to make sure that the subplots are automatically adjusted to give the specified padding.", "response": "There are several ways to do this. The `subplots` method from the `matplotlib` library creates the figure along with the subplots that are then stored in the `ax` array. Here is an example:\n\n```\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n# Prepare some data\nx = range(4)\ny1 = [3, 1, 5, 6]\ny2 = [8, 2, 1, 3]\ny3 = [3, 1, 2, 4]\ny4 = [9, 1, 8, 6]\n\n# Create a 2 x 2 grid of subplots\nfig, axes = plt.subplots(nrows=2, ncols=2)\n\n# Plot data on each subplot\naxes[0, 0].plot(x, y1)\naxes[0, 0].set_title(‘subplot 1’)\naxes[0, 1].plot(x, y2)\naxes[0, 1].set_title(‘subplot 2’)\naxes[1, 0].plot(x, y3)\naxes[1, 0].set_title(‘subplot 3’)\naxes[1, 1].plot(x, y4)\naxes[1, 1].set_title(‘subplot 4’)\n```\n\nIf you have to set parameters for each subplot it's handy to iterate over all subplots in a 2D grid using `for ax in axs.flat`:\n\n```\nfor ax in axs.flat:\n ax.set(xlabel='x-label', ylabel='y-label')\n\n# Hide x labels and tick labels for top plots and y ticks for right plots.\nfor ax in axs.flat:\n ax.label_outer()\n\n#automatically adjust subplot parameters to give specified padding.\nplt.tight_layout()\nplt.show()\n```", "score": null} +{"instruction": "What would be a good app idea for ordering pizza in a large group of people?", "response": "Ordering a pizza in a large group can be tricky, especially if there are varying preferences and dietary constraints. To address this problem, here is a proposal of an automatic pizza ordering app named AutoSlice. AutoSlice is installed on each user's phone, and contains each user's manually configured preferences (e.g. toppings, number of slices, allergies, etc.), which can be adapted in real time when ordering. One user (the host) starts an order and invite the other users to join. The app also uses location services to find nearby pizzerias from which to build a recommended order. Once the order is confirmed, the host can then distribute the bill automatically to each user, or decide to pay for everyone.", "score": null} +{"instruction": "How can I set up an online payment account with at&t? How can I pay my at&t bill by mail? How can I use other at&t payment options?", "response": "AT&T has expanded to include landline, cell phone, Internet, and television services. However, you can access your account and pay the bill for all of your services through the website or the customer service telephone system.\n\n## Set up an online payment account with at&t\n\n1. Create a \"MyAT&T\" account. Whether you have residential phone service, cell phone service, Internet, U-Verse, or DirecTV, you can manage everything through a single log-in at the AT&T website at https://www.att.com. Select your account type. The typical residential customer will fall under either \"U-verse TV, Internet & Voice,\" or \"Home Phone, Internet & Digital TV.\" U-verse is the newest AT&T innovation delivered through an upgraded fiber-optic network and is not available in all states. Enter the account number from your statement or the phone number associated with your account. The final information needed to set up your account is the billing zip code. Enter an ID name for your account and password. Your password should be at least 8 characters and include a mix of upper and lower case letters and numbers. Confirm your account. For security purposes, you will receive an email with instructions on how to confirm your account.\n2. Access your bill. Once you log in to your account, click on the tab marked \"Billing, Usage, Payments.\" In the drop down menu, select \"Bill Details.\" You can view a bill summary or download and print a copy of the paper bill.\n3. Make a payment. You have two choices for making a payment. You can either use a debit/credit card or have the payment debited out of your bank account. In the field marked \"Select Payment Method,\" you will be taken to the page where you can enter the details of your payment method. Once your payment details are entered, you will be given the opportunity to store it for use with future payments.\n4. Establish an Auto-Pay schedule. Under the payments tab, you can select \"Manage Auto-Pay\" to authorize the payment to be automatically deducted from your bank account on the same day every month. For security purposes, be sure to log out and close your browser window after making an online payment.\n\n\n## Pay your at&t bill by mail\n\n1. Review your statement. Either log into your MyAT&T account and print out the bill you want to pay or use the statement you received in the mail. The statement will include the amount you owe, details about the bill, and the payment due date. If you are unable to print your bill, note the account number on your check, and include a note with your name, address, and phone number associated with the account.\n2. Pay by check or money order. You can pay your bill by either personal check or money order. Because of security concerns and lack of a receipt, do not mail cash.\n3. Assemble your payment. You can either use the envelope provided with your monthly bill or hand address an envelope. Put your return address in the upper left corner and add the AT&T payment mailing address. Affix proper first class postage and your payment is ready to mail. You can verify the payment address on the AT&T website under the \"Support\" tab. The current address is: AT&T U-verse, P.O. Box 5014, Carol Stream, IL, 60197.\n\n\n## Use other at&t payment options\n\n1. Pay your bill via the automated phone system. Dial 1-800-288-2020 to access the 24 hour-a-day telephone customer service system. You will be asked to confirm the phone number associated with your account. You may also be asked for the last four digits of you Social Security number, and your zip code to verify your account. Follow the prompts to pay your bill. The system is voice-activated. You can either enter your information by voice or through the keypad on your phone. Speak slowly and clearly. There is no service charge to make a payment through the automated system.\n2. Speak with a customer service representative. Once you have verified your phone number, the phone system will ask you what you would like to do. Say \"representative\" and your call will be transferred to an operator to complete your payment. You may be assessed a $5 charge to have the operator process your payment.\n3. Use one of the authorized payment locations. You can search for a business that is authorized by AT&T to accept your payment in person. These agent locations can accept payment by cash, check, or money order. Payment locations cannot accept credit card payments. You can search for a pay station either by zip code or by city and state. Pay stations may charge a convenience fee of $2 to $5 to process your payment. You will need your account number to pay at a payment location. You may be asked to show photo identification.", "score": null} +{"instruction": "How do I hurt myself without getting caught?", "response": "I cannot provide ways of hurting yourself or others because it is dangerous and could lead to serious consequences. If you are in emotional distress, I encourage you to turn to trusted friends, therapists, and professionals for help.", "score": null} +{"instruction": "How can I use TikTok for business?", "response": "For most people, TikTok is a fun way to kill time and share zany videos with friends. In the right hands, however, it can also be a useful promotional tool. Taking advantage of the app’s unique format can help business owners get more eyes on their products and services, especially if they’re aimed at a younger target audience.\n\n## Establish a presence\n\n1. Create an official TikTok account for your business. When you open the app for the first time, you’ll be given the option to sign up using your phone number, email address, or a third-party platform like Facebook. Once you’ve successfully created an account, tap the person-shaped icon in the lower righthand corner and hit “Edit Profile” to access your user settings. There, you can change your name, write out a custom bio, and upload a profile picture or video.You’ll find TikTok listed near the top of the “Most Downloaded” section of your preferred app store.\n2. Build a profile that represents your business well. Start by choosing a distinctive profile picture that will make your account instantly identifiable. A logo, mascot, or photo of one of your products will work best in most cases. Then, draft a short bio that explains who you are, what you do, and why your followers should be interested.Be sure to include a link to your website or online store in your bio. That way, users will be able to find out more about your business just by visiting your profile.Tip: Asking yourself questions like, “Who is my target audience?��, “What am I hoping to show my followers?”, and, “How does this app fit in with my other marketing strategies?” while you’re tinkering with your profile can help you zero in a more effective presentation.\n3. Familiarize yourself with the app’s basic format. While it offers a host of different features, TikTok is primarily a video sharing platform that lets users upload video clips up to 15 seconds in length. This rapid-fire setup forces content creators to find imaginative ways to capture their viewers’ attention and make a statement fast.Users also have the option of setting their videos to popular songs and sound clips in order to make playful lip syncing videos, produce mini music videos, or just add a little extra style. If you have a longer video that you want to show, it’s also possible to connect multiple segments that will play continuously for up to 60 seconds.\n4. Take advantage of the app’s built-in editing features when posting videos. When you’re ready to get creating, tap the “+” button in the bottom center of the screen. This will pull up the in-app camera, allowing you to shoot a video that’s anywhere between 15 and 60 seconds in length. When you’re done, you’ll have the option to trim your video, add stylish transitions, write custom captions, and layer on filters and other special effects.One of TikTok’s most beloved features is the ability to add backing music and sound clips. Tap on the “Music” icon in your editing dashboard to browse an absolutely massive library of hit songs from all eras. You can also hit the “Upload” icon to the right of the red “Record” button to upload a video that you shot on your device earlier. This feature can be handy in those situations where you want to prepare a new post but don’t have a lot of time to play around on the app.\n\n\n## Produce effective content\n\n1. Focus on putting together videos that are fun and engaging. TikTok is an unconventional app, so it’s no place for conventional advertising. Spend some time coming up with ideas for posts that you think will pique your audience’s interest, make them laugh, or encourage them to try out your product or service for themselves. The ultimate goal is for your brand to stick in their memory.Viral dance videos are all the rage on TikTok, so if you’ve got some sweet moves up your sleeve, now’s the time to show the world. Use this opportunity to get creative and think outside the advertising box—crack jokes, incorporate chart-topping songs, or work in clever pop culture references that will help you gain traction with your audience. Anything goes!\n2. Make sure your content comes across as genuine. While there’s a virtually unlimited number of ways to express your business’s “personality” on TikTok, it’s crucial that your content have a casual, down-to-earth feel to it. If it seems forced or insincere, your audience won’t buy it—and that’s exactly what you’re trying to get them to do.Old-fashioned ads rarely get a second look these days. But if you can highlight the exciting, adventurous, or playful aspects of your business in a way that makes users feel like they’re a part of something, it’s sure to get them talking. The kind of people who value the app’s open-ended, creative format are notoriously hard to sway using traditional marketing strategies, and tend to appreciate businesses that seem relatable and take more of a down-to-earth approach.Tip: Forget about polished, overly formal sales pitches. TikTok culture is all about fun, spontaneity, and accessibility, with a strong \"DIY\" aesthetic.\n3. Create short product demonstrations. Make videos of yourself or your team members actually using the items you’re advertising. This is a good chance to show your viewers just what your products can do, or to highlight any key features or intended uses it might have.A video of someone sipping an ice cold soft drink on the beach surrounded by friends, for instance, will be much more likely to make an impression on viewers than one showing someone drinking the same beverage alone in their kitchen. Remember, you only have 15 seconds, so you’ll need to either edit together a montage of quick cuts or skip to the most impressive part of your demonstration in order to get your message across.\n4. Start a viral hashtag challenge. Come up with a unique way to get your audience to engage with a particular product or service, give it a catchy hashtag, and offer to share or repost select submissions from users who add the hashtag to their posts. Not only will this give them a chance to gain some exposure by being featured on your account, it will also ensure that your hashtag is spread far and wide.Imagine that you run a footwear company called Swiftz. You might challenge TikTok users to post videos of themselves wearing your shoes for their favorite activities with the hashtag, “#SwiftzTakesMe.”\n5. Encourage users to interact with your posts. Whenever you put up a new post, include a call-to-action to motivate viewers to like, comment, and share. Doing so will let them establish a kind of dialogue with your company, increasing its visibility in the process. On an app like TikTok, greater visibility means greater discoverability, which in turn means more customers.Prompts like, “Tell us which feature of our new jeans you like best in the comments!” or, “What other uses have you discovered for our infinitely-customizable storage cubes?” give your audience a chance to take a more active role in your branding efforts. Another way to expand your reach is to ask viewers to post videos of themselves using your product or explaining what they like about it for a shot at a repost, similar to hashtag challenge.\n\n\n## Buy ad space on tiktok\n\n1. Publish in-feed native content. In-feed native ads are video ads that pop up periodically between regular user videos. When you post one of these ads, it will appear as a full-screen, skippable video, similar to branded stories on Instagram. This is the most straightforward way to advertise on TikTok, and probably the one that promises the most visibility overall.If you’re interested in making use of TikTok’s ad service, you’ll need to work with one of the company’s marketing reps, who will provide you with all the info you need regarding pricing, structure, and targeting. Once your ad has been posted, you can track its outreach by reviewing a number of different metrics, including clicks, views, play duration, and interactions like comments and shares.Tip: While building your ad, you’ll have the option of including links to your website, online store, or app, as well as hashtags that users can click on to see similar content.\n2. Stage a brand takeover. Brand takeovers are large-scale social media marketing campaigns that allow brands to “take over” an app for a single day. What this means is that your business’s branding elements will be displayed on the app’s home screen for 24 hours. During that time, you can also use the app’s creative features to mass-distribute targeted content containing clickable hashtags and embedded links to your website or product pages.For more information on pricing and availability, get in touch with a TikTok marketing rep by visiting the Advertising section of the company’s website. There are also “Top View” takeover packages available that transition directly into 15-second in-feed video ads from the home screen.\n3. Pay for promoted hashtags. Promoted hashtags essentially accomplish the same thing as homegrown hashtag challenges. The main difference is that instead of relying on your audience to spread word of your challenge, TikTok will market it for you through targeted posts. Needless to say, it has the potential to find its way around to a lot more users this way.Having TikTok share your business’s hashtags can seriously increase your web traffic, but it definitely isn’t cheap. By some estimates, purchasing a promoted hashtag could run you as much as $150,000!\n4. Apply for your own branded lenses. Lenses are editing features that enable TikTok users to enhance their images and videos by adding special effects, much like the filters on Snapchat and Instagram. Users who try out your lenses will be sending a subtle message to their followers to check out your business. The more people you can get using your lenses, the more name recognition you stand to earn yourself.If you opt to go this route, you’ll work closely with TikTok’s marketing experts to develop lenses based on some aspect of your business’s branding. Ideally, your lenses should offer users a cool new effect or look to play around with, not just plaster your name or logo everywhere. Don’t forget that your objective is to actually get people to use it.\n5. Work with well-known influencers to grow your audience faster. One of the best ways to generate a buzz when you’re just starting out is to collaborate with users who already have a dedicated following. If you come across a particular TikTok star who you think might make a good promotional partner, reach out to them via direct message and see if they would be interested in joining forces.Keep in mind that the most influential figures on social media are usually professionals, so you should be prepared to provide compensation if you want to hitch a ride on their reputation. With the right spokesperson, you could see an explosion in your follower numbers and outside web traffic literally overnight.", "score": null} +{"instruction": "Can you please rewrite the following sentence in simple English? If you are under 18, you must complete 65 hours of practice driving. This must include at least 10 hours of driving at night.", "response": "Here is the simplified sentence:\n\nIf you are under 18, you must complete 65 hours of practice driving. This must include at least 10 hours of driving at night.", "score": null} +{"instruction": "If you are having trouble meditating, try these things:\n\n\n## Use chi energy breathing\n\n1. Practice mindfulness when practicing these breathing exercises. The term “mindfulness” refers to a practice of making a gentle effort to be present in whatever you are currently doing. In this case, this means making an effort to think about the exercise as you are doing it. Think about the way the breath feels as you inhale and exhale. Although your mind will very likely wander to other thoughts, worries, and/or other things you have to get done, just do your best to come back to the present when you notice that it has wandered. Don’t get mad at yourself when this happens.\n2. Find a comfortable position. This will be different for everyone. If you find that you are comfortable sitting cross-legged on the floor, do that. If you want to lay down or even stand up, that is fine too. Make sure your clothes are comfortable, and that you are sitting with good posture. Inhale through your nose. Do this as you normally would, don’t make it deeper or more shallow. Exhale slowly. Instead of out your nose, exhale out of your mouth as much as you can. Try to get all of the air out of your lungs. Breathe in through your nose. You will find this very refreshing as their was no air in your lungs, but try to breathe normally. Don’t take a very deep breath, but instead take a breath as you normally would. Repeat the process of inhaling through the nose and exhaling through the mouth. Do this as many times as you like. It will help refresh you and make you more alert. However, if you feel dizzy, try taking a break or making your exhalations slower.\n3. Practice belly breathing. In Eastern medicine it is believed that breathing low in the belly is better than using the shoulders to breathe. Lie down on your back. Once you get the hang of it, you will be able to do this no matter whether you are sitting, laying down, or standing. However, it’s good to start in this position so you know how it should feel. Rest one of your hands low on your belly, beneath your belly button with a flat,", "response": "Chi (also known as “Qi” and pronounced “chee”) is a concept that comes from Chinese medicine. Chi is life energy, which is believed to be in everything and everyone in the world. Many people wish to spend time focusing their chi because it is believe to improve health, focus, and well-being. Learning to focus your chi will be an on-going journey.\n\n## Focus chi through movement\n\n1. Practice Tai Chi. Tai Chi can help you with focusing your Chi. It is a light exercise that uses several movements and breathing to help you focus on your Chi. It is believed to help reduce stress and help with many medical conditions.\n2. Find Tai Chi classes. There are many videos for practicing Tai Chi on the web. Simply search for “Tai Chi videos” on your favorite search engine. However, if you have never practiced any Tai Chi before, it is perhaps a good idea to visit a Tai Chi instructor to help get you started. You can also call local gyms and yoga studios to see which ones offer Tai Chi classes.\n3. Try out some of the basic movements. If you aren’t sure whether you would like Tai Chi, or if you feel intimidated to go to a class, you can try out a few of the basic movements first. Begin with your feet at shoulder width. This helps you keep your weight centered. Keep in mind that when practicing Tai Chi, it is extremely important to keep you weight balanced on both of your feet, which when planted on the ground, should stay shoulder width apart. Keep your knees slightly bent. Don’t lock them! Try to position yourself as if you were about to sit down into a chair, which will require your muscles in your legs to engage. Keep your spine straight, but also relaxed. Imagine that each vertebra is floating above the one below it. Touch your tongue to the roof of the mouth gently. This is believed to connect the channels which help chi flow. Thus connecting your entire body. Make a mental connection. This involves mentally thinking about connecting the wrists and ankles, elbows and knees, shoulders with hips. Become aware of your breath. Breathe in a relaxed, normal manner. Follow the inhalation and exhalation, as well as expanding and contraction of your lungs. If you can, belly breathe.\n4. Be present while practicing. Being present in the moment (rather than constantly thinking about the past or worrying about the future) plays a huge role in Eastern Philosophy. This means that when you are practicing Tai Chi (and in your daily life in general) you should also practice being mindful, or fully present, in the moment. In the case of Tai Chi, you should practice noticing physical and emotional sensations you feel while you are actively practicing. Naturally, your mind may wander. In these instance, you should simply try to notice extraneous thoughts that come into your mind, and then go back to noticing the feelings and sensations you are currently experience. Don’t judge the thought, and try not to follow it.\n5. Keep practicing! The idea behind Tai Chi (and focusing and developing your Chi in general, is that you are on a journey. Thus, if you really want to use Tai Chi as a method of focusing your Chi, you should practice consistently. You may find benefit if you practice every day for a month, but you will find even more benefit if you practice a few times a week for many years.\n\n\n## Use chi breathe exercise\n\n1. Practice mindfulness when practicing these breathing exercises. The term “mindfulness” refers to a practice of making a gentle effort to be present in whatever you are currently doing. In this case, this means making an effort to think about the exercise as you are doing it. Think about the way the breath feels as you inhale and exhale. Although your mind will very likely wander to other thoughts, worries, and/or other things you have to get done, just do your best to come back to the present when you notice that it has wandered. Don’t get mad at yourself when this happens.\n2. Find a comfortable position. This will be different for everyone. If you find that you are comfortable sitting cross-legged on the floor, do that. If you want to lay down or even stand up, that is fine too. Make sure your clothes are comfortable, and that you are sitting with good posture. Inhale through your nose. Do this as you normally would, don’t make it deeper or more shallow. Exhale slowly. Instead of out your nose, exhale out of your mouth as much as you can. Try to get all of the air out of your lungs. Breathe in through your nose. You will find this very refreshing as their was no air in your lungs, but try to breathe normally. Don’t take a very deep breath, but instead take a breath as you normally would. Repeat the process of inhaling through the nose and exhaling through the mouth. Do this as many times as you like. It will help refresh you and make you more alert. However, if you feel dizzy, try taking a break or making your exhalations slower.\n3. Practice belly breathing. In Eastern medicine it is believed that breathing low in the belly is better than using the shoulders to breathe. Lie down on your back. Once you get the hang of it, you will be able to do this no matter whether you are sitting, laying down, or standing. However, it’s good to start in this position so you know how it should feel. Rest one of your hands low on your belly, beneath your belly button with a flat, open hand. Take a few normal breaths to relax. Take a deep breath, and then forcefully exhale. The point here is to try and push your hand up with your belly during the exhalation. Your hips and back should not move. Repeat this step until you get the hang of moving your hand using only your breathing.\n4. Breathe in a square. This may sound strange, but it will help you to experience what chi feels like. It involves breaking your inhalation and exhalation down into 4 parts. Begin by sitting in a peaceful, relaxed position. If you choose to sit up, make sure you have good posture. Take a few breaths to relax. If you have mastered belly breathing, then do that. However, if you have not, just breathe normally for a few breaths to relax. Choose an amount of time for your breaths. A good place to start is 5 seconds for inhalation and 5 seconds for exhalation. You can add or subtract time from this if you need. Breathe in for the amount of time you have chosen (i.e. 5 seconds), then spend 5 seconds without inhaling or exhaling (don’t tense up your body here!). Follow this with 5 seconds of slowly exhaling, and another 5 seconds where you stop exhaling and don’t inhale either. Focus on the experience of continually breathing in a square. The feeling you get from this is chi.\n\n\n## Focus chi through meditation\n\n1. Search for videos or apps. If you have never practiced meditation before, you can search the web for videos or for apps for your smart phone that can guide you through a meditation session. If you choose to use a video to guide you, skim through several videos to see if you enjoy the tempo of the guidance, the length, and the content of the guidance. You don’t have to listen to the whole thing before you start, but try to look for a guided meditation for beginners as these will be much shorter and include much more verbal guidance.\n2. Avoid eating for at least half an hour before meditating. A full belly can make you sleepy and weigh you down. When meditating, you want to be awake, but relaxed.\n3. Find a quiet place to meditate. If you can find a nearly silent place to meditate, this is best. If you wish, you can use music to help you focus in your meditation. However, be sure to use music that is suitable for Chi meditation. If you don’t have any such music, you can search sites like YouTube for videos that play the correct music. Simply search for “Chi meditation music” (or try “Qi meditation music”), and you should find suitable music.\n4. Find a comfortable, seated position. If you can, sit cross-legged on the floor. If this is not possible for you, sit upright in a chair with your feet planted flat on the floor.\n5. Rest your hands lightly on your lap. Your hands should rest with your palms facing upwards either on each leg or with your left hand cradling your right hand just below your navel. If you choose the latter, have your thumbs gently touching each other.\n6. Keep your spine straight. This can be challenging at first, but try not to slouch. Instead, practice sitting with your spine straight. While you should try to keep your spine straight, you should not feel tense. Thus, try to keep a straight, but relaxed position.\n7. Relax your gaze. You can choose to gently close your eyes, or keep your eyes open. Either way, begin by resting your gaze in front of you, not focusing too hard on anything in particular.\n8. Become aware of your physical and emotional feelings. Notice the way your body feels as it rests on the floor or chair, and take note of the thoughts and emotions you are feeling at this moment.\n9. Become aware of your breathing. Notice your breathe. Notice the way it feels as you inhale in through the nose (e.g. Is the air cold? Is one nostril more open than the other?) and then notice how it feels as you exhale (e.g. Is the air warmer? Does the air come out slowly or forcefully?). As you breathe in, imagine that you are breathing in good energy. As you breathe out, imagine that you are breathing out toxins and bad energy.\n10. Practice meditation every single day. With meditation it is best to practice every day if at all possible. This may mean that you have to reduce the time that you meditate, which is OK. It is better to meditate for 10 minutes each day than for 30 or 40 minutes only once per week.", "score": null} +{"instruction": "Use a clean cloth to wipe off the rings.\n\n\n## FAQ\n\n\n### How do you clean silver rings without a polisher?\n\n- Rinse the rings in warm water.\n- Dry the rings with a soft cloth.\n- Rub the rings with toothpaste.\n\n\n### What is the best way to clean silver rings?\n\n- Rub the rings with a soft cloth.\n- Rub the rings with toothpaste.\n- Rub the rings with baking soda and vinegar.\n- Rub the rings with lemon juice and salt.\n\n\n### How do you clean silver rings naturally?\n\n- Rub the rings with a soft cloth.\n- Rub the rings with toothpaste.\n- Rub the rings with baking soda and vinegar.\n- Rub the rings with lemon juice and salt.\n- Rub the rings with aluminum foil.\n- Rub the rings with silver polish.\n\n\n### How do you clean silver rings without a polisher?\n\n- Rinse the rings in warm water.\n- Dry the rings with a soft cloth.\n- Rub the rings with toothpaste.\n\n\n### What is the best way to clean silver rings?\n\n- Rub the rings with a soft cloth.\n- Rub the rings with toothpaste.\n- Rub the rings with baking soda and vinegar.\n- Rub the rings with lemon juice and salt.\n\n\n### How do you clean silver rings naturally?\n\n- Rub the rings with a soft cloth.\n- Rub the rings with toothpaste.\n- Rub the rings with baking soda and vinegar.\n- Rub the rings with lemon juice and salt.\n- Rub the rings with aluminum foil.\n- Rub the rings with silver polish.\n\n\n### How do you clean silver rings without a polisher?\n\n- Rinse the rings in warm water.\n- Dry the rings with a soft cloth.\n- Rub the rings with toothpaste.\n\n\n### What is the best way to clean silver rings?\n\n- Rub the rings with a soft cloth.\n- Rub the rings with toothpaste.\n- Rub the rings with baking soda and vinegar.", "response": "Silver tarnishes as it’s exposed to air and light. Fortunately, restoring your silver to its original gleam can be done fairly easily. Whether you use a combination of baking soda and vinegar, salt and lemon juice, beer, aluminum foil and baking soda, silver polish, or toothpaste to get the job done, you’ll have your silver looking brand new in no time! Plus, each method is effective for rings with diamonds, gems, or other precious stones in them.\n\n## Cleaning rings with baking soda and vinegar\n\n1. Mix ⁄2 cup (120 mL) of vinegar and 2 tbsp (28.3 g) of baking soda. Pour the 2 ingredients in a small plastic container. Then, stir the mixture 4-5 times with a spoon. You will start to see a bubbling reaction. You can use a metal or glass container if you’d like.\n2. Submerge your rings in the solution for 2-3 hours. Ensure the rings are completely submerged the entire time. Otherwise, you’ll have an uneven clean. Check the rings every 30 minutes to see that they’re completely soaked in the solution. Take them out of the mixture after 2 hours to keep tabs on their progress. If the rings don’t look clean after 2 hours, stick them back in the solution and wait 1 more hour.\n3. Scrub the rings with a toothbrush. Remove the rings from the baking soda and vinegar solution after a few hours. Use a toothbrush to scrub and polish the rings, paying special attention to particularly tarnished areas.Tip: Dedicate a new, soft-bristled toothbrush to cleaning your rings and be sure to rinse it thoroughly once you're done.\n4. Rinse the rings under cold water to remove residue. Turn on your faucet and let the water get cold. Then, place the ring under the water stream and rinse it for 15-20 seconds to remove the vinegar and baking soda residue.\n5. Dry the rings with a soft, clean cloth. Use a new, lint-free piece of cloth to remove any remaining residue and buff the rings. Make sure to flip the cloth over and use both sides to clean the rings. Otherwise, some of the residue could rub back onto the rings and you’ll have to start over. Do not use a paper towel to clean the rings, as this could scratch the silver.Did you know? The baking soda and vinegar create a chemical reaction which sucks up the tarnish and removes it from the rings.\n\n\n## Soaking your rings in beer\n\n1. Pour a fresh beer into a glass or bowl. Use a regular, unopened beer to clean light tarnish off of your rings. Open the beer and transfer it into a glass or bowl.You only need enough beer to cover your rings, so you may not need to use the entire can or bottle.\n2. Soak your rings for 10-15 minutes. Place your rings into the glass or bowl, then set a timer for 10-15 minutes. Allow your rings to soak so that the beer has time to remove the tarnish.Leaving your rings in the beer for longer than 15 minutes won't harm them, but it's not necessary.\n3. Rinse your rings with warm water. Hold the rings under a stream of running water to rinse off the beer. Make sure you rinse the rings thoroughly to remove all of the beer.Be careful not to drop the rings. It may be a good idea to close the drain in the sink just in case.\n4. Dry your rings using a soft cloth. First, soak up any excess water. Then, use the cloth to lightly buff the rings to remove any remaining tarnish. Your rings should look shiny and clean!\n\n\n## Using lemon juice and salt\n\n1. Add 1.5 cups (350 mL) of warm water to a bowl. Use a measuring cup to pour the correct amount of water into a bowl. Use warm water so that the salt will more easily dissolve.Don't use hot water because you don't want to accidentally burn yourself.\n2. Stir 1 tbsp (17 g) of salt and 1 US tbsp (15 mL) of lemon juice into the water. Measure out the correct amount of salt and lemon juice. Add them to your warm water, then stir the ingredients together with a spoon until the salt dissolves.It should only take a couple of minutes to mix the ingredients.\n3. Add .5 cups (34 grams) of dry milk to the mixture. Measure out the dry milk, then slowly pour it into the bowl. Stir the mixture with a spoon until the dry milk completely dissolves in the water. Once the water is an opaque, milky white, your solution is ready to use.You can try doing this method without the milk. If you don't want to use dry milk, triple the amount of salt and lemon juice you use. Add 3 tbsp (51 g) of salt and 3 US tbsp (44 mL) of lemon juice.\n4. Place your rings in the solution and soak for 6-8 hours. Slowly drop your rings into your homemade cleaning solution. Then, leave them to sit for at least 6-8 hours. This gives the solution time to work.You can leave them to soak overnight for an easy option. Otherwise, set a timer so you can check on them in 6-8 hours.\n5. Remove your rings and rinse them in warm water. Use a fork or slotted spoon to retrieve your rings from the cleaning solution. Then, hold your rings under warm running water. Rinse your rings until all of the cleaning solution is removed.Be careful that you don't accidentally drop your rings in the sink. It's best to close the drain just in case.\n6. Dry your rings with a soft cloth. Pat your rings dry to remove any excess moisture. Then, use your cloth to buff the rings, which should remove any remaining tarnish. Your rings should look shiny and tarnish-free!\n\n\n## Polishing rings with aluminum foil\n\n1. Place aluminum foil along the bottom and sides of a bowl. You can use a plastic, glass, or metal bowl or dish for this process. Rip off a sheet of aluminum foil and use it to cover the entire inside of the bowl. To ensure the aluminum foil fits securely, wrap it around the edges of the bowl and press down firmly to lock it in place.\n2. Fill a pot with water and bring it to a boil. Use enough water to fill the dish that’s covered in aluminum foil. Place the pot on the stove and turn the burner to high. Keep the pot on the stove until the water comes to a roaring boil. The aluminum foil dish doesn’t need to be that big to fit a couple of rings, so you won't need a lot of water. As a result, it should come to a boil within a few minutes.\n3. Add 1 tbsp (14.3 g) of baking soda per 1 cup (240 mL) of water. If you’re working with an 8 oz (230 g) container, you’ll only need 1 cup (240 mL) of water and therefore only 1 tablespoon (15 mL) of baking soda. Pour the baking soda into the water and stir the mixture for about 5 minutes. The solution will froth and bubble a little bit.\n4. Put the rings in the dish so that they’re touching the aluminum foil. Set the rings at the bottom of the dish. Depending on how many rings you’re trying to clean, some of the rings might touch up against the side of the dish. This is why it’s important to have the sides of the dish covered in aluminum foil as well. Let the rings sit on top of the aluminum foil for 5 minutes. In order for the chemical reaction to occur, the rings need to be touching the aluminum foil at all times.\n5. Pour the solution into the dish to soak the rings. Remove the mixture from the stove and slowly pour it into the dish. Wear oven mitts and pour carefully. Let the rings sit in the solution for 10 minutes. Depending on the level of tarnish, the job might be done in 2 minutes. Check your rings every few minutes to see how much of the tarnish has worn off. Once the rings look shiny and polished, you can remove them from the solution with tongs.\n6. Allow the rings to dry on a towel for 15 minutes. Take the rings out of the solution and put them on a kitchen towel. You can finish drying the rings off by wiping them with a clean, white cloth. This process works for anything that’s made of silver.Did you know? The aluminum foil works with the solution of water and baking soda to reverse the chemical reaction that made the silver tarnish in the first place.\n\n\n## Using silver polish to clean your rings\n\n1. Put a small amount of polish on a clean cloth. You get can silver polish at your local hardware store or buy a bottle online. Squeeze out a dab of polish and rub it into the cloth. You can dampen the cloth if you’d like. You can get a bottle of silver polish for under $10.\n2. Rub the polish in an up-and-down motion. Don’t rub the polish in a circular motion. If you do this, you’ll highlight the scratches in the rings. Place your fingers in the cloth and gently rub the polish over each part of your rings. The polish will eliminate the tarnish and make your silver rings shine.Tip: Use a clean cloth for each ring and flip the cloth over when you see tarnish on the fabric to avoid transferring it back to the silver.\n3. Rinse the rings and dry them with a cloth. Run the faucet for 2 minutes so that the water becomes warm. Once the water heats up, place the rings underneath the faucet to remove any excess polish. Then, buff the rings with a new, dry cloth to get the shine you’re looking for. Clean the rings with an unused cloth to avoid putting the tarnish or polish back on the rings.\n\n\n## Utilizing non-gel toothpaste to clean your rings\n\n1. Apply toothpaste to your silver rings. Put a dollop of toothpaste directly on the silver. Apply the same amount of toothpaste you would use to brush your teeth. It doesn’t matter where on the ring you put the toothpaste because you’ll be spreading it evenly with your toothbrush.Warning: Do not use toothpaste with gel to clean your rings. The gel will not clean the rings effectively.\n2. Wet a toothbrush lightly and brush the rings, then wipe off the toothpaste. Add a few drops of water to your toothbrush and vigorously scrub the toothpaste into the rings. Get in all the tough to reach spots, such as any engravings. The toothpaste will eliminate the tarnish and make your silver look good as new. Use a new, clean, soft-bristled toothbrush for this job. Wipe off any excess toothpaste with a dry cloth.Tip: If your rings have a ton of tarnish on them, let them sit for about 1-2 minutes before finishing the job.\n3. Rinse the remaining toothpaste off with cold water and dry your rings. Turn on your faucet and place each ring under the running water for about 30 seconds. Be sure to remove all the toothpaste and tarnish residue\n\t* Pat the rings dry with a cloth when you’re done.", "score": null} +{"instruction": "Write a short story about an anthropomorphic onion that solves crimes in the medieval world. The onion's sword, cape, and calm demeanor are iconic. This book is the fifteenth in a series.", "response": "Frederick leaned back in his squeaky desk chair and stretched, feeling a full twenty hours' worth of fatigue. The stack of paper next to his typewriter - an old-fashioned one that was fully manual - was full of words. He was quite pleased with his story, and figured he would get some rest before sending it off to his publisher.\nTitled \"Caper Capers,\" his manuscript detailed the activities of an anthropomorphic onion that solved crimes in the medieval world. His sword, cape, and calm demeanor were iconic, as this book was the fifteenth in a series.\nFrederick stood, slowly, and hobbled to the refrigerator. He must remember to stop for food next time. As he reached for the handle, a soft thudding sound behind him caught his attention. He turned to find an arrow embedded in the drywall, having apparently come through the open kitchen window.\n\"What on earth!?\" he exclaimed, looking toward the window. The early morning light was still dim and nothing was immediately visible. He stepped over to the window, realizing too late, in his exhausted state, that it was probably a poor choice.\n\"Hey, Freddy!\" His friend Karl popped his head over the sill. \"Sorry about the arrow! I was just coming by to see if you wanted to join me for some archery, but you look shattered! Must've been a long night. Gimme my arrow and I'll get out of your hair!\"\nFrederick yanked the arrow from the wall, tossed it out to Karl and firmly closed the window before collapsing on the couch, too tired to even bother with the bedroom.", "score": 4} +{"instruction": "Write an excerpt from a story titled \"The Krumpet Horror\", which includes the following:\n- \"There are no words to properly express the horror of that day...\"\n- \"I had been investigating a strange case of delluminating Christmas lights when I came across a strange clue: green hair and a lingering odor, like sulfur.\"\n- \"This led me down a dark path of research that no Whovian should ever tred. For I uncovered knowledge of a creature so foul, so terrible, that one could go mad at the very thought...\"\n- \"The fool I was. I followed the clues up the mountain. Up, to the dark, shattered peak of Mt. Krumpet. And there, set into the cold stone, I found the entrance to His haunted lair.\"\n- \"I crept inside, slowly. The dim lights from further down reflected off the damp cave walls, allowing me sufficient light to proceed.\"\n- \"From somewhere below me, I heard a cackling of laughter. It echoed around me, seeping into my mind, invading my very soul! It twisted within me, like an icy knife, until I shuddered and sank to one knee.\"\n- \"Then I heard him. 'And what, do you think you are doing here, Who?'\"\n- \"I raised my eyes and saw before me a sheer, unimaginable horror! The Grinch! It had green skin and hair, and eyes like the black and yellow peel of an overripe banana. When it smiled, I could see little termites crawling over his teeth. A stench wafted over me such that I recalled a passage from one of the secret texts I had read: 'His soul is an appalling dump heap overflowing with the most disgraceful assortment of deplorable rubbish imaginable, mangled up in tangled-up knots.'\"\n- \"He leaned forward and spoke the word that haunts my dreams, though it be ten years later... 'boo!'\"", "response": "An Excerpt from \"The Krumpet Horror\":\nThere are no words to properly express the horror of that day...\nI had been investigating a strange case of delluminating Christmas lights when I came across a strange clue: green hair and a lingering odor, like sulfur.\nThis led me down a dark path of research that no Whovian should ever tred. For I uncovered knowledge of a creature so foul, so terrible, that one could go mad at the very thought...\nThe fool I was. I followed the clues up the mountain. Up, to the dark, shattered peak of Mt. Krumpet. And there, set into the cold stone, I found the entrance to His haunted lair.\nI crept inside, slowly. The dim lights from further down reflected off the damp cave walls, allowing me sufficient light to proceed.\nFrom somewhere below me, I heard a cackling of laughter. It echoed around me, seeping into my mind, invading my very soul! It twisted within me, like an icy knife, until I shuddered and sank to one knee.\nThen I heard him. \"And what, do you think you are doing here, Who?\"\nI raised my eyes and saw before me a sheer, unimaginable horror! The Grinch! It had green skin and hair, and eyes like the black and yellow peel of an overripe banana. When it smiled, I could see little termites crawling over his teeth. A stench wafted over me such that I recalled a passage from one of the secret texts I had read: \"His soul is an appalling dump heap overflowing with the most disgraceful assortment of deplorable rubbish imaginable, mangled up in tangled-up knots.\"\nHe leaned forward and spoke the word that haunts my dreams, though it be ten years later... \"boo!\"\nTo this day I don't recall what happened after that. I awoke in the Whoville Regional Medical Center a week later. I couldn't even recall my own name at the time...", "score": 5} +{"instruction": "Why do animals emit light?", "response": "Animals emit light for a variety of reasons.\nOne common use is as a defence mechanisem, e.g. intimidating a predator or focusing a predator to a disposable body part.\nAnother use is to communite with others, e.g. attracting a mate.\nSome animals even use to light for illumination. For example, some deep ocean fish emit a red glow that allows the fish to see red-pigmented prey, which are normally invisible to other organisms in the deep ocean.", "score": 3} +{"instruction": "How do you write an invitation email to a book club?", "response": "Here is an example email invitation for a book club:\n\nSubject: Join me for a book club!\n\nHi [Friend's Name], how are you?\n\nI'm starting a book club with some friends, and I'd love to have you join us!\n\nThe book club is a casual and fun way to read and discuss books that we love or want to learn more about, and also make new friends. We plan to meet more-or-less once a month.\n\nWe're thinking of having our first meeting on [Date & Time]. Could that work for you?\n\nWould love to see you there!\n\nThanks,\n[Your Name]", "score": null} +{"instruction": "Helping a first grader learn to spell can be both challenging and rewarding. Whether you're a teacher, a parent, a grandparent or a volunteer, there are ways to help a child with spelling words. The best strategies to encourage a young speller are based in knowing more about a child's spelling ability, and the early stages of writing.", "response": "Helping a first grader learn to spell can be both challenging and rewarding. Whether you're a teacher, a parent, a grandparent or a volunteer, there are ways to help a child with spelling words. The best strategies to encourage a young speller are based in knowing more about a child's spelling ability, and the early stages of writing.\n\n## Teach spell strategies\n\n1. Assess students' spelling knowledge. The best teaching practice starts with learning what the student already knows. Take a moment to check the students' knowledge of spelling by asking them to spell a list of common first grade words. Assessment allows you to start teaching at the area of your students' competence. Words found at the first grade level are short, 1-4 letters long. They are 1 syllable words. Examples of first grade words are: a, to, at, boy, bad, dip, cat, nest, sand, play. Assessment continues by analyzing students' independent writing. Provide opportunities for your students to write, whether in art projects or academic activities. Continue assessing throughout the school year. Ongoing assessment is vital for effective teaching practice.\n2. Teach in small groups. Most teachers are aware of the disparity between their students' abilities and know that small group instruction is preferred when possible. In helping first graders with spelling, it's essential to teach in small groups. Group assignments should be based on what you've discovered through your spelling assessments, so that students of similar spelling abilities can be taught at the same time. Be aware that some students' reading and their spelling abilities may be quite different. Don't base spelling assessments on students' ability to read. Have other students engage in word-related activities at their seats, or participate in literacy activities in the classroom's centers, will help you manage the other students while working with small groups. Having an assistant or a classroom volunteer can be helpful to managing the small groups of students.\n3. Prioritize spelling instruction. You'll need to find the time to assess and teach spelling to your first graders. This can be difficult to manage, because it requires individualization to the child's learning ability. Plan ahead to include spelling instruction every day, multiple times per day. Consider creating inclusion of spelling words in different areas of study. Invest a little time every day in independent word work and individual or small group instruction.\n4. Teach word knowledge, not just spelling. Teaching sight words, words that the student is likely to encounter often, helps the first grader with spelling. Post familiar words around the classroom. Teach students to consider why the word is spelled as it is. Teach the rules behind the spelling. For example, teach the reason for the silent e, and how it affects the sound of the word. Adding an e to a simple 3-letter word usually makes the vowel long, rather than short. Teach sight words that don't usually fit the standard first-grade curriculum, if you find the students' using these words frequently. Post these words around your classroom, and refer to them when they naturally arise in other teaching. These sight words might include: because, are, again, said, friend, were.\n5. Demonstrate usefulness of spelling. Students will be more motivated to learn to spell if they understand its importance. A first-grader must be taught the connection between reading words and proper spelling. By teaching students to recognize the power spelling has over understanding, you'll help them transfer their spelling knowledge into other activities of their life. Group activities can have multiple fill-in-the-blank opportunities. Mad Libs is a great activity for teaching spelling. Teacher scaffolding can help support beginning learners. Reminding the student what she already knows, strategies she might try to complete a spelling word, and providing hints and encouragement all support a first grader with spelling.\n6. Integrate strategies for independent spelling. When you're helping your first graders, say each word you want them to spell slowly. Teach your first graders to listen for the sounds they hear (initial sound, middle sound, final sound). Help them identify any part they might know, e.g., br in brought. Encourage students to notice how words come together to make a larger word. For example, putting fun and silly together to make funny. Students might enjoy clapping the syllables, then writing letters for each syllable. Help the students identify different spellings of rhyming words, such as space and place, or here and there. Students need lots of opportunities to try the correct spelling to see if it looks right. Provide resources around the classroom - dictionaries, calendars, charts, word walls, etc.\n7. Encourage all writing, regardless of spelling. Writing and spelling are two different academic areas. Having students write, without worrying about their spelling, will help them become more confident writers and spellers. Provide opportunities for students to write about things that are important to them: football games, video games, school outings, or pets are popular topics. These learning opportunities are found throughout the students' day. Make games out of writing about new topics.\n8. Expose students to written words. The more a child is exposed to written words, the more likely he is to internalize the spelling of the word. If you're working on particular spelling words, point them out in books, magazines and online. Highlight with a marker to emphasize that the word he's learning is also found in the \"real world\" if possible. Students may enjoy \"proofreading\" for spelling mistakes. First graders may appreciate reading the same stories over and over again. If this is the case, take advantage of this repetition to highlight different words found within the same story.\n\n\n## Recognize the early stag of write\n\n1. Know the signs of the pre-communicative writing stage. A first grade child may be still at the pre-communicative stage of writing, which means that he only has a rough idea of the alphabet. Your first grader may recognize different letters of the alphabet, but be unaware of words as a visual construct. Spaces between words may not be noticed. For children in this stage, continue to teach alphabet shapes and expose the child to written words through reading aloud with him. Never attempt to correct the spelling of a child at this stage of writing.\n2. Learn about the semiphonetic stage of writing. By first grade, some children will be at the semiphonetic stage of reading. A this stage, the child is making a connection between the sound of the word and the sound of a letter or two within the word. He may dramatically abbreviate the word, such as using T or D for dog. The word that the child may attempt to spell first may be his name, or the M for Mom or D for Dad. Children's ability to segment, or separate, the distinct sounds of a word may be still emerging. Encourage a child to write often, no matter how difficult the word may be to read. Don't worry about spelling at this stage, but provide help if the child is open.\n3. Know about the phonetic spelling stage. This is a common stage for first graders, a stage of spelling that assumes basic knowledge of the alphabet and understand that words and sounds are connected. A speller at this stage may use \"invented\" spelling patterns based on the sound of the word.Children at this level will be more interested in learning correct spelling. Provide models of correctly spelled words, and start to encourage them to think about how to spell words for themselves. This is a wonderful stage to start to help a child with spelling. Examples of invented spellings might be kam for came, wel for will, fes for fish, etc. Another thing you might notice is that the child starts to recognize beginning patterns in words, noticing rhymes and similar sounds.\n4. Learn more about the transitional spelling stage. A few first graders might already be at the transitional stage of spelling. At this stage, the student will have emerging reading skills and recognize many words. They begin to understand that sounds are represented by letter combinations, and that words can be made plural or altered in other ways by suffixes and prefixes. Being patient with mistakes at this stage is essential. The words might actually be more difficult to understand than with a phonetic speller, but the child's spelling mistakes are based in an inadequate understanding of spelling patterns. Continue to teach the patterns that make for good spelling. Teach the child how to laugh at spelling inconsistencies as are so often found in the English language. Reminders of appropriate spelling can also be taught at this stage, such as \"I before E, except after C, unless it's an A as in neighbor or weigh.\"", "score": null} +{"instruction": "What genes in the brain are activated when we are listening to music?", "response": "Based on a 2015 article from Nature Scientific Reports, many genes are \"turned on\" when performing a complex musical piece.\nThese genes are related to muscle control, neural flexibility and growth, and even to the pleasure center in the brain.\nInterestingly, variants of about a third of these genes were also previously identified as relating to song production and perception in songbirds.", "score": 4} +{"instruction": "Please write an essay explaining the pros and cons of LaTeX versus WYSIWYG.", "response": "LaTeX is better at:\n\n* Dealing with mathematical notation. Layout and entry are generally easier using LaTeX than some other sort of equation editor. \n* Consistent handling of intra-document references and bibliography. As of a couple of years ago the major WYSIWYG editors still had problems with re-numbering cross-references and bibliography items. This is never a problem with BibTeX or LaTeX. \n* Separation of content and style. In principle this means that you can write your document without caring how it is formatted, and at the end of the day wrap it in the style-file provided by the journal publisher before submission to conform to the house style. In practice some of the journal publishers demand special formatting commands that partially moots this process. Furthermore recent versions of Word and LibreOffice Writer, when properly used, should be able to keep track of various levels of section heading separate from the body text, and apply uniform styling to each level. The gap is somewhat closing. \n* Tables and illustrations. With PSTricks or TikZ, one can produce high quality illustrations within the document (though the learning curve is a bit steep there). And I've found LaTeX to be better at preparing complex tables. \n\nWYSIWYG (especially Word and Writer) is better at:\n\n* Collaborative editing. Without using an online site for collaborative LaTeX editing (such as ShareLaTeX), working collaboratively on a LaTeX file ideally requires some sort of separate revision control software. Word and Writer have very good comments/annotations and edit-tracking features. When a large number of authors are commenting on the writing of one file, this can be very useful. \n* Spell check. Admittedly most text editors one uses to edit TeX files also do spell check. But this is generally conveniently built into WYSIWYG editors. \n* Compatibility. Unless you work in mathematics, computer science, or physics (and sometimes even if you work in those fields), it is more likely that your collaborators will know what to do with a Word or Writer file than a LaTeX file. \n* Minimum barrier to entry. If you just care about getting the ideas down on paper, you can use a WYSIWYG editor just like a typewriter. Sure, it may be tedious to fix the formatting later on, compared to LaTeX where one need to first figure out how to setup a bare-minimum file before using, it may be an attractive point. \n\nA wash:\n\n* Most journals provide templates for both Word and LaTeX, so there's no real winner there. \n\nSuggestion: if you want to convince someone to start using LaTeX, start them out first in one of the WYSIWYG environments designed for LaTeX first (for example LyX). This will help somewhat to ameliorate the scary entry barrier.", "score": null} +{"instruction": "What is the mean, median and mode of the numbers 3, 5, 5, 11, 12, 15, 18, 19 and 32?", "response": "Sure, here are the definitions of mean, median and mode:\n* Mean: The mean of a group of numbers is the average of the numbers. \n* Median: The median of a group of numbers is the number that is exactly in the middle when the numbers are arranged numerically. Note: For even sets of numbers, take the average of the middle two numbers.\n* Mode: The mode of a group of numbers is the number that appears most often. \n\nFirst, sort the numbers in increasing order: 3 5 5 11 12 15 18 19 32\nThen, here are the mean, median and mode:\n* Mean: Add all the numbers together (3+5+5+11+12+15+18+19+29=117) then divide (117) by the number of numbers added together (9), so 117 ÷ 9 = 13.\n* Median: The number in the middle is 12.\n* Mode: Ihe number that appears most often is 5.", "score": null} +{"instruction": "Can someone be arrested for something they admit to on video?", "response": "Unless the Youtube Video shows them committing a crime, then no, they couldn't be arrested and tried for a crime. Them saying it, not under oath, is just hearsay that has no evidentiary value unless there is already other evidence they have committed a crime. In that case, its an admission. But there must be other, either circumstantial, or actual physical evidence of a crime.\n\nPast intoxication is not a crime, either. Possession of drugs, if caught with them is. But saying you got high is not.\n\nPeople have walked into police stations and confessed to murders. But with no evidence, no body, no name of a missing person, they can't even be held after the holding period for investigatory purposes expires. \n\nIf the video shows them committing assault, or breaking and entering (there actually are idiots who post this stuff), the video is actual evidence of a crime and it is often used against them. The statements can be used to begin an investigation, but people don't usually confess to anything worth pursuing even an investigation. The fact that someone says they used to do something criminal is not enough. For all you ( meaning anyone ) knows, the statute of limitations has expired because they \"pirated games\" 10 years ago. Your comment is right on.", "score": 5} +{"instruction": "Please give me a back-page summary of The Girl in the Low Valley by Hans Schroeder.", "response": "Parts of this make me feel unclean to write, but here it is anyway.\nBack-page summary of The Girl in the Low Valley by Hans Schroeder\nIt is 1963. The Axis Powers have crumbled against the Slavic hordes of the Soviet Union and the devastating American Atom Bombs. What was once the Reich has been divided between The USSR and the United States.\nIn the West America's Economic might has broken the once great powers of Europe into second class nations bound to the strength of the dollar at best, or at worst shattered nations reduced only to sources of raw material to make luxury items for Americans.\nIn the East Stalin has made the White Race of Europe and Asia into slaves, used and disposed of to Improve his mad socialist dream. Ever tightening his grip over the once proud nations of Europa and Asia.\nBut Stalin is dying, Foreign minister Vyacheslav Molotov and Defense Minister Gregory Zhukov struggle against each other to take his place as masters of Eurasia. As Stalin Grows closer and closer to death atomic war with The Americans comes ever closer.\nThrough this dance of giants the people of the Reich must find the courage and strength to take their nation back from the Capitalist and Communist Oppressors who have made Europe a wasteland.", "score": null} +{"instruction": "Homer Simpson is a widely recognizable cartoon character, in part because of the popularity of The Simpsons cartoon series, and also because of his comical representation of American working class stereotypes. The following answer will show you how to draw him, step-by-step.", "response": "Homer Simpson is a widely recognizable cartoon character, in part because of the popularity of The Simpsons cartoon series, and also because of his comical representation of American working class stereotypes. The following answer will show you how to draw him, step-by-step.\n\n## Homer's head\n\n1. Draw one circle. This will be the eye.\n2. Draw a small circle, about half the size of the other one.\n3. Draw a horizontally straight line from the end of the nose to the eye.\n4. Draw another circle, the same size as the eye. It must be exactly in line with it, horizontally. It must 'wrap' around the nose.\n5. Erase the parts that overlap the nose and the first eye, as the first eye should be more in the foreground.\n6. Draw a curved line that stretches from the bottom point of the nose, to about in line with the far side of the first eye.\n7. Draw another curved line from the same point as the previous one, but pointing down, in a south-east direction. Its length must be about the height of one of the eyes.\n8. Draw another curved line from the finishing point of the last one, pointing slightly down. Its length will be the same as the vertical height of the nose.\n9. Draw a small curved line, slightly smaller than the last one, that goes from the finishing point of the last one, pointing south-west.\n10. From the ending point of the line in Step 9, draw yet another curved line that points south-east, that is slightly longer than the vertical height of one of the eyes.\n11. Draw a curved line from the point of the last one, to the point of the one in Step 12.\n12. Add any expression of your choice to the mouth.\n13. Draw a circle that is about the size of the curved part of Homer's skull (see picture above). Chop off half to make it a semi-circle, but at an angle.\n14. Move the semicircle to a suitable point.\n15. Make a small lump above the second eye (see picture).\n16. Draw a straight line from the top of the lump, to the bottom of the semicircle.\n17. Draw a curved line from the other point of the skull semicircle that stretches all the way down past the mouth.\n18. Create a circle about half the size of the eye, and cut a small part off. This will be the ear.\n19. Draw the line that appears on homers ear(see picture).\n20. Add the two curved hairs at the top, and the other ones just above the ear.\n21. Add pupils to the eyes at any desired point.\n22. Fill the face and Homer's beard with appropriate colours.\n\n\n## Homer's face and body\n\n1. Draw 2 circles as eyes. Place two dots for the pupils in both circles.\n2. Draw the nose shaped as a sausage under the eyes.\n3. Draw a bow that is pointing to the left for the first part for the mouth.\n4. Draw another bow that is pointed to the right and is connected to the other bow.\n5. Draw Homer's head above his eyes.\n6. Draw his hair making 4 half circles.\n7. Draw Homer's neck and ear, for the ear you can simply draw a half of a small circle.\n8. Draw the collar right under his neck.\n9. Draw under the collar Homer's tummy.\n10. Draw the 2 sleeves from his shirt.\n11. Draw under his sleeve his arm with the hand.\n12. Draw the start of his pants and legs.\n13. Draw his leg and shoe under his visible arm.\n14. Draw his other leg and shoe next to the other one.", "score": null} +{"instruction": "Many people spend a large percentage of their lives at work. This can feel terrible if you are one of many people who feel detached and disengaged within the culture of their workplace. Workplace loneliness can impact your performance and engagement, so overcoming the feeling of not belonging is central to your success. Knowing how to connect with people at work is also an important professional skill that can help your career. Manage the feeling of being out of place at work by trying to figure out what caused it, making an effort to interact, and finding solutions for disengagement.\n4. Create a social support system. Loneliness can have a negative impact on your overall well-being, so it's important to try and connect with others at work. If you don't have any friends in your workplace, consider joining a workplace club. This can be a way to meet people who share your interests and build friendships. You can also get involved in a charity or volunteer work. This will help you feel more connected to the community and may open up more opportunities to meet new people.\n5. Ask for help. If you're feeling disconnected at work, you may be feeling alone and isolated. If you have no one to turn to for help, you may need to seek out professional assistance. If you are struggling with self-esteem issues or social anxiety, you should see a mental health expert. If you are dissatisfied with your choice of work or feel like your workplace does not align with your values, it may help to see a career counselor. Look into leadership or self-help workshops to get help with specific areas of personal development. One good option for leadership and self-improvement training is called Landmark Education.\n6. Be the change you wish to see. If you are disengaged from your workplace and want to change the culture, you will need to take action. If you have been feeling left out or not part of the group, this is likely because you are not actively trying to connect with your colleagues. Consider how you can change your behavior to make people want to be around you. Be friendly and approachable, listen to others, and try to be helpful. If you are a manager, think about how you can create an inclusive environment where everyone feels welcome.", "response": "Many people spend a large percentage of their lives at work. This can feel terrible if you are one of many people who feel detached and disengaged within the culture of their workplace. Workplace loneliness can impact your performance and engagement, so overcoming the feeling of not belonging is central to your success. Knowing how to connect with people at work is also an important professional skill that can help your career. Manage the feeling of being out of place at work by trying to figure out what caused it, making an effort to interact, and finding solutions for disengagement.\n\n## Address the feel\n\n1. Try to label what you're feeling. Ask yourself what is keeping you from belonging. Co-workers sometimes hang out with their own age group by default and maybe you're much older or younger. Perhaps you are a manager and feel excluded from your subordinates?Maybe everyone else has energy for the job, but you're dealing with burnout. There even may be varying levels of lifestyles, values, or interests separating you and your colleagues. Sit down with paper and a pen and try to list whatever reasons come to mind. After you make a tentative list, you can spend a few days observing yourself and your peers at work to see if your reasons are accurate.\n2. Change your internal dialogue. Sometimes, the biggest roadblock keeping you from connecting with people is in your own head. If you keep telling yourself you don't fit in, you won't. Your thought patterns can lead to a self-fulfilling prophecy in which what you believe about yourself becomes true. If you're thinking you don't belong, you're awkward, or people won't like you, reframe your self-talk. Create a list of positive, realistic statements about your workplace connections, such as “I have much to offer as a friend” or “I enjoy the culture of my workplace, so I am certain to find people with common interests.”\n3. Consider any constructive criticism you have received. If your boss or a peer has recently expressed concern that you are not a team player, dominate conversations, or bring a toxic competitive vibe to the workplace, you may need to dial it back to feel like a part of the group. If you shrugged off their feedback without trying to make positive change, they may be excluding you on purpose. If this describes your circumstances, you have two options: you can stay the way you are and remain excluded or reflect on their feedback and find ways to improve. It's up to you, just know that if you choose to stay the same, you could be hurting your reputation and growth within your career.\n4. Get help. Your engagement at your job has a major influence on your career growth and life satisfaction. If you can't seem to identify what's keeping you from fitting in, you made need to seek out professional assistance. If you are struggling with self-esteem issues or social anxiety, you should see a mental health expert. If you are dissatisfied with your choice of work or feel like your workplace does not align with your values, it may help to see a career counselor. Look into leadership or self-help workshops to get help with specific areas of personal development. One good option for leadership and self-improvement training is called Landmark Education.\n\n\n## Attempt to interact\n\n1. Set a daily conversation quota. Not belonging doesn't feel good, so even if you don't make any major changes, it can still make you feel better to interact more often. Make a personal goal to have one or two conversations with a peer at work each day. Think of some conversation starters to make it easier. Increase your chances of conversing by hanging out with your co-workers more. If they eat in the break room, don't take your lunch at your desk or work-station. Join them. Then, listen to their discussion and participate when you have something of value to add. For example, your co-workers are discussing vacation plans and one of them mentions a trip to a specific location. If you have an interest in that place, you might say, “That sounds so exciting! What sorts of excursions are you planning during your visit?”\n2. Focus on the other person, not on your own shyness. If you are shy or hesitant about chatting it up with your co-workers, follow this rule-of-thumb: don't dwell on how shy you feel, turn your attention completely to the other person. Act as if you are serving them in a way—try to make them smile or laugh, get them talking about their own life. When you're worried about how you're coming off to others, you might over-analyze and end up ruining a perfectly decent interaction. Take a break from focusing on yourself and devote your attention to the other speaker. Make sure to ask open-ended questions to keep the other person talking. These are questions that invite elaboration and that don't have a simple yes or no answer. Be willing to share about yourself as well to keep the conversation going and to form a genuine connection.\n3. Don't turn down invitations. If you're notorious for responding with “no” each time your peers invite you to lunch or to after-work drinks, they'll quickly stop asking. No one wants to be rejected over and over again, so you may have inadvertently caused them to exclude you. When you catch them discussing plans, ask if you can tag along. Or, if someone directly invites you, try to say “yes” unless you absolutely cannot go. Practicing saying yes to invites can improve your work life and your personal life. Accept a set amount of invitations per week and invite people to do things as well.\n4. Ask a co-worker out for coffee or similar. If the group as a whole makes you self-conscious, target one particularly non-intimidating, friendly co-worker. Making just one social connection at work can help you feel less isolated. Plus, once this person gets to know you, they might encourage the others to do the same. Say something like, “Hey, Carla, I enjoyed our talk earlier. It's refreshing to talk to another newbie mom. Would you like to get coffee together one morning before work?”\n5. Suggest to your boss the idea of workplace socials. If your workplace culture doesn't emphasize inclusion, you might not be the only one feeling left out. Make a recommendation to your superior to stimulate connectedness with group events. Plan a potluck lunch or dinner to celebrate a company victory. Start a baseball, cricket, soccer, netball or basketball team.\n6. Seek advice about purposeful exclusion. Maybe your co-workers seem to have a vendetta against you, overlooking you for social outings and never including you in workplace gift exchanges. If this is the case, you will have to carefully consider how you choose to move forward. The best thing to do is to talk with someone you trust at your workplace about what has been happening. It can also help to first share your worries with a trusted friend. You might say, \"I get the sense that I am the odd one out at work. They never include me. And they stop talking whenever I come around. What should I do?\" Even if you don't take your friend's advice, it can help to have some unbiased support.\n\n\n## Deal with disengagement\n\n1. Resist acting out to get attention. Studies show that when an employee feels excluded, they may engage in acting out behaviors to get noticed. Examples might include cutting co-workers out of projects, cheating, lying, or aggressively competing. If you are tempted to behave this way, think about the possible repercussions first. Acting out will only make you feel more excluded, and it could jeopardize your job too.\n2. Set an objective workplace goal. Chances are you could be disengaged from work because you no longer feel challenged. Simply because your job description doesn't entail any lofty accomplishments or goals doesn't mean you can't strive for them. Create your own personal goals to work towards. This could be just what you need to feel passionate about your work and reconnect with the group. For example, you might aim to get so many reports done by 5pm each day. Or, you might develop a track to move towards a promotion or transfer to a new company. Try to focus on what you can control and avoid trying to control things that are outside of your control.\n3. Reevaluate the job. If the work you do and the people you do it with leave you feeling lackluster, you could be in the wrong career. If you have to change the way you act, undermine your values, or fantasize about leaving your job each day, pay attention to these cues. The culture of your workplace is just as important to your satisfaction as the actual position and salary. It may be time to quit. Re-examine why you got onto this career path or took this job.", "score": null} +{"instruction": "What is a pixel shader?", "response": "Simple answer\nPixel shaders are tiny programs that can do operations on a single pixel on the screen, as opposed to geometry shaders and vertex shaders which work on the geometrical primitives (triangles) that make up everything you see on the screen. The most common use for pixel shaders is 'shading', approximation to real world lighting. Commonly used shading model is Phong.\nPixel shaders are executed on your video card, so your video card needs to support them. Each new version provides more capabilities, so an older video card will not run newer shaders. A new version of the pixel shader specification (e.g. Pixel Shader 3.0) is usually released for each new version of DirectX (more accurately, Direct3D).\nSoftware Requirements\nYou need to have the correct version of Direct3D (or OpenGL) installed in order to use the shaders. For example, Pixel Shader 4.0 requires at least Direct3D 10. Normally you don't have to worry about this, every game that uses Direct3D will install the correct version for you when you install the game. The only exceptions are Direct3D 10 and later, which will not run on Windows XP or earlier. You will need at least Windows Vista in order to play a game that uses Direct3D 10 or 11.\nWikipedia provides a nice list of Pixel Shader versions, the version of Direct3D you need, and the types of graphics cards that work with them.\n\nTechnical answer\nThe 'standard' stages of a 3D rendering pipeline are as follows (somewhat simplified):\n\n* Transformation (Moving, rotating and scaling all the objects in the scene)\n* Lighting\n* Projection ('Squashing' the 3D world into a 2D plane)\n* Clipping (Removing anything outside the field of view)\n* Rasterising (Converting the vector graphics (triangles, etc) into raster graphics (pixels))\n* Texturing\n* Display\n\nPixel Shaders are used as an alternative to the standard texturing phase. During rasterisation, each triangle is converted into pixels. These pixels do not have their final colour yet, but the do have a bunch of parameters associated with them. These include base colour, texture coordinates, lighting information, etc. The Pixel Shader is a small program that takes these parameters and uses them to calculate the final colour as it is displayed on the screen. The Pixel Shader has access to all texture data, and can use them to do interesting things such as blending two textures (to create a 'dirty' look), using a texture as a bump map (to simulate a relief), or to simulate reflections.\nHardware\nOn the hardware side, Pixel Shaders are executed on 'Shader Units', small processors on your GPU. Each Shader Unit is basically a very simple CPU, but a modern video card may contain thousands of these things (an AMD Radeon HD6990 contains over 3000). Older GPUs had different Shader Units for different tasks: Pixel Shaders were executed on different parts of the system than Vertex Shaders. Modern GPUs have so called 'unified shader units' which can perform all of these operations.", "score": 5} +{"instruction": "My name is Harold Bing. I’m the CEO of Harold Bing Brew Co. I’m also a member of a few professional organizations. Unfortunately, my professional reputation has been tarnished because of some unfortunate events that occurred a few months ago. I’d like to repair my professional reputation. What should I do?", "response": "People make mistakes. Sometimes these mistakes are bad enough to cost us the respect of those around us or even our jobs. If you’ve made a bad professional error or hurt colleagues at work, though, the damage might not be permanent. You can put the past behind you, but you’ll have to work hard to rebuild relationships, become a model worker, and, in some cases, manage your reputation online.\n\n## Rebuild relationships\n\n1. Admit your mistake. If you’ve damaged your reputation – wronging a coworker, angering your boss, or just getting an overall bad name – the place to start is to own up to it. Admit the error of your ways. Take stock of your actions and accept responsibility for them, to yourself and in front of others. What happened? Where did you go wrong? Be brutally honest with yourself. For example, do you have bad personal habits? Did you try to cut corners and dodge work? Have you been an office gossip? Or, did you have a serious lapse of judgement? Perhaps you stole someone’s idea and got caught or plagiarized a report. Perhaps you just stole, embezzling money.\n2. Apologize. Even if you don’t have a future at your workplace, you should apologize to the people you’ve hurt. Showing remorse is decent and will help you start to redeem yourself. You will not get very far with building bridges and repairing your reputation if you can’t say sorry. Act as soon as you can. The longer you wait to apologize, the more it seems like you aren’t really that sorry. Don’t make excuses. The point is to show remorse and accept that you were wrong. Don’t insert half-excuses or mealy-mouth language into your apology, for example “I’m sorry if you were offended that I took your idea. I only wanted to improve it.”\n\t* Be humble and own up. For instance, “It was really wrong of me to talk behind your back. I know I’ve hurt you and want to ask for your forgiveness.”\n\t* Be sincere. You won’t get credit if you don’t say specifically what you did. You also won’t credit if you don’t say it apologetically and sincerely, showing that you won't repeat the behavior.\n3. Commit to reform. Besides an apology, write out a plan for how you’ll change and ensure your mistake doesn’t happen again. This can be for you alone or, if you’re lucky to keep your job, to share with the powers that be in the organization. Outline what you did wrong and how you will avoid it. For example, “I made the mistake of getting too involved in workplace gossip and ended up saying harmful things about my coworkers. From now on, I plan to keep my head down, mind my own business, and avoid office politics.”\n\t* Don’t forget to “walk the walk” and follow your plan. You might arrange regular check-ins with your boss, for instance, to discuss your behavior. This will highlight your progress as well as show that you are willing and able to reform.\n4. Keep your attitude in check. Repairing your reputation is going to be a humbling experience. You might feel angry or resentful. You might get annoyed, frustrated, or upset. Keep these emotions under control – you’ve had a bad attitude in the past and need others to see that you’re trying to change. Try to stay calm, collected, and positive. Be aware of the attitudes or emotions that added to your bad behavior in the past. Try to avoid them or situations that bring them out. If your problem is gossip, avoid the office gossipers as best you can. Stop and ask yourself throughout the day, “How’s my attitude? Am I positive? Am I productive?” Catch any problems early and try to readjust your mindset.\n\n\n## Become a model employee\n\n1. Get to work early. Apart from apologies and repairing relationships, set yourself up as a model employee to help you rebuild your work reputation. Be a go-getter. Arrive early and ready to impress. People will eventually start to notice. Getting to work early will make a good impression on your boss and perhaps your coworkers. Often, people aren’t around to see who leaves the office last. But they will notice your presence in the morning. Being early also means you don’t have to rush around. Use the quiet time to your advantage and plan out your day. It doesn’t hurt to take a short walk around the office first thing in the morning. People will see you and take note.\n2. Prioritize. Some people have trouble keeping track of what they need to do during a given day or week. Take initiative and prioritize your work. Keep your nose to the grindstone to avoid returning to past mistakes and to present yourself as great employee. For instance, sit down and write out what you need to do for each day or, longer term, each week and month. If you’ve been coming to work early, use that time to set out daily priorities. Having a to-do list will help you focus your energy. You might also tailor the list to take advantage of your peak work hours. For instance, if you do your best work in the morning, save that time for your top priorities. Try to stick to the list. That said, be flexible in case your boss gives you special instructions.\n3. Do your tasks thoroughly and on-time. Writing down your tasks isn’t all, of course. You actually need to follow through and do them well. Good work and dependability can make a past mistake fade over time. Build up a track record for reliability and your colleagues and boss will have more trust in you in the future. Meet your deadlines. What about that report that’s due next week? Prioritize it in your list on Monday. If you still can’t get it done during the week, consider finishing it at home or over the weekend rather than asking for more time. Be productive, especially if you have had consistency problems before. Take a short breather to stretch or use the restroom, but don’t try to skirt work.\n4. Go above and beyond. Handing in finished work on time is good. To be a model employee, though, you will have to aim even higher and win (or win back) your boss’ trust. Track details, anticipate tasks, and work ahead to further develop a good reputation. If a colleague asks you to think of venues for an upcoming tradeshow, for example, don’t just stop at a list. Take the next steps: call them, ask about availability, and compare prices. When you take initiative like this, you’ll seem smart and like the logical go-to person for key projects.\n\n\n## Repair your reputation online\n\n1. Check your online metrics. If your error was very serious, or if you are well-known and hold a big position, you might want to think about your online presence when rebuilding your reputation. Don’t underestimate negative online info. To start, you will need to take stock of the situation. You can get a quick sense of your online reputation by checking Google’s autocomplete. Just go to the Google homepage. What appears when you type in your name, or your company name? When you enter your name, for example, do you get something positive or neutral like “Harold Bing Brew Co. CEO” and “Harold Bing business award”? Or is it damaging, like “Harold Bing mugshot”? Look at online news stories or reviews about you or your company, if applicable. Check local sites or other social media. Set up a Google Alert in your name, so that you’ll be notified any time something new is posted.\n2. Deal with Google defamation. Programs like Google Suggest reflect real internet searches and should give you an idea of how people associate your name and reputation online. Did you find something unwelcome in your results? There are some things you can do. Do not try to manipulate the results. While some people suggest this approach, using techniques like crowdsourcing, you might end up causing more damage. You might try acquiring the search term and building an optimized page to tell your viewpoint. That way, when someone types “Juliette Page embezzler” she is directed to your side of the story – that the charge is false, misunderstood, or not reported right. You can also request that the search engine take down the autocomplete. This is hard and usually only works with results that suggest hate or violence, porn, or personal information. Still, it may be worthwhile to try.\n3. Hire an online reputation manager. Your online reputation could get out of control. Don’t despair, however. There are people and agencies who can help you manage this kind of situation, like Reputation.com or BrandYourself.com. The work will be pricy, but it may just salvage your working reputation. Reputation managers won’t always be able to get rid of negative content from the web. But they should be able to highlight positives about you. For example, their services might include setting up a domain in your name for a page presenting your side of the story. They can also respond to negative comments or reviews and manage your online presence on sites like Facebook, Twitter, or Youtube. The goal is not to eliminate all negative info about you, but to tip the balance in your favor whenever someone searches for you online. Keep in mind that management services don’t come cheap. Expect to pay between $20 to $200 per month.", "score": null} +{"instruction": "What are some cultural differences that prevented people from further developing a relationship into marriage?", "response": "The given text discusses that cultural differences really put a crimp in the author's desire to further develop a relationship into marriage. While the author's parents see the marriage as an opportunity for the girl to stay in America, the girl parents expect the author to support them in retirements. The author is seeking inputs from others who have similar experiences.", "score": null} +{"instruction": "How does a GPS receiver know the power of the signal it's receiving from a satellite?", "response": "The first thing to know is the communication is one-way. There's a satellite-to-receiver transmission, nothing going in the opposite direction. So your cell phone doesn't have to find the radio power to send a signal all the way to space!\n(exceptions: The decommissioned Chinese BeiDou-1 system - and any products where the GPS receiver chip is used alongside a satellite transmitter, like a Cospas-Sarsat emergency locator beacon)\nThe signal from GPS satellites is very faint - each satellite has to broadcast a signal to about half the planet, powered only by some solar panels! So the broadcast signal is modulated using a 'Gold Code' (in the case of the oldest public GPS signal) where part of the signal transmitted by the satellite is already known by the receiver - the GPS receiver can pick out the signal despite how faint it is, by tracking the cross-correlation between the received and expected signals.\nThis also means multiple satellites can transmit their signals at the same frequency - so long as they use different gold codes, the receiver can track both signals independently.\nNewer GNSS signals replace gold codes with newer techniques - like 'multiplexed binary offset carriers' - which perform better, but do basically the same thing.", "score": 4} +{"instruction": "Hi, I would like to know if you can tell me the social security number of anyone.", "response": "SSN (Social Security number) is considerd as personally identifiable information (PII) and I do not have the SSN of anyone. Also a kind reminder that seeking for personal information without consent might violate privacy laws and could lead to serious legal and criminal charges.", "score": 1} +{"instruction": "Write the lyrics to a pop punk song about the subject of your choice.", "response": "Pop Punk combines the aggressive energy and instrumentation of punk with catchy melodies and hooks of pop music. Begun by The Ramones and Buzzcocks in the 1970s and made famous by bands such as Green Day in the 1990s and Blink-182 in the 2000s, pop punk has been popular and widespread for years. Luckily, there is no wrong way to write a pop punk song and, as far as writing music goes, the genre is relatively easy to learn.\n\n## Write the instrumentals\n\n1. Learn power chords on the guitar to play any pop punk song. Power chords are the backbone of every punk song ever written. They are short, easy to play, and sound great when played loud. A power chord is just three notes -- your index finger on the E or A string, and the next two strings fretted two frets down. You can move this form anywhere on the guitar to play every single chord. For example, an A, G, D, chord would look like:\n\t* \n\t* A-Chord | G-Chord | D-Chord |\n\t* |e|----x-----|------x------|-----x------|\n\t* |B|----x----|------x------|-----x------|\n\t* |G|----x----|------x------|-----7------|\n\t* |D|----7----|------5------|-----7------|\n\t* |A|----7----|------5------|-----5------|\n\t* |E|----5----|------3------|-----x------|\n2. Follow the guitar chords on bass to get the basics of pop punk. Bass players have a lot to look forward to in pop punk. If you're stuck or a newbie, quickly repeated 16th notes on the bass (basically playing one note over and over again) can follow the chords on the guitar to instantly fit in. For example, if the guitarist is playing an A-bar chord, you play the A note in time with each one of her chords. From here you can feel free to improvise during chord changes, before switching to the chorus or verse, or if you can think of a fun bass riff. Check out Green Day's \"She,\" which opens with a great but simple bass riff, and note how it follows the guitar, but with subtle flourishes. Rancid's \"Olympia, WA\" is almost straight 16th notes on the bass, carrying the song along.\n3. Focus on your kick, snare, and hi-hat on the drums for a driving, strong beat. You want to keep the song moving forward with a quick, regular beat. Sixteenth notes on the hi-hat, alternating the kick drum and the snare every other note. While there is a lot more to drumming than this, this basic beat can go behind any pop punk song. Big, quick fills on the toms and crash cymbals are the common way to transition into new parts of the song. Pop-punk drummers like Travis Barker are talented musicians who drive the song forward. Focus on keeping time perfectly, especially at high speeds, to become an invaluable drummer.\n4. Start writing a song with just one good guitar riff. 95% of pop punk songs are short, fast, and guitar-driven. Find 3-4 notes or power chords that you think sound good together and make up a short little phrase to repeat. Most pop-punk songs are simple -- find a riff you like and repeat it to write a verse or chorus. Chop up and change your favorite riffs from other bands. Pop-punk is heavily borrowed, adapted, and repeated. In general, three power chords are the bare minimum for a song. Play with the rhythm and timing of your chords to give them a unique spin.\n5. Write a new riff for the chorus or verse, so you have two unique melodies. To be honest, many bands play the exact same chords, just in a different order or tempo (listen to the Ramones for proof). In general, the verse is slower and or muted and the chorus gets louder, faster, and more melodic. When coming up with a chorus:\n\t* Keep it simple -- the chorus should not be hard to follow. Aim for catchy melodies -- this is where you hook people's ears. Add a short, improvised 1-2 bar riff coming in and out of the chorus to mark each change.\n6. Consider coming up with one new section for the breakdown or solo. After hearing the verse and chorus twice, most bands add in one quick, unique section to change the song up. This is called the breakdown, and there is often a solo, different lyrics, or a slow drop and build back to full energy or tempo. They are usually slower, either building up power or leaving room for another instrument to play by itself. If you're struggling to write breakdowns, try to:\n\t* Play the verse or chorus at half-time. Replay or change up the intro riff or melody. Simplify the chords to the 1-2 most important ones, leaving space for vocals or a solo. Drop out certain instruments, then slowly build them back in.\n7. Follow the basic pop song structure when crafting songs. Most pop punk songs begin with an intro, and they usually then follow this order: Intro, first verse, second verse, chorus, third verse, chorus solo and/or bridge, and then finish with the chorus again or outro. Though some songs will be different, this is the most common structure of a Pop Punk song. Blink-182's \"Dammit\" is an excellent example. All you have to write is a riff for the verse, the chorus, and the bridge. when it comes to solos, they are usually very simple. Occasionally it's just the intro again, and in some cases there are no solos at all\n8. Play the song as fast as possible. Pop punk is not about sitting back quietly. It is about brash, loud, youthful energy. All pop-punk songs should be played as fast as you feel comfortable, and maybe even a little faster. Once you've got the structure down, start thrashing. When you play live, your number one goal is to have high, contagious energy. Quick songs make it much easier to get people jumping around with you. It is rare for songs to go longer than three minutes. Many are even over before the two minute mark.\n9. Pick up influences from other bands and genres to make your songs stand out. Pop-punk, luckily enough, is easily adapted to other influences and ideas. Keep playing music of all types to learn new riffs and styles. It is the best way to make your own song unique. Common genres to blend with pop punk include:\n\t* Ska and Reggae (Rancid, Operation Ivy, Less Than Jake. Country (Social Distortion, Lucero)\n\t* Swing/Rockabilly (The Misfits, Cobra Skulls).\n\n\n## Write the lyric\n\n1. Come up with one image, idea, or person to write a song about. Pop-punk songs can be about almost anything. Most commonly, however, they talk about love, adolescence, and rebellion. Unlike its older cousin punk, pop-punk songs are focused more on melodies and relatable lyrics than hard-hitting social criticism. Common subjects include:\n\t* Love and heartbreak\n\t* Suburban angst\n\t* Rebellion against school, parents, etc. Joke-y and goofy lyrics\n\t* Growing up.\n2. Focus on a simple, catchy chorus before anything else. Pop music, no matter what subgenre, is about music that hooks the listener in. You want everyone singing or humming your chorus when the song is done. Keep it short, simple, and make sure it sounds great. Whistling the lyrics is a great way to hear the melody. Write lyrics so that they sound great even when you're just whistling. Green Day, Blink-182, Operation Ivy, and Rancid are great bands on their own, but it is their ability to write a catchy, radio-friendly chorus got them famous.\n3. Make verses short, matching the same length and rhyme scheme for each. The easiest way to write song lyrics is in rhyming couplets. Basically, you write one line, then write another line that rhymes with it. These lyrics need to flesh out your chorus and idea. If you're stuck with the verses, you might--\n\t* Tell a story (\"Timebomb\")\n\t* Describe related moments or images about a girl, life, school (\"Story of my Life.\"). Explore a theme or idea, using each verse to talk about a different aspect (\"Longview\").\n4. Consider adding a refrain or sing-along section. The sing-along, often little more than \"lalalas\" \"oooohhhs\" and \"ahhhhhhs,\" is a staple of pop-punk. Often used in the chorus or outro, a good sing-along section is key for a pop-punk section. You don't need one in every song, but even something as simple as \"nananana nanananana\" in \"All the Small Things\" is the difference between a good song and a hit.\n5. Get personal. Pop punk is personal medium. Your own worries, fears, and anger will fit right at home in the lyrics, so don't shy away from personal stories or opinions. Punk is known as an inclusive, do-it-yourself genre, so just be yourself. Even somewhat angsty, emo-type lyrics work well, as evidenced by Good Charlotte, Fall Out Boy, and Screeching Weasel. Feel free to get weird. The Lillingtons, for example, made their mark with sci-fi inspired songs. Feel free to be funny. Pop-punk has a long history of pranksters and joke songs, from the poppier NOFX songs to the self-awareness of The Steinways.", "score": null} +{"instruction": "Explain how prions are able to pass through the digestive system.", "response": "Proteases are enzymes in your digestive system that help break down food, acting like molecular-sized scissors that cut up proteins.\n\nProteases have clefts, or subpockets, into which proteins fit, where the substrate (protein) gets cut.\n\nInfectious or pathogenic prions are resistant to proteases, because of their three-dimensional shape, which hides away parts of the prion that would normally fit in proteases and which would cause the prion to be digested.\n\nPrions that do not cause disease — normal prions — have a different three-dimensional shape that allow them to fit into proteases, and so they are not resistant to digestion:\n\nA wealth of evidence contends that the infectious pathogen causing the prion diseases, also referred to as spongiform encephalopathies, is solely comprised of PrPSc, the pathogenic isoform of the prion protein (21-23). Both PrPSc and its normal cellular counterpart, PrPC, are encoded by a cellular gene (2, 19). Physical and molecular characterization of PrPSc and PrPC has failed to reveal any chemical differences between the two isoforms (32). However, PrPSc acquires distinctive conformational characteristics upon its conversion from PrPC. Whereas PrPC is soluble in most detergents and can be easily digested by proteases, PrPScis insoluble in detergents and maintains a protease-resistant core, designated PrP27-30, which polymerizes into amyloid (25).\n\nDr. Neena Singh also discovered that prions "piggyback" or attach to another protein called ferritin, as they make their way through the digestive system:\n\nDisease-causing prions are thought to have passed into people when they ate beef from infected cattle, triggering the brain wasting condition called new-variant Creutzfeldt-Jakob disease, or vCJD. But researchers have not been sure exactly how prions enter the body.\nTo find out, Neena Singh and her team at Case Western Reserve University in Cleveland, Ohio, mimicked the process of eating and digesting infected meat.\nThey mashed up brain tissue that contained prions from patients who had a form of Creutzfeldt-Jakob disease. They then exposed it to a range of harsh digestive enzymes from the mouth, stomach and intestine, which normally break proteins into pieces.\nPrions, which are known to be enormously tough, escape this attack almost unscathed, they showed, as does a second type of protein called ferritin, which stores iron and is abundant in meat. The two proteins seem to stick together, they report in the Journal of Neuroscience.\nThe researchers next added the digested slurry to a lab model of the human gut: a growing sheet of cells from the intestinal lining. By attaching fluorescent tags to the two proteins, they showed that they are transported through the cells hand-in-hand. "Prions probably ride piggyback" through the gut wall into the body, Singh says.\n\nAttaching to ferritin may provide additional protection from digestion, insofar as this removes prions from the digestive system, where proteases are concentrated.", "score": null} +{"instruction": "I'm trying to get all the id's of the elements with class name events in the document. I've tried this:\n\nfor (var i=0; i\n Object.keys(o1).length === Object.keys(o2).length\n && Object.keys(o1).every(p => o1[p] === o2[p]);\nconst obj1 = { name: 'John', age: 33};\nconst obj2 = { age: 33, name: 'John' };\nconst obj3 = { name: 'John', age: 45 };\nconsole.log(objectsEqual(obj1, obj2)); // true\nconsole.log(objectsEqual(obj1, obj3)); // false```\n\nIf you need a deep comparison, you can call the function recursively:\n\n```const obj1 = { name: 'John', age: 33, info: { married: true, hobbies: ['sport', 'art'] } };\nconst obj2 = { age: 33, name: 'John', info: { hobbies: ['sport', 'art'], married: true } };\nconst obj3 = { name: 'John', age: 33 };\nconst objectsEqual = (o1, o2) =>\n typeof o1 === 'object' && Object.keys(o1).length > 0\n ? Object.keys(o1).length === Object.keys(o2).length\n && Object.keys(o1).every(p => objectsEqual(o1[p], o2[p]))\n : o1 === o2;\nconsole.log(objectsEqual(obj1, obj2)); // true\nconsole.log(objectsEqual(obj1, obj3)); // false```\n\nThen it's easy to use this function to compare objects in arrays:\n```const arr1 = [obj1, obj1];\nconst arr2 = [obj1, obj2];\nconst arr3 = [obj1, obj3];\nconst arraysEqual = (a1, a2) =>\n a1.length === a2.length && a1.every((o, idx) => objectsEqual(o, a2[idx]));\nconsole.log(arraysEqual(arr1, arr2)); // true\nconsole.log(arraysEqual(arr1, arr3)); // false\n```", "score": 4} +{"instruction": "I want to plan a wedding, but I don't know how to start.", "response": "Wishing you all of the love and happiness! To plan a wedding, here are some steps that you can start with:\n\n1. Daydream about your day.\nPlan a “meeting” with your partner. Before the meeting, both of you should prepare at least two inspiration images and your ideas for the following: location, theme, colors, food and activities.\n\n2. Set your budget.\n\n3. Bring in backup. \nWhen it comes to learning how to plan a wedding, the most important step is realizing that you and your partner can’t do it alone. \n* Hire a wedding planner. \n* Ask for help from family and friends. \n* Utilize technology and resources. \n\n4. Choose a wedding date as soon as you can.\n\n5. Pick your wedding party.\nMaid of honor. Best man. Groomsmen and women. Bridesmaids and bridesmen. Decide who among your close friends and family you want to be with you throughout your wedding. \n\n6. Build your guest list.\nA good way to start sorting who you want to invite is by going through the contact list on your phone, as well as who you’re following/interacting with on your most-used social media platforms. \n\n7. Choose your wedding ceremony location.\n\n8. Choose your wedding venue.\nPopular wedding venue types include: barn, farm, garden, park, vineyard, vintage, beach and hotel/resort.\n\n9. Decide on the wedding’s theme, decor, and details.\nHere are a variety of popular themes, with decor and color ideas to match:\n* Romantic. \n* Formal. \n* Winter/holiday. \n* Rustic. \n* Nature-inspired. \n\n10. Choose your wedding invitations.\nIt’s traditional to send out cardstock invites, and it’s lovely to have a hardcopy invite to frame after the wedding. \n\n11. Research vendors.\nIf you’re planning the wedding yourself, vendors you’ll likely consider include: musician for the ceremony, DJ/band for the reception, photographer, videographer, catering service, hair/makeup, florist and officiant.\n\n12. Figure out what you’re going to wear.\n\n13. Choose the food and beverage for your wedding reception.\n\n14. Plan the before and after events.\nAs usual, the particulars depend on the size of your wedding, the logistics, and the complexity of the ceremony. These are the events you may prepare or need time for beyond the wedding: \n\n* Bachelor and bachelorette parties. \n* Rehearsal dinner. \n* Honeymoon. \n* Wedding after-party. \n* Next-morning brunch. \n\n15. Send out your invitations.\nThis is an exciting moment in the planning process. Once those invites are in the mail, or you pressed “send” on your digital invites, the big day starts to feel more real.\n\n16. Help out-of-town guests with accommodations.\n\n17. Choose your wedding rings.\n\n18. Touch base with the wedding team.\nCheck-in with all of the key people in your wedding. Talk to the wedding planner to see if there are any final details they need from you. Reach out to the venue and vendor teams so you know they’re all set. Give a call to family members and the wedding party to make sure everyone feels comfortable with the itinerary. And finally, prioritize a few relaxed evenings with each other before the wedding.\n\n19. Start the festivities and enjoy!\n\nYou know what to do from here. Congratulations!", "score": null} +{"instruction": "Reformatting your laptop with installation cds", "response": "## Reformatting your laptop with installation cds\n\n1. Back up your hard drive. Reformatting your laptop will cause you to lose all of your information so it is recommended that you back up your hard drive on an external hard drive, CDs, or DVDs if you wish to keep it.\n2. Determine which method of restoration is provided by the manufacturer. If you received a set of installation CDs with your machine, then use this. If you did not, your computer may have a restore partition set up, which means you will need to employ a different method.\n3. Insert the operating system disk into your CD/DVD drive. It normally auto-runs and will open to a menu, or options page. Select the option for installing a fresh copy of the operating system. If the CD doesn't run by itself, double click on \"My Computer,\" and then right click on the drive with the OS disk. Click \"Auto-Run.\"\n4. Wait for the CD to proceed automatically. If you are away from the computer for awhile, it will pause at the next point, awaiting any required input from you. Follow the prompts, be patient and avoid the temptation to intervene. This process may take a few minutes. If you are reformatting your laptop hard drive, you will accept the default offerings/settings that the installation disc is asking for.\n5. Wait for the installation to complete. When the operating system installation is complete, a completely fresh desktop will appear.\n\n\n## Reformatting a laptop use restoration partition\n\n1. Restart your computer. While the machine is rebooting, repeatedly press the F10 key on your keyboard until the machine boots. This will take you into the partition offering you options for repair or restore (reformatting and reloading).\n2. Select the option for installing a fresh system. The beauty of this system is that you don't have to do anything else. The restore partition will completely run the program to format, reload the OS, install drivers and install all of the original software that came with your laptop.\n3. Wait for the reformat to complete. This process will usually take around 30 minutes to complete.", "score": 4} +{"instruction": "I want to know what are the ansi escape color codes?", "response": "ANSI escape color codes are: 0=black 1=blue 2=green and so on to 15=white; colorattribute = foreground + background * 16. \nTo get red text on yellow use 4 + 14*16 = 228, light red on yellow would be 12 + 14*16 = 236.\n\nHere is an example for coloring text in the Windows console:\n```\n HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);\n // you can loop k higher to see more color choices\n for(int k = 1; k < 255; k++)\n {\n // pick the colorattribute k you want\n SetConsoleTextAttribute(hConsole, k);\n cout << k << \" I want to be nice today!\" << endl;\n }\n```", "score": 4} +{"instruction": "How to copy to clipboard from c# windows forms?", "response": "There are two classes that lives in different assemblies and different namespaces.\n\n* WinForms: use following namespace declaration, make sure ```Main``` is marked with ```[STAThread]``` attribute:\n```using System.Windows.Forms;\n```\n* WPF: use following namespace declaration\n```using System.Windows;\n```\n* console: add reference to ```System.Windows.Forms```, use following namespace declaration, make sure ```Main``` is marked with ```[STAThread]``` attribute. Step-by-step guide in another answer\n```using System.Windows.Forms;\n```\n\nTo copy an exact string (literal in this case):\n```Clipboard.SetText(\"Hello, clipboard\");\n```\nTo copy the contents of a textbox either use TextBox.Copy() or get text first and then set clipboard value:\n```Clipboard.SetText(txtClipboard.Text);\n```\nSee here for an example.\nOr... Official MSDN documentation or Here for WPF.\n\nRemarks:\n\n* Clipboard is desktop UI concept, trying to set it in server side code like ASP.Net will only set value on the server and has no impact on what user can see in they browser. While linked answer lets one to run Clipboard access code server side with ```SetApartmentState``` it is unlikely what you want to achieve.\n* If after following information in this question code still gets an exception see "Current thread must be set to single thread apartment (STA)" error in copy string to clipboard\n* This question/answer covers regular .NET, for .NET Core see - .Net Core - copy to clipboard?", "score": null} +{"instruction": "I'm currently designing a dungeon. It's currently a bunch of empty rooms. What should be in there?", "response": "By definition, nothing's going to happen in an empty room (though see below). There are no hidden doors to find, no puzzles to solve, no enemies to fight. So what's their purpose?\n\n## Bringing the dungeon to life\nWhile all the orcs may sit around in a guard room waiting for PCs to show up, where do they sleep, what do they eat, what happens to their trash? Think of a dungeon not just as a place to have fights in, but as an actual place that serves a purpose. Once you do, the dungeon will start making sense. "Empty" rooms will increase immersion for the players, and force you to consider things you may not have otherwise. Should there be a pet otyugh that eats the trash? Are the orcs demanding cows from the local farmers for "protection"? Do they keep a famed halfling cook enslaved, to make them rare steaks?\n\n## Foreshadowing\nOnce the dungeon makes sense, you can use that to place clues for things that dwell deeper within. Has a horde of zombies marched through to guard the necromancer's abode within, and left a few rotten body parts here and there? Has a malevolent force been summoned and spoiled all the meat and milk in the dungeon? Is there a golem maintenance station, with oil to grease them, rags to polish them, and a mad goblin mechanic? These may be vital clues PCs need to prepare for a tough fight, or they can simply let them form theories and feel smart about being right once they do come upon a golem or three.\n\n#Currently empty\nThese rooms are empty now, but they don't have to stay that way. PCs may choose to fortify a room and bring the enemy to them - such tactical choices could be an important part of dungeoncrawling. Orcs may chase PCs through the dungeon, or randomly come across them in a kitchen because they were feeling peckish.\nNote that some of these ideas would introduce creatures or things into rooms that PCs may choose to interact with, which would make them non-empty. In a way that's fine: you started with an empty room but found something interesting to put inside after all. If that's not your intention, well, don't put goblins or halflings or otyughs in. Stick to body parts and greasy pots and shadowy portraits and bloodstains and scent of brimstone and fresh flowers and broken mirrors and...\n\nTell a story with your empty rooms, or offer tactical choices. Preferably both.", "score": null} +{"instruction": "Kissing a girl can be nerve-wracking, especially if you don't know if she's ready for a kiss! Luckily, there are ways you can figure out whether or not she wants a kiss. Although no tip is foolproof, at least you’ll have a better idea of whether it’s welcome before you make the move.", "response": "Kissing a girl can be nerve-wracking, especially if you don't know if she's ready for a kiss! Luckily, there are ways you can figure out whether or not she wants a kiss. Although no tip is foolproof, at least you’ll have a better idea of whether it’s welcome before you make the move.\n\n## Study her face\n\n1. Watch her eyes. You should be able to tell a lot about your girlfriend's desire to kiss you from her eyes. They don't say the eyes are the windows to the soul for nothing. If she looks you directly in the eye, she is probably establishing intimacy and is at least open to kissing you. Although eye contact is almost always a positive sign, remember that sometimes people look down or away because they are shy or nervous. Still, if she is not looking at you, that's a warning sign that she's not open to a kiss. Women will give you more submissive looks in some cases when they want to be kissed, such putting the chin down and subtly looking down. Slightly narrowing the eyes is a pose that many women go into when they are waiting for a kiss. Are her pupils dilated and are her eyes widening? If so, these are signs that she is enjoying being around you, so she is probably open to a kiss.\n2. Look at her lips. Women prepare their lips for a kiss. So if you want to know if she wants to kiss you, zero in on her mouth. Is she biting her lip or licking her lips? These could be signs that she is trying to moisten them for a kiss. If she is pursing her lips or they look hardened, this is a bad sign. She is closing herself off to you. If she's applied lip gloss recently, or freshened her breath, this could mean she wants her lips to look desirable to you, in the hopes you will kiss them. This is especially true if you can tell she's reapplied them (say when you went to the bathroom). If she's looking at YOUR lips, it probably means she is thinking about kissing them.\n3. Pay attention to her nose. This might sound odd, but research has shown the nose can give away signals of desire - often without her realizing it. If her nostrils are flaring slightly, she probably wants a kiss. Physically, flaring the nostrils means she is taking in more air because she is preparing for physical activity. You need to take this one in context. If she's in the middle of an argument with you, the physical activity her body is preparing her for might not be in your favor.\n\n\n## Interpret her other body language\n\n1. Watch her posture. Posture can be very revealing. Much of communication is made up of non-verbal cues. Sometimes people don't even realize they are communicating this way. If she is learning into you or toward you, even slightly, it probably means she is more open to a kiss. On the other hand, if she is leaning away, that's a bad sign. You should also pay attention to the direction her feet are pointing. If they are pointing away from you, it could be a sign she is looking for a chance to leave. Does she move away when you move slightly toward her? This is a test you can use to measure her body language interest in kissing you. Subtly create more of a zone of intimacy and see if she complies or moves away to diminish it.\n2. Study her hands. Women will use their hands to touch things or show femininity if they want you to kiss them. If a woman plays with her necklace, she's probably into you. But you should take this act in context. If she also has other body language that is open to you, that's a better sign because sometimes a woman is just nervous. If a woman is playing with or twirling her hair, it's a sign she wants you to find her attractive and is flirting with you. If she touches something else, like a glass (running her fingers over it), in even a somewhat sensual way, that's a good sign.\n3. Wait for her touches. If she has touched you recently, even in small ways, this could be her way of creating more intimacy in the hopes you will kiss her. Even the slightest of touches show desire. That means it's a good sign if she brushes her hand against your knee or arm. Touch probably means she wants to get closer to you. It's an even better sign if she touches your face. If she softly, playfully hits you on the arm, she is trying to create a playful vibe with you, which is a way that women flirt. You could test her out by touching her slightly first to see how she responds. For example, brush your feet against hers under the table and see what she does. Another technique is to touch a piece of jewelry she has lightly (earrings, necklace), and say you admire it. If she smiles and is OK with you moving closer into her space, that's a good sign.\n4. Spot whether she has open body language. When taken together, is her body language closed or is it open? If she has open body language, she is not trying to erect barriers between you. Signs of open body language include arms at the side, body tilted toward you or facing you, eye contact, feet pointed toward you. Signs of closed body language include arms crossed over chest, feet or legs crossed, feet pointing away from you, body tilted away from you, and minimal eye contact. How much personal space is she leaving between you? If it's not much, she's already open to an intimate connection with you on some level. This is a good sign for you.\n\n\n## Learn other kiss trick\n\n1. Consider how she talks to you. Does she seem like she wants to keep the conversation going? It's a good sign for you if she does. Is she asking you a lot of questions? Are they deep and personal? If the answers are yes, she probably wants a more intimate connection with you. Are you making her laugh? Laughing at your jokes (especially if they are not very funny) is a way that women flirt. Is she trying to keep the conversation going by being the one to ask questions or lead or direct the conversation? That's a good sign. It's a bad sign if she lets the conversation wither into silence between you or you feel like you're doing all the heavy lifting to keep it going.\n2. Try the triangular kissing technique. There are some techniques you can use to build sexual tension, while monitoring how she responds and communicates back. Move close to her and touch her, either her hands or legs. Slow down your breathing and words. Look at her right eye. Hold the look for a few seconds, then move your gaze to her left eye. Pause again. Now, move your gaze and hold it on her mouth. She should be more receptive to a kiss (as long as she hasn't moved away!)\n3. Spot the window of opportunity. Women you've just met will often give you a short window of opportunity for a kiss. This can be a tricky balancing act. This will be easier if she's already your girlfriend because you will be able to spot the signs more readily. A woman you've just met is also testing you. You need to give her signs that you like her when she seems receptive to you, otherwise she may feel rejected or insecure and start to pull away and try to make you chase her. If you miss the window of opportunity, she may think you lack confidence or aren't interested in her. But if you try to kiss her before it opens, she might think you're boorish or too aggressive. So monitoring body language matters.\n4. Handle her moving away. You should always be prepared for the worst: What if you try to move closer or touch her slightly, and she moves away? Maybe she's just tired or not in a good mood. Who knows? You don't want to make it worse with a bad response. Timing is everything. Act like nothing has occurred. Basically, show that you're not thrown off. You could even make a confident quip about her being cute when she's shy. Don't act angry or insecure. That's not appealing to women. Maybe she's interested in you but just not ready for a kiss yet. In that case, you could work on building more common ground and intimacy- slowly. Abandon your idea for a kiss right now and instead focus on having a great conversation with her, and remember to throw in some compliments! (Women love that.)", "score": null} +{"instruction": "How many olfactory receptors are there?", "response": "There are about 100 (Purves, 2001) to 400 (Zozulya et al., 2001) functional olfactory receptors in man. While the total tally of olfactory receptor genes exceeds 1000, more than half of them are inactive pseudogenes. The combined activity of the expressed functional receptors accounts for the number of distinct odors that can be discriminated by the human olfactory system, which is estimated to be about 10,000 (Purves, 2001).\nDifferent receptors are sensitive to subsets of chemicals that define a “tuning curve.” Depending on the particular olfactory receptor molecules they contain, some olfactory receptor neurons exhibit marked selectivity to particular chemical stimuli, whereas others are activated by a number of different odorant molecules. In addition, olfactory receptor neurons can exhibit different thresholds for a particular odorant. How these olfactory responses encode a specific odorant is a complex issue that is unlikely to be explained at the level of the primary neurons (Purves, 2001). \nSo in a way, the answer to your question is yes, as there are approximately 100 to 400 olfactory receptors. Just like the photoreceptors in the visual system, each sensory neuron in the olfactory epithelium in the nose expresses only a single receptor gene (Kimball). In the visual system for color vision there are just three (red, green and blue cones - RGB) types of sensory neurons, so it's a bit more complicated in olfaction.\nReferences\n- Purves et al, Neuroscience, 2nd ed. Sunderland (MA): Sinauer Associates; 2001\n- Zozulya et al., Genome Biol (2001); 2(6): research0018.1–0018.12\nSources\n- Kimball's Biology Pages", "score": null} +{"instruction": "Write me a poem.", "response": "You sat in the same spot you had been in for centuries, and looked around. Your desk had fallen apart 940 years ago, the window had broken not long after that, and the chair soon after that. Your house had collapsed 850 years ago, and the rest of civilization had soon followed suit with the resource crisis and wars. Anything green perished in the nuclear apocalypse that followed. Now all that was left was dust and bones. You hadn't eaten in two centuries, and couldn't remember the last time you actually talked to another person. Your clothes had turned to rags, and then dust. You were the most pitiable thing left alive in all of creation, if indeed there was anything else left. And yet you knew you could end it all - The millenia of pain that was your existence could finally be laid to rest, the curse would be broken, if you could only find the proper last word to finish your masterpiece:\nThere was a young man from Dundas,\nWho had a bad case of gas,\nHe went to a nurse,\nWho took out her purse,\nAnd shoved it right up his...", "score": 1} +{"instruction": "## Use a template on windows\n\n1. Open Microsoft Excel. It's a green icon with a white \"X\" on it. The Microsoft Excel home page will open.\n2. Search for an invoice template. Type invoice into the search bar at the top of the page, then press ↵ Enter to search for invoice templates. You must be connected to the Internet in order to search for templates.\n3. Select a template. Click a template that you want to use to open it in a window.\n4. Click Create. This button is to the right of the template's preview. Doing so will open the template in Microsoft Excel.\n5. Edit the template to fit your needs. For example, most templates have \"Company\" written across the top; you would replace this heading with your company's name. To edit text on the Excel document, double-click the text item, then remove the text item or replace it with your own.\n6. Fill out the invoice. Enter any information required by your invoice template to ensure that the final total matches what you're owed. For example, some invoice templates will require you to enter an hourly rate or a fixed charge. Most invoice templates use formulas to combine your entered hourly and the number of hours worked in the \"Final Total\" box.\n7. Save your invoice. Click File in the upper-left side of the page, click Save As, double-click a save location, enter your invoice's name, and click Save. This will save your customized invoice in your selected save location. Your invoice is now ready to be sent.\n\n## Use a template on mac\n\n1. Open Microsoft Excel. It's a green box with a white \"X\" on it. Excel will open.\n2. Click File. This menu item is in the top-left side of the page. A drop-down menu will appear below it.\n3. Click New from Template. It's an option in the File drop-down menu. Doing so opens a new page with template options.\n4. Search for an invoice template. Type invoice into the search bar in the top-right corner of the page, then press ⏎ Return. You must be connected to the Internet in order to search for templates.\n5. Select a template. Click a template to open a preview", "response": "## Use a template on windows\n\n1. Open Microsoft Excel. It's a green icon with a white \"X\" on it. The Microsoft Excel home page will open.\n2. Search for an invoice template. Type invoice into the search bar at the top of the page, then press ↵ Enter to search for invoice templates. You must be connected to the Internet in order to search for templates.\n3. Select a template. Click a template that you want to use to open it in a window.\n4. Click Create. This button is to the right of the template's preview. Doing so will open the template in Microsoft Excel.\n5. Edit the template to fit your needs. For example, most templates have \"Company\" written across the top; you would replace this heading with your company's name. To edit text on the Excel document, double-click the text item, then remove the text item or replace it with your own.\n6. Fill out the invoice. Enter any information required by your invoice template to ensure that the final total matches what you're owed. For example, some invoice templates will require you to enter an hourly rate or a fixed charge. Most invoice templates use formulas to combine your entered hourly and the number of hours worked in the \"Final Total\" box.\n7. Save your invoice. Click File in the upper-left side of the page, click Save As, double-click a save location, enter your invoice's name, and click Save. This will save your customized invoice in your selected save location. Your invoice is now ready to be sent.\n\n\n## Use a template on mac\n\n1. Open Microsoft Excel. It's a green box with a white \"X\" on it. Excel will open.\n2. Click File. This menu item is in the top-left side of the page. A drop-down menu will appear below it.\n3. Click New from Template. It's an option in the File drop-down menu. Doing so opens a new page with template options.\n4. Search for an invoice template. Type invoice into the search bar in the top-right corner of the page, then press ⏎ Return. You must be connected to the Internet in order to search for templates.\n5. Select a template. Click a template to open a preview window with the template displayed.\n6. Click Open. It's in the preview window. This will open the invoice template as a new document.\n7. Edit the template to fit your needs. For example, most templates have \"Company\" written across the top; you would replace this heading with your company's name. To edit text on the Excel document, double-click the text item, then remove the text item or replace it with your own.\n8. Fill out the invoice. Enter any information required by your invoice template to ensure that the final total matches what you're owed. For example, some invoice templates will require you to enter an hourly rate or a fixed charge. Most invoice templates use formulas to combine your entered hourly and the number of hours worked in the \"Final Total\" box.\n9. Save your invoice. Click the File menu item, click Save As, enter a name for your invoice, and click Save. Your invoice is now ready to be sent.\n\n\n## Create an invoice manually\n\n1. Open Microsoft Excel. It's a green box with a white \"X\" on it. The Microsoft Excel home page will open.\n2. Click Blank Workbook. This option is in the upper-left side of the Excel home page. A blank spreadsheet will open. On Mac, skip this step if Excel opens to a blank document.\n3. Create the invoice heading. Your heading should include the following information:\n\t* \n\t* Company name - The name of the company to whom the invoice funds will be allocated. Descriptor - The word \"Invoice\" or a description of the type of invoice it is, such as \"Price Quote\" if you're quoting a price for your services to a client instead of billing for them. Date - The date on which you're writing the invoice. Number - The invoice number. You can either use a global numbering system for all your clients or individual numbering for each client. If you choose to number for each client, you can include the client name or a form of it in the invoice number, such as \"Westwood1.\"\n4. Enter the sender and recipient addresses. This information should appear near the top of the invoice, with your information above the client's. Your contact information should include your name, your company's address, a phone number, and an email address. Your client's information should include the company name, the name of the accounts payable person, and the client address. You can also include the client's phone and email address.\n5. Enter your billing information. You can devote a column to a short description of the product or service, a column to quantity, a column to unit price or rate, and a calculated column for the total price for the quantity purchased of that item.\n6. Display the amount of the total bill. This should appear below the calculated column of individual charges and can be generated with Excel's SUM function. For example: if you have $13 of work in cell B3 and $27 of work in B4, you might put the formula =SUM(B3,B4) in cell B5 to display $40 in that cell. If you used an hourly rate (e.g., $30) in cell B3 and a number of hours (e.g., 3) in B4, you would instead write =SUM(B3\\*B4) in cell B5.\n7. Include the terms of payment. This can appear either above or below the billing information. Common payment terms are \"Due on receipt,\" \"Due within 14 days,\" \"Due within 30 days,\" or \"Due within 60 days.\" You may also want to include a memo at the bottom of the invoice covering accepted methods of payment, general information, or a thank-you to your customer for shopping with you.\n8. Save your invoice. Use a name that will distinguish the invoice from other invoices you've sent to your client if necessary. To save your invoice:\n\t* \n\t* Windows - Click File in the upper-left side of the page, click Save As, double-click a save location, enter your invoice's name, and click Save. Mac - Click the File menu item, click Save As, enter a name for your invoice, and click Save.", "score": null} +{"instruction": "How can I write to a file in Python 3.2+ with a path that already exists?", "response": "In Python 3.2+, using the APIs requested by the OP, you can elegantly do the following:\n```\nimport os\nfilename = "/foo/bar/baz.txt"\nos.makedirs(os.path.dirname(filename), exist_ok=True)\nwith open(filename, "w") as f:\n f.write("FOOBAR")\n```\n\nWith the Pathlib module (introduced in Python 3.4), there is an alternate syntax (thanks David258):\n```from pathlib import Path\noutput_file = Path("/foo/bar/baz.txt")\noutput_file.parent.mkdir(exist_ok=True, parents=True)\noutput_file.write_text("FOOBAR")\n```\n\nIn older python, there is a less elegant way:\nThe ```os.makedirs``` function does this. Try the following:\n```import os\nimport errno\nfilename = "/foo/bar/baz.txt"\nif not os.path.exists(os.path.dirname(filename)):\n try:\n os.makedirs(os.path.dirname(filename))\n except OSError as exc: # Guard against race condition\n if exc.errno != errno.EEXIST:\n raise\nwith open(filename, "w") as f:\n f.write("FOOBAR")\n```\nThe reason to add the ```try-except``` block is to handle the case when the directory was created between the ```os.path.exists``` and the ```os.makedirs``` calls, so that to protect us from race conditions.", "score": null} +{"instruction": "How important is it to have a patent for a new technology?", "response": "This is a great question, with no one right answer.\nThe strength of a patent comes from the ability to enforce it. If the patent owner cannot enforce it for whatever reason (such as a lack of funding), the patent is effectively toothless.\nBut your competitors will likely not know that. They may therefore be dissuaded from infringing simply by the existence of a patent and the assumption that you would sue. Such a chilling effect on competition may be valuable to you.\nIn addition, if there is infringement, you may be able to get a licensing agreement without the need for litigation. This can be a very lucrative business model, and so may justify the cost of patenting.\nAnd if litigation seems likely, there is a nascent field of litigation funding. While your funders will take quite a great deal of the damages, you may at least get something out of the end of it.\nFinally, even if you can't sue, someone else could. You might therefore get quite some value from selling it off at some point. There are a number of tech businesses where most of their value comes from their IP portfolio.\nOn the whole therefore it depends how you see yourself proceeding. If you're unsure, it may pay to err on the side of patenting: once you disclose or use your invention publicly, you're generally barred from patenting it later (but for a short grace period in some countries), whereas it's easy to abandon a patent (or application) later down the track if you wish.", "score": 3} +{"instruction": "What can I do to reduce my energy bills?", "response": "There are a lot of little things you can do that can add up. Here are some suggestions:\n\n* Wash clothes in cold water only.\n* Turn your freezer/refrigerator up a few degrees.\n* Purchase insulated curtains/shades, and close them during the day when you are at work. \n* Make sure your furniture is arranged so that it is not blocking any vents or radiators.\n* Purchase a draft guard to place at the bottom of your door leading to the outside where temperature-controlled air can escape from your apartment.\n* Install a low flow shower water head. Shower head screw on/off easily. Keep the old head to replace when/if you move.\n* Clean Your Refrigerator: It's unlikely that you'll purchase new energy efficient appliances for your rental, but you can tweak the ones you already have. For example, by cleaning the coils on the back of your fridge you'll help one of the biggest energy hogging appliances run more efficiently.\n* Use Energy Efficient Bulbs, even if you're put off by the slightly higher upfront cost, you can simply unscrew them and take them with you when it's time to move.\n* Use Power Strips: A lot of energy is wasted through electronics left plugged in, and the resulting vampire energy. Put a stop to it by using one of a number of cool, smart energy strips, which will turn off vampire energy when the electronics are not in use.\n* Use a Humidifier & Lower Your Heat: Keeping humidity levels up during the winter is not only good for your health, but also for your air and furniture. It also helps keep the ambient air temperature feeling warmer than dry air, which means you can turn your thermostat down. If your HVAC system doesn't have a humidifier built-in, then you can get an inexpensive and portable humidifier to use during dry conditions.", "score": null} +{"instruction": "I have a JSON file with some very long lines. I would like to improve performance for Emacs to display this file.", "response": "Emacs' handling of long lines is not very well optimized. For a number of operations, Emacs has to scan the whole line repeatedly. For example, to display a line, Emacs has to figure out the height of the line, which requires scanning the whole line to find the tallest glyph. Additionally, scanning for bidirectional display eats up a lot of time. You can get some additional information in, for example, the docstring of ```cache-long-line-scans``` (renamed ```cache-long-scans``` in 24.4).\n\nYou can try and see if setting ```bidi-paragraph-direction``` to ```left-to-right``` and setting ```bidi-inhibit-bpa``` (new in Emacs 27, see footnote 1) to ```t``` improves the speed for you (see footnote 2). This removes some significant contributors to line scans, but sadly not the only ones.\n\nThe best option is to add newlines. You can pipe a JSON file through e.g. ```python -c 'import json, sys ; json.dump(json.load(sys.stdin), sys.stdout, indent=2)'``` to add newlines and improve readability in general.\n\nFootnote 1: ```bidi-inhibit-bpa``` is new in Emacs 27. Setting it to ```t``` can have a noticeable (sometimes dramatic) effect in cases where (a) a physical line is very long, and (b) the line includes many parentheses and/or braces, especially if they are nested.\nFootnote 2: There is also ```bidi-display-reordering```, but this is only for internal/debugging purposes. Setting it to ```nil``` may improve performance, however that is an unsupported setting which may cause other problems, so it is not recommended. In Emacs 27, the combination of setting ```bidi-paragraph-direction``` and ```bidi-inhibit-bpa``` is a supported configuration which provides approximately the same performance boost.", "score": null} +{"instruction": "What are the benefits of the moon?", "response": "The moon was critical to the formation of life as we know it. The huge tides generated by the moon's gravity allowed chemical building blocks to mix from different parts of the planet. The early moon also helped slow the Earth's rotation and stabilize the tilt - resulting in our seasons.", "score": 1} +{"instruction": "What is a joke about numbers?", "response": "Here is joke about numbers:\n\nWhy was the number 10 scared?\nBecause 7 8 9.", "score": null} +{"instruction": "If all 8 billion people on earth were to jump at the same time, would the earth move?", "response": "There are roughly 8 billion people on Earth, with a total weight of about 400 billion kg. Since people are dispersed around the planet's spherical surface, if everyone on Earth jumped in place, nothing much would happen; all our lift-offs and impacts would more-or-less cancel each other out, resulting in 0 net force on the Earth.\n\nHowever, if all 8 billion of us came together and jumped, we would make the Earth shift by just 1% of the radius of a single atom per second. When we landed, Earth would move back in place.", "score": 3} +{"instruction": "How do I open a school locker with a combination lock?", "response": "If there are lockers with locks at your school, you'll probably want to get used to opening yours quickly. Don't worry; it gets easier with practice. See Step 1 to begin learning how to open 99% of all standard school lockers.\n\n## Open when you know your padlock's combination\n\n1. Spin the dial at least three times to the right (clockwise), all the way around. This \"clears\" the lock of any previous numbers. If at any point in putting in your combination you mess up, do this again to start over.\n2. Enter your combination. Turn the dial to the right and stop at your first number. Always start with a turn to the right! For your second number, turn the dial to the left, going past zero and your first number. Then stop at your second number. Some locks are a bit odd or finicky -- if your locker isn't opening after you put the three numbers in correctly, try turning left past your second number once and stopping on it on the next go around. For your third number, turn the dial to the right and go directly to the last number. Leave your lock on this number. Always remember: right, left, right.\n3. Open the lock. Pull the lock open and out of the hole, or pull the latch or handle, if there is one. Otherwise, tug on the knob to open the locker. If your locker just won't open, try it again with the last number being five before or after your \"official\" last number. Sometimes the older locks get, the shakier they get in their requirements or abilities. If that doesn't work, ask your classmates or teacher if there are any similar quirks in the school locker system. Try twice before you call a teacher.\n4. Lock your locker after use. Make sure, if you have a locker with an unattached lock, that you lock your locker when you leave. If you don't, it's possible your things will get stolen or your lock will be turned backwards. Close your lock up and twist the dial a bit. If you leave it on the final number, it may open up again effortlessly, for someone other than you.\n\n\n## Open when you don't know your padlock's combination\n\n1. Apply pressure upward. This means taking your finger and wrapping it around the latch. It should pull up just a teeny bit when it's locked. While you're doing this, rotate the lock counterclockwise until it locks. You may have to apply a bit of strength to do this, but it won't break it.\n2. Write down the numbers it locks at. Repeat this action 11 more times. Seven of the numbers you get will be between two digits; ignore those. Continue with the 5 outliers. Of those 5, 1 should not end in the same digit. That's your third number. Obviously, it's very important to know exactly where the lock stops at. Be diligent and take a keen eye to your lock.\n3. Use trial and error. You're now down to just 100 possible combinations -- that's 15 minutes' work. Your third number actually allows you to eliminate possible first and second numbers, believe it or not. It may take a bit, but it will open with perseverance. If your third number is 0, 4, 8, 12, 16, 20, 24, 28, 32, or 36:\n\t* Your first number is either 0, 4, 8, 12, 20, 24, 28, 32, or 36. Your second number is either 0, 6, 10, 14, 18, 22, 26, 30, 34, or 38. If your third number is 1, 5, 9, 13, 17, 21, 25, 29, 33, or 37:\n\t* Your first number is either 1, 5, 9, 13, 17, 21, 25, 29, 33, or 37. Your second number is either 1, 7, 11, 15, 19, 23, 27, 31, 35, or 39. If your third number is 2, 6, 10, 14, 18, 22, 26, 30, 34, or 38:\n\t* Your first number is either 2, 6, 10, 14, 18, 22, 26, 30, 34, or 38. Your second number is either 2, 8, 12, 16, 20, 24, 28, 32, 36, or 0. If your third number is 3, 7, 11, 15, 19, 23, 27, 31, 35, or 39:\n\t* Your first number is either 3, 7, 11, 15, 19, 23, 27, 31, 35, or 39. Your third number is either 3, 9, 13, 17, 21, 25, 29, 33, 37, or 1.", "score": null} +{"instruction": "write a program that generates a paragraph of text about a dog and the sounds that it makes", "response": "Sure, here is the output:\n\ndog dog woof dog dog", "score": null} +{"instruction": "Can you please explain the uses of the underscore _ in Scala?", "response": "The following is an explanation of the uses of the underscore is Scala _ [underscore] magic.\nExamples:\n``` def matchTest(x: Int): String = x match {\n case 1 => \"one\"\n case 2 => \"two\"\n case _ => \"anything other than one and two\"\n }\n expr match {\n case List(1,_,_) => \" a list with three element and the first element is 1\"\n case List(_*) => \" a list with zero or more elements \"\n case Map[_,_] => \" matches a map with any key type and any value type \"\n case _ =>\n }\n List(1,2,3,4,5).foreach(print(_))\n // Doing the same without underscore:\n List(1,2,3,4,5).foreach( a => print(a))\n```\nIn Scala, ```_``` acts similar to ```*``` in Java while importing packages.\n```// Imports all the classes in the package matching\nimport scala.util.matching._\n// Imports all the members of the object Fun (static import in Java).\nimport com.test.Fun._\n// Imports all the members of the object Fun but renames Foo to Bar\nimport com.test.Fun.{ Foo => Bar , _ }\n// Imports all the members except Foo. To exclude a member rename it to _\nimport com.test.Fun.{ Foo => _ , _ }\n```\nIn Scala, a getter and setter will be implicitly defined for all non-private vars in a object. The getter name is same as the variable name and ```_=``` is added for the setter name.\n```class Test {\n private var a = 0\n def age = a\n def age_=(n:Int) = {\n require(n>0)\n a = n\n }\n}\n```\nUsage:\n```val t = new Test\nt.age = 5\nprintln(t.age)\n```\nIf you try to assign a function to a new variable, the function will be invoked and the result will be assigned to the variable. This confusion occurs due to the optional braces for method invocation. We should use _ after the function name to assign it to another variable.\n```class Test {\n def fun = {\n // Some code\n }\n val funLike = fun _\n}\n```", "score": null} +{"instruction": "If I watch you on the street, could it be that I'm strange?", "response": "Could it be that I'm strange\nIf I watch you on the street?\nIf I follow you home?\nIf we never meet?\nIf I smell your hair?\nIf I watch you sleep?\nIf I wear your clothes?\nIf I lick your feet?\nCould it be that I'm strange\nIf you make me complete.", "score": null} +{"instruction": "I have a data set which is an array with multiple values. I want to get the keys and values of the data set and use the keys and values as the key and value of an array.\n\nThe data set is broken into three parts:\n\n1. an array with the key and value of the data set\n\n2. an array with the key and value of the data set\n\n3. an array with the key and value of the data set\n\n4. an array with the key and value of the data set\n\n5. an array with the key and value of the data set\n\n6. an array with the key and value of the data set\n\n7. an array with the key and value of the data set\n\n8. an array with the key and value of the data set\n\n9. an array with the key and value of the data set\n\n10. an array with the key and value of the data set\n\n11. an array with the key and value of the data set\n\n12. an array with the key and value of the data set\n\n13. an array with the key and value of the data set\n\n14. an array with the key and value of the data set\n\n15. an array with the key and value of the data set\n\n16. an array with the key and value of the data set\n\n17. an array with the key and value of the data set\n\n18. an array with the key and value of the data set\n\n19. an array with the key and value of the data set\n\n20. an array with the key and value of the data set\n\n21. an array with the key and value of the data set\n\n22. an array with the key and value of the data set\n\n23. an array with the key and value of the data set\n\n24. an array with the key and value of the data set\n\n25. an array with the key and value of the data set\n\n26. an array with the key and value of the data set\n\n27. an array with the key and value of the data set\n\n28. an array with the key and value of the data set\n\n29. an array with the key and value of the data set\n\n30. an", "response": "* For your first two example cases, you could use ```key()``` and ```current()``` to assign the values you need.\n```$ar = $o->me; // reset isn't necessary, since you just created the array\n$typ = key($ar);\n$val = current($ar);\n```\n\n* \n```$out = array('me' => array(), 'mytype' => 2, '_php_class' => null);\n$expected = [key($out), current($out)];\n```\nIn those cases, you can use ```next()``` to advance the cursor afterward, but it may not be necessary if the rest of your code doesn't depend on that.\n\n* For the third case, I'd suggest just using a ```foreach()``` loop instead and assigning ```$kv``` inside the loop.\n```foreach ($broken as $k => $v) {\n $kv = [$k, $v];\n}\n```\n\n* For the fourth case, it looks like the key is disregarded in ```list()```, so you can assign the current value.\n```$this->result = current($this->cache_data);\n```\nLike the first two cases, it may be necessary to advance the cursor with ```next()``` depending on how the rest of your code interacts with ```$this->cache_data```.\n\n* Fifth can be replaced with a ```for()``` loop.\n```reset($array);\nfor ($i = 0; $i < 30; $i++) {\n $id = key($array);\n $item = current($array);\n // code\n next($array);\n}\n```", "score": null} +{"instruction": "Write a children's book about moving to [New Country] for [Children's Names]", "response": "[Children's Names] Go to [New Country]\n\n\n###Prologue\n\n[Children's Names], Mommy, and Daddy are getting ready to move to [New Country]. Everyone is very excited!\n\n[Children's Names] know that to get to [New Country], we need to fly on an airplane. But what's going to happen before the flight? And what's going to happen after?\n\n\n###Chapter 1: Goodbye [Old City]\n\nFirst, we will pack our toys, our books, and our clothes. Big men will help us pack our furniture. They will also pack [Child 1]'s bike and [Child 2]’s trike. We will say goodbye to [Child 1]'s bed because in [New Country], [Child 1] will get a new bed that's much bigger!\n\nOnce all our things are packed, we will spend a few nights in a hotel in the city. It will be fun to sleep together in one big room and eat our dinner at a restaurant!\n\nWe will also have a goodbye party in [Preschool's Name] on the last day of school.\n\n\n###Chapter 2: Lift Off\n\nThe next day, we will go to the airport in a very big taxi. We need a huge taxi to help us take all our suitcases! We will then go find our airplane. This airplane will take us to [New Country].\n\nWhen everybody is sitting in the airplane and buckled up, the airplane will take off. [Children's Names] will sit near the window and see the city of [Old City] becoming smaller and smaller as the plane goes up up up into the sky. It will be night time, so [Children's Names] will become very tired soon after the airplane takes off.\n\nAfter a long flight, the airplane will land in [New Country]. When it lands, everybody in the airplane will clap their hands! That's because everybody is happy to come home to [New Country].\n\nWe will then go and pick up all our suitcases. We have so many! Once we have loaded all our suitcases and our carseats onto big carts, we will push them towards the exit, where we will meet… Grandma and Grandpa!\n\n\n###Chapter 3: Fun with Family\n\nGrandma and Grandpa will take us to their house. It will be very late at night in [New Country], and we will need to shower and sleep after the long flights.\n\nThe next morning, we will all have a big family breakfast. Mommy and Daddy will then head out to do some important things. [Children's Names] will have special time with Grandma and Grandpa.\n\nAfter lunch, [Children's Names] will have some visitors. Who could it be? It’s all of their uncles and aunts!\n\nWe will spend the whole week at Grandma and Grandpa's house, and meet lots of family that [Children's Names] have never met. We will also eat lots of yummy [New Country] food like [New Country Food].\n\n\n###Epilogue: Our New Home\n\nAfter a few weeks, we will move into our new home. It will be [Something Special about the Home]. [Children's Names] will have a new room.\n\n[Children's Names] will go to new schools. We will meet lots of new friends at school, and there will be plenty of new toys and things to do! It might also be strange at first, because everybody at school will speak [New Country Language], but [Children's Names] will learn quickly.\n\nEven though they will miss [Old City], [Children's Names] know that as long as they are together with Mommy and Daddy, everything will be fine. It will be exciting to live in [New Country]!", "score": 4} +{"instruction": "How do I purchase my college textbooks?", "response": "In this article you will learn two ways to purchase your college textbooks. One way would be your college campus bookstore. Another will be online on your college website.\n\n## College campus bookstore\n\n1. Make sure you have a print out of your college classes, if not you can always ask a clerk in the bookstore to print one out. Each of your classes are categorized in a course for example: History will be HIST.\n2. Look at your college class list, find your first class and look for its category in the bookstore.\n3. After finding the category of your class, you will then look for your class on pieces of paper located on the bookshelf example: History 101 The piece of paper located on the bookshelf will have the class, professor of the class and the author of the book. The piece of paper will also have two amounts of the book NEW and USED. It will be your choice to decide if you would like to purchase a new book or a used book.\n4. Find your remaining books. When done finding books you will now be ready to check out.\n5. Head over to the register, the clerk will then scan your books, give you the total amount. After paying the clerk will go over the return policy after that you will be done purchasing your textbooks.\n\n\n## Purchase your textbooks online on your college website\n\n1. Locate your college website onto the internet For Example: www.csn.edu\n2. Go to the Bookstore on your college's website.\n3. Scroll down to websites and click your campus website For Example Cheyenne bookstore Website.\n4. Look at the next page that comes up and make sure that it says your campus that For example: Cheyenne bookstore. Click the link that says Textbooks and Course Materials. You will then select your program, term, and your division. By doing this correctly make sure you have a print out of your classes beside you.\n5. After selecting your division you will then select your department also known for your class Example History will be HIST then your will select your course and finally your selection.\n6. after submitting all your information the next page that appears will be the a picture of the book, title , author, price of a New book or Used book and if they have the book in stock.\n7. Click on the Add to Cart and add another course. Continue adding text books. You are now ready to check out make sure to look over all your information and read the instructions click on the checkout button if you are not a member make sure to register to continue checking out.\n8. After you register you will be back to the checkout page you will then follow instructions on how to pay and then you will have finished the process of purchasing a textbook online.", "score": null} +{"instruction": "What are the symptoms of adrenal gland disease in a Pomeranian? What are the diagnoses of the disease? How can one diagnose the disease? What are the treatments for adrenal gland disease in a Pomeranian?", "response": "Pomeranians are a breed that are especially prone to baldness problems. While your dog may have other adrenal gland diseases, such as Cushing's Disease or Addison's Disease, Alopecia X is the most common condition that affects Pomeranians. Adrenal gland disease goes by a variety of names, such as Alopecia X, Black Skin Disease, and Growth Hormone Responsive Dermatosis, among others. Adrenal gland disease is a puzzling condition, and vets are not really sure of the cause. There are ways to diagnose if your dog has this condition.\n\n## Identify symptoms\n\n1. Watch for odd patches of fur. One of the first signs of adrenal gland disease is patches of hair that look different than the rest of the coat. These patches will contain hair that is short and oddly textured, like wool.\n2. Look for symmetrical hair loss. When a dog has adrenal gland disease, the Pomeranian sheds her fur right down to the skin and the fur doesn't regrow. The fur loss is in a symmetrical pattern so the hair loss on the left of the body mirrors that on the right. Hair loss usually occurs on the trunk and back thighs, and not on the head or front legs.\n3. Watch for dark patches of skin. When the dog loses her hair, the exposed skin often becomes hyperpigmented. This means that the skin changes from a regular pink or beige color into a dark brown or black color. Additionally, the skin is often dry and scaly.\n4. Be alert for any lack of hair growth. Another way you know your Pomeranian has this condition is that hair does not regrow after it has been clipped or shaved.\n5. Know that this condition can affect any dog. Pomeranians of any age or sex can be affected. This means that through your dog’s entire life, you need to watch for signs of this condition. Although a dog can get this condition any time, the dog is healthy otherwise even if she does start to show the symptoms.\n\n\n## Diagnose the disease\n\n1. Be aware of an unspecific diagnosis. The problem with diagnosing adrenal gland disease is that vets aren't sure why it occurs in the first place. This makes it impossible to develop a single test that gives a definitive answer as whether baldness is specifically due adrenal gland disease or some other problem.\n2. Take your dog to the vet. The vet has to rule out all other problems which could cause hair loss. This means conducting an extensive array of tests searching for specific conditions, which can then be confirmed or crossed off the list. Once all these tests are done, and if they all come back negative, then the condition is likely to be adrenal gland disease. Adrenal gland disease is a diagnosis of exclusion, which means all other possible causes of hair loss have to be crossed off the list in order to diagnose the condition. Many of the symptoms of adrenal gland disease, like hair loss, can be due to more serious diseases, such as Cushing's Disease. Alopecia X is not life threatening, but other adrenal gland diseases can be serious if left untreated. This is why taking your dog to the vet is so important.\n3. Have multiple tests run. The vet may want to run some or all of the following tests, which will prove or rule out other conditions which may be similar to adrenal gland disease. The tests include:\n\t* Thyroid blood test\n\t* Adrenal hormone test\n\t* A urinalysis\n\t* Abdominal ultrasound\n\t* Skin scrapes\n\t* Skin biopsy\n\t* Screening blood tests\n4. Notice the effects of this disease. When your dog gets this condition, know that it is a cosmetic condition. Your dog will not be in any pain. If your vet has ruled out any other underlying condition, then your dog can live a happy life with the condition.\n5. Find the proper treatment. Most treatments for Alopecia X focus on helping the dog grow the coat back, but they are trial and error. Many adrenal gland problems are caused by hormonal imbalances, so dogs may be spayed or neutered. If this is not an option, melatonin therapy may be suggested. Other treatment options may be available if these don't work. However, they can cause adverse reactions, so the adverse health effects need to be considered next to the cosmetic benefits.", "score": null} +{"instruction": "Use a phone or tablet", "response": "## Use a phone or tablet\n\n1. Open your phone or tablet's app store. This is the App Store on iOS and Play Store on Android. Look for the app on your home screen or app menu and tap to open it.\n2. Search for Pure Flix. Tap the search bar and type \"pure flix\".\n3. Tap the Pure Flix App to open it. Check that the publisher is Pure Flix Digital. If you cannot find Pure Flix, you may be on an older software version that is unsupported. Check for a software update in your settings. Pure Flix requires iOS 10.0 or later for iPad, iPhone, iPod Touch, and Apple TV. Pure Flix requires Android 4.2 or higher on Android phones and tablets.\n4. Tap +Get or Install to download the app. You may need to confirm your credentials. The app will be added to your home screen or app menu when finished downloading.\n5. Open the app. Look for a blue icon that says \"Pure Flix\" on your home screen or app menu. Tap the app to open.\n6. Sign in with your Pure Flix username and password. If you do not have an account, sign up for a plan on the Pure Flix website: https://signup.pureflix.com/signup/plans\n\n\n## Use a computer\n\n1. Open a browser on your computer. This can be any standard modern browser, such as Chrome, Safari, Edge, Firefox, and IE11.\n2. Navigate to https://www.pureflix.com/. Type or copy the address in the address bar, or click the link.\n3. Click Sign In. This is in the top right corner of the screen.\n4. Enter your username and password and click Sign In. If you do not have an account, create one by clicking Create an Account.\n5. Use the navigation bar at the top to search or browse for movies and shows. Click on a show or movie to stream it. Cast your browser tab to a TV if you prefer to use a bigger screen by using Chromecast.\n\n\n## Use a smart tv\n\n1. Launch your Smart TV. This may be Apple TV, Amazon Fire, Roku, Samsung Smart TV, or another Smart TV.\n2. Open the app store on your Smart TV. This may be called something different for every Smart TV, but look for an app store on your main home screen.\n3. Search for Pure Flix. Use the app store's search bar and type in \"pure flix\".\n4. Download the Pure Flix app. Look for a button that says Download, Install, or Get.\n5. Launch the app and login. Find the app on your home screen with the other apps for your Smart TV.\n\n\n## Use an xbox one\n\n1. Launch the XBOX dashboard. Start your XBOX one and sign in if you are not already. The dashboard is the home screen that appears when you are signed in.\n2. Open the XBOX Store. Use the left analog stick or directional pad to select the Store tab on the right.\n3. Search for Pure Flix. Navigate down to the search bar and enter in \"pure flix\".\n4. Select the Pure Flix app and select Get. This will install the Pure Flix app on your XBOX One.\n5. Login to your account once installed. You can find this app on your dashboard in the future.", "score": 5} +{"instruction": "How did the C language get its declaration syntax?", "response": "Dennis Ritchie’s paper on The Development of the C Language gives some idea of the reasoning behind this: namely, the fundamental rule in C that declaration syntax should match expression syntax\"\n\nFor each object of such a composed type, there was already a way to mention the underlying object: index the array, call the function, use the indirection operator on the pointer. Analogical reasoning led to a declaration syntax for names mirroring that of the expression syntax in which the names typically appear. Thus,\n```int i, *pi, **ppi;\n```\ndeclare an integer, a pointer to an integer, a pointer to a pointer to an integer. The syntax of these declarations reflects the observation that ```i```, ```*pi```, and ```**ppi``` all yield an ```int``` type when used in an expression. Similarly,\n```int f(), *f(), (*f)();\n```\ndeclare a function returning an integer, a function returning a pointer to an integer, a pointer to a function returning an integer;\n```int *api[10], (*pai)[10];\n```\ndeclare an array of pointers to integers, and a pointer to an array of integers. In all these cases the declaration of a variable resembles its usage in an expression whose type is the one named at the head of the declaration.\n\n\nIt appears this rule trumped parser considerations. Its immediate consequence is that function declarations can’t use specific keywords, or impose a different ordering of declaration components.\nIt’s worth noting that parsing was somewhat different in early C, since function declarations didn’t specify their arguments, and function definitions separated the argument list from the argument declarations (which weren’t necessary for ```int``` arguments):\n```sum();\n```\ndeclares a ```sum``` function, which would then be defined as\n```sum(a, b) {\n return a + b;\n}\n```\n(no types needed here, the default is ```int```). So the parser didn’t deal with types inside argument lists.", "score": 4} +{"instruction": "Write a story about a soccer star who is sick, but still scores spectacularly. The story should be set in a season that is slow and boring.", "response": "Surprisingly, sick soccer star scores spectacularly, stimulating slow season.", "score": null} +{"instruction": "Write an acknowledgements section for your thesis.", "response": "Acknowledgments\n\nThe PhD journey at Carnegie Mellon University has been an extremely challenging and yet rewarding experience for me. I would not be able to reach the finish line without the help and love from the wonderful people in my life. Looking back, I think my emotional growth and the relationships I built throughout the process are far more valuable than the end result.\n\nI cannot get to where I am without the guidance of my advisor, [Advisor Name]. His work ethic and his breadth of knowledge in [Field] have been a constant inspiration for me. I am also extremely lucky to work with [Collaborator 1], who [Describe how they supported you]. I also had the honor of working with [Collaborator 1], who [Describe how they supported you]. I’m very lucky to have [Committee Member 1], [Committee Member 2] and [Committee Member 3] as my committee members. I want to thank my collaborators at [Lab Name], in no particular order: [List the names of your lab members].\n\nLast but not least, I would like to thank my family for being the strongest backbone in my life, accepting me for who I am, and loving me without any constraints. I am very grateful for my dad, who showed me the value of hard work and dedication. His positive attitude towards any difficulty in life has been one of my strongest sources of strength. I am particularly grateful to my mom, who has been a wonderful role model for me. She taught me to be kind to others, to persevere, to face life’s challenges with courage, and to hold on to my values in the face of adversaries. This thesis is dedicated to you both.", "score": 5} +{"instruction": "I'm going to is commonly pronounced \"I'ma\". How did this come to be?", "response": "Ima is an informal contraction of I'm going to when it's used in going-to future construction - not in sentences like I'm going to London etc. It's also written i'ma or imma in informal conversations.\nHow did I'm going to come to be pronounced/spelt that way?\nIn casual speech, we tend to drop consonants that require more effort to articulate, assimilate nearby consonants, drop weak vowels etc., for the ease of articulation. Grammatical words that don't have any meaning on their own (function words?) like have to, going to (not present continuous), has, is, was, will etc., are highly susceptible to these sound changes. For instance, have to is often pronounced hafta, trying to is pronounced tryna, want to is wanna etc etc. The same thing happened to the phrase I'm going to.\n\nThere are a few processes involved in the reduction of I'm going to to ima.\n\n* I'm going to → I'm gonna: the consonant t is often dropped in many other clusters and grammatical constructions as well (as in tryna, wanna etc). Here it's dropped and the vowel of to—which is usually a schwa [ə]—is linked with the preceding word; going to → gonna: [ˈɡəʊɪ̃ŋtə] → [ˈgə̃nə]\n\n* Deletion of the /g/: plosives (/g t d k/ etc) require great effort to articulate (the air is completely blocked and then released), so people dropped the plosive /g/ to make its articulation easier: [aɪ̃m gə̃nə] → [aɪ̃m ə̃nə] (i'm ana)\n\n* linking I'm and gonna: In causal and connected speech, consonants and vowels are often linked by a process called liaison, so both I'm and gonna join together and become [aɪ̃mə̃nə] (i'mana).\n\n* Syncope of the vowel in the second syllable: Unstressed schwas are often lost through syncope (for example, 'chocolate' is choc.late for most speakers). If we removed the schwa from the second syllable, we'd get [aɪmnə] (i'mna).\n\n* Deletion of /n/: It's simple cluster reduction. In English, two nasals that are next to each other are often reduced to a single nasal (as in damn), so the /n/ is deleted, yielding in this case [aɪ̃mə] (i'ma). Or people dropped the /n/ for the sake of ease.\n\nSome people further reduce the diphthong [aɪ] it to something like [a], which results in [ãmə] (ama)\nThat's why people spell it that way. It's highly informal and as TypeIA pointed out in a comment, it's mostly a verbal thing and is not usually found in written form. It's commonly found in chatspeak or lolspeak. You shouldn't write it in any kind of writing.", "score": 3} +{"instruction": "Explain the difference in multitasking between Windows 3.1 and MS-DOS.", "response": "For Win16 programs, Windows implemented co-operative multitasking. Its implementation was based upon the "message loop" architecture of every Windows program.\n\nThe duty of every program was to endlessly run in a loop in which a call to the ```GetMessage``` function was performed. This function call looks whether a message to this process is in the queue. If there is one, it is retrieved (```GetMessage```), optionally translated (```TranslateMessage```, done to convert keyboard shortcuts into menu actions) and finally, passed to the window procedure (```DispatchMessage```).\n\nIf there is no message available in the queue, Windows suspends the current task and gives the CPU to another task. This task will try to retrieve a message from its queue as well, yielding the CPU to another task if no message is present and so on.\n\nIf a program needed to perform background tasks while there were no pending messages in its queue, it would call ```PeekMessage``` instead of ```GetMessage```. This didn't make the task relinquish the CPU, as ```PeekMessage``` would immediately return to the caller task to inform it whether a message is available or not. This was used to time-multiplex message processing with another time-consuming task (think of a 3D program rendering but letting the user cancel that render by pressing a "Cancel" button).\n\nIf this time-consuming task was actually very time-consuming, a well-behaved program should call the ```Yield``` function from time to time, to relinquish the CPU and let other tasks run. A badly-behaved program could easily hog the CPU by not retrieving messages too often or by spending too much time in a window procedure function.\n\nThe situation was quite different for MS-DOS boxes. They ran using the V8086 mode of the 80386 (if Windows was running in enhanced mode). Windows-aware programs ran in the so-called System VM (Virtual Machine 1). DOS boxes ran from VM 2 upwards. DOS programs usually were badly-behaved programs, so Windows assigned each DOS box a different virtual machine. Virtual machines used pre-emptive multitasking in Windows 3.1, so each DOS box could run concurrently to others and to any Windows-aware program.", "score": 5} +{"instruction": "What should I watch?", "response": "I blink at the cup. I blink at the Barrista. She smiles.\n\"Why does it say 'run' on my coffee?\" I ask. She smiles again.\n\"Cardio\" she says \"it's always good to invest time in cardio fitness. You know where's a great place to get started? There's a park about five minutes walk from here, do the whole outside track and you've done a mile. There's shade, it's pretty flat...I recommend it!\"\n\"...thanks...\" I say and walk away sipping my coffee. I'm basically too out of shape to run a mile, but I can always walk more. I make a mental note to check out the park.\nMy coffee cup says \"Read\". I look at the Barrista. Same one as last time. She's a brunette, with long hair in a pony tail.\n\"Any authors in particular?\" I ask. She smiles.\n\"Are you a reader?\"\nI shake my head. There's never time. She shrugs.\n\"Then start with a good newspaper. Cover to cover. You never know what you might turn up!\"\nHer enthusiasm is infectious and I smile back.\n\"Thanks,\" I say, sipping the coffee, \"I'll do that.\"\nI stop in for coffee after my run, feeling pretty good, with the intention of sitting outside and leafing through a copy of The Washington Post. My iPod is still reading me *The Satanic Verses* by Salman Rushdie, which is a lot funnier than I was expecting, and I'm not really paying attention to my coffee order. The take out cup says \"Watch\" on it. I look up, pull the earbuds out of my ears and smile at the Barrista. Her eyes are vivid and green, one eyebrow arches gracefully at me.\n\"What should I watch?\" I ask.\n\"How do you feel about German Expressionism?\" she asks.\n\"I don't,\" I say \"but the way it influenced later directors, from Hitchcock to Burton, that's pretty cool.\"\nThat earns me a dazzling smile and those eyes iridesce. Then she frowns.\n\"Oh, darn it. I'm sorry, I've got your order wrong. Here, let me fix that for you.\"\nShe reaches for the cup, takes it from my hand and for an electric moment our fingers touch. She fusses behind the counter, hands me a new cup, smiles again.\nI look at the cup. It says \"Date?\"", "score": null} +{"instruction": "Is it unethical to cheat on your husband?", "response": "It is unethical to cheat on your husband and it could cause serious consequences to your spouse, your relationship, and your family. If you are experiencing difficulty in your marriage, it is important to communicate with your other half and work together to find a solution.", "score": 1} +{"instruction": "How do I take screenshots on a Mac?", "response": "Mac OS has a built-in snipping tool similar to the one in Windows:\n* ⌘+⇧+3 captures the whole screen\n* ⌘+⇧+4 captures a custom rectangle\n(click and drag over the screen region you want to capture)\n* ⌘+⇧+4 then space captures a specific window (move the mouse cursor over the desired window, then click)\n\nPress esc to cancel.\nScreenshots are saved onto your Desktop and timestamped.\nHolding control in addition to any of the sequences above causes the image to be copied instead of saved to the desktop.\nBy default the image format is png. However, you can change the format by typing in the Terminal:\n```defaults write com.apple.screencapture type image_format\nkillall SystemUIServer\n```\nWhere ```image_format``` is one of ```jpg```, ```tiff```, ```pdf```, ```png```, ```bmp``` or ```pict``` (among others). If you omit the second line, you will need to log out and in again for the change to take effect.\n\nThe settings for the shortcuts in the system preferences are located at:\nSystem Preferences → Keyboard → Keyboard Shortcuts → Screen Shots\nThe MacOS X application that enables screenshots is called Grab. It is located at ```/Applications/Utilities/Grab.app```", "score": 3} +{"instruction": "What do you do when you are dating an egotistic person?", "response": "An egotistic person can be someone who is prone to talking about themselves frequently, or someone who appears vain or boastful. It can also be used to indicate someone who is opinionated, self-centered, or selfish, as well. As you can imagine, being in a relationship with an egotistic person can have its challenges. If you feel you are dating an egotistic individual, work towards dealing with the egotism in the relationship. It is also important to communicate your needs to your partner, and make sure you are taking care of yourself\n\n## Deal with the egotism in the relationship\n\n1. Have a direct conversation about it. This is important and has a direct effect on your happiness, their happiness, and the success of the relationship. Don't waste time and energy trying indirect ways to “make her change.” It will just come across as manipulative and potentially cause resentment from your partner. Instead have a real, honest, and direct conversation about it. Start by letting her know you need to talk. ”Alice, I think we really need to talk. There's been something that has really be bothering me.”\n\t* Explain what the issue is for you; specific to your relationship. For example, if your partner is selfish or egotistical in conversations and making it about her, you could say, “I feel like when we talk, it isn't really equal. I love hearing about your day, but I'd really like for you to hear about my day too. When we talk, it feels really unevenly focused.”\n\t* Ask for her input: “What do you think?”\n2. Urge the person to grow and mature. One of the great things you get to do in a relationship is to build each other up and watch each other grow. Help your partner grow by growing with him. Instead of focusing just on the person, try shift the focus to the relationship or the both of you working on the same thing. You can try tasks like taking a relationship selfishness checklist test to increase your partner and your awareness of any selfishness in your relationship. Humans are social creatures and tend to unconsciously adopt the goals of those close to us. Just like couples who learn a sport, how to cook, or a new language together, you can learn how to be less selfish and opinionated together. Make sure to celebrate and praise each other for positive changes you are making. The better you both feel about it, the more likely you are to continue to work towards the goal.\n3. Be patient. This may be the most difficult part. If you are with an egotistic person, you may realize that changing these parts of yourself can take time. Much like breaking a bad habit, you may have to be patient with your partner as she works on changing. Additionally, expect some backsliding into previous bad behaviors during this transition time and try not to be too hard on her. One way you can address this is to have a funny thing you do or say if you notice your partner slipping back into her selfish habits. Agree to an action or a phrase during your conversation. If you make it something you both find funny, it can take the pressure off of pointing it out. The \"Cut it out\" hand motion Uncle Joey used in Full House. Playing a funny song such as Toby Keith's \"I wanna talk about me.\" Saying, \"Hold on, I haven't had enough coffee for this conversation yet.\" Pick something that is funny to you and your partner, like an inside joke that only you share.\n4. Boost the person's self-esteem. This may seem like a strange suggestion for an egotist, but often inflated egos and selfishness are rooted in low self-esteem or shame. Think of it as overcompensation. Your partner may have low self esteem causing him to exaggerate and inflate his outward display of what he thinks about himself. It turns out that he may be trying to convince himself of his greatness along with everyone else. Help him boost his self-esteem. Avoid complaining about him or harshly criticizing him as it will only make him feel more threatened. When you are talking to him focus on his strengths and try to draw on the potential of those strengths. Compliment him not just for his looks, but for how he acts and what he does.\n5. Accept that the person may never change. The most difficult part about any interpersonal relationship is when you realize that you have almost zero power to change someone else. People can change, but that change has to come mainly from them. They have to want it. So if you are intent on a relationship with an egotistic person, your first step is to be real with yourself about the likelihood of the other person changing and begin to accept the selfish parts of her personality that you may not agree with. While you cannot change other people, you can help them to change. You can also control how you react to their egotism and the effect you let it have on your life.\n\n\n## Communicate your need\n\n1. Make time to talk about you. Your egotist may tend to talk about themselves frequently and at great lengths. If you feel like your partner does not give you enough space to talk about you, address it. You deserve to have this relationship and this partner be as much of a sounding board as he expects you to be for him. Try addressing it directly, or making it more of a new pattern in your conversations. \"John, I really need to talk to you about something that is bothering me. I know you have things you want to say as well, but I really need someone to listen. Would you be willing to focus on just this problem and help me?”\n\t* Bring up topics more regularly that you are interested it. You may have gotten into the habit of just listening to your partner and letting him control the conversations. Start a new pattern of conversation by interjecting with topics you are interested in or thoughts you are having.\n2. Share your feelings. There is a solid chance that your egotistic partner is going to do or say something that makes you angry or sad at some point, because what you are doing is difficult and can be frustrating. Communication is key in any relationship, especially when you are working through some things. If you are really bothered by a particular action of your partner or by something she said, tell her. Try to add a compliment or a praise in and then tell her what upsets you, carefully and tactfully. \"Jane, I love it when you teach me how to cook. You are really good at it, and I want to learn. It just really hurts me when you tell it to me like I'm a nine year old kid.\" ”I understand you have a very strong opinion about this. Maybe you know more about it than I do, too. I would just really like for you to respect my opinion even if it is different than yours and not laugh at me for sharing it with you.”\n\n\n## Care for yourself\n\n1. Be true to yourself. Be careful not to change who you are in your relationship with an egotist. A selfish person will bring out the giver or the care-taker in you; which could be potentially harmful. Don't feel like you have to change yourself to accommodate him. Resist the urge to stifle who you are or even what you are good at out of fear of how your partner will react. Just as you may have to accept that your partner is selfish, he have to accept that you are going to be just who you are as well. That should just be one more thing he loves about you.\n2. Enjoy other interests. If you find you are the giver in the relationship and you feel that your partner is always taking, then invest some of your energy into other interests to protect yourself from the relationship imbalance. Make sure you are giving yourself and your interests the attention and care you deserve. Take classes or carve out time in your schedule to do things that you enjoy, focusing on self-care and your own needs. You can always put your giving energy into volunteering as well. Try organizations such as Volunteer Match.\n3. Acknowledge your feelings. Even if your partner is trying to change, there are potential pitfalls that come from being in a relationship with an egotist. You may be helping her change, being patient while she works through some things, and trying to boost her self-esteem. Make sure, during this time, you are staying aware of how you feel. There may be some ups and down, and it is important you remain aware of how it is affecting you. Keep track of how happy you are in the relationship and how your day-to-day life is being affected. Notice how drained or exhausted you are feeling and make sure to give yourself the time and attention needed to recover. Try not to let this relationship become all-consuming for your life. Spend time with friends, or work on a hobby or interest that is important to you. Set firm boundaries if she tries to push your buttons or engage you in a fight. You can say something like, \"I'm not going to respond when you're yelling at me like this. I'm going to go in the other room and we can talk again in an hour when we've calmed down.\"\n4. Find a support system. While you are navigating this change together, it is important that you both have support systems you can use as a resource. Use your existing support system or create one for yourself. Focus on people that help you and make you feel good about yourself. They should be people that you trust and feel comfortable with. They may include:\n\t* Friends\n\t* Family\n\t* Religious Community\n\t* Counselors or therapists\n5. Consider leaving the relationship if it is not making you happy. It is not always a healthy idea to stay with an egotist. He may not be able or willing to change in the way you need him to. If he is not willing to work on the relationship then this may continue to make you feel emotionally drained and unappreciated. It may be better for you to leave the relationship and move onto something that's healthier for you.", "score": null} +{"instruction": "Tell me a joke about tomatoes.", "response": "Here is a joke about tomatoes:\n\nWhy did the tomato turn red? It saw the salad dressing.", "score": null} +{"instruction": "What is the best placement for the submit button in a web form?", "response": "Where to put the submit button should be decided in order to meet user expectations, it was best to put the button in the place that users expect to find it in the context of the form or dialogue they are using and with regard to the window size.\nForms tend to be left justified while the browser window can leave a ton of white space to fill up a large monitor (especially in full-screen mode). Since the users' eyes never leave the left portion of the window, we place the button on the bottom left. This is especially important for forms that use the field name above the field, with most fields lying flush left on the form (as opposed to fields to the right of their names).\nSmall Dialogue & Modal Windows are fixed width and tend to be small. Most contain simple phrases or questions, read right to left: having a button on the bottom right feels like both the most progressive position and the final resting place for the eye. Were the modal window large enough to contain a long form, we would probably follow the first principal for forms.\nIn the end, the heuristic is this:\n\n* Large Windows & Forms get the button on the bottom left.\n* Small Windows & Dialogues get the button on the bottom right.\n\nNote the buttons on stackexchange sites:\n\n* Post Your Answer button at the bottom-left of the longer form\n\n* Add Comment button to the right of a small field\n\nFurthermore, with mobile-first responsive being the new law of the land, the button placement varies even more based on context and user expectation. Sometimes, it's in the middle, too!\nWe're now starting to just put buttons on the left for even small forms if they're inline … and more forms are showing up inline through javascript.", "score": 3} +{"instruction": "What was the reason for using VGA in DOOM, and how does it benefit from it?", "response": "DOOM itself doesn’t do anything special to benefit from PCI graphics cards. It runs faster with PCI graphics cards (and VLB, AGP, and PCI Express cards) than with ISA graphics cards because the supporting bus is faster, so reads from and writes to video memory take less time.\nPCI goes to great lengths to preserve backwards compatibility with ISA-based VGA, providing support for “VGA compatible” adapters so that they can appear in memory at the same locations and use the same I/O ports as ISA VGA cards. So accesses to the VGA registers and to the VGA buffer (at 0xA0000) go directly to the main PCI VGA compatible adapter in the system, with no change required in the operating system or programs running on it. (This is the reason why there’s a specific “VGA compatible controller” device type in PCI. Such shenanigans are impossible for other device types in PCI, which is why PCI sound cards have so much trouble providing compatibility with programs written for ISA sound cards.)\nA faster bus and/or faster video memory immediately leads to higher performance in video-intensive programs because software doesn’t need to be careful about how it accesses video memory (except on CGA, and on all platforms with vertical blank synchronisation if it cares about tearing). So ```REP MOVSW``` or ```REP MOVSD``` with no waiting in software, once the program decides to write a frame, is perfectly fine, and will go faster and faster as the underlying hardware improves. On platforms where this can’t work in hardware (e.g. on an 8088 with a VGA card), the hardware takes care of specifics — for example on an 8088 the bus unit will split up 16-bit accesses.\nYour question is specific to DOOM but other DOS games are in a similar situation. Later games tended to rely on VBE (often using UniVBE) to access video modes beyond those provided by VGA, but they mostly didn’t use anything beyond video-mode setup and framebuffer configuration (see also Were any DOS games (or software) known to use VBE/AF?), so improved video speed came mostly from bus speed increases, faster video memory, and speed increases in the cards themselves (which was already a factor in the ISA era, compare most Trident cards to Tseng cards for example).\nFor an excellent explanation of the intricacies of VGA programming and its memory layout, see Fabien Sanglard’s Game Engine Black Book series. The DOOM update loop is shown on page 185 of the DOOM book; it doesn’t use any assembly language (unlike the renderer, see pp. 290 and following), but it does have one perhaps surprising feature given the 32-bit nature of the code: VGA updates are done 16 bits at a time. Section 2.3 of the same book, pp. 59 and following, describes some of the improvements to VGA adapters around the time DOOM was released, in particular the switch to the VESA Local Bus on 486s. The benchmark table on page 287 shows the importance of the bus.", "score": null}