-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_input.jsonl
10 lines (10 loc) · 31.6 KB
/
example_input.jsonl
1
2
3
4
5
6
7
8
9
10
{"text": "One of the aims of philosophy is to think critically about whether there are good reasons for adopting our beliefs. Reasons are considered \"good reasons\" if they are consistent with everyday experience and: It is done, and submitted. You can play \u201cSurvival of the Tastiest\u201d on Android, and on the web. Playing on the web works, but you have to simulate multi-touch for table moving and that can be a bit confusing.\n\nThere\u2019s a lot I\u2019d like to talk about. I\u2019ll go through every topic, insted of making the typical what went right/wrong list.\n\nConcept\n\nWorking over the theme was probably one of the hardest tasks I had to face.\n\nOriginally, I had an idea of what kind of game I wanted to develop, gameplay wise \u2013 something with lots of enemies/actors, simple graphics, maybe set in space, controlled from a top-down view. I was confident I could fit any theme around it.\n\nIn the end, the problem with a theme like \u201cEvolution\u201d in a game is that evolution is unassisted. It happens through several seemingly random mutations over time, with the most apt permutation surviving. This genetic car simulator is, in my opinion, a great example of actual evolution of a species facing a challenge. But is it a game?\n\nIn a game, you need to control something to reach an objective. That control goes against what evolution is supposed to be like. If you allow the user to pick how to evolve something, it\u2019s not evolution anymore \u2013 it\u2019s the equivalent of intelligent design, the fable invented by creationists to combat the very idea of evolution. Being agnostic and a Pastafarian, that\u2019s not something that rubbed me the right way.\n\nHence, my biggest dillema when deciding what to create was not with what I wanted to create, but with what I did not. I didn\u2019t want to create an \u201cintelligent design\u201d simulator and wrongly call it evolution.\n\nThis is a problem, of course, every other contestant also had to face. And judging by the entries submitted, not many managed to work around it. I\u2019d say the only real solution was through the use of artificial selection, somehow. So far, I haven\u2019t seen any entry using this at its core gameplay.\n\nAlas, this is just a fun competition and after a while I decided not to be as strict with the game idea, and allowed myself to pick whatever I thought would work out.\n\nMy initial idea was to create something where humanity tried to evolve to a next level but had some kind of foe trying to stop them from doing so. I kind of had this image of human souls flying in space towards a monolith or a space baby (all based in 2001: A Space Odyssey of course) but I couldn\u2019t think of compelling (read: serious) mechanics for that.\n\nBorgs were my next inspiration, as their whole hypothesis fit pretty well into the evolution theme. But how to make it work? Are you the borg, or fighting the Borg?\n\nThe third and final idea came to me through my girlfriend, who somehow gave me the idea of making something about the evolution of Pasta. The more I thought about it the more it sounded like it would work, so I decided to go with it.\n\nConversations with my inspiring co-worker Roushey (who also created the \u201cMechanical Underdogs\u201d signature logo for my intros) further matured the concept, as it involved into the idea of having individual pieces of pasta flying around and trying to evolve until they became all-powerful. A secondary idea here was that the game would work to explain how the Flying Spaghetti Monster came to exist \u2013 by evolving from a normal dinner table.\n\nSo the idea evolved more or less into this: you are sitting a table. You have your own plate, with is your \u201cbase\u201d. There are 5 other guests at the table, each with their own plate.\n\nYour plate can spawn little pieces of pasta. You do so by \u201cordering\u201d them through a menu. Some pastas are better than others; some are faster, some are stronger. They have varying costs, which are debited from your credits (you start with a number of credits).\n\nOnce spawned, your pastas start flying around. Their instinct is to fly to other plates, in order to conquer them (the objective of the game is having your pasta conquer all the plates on the table). But they are really autonomous, so after being spawned, you have no control over your pasta (think DotA or LoL creeps).\n\nYour pasta doesn\u2019t like other people\u2019s pasta, so if they meet, they shoot sauce at each other until one dies. You get credits for other pastas your own pasta kill.\n\nOnce a pasta is in the vicinity of a plate, it starts conquering it for its team. It takes around 10 seconds for a plate to be conquered; less if more pasta from the same team are around. If pasta from other team are around, though, they get locked down in their attempt, unable to conquer the plate, until one of them die (think Battlefield\u2019s standard \u201cConquest\u201d mode).\n\nYou get points every second for every plate you own.\n\nOver time, the concept also evolved to use an Italian bistro as its main scenario.\n\nCarlos, Carlos\u2019 Bistro\u2019s founder and owner\n\nSetup\n\nNo major changes were made from my work setup. I used FDT and Starling creating an Adobe AIR (ActionScript) project, all tools or frameworks I already had some knowledge with.\n\nOne big change for me was that I livestreamed my work through a twitch.tv account. This was a new thing for me. As recommended by Roushey, I used a program called XSplit and I got to say, it is pretty amazing. It made the livestream pretty effortless and the features are awesome, even for the free version. It was great to have some of my friends watch me, and then interact with them and random people through chat. It was also good knowing that I was also recording a local version of the files, so I could make a timelapse video later.\n\nKnowing the video was being recorded also made me a lot more self-conscious about my computer use, as if someone was watching over my shoulder. It made me realize that sometimes I spend too much time in seemingly inane tasks (I ended up wasting the longest time just to get some text alignment the way I wanted \u2013 it\u2019ll probably drive someone crazy if they watch it) and that I do way too many typos where writing code. I pretty much spend half of the time writing a line and the other half fixing the crazy characters in it.\n\nMy own stream was probably boring to watch since I was coding for the most time. But livestreaming is one of the cool things to do as a spectator too. It was great seeing other people working \u2013 I had a few tabs opened on my second monitor all the time. It\u2019s actually a bit sad, because if I could, I could have spent the whole weekend just watching other people working! But I had to do my own work, so I\u2019d only do it once in a while, when resting for a bit.\n\nDesign\n\nAlthough I wanted some simple, low-fi, high-contrast kind of design, I ended up going with somewhat realistic (vector) art. I think it worked very well, fitting the mood of the game, but I also went overboard.\n\nFor example: to know the state of a plate (who owns it, who\u2019s conquering it and how much time they have left before conquering it, which pasta units are in the queue, etc), you have to look at the plate\u2019s bill.\n\nThe problem I realized when doing some tests is that people never look at the bill! They think it\u2019s some kind of prop, so they never actually read its details.\n\nPlus, if you\u2019re zoomed out too much, you can\u2019t actually read it, so it\u2019s hard to know what\u2019s going on with the game until you zoom in to the area of a specific plate.\n\nOne other solution that didn\u2019t turn out to be as perfect as I thought was how to indicate who a plate base belongs to. In the game, that\u2019s indicated by the plate\u2019s decoration \u2013 its color denotes the team owner. But it\u2019s something that fits so well into the design that people never realized it, until they were told about it.\n\nIn the end, the idea of going with a full physical metaphor is one that should be done with care. Things that are very important risk becoming background noise, unless the player knows its importance.\n\nOriginally, I wanted to avoid any kind of heads-up display in my game. In the end, I ended up adding it at the bottom to indicate your credits and bases owned, as well as the hideous out-of-place-and-still-not-obvious \u201cCall Waiter\u201d button. But in hindsight, I should have gone with a simple HUD from the start, especially one that indicated each team\u2019s colors and general state of the game without the need for zooming in and out.\n\nDevelopment\n\nDevelopment went fast. But not fast enough.\n\nEven though I worked around 32+ hours for this Ludum Dare, the biggest problem I had to face in the end was overscoping. I had too much planned, and couldn\u2019t get it all done.\n\nContent-wise, I had several kinds of pasta planned (Wikipedia is just amazing in that regard), split into several different groups, from small Pastina to huge Pasta al forno. But because of time constraints, I ended up scratching most of them, and ended up with 5 different types of very small pasta \u2013 barely something to start when talking about the evolution of Pasta.\n\nPastas used in the game. Unfortunately, the macs where never used\n\nWhich is one of the saddest things about the project, really. It had the framework and the features to allow an endless number of elements in there, but I just didn\u2019t have time to draw the rest of the assets needed (something I loved to do, by the way).\n\nOther non-obvious features had to be dropped, too. For example, when ordering some pasta, you were supposed to select what kind of sauce you\u2019d like with your pasta, each with different attributes. Bolognese, for example, is very strong, but inaccurate; Pesto is very accurate and has great range, but it\u2019s weaker; and my favorite, Vodka, would triggers 10% loss of speed on the pasta hit by it.\n\nThe code for that is mostly in there. But in the end, I didn\u2019t have time to implement the sauce selection interface; all pasta ended up using bolognese sauce.\n\nTo-do list: lots of things were not done\n\nActual programming also took a toll in the development time. Having been programming for a while, I like to believe I got to a point where I know how to make things right, but at the expense of forgetting how to do things wrong in a seemingly good way. What I mean is that I had to take a lot of shortcuts in my code to save time (e.g. a lot of singletons references for cross-communication rather than events or observers, all-encompassing check loops, not fast enough) that left a very sour taste in my mouth. While I know I used to do those a few years ago and survive, I almost cannot accept the state my code is in right now.\n\nAt the same time, I do know it was the right thing to do given the timeframe.\n\nOne small thing that had some impact was using a somewhat new platform for me. That\u2019s Starling, the accelerated graphics framework I used in Flash. I had tested it before and I knew how to use it well \u2013 the API is very similar to Flash itself. However, there were some small details that had some impact during development, making me feel somewhat uneasy the whole time I was writing the game. It was, again, the right thing to do, but I should have used Starling more deeply before (which is the conundrum: I used it for Ludum Dare just so I could learn more about it).\n\nArgument and user experience\n\nOne final aspect of the game that I learned is that making the game obvious for your players goes a long way into making it fun. If you have to spend the longest time explaining things, your game is doing something wrong.\n\nAnd that\u2019s exactly the problem Survival of the Tastiest ultimately faced. It\u2019s very hard for people to understand what\u2019s going on with the game, why, and how. I did have some introductory text at the beginning, but that was a last-minute thing. More importantly, I should have had a better interface or simplified the whole concept so it would be easier for people to understand.\n\nThat doesn\u2019t mean the game itself should be simple. It just means that the experience and interface should be approachable and understandable.\n\nConclusion\n\nI\u2019m extremely happy with what I\u2019ve done and, especially given that this was my first Ludum Dare. However, I feel like I\u2019ve learned a lot of what not to do.\n\nThe biggest problem is overscoping. Like Eric Decker said, the biggest lesson we can learn with this is probably with scoping \u2013 deciding what to do beforehand in a way you can complete it without having to rush and do something half-assed.\n\nI\u2019m sure I will do more Ludum Dares in the future. But if there are any lessons I can take of it, they are to make it simple, to use frameworks and platforms you already have some absolute experience with (otherwise you\u2019ll spend too much time trying to solve easy questions), and to scope for a game that you can complete in one day only (that way, you can actually take two days and make it cool).\n\nThis entry was posted\non Monday, August 27th, 2012 at 10:54 am and is filed under LD #24.\nYou can follow any responses to this entry through the RSS 2.0 feed.\nYou can skip to the end and leave a response. Pinging is currently not allowed.\n\n3 Responses to \u201c\u201cSurvival of the Tastiest\u201d Post-mortem\u201d\n\ndarn it , knowing that I missed your livestream makes me a sad panda ;( but more to the point, the game is \u2026 well for a startup its original to say the least ;D it has some really neat ideas and more importantly its designed arround touch screens whitch by the looks of the submission is something rare ;o or that could be just me and my short memory -_-! awesum game, love et <3", "meta": {"pile_set_name": "Pile-CC"}}
{"text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<segment>\r\n <name>PD1</name>\r\n <description>Patient Additional Demographic</description>\r\n <elements>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.1</name>\r\n <description>Living Dependency</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.2</name>\r\n <description>Living Arrangement</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.3</name>\r\n <description>Patient Primary Facility</description>\r\n <datatype>XON</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.4</name>\r\n <description>Patient Primary Care Provider Name & ID No.</description>\r\n <datatype>XCN</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.5</name>\r\n <description>Student Indicator</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.6</name>\r\n <description>Handicap</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.7</name>\r\n <description>Living Will Code</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.8</name>\r\n <description>Organ Donor Code</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.9</name>\r\n <description>Separate Bill</description>\r\n <datatype>ID</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.10</name>\r\n <description>Duplicate Patient</description>\r\n <datatype>CX</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.11</name>\r\n <description>Publicity Code</description>\r\n <datatype>CE</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.12</name>\r\n <description>Protection Indicator</description>\r\n <datatype>ID</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.13</name>\r\n <description>Protection Indicator Effective Date</description>\r\n <datatype>DT</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.14</name>\r\n <description>Place of Worship</description>\r\n <datatype>XON</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.15</name>\r\n <description>Advance Directive Code</description>\r\n <datatype>CE</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.16</name>\r\n <description>Immunization Registry Status</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.17</name>\r\n <description>Immunization Registry Status Effective Date</description>\r\n <datatype>DT</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.18</name>\r\n <description>Publicity Code Effective Date</description>\r\n <datatype>DT</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.19</name>\r\n <description>Military Branch</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.20</name>\r\n <description>Military Rank/Grade</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n <field minOccurs=\"0\" maxOccurs=\"0\">\r\n <name>PD1.21</name>\r\n <description>Military Status</description>\r\n <datatype>IS</datatype>\r\n </field>\r\n </elements>\r\n</segment>\r\n", "meta": {"pile_set_name": "Github"}}
{"text": "Article content\n\nHuman behavior has a tremendous impact on investing \u2014 more so than most realize \u2014 and one of our biggest weaknesses is the tendency to constantly compare and contrast ourselves to others.\n\n[np_storybar title=\u201dFollow Financial Post\u201d link=\u201d\u201d]\n\nWe apologize, but this video has failed to load.\n\ntap here to see other videos from our team. Try refreshing your browser, or Three signs bubbles are brewing again in the market \u2014 and one of them has wheels Back to video\n\n\u2022 Twitter\n\n\u2022 Facebook\n\n[/np_storybar]\n\nFor example, a 1995 study by the Harvard School of Public Health indicated that people will forgo a stronger income scenario in favour of a weaker one as long as it meant earning more than their neighbours.\n\nUnfortunately, many in the investment world are keenly aware of this and will structure their marketing efforts accordingly. As a result, you have a compounding of momentum or trends in the market as investors buy at or near market tops for fear of not doing as well as or better than others.\n\nFor the same reason, investors piled into technology stocks in 2000 with only the promise of earnings in some distant future, and into housing-related investments in 2007 that were backstopped by very low incomes.", "meta": {"pile_set_name": "OpenWebText2"}}
{"text": "Topic: reinvent midnight madness\n\nAmazon announced a new service at the AWS re:Invent Midnight Madness event. Amazon Sumerian is a solution that aims to make it easier for developers to build virtual reality, augmented reality, and 3D applications. It features a user friendly editor, which can be used to drag and drop 3D objects and characters into scenes. Amazon \u2026 continue reading", "meta": {"pile_set_name": "Pile-CC"}}
{"text": "About Grand Slam Fishing Charters\n\nAs a family owned business we know how important it is that your trip becomes the best memory of your vacation, we are proud of our islands, our waters and our crew and we are desperate show you the best possible time during your stay. We can not guarantee fish every time but we can guarantee you a great time! The biggest perk of our job is seeing so many of our customers become close friends\u201d\n\nA Great Way To Make New Friends!\n\nOur dockside parties are a great way to make new friends! Everyone is welcome!\n\nAndrea runs the whole operation, from discussing your initial needs by phone or email through to ensuring you have sufficient potato chips. Andrea has worked as concierge for many International resorts and fully understands the high expectations of international visitors.\n\n\u201cLife\u2019s A Game But Fishing Is Serious!\u201d\n\nUnlike many tour operators, our crew are highly valued and have been with us since day 1. Each have their own personalities and sense of humour and understand the importance of making your day perfect, for us the saying is true, \u201cLifes a game but fishing is serious!\u201d\n\nTRIP ADVISOR\n\nPlan Your Trip!\n\nAJ and Earl were excellent. My son and I did a half day deep sea trip and though the fish weren\u2019t too cooperative, they did everything to try to get something to bite. Very knowledgeable about the waters and my son was able to land a nice barracuda. The next day my wife, daughter, son [\u2026]\n\nWhen we arrived the crew made us feel right at home. They made us feel comfortable and answered all questions. The crew worked hard all day to put us on fish. We were successful in landing a nice size Wahoo even though the weather did not cooperate the entire day was enjoyable. I highly recommend [\u2026]", "meta": {"pile_set_name": "Pile-CC"}}
{"text": "Q:\n\nWhy was Mundungus banned from the Hog's Head?\n\nIn Order of the Phoenix while the trio were in the Hogs Head for the first time plotting the start of Dumbledore's Army, it transpires that ol' Dung was lurking in the pub in a disguise, having been banned 20 years previously according to Sirius. \nFirstly, why was he banned? this could possibly be the tight spot that Albus had helped Dung with in the first place that made him loyal to Albus. \nAnd secondly, how is it that he is then speaking to Aberforth in Halfblood Prince? (assuming the ban was for something rather unforgivable, 20 years is a long time?) \nThey both could have been in the Order by then, but unlikely given Aberforth's attitude in Deathly Hallows once the trio arrive in Hogsmeade looking for the tiara. We learn now that a lot of trafficking goes on through the Hogs Head so maybe Dung was trading with Aberforth, Sirius' mirror and various other Black artifacts, he just was not allowed in the pub. \nAnyone with something in canon or more plausible?\n\nA:\n\nwhy was he banned?\nI'm not able to find any canon data on that, either book text search or interviews transcripts.\n\nhow is it that he is then speaking to Aberforth in Halfblood Prince?\nIn HBP, he's speaking to Aberforth, NOT being inside Hog's Head. The topic was selling stuff he stole from Sirius' place:\n\nNikki: How did sirius twoway mirror end up with aberforth or is it another twoway mirror?\n J.K. Rowling: You see Aberforth meeting Mundungus in Hogsmeade. That was the occasion on which Dung, who had taken Sirius\u2019s mirror from Grimmauld Place, sold it to Aberforth.\n (src: J.K. Rowling Interview / The Deathly Hallows Web Chat / July 2007)\n\nAs a note - this was important since one of the things sold was the 2-way mirror that Harry used to request help when they were imprisoned at Malfoy's in DH.\nSo, he was banned from the pub (probably, to avoid causing Aberforth's establishment further trouble), but doesn't mean Aberforth won't talk/do business with him otherwise.\n\n", "meta": {"pile_set_name": "StackExchange"}}
{"text": "Working Women, Special Provision and the Debate on Equality\n\nThere has been considerable coverage in the media recently about the possibility of offering women in employment paid leave from work during their menstrual period. This has generated a broad range of responses relating to long-standing discussions about \u2018equality\u2019 and \u2018difference\u2019: is women\u2019s equality best achieved by treating them the same as men or by making provisions that recognise their differences in terms of physiological constitution and biological functions?\n\nIf the UK introduces such an initiative, it would not be the first country in the contemporary world to do so. Many countries in Asia already make the provision and Russia debated introducing a law in 2013. The policy also has a significant historical precedent. A whole chapter of my book Women Workers in the Soviet Interwar Economy: From \u2018Protection\u2019 to \u2018Equality\u2019 (Macmillan, 1999), based on extensive research conducted for my PhD, is devoted to \u2018Provision for \u201cMenstrual Leave\u201d\u2019.\n\nIn the 1920s, scientific researchers and labour hygiene specialists in the Soviet Union conducted extensive investigations into the impact of menstruation on women\u2019s capacity to work in manual and industrial jobs requiring a significant degree of physical labour. Their recommendations led to two decrees being issued that targeted specific categories of women workers:\n\nDecree \u2018On the release from work during menstruation of machinists and iron press workers working on cutting machines without mechanised gears in the garment industry\u2019, 11 January 1922\n\nDecree \u2018On the working conditions of women tractor and lorry drivers\u2019, 9 May 1931\n\nThese decrees arose from research that suggested, amongst other things, that inadequate seating at machines and on tractors resulted in congestion and tension in the abdomen that was exacerbated during menstruation. In practice, the decrees did not provide for regular absence from work. Women seeking to benefit from the provision had to provide a doctor\u2019s note, similar to the usual requirements for sick leave.\n\nThe official research into the impact of menstruation on women\u2019s capacity to work and the application of the decrees in practice raised a number of issues on both sides of the argument. I offer only a summary of the contemporary research findings and observer commentary here:\n\nFor the provision:\n\u2022 employers have a responsibility to protect the health of their workers and unhealthy, poor and inadequate working environments can have a detrimental impact on women\u2019s reproductive health\n\u2022 women\u2019s labour productivity and output would rise as a result\n\u2022 it is essential to protect the professionalism of certain categories of workers: the debates here centred on performance artists and female theatrical employees engaged in highly physical and intensely emotional work\n\u2022 heavy physical labour and strenuous exercise can lead to disruptions of the menstrual cycle\n\u2022 women\u2019s physical and intellectual capacities are reduced during menstruation; women lose muscular strength and powers of concentration\n\u2022 women\u2019s biological constitution and reproductive functions require specific recognition in law\n\nAgainst the provision:\n\u2022 employers are less likely to appoint women if they are guaranteed paid time off work during menstruation\n\u2022 (often from male workers, who viewed the employment of women as competition) women should not be employed in jobs for which they lack the physical strength and mental capacity\n\u2022 if necessary, women could be transferred to different tasks involving easier work during menstruation\n\u2022 the provision would be open to uneven application and abuse\n\u2022 women cannot expect to be considered equal with men if they are given special treatment in the law\n\nIt is worth noting also that the various research projects often revealed that the vast majority of women reported no regular problems or abnormalities with menstruation, and that men commonly reported higher levels of sickness than their female colleagues. Many of the problems experienced by women in the workplace could be mitigated by the introduction of improvements to their physical working conditions (not sitting down or standing up in the same position for long periods of time) or by the simple introduction of very short breaks that would allow women to walk around and get some exercise.\n\nDebates in the UK, on the TV and in the press, are unlikely to reach a consensus on this issue. What do you think?", "meta": {"pile_set_name": "Pile-CC"}}
{"text": "Q:\n\nUsing M-Test to show you can differentiate term by term.\n\nI have the series $\\sum_{n=1}^\\infty \\frac{\\lambda^{n-1}n}{n!}=\\sum_{n=1}^\\infty \\frac{d}{d\\lambda}\\big(\\frac{\\lambda^n}{n!} \\big)$\nand I would like it to be $\\frac{d}{d\\lambda}\\big(\\sum_{n=1}^\\infty \\frac{\\lambda^n}{n!})$.\nI'm trying to show that this sequence of functions converges uniformly on $(0,\\infty)$ and so I'm trying the M-Test. So I need to find bounds $M_n$ for $\\big|\\frac{\\lambda^n}{n!}\\big|$, such that $\\sum M_n$ converges.\nThanks. This is in order to show that I can actually do the differentiation term by term.\n\nA:\n\nYou deal with a power series with radius of convergence $R=+\\infty$ so you can differentiate term by term.\n\n", "meta": {"pile_set_name": "StackExchange"}}
{"text": "Jeanette Sawyer Cohen, PhD, clinical assistant professor of psychology in pediatrics at Weill Cornell Medical College in New York City\n\nPediatric Psychologist\n\nHow to Teach Independence?\n\nHow can I teach my toddler to do things independently?\n\nYou\u2019ve probably become more patient since you started this whole parenthood thing. And you\u2019re going to have to practice patience even more as your toddler learns to become more independent.\n\nFor example, she tells you she can\u2019t finish the puzzle she\u2019s doing. Instead of jumping right in and telling her which piece goes where, you\u2019re going to have to tell her you\u2019ll help a little. Go ahead and help, but let her do a lot of it herself, and make sure she\u2019s the one to finish the job. That will give her a sense of accomplishment and the confidence to try again next time.\n\nRemember that children each progress at their own rate. It\u2019s not always fast \u2014 and there will be setbacks along the way. But the more you can allow them to do on their own without stepping in, the more they\u2019ll be likely to try for themselves again and again.", "meta": {"pile_set_name": "Pile-CC"}}
{"text": "Q:\n\nWhat's the simplest way to pass a file as an argument in a simple shell script?\n\nThe following works fine on Mac OS X:\n#!/bin/bash\nR CMD Sweave myfile.Rnw\npdflatex myfile.tex\nopen myfile.pdf\n\nNow, I realize that these 3 lines of code are really helpful for my work \u2013 independently of some particular file. Thus I'd like to use the file as an argument. I know how to use an argument itself but have problems splitting the input after the string and concat it afterwards. If I was able to split the filename argument like: \nsplit($1,\".\") # return some array or list (\"name\",\"ext\")\n\nOr is there a simpler, completely different way than using Python within a shell script?\nThx in advance for any general advice and examples as well !\n\nA:\n\nI do all my shell scripting in python.\nIt's easier to read, more powerful and works on windows as well.\n\nA:\n\nYou could just take the base name as an argument and use $1.Rnw, $1.tex, and $1.pdf. Python is great for shell scripts, but I usually stick with bash for things less than 10 lines long.\nIf you really want to take a file name, you can use cut -f 1 -d '.' $1.\n\n", "meta": {"pile_set_name": "StackExchange"}}