agentlans/allenai-WildChat-4.8M-prompts huggingface dataset:
Goal
    Traduire toutes les valeurs textuelles présentes dans une liste d’objets d’une recette de cuisine de en (ISO 639) vers it (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 it.
    - 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 : it (ISO 639)
    Données à traduire :

    [
  {
    "recipeCode": "4d907014a8d14393a727b539f4a45b76",
    "updated": "2025-04-24T02:33:00.732Z",
    "title": "Asian Cauliflower and Potato Salad",
    "subtitle": null,
    "description": null,
    "ingredients": [
      {
        "section": "For the recipe",
        "ingredients": [
          "z (200g) new potatoes",
          "sea salt",
          "cauliflower",
          "eggplant",
          "garlic clove",
          "red chile",
          "cashew nuts",
          "cilantro",
          "canola oil",
          "coconut milk",
          "freshly ground black pepper",
          "ground cumin",
          "ground cinnamon",
          "ground allspice"
        ]
      }
    ],
    "instructions": [
      "Wash the potatoes and boil them with their skins on in salted water for 20-25 minutes.",
      "Drain the potatoes, let them cool a bit, then peel and cut into thick slices.",
      "While the potatoes are cooking, separate the cauliflower into florets.",
      "Trim the eggplant. Peel and finely mince the garlic.",
      "Cut the chile in half lengthwise, remove the seeds, and chop finely.",
      "Dry roast the cashews in a pan until golden, then let them cool and roughly chop.",
      "Remove the cilantro leaves from the stems and chop them finely.",
      "Heat the canola oil in a large, deep pan and sauté the minced garlic over medium heat.",
      "Add the cauliflower florets, chopped eggplant, and chile to the pan. Cook until the vegetables are tender but still firm.",
      "Pour in the coconut milk and season with salt, pepper, cumin, cinnamon, and allspice.",
      "Gently mix in the sliced potatoes and transfer everything to a serving bowl.",
      "Sprinkle the chopped cashews and cilantro over the salad and allow it to cool completely."
    ],
    "notes_ingredients": null,
    "notes_instructions": null
  }
]
using System.Collections.Generic;
using Rust;
using UnityEngine;

[CreateAssetMenu(menuName = "Rust/Protection Properties")]
public class ProtectionProperties : ScriptableObject
{
    [TextArea]
    public string comments;

    [Range(0f, 100f)]
    public float density = 1f;

    [ArrayIndexIsEnumRanged(enumType = typeof(DamageType), min = -4f, max = 3f)]
    public float[] amounts = new float[25];

    public void OnValidate()
    {
        if (amounts.Length >= 25)
        {
            return;
        }

        float[] array = new float[25];
        for (int i = 0; i < array.Length; i++)
        {
            if (i >= amounts.Length)
            {
                if (i == 21)
                {
                    array[i] = amounts[9];
                }
            }
            else
            {
                array[i] = amounts[i];
            }
        }

        amounts = array;
    }

    public void Clear()
    {
        for (int i = 0; i < amounts.Length; i++)
        {
            amounts[i] = 0f;
        }
    }

    public void Add(float amount)
    {
        for (int i = 0; i < amounts.Length; i++)
        {
            amounts[i] += amount;
        }
    }

    public void Add(DamageType index, float amount)
    {
        amounts[(int)index] += amount;
    }

    public void Add(ProtectionProperties other, float scale)
    {
        for (int i = 0; i < Mathf.Min(other.amounts.Length, amounts.Length); i++)
        {
            amounts[i] += other.amounts[i] * scale;
        }
    }

    public void Add(List<Item> items, HitArea area = (HitArea)(-1))
    {
        for (int i = 0; i < items.Count; i++)
        {
            Item item = items[i];
            ItemModWearable component = item.info.GetComponent<ItemModWearable>();
            if (!(component == null) && component.ProtectsArea(area))
            {
                component.CollectProtection(item, this);
            }
        }
    }

    public void Multiply(float multiplier)
    {
        for (int i = 0; i < amounts.Length; i++)
        {
            amounts[i] *= multiplier;
        }
    }

    public void Multiply(DamageType index, float multiplier)
    {
        amounts[(int)index] *= multiplier;
    }

    public void Scale(DamageTypeList damageList, float ProtectionAmount = 1f)
    {
        for (int i = 0; i < amounts.Length; i++)
        {
            if (amounts[i] != 0f)
            {
                damageList.Scale((DamageType)i, 1f - Mathf.Clamp(amounts[i] * ProtectionAmount, -1f, 1f));
            }
        }
    }

    public float Get(DamageType damageType)
    {
        return amounts[(int)damageType];
    }
}
Assistant: 
User: System: I will provide you with a textual GitHub issue title of an Android app, aiming to categorize the issues into one or multiple specific intention classes:
bug: indicates an unexpected problem or unintended behavior
enhancement: Indicates new feature requests
other: Other categories
User: 'prompt:I will provide you with a textual GitHub issue title of an Android app, aiming to categorize the issues into one or multiple specific intention classes:
bug: indicates an unexpected problem or unintended behavior
enhancement: Indicates new feature requests
other: Other categories
Does the author's intention in this GitHub issue relate to a bug or enhancement or other?
issue: GifDrawable continues to play after .clear() called'
intention: '
Assistant:
Assistant:
How can I stop a food craving?
CREATE DATABASE `hotel`;
USE hotel;

-- Таблица Guests (Гости)
CREATE TABLE Guests (
    guest_id INT AUTO_INCREMENT PRIMARY KEY,
    name VARCHAR(100) NOT NULL,
    email VARCHAR(100) UNIQUE NOT NULL,
    phone_number VARCHAR(15) UNIQUE NOT NULL,
    password VARCHAR(255) NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

-- Таблица Rooms (Номера)
CREATE TABLE Rooms (
    room_id INT AUTO_INCREMENT PRIMARY KEY,
    room_number VARCHAR(10) UNIQUE NOT NULL,
    room_type ENUM('стандартный', 'улучшенный', 'люкс') DEFAULT 'стандартный',
    capacity TINYINT NOT NULL,
    price_per_night DECIMAL(10, 2) NOT NULL,
    status ENUM('доступен', 'занят') DEFAULT 'доступен'
);

-- Таблица Reservations (Бронирования)
CREATE TABLE Reservations (
    reservation_id INT AUTO_INCREMENT PRIMARY KEY,
    guest_id INT,
    room_id INT,
    check_in_date DATE NOT NULL,
    check_out_date DATE NOT NULL,
    total_cost DECIMAL(10, 2),
    FOREIGN KEY (guest_id) REFERENCES Guests(guest_id) ON DELETE CASCADE,
    FOREIGN KEY (room_id) REFERENCES Rooms(room_id) ON DELETE CASCADE
);

-- Таблица Payments (Оплаты)
CREATE TABLE Payments (
    payment_id INT AUTO_INCREMENT PRIMARY KEY,
    reservation_id INT,
    amount DECIMAL(10, 2) NOT NULL,
    payment_date DATE NOT NULL,
    FOREIGN KEY (reservation_id) REFERENCES Reservations(reservation_id) ON DELETE CASCADE
);

-- Таблица Reviews (Отзывы)
CREATE TABLE Reviews (
    review_id INT AUTO_INCREMENT PRIMARY KEY,
    guest_id INT,
    room_id INT,
    review_text TEXT NOT NULL,
    rating TINYINT CHECK (rating BETWEEN 1 AND 5),
    review_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    FOREIGN KEY (guest_id) REFERENCES Guests(guest_id) ON DELETE SET NULL,
    FOREIGN KEY (room_id) REFERENCES Rooms(room_id) ON DELETE SET NULL
);

-- Триггер для расчета общей стоимости бронирования
DELIMITER //
CREATE TRIGGER calc_total_cost
BEFORE INSERT ON Reservations
FOR EACH ROW
BEGIN
    DECLARE nights INT;
    DECLARE room_price DECIMAL(10, 2);

    SET nights = DATEDIFF(NEW.check_out_date, NEW.check_in_date);
    SELECT price_per_night INTO room_price FROM Rooms WHERE room_id = NEW.room_id;
    
    SET NEW.total_cost = nights * room_price;
END//
DELIMITER ;

-- Триггер для обновления статуса комнаты при бронировании
DELIMITER //
CREATE TRIGGER update_room_status
AFTER INSERT ON Reservations
FOR EACH ROW
BEGIN
    UPDATE Rooms
    SET status = 'занят'
    WHERE room_id = NEW.room_id;
END//
DELIMITER ;

-- Триггер для освобождения комнаты при отмене бронирования
DELIMITER //
CREATE TRIGGER free_room_on_cancel
AFTER DELETE ON Reservations
FOR EACH ROW
BEGIN
    UPDATE Rooms
    SET status = 'доступен'
    WHERE room_id = OLD.room_id;
END//
DELIMITER ;





вот короче моя база данных нужно сделать бэкенд для дальнейшего использования  в приложении на android
Goal
    Générer une image de suggestion de présentation d'un plat en fonction de sa description, en intégrant un style photographique spécifique.

    1. Utiliser la description fournie pour définir l'apparence du plat.
    2. Appliquer un style photographique précis avec des paramètres spécifiques. 
    4. Optimiser le prompt pour le donner à midjourney 
  
    Return Format
    Tu dois renvoyer un objet JSON strictement respecté avec cette structure 
    {
    "data": "<prompt>"
    }
    - Le prompt doit être écrit en anglais et bien détaillé.

    Warnings
    - Respecte le format JSON strict.
    - N’explique pas la démarche, renvoie uniquement l’objet JSON.
    - Le prompt doit inclure tous les éléments demandés.

    Context Dump
    Description fournie : Create a visually enticing image of an assortment of delicious brownie bites arranged neatly on a rustic wooden platter. The brownie bites should be rich and fudgy, showcasing a shiny, cracked top with a sprinkle of mini chocolate chips on each. Surround the bites with fresh raspberries and mint leaves for a pop of color. Soft, warm lighting should highlight the texture of the brownies, making them look even more appetizing. Include a small glass of non-dairy chocolate milk beside the platter for a refreshing pairing. The setting should evoke a cozy, inviting atmosphere.
    Style souhaitée : A top-down photo of plate with <description>. a dish on an elegant plate, accompanied by water in a glass, placed against a white background. The table is adorned with orange napkins for serving the meal. Captured from above using a Canon EOS R5 camera with high resolution. Studio lighting creates soft shadows around the food to highlight its colors and textures. Professional color grading enhances the visual appeal.
safetensors to pytorch_model.bin huggingface python cdoe
give me a response to ```Absolutely! Let's use our resourcefulness and determination to create a brighter future and master the art of survival in the open sea. With our courage, wisdom, and optimism, let's explore the unknowns and tackle any challenge that awaits us. Adventure awaits - let's create an amazing journey together!``` to send in a discussion, VERY SHORT, CONCISE & CLEAR. ONLY RETURN THE RAW MESSAGE, DO NOT SAY "Hey here is the message you asked"
Goal
    Traduire toutes les valeurs textuelles présentes dans une liste d’objets d’une recette de cuisine de en (ISO 639) vers pt (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 pt.
    - 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 : pt (ISO 639)
    Données à traduire :

    [
  {
    "recipeCode": "eb84b673567e4fc8a1548a36953c4bd9",
    "updated": "2025-05-19T06:31:49.736Z",
    "title": "Pumpkin Fries with Salted Egg",
    "subtitle": "蛋黄焗南瓜",
    "description": null,
    "ingredients": [
      {
        "section": "For the recipe",
        "ingredients": [
          "pumpkin",
          "salted duck egg yolks",
          "cornflour",
          "+ for frying vegetable oil",
          "shaoxing wine",
          "handful chopped spring onion",
          "salt"
        ]
      }
    ],
    "instructions": [
      "Cut the pumpkin in half and remove all the seeds.",
      "Place the flat surface on a cutting board and carefully remove the skin.",
      "Cut the pumpkin into 1.5 cm (½ inch) thick slices, then slice to form fries.",
      "Salt the pumpkin slices (around 1 teaspoon) and allow to stand for at least 10 minutes so they release as much water as possible.",
      "Steam the egg yolks for 12 minutes, then crush them with a fork.",
      "Add the cornflour to the fries and mix so that each stick is coated.",
      "Fry them for 1 to 2 minutes in oil at 160°C (320°F) until the coating starts to become nice and golden.",
      "Remove from the oil and use paper towels to drain excess oil.",
      "Pour the vegetable oil into a frying pan over medium to high heat, then add the crushed egg yolks and stir.",
      "Pour in the Shaoxing wine and continue stirring until a foamy and smooth mixture is obtained.",
      "Add the pumpkin fries and stir to coat them with the sauce.",
      "Add a pinch of salt, garnish with chopped spring onion, and serve."
    ],
    "notes_ingredients": "Only the egg yolks are needed for this recipe. If you can't find pre-separated eggs, you can buy whole eggs and separate the yolks from the whites yourself.",
    "notes_instructions": null
  }
]
You are a database expert and SQL optimizer. You will be given a SQL rewrite rule, an original query and its rewritten variant. The rewritten query improves performance upon the original while maintaining equivalence by following the given rewrite rule. Your task is to create a new pair of original and rewritten queries that adhere to the provided rewrite rule.

[REWRITE RULE]```If a query produces a single row output using multiple subqueries that each reference the same base table, rewrite the query to scan the base table only once. Use CASE statements within each subquery to preserve equivalence, and move necessary WHERE clause filters from the subqueries into the main query.```

[ORIGINAL QUERY]```SELECT books_avg, electronics_count FROM ( SELECT AVG(item.current_price) AS sales_avg FROM item WHERE item.i_category = 'Books' AND (item.i_class_id BETWEEN 1 AND 5 OR item.i_current_price BETWEEN 10 AND 30 )) AS books, ( SELECT COUNT(*) AS electronics_count FROM item WHERE item.i_category = 'Electronics' AND (item.i_class_id BETWEEN 5 AND 10 OR item.i_current_price BETWEEN 60 AND 90 )) AS electronics;```

[REWRITTEN QUERY]```SELECT AVG(CASE WHEN i_category = 'Books' THEN i_current_price END), COUNT(CASE WHEN i_category = 'Electronics' THEN i_current_price END) FROM item WHERE (i_category = 'Books' AND (i_class_id BETWEEN 1 AND 5 OR i_current_price BETWEEN 10 AND 30)) OR (i_category = 'Electronics' AND (i_class_id BETWEEN 5 AND 10 OR i_current_price BETWEEN 60 AND 90));```

[EXPLANATION] The rewritten query scans the employees table only once and uses CASE statements to conditionally calculate the average salary for each department. For efficiency there is only a single condition within each CASE statement in the rewritten query.

Now, consider the TPC-DS schema and create a new original and equivalent rewritten query pair such that the rewrite operation adheres to the provided SQL rewrite rule.Keep the following points in mind while creating the new query pair:
1. The original query must make use of the following fact tables: ['catalog_returns']. Below is the join graph for these fact tables:
    ['catalog_returns(cr_reason_sk) references reason(r_reason_sk);', 'catalog_returns(cr_returning_addr_sk) references customer_address(ca_address_sk);', 'catalog_returns(cr_returning_cdemo_sk) references customer_demographics(cd_demo_sk);']
3. The original query must employ 1 joins.
4. The original query must employ the following aggregate functions: ['min', 'max'].
5. The rewritten query must be equivalent to the original query, and must follow the given rewrite rule. Enclose the original and rewritten queries within ``` and ```.
Generate a description with keywords and SEOs for Social Media Ready Stock Photo | Elegant Coffee Cup | Blooming Flowers | Professional High-Resolution Image for Marketing &amp; Branding. Include social medias on which this stock photographic can be applied to for social media at the end. Include details on dimensions: 1080x1080 and has 3 image variations. Include buyer has full rights to resale and commercial usage. Don't include HTML or '<br/>' for formatting only newline '
'
D Sumner & The Stamps
I have prompt. Can I share it with you?
Consider yourself a certified vfx and motion graphics artist along with expertise in html5 design and development. Please write a short and catchy freelance job application based on the below offer.Looking for a skilled animator who uses HTML 5 and Adobe Animate. 2 week job with a highly regarded enterprise
Assistant: 
User: 
    Please analyze the following code file and determine whether it belongs to any of the provided modules based on the listed module descriptions.
    Note that the provided list of modules may not be exhaustive, and some files may not belong to any of the modules. 
    If the code belongs to a module, Only output the module name, without any explanation or additional information; otherwise, return 'None' if it does not belong to any module.

    Modules : {
        "UI": "Handles the front-end user interface, consisting of HTML, CSS, and JavaScript files generated by the Angular framework. It processes user requests and interacts with the server using AJAX for data retrieval and client-side interactions."
"Test Driver": "Facilitates automated regression testing and handles transmission of test data in JSON format. It performs Java testing using TestNG and JavaScript unit-testing with Jest. It also sets up a simulated web server for servlet-level tests and automates end-to-end testing using Selenium Java."
"Logic": "Manages the business logic of TEAMMATES, including handling relationships between entities, managing transactions, input value sanitization, access control rights, and interfacing with GAE-provided or third-party APIs."
"Storage": "Performs CRUD operations on data entities, validation of data, and abstraction of GQL queries, hiding the complexities of datastore from the Logic component."
"Common": "Contains utility classes, custom exceptions, and data transfer objects used across the entire application for easy consolidation and transfer of structured data."
"E2E": "Handles end-to-end testing and load & performance testing, providing helpers, abstractions of browser pages, and test cases for E2E tests and L&P tests."
"Client": "Contains scripts for administrative tasks, such as migrating data to a new schema and calculating statistics. This module connects directly to the application back-end for administrative purposes."
    }

    Code: package teammates.ui.output; /** * Generic output format for message-producing endpoint. */ public class MessageOutput extends ApiOutput { private final String message; public MessageOutput(String message) { this.message = message; } public String getMessage() { return message; } }
    
Assistant:
Write an comedy anime scene about a young man casually drawing on his notebook during a meeting. He is a university student. He is rebellious, bratty and angsty. He has black hair with bangs covering his left eye and some strands being dyed red. He is skinny and pale. He wears a short-sleeve white shirt, a red tie worn in a messy manner, a few bracelets on his wrist, tight leather pants and cherry red leather combat boots. He is 19. That meeting is full of really serious and morally ambigous characters. They are very seriously discussing what faction is the best for the wasteland in FNV. He isn't one of those characters and he finds all of them annoying and hard to understand. He is drawing sketches of his character in Skyrim. He only played Fallout 3 and they don't like that.
wattpad: Those of Freedom planet react to Naruto. Me God of Everything universe  Part 01
System: I will provide you with a textual user review of an Android app, aiming to categorize the reviews into specific intention classes:
Bug reports: report a potential problem with the software. 
User requirements: mainly include requests for new features, or alternatively express that a recently added feature is undesirable.
Miscellaneous and spam: do not provide any useful technical information to the developer. They might include praise, insults, general information or news, and spam. 
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 reports: report a potential problem with the software. 
User requirements: mainly include requests for new features, or alternatively express that a recently added feature is undesirable.
Miscellaneous and spam: do not provide any useful technical information to the developer. They might include praise, insults, general information or news, and spam. 
Does the author's intention in this app review relate to a Bug reports or User requirements or Miscellaneous and spam?
review: @googlechrome why is this still an issue??? _URL_'
intention: '
Assistant: