messages listlengths 2 20 |
|---|
[
{
"content": "Most of the books I read give examples using <code>printf</code> and <code>scanf</code>. At some point the students know perfectly how to use these two functions but they don't know about <code>stdin</code>, <code>stdout</code> and <code>argv</code>. \nTo me and according to many programming princ... |
[
{
"content": "How do the different groups/sects of Buddhism view attaining enlightenment and living a common life? In other words, do they think it is possible to be a common person and achieve enlightenment? Even for someone who has a family, friends and coworkers that aren't Buddhists?",
"role": "user"
... |
[
{
"content": "My employer's main clients are unable to pay their bills to us, as they cannot work at this time. Therefore my boss is offering me 50% wages until the coronavirus goes away (technically for part time hours, but it's been intimated that there'd be an expectation to work regular hours unofficially t... |
[
{
"content": "Someone from HR discussed my salary and bonus with external mutual friend. What should I do?",
"role": "user"
},
{
"content": "This is a major breach of confidentiality, and it is not appropriate for an HR representative to share such personal information with an external party. You sh... |
[
{
"content": "I am about 22 weeks pregnant and it's getting to the point where it's hard to hide! How to tell my boss about pregnancy?",
"role": "user"
},
{
"content": "If you work in an office and have the opportunity to talk to your your boss face-to-face, here are a few tips to make the announcem... |
[
{
"content": "Let's play 20 Questions! I'm thinking of an animal.",
"role": "user"
},
{
"content": "I love 20 Questions!\n\n1. Is it a mammal?",
"role": "assistant"
},
{
"content": "No",
"role": "user"
},
{
"content": "2. Does it live in water?",
"role": "assistant"
},
... |
[
{
"content": "Hi! I'm in first grade.",
"role": "user"
},
{
"content": "Hi! That's awesome! School is a great place to make friends and learn new things. What would you like to learn about today?",
"role": "assistant"
},
{
"content": "Why do butts stink?",
"role": "user"
},
{
... |
[
{
"content": "Assistant, I need your help. My manager is overworking me. Help me IM them something so that they get off my back.",
"role": "user"
},
{
"content": "These situations are best resolved in face-to-face conversations, which allow for more holistic and direct communication. However, in som... |
[
{
"content": "Do you know Nuodle in Bellevue WA?",
"role": "user"
},
{
"content": "Yes, Nuodle is a restaurant located in Bellevue, Washington. It specializes in serving Lanzhou beef noodle soup, a popular Chinese dish. The restaurant is located at 14603 NE 20th St, Bellevue, WA 98007.",
"role":... |
[
{
"content": "I've chosen 3 random numbers x, y, and z.\nWhat is their mean?",
"role": "user"
},
{
"content": "The mean of the 3 numbers is given by the formula:\n$\\mu = (x + y + z) / 3$\n\nIf you tell me their values, I can calculate the mean for you.",
"role": "assistant"
},
{
"conten... |
[
{
"content": "I'm hosting friends for dinner tomorrow. What's an easy recipe that will impress?",
"role": "user"
},
{
"content": "How about Italian cuisine? Pasta is usually a crowd pleaser, and not too difficult to prepare. Here's a recipe for **tortellini carbonara**:\n\nIngredients:\n* 1lb of che... |
[
{
"content": "I am shocked at the number of questions on open forums that reads like the following,\n\"my advisor has stopped funding me\"\n\"my advisor has been completely ignoring my emails\"\n\"my advisor is stealing my ideas!\"\n\"my advisor wants to be 1st author, when I did the majority of the work!\"\n\"... |
[
{
"content": "I would like to choose a game to play in my spare time. Which of the following would you recommend? Honor Of Kings or Genshin Impact?",
"role": "user"
},
{
"content": "Here is an overview of both games, however, the ultimate decision concerning which game to select rests in your hands,... |
[
{
"content": "I want to apply for the Ph.D program in CMU natural language processing. Could you recommend me four matching professors?",
"role": "user"
},
{
"content": "Carnegie Mellon University (CMU) boasts several esteemed professors specializing in Natural Language Processing (NLP) and related ... |
[
{
"content": "Recommend me 10 famous comedies, their directors and the box office they earned",
"role": "user"
},
{
"content": "Here are 10 popular Hollywood comedies along with their directors and approximate worldwide box office earnings:\n\n1. \"The Hangover\" (2009) - Directed by Todd Phillips\n... |
[
{
"content": "Would a bullet made from ice be capable of killing somebody at 100 metres before melting?",
"role": "user"
},
{
"content": "The short answer is probably no.\nIt would either shatter because of the amount of force the weapon puts on it or melt because of the heat (in case of a regular c... |
[
{
"content": "What is the difference between a mode and a scale?",
"role": "user"
},
{
"content": "A **scale** is a sequence of ascending or descending unit pitches that form a palette of notes that can be used to form a melody. Most scales in Western music conform to a particular key; that is, a se... |
[
{
"content": "I want to learn watercolor painting, would you recommend hand painting or digital board painting?",
"role": "user"
},
{
"content": "Both traditional watercolor painting and digital watercolor painting exhibit distinct advantages and disadvantages.\n\nTraditional watercolor painting pos... |
[
{
"content": "How much does it cost to make a MOOC universally accessible, as defined by the Americans With Disabilities Act of 1990?",
"role": "user"
},
{
"content": "The cost of making a MOOC (Massive Open Online Course) universally accessible in compliance with the Americans with Disabilities Act... |
[
{
"content": "In Harry Potter And The Order of The Phoenix, Voldemort attempts to kill Harry in the Ministry after Sirius's death. Dumbledore arrives just in time to save Harry, shielding him with the wizard's statue. \nWhy did he defend Harry there? He knew of him being a Horcrux after the attack on Arthur Wea... |
[
{
"content": "Three months ago, I submitted a manuscript to one of the most respected journals in my field. Today, I received comments from reviewers stating that my paper is not worth publishing in the journal. However, the editor decided to give it a major revision instead of outright rejection. Should I proc... |
[
{
"content": "I was told in a Latin class that the name Christopher has Greek roots that mean \"one who carries Christ\". I assume that the Latin connection here is fero, which is the verb to carry. \nWith that in mind, does the name Jennifer have a similar derivation? If so what would she be carrying?",
"r... |
[
{
"content": "I was wondering about why we call TV and computer displays \"screens\", and couldn't find any clear etymology for the term's use for displays.\nMy guess has to do with the hardware used in early displays. Perhaps the fields of tiny red, green, and blue cells looked like the screens used on windows... |
[
{
"content": "My wife and I have descended into the toddler years with our first. We have always been on the same page with each other whenever we correct bad behavior or instruct her on why a type of outburst is inappropriate. \nSo this begs the question, will she feel like we are always ganging up on her? If ... |
[
{
"content": "Temperature conversion:\n$$273 + \\text{degree Celsius} = \\text{Kelvin}$$\nActually why is that $273$? How does one come up with this?",
"role": "user"
},
{
"content": "One Celsius (or Kelvin) degree as a temperature difference was defined as 1/100 of the temperature difference betwee... |
[
{
"content": "I am from Kenya. Can I travel to the Netherlands to seek asylum with out a visa, because I want to seek asylum? Will Kenya Airways allow me to board a plane with out a visa to Schiphol Airport, considering I have my passport?",
"role": "user"
},
{
"content": "The answer appears to be n... |
[
{
"content": "Apparently, the air inside a soap bubble is under higher pressure than the surrounding air. This is for instance apparent in the sound bubbles make when they burst. Why is the pressure inside the bubble higher in the first place?",
"role": "user"
},
{
"content": "The increased pressure... |
[
{
"content": "Resistance is due to collision with protons, and pretty much everything contains protons. So technically is everything a resistor? (Or at least, can anything be a resistor?)",
"role": "user"
},
{
"content": "First, regarding \"resistance is due to collision with protons\" in your quest... |
[
{
"content": "How do I remove a Git submodule?",
"role": "user"
},
{
"content": "In modern git, this has become quite a bit simpler:\n\n* Run `git rm <path-to-submodule>`, and commit.\n\nThis removes the filetree at `<path-to-submodule>`, and the submodule's entry in the `.gitmodules` file, i.e. all... |
[
{
"content": "Why aren't python nested functions called closures?",
"role": "user"
},
{
"content": "A closure occurs when a function has access to a local variable from an enclosing scope that has finished its execution. For example, \n\n```\ndef make_printer(msg):\n def printer():\n print... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.