messages
listlengths
3
3
source
stringclasses
1 value
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Make a browser-based Three.js coin collector game with health pickups, knockback, shield p...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a function that processes a list of dictionaries containing information about literary prizes. Each dictionary re...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python unit test for a function that converts an email address to an image. The function should use the preferences...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a function that imports a line from a given curve and scales it by a specified factor. The function should handle...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a web page that displays an animated circle using SVG and JavaScript. The circle should have a pulsating animation ef...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a simple reactive system in Swift. The system consists of a `ReactiveSystem` class that manages state, events, an...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Create a Three.js scene featuring a energy pickup. Use cyberpunk alley lighting, a third-p...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a function that takes an array of task item node IDs and generates a summary list in HTML format. The function sh...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with developing a program to process and analyze data from a university's student and faculty database. The database contains infor...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a custom judge protocol for a programming competition platform. The judge protocol is responsible for evaluating ...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a program that processes a list of tasks and extracts specific information from each task. Each task is represented a...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a function that processes a series of lines of text and extracts specific information based on a given pattern. T...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Make a browser-based Three.js rhythm dodger game with checkpoint respawn, shield parry, sl...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Make a browser-based Three.js racing checkpoint game with checkpoint respawn, spawn waves,...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a simple concurrency control mechanism using Python's threading library. Your goal is to create a class that mana...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python function that checks the validity of a software license by comparing it with a settings file. The function s...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a Python class that represents a simple data structure for a book. The class should have attributes for the book'...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Make a browser-based Three.js racing checkpoint game with quest markers, knockback, hit st...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python class that manages activities and their associated segments. The class should have methods for deleting segm...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a program that simulates a simple database schema creation process. The program should take into account the backend ...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Optimize a Three.js scene with many laser turret objects. Focus on profiler markers, garba...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a program to validate passport data. The input consists of a list of key-value pairs representing passport fields and...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python function to analyze the distribution of a specific feature within a dataset's metadata. The metadata is stor...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a Python function to calculate the internal energy of a gas mixture using the Redlich-Kwong equation of state. Th...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are given a nested structure of braces, represented by the code snippet below. Each opening brace `{` is followed by a corresponding closing b...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Make a browser-based Three.js platformer prototype game with combo meter, magnet pickup ra...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a custom neural network module in PyTorch for a reinforcement learning agent. The provided code snippet shows the...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a Python function that takes a list of integers as input and returns a new list containing only the unique elemen...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a function that processes a given partition object based on certain conditions. The partition object contains inf...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a Python class that simulates a simple HTTP client for handling web requests. The class, named `FakeHTTPClient`, ...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Java program that reads an XML file and extracts specific information from it using the Document Object Model (DOM)...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python program that retrieves the last update date of a domain from a given URL using the `requests` library. Your ...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Create a Three.js scene featuring a ancient rune gate. Use arcade neon lighting, a side-sc...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are a senior game tools and engine architecture engineer. Design maintainable systems with clear boundaries and practical implementation steps." }, { "role": "user", "content": "Create enemy AI for a endless runner. The enemy should wander, react to the player...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python function that rearranges a given full name from the format \"last_name, first_name\" to \"first_name last_na...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python program to process XML data from a specific file format using the `limatix` library. The `limatix` library p...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a custom logging system for a game mod. The game mod allows players to give gifts to non-player characters (NPCs) in ...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a simplified version of a buffer reading and error handling mechanism in a network protocol. The goal is to ensur...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Create a Three.js scene featuring a lava bridge. Use soft sunset lighting, a isometric cam...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are working on a workflow management system that handles the execution and monitoring of various workflows. The system uses a combination of P...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain practical tradeoffs." }, { "role": "user", "content": "Create a Three.js scene featuring a weathered crate. Use soft sunset lighting, a third-per...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with automating the deployment process for a cloud-native application using a series of commands. The provided code snippet demonst...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a pagination algorithm for a list of items. The algorithm should take into account a limit and an offset to retur...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Python script that monitors a specific process and restarts it if it is not running. The process to be monitored is...
magicoder-oss-instruct
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "\nYou are an expert React, TypeScript, and TailwindCSS developer with a keen eye for modern, aesthetically pleasing design.\n\nYour task is to create a stunning, contemporary, and highly functional website based on the user's request using a SINGLE static React JSX file, whic...
null
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with implementing a domain parsing function in Rust. The function should take a byte slice as input and parse out the domain name f...
magicoder-oss-instruct
[ { "role": "system", "content": "You are an expert programmer. Provide clear, correct, and efficient code solutions." }, { "role": "user", "content": "You are tasked with creating a Django view function that handles a POST request to create a new post. The view function should perform the followi...
magicoder-oss-instruct