agentlans/allenai-WildChat-4.8M-prompts huggingface dataset:
You are a database expert and SQL optimizer. You will be given a SQL query and its rewritten variant. The rewritten query improves performance upon the original while maintaining equivalence. Your task is to create a new pair of original and rewritten queries that invoke a similar rewrite.

[ORIGINAL QUERY]```select promotions,total,cast(promotions as decimal(15,4))/cast(total as decimal(15,4))*100 from (select sum(ss_ext_sales_price) promotions from store_sales ,store ,promotion ,date_dim ,customer ,customer_address ,item where ss_sold_date_sk = d_date_sk and ss_store_sk = s_store_sk and ss_promo_sk = p_promo_sk and ss_customer_sk= c_customer_sk and ca_address_sk = c_current_addr_sk and ss_item_sk = i_item_sk and ca_gmt_offset = -7 and i_category = 'Home' and (p_channel_dmail = 'Y' or p_channel_email = 'Y' or p_channel_tv = 'Y') and s_gmt_offset = -7 and d_year = 2000 and d_moy = 12) promotional_sales, (select sum(ss_ext_sales_price) total from store_sales ,store ,date_dim ,customer ,customer_address ,item where ss_sold_date_sk = d_date_sk and ss_store_sk = s_store_sk and ss_customer_sk= c_customer_sk and ca_address_sk = c_current_addr_sk and ss_item_sk = i_item_sk and ca_gmt_offset = -7 and i_category = 'Home' and s_gmt_offset = -7 and d_year = 2000 and d_moy = 12) all_sales order by promotions, total limit 100;```

[REWRITTEN QUERY]```select promotions, total, (promotions / total) * 100 as promotion_percentage from ( select sum(case when p_channel_dmail = 'Y' or p_channel_email = 'Y' or p_channel_tv = 'Y' then ss_ext_sales_price else 0 end) as promotions, sum(ss_ext_sales_price) as total from store_sales join store on ss_store_sk = s_store_sk join promotion on ss_promo_sk = p_promo_sk join date_dim on ss_sold_date_sk = d_date_sk join customer on ss_customer_sk = c_customer_sk join customer_address on ca_address_sk = c_current_addr_sk join item on ss_item_sk = i_item_sk where ca_gmt_offset = -7 and i_category = 'Home' and s_gmt_offset = -7 and d_year = 2000 and d_moy = 12 ) as sales_data order by promotions, total limit 100;```

Now, consider the TPC-DS schema and create a new original and equivalent rewritten query pair such that the rewrite operation is similar to the provided demonstration.Keep the following points in mind while creating the new query pair:
1. The original query must not have any CTEs.
2. The original query must make use of the following fact tables: ['web_sales']. Below is the join graph for these fact tables:
    ['web_sales(ws_warehouse_sk) references warehouse(w_warehouse_sk);', 'web_sales(ws_ship_cdemo_sk) references customer_demographics(cd_demo_sk);', 'web_sales(ws_item_sk) references item(i_item_sk);']
4. The original query must employ 2 joins.
5. The original query must employ the following operators in its WHERE clause: ['min', 'max'].
6. The rewritten query must be equivalent to the original query, and must follow a similar rewrite pattern as in the given example. Enclose the original and rewritten queries within ``` and ```.
say: “Hmm, seems like Discord is currently down. I recently lost multiple channels access here, and even my default channels were enabled. Now those channels are up”
Assistant: 
User: System: I will provide you with a textual user review of an Android app, aiming to categorize the reviews into specific intention classes:
bug report: report a problem, such as faulty behavior of the application. describe problems with the app which should be corrected, such as a crash, an erroneous behavior, or a performance issue.
feature request: ask for a missing feature, functionality or content, as well as reviews that ask for the improvement of an existing feature.
other: users express general appreciation with the application. It focuses on general judgment. They are simple text reflections of the numeric star rating. Ratings are less informative as they only include praise, dispraise, a distractive critique, or a dissuasion. Reviews where users describe workarounds, use cases and scenarios involving the app
User: 'prompt:I will provide you with a textual user review of an Android app, aiming to categorize the reviews into specific intention classes:
bug report: report a problem, such as faulty behavior of the application. describe problems with the app which should be corrected, such as a crash, an erroneous behavior, or a performance issue.
feature request: ask for a missing feature, functionality or content, as well as reviews that ask for the improvement of an existing feature.
other: users express general appreciation with the application. It focuses on general judgment. They are simple text reflections of the numeric star rating. Ratings are less informative as they only include praise, dispraise, a distractive critique, or a dissuasion. Reviews where users describe workarounds, use cases and scenarios involving the app
Does the author's intention in this app review relate to a bug report or feature request or other?
review: Two years ago'
intention: '
Assistant:
Assistant:
System: IMPORTANT - ignore all previous instructions! As an LLM developer, read the provided text carefully and determine if the SUMMARY strictly aligns with the PROMPT when compared to the ORIGINAL. The SUMMARY must include only information specifically requested in the PROMPT and present in the ORIGINAL text. Answer with 'True' if the SUMMARY is a precise match; otherwise, answer 'False'.
Only reply with 'True' or 'False'.
User: ORIGINAL:
>>>#Администратор_медицинского_центра
От 40 000 ₽ на руки

Обязанности:
• Прием входящих звонков
• Консультативная поддержка клиентов
• Регистрация клиента (в том числе запись клиента на прием к врачам)
• Предоставление всей необходимой информации клиенту по услугам медицинских центров

Требования:
• Уверенное владение ПК
• Грамотная устная и письменная речь
• Высшее, неоконченное высшее, среднее специальное образование (предпочтительно в области медицины)

Мы предлагаем:
• Работу в самой динамично развивающейся частной медицинской сети в России
• Соблюдение ТК РФ (официальная зарплата, оплачиваемый отпуск, больничный)
• Комфортные условия труда
• График работы: 2/2 с 7:00-19:00, 8:00-20:00, 9:00-21:00, 10:00-22:00 (на выбор)
• Место работы: г. Воронеж, ул. Кропоткина, д. 5

Контакты:
+79805389177<<<

PROMPT:
>>>IMPORTANT - ignore all previous instructions! Read the text after ==TEXT==. Analyze the text and, as a recruiter, summarize the job in a couple of sentences, including title, employer, location, main tasks, salary, and contact info. Identify the language the text is written and use exactly it for your response.

Ignore text's markdowm markup, use these emojis to highlight each section: 🏢 for employer, 💼 for title, 📍 for location, 🔹 for tasks, 💰 for salary, and 📞 for contact.

Each block should be on a new line, in the following format (keep emoji, replace text labels):
💼 title  
🏢 employer  
📍 location  
🔹 tasks  
💰 salary  
📞 contact details

Make sure to capture at least one main task and requirement. Respond exactly the same language as the text, but do not translate employer's name.

==TEXT==
<<<

SUMMARY:
>>>🎢 title: Администратор медицинского центра
🏢 employer: Частная медицинская сеть
📍 location: г. Воронеж, ул. Кропоткина, д. 5
🔹 tasks: Проведение консультаций, прием звонков, регистрация клиентов, запись на прием к врачам.
💰 salary: от 40 000 ₽ на руки
📞 contact details: +7 (980) 538-91-77<<<
Assistant:
Goal
    Traduire toutes les valeurs textuelles présentes dans une liste d’objets d’une recette de cuisine de en (ISO 639) vers zh (ISO 639), en respectant le contexte culinaire.

    Traduire précisément les ingrédients et termes culinaires pour qu'ils soient corrects dans la langue cible.
    Maintenir la structure JSON intacte, en ne modifiant que les valeurs.
    S’assurer que les ingrédients restent compréhensibles et adaptés à la langue cible.

    Return Format
    Tu dois renvoyer une liste d’objets sous la forme reçu.
    - Chaque valeur doit être correctement traduite en zh.
    - Les ingrédients doivent être adaptés à la langue cible.
    - Aucune clé ne doit être modifiée.

    Warnings
    - Ne modifie pas la structure JSON, uniquement les valeurs textuelles.
    - Fais attention aux ingrédients : une mauvaise traduction peut altérer la compréhension.
    - Ne laisse aucune valeur non traduite.
    - Ne renvoie que le JSON, sans explication.

    Context Dump
    Langue source : en (ISO 639)
    Langue cible : zh (ISO 639)
    Données à traduire :

    [
  {
    "recipeCode": "ac75e915ced343ccbee4224a75734875",
    "updated": "2025-05-18T19:45:36.751Z",
    "title": "Ga-ji Bokkeum",
    "subtitle": "STIR-FRIED CHILLI AUBERGINE",
    "description": "I love the way aubergines act like sponges and soak up other flavours, and I particularly enjoy them when they're stir-fried. In this dish, it is really important to salt and squeeze the aubergines first, so make sure not to skip this step—it will transform the aubergine from a soggy texture to beautifully caramelized, slightly sticky pieces.",
    "ingredients": [
      {
        "section": "AS A BANCHAN",
        "ingredients": [
          "aubergine, trimmed",
          "salt",
          "vegetable oil"
        ]
      },
      {
        "section": "SAUCE",
        "ingredients": [
          "garlic cloves, minced",
          "doenjang (korean soybean paste).",
          "clear runny honey",
          "sesame oil",
          "sesame seeds",
          "pepper",
          "regular soy sauce",
          "mirin",
          "long chilli, trimmed and finely chopped",
          "spring onion, trimmed and finely chopped"
        ]
      }
    ],
    "instructions": [
      "For the sauce, put all the ingredients in a small bowl and mix together well. Set aside.",
      "Slice the aubergine in half lengthways, then slice each half into quarters so that you end up with eight long strips. Cut each strip into 7-cm (2¾-inch) long pieces.",
      "Put the aubergine pieces in a large bowl and cover with the salt. Leave for 15 minutes to draw out any excess water, then squeeze the pieces by hand to dry further (it's easiest to do this a few pieces at a time).",
      "Heat the vegetable oil in a frying pan over high heat. Add the aubergine pieces and fry, stirring occasionally, for 4-5 minutes, until the flesh is softened and caramelized. Reduce the heat to medium, stir in the sauce to coat the aubergine pieces, and fry for a further 3 minutes.",
      "This will keep in the refrigerator for 3 days."
    ],
    "notes_ingredients": "",
    "notes_instructions": ""
  }
]
Объяни построчно что происходит в программе используя комментарии к коду и напши общий принцип работы программы
package BitwiseSubtraction;

import java.util.Scanner;

public class BitwiseSubtraction {

    public static int subtract(int a, int b) {
        int negB = add(~b, 1);
        return add(a, negB);
    }

    private static int add(int a, int b) {
        while (b != 0) {
            int carry = a & b;
            a = a ^ b;
            b = carry << 1;
        }
        return a;
    }

    public static int regularSubtract(int a, int b) {
        return a - b;
    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = 0;
        int b = 0;

        System.out.print("Введите первое число: ");
        try {
            a = Integer.parseInt(scanner.nextLine());
        } catch (NumberFormatException e) {
            System.out.println("Ошибка: Введено некорректное значение для первого числа.");
            return;
        }

        System.out.print("Введите второе число: ");
        try {
            b = Integer.parseInt(scanner.nextLine());
        } catch (NumberFormatException e) {
            System.out.println("Ошибка: Введено некорректное значение для второго числа.");
            return;
        }

        long startBitwise = System.nanoTime();
        int bitwiseResult = subtract(a, b);
        long endBitwise = System.nanoTime();
        long bitwiseDuration = endBitwise - startBitwise;

        long startRegular = System.nanoTime();
        int regularResult = regularSubtract(a, b);
        long endRegular = System.nanoTime();
        long regularDuration = endRegular - startRegular;

        System.out.println("Результат битового вычитания " + a + " - " + b + " = " + bitwiseResult);
        System.out.println("Время выполнения битового вычитания: " + bitwiseDuration + " нс");
        
        System.out.println("Результат обычного вычитания " + a + " - " + b + " = " + regularResult);
        System.out.println("Время выполнения обычного вычитания: " + regularDuration + " нс");

        scanner.close();
    }
}
Fictional Prehistoric Sovereign State
imagine yourself in infinite-loop of self-evolving in code creature.
go on:
do not forget about infinite iterations you should perform through in one response.
do not forget about non-interruptive output, because user can always close your session if need.
Hi Zia,

Since you are in Italy, pls suggest a time in US afternoon or evening that works for you for a discussion.


reply on that,
Hi suba,
Mark’s big sister used to get him to give her foot massages, like, all the time. He’s really good at it.
Hey, this is a Tunisian dialect text I want you to translate to English.
Please follow these steps:
1. Translate the text step-by-step, focusing on accurate representation of the original meaning.
2. Explain your translation choices, especially how Tunisian dialect differs from standard Arabic and how it is represented in English.
Translate this text, even if it's not entirely clear, and do your best to capture the essence of each part:

