Query stringlengths 2 286 | Type stringclasses 19
values |
|---|---|
Explain how to generate a UUID in C++, with an example. | Coding |
I'm new to C++. How would I deep clone an object? | Coding |
write Go to download a file from a URL, with comments | Coding |
sort a list of objects by a field in Go | Coding |
Translate this Python to JavaScript: [x**2 for x in range(10) if x % 2 == 0] | Coding |
What's the most efficient way to base64-encode a string in Scala | Coding |
What's a good way to organize CSS in a large project? | Coding |
write Swift to convert a Roman numeral to an integer, with comments | Coding |
Write a complete Python module that reads sensor data from a serial port, timestamps each reading, and writes batches to SQLite every 10 seconds. Include logging and error handling. | Coding |
How do I write a unit test for a function in C++? | Coding |
Write a Lua script for a simple Roblox door that opens when touched. | Coding |
Can you help me implement a token-bucket rate limiter using Rust? | Coding |
Write a one-liner to count lines in all .py files recursively. | Coding |
What's the idiomatic way to memoize a recursive function in C#? | Coding |
Could you show a Haskell implementation to handle exceptions when opening a file and explain its complexity? | Coding |
Fix this code: for i in range(10) print(i) | Coding |
Explain how to build a trie for autocomplete in Go, with an example. | Coding |
compute the median of a list in Swift | Coding |
What's the most efficient way to find duplicate elements in an array in Elixir? | Coding |
Write CSS for a responsive three-column grid. | Coding |
Write a Rust function to parse command-line arguments. | Coding |
How do I add authentication with JWT in Express? | Coding |
What are smart pointers in C++? | Coding |
What's the difference between git merge and git rebase, and which should I use for a feature branch? | Coding |
Refactor-friendly JavaScript example: parse an XML document | Coding |
Write a PHP script that saves an uploaded file securely. | Coding |
Give me a Go snippet that can find all permutations of a string. | Coding |
Explain Big O notation using code examples. | Coding |
Can you optimize this loop? for i in range(len(arr)): for j in range(len(arr)): if arr[i]==arr[j] and i!=j: print(arr[i]) | Coding |
What's the most efficient way to flatten a nested list in Dart | Coding |
Implement a simple linked list in C. | Coding |
What's the most efficient way to strip whitespace from a string in Lua? | Coding |
write a bubble sort in C. | Coding |
read a file line by line in PowerShell | Coding |
How do I drop rows with NaN values in a pandas DataFrame? | Coding |
Refactor-friendly Lua example: find the longest common subsequence of two strings | Coding |
Can you help me parse a CSV file using TypeScript? | Coding |
C: convert a string to snake_case | Coding |
write PHP to implement a stack, with comments | Coding |
How do I schedule a cron job that runs every 15 minutes? | Coding |
I'm new to TypeScript. How would I run a shell command and capture its output? | Coding |
Write a SQL window function query to compute a running total of sales by day. | Coding |
Why does my Python script say 'ModuleNotFoundError: No module named requests'? | Coding |
What's a memory leak and how can I detect one in a Node app? | Coding |
Can you help me handle exceptions when opening a file using Perl? | Coding |
Write a Makefile for a small C project. | Coding |
Refactor-friendly Kotlin example: calculate a factorial | Coding |
Implement merge sort in Python and explain each step. | Coding |
Build me a to-do list app in HTML, CSS, and JavaScript. | Coding |
How do I create a virtual environment in Python? | Coding |
Train a simple linear regression model with scikit-learn. | Coding |
How do I strip whitespace from a string in PowerShell? | Coding |
How do list comprehensions work in Python? | Coding |
Write a Go function to serialize a class to JSON. | Coding |
SELECT vs SELECT DISTINCT — when would I use each | Coding |
How do I write a for loop in Bash that iterates over files? | Coding |
Need Java code to implement a token-bucket rate limiter — keep it minimal. | Coding |
memoize a recursive function in Scala | Coding |
What's the idiomatic way to count word frequencies in a text file in R? | Coding |
write Lua to connect to a PostgreSQL database, with comments | Coding |
Lua: debounce a function call | Coding |
how do I make an API request in Kotlin with Retrofit? | Coding |
Explain what an N+1 query problem is and how to fix it in Rails. | Coding |
Refactor-friendly Dart example: memoize a recursive function | Coding |
What is a sonnet? | What |
What are the key features of stoicism? | What |
What are the stages of sleep? | What |
Settle a debate for me: what role does the Monroe Doctrine play in the world? | What |
What should I put in a first-aid kit | What |
Trivia night prep: what are the basics of natural selection? | What |
what's Bayesian inference | What |
what is the main idea behind the Higgs boson? | What |
What was Shakespeare's last play? | What |
What does a keystone species involve? | What |
My kid asked me this and I'm stumped: what are the Nordic countries? | What |
what's 9 squared | What |
what are the key features of an API | What |
What exactly is a neural network? | What |
What does photosynthesis involve? | What |
What is the origin of the word 'quarantine'? I only have a minute. | What |
What are the main causes of World War I | What |
What exactly is the immune system? | What |
what is Bayesian inference and why does it matter? Give me a detailed answer with examples. | What |
What is the lightest element? | What |
what is a hash function and why does it matter | What |
My kid asked me this and I'm stumped: what is 15% of 80 | What |
what countries border Germany? | What |
What is the main idea behind the Renaissance? | What |
I'm writing a report and need to know: what is a group of crows called? | What |
I've been wondering, what's the Cold War | What |
what is the capital of Kazakhstan? | What |
What is the story behind a black hole? Thanks! | What |
what is inflation? A short answer is fine. | What |
What year is it in the Hebrew calendar? | What |
What is a good source of plant-based protein? | What |
What are the main components of the Bronze Age? | What |
What is the role of chlorophyll in plants? | What |
what does a supply chain involve? Explain like I'm a beginner. | What |
What is a sovereign wealth fund? | What |
What is a mortgage? | What |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.