Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++
6.4 KB
Raw Blame
[
 {"d":"code","p":"Write a Python function that merges two sorted lists into one sorted list without using sort(). Include type hints and a short docstring."},
 {"d":"code","p":"Implement an LRU cache in Python using OrderedDict with get and put methods, and write three unit tests with pytest."},
 {"d":"code","p":"Write a JavaScript function debounce(fn, wait) and explain how it differs from throttle, with a small usage example."},
 {"d":"code","p":"Write a C++ class template for a fixed-capacity ring buffer with push, pop and size, using std::array. Mention thread-safety."},
 {"d":"code","p":"Show a Rust function that reads a file line by line, counts word frequencies in a HashMap and prints the top 5 words."},
 {"d":"code","p":"Write a Go HTTP handler that returns JSON {\"status\":\"ok\"} and a middleware that logs the request duration."},
 {"d":"code","p":"Write a SQL query that returns the top 3 customers by total order value per country from tables customers(id,country) and orders(id,customer_id,amount)."},
 {"d":"code","p":"Write a bash script that finds all files larger than 100 MB under /var/log, sorted by size, and prints them in human readable form."},
 {"d":"code","p":"Explain this Python error and how to fix it:\nTraceback (most recent call last):\n  File \"app.py\", line 12, in <module>\n    print(data['users'][0]['name'])\nKeyError: 'users'"},
 {"d":"code","p":"Refactor this function to be more readable:\ndef f(a):\n    r=[]\n    for i in range(len(a)):\n        if a[i]%2==0:\n            r.append(a[i]*a[i])\n    return r"},
 {"d":"code","p":"Write a regular expression that matches ISO 8601 dates like 2026-10-11 and explain each part."},
 {"d":"code","p":"Write a TypeScript interface for a paginated API response and a generic fetch helper that validates the shape at runtime."},
 {"d":"math","p":"A train leaves a station at 9:15 and travels at 80 km/h. A second train leaves the same station at 10:00 on the same track at 120 km/h. At what time does the second catch the first? Show the steps."},
 {"d":"math","p":"Prove that the sum of the first n odd numbers is n squared, using induction."},
 {"d":"math","p":"Solve the system: 3x + 2y = 16 and x - y = 2. Then check the solution."},
 {"d":"math","p":"What is the probability of getting exactly two heads in five fair coin flips? Explain the formula you use."},
 {"d":"reason","p":"Three friends, Ann, Ben and Cara, each own exactly one of a cat, a dog and a parrot. Ann does not own the dog. Ben owns neither the cat nor the parrot. Who owns what? Explain your reasoning."},
 {"d":"reason","p":"I have a 3 liter jug and a 5 liter jug and unlimited water. How can I measure exactly 4 liters?"},
 {"d":"chat","p":"I have a job interview tomorrow for a junior data analyst role and I am nervous. Can you give me practical advice?"},
 {"d":"chat","p":"What are some good ways to learn a new language as an adult with only 30 minutes a day?"},
 {"d":"chat","p":"Recommend a weekly meal prep plan for someone who wants high protein, vegetarian meals on a budget."},
 {"d":"chat","p":"My laptop gets very hot and the fan is loud when I open many browser tabs. What can I check?"},
 {"d":"creative","p":"Write a short story (about 300 words) about a lighthouse keeper who discovers that the light attracts something other than ships."},
 {"d":"creative","p":"Write a poem about autumn rain in the style of a haiku sequence, five stanzas."},
 {"d":"creative","p":"Describe a bustling night market in a fantasy city, using all five senses."},
 {"d":"science","p":"Explain how a transformer neural network processes a sentence, from tokens to the next-token prediction, for a software engineer who has not studied machine learning."},
 {"d":"science","p":"Why is the sky blue and sunsets red? Explain Rayleigh scattering without heavy math."},
 {"d":"science","p":"Explain how CRISPR-Cas9 edits a gene, and name two ethical concerns."},
 {"d":"history","p":"Summarize the causes and consequences of the fall of the Western Roman Empire in a few paragraphs."},
 {"d":"history","p":"Compare the economic policies of the New Deal with those of the Reagan era."},
 {"d":"law","p":"Explain the difference between a trademark, a copyright and a patent, with one everyday example of each."},
 {"d":"business","p":"Draft a polite email to a customer whose order is delayed by two weeks, offering a 10 percent discount and a new delivery date."},
 {"d":"business","p":"Write a one-page project proposal outline for migrating a small company's file server to a cloud storage service."},
 {"d":"data","p":"Create a markdown table comparing PostgreSQL, MySQL and SQLite on concurrency, typical use cases, licensing and scaling."},
 {"d":"data","p":"Return a JSON object describing a fictional book with fields title, author, year, genres (array) and a nested publisher object. Only output JSON."},
 {"d":"tool","p":"You are an assistant with a tool get_weather(city, unit). The user asks: 'Do I need an umbrella in Hamburg tomorrow?' Write the tool call you would make as JSON and then explain what you would tell the user once you get the result."},
 {"d":"summ","p":"Summarize in three bullet points: Photosynthesis converts light energy into chemical energy. In the light-dependent reactions, chlorophyll absorbs photons and splits water, releasing oxygen and producing ATP and NADPH. In the Calvin cycle, these carriers drive the fixation of carbon dioxide into sugars. The rate of photosynthesis depends on light intensity, carbon dioxide concentration and temperature."},
 {"d":"fr","p":"Explique en français comment fonctionne un moteur à combustion à quatre temps, avec des phrases simples."},
 {"d":"de","p":"Schreibe eine kurze, freundliche E-Mail auf Deutsch, in der du einen Termin beim Zahnarzt von Dienstag auf Donnerstag verschiebst."},
 {"d":"es","p":"Dame una receta sencilla de tortilla española y explica los errores más comunes al hacerla."},
 {"d":"zh","p":"请用中文解释什么是区块链,并举一个日常生活中的例子。"},
 {"d":"ja","p":"日本語で、初心者向けにPythonのリスト内包表記を説明してください。"},
 {"d":"ru","p":"Объясни простыми словами, чем отличается процесс от потока в операционной системе."},
 {"d":"trivia","p":"Who wrote 'The Master and Margarita', and what is the novel about? Answer in a short paragraph."},
 {"d":"essay","p":"Write a balanced essay of about 350 words on whether remote work is better than office work for software teams."}
]