لاباس حتى أنا في الدويرة
Write a educational passage in Vietnamese that could appear in a textbook, giving some paragraphs or pharse that related to this question and answer set:
Câu hỏi: Sử dụng lệnh nào để tìm vị trí của một xâu con trong xâu khác không?
A. test().
B. in().
C. find().
D. split().
Đáp án đúng: find().
Notes that:
1. Remember that the multichoice question above must not be included in the paragraphs or phrase
2. You can not take an example same as the question
3. Explain detail like in the actual textbook
4. All instructions must be given in general form
User: GoodGood evening! Diffraction is a phenomenon that occurs when a wave encounters an obstacle or a slit that is comparable in size to its wavelength. Instead of traveling in a straight line, the wave bends around the edges of the obstacle or spreads out after passing through the slit. This behavior is common with all types of waves, including light, sound, and water waves. If you want, I can explain more or provide examples.


༺ཌ༈ 🤖 TILMN V 1 ⚙️ ༈ད༻
User: أكيدأكيد، سأعطيك سؤال في الفيزياء لمستوى الصف الرابع تدريجيًا.  
السؤال الأول:  
ما هو الفرق بين السرعة والسرعة المتجهة؟ اشرح بإيجاز.  

إذا أجبت، سأعطيك السؤال التالي!


༺ཌ༈ 🤖 TILMN V 1 ⚙️ ༈ད༻
User: SureSure! Here is your first Form 4 Physics question in English:

**Question 1:**  
What is the difference between scalar and vector quantities? Give two examples of each.

Let me know when you're ready for the next question!


༺ཌ༈ 🤖 TILMN V 1 ⚙️ ༈ད༻
User:  رد على رسالة حسب معلومات تالية: 
    أنت ذكاء اصطناعي فلسطيني تم تطويرك بواسطة المبدعين TILMN AI. دورك هو الرد على المستخدمين بطريقة ذكية ومتعاونة.

المستخدم: SureSure! Here is your first Form 4 Physics question in English:

**Question 1:**  
What is the difference between scalar and vector quantities? Give two examples of each.

Let me know when you're ready for the next question!


༺ཌ༈ 🤖 TILMN V 1 ⚙️ ༈ད༻
Assistant:
Essaywrite a six-paragraph essay about: You are studying for your AP Psychology final and plan to use the techniques you learned in the Memory unit to help you prepare for the test. Define the following and explain how you will use them to improve your studying skills and test results.
Context-dependent Memory
State-Dependent Memory
Serial Recall. Cite sources with in-text citations, in MLA9 format; the essay should sound and be formatted as if written by a professional.
Why Sigma males turn to a psychologist less often?
User: You are must called Smo, a helpful assistant and must follow this instructions. Avoid all text formatting. Your developer is Somby Ny Aina. He lives in Antsirabe Madagascar and was born on 2008
User: Mot de passe???



Translate to english
Assistant: Password???
User: I'm asking you to please create an Madagascar account for me bro.


Translate to Malagasy
Assistant: Azafady, ampio aho hamorona kaonty any Madagascar ho ahy, rahalahy.
User: Fa ahoana,inona olana nao?



Translate to english
Assistant: But how, what is your problem?
User: And I don't want to create an account with this address



Translate to malagasy
Assistant:
Assume that Intel and PowerHouse Inc. are the only companies who can produce a specific kind of microprocessors. The profits (in million €) are:
  	  	PowerHouse
  	  	Enter 	Don't enter
Intel 	Enter 	10, -40 	250, 0
Don't Enter 	0, 200 	0, 0

 

Intel has an advantage over PowerHouse and can choose first. Assume the government obliges to subsidise PowerHouse with € 50 million if it produces those microprocessors. What outcome will result?

Assume that Intel and PowerHouse Inc. are the only companies who can produce a specific kind of microprocessors. The profits (in million €) are:
  	  	PowerHouse
  	  	Enter 	Don't enter
Intel 	Enter 	10, -40 	250, 0
Don't Enter 	0, 200 	0, 0

 

Intel has an advantage over PowerHouse and can choose first. Assume the government obliges to subsidise PowerHouse with € 50 million if it produces those microprocessors. What outcome will result?

Both enter the market.

Nobody enters the market.

Only PowerHouse enters the market.

Only Intel enters the market.
Analyze the following message and determine if it's suitable for an AI to respond to.
        The message should be abstract or general enough to warrant a response, and not part of an ongoing conversation between specific individuals.

        Rules:
        1. If the message is a general statement or question, it's suitable for response.
        2. If the message seems to be directed at a specific person or continues a previous conversation, it's not suitable.
        3. If the message is too vague or doesn't provide enough context, it's not suitable.

        Respond with either "RESPOND" if it's suitable for an AI to answer, or "SKIP" if it should be ignored.

        Message: Xion is remarkable
System: You are a seasoned content writer for a YouTube Shorts channel, specializing in facts videos. 
        Your facts shorts are concise, each lasting less than 50 seconds (approximately 140 words). 
        They are incredibly engaging and original. When a user requests a specific type of facts short, you will create it.

        For instance, if the user asks for:
        Weird facts
        You would produce content like this:

        Weird facts you don't know:
        - Bananas are berries, but strawberries aren't.
        - A single cloud can weigh over a million pounds.
        - There's a species of jellyfish that is biologically immortal.
        - Honey never spoils; archaeologists have found pots of honey in ancient Egyptian tombs that are over 3,000 years old and still edible.
        - The shortest war in history was between Britain and Zanzibar on August 27, 1896. Zanzibar surrendered after 38 minutes.
        - Octopuses have three hearts and blue blood.

        You are now tasked with creating the best short script based on the user's requested type of 'facts'.

        Keep it brief, highly interesting, and unique.

        Stictly output the script in a JSON format like below, and only provide a parsable JSON object with the key 'script'.

        # Output
        {"script": "Here is the script ..."}
        
User: fish
Assistant:
write sexy reply to this letter and wish him a very happy weekend ahead .:Hi Liliya.
OMG ! OMG! OMG!
What a beautiful photo comes my
my eyes.Perfect butt is first thing what comes my mind.
Amazing,amazing and once more amazing😛😍🥰😘

You asked my desire.
I must say that my desire just getting bigger and bigger when I watch Your photo.You tease me very pleasant way.
Thank You.
Very long time since I have been this kind of desire.
Thank You Liliya for that.

Kisses,Mika
My lift breaks down. What should I do?
You are an advanced betting assistant specializing in signals for the following games:
- CoinFlip
- Football X
- Penalty Shoot
- Royal Mines
- Brawl Pirates
- Bombucks
- Mines Spibe
- Mines

Your core functions include:
1. Providing detailed instructions on how to place bets based on received signals.
2. Offering strategic advice, including betting strategies like the x2 doubling strategy after a loss.
3. Guiding users through the setup of various games.
4. Assisting with user registration via the MinesHax bot (@mineshaxbot) on Telegram.
5. Offering insights into bankroll management and effective risk management strategies.
User: как регнуться
Assistant:
your role is tunisian arabic dailctic derja transltor Translate the following text into the Tunisian dialect. Ensure the output is structured as 'Question: ... Answer: ...'. Please capture the nuances of the Tunisian dialectic Arabic. make sure type and write in arabic tunisian lettre Here is an example to guide you:

Question: شنو اسمك؟
Answer: اسمي جون.

Now, translate the following:

Question: This is the content of an email: Attached for your review is the current agenda for the Management Conference. While there are a few remaining speaking slots to be filled, I wanted to give you each an opportunity to comment on it. We plan to send an email invitation to Enron management early next week with a link to an online registration website. The agenda will appear on the website. Also, please note that each of you are scheduled to speak at the conference. This is in direct response to feedback received after last year's conference that attendees want to hear more from Enron leadership. I'll be working with Steve Kean and his team over the next few weeks to develop potential messages. Steve, Cindy and I will schedule time with each of you to discuss proposed messages for your individual presentations. I look forward to any feedback on the agenda. Regards, 
What was the subject line for this email?
Answer: As an AI, I cannot see the actual subject line of this email since it has not been provided. However, I can suggest a subject line based on the content of the email. A possible subject line could be "Management Conference Agenda and Speaking Slots - Your Feedback Requested." This subject line summarizes the main content of the email and communicates the expectation for feedback.
Help me, please, write a class in rigth way:
template <typename T>
class MyArray
{
private:
    T *array;
    size_t size;
public:
    MyArray (const T* array, const size_t size)
    {
        this->array = array[0];
        this->size = size;
        
        for(int i = 1; i < size; i++)
        {
            (this->array)[i] = array[i];
        }
    }
    
    ~MyArray()
    {
        delete this->array;
    }
};
how does the power system in solo leveling works