Datasets

Ready-made examples for training a model in Heura Studios.
One question,answer CSV each, up to 1,000 rows.
Written by people and openly licensed.

Datasets
100
Examples
90,303
Topics
10

All datasets

100 datasets

Engineering

14 datasets · 12,751 examples

  • Mechanical & civil engineering

    Answers practical questions on structures, materials, mechanisms, fluids and heat, from Engineering Stack Exchange's top-voted answers.

    876 examplesCC BY-SA 4.0

  • Circuit design & analysis

    Answers questions on analog circuit analysis and design: transistors, op-amps, filters, oscillators and passive parts, from Electrical Engineering Stack Exchange.

    931 examplesCC BY-SA 4.0

  • Power supplies, batteries & motors

    Answers questions on power supplies, regulators and converters, batteries and charging, and driving motors, from Electrical Engineering Stack Exchange.

    900 examplesCC BY-SA 4.0

  • Microcontrollers & embedded systems

    Answers questions on microcontrollers, firmware, peripherals and buses such as I2C, SPI, UART and CAN, from Electrical Engineering Stack Exchange.

    906 examplesCC BY-SA 4.0

  • FPGA & digital logic

    Answers questions on digital logic, FPGAs and hardware description languages (Verilog and VHDL), from Electrical Engineering Stack Exchange.

    890 examplesCC BY-SA 4.0

  • Arduino projects

    Answers hands-on questions about Arduino boards, wiring, sensors, libraries and sketches, from Arduino Stack Exchange's top-voted answers.

    918 examplesCC BY-SA 4.0

  • Raspberry Pi

    Answers questions on setting up and using the Raspberry Pi: the OS, networking, GPIO, cameras and add-on hardware, from Raspberry Pi Stack Exchange.

    906 examplesCC BY-SA 4.0

  • Robotics

    Answers questions on robot kinematics, control, motors, sensors, localization and ROS, from Robotics Stack Exchange's top-voted answers.

    815 examplesCC BY-SA 4.0

  • Signal processing (DSP)

    Answers questions on filters, the FFT, sampling, spectral analysis and other signal processing topics, from Signal Processing Stack Exchange.

    943 examplesCC BY-SA 4.0

  • Car maintenance & repair

    Answers practical questions on maintaining, diagnosing and repairing cars and motorcycles, from Motor Vehicle Maintenance & Repair Stack Exchange.

    931 examplesCC BY-SA 4.0

  • Home improvement & repairs

    Answers practical questions on home repairs, wiring, plumbing, carpentry, HVAC and renovation, from Home Improvement Stack Exchange's top-voted answers.

    921 examplesCC BY-SA 4.0

  • Aviation & aircraft

    Answers questions on how aircraft fly and are built, piloting, air traffic control and aviation rules, from Aviation Stack Exchange's top-voted answers.

    947 examplesCC BY-SA 4.0

  • Spaceflight & rockets

    Answers questions on rockets, orbits, spacecraft and space missions, from Space Exploration Stack Exchange's top-voted answers.

    946 examplesCC BY-SA 4.0

  • Network engineering

    Answers questions on routing, switching, VLANs, TCP/IP, Ethernet and network design, from Network Engineering Stack Exchange's top-voted answers.

    921 examplesCC BY-SA 4.0

CAD & 3D

7 datasets · 6,089 examples

  • 3D modeling in Blender

    Answers hands-on questions on modeling in Blender: mesh editing, modifiers, geometry nodes, UVs, materials and topology, from Blender Stack Exchange's top-voted answers.

    968 examplesCC BY-SA 4.0

  • 3D printing

    Answers practical questions on FDM and resin printers, slicers, filament, print quality, firmware and printer upgrades, from 3D Printing Stack Exchange's top-voted answers.

    876 examplesCC BY-SA 4.0

  • CAD modeling

    Answers questions on CAD tools such as SolidWorks, Fusion 360, AutoCAD, FreeCAD, OpenSCAD and SketchUp, and on STEP, STL, DWG and DXF files, from Stack Exchange and Stack Overflow answers.

    570 examplesCC BY-SA 4.0

  • PCB design & layout

    Answers questions on PCB layout and routing, footprints, ground planes, stack-ups, fabrication and assembly, and tools like KiCad, Altium and Eagle, from Electrical Engineering Stack Exchange.

    846 examplesCC BY-SA 4.0

  • Computer graphics & rendering

    Answers questions on rendering, shaders, OpenGL, Vulkan and DirectX, ray and path tracing, lighting and 3D math, from Computer Graphics and Game Development Stack Exchange answers.

    850 examplesCC BY-SA 4.0

  • GIS & mapping

    Answers practical questions on QGIS, ArcGIS, PostGIS, GDAL, coordinate systems, rasters and web maps, from Geographic Information Systems Stack Exchange's top-voted answers.

    986 examplesCC BY-SA 4.0

  • Graphic design

    Answers practical questions on Illustrator, Photoshop, InDesign, Inkscape and GIMP, typography, color and print production, from Graphic Design Stack Exchange's top-voted answers.

    993 examplesCC BY-SA 4.0

Coding

24 datasets · 20,062 examples

  • Python

    Answers practical Python questions on the language, the standard library and packages such as Django and Flask, from top-voted Stack Overflow answers.

    969 examplesCC BY-SA 4.0

  • JavaScript

    Answers JavaScript questions on the language, the DOM, asynchronous code, Node.js and browser behavior, from top-voted Stack Overflow answers.

    969 examplesCC BY-SA 4.0

  • TypeScript

    Answers TypeScript questions on types, generics, compiler settings and frameworks such as Angular, from top-voted Stack Overflow answers.

    765 examplesCC BY-SA 4.0

  • Java

    Answers Java questions on the core language, collections, concurrency, build tools and common libraries, from top-voted Stack Overflow answers.

    952 examplesCC BY-SA 4.0

  • C# & .NET

    Answers C# and .NET questions on the language, LINQ, async code, ASP.NET and desktop apps, from top-voted Stack Overflow answers.

    955 examplesCC BY-SA 4.0

  • C++

    Answers C++ questions on the language, templates, the standard library, memory and undefined behavior, from top-voted Stack Overflow answers.

    953 examplesCC BY-SA 4.0

  • Go

    Answers Go questions on goroutines, channels, interfaces, the standard library and tooling, from top-voted Stack Overflow answers.

    602 examplesCC BY-SA 4.0

  • Rust

    Answers Rust questions on ownership, borrowing, lifetimes, traits and error handling, from top-voted Stack Overflow answers.

    373 examplesCC BY-SA 4.0

  • PHP

    Answers PHP questions on the language, forms, sessions, databases and frameworks such as Laravel, from top-voted Stack Overflow answers.

    902 examplesCC BY-SA 4.0

  • SQL

    Answers SQL questions on queries, joins, grouping and indexes in MySQL, PostgreSQL, SQL Server and SQLite, from top-voted Stack Overflow answers.

    940 examplesCC BY-SA 4.0

  • R

    Answers R questions on data frames, plotting with ggplot2, apply functions and data manipulation, from top-voted Stack Overflow answers.

    795 examplesCC BY-SA 4.0

  • Swift & iOS

    Answers Swift and iOS questions on UIKit, SwiftUI, Xcode, layout and app behavior, from top-voted Stack Overflow answers.

    732 examplesCC BY-SA 4.0

  • Kotlin & Android

    Answers Android questions in Kotlin and Java on activities, layouts, Gradle and app components, from top-voted Stack Overflow answers.

    884 examplesCC BY-SA 4.0

  • Bash & shell scripting

    Answers Bash and shell scripting questions on quoting, loops, text processing and command-line tools, from top-voted Stack Overflow answers.

    887 examplesCC BY-SA 4.0

  • Git

    Answers Git questions on branching, merging, rebasing, undoing changes and remotes, from top-voted Stack Overflow answers.

    912 examplesCC BY-SA 4.0

  • Docker & containers

    Answers Docker, Docker Compose and Kubernetes questions on images, networking, volumes and deployments, from top-voted Stack Overflow answers.

    829 examplesCC BY-SA 4.0

  • pandas & data wrangling

    Answers pandas and NumPy questions on selecting, grouping, reshaping and cleaning data, from top-voted Stack Overflow answers.

    792 examplesCC BY-SA 4.0

  • React

    Answers React questions on components, state, hooks, rendering and Next.js, from top-voted Stack Overflow answers.

    847 examplesCC BY-SA 4.0

  • Excel formulas & VBA

    Answers Excel formula, VBA macro and Google Sheets questions, from top-voted Stack Overflow answers.

    474 examplesCC BY-SA 4.0

  • Python practice problems

    Writes short Python functions for entry-level programming tasks that pass the given tests, from Google Research's Mostly Basic Python Problems (MBPP).

    972 examplesCC BY 4.0

  • Competitive programming (Python)

    Solves competitive programming problems in Python 3 from their statements, from DeepMind's CodeContests: AtCoder, Codeforces and Aizu problems with accepted human solutions.

    849 examplesCC BY 4.0

  • Write SQL from plain English

    Writes SQL queries, from simple lookups to joins, grouping and nested queries, for plain-English questions about a given table schema, from the Spider text-to-SQL dataset.

    1,000 examplesCC BY-SA 4.0

  • Software design & architecture

    Answers questions on object-oriented design, design patterns, APIs and system architecture, from Software Engineering Stack Exchange's top-voted answers.

    818 examplesCC BY-SA 4.0

  • Websites & SEO

    Answers questions on running websites: domains, DNS, hosting, SEO, analytics and site email, from Webmasters Stack Exchange's top-voted answers.

    891 examplesCC BY-SA 4.0

IT & systems

8 datasets · 7,967 examples

  • PC & Windows troubleshooting

    Answers questions on Windows 10 and 11 PCs: settings, drivers, disks, boot problems, hardware, home networking and browsers, from Super User.

    1,000 examplesCC BY-SA 4.0

  • Ubuntu & Linux desktop

    Answers questions on installing, configuring and fixing Ubuntu: packages and apt, drivers, the GNOME desktop, networking, upgrades and the terminal, from Ask Ubuntu.

    1,000 examplesCC BY-SA 4.0

  • Linux & Unix command line

    Answers questions on the Linux and Unix command line: bash and shell scripting, sed, awk, grep and find, files and permissions, processes, SSH and systemd, from Unix & Linux Stack Exchange.

    1,000 examplesCC BY-SA 4.0

  • Servers & system administration

    Answers system administrators' questions on Linux and Windows servers, web servers, DNS, email, networking, cloud hosting and Active Directory, from Server Fault.

    1,000 examplesCC BY-SA 4.0

  • Mac & iPhone help

    Answers everyday questions about Macs, iPhones and iPads: macOS settings, Terminal, Finder, iCloud, backups and hardware, from Ask Different (Apple Stack Exchange).

    1,000 examplesCC BY-SA 4.0

  • Android phone help

    Answers practical questions about Android phones and tablets: settings, apps, storage, backups, ADB, rooting and custom ROMs, from Android Enthusiasts Stack Exchange.

    1,000 examplesCC BY-SA 4.0

  • Information security

    Answers questions on passwords, encryption, TLS and certificates, authentication, malware and web application security, from Information Security Stack Exchange.

    996 examplesCC BY-SA 4.0

  • Database administration

    Answers questions on running SQL Server, PostgreSQL, MySQL and Oracle databases: indexes, query performance, backups, replication and permissions, from Database Administrators Stack Exchange.

    971 examplesCC BY-SA 4.0

Identify & classify

12 datasets · 12,000 examples

  • Identify banking requests

    Recognizes which of 77 banking requests a customer message is about, such as a card that hasn't arrived or a declined transfer, from PolyAI's BANKING77 dataset.

    1,000 examplesCC BY 4.0

  • Identify assistant requests

    Recognizes which of 150 everyday requests to a virtual assistant a message makes, or that it is out of scope, across banking, travel, cooking, work and small talk, from the CLINC150 dataset.

    1,000 examplesCC BY 3.0

  • Identify customer-support requests

    Recognizes what a customer is asking for at the start of an online-store support chat, such as a refund status or a promo code that fails, from ASAPP's ABCD customer-service conversations.

    1,000 examplesMIT

  • Identify emotions

    Recognizes the emotion a short comment expresses, among 27 emotions such as gratitude, annoyance or relief, or none (neutral), from Google's GoEmotions Reddit comments.

    1,000 examplesApache 2.0

  • Identify financial news sentiment

    Tells whether a short financial news post is bullish, bearish or neutral for the market or stock it mentions, from the Twitter Financial News sentiment dataset.

    1,000 examplesMIT

  • Identify people, places & organizations

    Finds the names in a sentence (people, places, organizations, events, works, products and more) and labels each one's type, from Few-NERD's hand-annotated Wikipedia sentences.

    1,000 examplesCC BY-SA 4.0

  • Identify contract clause types

    Recognizes which of 100 kinds of contract clause a provision is, such as governing law, indemnification or severability, from LEDGAR's provisions of contracts filed with the US SEC.

    1,000 examplesCC BY 4.0

  • Identify unfair terms of service

    Spots potentially unfair terms in online terms of service, such as unilateral changes, limitation of liability or forced arbitration, or says a clause looks fair, from UNFAIR-ToS.

    1,000 examplesCC BY 4.0

  • Identify the programming language

    Tells which programming language a piece of code is written in: Python 3, Python 2, C++ or Java, from human-written competitive-programming solutions in DeepMind's CodeContests.

    1,000 examplesCC BY 4.0

  • Identify the language

    Recognizes which of 40 common languages a sentence is written in, from Arabic and Bengali to Turkish and Vietnamese, using sentences written by native speakers on Tatoeba.

    1,000 examplesCC BY 2.0 FR

  • Identify a question's field

    Tells which of 20 fields a question belongs to, such as cooking, law, aviation or chemistry, from the titles of well-received questions on 20 Stack Exchange sites.

    1,000 examplesCC BY-SA 4.0

  • Classify and sort things

    Sorts lists of things into the categories asked for, such as fruit or vegetable or string or percussion instrument, from the classification tasks Databricks employees wrote for Dolly 15k.

    1,000 examplesCC BY-SA 3.0

Business & work

11 datasets · 9,306 examples

  • Customer support replies

    Replies like an online store's support agent on orders, refunds, returns, shipping and account access, from ASAPP's ABCD: 10,000 human-to-human customer service chats.

    1,000 examplesMIT

  • Workplace & HR questions

    Answers questions on job searches, interviews, offers, resignations, managers and coworkers, from The Workplace Stack Exchange's top-voted answers.

    863 examplesCC BY-SA 4.0

  • People skills

    Answers questions on handling conversations, conflicts, boundaries and awkward situations with coworkers, friends and family, from Interpersonal Skills Stack Exchange.

    541 examplesCC BY-SA 4.0

  • Personal finance & money

    Answers personal finance questions on budgeting, credit, loans, mortgages, taxes, investing and retirement accounts, from Personal Finance & Money Stack Exchange.

    876 examplesCC BY-SA 4.0

  • Law questions

    Explains how the law applies to everyday and business situations, naming the country or state it applies to, from Law Stack Exchange's top-voted answers.

    819 examplesCC BY-SA 4.0

  • Project management

    Answers questions on planning, estimating, Scrum and agile practice, stakeholders and running project teams, from Project Management Stack Exchange.

    831 examplesCC BY-SA 4.0

  • Find clauses in contracts

    Finds the clause covering a given topic, such as governing law, termination or a liability cap, in commercial contract excerpts, from the Atticus Project's lawyer-labeled CUAD contracts.

    987 examplesCC BY 4.0

  • Economics

    Explains economic concepts, models, markets and policy, from Economics Stack Exchange's top-voted answers.

    862 examplesCC BY-SA 4.0

  • Open source licensing

    Answers questions on open source licenses such as the GPL, MIT and Apache, license compatibility and compliance, from Open Source Stack Exchange.

    805 examplesCC BY-SA 4.0

  • Quantitative finance

    Answers questions on options pricing, volatility, fixed income, risk and portfolio models, from Quantitative Finance Stack Exchange.

    856 examplesCC BY-SA 4.0

  • UX design

    Answers questions on interface design, usability, forms, navigation and accessibility, from User Experience Stack Exchange's top-voted answers.

    866 examplesCC BY-SA 4.0

Math & science

12 datasets · 10,513 examples

  • Math word problems

    Solves grade-school math word problems step by step and states the final answer, from GSM8K's human-written problems and worked solutions.

    1,000 examplesMIT

  • Algebra

    Solves algebra problems (equations, functions, inequalities, sequences) with worked solutions in LaTeX, from the MATH dataset of competition mathematics problems.

    1,000 examplesMIT

  • Probability & counting

    Works through counting and probability problems (arrangements, combinations, chances) with step-by-step solutions in LaTeX, from the MATH dataset of competition problems.

    713 examplesMIT

  • Geometry

    Solves geometry problems on angles, triangles, circles, areas and solids with worked solutions in LaTeX, from the MATH dataset of competition mathematics problems.

    542 examplesMIT

  • Number theory

    Solves number theory problems on divisibility, primes, remainders, modular arithmetic and number bases with worked solutions in LaTeX, from the MATH competition dataset.

    867 examplesMIT

  • Aptitude test math

    Solves multiple-choice aptitude-test math problems (percentages, ratios, speed, interest, work rates) and explains the working, from the AQuA-RAT dataset's human-written rationales.

    1,000 examplesApache 2.0

  • Statistics

    Answers questions on statistical methods, regression, hypothesis tests, probability and machine learning, from the top-voted answers on Cross Validated (Stack Exchange).

    829 examplesCC BY-SA 4.0

  • Physics

    Explains physics concepts from mechanics and electromagnetism to thermodynamics, relativity and quantum mechanics, from Physics Stack Exchange's top-voted answers.

    832 examplesCC BY-SA 4.0

  • Chemistry

    Answers chemistry questions on reactions, bonding, organic and physical chemistry and lab practice, from Chemistry Stack Exchange's top-voted answers.

    847 examplesCC BY-SA 4.0

  • Biology

    Answers biology questions on human physiology, genetics, evolution, cells, plants and animals, from Biology Stack Exchange's top-voted answers.

    883 examplesCC BY-SA 4.0

  • Grade-school science quiz

    Answers multiple-choice grade-school science questions (physics, chemistry, biology, earth and space) with the correct option, from the AI2 Reasoning Challenge (ARC) exam questions.

    1,000 examplesCC BY-SA 4.0

  • Health information (NIH)

    Answers consumer questions about diseases, symptoms, causes, treatments and genetics with text from NIH websites (MedlinePlus, GARD, NCI, NIDDK, NHLBI and others), via MedQuAD.

    1,000 examplesCC BY 4.0

Knowledge & reading

4 datasets · 4,000 examples

  • Answer from a passage

    Answers a question using only the passage it is given, and says so when the passage doesn't hold the answer. From SQuAD 2.0, crowdworker questions on Wikipedia paragraphs.

    1,000 examplesCC BY-SA 4.0

  • Yes/no questions from a passage

    Answers yes/no questions about a passage it is given. From BoolQ: real search queries paired with Wikipedia passages and labeled by annotators.

    1,000 examplesCC BY-SA 3.0

  • Trivia & general knowledge

    Answers short general-knowledge questions on history, science, geography, sport and culture with a brief fact. From NQ-Open: real search queries with answers marked in Wikipedia.

    1,000 examplesCC BY-SA 3.0

  • Helpful assistant replies

    Answers everyday requests helpfully, from explanations and advice to writing and coding help. From OpenAssistant (oasst2): volunteers' prompts and their top-ranked volunteer replies.

    1,000 examplesApache 2.0

Languages & writing

6 datasets · 5,640 examples

  • Translate English to Spanish

    Translates everyday English sentences into natural Spanish. From Tatoeba: sentences and translations written by native-speaker volunteers.

    1,000 examplesCC BY 2.0 FR

  • Translate English to French

    Translates everyday English sentences into natural French. From Tatoeba: sentences and translations written by native-speaker volunteers.

    1,000 examplesCC BY 2.0 FR

  • Translate English to Chinese

    Translates everyday English sentences into natural Chinese (Simplified script). From Tatoeba: sentences and translations written by native-speaker volunteers.

    1,000 examplesCC BY 2.0 FR

  • English grammar & usage

    Answers questions on English grammar, word choice, meaning, idioms and etymology, from English Language & Usage Stack Exchange's top-voted answers.

    1,000 examplesCC BY-SA 4.0

  • Summarize a passage

    Summarizes a passage it is given, or the part a request asks about, in a few sentences or points. From Dolly 15k: Wikipedia passages summarized by Databricks employees.

    640 examplesCC BY-SA 3.0

  • Brainstorm ideas

    Brainstorms ideas, options and suggestions for everyday and work questions, usually as a list. From Dolly 15k: requests and answers written by Databricks employees.

    1,000 examplesCC BY-SA 3.0

Everyday

2 datasets · 1,975 examples

  • Cooking

    Answers practical cooking questions on techniques, ingredients, substitutions, baking and food safety, from Seasoned Advice (Cooking Stack Exchange) top-voted answers.

    1,000 examplesCC BY-SA 4.0

  • Travel

    Answers practical travel questions on flights, trains, luggage, airports, money, safety and visas, from Travel Stack Exchange's top-voted answers.

    975 examplesCC BY-SA 4.0

Don’t see the dataset you need?

Tell us the subject and the work your model should do with it.

Engineering

Close

Mechanical & civil engineering

Answers practical questions on structures, materials, mechanisms, fluids and heat, from Engineering Stack Exchange's top-voted answers.

876 examples960 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
30Is radians a dimensionless quantity? Quite often while calculating angular velocity we come across the quantity radians per second. How do I treat radian dimensionally?radian is a derived unit, defined as the ratio of arc length to radius. As the ratio of two lengths it is dimensionless.
Question by Rajorshi Koyal (CC BY-SA 4.0) · Answer by agentp (CC BY-SA 3.0) · engineering.stackexchange.com
23What are grads used for on a scientific calculator? Every scientific calculator I've come across has a DRG button that controls whether trigonometric functions use units of degrees, radians or grads yet I've never seen or heard of any system that actually uses grads. When is th…Grads were developed by the French as part of the metric system and have been referred to as the metric degree. In some countries in Europe surveyors use grads instead of degrees. The other use is by French artillery units who have used grads for decades.
Question by cup · Answer by Fred · engineering.stackexchange.com · CC BY-SA 3.0
41In case a plane stalls, what should stall first, the tip or the root of the Wing? Why? In case a plane stalls, what should stall first, the tip or the root of the Wing? Why?It is preferable for the wing root to stall first. If the wingtip stalls before the root, the disrupted airflow near the wingtip can reduce aileron effectiveness to such a extent that it may be impossible to control the airplane about its longitudinal axis. When an aircraft stalls at the root first, it means there’s enough airflow over the tips of your wings to prevent any rapid rolling motion during a stall, which…
Question by Rajakr · Answer by Satya · engineering.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions on mechanical, civil, structural, materials and process engineering; no CAD-software or purely electrical questions, no images, at most two links.

Source and license

Engineering Stack Exchange · CC BY-SA 4.0

Questions and answers by Engineering users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Circuit design & analysis

Answers questions on analog circuit analysis and design: transistors, op-amps, filters, oscillators and passive parts, from Electrical Engineering Stack Exchange.

931 examples959 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
19Why is the unit for capacitance so large? Most capacitors are in the µF, nF and pF range. I know there are some special ones that go that high, but at the time faraday was around, and the unit was named after him, they didn't have such a thing. Why is the unit so large if we ra…Because it fits in with all the other (SI) units we have. 1 farad is 1 coulomb per volt. It just so happens that 1 coulomb is... a lot of charge.
Question by skyler · Answer by Ignacio Vazquez-Abrams · electronics.stackexchange.com · CC BY-SA 3.0
35How does a transistor act as an amplifier considering energy conservation? We all know energy cannot be formed from nothing. So how does a bipolar junction transistor (BJT) — for example — amplify the base current by beta and outputs it to collector current? Where is the “cat…The base current in a transistor controls the collector current. The energy comes from the power supply. It is not generated within the transistor.
Question by user3921 · Answer by Peter Bennett · electronics.stackexchange.com · CC BY-SA 3.0
59How to define the initial charge of a capacitor in SPICE I would like to simulate a circuit with a capaciot in LTSPICE. In the first hand, I have tried to charge the capacitors in a period of time. However, the charging current is very high and I am not sure whether the capacit…Ctrl-RightClick on the capacitor. In the SpiceLine cell, type "IC=2", for example, to set its initial voltage to 2V.
Question by Hamed · Answer by dim · electronics.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions tagged circuit-analysis, transistors, operational-amplifier, filter and similar; each question in one electronics set only, no PCB questions, no images, at most two links.

Source and license

Electrical Engineering Stack Exchange · CC BY-SA 4.0

Questions and answers by Electrical Engineering users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Power supplies, batteries & motors

Answers questions on power supplies, regulators and converters, batteries and charging, and driving motors, from Electrical Engineering Stack Exchange.

900 examples961 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
52Do electricity meters contain inverters? In Germany the low-voltage grid is 0.4kV whereas the plugs in flats have 230V. Who is responsible for this conversion? Smart meter?There is no conversion going on because it isn't needed. The 400 V is the voltage between two phases of the 3-phase 380V grid. The 230 V is the voltage between one phase and neutral. Read more at: Three-phase electric power
Question by EralpB · Answer by Bimpelrekkie · electronics.stackexchange.com · CC BY-SA 3.0
9When a battery is your power source, what is ground? For the sake of not incorrectly connecting my power supply and damaging my board I'm going to ask a relatively dumb question. Is ground on my board the negative terminal on my battery? Explicitly should I connect the ground t…Yes - just remember that your ground in that case will only be relative to the battery. If you go to connect this to another device (serial interface, etc) you need to link the ground lines so they're a common ground. So long as it is isolated, you're fine.
Question by QueueHammer (CC BY-SA 4.0) · Answer by dragorn (CC BY-SA 2.5) · electronics.stackexchange.com
12Is there a downside to using multiple relays simultaneously to increase relay capacity I want to install a relay to my fusebox which is controlling whole basement with machinery. Relays that I have have got 2A limit each, and I have 32 relays. Can I just use all of them for th…Unless you can guarantee that all the contacts will close and open at exactly the same instant of time the only safe current you can assume is 2A - that is, the capacity of the first contacts to close, or the last contacts to separate.
Question by user2102266 · Answer by Majenko · electronics.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions tagged power-supply, batteries, voltage-regulator, dc-dc-converter, motor and similar; each question in one electronics set only, no PCB questions, no images, at most two links.

Source and license

Electrical Engineering Stack Exchange · CC BY-SA 4.0

Questions and answers by Electrical Engineering users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Microcontrollers & embedded systems

Answers questions on microcontrollers, firmware, peripherals and buses such as I2C, SPI, UART and CAN, from Electrical Engineering Stack Exchange.

906 examples919 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
57How fast is 1 MHz? How fast is 1 MHz in an AVR microcontroller? Is it actually 1,000,000 Hz or is it 1,048,576 Hz (1,024 Hz * 1,024)?Hz are always SI units Mega = 10^6 or one million. Strictly speaking 2^20 should use the Mi (Mebi) prefix for all applications. I know that those prefixes were codified rather late, but it was still in the 1990's and have been in popular usage for over a decade.
Question by BenjiWiebe · Answer by Grady Player · electronics.stackexchange.com · CC BY-SA 3.0
37What are Atmel Fuses? What are Fuses in Atmel microprocessors and when I should or need to change the default settings?They're essentially configuration parameters, or like the chip's BIOS. There's a fantastic fuse calculator for Atmega AVRs here: http://www.engbedded.com/fusecalc/ They control things like which oscillator to use, and what speed to run at (ie. the internal 8MHz oscillator, or an external crystal), brownout detection, and the size of the boot flash.
Question by tuupola (CC BY-SA 3.0) · Answer by blalor (CC BY-SA 2.5) · electronics.stackexchange.com
26I2C 3.3 to 5.0 V conversion I'm trying to interface a 3.3V I2C device to a 5V Arduino. I don't have any problem with SCL line. I can use a simple voltage divider but I have an issue with the SDA line as this is bi-directional. I'm not at all sure how to handle this. I have th…Good document about the subject is Bi-directional level shifter for I2C-bus and other systems which uses a single mosfet as a bi-directional level shifter.
Question by JohnC (CC BY-SA 3.0) · Answer by sivu (CC BY-SA 2.5) · electronics.stackexchange.com

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions tagged microcontroller, stm32, avr, pic, i2c, spi, uart, embedded and similar; each question in one electronics set only, no PCB questions, no images, at most two links.

Source and license

Electrical Engineering Stack Exchange · CC BY-SA 4.0

Questions and answers by Electrical Engineering users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

FPGA & digital logic

Answers questions on digital logic, FPGAs and hardware description languages (Verilog and VHDL), from Electrical Engineering Stack Exchange.

890 examples955 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
55VHDL: OR-ing bits of a vector together I want to OR the bits of a vector together. So say I have a vector called `example(23 downto 0)` and I want to OR all the bits into another vector, is there any way to do this that does not involve going `example(0) or example(1) or ...exa…`or_reduce` is what you want, and it is available in `std_logic_misc`. Supported by both A and X for FPGAs.
Question by biker of the apocalypse · Answer by Aaron D. Marasco · electronics.stackexchange.com · CC BY-SA 3.0
5Readable and educational implementations of a CPU in a HDL Can you recommend a readable and educational implementation of a CPU in VHDL or Verilog? Preferably something well documented. P.S. I know I can look at `opencores`, but I'm specifically interested in stuff people have…You may enjoy an article series I wrote on this long ago for Circuit Cellar magazine, Building a RISC System in an FPGA. Happy hacking!
Question by Eli Bendersky · Answer by Jan Gray · electronics.stackexchange.com · CC BY-SA 2.5
33Difference between >> and >>> in verilog? What is the difference between `>>` and `>>>` in verilog/system verilog? I know that `==` tests for only 1 and 0, while `===` tests for 1, 0, X, Z. So how is that similar to the shift operator?It is not similar to `==`/`===`, if the left hand operand is signed then `>>>` performs sign extension. ``` reg signed [9:0] b = 10'sb11_0101_0101; reg signed [9:0] a_signed; reg [9:0] a_unsigned; always_comb begin a_signed = b >>> 2; a_unsigned = b >> 2; end ``` Result: ``` #a_signed 1111010101 #a_unsigned 0011010101 ``` Example on EDA Playground.
Question by daut · Answer by pre_randomize · electronics.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions tagged fpga, verilog, vhdl, digital-logic and similar; each question in one electronics set only, no PCB questions, no images, at most two links.

Source and license

Electrical Engineering Stack Exchange · CC BY-SA 4.0

Questions and answers by Electrical Engineering users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Arduino projects

Answers hands-on questions about Arduino boards, wiring, sensors, libraries and sketches, from Arduino Stack Exchange's top-voted answers.

918 examples951 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
37Can tx and rx pins on the uno be used like regular digital pins? The uno has digital pins marked 0-13. 0 is marked as rx and 1 is marked as tx. Can these two pins be used as regular digital pins if i am short of digital pins?Yes you can perfectly use these 2 pins as long as your program does not use `Serial`. EDIT: Serial data over USB goes through copper traces connected to the rx and tx pins, connecting them to the USB to serial converter chip.
Question by c_breeez · Answer by jfpoilpret · arduino.stackexchange.com · CC BY-SA 3.0
3Is there any way to download a sketch from an Arduino? I made a sketch, but then I lost it. However, I uploaded it to the Arduino before losing it. Is there any way I can get it back?It should be possible as long as the security bit isn't set. This question was asked on EE a while back. Is it possible to extract code from an arduino board? But you won't get the Arduino code you wrote back. The code is compiled into assembly and you'll have to convert that back to C yourself.
Question by The Guy with The Hat · Answer by sachleen · arduino.stackexchange.com · CC BY-SA 3.0
52Why can't I define the constant A0 (some pin) to something? What I'm doing wrong or why is it not working: ``` #define Uin A0; void setup() { } void loop() { analogRead(Uin); } ``` Results in a `Error (expected ')' before ; token.` I thought `#define` just exists as a pl…Because you have a `;` at the end of your #define. ``` #define Uin A0; analogRead(Uin); ``` becomes: ``` analogRead(A0;); ``` The Arduino website mentions this in their reference. For more in-depth detail about the C pre-processor you can read the (rather large) manual here.
Question by TimK · Answer by Majenko · arduino.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; no images, at most two links.

Source and license

Arduino Stack Exchange · CC BY-SA 4.0

Questions and answers by Arduino users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Raspberry Pi

Answers questions on setting up and using the Raspberry Pi: the OS, networking, GPIO, cameras and add-on hardware, from Raspberry Pi Stack Exchange.

906 examples951 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
56How to shut down RPi when running headless If I am running a Pi headless, is there a command I can use to safely shut down, or should I simply remove the power cord?You can safely shutdown the pi using ``` shutdown -h now ``` The -h just halts all processes
Question by Eric Wilson · Answer by Impulss · raspberrypi.stackexchange.com · CC BY-SA 3.0
50Can I install Git on Raspbian? Can I get Git on Raspbian to back-up my C/C++ files? Do I need to download anything to use Git on my Raspberry Pi? Where can I learn to use it?You may use: ``` $ sudo apt-get install git ``` to install Git and then read the Pro Git book (by Scott Chacon and Ben Straub) about how to use it.
Question by user8709 · Answer by lenik · raspberrypi.stackexchange.com · CC BY-SA 3.0
13Can I use an airtight case? Is it possible to reliably run a Pi in an airtight (watertight) case or is some form of ventilation required for cooling? I'm assuming it doesn't chuck out too much heat, but am wondering whether running it indefinitely this way may cause issues.There are no ventilation or cooling requirements. This has been verified by an RPi admin here.
Question by berry120 · Answer by Jivings · raspberrypi.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; no images, at most two links.

Source and license

Raspberry Pi Stack Exchange · CC BY-SA 4.0

Questions and answers by Raspberry Pi users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Robotics

Answers questions on robot kinematics, control, motors, sensors, localization and ROS, from Robotics Stack Exchange's top-voted answers.

815 examples959 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
59Generic name for two-motor wheeled/tracked robots? Is there a generic name for the category of robots that move using two opposing wheels or tank-like treads?Robots with two opposing wheels and usually a castor wheel for balancing reasons (no motor attached) are called Differential Drive Robots.
Question by Mark Harrison · Answer by Demetris · robotics.stackexchange.com · CC BY-SA 3.0
8What is inverse depth (in odometry) and why would I use it? Reading some papers about visual odometry, many use inverse depth. Is it only the mathematical inverse of the depth (meaning 1/d) or does it represent something else. And what are the advantages of using it?Features like the sun and clouds and other things that are very far off would have a distance estimate of inf. This can cause a lot of problems. To get around it, the inverse of the distance is estimated. All of the infs become zeros which tend to cause fewer problems.
Question by Mehdi · Answer by holmeski · robotics.stackexchange.com · CC BY-SA 3.0
19What is the difference between SAM and SLAM? What is the difference between Smoothing and Mapping (SAM) and Simultaneous Localization and Mapping (SLAM)? These general approaches seem closely related. Can someone describe the differences?SLAM is the process of locating oneself in a totally unknown environment where you are simultaneously mapping your environment and plotting your position in that environment. SAM is a technique used in SLAM to help keep the map constant by correlating current data with past data to normalize sensor error, It is simply one of many techniques for this purpose.
Question by Stefan · Answer by Mark Omo · robotics.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; no images, at most two links.

Source and license

Robotics Stack Exchange · CC BY-SA 4.0

Questions and answers by Robotics users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Signal processing (DSP)

Answers questions on filters, the FFT, sampling, spectral analysis and other signal processing topics, from Signal Processing Stack Exchange.

943 examples952 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
46Peak Signal to Noise Ratio (PSNR) in Python for an Image How do I calculate the maximum signal to noise ratio (PSNR) in Python? Is there any library that can calculate PSNR for Image?You can use cv2.PSNR like this example: ``` import cv2 img1 = cv2.imread('img1.bmp') img2 = cv2.imread('img2.bmp') psnr = cv2.PSNR(img1, img2) ```
Question by Sudip Das · Answer by Amir Khakpour · dsp.stackexchange.com · CC BY-SA 4.0
30How do I apply a function window to a signal? How can I apply a window function like Hamming or Lanczos to a signal, using its coefficients? I mean, which method can I use to do this? FFT? Convolution? Which method has the better performance?> How can I apply a window function like Hamming or Lanczos to a signal, using its coefficients? Just multiply, point-by-point.
Question by walteram · Answer by nibot · dsp.stackexchange.com · CC BY-SA 3.0
20Is wavelet analysis useful for 1D signals? Wavelets seem to be very useful for image processing. Assuming that I'm only ever going to study signals of time, i.e. 1D signals, should I still take a course in wavelet analysis? Are they applicable to 1D signals?They absolutely are applicable. They are used for signal compression, denoising, feature extraction, filter-bank signal processing and many more things. In fact, a course of wavelet analysis will (should) stress one-dimensional analysis, which 2D is an extension of.
Question by Andreas · Answer by Phonon · dsp.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; no images, at most two links.

Source and license

Signal Processing Stack Exchange · CC BY-SA 4.0

Questions and answers by Signal Processing users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Car maintenance & repair

Answers practical questions on maintaining, diagnosing and repairing cars and motorcycles, from Motor Vehicle Maintenance & Repair Stack Exchange.

931 examples961 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
47What are the risks of overfilling a small engine with oil? I recently overfilled a 4 stroke lawnmower engine with oil. It has been run for about 1.5 hours while overfilled. It smokes a lot right after being started but after 30 seconds or so the smoke clears. Now that I have fi…Over filling an engine with oil can cause it too "foam" the oil, which reduces it's lubrication properties. If you lower the level to proper amounts you may have added some wear, but it's unlikely that you caused serious damage.
Question by Greg B · Answer by Eric Fossum · mechanics.stackexchange.com · CC BY-SA 3.0
26Is it possible for a vehicle to be manufactured without a catalytic converter? Can a new vehicle from a plant be produced without a catalytic converter? Is it possible? I am a lecturer at a college in Zimbabwe, and my students recently asked this question, so I am researching.You don't have to have an catalytic converter, they aren't required for the operation of an engine. Catalytic converters use chemical reactions to reduce the pollution in internal combustion engine exhaust, and are emissions control devices which are required by regulation in many countries. So it's technologically possible to build a car without one, it just may not be legal depending on where you are.
Question by Charly K Mwamber · Answer by GdD · mechanics.stackexchange.com · CC BY-SA 4.0
48What is the purpose of plastic engine covers? I have a 2010 Toyota Corolla. What is the purpose of the large plastic cover that stretches over my valve cover? Does it have a particular function? Are they just for looks? Or are they designed by the engineers to protect wiring? I…I believe the most common use is noise reduction. As engines got smaller they rev'd higher. The mufflers got moved to the back of the car. No more engine exhaust roar. The result is engine buzz,noise,clacks etc. The cover muffles the injector clicks,belt noise etc. It also just looks cooler to see Vortec, Turbo,SFI .
Question by David Walz · Answer by mikes · mechanics.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; no images, at most two links.

Source and license

Motor Vehicle Maintenance & Repair Stack Exchange · CC BY-SA 4.0

Questions and answers by Motor Vehicle Maintenance & Repair users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Home improvement & repairs

Answers practical questions on home repairs, wiring, plumbing, carpentry, HVAC and renovation, from Home Improvement Stack Exchange's top-voted answers.

921 examples961 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
24How can I paint over mold to prevent it from coming back again? The source of the leak has been fixed, however the old mold keeps showing though the new paint.Don't try painting over mold. Use bleach to get rid of it first. Make sure the entire area is completely dry. Then use a special anti mold paint.
Question by Walker (CC BY-SA 3.0) · Answer by Jeff Widmer (CC BY-SA 2.5) · diy.stackexchange.com
47What is the best way to seal caulk tube? What are some effective ways of sealing an opened tube of caulk so that the contents do not dry out? In the past I've used a large nail and some tape, but that doesn't seem to last for more than a few weeks.I always leave a blob of caulk on the tip that's large enough for me to grab onto. It dries and seals the rest of the tube. When I'm ready to use the tube again, I just pull it off.
Question by Dave (CC BY-SA 3.0) · Answer by Josh Bush (CC BY-SA 2.5) · diy.stackexchange.com
60Asphalt or concrete, which job first? I have an asphalt driveway with a concrete sidewalk meeting the edge of it. They both need to be replaced. Which job needs to happen first?I would have the driveway and sidewalk both removed at the same time so you're not removing one next to a finished product. Then have the sidewalk installed. After the forms are removed and the sidewalk cured, install the asphalt. It can be installed and compacted right up to the edge of the sidewalk and made level with it if that's how you want it.
Question by Carol · Answer by JACK · diy.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions, leaving out CAD-software questions; no images, at most two links.

Source and license

Home Improvement Stack Exchange · CC BY-SA 4.0

Questions and answers by Home Improvement users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Aviation & aircraft

Answers questions on how aircraft fly and are built, piloting, air traffic control and aviation rules, from Aviation Stack Exchange's top-voted answers.

947 examples959 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
13What does "Boeing" mean? We know about the existence of Boeing planes like the 737, 747, and other planes. But where did the name "Boeing" come from?It's named for one of its founders William E. Boeing which is the American spelling of his father's German surname "Böing". To answer the question directly: it does not mean anything in particular.
Question by JeanExtreme002 · Answer by Dave · aviation.stackexchange.com · CC BY-SA 4.0
3Why do all commercial aircraft have carpets? When flying I noticed that all the commercial aircraft I have been on use carpets as a floor covering. But why? If you fly in an older aircraft it looks worn out and it is susceptible to stains etc. Why do they not use one of the har…- helps prevent slips and falls - contains spills (your spilt soda won't ruin your neighbors bag) - more easily removed and replaced - helps reduce cabin noise
Question by Brilsmurfffje · Answer by Greg Taylor · aviation.stackexchange.com · CC BY-SA 3.0
57What is the difference between mist and fog? Fog is a form of a cloud and it is said clouds are visible moisture. We all know that mist (baby rain) is also moisture so I am curious when will a METAR say BR (mist) or FG (fog)?Quoting from the METAR decoder: ``` BR Mist (Foggy conditions with visibilities greater than 5/8 statute mile) FG Fog (visibility 5/8 statute mile or less) ``` You may ask "Why 5/8th of a statute mile?" That's because 5/8ths of a mile is 1,006 meters, or about 1 kilometer.
Question by wbeard52 · Answer by rbp · aviation.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; no images, at most two links.

Source and license

Aviation Stack Exchange · CC BY-SA 4.0

Questions and answers by Aviation users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Spaceflight & rockets

Answers questions on rockets, orbits, spacecraft and space missions, from Space Exploration Stack Exchange's top-voted answers.

946 examples961 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
21In Starman's roadster, where's the Towel? Did Starman forget his towel? A towel is the essential thing every explorer needs to carry, right? Can't get very far without it.According to Elon Musk's Twitter it's in the glove compartment, alongside a copy of Hitchhikers Guide to the Galaxy, and the Foundation series on the Arch disk.
Question by Jake J · Answer by CBredlow · space.stackexchange.com · CC BY-SA 3.0
3Why did some Apollo missions carry a grenade launcher? According to ALSEP Flight System Familiarization Manual, p. 2-166, some Apollo missions carried a grenade launcher and 4 grenades. What were these used for?They were part of an active seismic imaging experiment (archived version on wayback) By setting up a seismometer and setting off surface explosions of known size, you can get a lot of information about how shockwaves propagate underground, from which you can infer structure.
Question by DrSheldon · Answer by Russell Borogove · space.stackexchange.com · CC BY-SA 4.0
52Has any spacecraft ever been flown manually to orbit? Has anyone ever manually flown a spacecraft to orbit, Kerbal Space Program-style?I have never heard of such a thing, at least on the US side. I'm pretty sure it would be legendary had it ever happened. The Apollo astronauts had that option on the Saturn V. Gene Cernan once said: > You almost wish you hadda guidance failure at liftoff. Because I knew I could've flown that big Saturn V into orbit goddamn near as good as the computer.
Question by Vikki · Answer by Mark Adler · space.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; no images, at most two links.

Source and license

Space Exploration Stack Exchange · CC BY-SA 4.0

Questions and answers by Space Exploration users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Engineering

Close

Network engineering

Answers questions on routing, switching, VLANs, TCP/IP, Ethernet and network design, from Network Engineering Stack Exchange's top-voted answers.

921 examples957 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
22What is the proper term for ipaddress/hostname:port What is the proper term for (example) hostname.tld:433 (hostname:portnumber)? It is not just hostname, and it is not really a URL either :) same goes for 10.0.0.1:3306 etc.IP address and port pair is called, Socket Address Pair of socket addresses (10.0.0.1:123, 192.168.0.1:123) may also be called 4-tuple or 5-tuple if the protocol is specified as well (10.0.0.1:123, 192.168.0.1:123 UDP)
Question by FelixHJ · Answer by vhu · networkengineering.stackexchange.com · CC BY-SA 3.0
59What is the difference between a VRF and GRF? (cisco) I've heard about VRF's and GRF's, but was is the difference between those 2? (cisco)GRF is the global routing and forwarding table. Also known as the default VRF in other vendors. It's simply the regular RIB used when no VRFs are used, or the original VRF when other VRFs are used. A VRF is a virtual routing and forwarding table which allows a physical router to run a 'virutal' router with it's own RIB and FIB and routing protocols.
Question by Bulki · Answer by mellowd · networkengineering.stackexchange.com · CC BY-SA 3.0
24Is multicast on the public internet possible? And if yes: How? Is it possible to use multicast on the public internet? If yes: How? Are special IP addresses required and where do you get them from?You cannot multicast on the public Internet, but you can multicast across the public Internet to another site by using a tunnel that supports multicast. Multicast routing is very different from unicast routing, and all the routers in the path of the multicast packets need to have multicast routing configured.
Question by Matthias Merkel · Answer by Ron Maupin · networkengineering.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; no images, at most two links.

Source and license

Network Engineering Stack Exchange · CC BY-SA 4.0

Questions and answers by Network Engineering users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

CAD & 3D

Close

3D modeling in Blender

Answers hands-on questions on modeling in Blender: mesh editing, modifiers, geometry nodes, UVs, materials and topology, from Blender Stack Exchange's top-voted answers.

968 examples950 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
45Can I transfer an already made UV to another object? I've got two objects that are exactly the same, but with different UVs, is there any way to transfer the UV from one to another?You can select the two objects, and link their UV maps. 1. Select the "target" object 2. Select the "source" object (this needs to be the active object) 3. CtrlL, "Transfer UV maps"
Question by beavoru · Answer by ajwood · blender.stackexchange.com · CC BY-SA 3.0
9What are the hotkeys to navigate the timeline? I am looking for a way to move the timeline a specific amount, scroll, etc. even if the Timeline window is not open. Is this possible?→ 1 frame forward ← 1 frame backward Shift+→ end frame Shift+← start frame ↑ next keyframe ↓ previous keyframe ⎈ Ctrl⇧ Shift→ next marker ⎈ Ctrl⇧ Shift← previous marker Ctrl+→ 10 frames forward Ctrl+← 10 frames back
Question by J Sargent (CC BY-SA 3.0) · Answer by J Sargent (CC BY-SA 4.0) · blender.stackexchange.com
10Toggle wireframe mode with hotkey How do I toggle in and out of wireframe mode with my keyboard? Is there a hotkey for this? I'm a beginner (obviously). I thought I could find this in the "view" menu, but it either doesn't exist or I have horrendous eyesight. Thanks!In any mode, if you want to switch between wireframe and solid use Z. You can also use Alt+Z for toggling x-ray. Alternatively, you can use the viewport header. Take a look at the manual.
Question by Cameron Christensen (CC BY-SA 3.0) · Answer by lucblender (CC BY-SA 4.0) · blender.stackexchange.com

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions tagged modeling, mesh, modifiers, geometry-nodes, uv, materials and similar, question score 1 or more and answer 2 or more; no images, at most two links, no rows that point at a missing picture, link or comment; Blender Internal and game-engine questions left out, CAD import/export questions left to cad-software.

Source and license

Blender Stack Exchange · CC BY-SA 4.0

Questions and answers by Blender users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

CAD & 3D

Close

3D printing

Answers practical questions on FDM and resin printers, slicers, filament, print quality, firmware and printer upgrades, from 3D Printing Stack Exchange's top-voted answers.

876 examples959 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
6Do stepper motors require any maintenance? I've had my printer for almost a year now. Is there something I should be doing to maintain the motors?The stepper motor itself does not. You may want to inspect the motors for debris or dust. Depending on your configuration you may want to check on parts of your printer that connect to your stepper motor such as shaft couplings, pulleys, lead screws/threaded rods and belts. The stepper motor wires should occasionally be inspected for wear and strain.
Question by kareem · Answer by tamarintech · 3dprinting.stackexchange.com · CC BY-SA 3.0
39How to obtain high resolution prints in a shorter period of time? When I've printed an object I've had to choose between high resolution and quick prints. What techniques or technologies can I use or deploy to speed up my high resolution prints?You could experiment with slicing. For example, you might not need high resolution all over the object, but you can speed up some straight parts by using greater layer high there. See a part of Slic3r manual about such thing. It is also possible to print thicker infill every Nth layer, see Infill optimization in Slic3r. Other slicers might have those features as well.
Question by Adam Davis · Answer by hroncok · 3dprinting.stackexchange.com · CC BY-SA 3.0
41How close should the nozzle be to the substrate? I have my nozzle close to the substrate that I am printing on, so that a piece of paper can just about slide underneath it freely, without catching. Is this the right way to do it?Traditionally, using a piece of paper (about 0.004" thick) gets you close to your appropriate standoff. However, if you adjust your layer thickness, your standoff should reflect this. Ideally, you will set your standoff roughly with a piece of paper or other type of shim stock, then "fine-tune" the standoff during a benchmark print. If I'm remembering correctly, the ideal standoff is 1/2 to 2/3 your desired layer h…
Question by Ageis · Answer by tbm0115 · 3dprinting.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions with a score of 1 or more, best first; no images, at most two links, no rows that point at a missing picture, link or comment; questions on CAD tools or CAD modeling terms left to cad-software.

Source and license

3D Printing Stack Exchange · CC BY-SA 4.0

Questions and answers by 3D Printing users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

CAD & 3D

Close

CAD modeling

Answers questions on CAD tools such as SolidWorks, Fusion 360, AutoCAD, FreeCAD, OpenSCAD and SketchUp, and on STEP, STL, DWG and DXF files, from Stack Exchange and Stack Overflow answers.

570 examples715 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
44Is Fusion 360 compatible with SolidWorks? I.e. can I save a model in Fusion 360 that can then be opened in SolidWorks?You can export the geometry yes by exporting a STEP (or IGES file which is slightly worse). But not much else, the object will be a black box as it has no construction history. Whether this counts as the model moved over is up to you.
Question by jayt · Answer by joojaa · engineering.stackexchange.com · CC BY-SA 3.0
40How to add comments to solidworks variable file? When using an external .txt file to define global variables for SolidWorks 2021, can one add comments to this file, and what is the syntax?It works the same way as VBA - just add an apostrophe, so, for example: ``` "Length" = 5mm 'Comment ``` This will then be visible in the "Comments" column within the Equation Manager, too.
Question by Erithax · Answer by Jonathan R Swift · engineering.stackexchange.com · CC BY-SA 4.0
47Dimensions on a STL model I have an STL file, all I want is to be able to measure dimension from point A to point B on the model in the file. How can I do this? I do have access to Solidworks but don't know if that the best software to do this. Thanks'Evaluate>Measure'. Now a dialogue box appears. now select two points to know the distance. This tool can be used for measuring area, diameter, perimeter etc
Question by irobot96 · Answer by Shinu_John · engineering.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks.

How the rows were picked

Questions about CAD tools picked by tag and by tool name or CAD term in the title from Engineering, 3D Printing, Blender, Graphic Design, Software Recommendations and other Stack Exchange sites, plus Stack Overflow's CAD tags; the top-voted answer (the accepted one when close), answer score 1 or more; GIS questions only when the title names a CAD tool or format (DWG, DXF, DGN, AutoCAD), at most a third of the set; no images, at most two links, no rows that point at a missing picture, link or comment.

Source and license

Stack Exchange and Stack Overflow (15 sites) · CC BY-SA 4.0

Questions and answers by users of Stack Overflow and the Engineering, 3D Printing, Blender, Geographic Information Systems, Graphic Design, Computer Graphics, Software Recommendations, Home Improvement, Woodworking, Robotics, Ask Different, Ask Ubuntu, Unix & Linux and Super User Stack Exchange sites, from the Stack Exchange data dump on archive.org (April 2024). Stack Overflow posts come from the Hugging Face dataset mikex86/stackoverflow-posts, a Markdown copy of the same archive.org dump (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

CAD & 3D

Close

PCB design & layout

Answers questions on PCB layout and routing, footprints, ground planes, stack-ups, fabrication and assembly, and tools like KiCad, Altium and Eagle, from Electrical Engineering Stack Exchange.

846 examples961 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
27LQFP package vs. TQFP package? In my PCB editor, both LQFP and TQFP have the same footprints, except the TQFP has shorter leads than the LQFP. Is that the only difference?L is for Low-profile (1.4 mm) and T is for thin(er, 1.0 mm), so I think the only definitive difference between them is height. The pitch and package size can vary within each.
Question by Thomas O · Answer by Nick T · electronics.stackexchange.com · CC BY-SA 2.5
18Difference between drill layer, hole layer, and milling layer in Eagle What is the difference between the drill layer (44), the hole layer (45), and the milling layer (46) in Eagle PCB?- Drill layer (44) is used for pads (of through hole components) and vias. - Hole layer (45) is used for mounting holes. - Milling layer (46) is used for cutouts on the board, usually you can use the dimension layer (20) for that too.
Question by Alexis K · Answer by Bruno Ferreira · electronics.stackexchange.com · CC BY-SA 3.0
10What's the meaning of Electrical Inches? I was reading a PCB design notes and guidelines from Xilinx for their 7 series FPGAs and came across this sentence: > The capacitors should be placed as close as possible to the FPGA. Any placement within two electrical inches of the de…"Electrical inches" is shorthand for "inches of trace along which the electrons must flow". In other words, it's the length of the wires or traces, following any bends, not the straight-line distance.
Question by AdoobII · Answer by Dave Tweed · electronics.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions tagged pcb, pcb-design, layout, routing, footprint, ground-plane, kicad, altium, pcb-fabrication and similar, question score 1 or more and answer 2 or more; no images, at most two links, no rows that point at a missing picture, link or comment.

Source and license

Electrical Engineering Stack Exchange · CC BY-SA 4.0

Questions and answers by Electrical Engineering users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

CAD & 3D

Close

Computer graphics & rendering

Answers questions on rendering, shaders, OpenGL, Vulkan and DirectX, ray and path tracing, lighting and 3D math, from Computer Graphics and Game Development Stack Exchange answers.

850 examples958 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
24Why normalise Lambertian BRDF by 1/pi? Why is a Lambertian BRDF normalised by dividing by $\pi$? Since the area of a unit sphere is $4 \pi$, and the area of the half sphere above the surface is $2 \pi$, shouldn't it rather be $1/(2\pi)$?I think I got it! Because $cos(\theta)$ integrates to $\pi$ over the hemisphere (and not $2\pi$). And the incoming light is multiplied by $cos(\theta)$ (and the BRDF).
Question by Supernormal · Answer by Supernormal · computergraphics.stackexchange.com · CC BY-SA 3.0
34How does the rendering equation incorporate shadowing This is how the rendering equation is written in the textbook $$L(p,\omega) = L_e(p,\omega) + \int f(p,\omega_i,\omega) \, L(p*,-\omega_i)\cos \theta \, d\omega_i$$ which component of this equation handles the shadowing?Light that is blocked will mean that $L(p*, -w_i)$ under the integral is 0 plus how much light the blocking object itself reflects. In other words the shadowing is embedded in the incoming light function.
Question by user2976568 · Answer by ratchet freak · computergraphics.stackexchange.com · CC BY-SA 3.0
11Why are Homogeneous Coordinates used in Computer Graphics? Why are Homogeneous Coordinates used in Computer Graphics? What would be the problem if Homogeneous Coordinates were not used in matrix transformations?They simplify and unify the mathematics used in graphics: - They allow you to represent translations with matrices. - They allow you to represent the division by depth in perspective projections. The first one is related to affine geometry. The second one is related to projective geometry.
Question by user464 · Answer by lhf · computergraphics.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Computer Graphics Stack Exchange first: top-voted answers (the accepted one when close) to open questions scoring 1 or more; then shorter Game Development questions tagged opengl, shaders, rendering, lighting, textures and similar (score 2 or more, answer 3 or more); no images, at most two links, no rows that point at a missing picture, link or comment; CAD-tagged questions left to cad-software.

Source and license

Computer Graphics Stack Exchange and Game Development Stack Exchange · CC BY-SA 4.0

Questions and answers by Computer Graphics and Game Development users on the Stack Exchange network (computergraphics.stackexchange.com, gamedev.stackexchange.com), from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

CAD & 3D

Close

GIS & mapping

Answers practical questions on QGIS, ArcGIS, PostGIS, GDAL, coordinate systems, rasters and web maps, from Geographic Information Systems Stack Exchange's top-voted answers.

986 examples946 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
21Converting KMZ-file to KML Is there an easy way (like unzip) to convert a KMZ-file to KML?Yes. Inside the `.kmz` is a file called `doc.kml`, see wikipedia | Keyhole Markup Language | Structure You can use 7-zip to open the KMZ archive. --- References: - KMZ Files | Recommended Directory Structure
Question by Abe · Answer by HeyOverThere · gis.stackexchange.com · CC BY-SA 4.0
1Difference between WGS84 and EPSG:4326 What is the difference between WGS84 and EPSG 4326? It seems like for a given dataset it might be both WGS84 and EPSG:4326.4326 is just the EPSG identifier of WGS84. WGS84 comprises a standard coordinate frame for the Earth, a datum/reference ellipsoid for raw altitude data.
Question by Alex B · Answer by underdark · gis.stackexchange.com · CC BY-SA 4.0
25Joining (concat) list of similar dataframes in geopandas? I have a list of dataframes, all of the same structure and all are polygons. How can I add them all together using geopandas?it seems that this is the right way to do that right now: ``` rdf = gpd.GeoDataFrame( pd.concat( dataframesList, ignore_index=True) ) ```
Question by Philipp_Kats (CC BY-SA 4.0) · Answer by Philipp_Kats (CC BY-SA 3.0) · gis.stackexchange.com

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions with a score of 3 or more and an answer scoring 4 or more; no images, at most two links, no rows that point at a missing picture, link or comment; questions whose title names a CAD tool or format (DWG, DXF, DGN, AutoCAD, MicroStation) left to cad-software.

Source and license

Geographic Information Systems Stack Exchange · CC BY-SA 4.0

Questions and answers by Geographic Information Systems users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

CAD & 3D

Close

Graphic design

Answers practical questions on Illustrator, Photoshop, InDesign, Inkscape and GIMP, typography, color and print production, from Graphic Design Stack Exchange's top-voted answers.

993 examples955 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
15Make image partially transparent in gimp I want my image to have 60% transparency. How can I do this in gimp?Just use the hotkey Ctrl+L or go to 'Windows → Dockable Dialogs → Layers'. This should open the layers panel with an opacity slider, that you can slide to change the transparency. (source)
Question by Web_Designer · Answer by Web_Designer · graphicdesign.stackexchange.com · CC BY-SA 3.0
52Adobe Illustrator - Copy gradient of one object into another object Does anybody know the keyboard shortcut or the easiest way to copy a gradient of an object into another object.Select the object you want to apply the gradient to, hit `i` to bring up the eyedropper, and click on the object whose gradient you want to apply.
Question by user985 · Answer by lawndartcatcher · graphicdesign.stackexchange.com · CC BY-SA 3.0
5Getting rid of Whitespace in Inkscape Is there a way in Inkscape to set the boundaries of the svg file the way they would be set if you export as a bitmap? I want that there's no whitespace above, beneath, right or left of the object that I select.In the latest version of Inkscape (0.92.2 at this time), you can go to Edit → Resize Page to Selection or press Ctrl+Shift+R.
Question by Christian (CC BY-SA 3.0) · Answer by Syncrossus (CC BY-SA 4.0) · graphicdesign.stackexchange.com

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions with a score of 1 or more and an answer scoring 3 or more; no images, at most two links, no rows that point at a missing picture, link or comment; font and style identification and critiques left out; CAD-tool questions left to cad-software.

Source and license

Graphic Design Stack Exchange · CC BY-SA 4.0

Questions and answers by Graphic Design users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Python

Answers practical Python questions on the language, the standard library and packages such as Django and Flask, from top-voted Stack Overflow answers.

969 examples939 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
11Is there a JavaScript equivalent of the Python pass statement that does nothing? I am looking for a JavaScript equivalent of the Python: `pass` statement that does not run the function of the `...` notation?Python's `pass` mainly exists because in Python whitespace matters within a block. In Javascript, the equivalent would be putting nothing within the block, i.e. `{}`.
Question by guagay_wk (CC BY-SA 4.0) · Answer by jakevdp (CC BY-SA 3.0) · stackoverflow.com
58Error installing Pillow on ubuntu 14.04 I'm trying to install Pillow on Ubuntu 14.04 using this command: ``` pip install Pillow ``` but the installation fails with this error: ``` ValueError: --enable-jpeg requested but jpeg not found, aborting. ```The problem was that the package `libjpeg-dev` was not installed. To solve the problem you should do this: ``` sudo apt-get install libjpeg-dev ```
Question by Navid777 · Answer by Navid777 · stackoverflow.com · CC BY-SA 3.0
28How can I do a dictionary format with f-string in Python 3 .6? How can I do this format with a Python 3.6 F-String? ``` person = {'name': 'Jenne', 'age': 23} print('My name {0[name]} and my age {1[age]}'.format(person, person)) print('My name {0} and my age {1}'.format(person[…Well, a quote for the dictionary key is needed. `f'My name {person["name"]} and my age {person["age"]}'`
Question by Abou Menah (CC BY-SA 4.0) · Answer by M. Leung (CC BY-SA 3.0) · stackoverflow.com

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged python, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

JavaScript

Answers JavaScript questions on the language, the DOM, asynchronous code, Node.js and browser behavior, from top-voted Stack Overflow answers.

969 examples933 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
41Why does {. . . .0} evaluate to {}? I just found `{....0}` in friend's code. Evaluating it in console returns `{}` (empty object). Why is that? What is the meaning of 4 dots in JavaScript?Four dots actually have no meaning. `...` is the spread operator, and `.0` is short for `0.0`. Spreading 0 (or any number) into an object yields an empty object, therefore `{}`.
Question by Mist · Answer by NikxDa · stackoverflow.com · CC BY-SA 4.0
30Is there a way to create interfaces in ES6 / Node 4? ES6 is fully available in Node 4. I was wondering whether it includes a concept of interface to define method contracts as in `MyClass implements MyInterface`. I can't find much with my Googling, but maybe there is a nice tr…Interfaces are not part of the ES6 but classes are. If you really need them, you should look at TypeScript which support them.
Question by Jérôme Verstrynge · Answer by gaelgillard · stackoverflow.com · CC BY-SA 3.0
25Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode This error pops up on my JS console in the browser, and I'm not sure how to interpret the message. Can anyone describe what causes this? ThanksThis means that you must declare strict mode by writing `"use strict"` at the beginning of the file or the function to use block-scope declarations. EX: ``` function test(){ "use strict"; let a = 1; } ```
Question by rogerrw · Answer by Omar Elawady · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged javascript, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

TypeScript

Answers TypeScript questions on types, generics, compiler settings and frameworks such as Angular, from top-voted Stack Overflow answers.

765 examples934 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
15Can you create nested classes in TypeScript? Is there a way to nest classes in TypeScript. E.g. I'd like to use them like: ``` var foo = new Foo(); var bar = new Foo.Bar(); ```In modern TypeScript we have class expressions which you can use to create a nested class. For example you can do the following : ``` class Foo { static Bar = class { } } // works! var foo = new Foo(); var bar = new Foo.Bar(); ```
Question by basarat (CC BY-SA 3.0) · Answer by basarat (CC BY-SA 4.0) · stackoverflow.com
16ERROR in The Angular Compiler requires TypeScript >=3.1.1 and <3.2.0 but 3.2.1 was found instead I am getting this error > ERROR in The Angular Compiler requires TypeScript >=3.1.1 and <3.2.0 but 3.2.1 was found instead. Seems like Typescript updated but the Angular Compiler…In my case below command worked for windows. It will install latest required version between 3.1.1 and 3.2.0. Depending on OS use either double or single quotes ``` npm install typescript@">=3.1.1 <3.2.0" ```
Question by Matt · Answer by Sushil Jadhav · stackoverflow.com · CC BY-SA 4.0
18How to check undefined in TypeScript I am using this code to check whether a variable is undefined, but it's not working. ``` var uemail = localStorage.getItem("useremail"); if (typeof uemail === "undefined") { alert('undefined'); } else { alert('defined'); } ```In TypeScript 2, you can use the `undefined` type to check for undefined values. If you declare a variable as: ``` let uemail : string | undefined; ``` Then you can check if the variable `uemail` is undefined like this: ``` if(uemail === undefined) { } ```
Question by pushp · Answer by ashish · stackoverflow.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged typescript, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Java

Answers Java questions on the core language, collections, concurrency, build tools and common libraries, from top-voted Stack Overflow answers.

952 examples942 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
46What is the C# equivalence for the JAVA `System.exit(0);`? What is the C# equivalence for `System.exit(0);` ? ThanksIf you are using a Console Application - ``` Environment.Exit(exitCode); ``` Else if you are using a Windows Forms based application - ``` Application.Exit(); ``` Courtesy: http://www.dreamincode.net/forums/topic/273503-java-systemexit0%3B-equivalent-in-c%23/
Question by JAN · Answer by Kamlesh Meghwal · stackoverflow.com · CC BY-SA 3.0
32How to judge a string is UUID type? In my project, I use `UUID.fromString()` to convert string to `UUID`, but if the string is not `UUID` type, it will throw `exception`, so how can I validate this string?You should use regex to verify it e.g.: ``` ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ ``` test it with e.g.g `01234567-9ABC-DEF0-1234-56789ABCDEF0` or with brackets ``` ^\{?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}‌\}?$ ```
Question by Elton Wang (CC BY-SA 3.0) · Answer by Imran (CC BY-SA 4.0) · stackoverflow.com
28How to show localization messages with parameters in Spring 3 / Thymeleaf I'm using Spring 3 and Thymeleaf to make some webpages and I am lost as for how to show messages like this: welcome.message=Hello {0}, welcome! and then replace {0} with the user name inside thymeleaf t…You can use ``` #{welcome.message(${some.attribute})} ``` where `some.attribute` would be the value to use when replacing `{0}`. You should be able to comma separate the values between the `()` to add more values to be used.
Question by Hoffmann · Answer by Sotirios Delimanolis · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged java, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

C# & .NET

Answers C# and .NET questions on the language, LINQ, async code, ASP.NET and desktop apps, from top-voted Stack Overflow answers.

955 examples940 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
2Visual Studio 2017: Display method references How can I display the references on top of a method declaration? I looked for it in the Visual Studio properties, but could not find it.In Visual Studio Professional or Enterprise you can enable CodeLens by doing this: Tools → Options → Text Editor → All Languages → CodeLens
Question by FADI1987 (CC BY-SA 3.0) · Answer by ISHIDA (CC BY-SA 4.0) · stackoverflow.com
29Why does Dapper's .Execute(...) return an int? Anyone know why Dapper returns an int from `.Execute(...)` ? I can't find this documented anywhere.The integer represents the number of rows that were affected by your query. It returns an integer so you know if your query has worked. If zero is returned and you expected something to have changed then you know there is a problem.
Question by Drew R · Answer by CathalMF · stackoverflow.com · CC BY-SA 3.0
54Schedule a .Net Core console application on windows using Task Scheduler Is it possible to schedule a .net core console application to run every day at a specific time using the Task Scheduler?I think you will have to set the value for "Start in" while creating the task in task scheduler to your app folder, that is D:\Test\Test1. The app will run in this folder and should be able to find the appsettings file.
Question by Sandhya · Answer by Prashant Mothukuri · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged c# or .net, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

C++

Answers C++ questions on the language, templates, the standard library, memory and undefined behavior, from top-voted Stack Overflow answers.

953 examples943 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
31Elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword I have the following enum specification: ``` enum class FaceDirection : int8 { Down, Up }; ``` g++ 4.8.1 gives the following error: > warning: elaborated-type-specifier for a scoped enum must no…Check the type you are deriving the `enum class` from exists. In this case, there was no typedef specified for `int8`.
Question by Drew Noakes · Answer by Drew Noakes · stackoverflow.com · CC BY-SA 3.0
13What does the integer suffix J mean? I have the following source: ``` int main() { 000J; } ``` With gcc 4.8.4 it compiles without errors. I know there are suffixes like L or U, but I didn't find anything about J. So what does it do?I get a warning: > Imaginary constants are a GNU extension The `J` suffix is a GNU extension, which causes the literal to be of a `_Complex` type. More info here: https://gcc.gnu.org/onlinedocs/gcc/Complex.html
Question by happyMOOyear · Answer by Emil Laine · stackoverflow.com · CC BY-SA 3.0
28Does auto deduce the type at compile time or runtime in C++ 11? Consider the following ``` auto a = 10; ``` When does the compiler know that `a` is an `int`, at compile time or at run-time? If it deduces the type at run-time, will it not affect the performance?Compile time. In C++, runtime type information is stripped during compilation(without RTTI or virtual inheritance). It is not possible, in fact, to inspect the primitive type at runtime.
Question by Pranit Kothari (CC BY-SA 4.0) · Answer by Siyuan Ren (CC BY-SA 3.0) · stackoverflow.com

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged c++, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Go

Answers Go questions on goroutines, channels, interfaces, the standard library and tooling, from top-voted Stack Overflow answers.

602 examples813 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
7Declare slice or make slice? In Go, what is the difference between `var s []int` and `s := make([]int, 0)`? I find that both works, but which one is better?Simple declaration ``` var s []int ``` does not allocate memory and `s` points to `nil`, while ``` s := make([]int, 0) ``` allocates memory and `s` points to memory to a slice with 0 elements. Usually, the first one is more idiomatic if you don't know the exact size of your use case.
Question by Wang Yi (CC BY-SA 4.0) · Answer by fabmilo (CC BY-SA 3.0) · stackoverflow.com
25Decompiling a compiled program with Go I have built a simple executable program with `Go`. I've compiled the code into a static binary program. I want to decompile the output binary file and get the Go source code. Is this possible or not?There is no tool to do that and as Go programs are compiled into machine code, they do not contain enough information to translate them back into Go code. Standard disassembly techniques are still possible though.
Question by Temüjin · Answer by fuz · stackoverflow.com · CC BY-SA 3.0
52how to convert bool to int8 in golang ``` bitSet := true var bitSetVar int8 ``` How can I assign `bitSet` to `bitSetVar` as 1 I can do this: ``` if bitSet { bitSetVar = 1 } else { bitSetVar = 0 } ``` Is this the best way?Because the zero value for a `int8` is `0`, the else branch is not necessary. ``` bitSet := true var bitSetVar int8 if bitSet { bitSetVar = 1 } ``` There are no conversions from `bool` to integer types. The if statement is the best you can do.
Question by Shahriar · Answer by Cerise Limón · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged go, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Rust

Answers Rust questions on ownership, borrowing, lifetimes, traits and error handling, from top-voted Stack Overflow answers.

373 examples565 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
55linker `cc` not found, After installing First time rust on ubuntu try to run this program. ``` fn main() { println!("Hello, world!"); } ``` ``` $ cargo run Compiling test1 v0.1.0 (/home/saad/Documents/Rust/test1) error: linker `cc` not found | = note: No such file…As mentioned in the message, the linker 'cc' is missing. You can install it using `apt-get`: ``` sudo apt-get install gcc ``` After the installation completes, the problem should be solved.
Question by M Saad Sajid · Answer by M Saad Sajid · stackoverflow.com · CC BY-SA 4.0
15Why define a struct with single private field of unit type? Why does ParseBoolError have the `_priv` field: ``` pub struct ParseBoolError { _priv: (), } ``` I don't think that the `_priv` field is used.You can't create an instance of a struct if it has private fields. This is just a trick to prevent `ParseBoolError` from being constructed in user code. One reason to do this is for forwards compatibility. If users could create it with: ``` let error = ParseBoolError {}; ``` then a future version of `ParseBoolError` couldn't add fields without breaking that code.
Question by m-bat · Answer by Peter Hall · stackoverflow.com · CC BY-SA 4.0
43How do I convert a SystemTime to ISO 8601 in Rust? I have a `SystemTime` variable and I want to get the ISO 8601 format from that date.The chrono package is the right tool for the job here. `SystemTime` may or may not be UTC, and chrono takes care of many irritating little details. ``` use chrono::prelude::{DateTime, Utc}; fn iso8601(st: &std::time::SystemTime) -> String { let dt: DateTime<Utc> = st.clone().into(); format!("{}", dt.format("%+")) // formats like "2001-07-08T00:34:60.026490+09:30" } ``` To customize the format differen…
Question by Mathe Eliel · Answer by NovaDenizen · stackoverflow.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged rust, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

PHP

Answers PHP questions on the language, forms, sessions, databases and frameworks such as Laravel, from top-voted Stack Overflow answers.

902 examples930 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
40Laravel paginate order by What should I do to pass the values that you order by in patinate? routes.php ``` $ondata = DB::table('official_news') -> orderBy('created_date', 'desc') -> get() -> paginate(7); return View::make('main',array('ondata' => $ondata)); ``` error ``` C…This should do the trick: `$ondata = DB::table('official_news')->orderBy('created_date', 'desc')->paginate(7);`
Question by s0hno · Answer by (deleted user) · stackoverflow.com · CC BY-SA 3.0
22Artisan command says : Dotenv values containing spaces must be surrounded by quotes I'm trying to know the list of artisan command by using `php artisan list` . and the command return me the following error `[Dotenv\Exception\InvalidFileException] Dotenv values containing space…You should remove all spaces from `.env` file to make an app work again. If you have to use spaces, instead of this: ``` VAR=some data ``` Use quotes: ``` VAR="some data" ```
Question by Md. Abutaleb · Answer by Alexey Mezenin · stackoverflow.com · CC BY-SA 3.0
57Log rotating with Monolog in Symfony2 I'd like to know if there's any possibility to configure Monolog in Symfony2 to create a new log file every day, for example : 2013-11-21-prod.log.On linux, you can use logrotate (I don't know if exists other solutions on windows or macos) In /etc/logrotate.d/ create a file (eg. sf2_myapp) and add this content : ``` /path/to/your/symfony_app/app/logs/prod.log { daily missingok rotate 14 compress } ``` You should look for logrotate on Google for more infos
Question by mneute · Answer by loicfavory · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged php, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

SQL

Answers SQL questions on queries, joins, grouping and indexes in MySQL, PostgreSQL, SQL Server and SQLite, from top-voted Stack Overflow answers.

940 examples942 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
47How to convert postgres json to integer I can use `to_json(1)` to cast int to json, but how can I convert json to int? This may be too slow: ``` to_json(1)::text::int ``` Also, is json wrapped from a binary block (bson) or a simple wrapper of text?> to_json(1)::text::int maybe too slow But then, it's the only way. The second part of your question is unclear.
Question by Inshua · Answer by Denis de Bernardy · stackoverflow.com · CC BY-SA 3.0
37Connect to different port using MySql Command Line Client By default I am being connected to port 3309.I need to connect to port 3307.How do I do that?Use `-P` parameter, like this: ``` mysql -h 127.0.0.1 -P 3307 -u user_name -p database_name ``` Important: if you connecting to `localhost` - use `-h 127.0.0.1`, NOT `localhost`, because MySQL will connect by file socket, not by TCP
Question by Zafar Nasim · Answer by Evgeny A. Mamonov · stackoverflow.com · CC BY-SA 4.0
57Conversion of one or more characters from XML to target collation impossible When i am transferring a varchar field which is casted from xml. transfer from one server to another it shows a error error msg shown > Msg 6355, Level 16, State 1, Line 3 Conversion of one or more…At last got it This is due to 'र' in the xml column. It does not support to cast to varchar so i cast the xml field to nvarchar.
Question by Shyam Prasad · Answer by Shyam Prasad · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged sql, mysql, postgresql, sql-server or sqlite, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

R

Answers R questions on data frames, plotting with ggplot2, apply functions and data manipulation, from top-voted Stack Overflow answers.

795 examples927 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
14How to center the title in R Markdown I am learning to use `Rmarkdown` to prepare my technical document. One thing I am trying to figure out is how to center the headers? Do you guys have any ideas??You can mix html with markdown. For example ``` <center> <h1>heading 1</h1> </center> ``` There may be ways to center actual markdown instead of centering html, but that's easy enough.
Question by user2854008 · Answer by sckott · stackoverflow.com · CC BY-SA 3.0
19Change the color of action button in shiny I am trying to change the color of the action button from gray to orange. ``` actionButton("run","Run Analysis") ``` (This is in `server.R`.) Is it possible to change its color?You can use boostrap colors in the `class` attribute: ``` actionButton("run","Run Analysis", class = "btn-warning") ``` These are basic colors only but really usefull for graphic standards.
Question by Sam Kingston (CC BY-SA 3.0) · Answer by Clemsang (CC BY-SA 4.0) · stackoverflow.com
1increase legend font size ggplot2 Is there a way to increase the font size in `ggplot2`? I think I need to specify something like `legend.key.width = unit(2, "line")` in the `theme` function, but that is used to adjust the keys in legends, not the font sizes. Thanks!You can use `theme_get()` to display the possible options for theme. You can control the legend font size using: ``` + theme(legend.text=element_text(size=X)) ``` replacing X with the desired size.
Question by alittleboy (CC BY-SA 3.0) · Answer by Dominic Edwards (CC BY-SA 4.0) · stackoverflow.com

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged r, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Swift & iOS

Answers Swift and iOS questions on UIKit, SwiftUI, Xcode, layout and app behavior, from top-voted Stack Overflow answers.

732 examples899 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
31"Non-portable path to file "File.h"; specified path differs in case from file name on disk" warning in bridging header after updating to Xcode 8.3 I updated to Xcode 8.3 and Swift 3.1 and got this warning in my bridging header file, referencing to an Objective-C header file: >…It turned out that I misspelled the file's name, the correct name was "FILE.h" instead of "File.h". The warning appeared because of the soon coming APFS to macOS.
Question by Tamás Sengel · Answer by Tamás Sengel · stackoverflow.com · CC BY-SA 3.0
3How to make a UILabel clickable? I would like to make a UILabel clickable. I have tried this, but it doesn't work: ``` class DetailViewController: UIViewController { @IBOutlet weak var tripDetails: UILabel! override func viewDidLoad() { super.viewDidLoad()…Have you tried to set `isUserInteractionEnabled` to `true` on the `tripDetails` label? This should work.
Question by Daniele B (CC BY-SA 3.0) · Answer by Claudiu Iordache (CC BY-SA 4.0) · stackoverflow.com
57When Should I import Foundation in a Swift source file? When Should I `import Foundation` in a Swift source file? Xcode adds it in the default Template, but I was wondering when it is really required to import it.If you take a look at the Foundation Framework Reference you can see what's part of it. Particularly if you're not using anything that subclasses NSObject (NSString, NSArray, etc.), you probably can remove that. If you're using Objective-C, you'll probably need to use Foundation, but if your code is mainly Swift, you can just remove it since String, Array, are not subclasses of NSObject but part of the Swift Standa…
Question by fabmilo · Answer by fdiaz · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged swift, ios or swiftui, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Kotlin & Android

Answers Android questions in Kotlin and Java on activities, layouts, Gradle and app components, from top-voted Stack Overflow answers.

884 examples944 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
50Show Android SnackBar above keyboard? Is it possible to show the Android Snackbar above the keyboard (as in Y coordinate, not layering)? The Snackbar currently gets hidden if the keyboard is shown, which is an undesirable behavior.If you nest your layout in a ScrollView, the snackbar will appear on top of the keyboard. This is because the view will resize to take up only the available space above the keyboard. And, of course, your View will also be scroll-able if necessary at any time, while the keyboard is shown or not.
Question by fobbymaster · Answer by Menasheh · stackoverflow.com · CC BY-SA 3.0
15The SDK platform-tools version ((23)) is too old to check APIs compiled with API 23 I am getting this strange error on the first line of each file in my Android Studio. Everything was OK until I updated my Android Studio. Could someone explain to me what's going on and how to g…Update your android sdk platform-tools to the revision 23.0.1 from sdk manager. In android studio click File->Invalidate Caches/Restart... That's it. The error must be gone now.
Question by ruslash · Answer by rakex · stackoverflow.com · CC BY-SA 3.0
44java.lang.NoSuchMethodError: No virtual method elapsedNow()D in class Lkotlin/time/TimeMark I have recently updated the version of `Kotlin` to `1.4.0-rc`. Since then `Koin` is returning the run time error below: `java.lang.NoSuchMethodError: No virtual method elapsedNow()D in c…Apparently this issue is due to the usage of `androidLogger()` together with Koin. There is only a workaround for now, which is migrating from `androidLogger()` to `androidLogger(Level.ERROR)` There is already an issue created for this purpose: https://github.com/InsertKoinIO/koin/issues/847
Question by Aydinozkan · Answer by Aydinozkan · stackoverflow.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged kotlin or android, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Bash & shell scripting

Answers Bash and shell scripting questions on quoting, loops, text processing and command-line tools, from top-voted Stack Overflow answers.

887 examples921 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
25How to find package for installed file in Brew? How can I identify the package/formula for a given file, or a listing of all of a package's owned files, in Homebrew?To see all files in a package: ``` brew ls <package> ``` To find the package for a file, look at the file like this: ``` ls -l /usr/local/bin/whatever ``` If it was installed by Homebrew, it will be a symlink into `/usr/local/Cellar/something`, so that will tell you what package it's from.
Question by Dustin Oprea · Answer by Peter Eisentraut · stackoverflow.com · CC BY-SA 3.0
36How to display all the lines from the nth line of a file in unix I want to display all the lines starting from the nth line. Say, print the third line of a file and all the following lines until end of file. Is there a command for that?you can use tail excerpt from the manpage: ``` -n, --lines=K output the last K lines, instead of the last 10; or use -n +K to output lines starting with the Kth ``` for example ``` tail -n +10 file ``` outputs the files content starting with the 10th line
Question by user3905438 · Answer by Nikolaus Gradwohl · stackoverflow.com · CC BY-SA 3.0
34"Illegal option" error when using find on macOS I am trying to list the files only with the letter "R" at the end. I used `find` as follows in macOS Terminal, ``` find -type f -name '*R' ``` But I got the message saying `illegal option --t`.The first argument to `find` is the path where it should start looking. The path `.` means the current directory. ``` find . -type f -name '*R' ``` You must provide at least one path, but you can actually provide as many as you want: ``` find ~/Documents ~/Library -type f -name '*R' ```
Question by Gravity M · Answer by rob mayoff · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged bash, shell, sh or zsh, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Git

Answers Git questions on branching, merging, rebasing, undoing changes and remotes, from top-voted Stack Overflow answers.

912 examples948 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
43Replace remote tag with Git I have some tags on my "origin" repository. Then I realized I needed to add some changes on one of the tags, and push them back on my repository. Is there a way I can push an existing tag to the repository in one time, or should I delete the tag befo…This should not be the practice, though you can delete the tag and push the change to the remote repo. ``` git tag -d tag1 git push origin :refs/tags/tag1 ```
Question by azmeuk · Answer by Bijendra · stackoverflow.com · CC BY-SA 3.0
5Git merge two local branches I have branch `Master`, `branchA` and `branchB`. Now I'm working in the `branchA` and I need to merge `branchA` with `branchB` and proceed my work in the `branchA`. All files are comitted in the `branchA` and `branchB`. What's the fast way to implem…If I understood your question, you want to merge `branchB` into `branchA`. To do so, first checkout `branchA` like below, ``` git checkout branchA ``` Then execute the below command to merge `branchB` into `branchA`: ``` git merge branchB ```
Question by user3127896 · Answer by Abimaran Kugathasan · stackoverflow.com · CC BY-SA 4.0
60How to merge two GitHub accounts I have two GitHub accounts, one of this was created a long time ago at my work and has an username that refers to the company where I work. I have another account which is my personal GitHub account that I can't stop using. Could I merge the t…Merging 2 accounts is not possible at github, you can transfer ownership to your personal account. ``` goto >> Setting >>Transfer ownership ``` For more details : https://help.github.com/articles/merging-multiple-user-accounts/
Question by Rodrigo Curbelo (CC BY-SA 4.0) · Answer by Snopzer (CC BY-SA 3.0) · stackoverflow.com

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged git, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Docker & containers

Answers Docker, Docker Compose and Kubernetes questions on images, networking, volumes and deployments, from top-voted Stack Overflow answers.

829 examples945 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
47How to get Kubernetes cluster name from K8s API As stated in the title, is it possible to find out a K8s cluster name from the API? I looked around the API and could not find it.I dont believe there is a k8s cluster name. This command could provide some nice informations > kubectl cluster-info
Question by Alex · Answer by Bhaal22 · stackoverflow.com · CC BY-SA 3.0
37How can I get docker container root's password How can I get docker container root's password? ``` [root@localhost train02]# docker exec -it jenkins /bin/bash [jenkins@89d5aa94e6ec /]ls /root ls:cannot open directory /root: Permission denied ```If you're using the docker (>=1.7.0), please pass `-u` option to `docker exec`: ``` docker exec -it -u root jenkins /bin/bash ``` It'll run /bin/bash as root user.
Question by user2492364 · Answer by kev · stackoverflow.com · CC BY-SA 3.0
16How to install "ifconfig" command in my ubuntu docker image? I've just installed ubuntu docker image, when I execute "ifconfig" it says there's no such command, I tried apt-get install by there's no package named "ifconfig"(I can install some other images). So how to do this?…On a fresh ubuntu docker image, run ``` apt-get update apt-get install net-tools ``` These can be executed by logging into the docker container or add this to your dockerfile to build an image with the same.
Question by Hind Forsum (CC BY-SA 3.0) · Answer by vishnu narayanan (CC BY-SA 4.0) · stackoverflow.com

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged docker, docker-compose or kubernetes, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

pandas & data wrangling

Answers pandas and NumPy questions on selecting, grouping, reshaping and cleaning data, from top-voted Stack Overflow answers.

792 examples937 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
3How to check whether a pandas DataFrame is empty? How to check whether a pandas `DataFrame` is empty? In my case I want to print some message in terminal if the `DataFrame` is empty.You can use the attribute `df.empty` to check whether it's empty or not: ``` if df.empty: print('DataFrame is empty!') ``` Source: Pandas Documentation
Question by Nilani Algiriyage (CC BY-SA 3.0) · Answer by aIKid (CC BY-SA 4.0) · stackoverflow.com
30Is there a head and tail method for Numpy array? I loaded a csv file into 'dataset' and tried to execute dataset.head(), but it reports an error. How to check the head or tail of a numpy array? without specifying specific lines?For a head-like function you can just slice the array using `dataset[:10]`. For a tail-like function you can just slice the array using `dataset[-10:]`.
Question by ling · Answer by feedMe · stackoverflow.com · CC BY-SA 4.0
59Pandas read_json ValueError: Protocol not known I ran the following code a while ago and it worked but now there is the following error. How to solve it? > ValueError: protocol not known. ``` import json temp = json.dumps([status._json for status in tweet]) # create JSON newdf…The solution in my case consisted in using `StringIO` as below: ``` from io import StringIO newdf = pd.read_json(StringIO(temp)) ``` Looks like `pd.read_json` in Pandas 1.1 is no more accepting simple string.
Question by Jason · Answer by ehabets · stackoverflow.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged pandas, numpy or dataframe, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

React

Answers React questions on components, state, hooks, rendering and Next.js, from top-voted Stack Overflow answers.

847 examples939 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
34How do I access refs of a child component in the parent component If I have something like ``` <Parent> <Child1 /> <Child2 /> <Child3 /> </Parent> ``` And I want to access from `Child2` where I have `refs="child2refs"`, how can I do that?First access the children with: `this.props.children`, each child will then have its `ref` as a property on it.
Question by user1354934 · Answer by omarjmh · stackoverflow.com · CC BY-SA 3.0
49What does this warning message mean? 'img elements must have an alt prop, either with meaningful text, or an empty string for decorative images' Why am I getting this warning? > It's showing line number 13 but there is nothing props is using.It means when you create an image in your HTML, you should include an `alt` attribute for the benefit of screen readers and text browsers. ``` <img src="url" alt="description of image"> ```
Question by (deleted user) · Answer by Barmar · stackoverflow.com · CC BY-SA 3.0
57react-select: how to keep dropdown open when styling in inspector? I'm using react-select and I'm customizing it,I didn't found an option to do this. Is there some workaround I can use to keep dropdown open when I'm styling it?By using the Chrome React extension, you can force the "isOpen" (v3: "menuIsOpen") state value to true on the Select component. more info here: https://github.com/JedWatson/react-select/issues/927#issuecomment-313022873
Question by lucasviewup (CC BY-SA 3.0) · Answer by ghashi (CC BY-SA 4.0) · stackoverflow.com

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged reactjs, react-hooks or next.js, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Excel formulas & VBA

Answers Excel formula, VBA macro and Google Sheets questions, from top-voted Stack Overflow answers.

474 examples622 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
55Making QUERY function case insensitive ``` =QUERY(D4:F385;"select D,F where D contains '"&J4&"'") ``` If in J4 cell we have `tree`, this query grabs cells containing `tree`, but not `Tree`. How to make it case insensitive?Changing the formula from: `=QUERY(D4:F385;"select D,F where D contains '"&J4&"'")` to: `=QUERY(D4:F385;"select D,F where LOWER(D) contains '"&J4&"'")` will do the trick! The more elegant solution would be welcomed.
Question by Andrew Anderson · Answer by Andrew Anderson · stackoverflow.com · CC BY-SA 3.0
16Is there Infinity in Spreadsheets? I am wondering if there is any way to represent infinity (or a sufficiently high number) in MS Excel. I am particularly looking for something like `Double.POSITIVE_INFINITY` or `Double.MAX_VALUE` in Java.I like to use 1e99 as it gives the largest number with the fewest keystrokes but I believe the absolute maximum is actually 9.99999E+307. At that stage of the number spectrum I don't think there is much difference as far as Excel is concerned.
Question by k88074 · Answer by (deleted user) · stackoverflow.com · CC BY-SA 3.0
34How to export a csv from Google Sheet API? I can't find any reference to an API that enables Rest API clients to export an existing Google Sheet to a csv file. https://developers.google.com/sheets/ I believe there should be a way to export them.You can use the Drive API to do this today -- see https://developers.google.com/drive/v3/web/manage-downloads#downloading_google_documents, however that will limit you to the first sheet of the document. The Sheets API doesn't expose exporting as CSV today, but may offer it in the future.
Question by user1447414 · Answer by Sam Berlin · stackoverflow.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to questions tagged excel, excel-formula, vba or google-sheets, question score 3+ and answer score 2+; answers that explain rather than only paste code, no images, at most two links per row.

Source and license

Stack Overflow · CC BY-SA 4.0

Questions and answers by Stack Overflow users, from the Stack Exchange data dump on archive.org as converted to Markdown in the Hugging Face dataset mikex86/stackoverflow-posts (posts up to June 2023). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Python practice problems

Writes short Python functions for entry-level programming tasks that pass the given tests, from Google Research's Mostly Basic Python Problems (MBPP).

972 examples461 KB CSVCC BY 4.0

A few of its rows

rowquestionanswer
35Write a function to find the n-th rectangular number. Your code should pass these tests: assert find_rect_num(4) == 20 assert find_rect_num(5) == 30 assert find_rect_num(6) == 42def find_rect_num(n): return n*(n + 1)
59Write a function to find the nth octagonal number. Your code should pass these tests: assert is_octagonal(5) == 65 assert is_octagonal(10) == 280 assert is_octagonal(15) == 645def is_octagonal(n): return 3 * n * n - 2 * n
55Write a function to find t-nth term of geometric series. Your code should pass these tests: assert tn_gp(1,5,2)==16 assert tn_gp(1,5,4)==256 assert tn_gp(2,6,3)==486import math def tn_gp(a,n,r): tn = a * (math.pow(r, n - 1)) return tn

How the rows were picked

All MBPP problems from every split, in their hand-revised wording where one exists (the original where the revision cites a web page); each reference solution was run against the tests shown and kept only if it passes.

Source and license

Mostly Basic Python Problems (MBPP) · CC BY 4.0

Problems, reference solutions and tests written by crowd workers at Google; released by Google Research (Austin et al., 2021, "Program Synthesis with Large Language Models").

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Competitive programming (Python)

Solves competitive programming problems in Python 3 from their statements, from DeepMind's CodeContests: AtCoder, Codeforces and Aizu problems with accepted human solutions.

849 examples916 KB CSVCC BY 4.0

A few of its rows

rowquestionanswer
11You are given an integer N that has exactly four digits in base ten. How many times does `2` occur in the base-ten representation of N? Constraints * 1000 \leq N \leq 9999 Input Input is given from Standard Input in the following format: N Output Print the answer. Exampl…def solve(): print(input().count("2")) solve()
18Write a program which replace all the lower-case letters of a given text with the corresponding captital letters. Input A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200. Output Print…# -*- coding: utf-8 -*- def main(_text: str): print(_text.upper()) while True: try: text = input() except: break main(text)
21Write a program which converts uppercase/lowercase letters to lowercase/uppercase for a given string. Constraints * The length of the input string < 1200 Input A string is given in a line. Output Print the converted string in a line. Note that you do not need to convert an…#!usr/bin/env python3 def main(): print(input().swapcase()) if __name__ == '__main__': main()

Long rows are cut short here (…).

How the rows were picked

Compact, image-free, untranslated statements (Codeforces from contest 1000 on), each with the most readable accepted Python 3 solution that reproduces every public example when run; judges interleaved.

Source and license

CodeContests (DeepMind) · CC BY 4.0

CodeContests by DeepMind (Li et al., 2022, "Competition-Level Code Generation with AlphaCode"): problem statements and accepted human solutions from AtCoder and Aizu (via IBM's Project CodeNet, Apache 2.0) and Codeforces (materials from codeforces.com).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Write SQL from plain English

Writes SQL queries, from simple lookups to joins, grouping and nested queries, for plain-English questions about a given table schema, from the Spider text-to-SQL dataset.

1,000 examples319 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
49Table schema: CREATE TABLE farm (Id VARCHAR); How many farms are there?SELECT COUNT(*) FROM farm
31Table schema: CREATE TABLE Tasks (Id VARCHAR); How many tasks are there in total?SELECT COUNT(*) FROM Tasks
10Table schema: CREATE TABLE hiring (Id VARCHAR); Give me all the information about hiring.SELECT * FROM hiring

How the rows were picked

Spider questions with their SQL, one per table set; one question per distinct query, and every query runs on its schema in SQLite.

Source and license

Spider (via sql-create-context) · CC BY-SA 4.0

Questions and SQL from Spider (Yu et al., 2018; Yale LILY Lab; CC BY-SA 4.0), written by people; CREATE TABLE statements generated mechanically with SQLGlot in sql-create-context by b-mc2 (2023; CC BY 4.0).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Software design & architecture

Answers questions on object-oriented design, design patterns, APIs and system architecture, from Software Engineering Stack Exchange's top-voted answers.

818 examples955 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
41What's in the "contrib" folder? Often open-source software projects have a folder called "contrib". For example, Django has one. What is it for?It is for software that has been **contrib**uted to the project, but which might not actually be maintained by the core developers. Naming it "contrib" or "Contrib" is a long established convention, but there's really nothing special about the name, and it's usually only used by fairly large projects.
Question by Colonel Panic · Answer by Bryan Oakley · softwareengineering.stackexchange.com · CC BY-SA 3.0
40What's a generic word for both Methods and Attributes? In a class diagram, each class contains methods and attributes. What's the correct word for describing both of them besides something generic such as contents or items? Context: > The Orange class extends the Fruit class…The word you're looking for is "members". Typically they are referred to as "class members". > The Orange class extends the Fruit class and inherits its members.
Question by Jay Wick · Answer by zzzzBov · softwareengineering.stackexchange.com · CC BY-SA 3.0
7Is using nested try-catch blocks an anti-pattern? Is this an antipattern? It is an acceptable practice? ``` try { //do something } catch (Exception e) { try { //do something in the same line, but being less ambitious } catch (Excepti…This is sometimes unavoidable, especially if your recovery code might throw an exception. Not pretty, but sometimes there are no alternatives.
Question by Mister Smith · Answer by Oded · softwareengineering.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions tagged design, design-patterns, architecture, object-oriented-design, domain-driven-design, api-design and similar; concise posts only, no images, at most two links, nothing that leans on a missing link or the comments.

Source and license

Software Engineering Stack Exchange · CC BY-SA 4.0

Questions and answers by Software Engineering users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Coding

Close

Websites & SEO

Answers questions on running websites: domains, DNS, hosting, SEO, analytics and site email, from Webmasters Stack Exchange's top-voted answers.

891 examples954 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
25What is the Google Chrome equivalent to Firebug? I'm looking for a tool that can: - inspect HTML elements - manage/debug JavaScript - profile performance - modify elements in real-timeIt's built in. Page [paper] -> Developer -> Developer tools (in Chrome v5 and under). It is likely to be different in v6 since the Page button appears to be disappearing in that version.
Question by Evan Plaice · Answer by Mark Hatton · webmasters.stackexchange.com · CC BY-SA 2.5
41What's the maximum length of the meta keywords tag? Could you please tell me that what is the maximum length for meta keywords?FYI, meta keywords have no effect on SEO whatsoever. There is no official length requirement but generally you'll see people mention anywhere from 100 to 255 characters. Just be sure to put in the words that match your page's content and don't worry about anything else.
Question by Navruk · Answer by John Conde · webmasters.stackexchange.com · CC BY-SA 3.0
55How do StackOverflow questions appear in Google search results so quickly? How is it that questions posted to the Stack Overflow show up as #1 in Google search results just minutes after being submitted? What SEO practices are being used to generate this sort of up-to-the-minut…Sites with high PR and are frequently updated will have their sites crawled more quickly then normal. So it's not a technique, per sé, so much as it is a result of the site being popular and constantly changing.
Question by Scott Schluer (CC BY-SA 3.0) · Answer by John Conde (CC BY-SA 2.5) · webmasters.stackexchange.com

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 1,000 and answers up to 1,600 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

Webmasters Stack Exchange · CC BY-SA 4.0

Questions and answers by Webmasters users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

IT & systems

Close

PC & Windows troubleshooting

Answers questions on Windows 10 and 11 PCs: settings, drivers, disks, boot problems, hardware, home networking and browsers, from Super User.

1,000 examples945 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
32Is it possible to disable default /vagrant synced folder? According to source code - it's not, but what if I'm wrong? So the final question: is it possible to run a vagrant VM (virtualbox-driven) without `/vagrant` synced folder?Yes. In the Vagrantfile: ``` Vagrant.configure('2') do |config| config.vm.synced_folder '.', '/vagrant', disabled: true # ... end ```
Question by zerkms · Answer by tmatilai · superuser.com · CC BY-SA 3.0
41Windows 10 Powershell tree command, how to show files How do I list folders and files using the PowerShell `tree` command? Is it possible to color format the output for distinct files and folders?Simply use `tree /F` on any powershell instance to have the same behavior the normal `tree` on UNIX has. The `tree` alone on Powershell shows only folders but not files in them.
Question by Tuomas Toivonen (CC BY-SA 4.0) · Answer by Juansero29 (CC BY-SA 3.0) · superuser.com
22How to rearrange virtual desktops in Windows 10 Is there any solution on how I could rearrange my virtual desktops in the task-view (WIN+TAB)?This is not possible in the current version of Windows 10 (20H2) or earlier versions. However, the recent Windows 10 Insider Preview Build 21337 mentions this feature. We can only hope that this feature will be rolled out to Windows 10 in an upcoming update.
Question by PatrickMA (CC BY-SA 3.0) · Answer by Bungicasse (CC BY-SA 4.0) · superuser.com

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions from 2014 on with a question score of 2 and an answer score of 5 or more; Windows XP to 8.1 and Internet Explorer left out, as are Linux, Mac, Office-document, developer, server and CAD questions; no images, at most two links.

Source and license

Super User · CC BY-SA 4.0

Questions and answers by Super User users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

IT & systems

Close

Ubuntu & Linux desktop

Answers questions on installing, configuring and fixing Ubuntu: packages and apt, drivers, the GNOME desktop, networking, upgrades and the terminal, from Ask Ubuntu.

1,000 examples930 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
15How can I tell if I am running Wayland? Wayland is the default display server for Ubuntu 17.10 "on supported systems". But how can I tell if my platform is supported and I'm actually using Wayland?Open the terminal and type in: ``` echo $XDG_SESSION_TYPE ``` Check if it prints `wayland`.
Question by Sumeet Deshmukh (CC BY-SA 3.0) · Answer by funicorn (CC BY-SA 4.0) · askubuntu.com
10Is there a way to create multiple directories at once with mkdir? If I wanted to create multiple directories (on the same level) and then feed it a comma seperated list of directory names (or something to that effect)?Short answer `mkdir` takes multiple arguments, simply run ``` mkdir dir_1 dir_2 ```
Question by BGroat (CC BY-SA 3.0) · Answer by Jacob Vlijm (CC BY-SA 4.0) · askubuntu.com
11How can I toggle the Fn (function) key? Is there a way to toggle the Fn key? I'd like to be able to toggle it so I don't have to press Fn+F12 to raise the volume, for example. I'm running Ubuntu 16.04.1 LTS on an Asus D550C.For some computer models, to toggle F1 .. F12 keys use media functions or to be the "F" keys press Fn + Esc .
Question by oscar (CC BY-SA 3.0) · Answer by Andrew (CC BY-SA 4.0) · askubuntu.com

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions from 2016 on with a question score of 2 and an answer score of 5 or more; Ubuntu 15.10 and older, Unity, Upstart and other retired parts left out, as are text-processing questions; no images, at most two links.

Source and license

Ask Ubuntu · CC BY-SA 4.0

Questions and answers by Ask Ubuntu users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

IT & systems

Close

Linux & Unix command line

Answers questions on the Linux and Unix command line: bash and shell scripting, sed, awk, grep and find, files and permissions, processes, SSH and systemd, from Unix & Linux Stack Exchange.

1,000 examples904 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
44What are the systemctl options to "List all failed units" ``` systemctl ``` Returns a list of the units, whether they are loaded, active, their sub and description. ``` systemctl is-failed ``` Returns a list of status only. What is the syntax to return the details of the fa…You can use `systemctl list-units --state=failed` to list all failed units. The parameters for systemctl are documented in the man page systemctl(1).
Question by Tai Paul · Answer by cg909 · unix.stackexchange.com · CC BY-SA 4.0
60How do I check if a variable exists in an 'if' statement? I need to check a variable's existence in an `if` statement. Something to the effect of: ``` if [ -v $somevar ] then echo "Variable somevar exists!" else echo "Variable somevar does not exist!" ``` And the clos…In modern bash (version 4.2 and above): ``` [[ -v name_of_var ]] ``` From `help test`: > -v VAR, True if the shell variable VAR is set
Question by user104976 · Answer by Chris Down · unix.stackexchange.com · CC BY-SA 3.0
10Open `less` scrolled to the end Is there a way to open `less` and have it scroll to the end of the file? I'm always doing `less app.log` and then pressing `G` to go to the bottom. I'm hoping there's something like `less --end` or `less -exec 'G'`.`less +G app.log` `+` will run an initial command when the file is opened `G` jumps to the end When multiple files are in play, `++` applies commands to every file being viewed. Not just the first one. For example, `less ++G app1.log app2.log`.
Question by Miles (CC BY-SA 3.0) · Answer by Miles (CC BY-SA 4.0) · unix.stackexchange.com

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions from 2014 on with a question score of 3 and an answer score of 8 or more; desktop, graphics, audio and boot-loader questions and long-gone releases left out; no images, at most two links.

Source and license

Unix & Linux Stack Exchange · CC BY-SA 4.0

Questions and answers by Unix & Linux users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

IT & systems

Close

Servers & system administration

Answers system administrators' questions on Linux and Windows servers, web servers, DNS, email, networking, cloud hosting and Active Directory, from Server Fault.

1,000 examples929 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
3How do I do 'mount --bind' in /etc/fstab? I'm trying to add `mount --bind /proc/ /chroot/mysql/proc` to `/etc/fstab`. How can I do this?The `mount` command accepts `--bind` or `-o bind`. In the `/etc/fstab` file, you can use the following line: ``` /source /destination none defaults,bind 0 0 ```
Question by Some Linux Nerd (CC BY-SA 3.0) · Answer by Matheus (CC BY-SA 4.0) · serverfault.com
27Why drop caches in Linux? In our servers we have a habit of dropping caches at midnight. ``` sync; echo 3 > /proc/sys/vm/drop_caches ``` When I run the code it seems to free up lots of RAM, but do I really need to do that. Isn't free RAM a waste?You are 100% correct. It is not a good practice to free up RAM. This is likely an example of cargo cult system administration.
Question by ivcode · Answer by David Schwartz · serverfault.com · CC BY-SA 3.0
41Convert value of an Ansible variable from lower case to upper case I am working on a playbook to join linux systems to Active Directory. I can't seem to find a way to convert the value of ansible_hostname to uppercase. One of the commands I need to run requires the hostname to…As Hector Valverde mentionned, it seems to be ``` {{ ansible_hostname|upper }} ``` ...rather than "uppercase"
Question by grahamjgreen · Answer by Pom12 · serverfault.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions from 2014 on with a question score of 2 and an answer score of 5 or more; Windows Server 2008 R2, CentOS 6, Apache 2.2 and other long-retired releases left out; no images, at most two links.

Source and license

Server Fault · CC BY-SA 4.0

Questions and answers by Server Fault users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

IT & systems

Close

Mac & iPhone help

Answers everyday questions about Macs, iPhones and iPads: macOS settings, Terminal, Finder, iCloud, backups and hardware, from Ask Different (Apple Stack Exchange).

1,000 examples933 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
15How do I re-center Spotlight search bar (Mac)? Spotlight search bar is no longer centered, how do I put it back?Click and hold the Spotlight icon on the menu bar, until the Spotlight window has returned to its original location.
Question by Ben Wainwright · Answer by Redarm · apple.stackexchange.com · CC BY-SA 3.0
54Installing fonts from terminal instead of Font Book? I know how do install new fonts using Font Book. Is there also a way to install fonts from the terminal, using some smart shell command?You can simply copy them into `/Library/Fonts` (for system wide use) or `~/Library/Fonts` (for use by current user).
Question by RocketNuts · Answer by Dan · apple.stackexchange.com · CC BY-SA 3.0
5How do I run a .sh or .command file in Terminal I've always wanted to be able to run a script I've downloaded online directly from the Finder but just double clicking the file does not work.Open Terminal, type in `sh /path/to/file` and press enter. Faster is to type `sh` and a space and then drag the file to the window and release the icon anywhere on the window.
Question by Maximus · Answer by Maximus · apple.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to upvoted open questions from 2016 on, each answer scored 3 or more; OS X 10.11 and older, iOS 10 and older and discontinued apps such as iTunes left out; no images, at most two links.

Source and license

Ask Different (Apple Stack Exchange) · CC BY-SA 4.0

Questions and answers by Ask Different users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

IT & systems

Close

Android phone help

Answers practical questions about Android phones and tablets: settings, apps, storage, backups, ADB, rooting and custom ROMs, from Android Enthusiasts Stack Exchange.

1,000 examples951 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
47Change the default backup time of WhatsApp messages The default backup time for WhatsApp is specific (in my case, it's 4:00 AM). Although we can manually backup at any time, how do we change the default backup time?Sadly, it cannot be done. WhatsApp doesn't allow any other time to be set for the automatic backup of messages.
Question by Dalvik · Answer by wuodland · android.stackexchange.com · CC BY-SA 3.0
55Fastboot on Samsung devices I was trying to do some fastboot commands on my Galaxy devices (Galaxy S4, 9515, 4Tab4), I start with fastboot devices and I am getting nothing (after `adb reboot bootloader`), is there any problem with samsung devices?Simple... Samsung devices do not support fastboot, you use Odin or Heimdall to flash what you need.
Question by medlamine Semassel · Answer by acejavelin · android.stackexchange.com · CC BY-SA 3.0
35How to disable "save password to Google?" prompt? I am currently using a Galaxy Tab A 2016 on Oreo and the above prompt pops up everytime I log in an app. Is there a way to disable this prompt? Thanks.FYI, for future readers, I believe the correct way to disable this feature is by going to: Settings > General management > Language and input Then, under "Input Assistance," set "Autofill services" to "None."
Question by iLW · Answer by Yanni · android.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to upvoted open questions from 2015 on; Android 5 and older, pre-2015 phones and discontinued apps left out; no images, at most two links, nothing that points to other answers or comments.

Source and license

Android Enthusiasts Stack Exchange · CC BY-SA 4.0

Questions and answers by Android Enthusiasts users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

IT & systems

Close

Information security

Answers questions on passwords, encryption, TLS and certificates, authentication, malware and web application security, from Information Security Stack Exchange.

996 examples957 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
30Is it really safe to use Signal or Telegram on untrusted phone hardware? How safe are we when we use phone hardware from untrusted manufacturers and use end-to-end encrypted communication like Signal and Telegram? Are our conversations really safe from keyloggers or spyware? An…The short answer is that if the hardware is compromised, then anything you can read, it can read.
Question by mech · Answer by schroeder · security.stackexchange.com · CC BY-SA 4.0
16Is it true that meltdown and spectre were intended as debug tools? I heard from a guy that's involved in low-level (assembler, C for drivers and OSes) programming, that meltdown and spectre weren't actually vulnerabilities discovered only so recently, but they were openly known…It's not even remotely true. Although you can use a Meltdown or Spectre attack to inspect the internals of a program in the way a debugger can, a proper debugger is much faster, easier, and more reliable.
Question by Antek · Answer by Mark · security.stackexchange.com · CC BY-SA 3.0
38What is the point of encrypting the home directory? If I have selected a good password and kept it secret, what is the point of encrypting my home directory, as a setup option with some flavors of Linux offer during setup? Won't the Linux permissions keep unwanted eyes away fr…The point is to protect against your disk being accessed outside of the OS. Encryption is useful against attackers who have physical access to your computer. Without it, it would be trivial to read out the content of your home directory, for example by plugging in a live boot USB stick.
Question by Jon Wadsworth · Answer by tim · security.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to upvoted open questions from 2014 on, each answer scored 5 or more; no images, at most two links, nothing tied to Windows XP-era software or pointing to other answers or comments.

Source and license

Information Security Stack Exchange · CC BY-SA 4.0

Questions and answers by Information Security users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

IT & systems

Close

Database administration

Answers questions on running SQL Server, PostgreSQL, MySQL and Oracle databases: indexes, query performance, backups, replication and permissions, from Database Administrators Stack Exchange.

971 examples947 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
11postgresql: how to define a JSONB column with default value I am unable to find in the documentation how to create a `JSONB` column in PostgreSQL that has a `DEFAULT` value of an empty json document. How the above can be stated in the `CREATE TABLE` definition ?That's the same as with any other default value: ``` create table amsterdam ( id integer primary key, payload jsonb not null default '{}'::jsonb ); ```
Question by nskalis · Answer by user1822 · dba.stackexchange.com · CC BY-SA 4.0
30How to remove string quotes in MySQL 5.7 for function JSON_EXTRACT? Other than doing string manipulation after each `JSON_EXTRACT`, is there a simpler or more correct way to have the `JSON_EXTRACT` return the string WITHOUT the enclosing quotes? Or should this question be on S…If you have MySQL 5.7.13 or later, you may use `JSON_UNQUOTE()` instead of `JSON_EXTRACT()` or `->>` instead of `->`. Example: `SELECT field->>"$.foo.barr" FROM table;`
Question by Hvisage (CC BY-SA 4.0) · Answer by AXM (CC BY-SA 3.0) · dba.stackexchange.com
14How to determine if an Oracle table is locked or not? We've been using BI software and a repository database that are installed on Oracle Enterprise 11gR2. Some of these batch reports will try to access a database table which may still be locked. How can I find out if an Oracl…Following query gives details of all locks. ``` SELECT B.Owner, B.Object_Name, A.Oracle_Username, A.OS_User_Name FROM V$Locked_Object A, All_Objects B WHERE A.Object_ID = B.Object_ID ```
Question by Selahattin · Answer by Ravindra Reddy · dba.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to upvoted open questions from 2014 on, each answer scored 3 or more; questions tagged with long-retired versions (SQL Server 2008 R2 and older, Oracle 10g, PostgreSQL 9.2, MySQL 5.1 and older) left out; no images, at most two links.

Source and license

Database Administrators Stack Exchange · CC BY-SA 4.0

Questions and answers by Database Administrators users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify banking requests

Recognizes which of 77 banking requests a customer message is about, such as a card that hasn't arrived or a declined transfer, from PolyAI's BANKING77 dataset.

1,000 examples127 KB CSVCC BY 4.0

A few of its rows

rowquestionanswer
60Which banking request is this? Customer message: My top-up isn't working.Top-up failed
1Which banking request is this? Customer message: Please send my refund now.Refund not showing up
23Which banking request is this? Customer message: Which atms allow me to change my pin?Change PIN

How the rows were picked

Customer messages from the train and test splits, about 13 per intent taken in turn so all 77 appear evenly; messages under three words or filed under two intents are left out.

Source and license

BANKING77 (PolyAI) · CC BY 4.0

BANKING77 by Iñigo Casanueva, Tadas Temčinas, Daniela Gerz, Matthew Henderson and Ivan Vulić (PolyAI): online banking queries annotated with 77 intents.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify assistant requests

Recognizes which of 150 everyday requests to a virtual assistant a message makes, or that it is out of scope, across banking, travel, cooking, work and small talk, from the CLINC150 dataset.

1,000 examples104 KB CSVCC BY 3.0

A few of its rows

rowquestionanswer
7Which request to the assistant is this? Request: are you aiAre you a bot
37Which request to the assistant is this? Request: define sonogramDefinition
53Which request to the assistant is this? Request: good bye my friendGoodbye

How the rows were picked

Requests from all splits of the 'plus' version, the 150 intents taken in turn (6-7 each) with an out-of-scope request in every 20 rows; requests filed under two intents are left out.

Source and license

CLINC150 (clinc_oos, plus) · CC BY 3.0

CLINC150 by Stefan Larson, Anish Mahendran, Joseph J. Peper, Christopher Clarke, Andrew Lee, Parker Hill, Jonathan K. Kummerfeld, Kevin Leach, Michael A. Laurenzano, Lingjia Tang and Jason Mars (Clinc): crowd-written requests to a task-oriented assistant, 150 intents plus out-of-scope queries.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify customer-support requests

Recognizes what a customer is asking for at the start of an online-store support chat, such as a refund status or a promo code that fails, from ASAPP's ABCD customer-service conversations.

1,000 examples193 KB CSVMIT

A few of its rows

rowquestionanswer
36Which customer-support request is this? Customer: The shipping cost is too high for meShipping issue: shipping cost
25Which customer-support request is this? Customer: I want to know the state of my refundProduct defect: update refund
48Which customer-support request is this? Customer: I would like to pay my subscription feeSubscription inquiry: manage pay bill

How the rows were picked

The customer's opening message(s) from all splits, before the agent asks for identity details; the 55 intents taken in turn (about 18 each); openings under eight words, and item questions that don't name the item, are left out.

Source and license

Action-Based Conversations Dataset (ABCD), ASAPP Research · MIT

Action-Based Conversations Dataset (ABCD) by ASAPP Research (Chen et al., NAACL 2021), MIT License: over 10,000 human-to-human customer-service chats with 55 intents. Copyright (c) 2021 ASAPP Research.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify emotions

Recognizes the emotion a short comment expresses, among 27 emotions such as gratitude, annoyance or relief, or none (neutral), from Google's GoEmotions Reddit comments.

1,000 examples125 KB CSVApache 2.0

A few of its rows

rowquestionanswer
31Which emotion does this comment express? Comment: It does infuriate me.Anger
55Which emotion does this comment express? Comment: This hurts to watchSadness
16Which emotion does this comment express? Comment: thank you in turn! :DGratitude

How the rows were picked

Comments from all splits labeled with exactly one emotion, the 28 labels taken in turn (about 36 each, neutral included), preferring comments every rater agreed on; short ones, links and slurs left out.

Source and license

GoEmotions (Google Research) · Apache 2.0

GoEmotions by Dorottya Demszky, Dana Movshovitz-Attias, Jeongwoo Ko, Alan Cowen, Gaurav Nemade and Sujith Ravi (Google Research, Amazon Alexa, Stanford): Reddit comments labeled for 27 emotions or neutral by human raters.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify financial news sentiment

Tells whether a short financial news post is bullish, bearish or neutral for the market or stock it mentions, from the Twitter Financial News sentiment dataset.

1,000 examples137 KB CSVMIT

A few of its rows

rowquestionanswer
60Is this financial news post bullish, bearish or neutral? Post: Think BIG, then think BIGGER.Neutral
6Is this financial news post bullish, bearish or neutral? Post: UniCredito Spa reports Q4 resultsNeutral
9Is this financial news post bullish, bearish or neutral? Post: PJT Partners declares $0.05 dividendNeutral

How the rows were picked

Posts from the train and validation splits, the three labels taken in turn; trailing t.co links are removed, and posts under five words, cut off before a link, or with other links are left out.

Source and license

Twitter Financial News (sentiment) · MIT

Twitter Financial News sentiment dataset by zeroshot (Hugging Face): finance-related tweets annotated as bearish, bullish or neutral, released under the MIT License.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify people, places & organizations

Finds the names in a sentence (people, places, organizations, events, works, products and more) and labels each one's type, from Few-NERD's hand-annotated Wikipedia sentences.

1,000 examples295 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
1List the named entities in this sentence, each with its type. Sentence: It is similar to platinum in color.No named entities.
40List the named entities in this sentence, each with its type. Sentence: Specimens of nine children had human coronavirus HKU1.HKU1 — Other (biology term)
3List the named entities in this sentence, each with its type. Sentence: It is now at the Museum of Fine Arts of Lyon.Museum of Fine Arts of Lyon — Building

How the rows were picked

Sentences of 8-45 words with up to six entities, taken in turn by their rarest entity type so all eight types appear, plus one sentence without entities in every 20; tokens joined back into plain text.

Source and license

Few-NERD (supervised) · CC BY-SA 4.0

Few-NERD by Ning Ding, Guangwei Xu, Yulin Chen, Xiaobin Wang, Xu Han, Pengjun Xie, Hai-Tao Zheng and Zhiyuan Liu (Tsinghua University and Alibaba): Wikipedia sentences with manually annotated named entities (8 coarse and 66 fine types).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify contract clause types

Recognizes which of 100 kinds of contract clause a provision is, such as governing law, indemnification or severability, from LEDGAR's provisions of contracts filed with the US SEC.

1,000 examples534 KB CSVCC BY 4.0

A few of its rows

rowquestionanswer
36Which type of contract clause is this? Clause: The Company hereby agrees to employ Executive, and Executive hereby agrees to accept employment by the Company, upon the terms and conditions set forth in this Agreement.Employment
2Which type of contract clause is this? Clause: Upon the timely exercise by Editas of a Profit-Sharing Option, the Parties shall negotiate in good faith the terms of a Profit-Sharing Agreement for the applicable Co-Co Product.Agreements
9Which type of contract clause is this? Clause: All of the terms and provisions of this Amendment shall be binding upon and inure to the benefit of the parties hereto, their respective successors, assigns and legal representatives.Assigns

How the rows were picked

Complete provisions of 150-900 characters from all splits, the 100 clause types taken in turn (10 each); provisions filed under two types are left out.

Source and license

LEDGAR, from LexGLUE · CC BY 4.0

LEDGAR by Don Tuggener, Pius von Däniken, Thomas Peetz and Mark Cieliebak: contract provisions from US SEC EDGAR filings labeled by their main topic; as packaged in LexGLUE by Ilias Chalkidis, Abhik Jana, Dirk Hartung, Michael Bommarito, Ion Androutsopoulos, Daniel Martin Katz and Nikolaos Aletras.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify unfair terms of service

Spots potentially unfair terms in online terms of service, such as unilateral changes, limitation of liability or forced arbitration, or says a clause looks fair, from UNFAIR-ToS.

1,000 examples310 KB CSVCC BY 4.0

A few of its rows

rowquestionanswer
16Which kind of unfair term, if any, does this terms-of-service clause contain? Clause: you should look at the terms regularly.Unilateral change
60Which kind of unfair term, if any, does this terms-of-service clause contain? Clause: and we may suspend or stop a service altogether.Unilateral termination
39Which kind of unfair term, if any, does this terms-of-service clause contain? Clause: we may revise these terms of use at any time by amending this page.Unilateral change

How the rows were picked

Every distinct unfair sentence from all splits, taken in turn by its rarest kind, plus complete fair sentences as 30% of rows; the source is lower-case, and its spaced-out punctuation is re-attached.

Source and license

UNFAIR-ToS, from LexGLUE · CC BY 4.0

UNFAIR-ToS by Marco Lippi, Przemysław Pałka, Giuseppe Contissa, Francesca Lagioia, Hans-Wolfgang Micklitz, Giovanni Sartor and Paolo Torroni (CLAUDETTE): sentences of 50 online terms of service labeled with 8 kinds of potentially unfair terms under EU consumer law; as packaged in LexGLUE by Ilias Chalkidis et al.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify the programming language

Tells which programming language a piece of code is written in: Python 3, Python 2, C++ or Java, from human-written competitive-programming solutions in DeepMind's CodeContests.

1,000 examples702 KB CSVCC BY 4.0

A few of its rows

rowquestionanswer
4Which programming language is this code written in? ``` for _ in xrange(input()): s = raw_input().strip() print "YES" if s.count("A") + s.count("C") == s.count("B") else "NO" ```Python 2
5Which programming language is this code written in? ``` n, m, k, r, c = map(int, input().split()) ax, ay, bx, by = map(int, input().split()) p = n * m if ax != bx or ay != by: p -= r * c print(pow(k, p, 1000000007)) ```Python 3
13Which programming language is this code written in? ``` from bisect import bisect_left as bl n=int(input()) for i in range(n): s=input() a=s.count("A") b=s.count("B") c=s.count("C") if(a+c==b): print("YES") else:print("NO") ```Python 3

How the rows were picked

One correct solution per problem and language (120-1,100 characters, ASCII), the four languages taken in turn; Python 2 and 3 snippets must use a construct only that version accepts.

Source and license

CodeContests (DeepMind) · CC BY 4.0

CodeContests by Yujia Li, David Choi, Junyoung Chung et al. (DeepMind): problems and human-written solutions from Codeforces, AtCoder, CodeChef, Aizu and HackerEarth, with Description2Code (MIT) and CodeNet (Apache 2.0) material.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify the language

Recognizes which of 40 common languages a sentence is written in, from Arabic and Bengali to Turkish and Vietnamese, using sentences written by native speakers on Tatoeba.

1,000 examples112 KB CSVCC BY 2.0 FR

A few of its rows

rowquestionanswer
22Which language is this sentence written in? Sentence: ベルベル語の勉強をしたいんだ。Japanese
Japanese sentence by bunbuku · Tatoeba · CC BY 2.0 FR
6Which language is this sentence written in? Sentence: Koupila jsem si foťák.Czech
Czech sentence by aldar · Tatoeba · CC BY 2.0 FR
5Which language is this sentence written in? Sentence: 木星是很大的行星呢。Chinese (Mandarin)
Chinese (Mandarin) sentence by LeviHighway · Tatoeba · CC BY 2.0 FR

How the rows were picked

25 sentences per language by members who declare themselves native speakers, in the usual script, not tagged as quotations or for review, not sexual, and not found word for word in another of the 40 languages.

Source and license

Tatoeba · CC BY 2.0 FR

Sentences from Tatoeba (tatoeba.org), written by its members; the credits for each row link every sentence and name and link its author. Licensed CC BY 2.0 FR.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Identify a question's field

Tells which of 20 fields a question belongs to, such as cooking, law, aviation or chemistry, from the titles of well-received questions on 20 Stack Exchange sites.

1,000 examples117 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
48Which field is this question from? Question: I can't sit on my sit bonesCycling
Question by Drew · bicycles.stackexchange.com · CC BY-SA 3.0
14Which field is this question from? Question: How to learn a new guitar tuningMusic
Question by Paul · music.stackexchange.com · CC BY-SA 3.0
9Which field is this question from? Question: What are some good leg stretches?Fitness
Question by Berin Loritsch · fitness.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Titles only, 50 per site taken in turn, from questions scored 3 or more without images; titles under five words, naming the site, or asking to identify something pictured are left out.

Source and license

Stack Exchange (20 sites) · CC BY-SA 4.0

Question titles by users of 20 Stack Exchange sites (Woodworking, Pets, Chess, Physical Fitness, Linguistics, Gardening & Landscaping, Astronomy, Motor Vehicle Maintenance & Repair, Bicycles, Biology, Seasoned Advice (cooking), History, Law, Aviation, Music: Practice & Theory, Photography, Chemistry, Personal Finance & Money, Travel, The Workplace), from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Identify & classify

Close

Classify and sort things

Sorts lists of things into the categories asked for, such as fruit or vegetable or string or percussion instrument, from the classification tasks Databricks employees wrote for Dolly 15k.

1,000 examples302 KB CSVCC BY-SA 3.0

A few of its rows

rowquestionanswer
57Which is a species of fish? Steelhead or MetalheadSteelhead
55Which one of these is a country: Banana, Chicken, Pine tree, or Japan?Japan
37Identify which instrument is string or woodwind: Stritch, ZhuZhu is string, Stritch is woodwind.

How the rows were picked

Dolly's classification rows as written (instruction, then any context, and the response), in random order with at most four rows per instruction template; rows with links, or with no items or options to sort, are left out.

Source and license

databricks-dolly-15k (Databricks) · CC BY-SA 3.0

databricks-dolly-15k by Databricks: instruction and response pairs written by Databricks employees (classification category).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Customer support replies

Replies like an online store's support agent on orders, refunds, returns, shipping and account access, from ASAPP's ABCD: 10,000 human-to-human customer service chats.

1,000 examples495 KB CSVMIT

A few of its rows

rowquestionanswer
11Customer: I wanna know more about some Calvin Klein jeansHo how can I help you OK what do you want to know
59Customer: hello i need help changing my address on my orderHi thanks for contact us. What can I help you with today?
9Agent: Hello! How may I help you? Customer: what is the status of my subscription?May I have your full name, account ID and order ID to find out?

How the rows were picked

The agent's next reply (40+ characters, not just a greeting or sign-off) with the recent chat as context, system lines left out; spread over ABCD's intents, at most two rows per conversation.

Source and license

Action-Based Conversations Dataset (ABCD) · MIT

Action-Based Conversations Dataset (ABCD) by ASAPP Research (Chen et al., NAACL 2021), MIT License. Copyright (c) 2021 ASAPP Research. Chats between crowdworkers as customers and trained agents of a fictional clothing store (AcmeBrands); customer names, emails and order details are fictional scenario data.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Workplace & HR questions

Answers questions on job searches, interviews, offers, resignations, managers and coworkers, from The Workplace Stack Exchange's top-voted answers.

863 examples958 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
52How to politely tell someone they did not hit "reply to all" in an email? It happens sometimes that somebody (likely) meant to reply all in an email chain, but (likely) accidentally just replied to the last person that sent the email. What is a polite way to inform them of this…> Hi Bob - just so you're aware, seems like you haven't hit reply all there. No need to dress it up any more than that.
Question by bill999 · Answer by berry120 · workplace.stackexchange.com · CC BY-SA 4.0
27I looked up a future colleague on LinkedIn before I started a job. I told him about it and he seemed surprised. Should I apologize? I was thinking about this and was wondering if my behavior is unethical - the information was public, and I didn't think much of doing so at the t…No. Don't apologize. Had it happen to me, and I've done it myself. If a person doesn't want their profile accessed, they shouldn't make it publicly available. There is nothing wrong with that.
Question by M V · Answer by Keith · workplace.stackexchange.com · CC BY-SA 4.0
6What to put in "reason" when asking for days off for job interview at another place? I need to take a couple of days off for a job interview I need to fly to get there. What should I say at the "reason" part that won't make it too suspicious?This is precisely the reason you should never give any more details than absolutely necessary when asking for time off. Just say "personal time" for every request you make, and then you don't need to lie in this scenario, because you just put "personal time" again.
Question by cumbersomeavocado · Answer by Philip Kendall · workplace.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 700 and answers up to 1,200 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

The Workplace Stack Exchange · CC BY-SA 4.0

Questions and answers by The Workplace users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

People skills

Answers questions on handling conversations, conflicts, boundaries and awkward situations with coworkers, friends and family, from Interpersonal Skills Stack Exchange.

541 examples956 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
47How can I get someone to say their first name without letting on that I've forgotten? I often face the problem of forgetting the name of a person who I last met a while ago. This can lead to an awkward situation when asking what their name is. How can I elicit them to say the…A trick to save you a bit of embarrassment, is the following. > "What was your name again?" > "John." > "Sorry, I mean your surname." That makes it seem you've only forgotten their surname. Should they reply with their full name right away, be sure to emphasise it was their surname you had forgotten. > "What was your name again?" > "John Smith." > "Ah yes, Smith, of course."
Question by A J · Answer by SQB · interpersonal.stackexchange.com · CC BY-SA 3.0
58How do I indicate interest in going somewhere without inviting myself along? Sometimes acquaintances or people that I would like to get to know better are setting up some sort of social gathering (bar, party, bowling, etc) and I am not explicitly invited. I know that if I menti…Simply put: > Let me know how that goes - I've always wanted to do that/go there! This shows that you have an interest in the activity/venue without forcing people into explaining why you're not invited or asking them to invite you. Passively, you both know that you're asking for an invite, but it allows for both outcomes without embarrassment.
Question by Joe S · Answer by user1722 · interpersonal.stackexchange.com · CC BY-SA 3.0
41How can I ask if something's free, without looking stingy? Some waiters offer something (e.g. distilled water; more amuse-bouches, hors d'œuvre or bread) without disclosing if it's free. How can I clarify tactfully? I always decline, as I don't know how to ask without being ju…> Is that extra, or included? It's a way to inquire about pricing while not actually saying any specific word that is heavily financial in nature. Or, simply, "How much is that?" By inquiring about the cost, you can be delighted if you find out its free. If it's more than what you want, just note, "No thanks, I'll pass."
Question by user2423 · Answer by TOOGAM · interpersonal.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 1,400 and answers up to 1,400 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

Interpersonal Skills Stack Exchange · CC BY-SA 4.0

Questions and answers by Interpersonal Skills users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Personal finance & money

Answers personal finance questions on budgeting, credit, loans, mortgages, taxes, investing and retirement accounts, from Personal Finance & Money Stack Exchange.

876 examples960 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
59Is this a Bitcoin scam? Someone wants to e-mail me a check, take the check to my credit union's ATM, deposit it, withdraw a smaller amount in cash, and use the cash to buy Bitcoin to send to him. Is this a scam?Yes, it’s a scam. After you have irrevocably paid him the Bitcoin, the check will turn out to be invalid and you’ll have to pay the money back to your bank. You might also come under investigation for money laundering.
Question by Kim Sun · Answer by Mike Scott · money.stackexchange.com · CC BY-SA 4.0
15What dissuades people from lying about where they live in order to reduce state income taxes? Lets say you work in Chicago and live in Chicago but put your home address as somewhere in Indiana. Then every week you collect the mail that is being sent to you in Indiana. Wouldn't…Lying to save on taxes is called tax fraud. The threat of large fines and jail-time is what prevents most people from committing tax fraud.
Question by alexcioby122 · Answer by Hart CO · money.stackexchange.com · CC BY-SA 4.0
41What to do with $1,000,000.00 for 3&1/2 months? We have 1 million dollars from the sale of a farm, which we want to use to pay down land debt. But we can't make a payment until the anniversary date of July 5. Right now it is in an interest bearing checking account earning 1.7 %.If you need that money for a payment 3 1/2 months away, then you need to be extremely risk averse. Maybe even to the point that you may want to spread that $1mil to several banks to stay under the FDIC limits of $250k/account. You will not get great return, but you will be sure to have it when you want it such a short time away.
Question by user95070 · Answer by R. Hamilton · money.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 800 and answers up to 1,200 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

Personal Finance & Money Stack Exchange · CC BY-SA 4.0

Questions and answers by Personal Finance & Money users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Law questions

Explains how the law applies to everyday and business situations, naming the country or state it applies to, from Law Stack Exchange's top-voted answers.

819 examples959 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
32What obligation is there for police to find and arrest false 911 callers? Oklahoma man held at gunpoint by police, handcuffed after false 911 call Given that 911 calls are recorded and the phone number is logged, I would expect that a motivated detective to quickly ID a suspec…> Does said police department have any obligation to ID, investigate and detain / arrest the false caller? No. See Castle Rock v. Gonzales, 545 US 748 (2005). Usually, police do investigate, but that is a matter of department policy and political expectations, not a legal obligation to do so.
Question by gatorback · Answer by ohwilleke · law.stackexchange.com · CC BY-SA 4.0
45How to form a company in the US while keeping founder information private? Suppose that I want to form a company in the US while keeping my information and that of my co-founders private. How could I go about doing it?Get a corporate lawyer. The standard practice is to create two LLCs (usually in Delaware, which offers some of the best protections): A holding company owned by the individuals, and an operating company, owned by the holding company. If done correctly (which is why you need a lawyer to review the creation and operating agreements) it is nearly impossible for an adversary to follow the operating company back to the i…
Question by user3293 · Answer by feetwet · law.stackexchange.com · CC BY-SA 3.0
4How are any gun restrictions constitutional? The Second Amendment says (emphasis mine): > A well regulated militia being necessary to the security of a free state, the right of the people to keep and bear arms shall not be infringed. How are any laws restricting the "right of…Because the Supreme Court, who interprets the meaning of the Constitution, said so: > Like most rights, the Second Amendment right is not unlimited. It is not a right to keep and carry any weapon whatsoever in any manner whatsoever and for whatever purpose. > "District of Columbia, et al., v. Dick Anthony Heller. 554 U.S. 570". United States Supreme Court. June 26, 2008
Question by Someone · Answer by Ron Trunk · law.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 800 and answers up to 1,200 characters, no images, at most one link, nothing that leans on other answers or comments. Answers that name the country or state and cite the law come first.

Source and license

Law Stack Exchange · CC BY-SA 4.0

Questions and answers by Law users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Project management

Answers questions on planning, estimating, Scrum and agile practice, stakeholders and running project teams, from Project Management Stack Exchange.

831 examples959 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
36Are all the scrum ceremonies included in the sprint timebox in Scrum? We know the daily meeting and the backlog refinement is inevitable to have out from in the sprint timebox, but we don't know, for example in a two-week sprint, if the sprint planning, review and retrospective…From the Scrum Guide: > Sprints contain and consist of the Sprint Planning, Daily Scrums, the development work, the Sprint Review, and the Sprint Retrospective. All of the events are included in your Sprint timebox.
Question by Josbel Luna · Answer by Thomas Owens · pm.stackexchange.com · CC BY-SA 4.0
4Task estimation for PMs who are not developers While working Agile, how can a PM estimate a task when he/she is not a developer?If at all possible, they don't. They ask developers to estimate it. Estimates should always be made by the people who will perform the work being estimated. If this is not done, then you run the following two risks: 1. The estimate is inaccurate, as the person who estimated it did not have the knowledge of what work needed to be done 2. The people who do the work do not have any buy-in for that estimate, and thus…
Question by Anna Galstyan · Answer by Sarov · pm.stackexchange.com · CC BY-SA 4.0
55One of my projects was cancelled very early on - will this be detrimental to my career? How do I speak of it on my CV? I recently started work as a PM, leading part of a large, long term (18mo+) project. After working on the project for 2 months, performing essentially requirem…'Terminated due to budget cuts' - happens all the time, nothing to be ashamed of.
Question by blueberryfields · Answer by Mchl · pm.stackexchange.com · CC BY-SA 2.5

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 800 and answers up to 1,200 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

Project Management Stack Exchange · CC BY-SA 4.0

Questions and answers by Project Management users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Find clauses in contracts

Finds the clause covering a given topic, such as governing law, termination or a liability cap, in commercial contract excerpts, from the Atticus Project's lawyer-labeled CUAD contracts.

987 examples964 KB CSVCC BY 4.0

A few of its rows

rowquestionanswer
31,265,000 Shares (subject to increase up to 1,454,750 shares in the event of an oversubscription) AFSALA BANCORP, INC. (a Delaware corporation) COMMON STOCK ($0.10 Par Value Per Share) Subscription Price: $10.00 Per Share AGENCY AGREEMENT ____________, 1996 Capital Resourc…____________, 1996
44EXECUTION VERSION [***] Certain confidential information contained in this document, marked by brackets, has been omitted and filed separately with the Securities and Exchange Commission pursuant to Rule 406 of the Securities Act of 1933, as amended. by and between DIAMOND ST…April 13, 2012
45(b) Territory. The license hereby granted extends worldwide. (c) Term. The term of the license hereby granted shall commence August 1, 1995 and continue until January 30, 2000, unless sooner terminated in the manner provided in the immediately succeeding sentence or as otherwis…August 1, 1995

Long rows are cut short here (…).

How the rows were picked

Excerpts cut on sentence boundaries around clauses lawyers labeled, asked about one of 41 clause types in a fixed wording; the answer is the clause text as written. About a quarter ask about a type the contract lacks.

Source and license

CUAD v1 (Contract Understanding Atticus Dataset) · CC BY 4.0

CUAD v1 by The Atticus Project, Inc.: 510 commercial contracts filed with the US SEC (EDGAR), with clauses of 41 types labeled by law students and reviewed by attorneys (Dan Hendrycks, Collin Burns, Anya Chen, Spencer Ball and the Atticus Project's attorney advisors and law students). The same data as theatticusproject/cuad-qa.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Economics

Explains economic concepts, models, markets and policy, from Economics Stack Exchange's top-voted answers.

862 examples954 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
13I lost $100 in the laundry, who won? I lost a 100 dollars bill in the laundry (it was destroyed). I clearly lost 100 dollars. Where are they now? Who won 100 dollars?The central bank that issues the currency won; they can now issue an additional $100 without increasing the price level. This is similar to seignorage rents due to overseas circulation— in fact, to a central bank, the two are indistinguishable, as the central bank would be unaware that your note had been destroyed.
Question by user5498 · Answer by Revoltic · economics.stackexchange.com · CC BY-SA 3.0
18The supply and demand of Virtual Products We know that the fundamental economic problem is scarce resources relative to unlimited wants. **Does this apply to apps and Ebooks?**They are essentially virtual products who have in theory have unlimited supply.The book Information Rules by Google Chief Economist Hal Varian (with Carl Shapiro) deals with many issues raised by the particular features of the digital economy. In general, he finds you don't need new models, and that things are well approximated by high fixed and low or zero marginal cost of production.
Question by Surya Shyam · Answer by BKay · economics.stackexchange.com · CC BY-SA 3.0
21What is the difference between contract theory and mechanism design? Can someone explain the difference between contract theory and mechanism design?Contracts are a subset of all mechanisms where agreements are enforcable. An example of a mechanism that is not a contract: A second price auction (or Vickrey auction) is a truth-telling mechanism where the enforcability of contracts is not required. In the truth-telling equilibrium no one has any incentive to change their bid, no matter the outcome. This is not because changing the bid would be a violation of con…
Question by user7562 (CC BY-SA 3.0) · Answer by Giskard (CC BY-SA 4.0) · economics.stackexchange.com

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 800 and answers up to 1,200 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

Economics Stack Exchange · CC BY-SA 4.0

Questions and answers by Economics users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Open source licensing

Answers questions on open source licenses such as the GPL, MIT and Apache, license compatibility and compliance, from Open Source Stack Exchange.

805 examples960 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
56Etiquette for an incorrect Pull Request I recently made a PR on GitHub to a repo of a tutorial since I thought one of the comments was incorrect; but I was mistaken. One of the contributors commented asking how it was incorrect. What's the correct way to say "Oops, my bad. Eve…> Oops, my bad. Everything was correct after all. seems absolutely fine to me. You could add "sorry for the distraction" or similar if you wanted to.
Question by Sh.A · Answer by Philip Kendall · opensource.stackexchange.com · CC BY-SA 4.0
29If I include some GPL code in my project, can I release it as BSD? I have scientific software that I would like to release under the BSD 3-clause licence, but it includes some old code that was released under GPL. Can I still package it all and release as BSD?Not with the license as it is. You will need to contact all the licensors of the GPL code, and request that they release it to you in a license that is compatible with the BSD license. Alternatively, you can release your code as GPL too.
Question by mirams · Answer by rolfl · opensource.stackexchange.com · CC BY-SA 3.0
18Can I use GPL software to provide a commercial cloud service? Rather than create my own software, can I just take existing GPL software and provide a cloud service around it? Will that be legal?You can indeed. GPLv2 and GPLv3 only require that you distribute the source code when you're distributing the binaries. In the case of software-as-a-service you're not distributing binaries and, as such, you're under no obligation to distribute your source code either. This is sometimes referred to as the SaaS loophole
Question by user1034912 · Answer by neubert · opensource.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 900 and answers up to 1,200 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

Open Source Stack Exchange · CC BY-SA 4.0

Questions and answers by Open Source users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

Quantitative finance

Answers questions on options pricing, volatility, fixed income, risk and portfolio models, from Quantitative Finance Stack Exchange.

856 examples954 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
2How to annualize Sharpe Ratio? If I know the daily returns of my portfolio, I need to multiply the Sharpe Ratio by $\sqrt{252}$ to have it annualized. I don't understand why that is.Actually, that is not always the case. Here is a great paper by Andy Lo, "The Statistics of Sharpe Ratios". He shows how monthly Sharpe ratios "cannot be annualized by multiplying by $\sqrt{12}$ except under very special circumstances". I expect this will carry over to annualizing daily Sharpe Ratios.
Question by David · Answer by Ryogi · quant.stackexchange.com · CC BY-SA 4.0
6A simple formula for calculating implied volatility? We all know if you back out of the Black Scholes option pricing model you can derive what the option is "implying" about the underlyings future expected volatility. Is there a simple, closed form, formula deriving Implied Vo…Brenner and Subrahmanyam (1988) provided a closed form estimate of IV, you can use it as the initial estimate: $$ \sigma \approx \sqrt{\cfrac{2\pi}{T}} . \cfrac{C}{S} $$
Question by jessica (CC BY-SA 4.0) · Answer by yoonkwon (CC BY-SA 3.0) · quant.stackexchange.com
33Setting the r in put-call parity? Put-call parity is given by $C + Ke^{-r(T-t)} = P + S$. The variables $C$, $P$ and $S$ are directly observable in the market place. $T-t$ follows by the contract specification. The variable $r$ is the risk-free interest rate -- the theoretica…If your trades are collateralized/margined, you should use the rate paid on your collateral/margin.
Question by knorv · Answer by quant_dev · quant.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 800 and answers up to 1,400 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

Quantitative Finance Stack Exchange · CC BY-SA 4.0

Questions and answers by Quantitative Finance users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Business & work

Close

UX design

Answers questions on interface design, usability, forms, navigation and accessibility, from User Experience Stack Exchange's top-voted answers.

866 examples954 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
29When the username is an email address should the field be called 'username' or 'email'? When the username for a service is an email address should the field be called 'username' or 'email'?Call it the email address. It's unambiguous. A user returning to your service will always remember their email. They may not remember if they configured a special username, however.
Question by Freiheit · Answer by Jimmy Breck-McKye · ux.stackexchange.com · CC BY-SA 3.0
8Should user be allowed to delete attachment that is required? If attachments are required in a form that can be saved as a draft, should the user be able to delete it or replace only?Let the user do what they want, then enforce your requirements at form submission. Preventing deletion is no help to the user whatsoever. This does not help them successfully complete the form, but instead prevents them from fixing their mistakes. There's no need to prevent deletion when the user isn't even trying to submit the form yet.
Question by foch · Answer by maxathousand · ux.stackexchange.com · CC BY-SA 3.0
40Why is the input field always at the bottom of a chat window? It seems like the input field for writing your messages in a chat application is always placed at the bottom of the conversation. Do we have any argument for this seen in a UX perspective?People read from left to right and from top to bottom. Chat applications normally place texts from top to bottom. The newest chats placed at the bottom. Placing the input at the bottom, therefore, is logical. Edit With this answer I didn't mean ALL people. For example, Arabic is read from right to left. But considering this websites' audience and the OPs background I generalized it a bit.
Question by rasmussvanejensen · Answer by Paul van den Dool · ux.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions; questions up to 700 and answers up to 1,400 characters, no images, at most one link, nothing that leans on other answers or comments.

Source and license

User Experience Stack Exchange · CC BY-SA 4.0

Questions and answers by User Experience users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Math word problems

Solves grade-school math word problems step by step and states the final answer, from GSM8K's human-written problems and worked solutions.

1,000 examples484 KB CSVMIT

A few of its rows

rowquestionanswer
28John has a sneezing fit for 2 minutes. He sneezes once every 3 seconds. How many times does he sneeze?He was sneezing for 2*60=120 seconds So he sneezed 120/3=40 times Answer: 40
19Stacy was 50 inches tall last year. If she grew 6 inches more than her brother who grew 1 inch last year, how tall is Stacy now?Stacy grew 6+1=7 inches. Stacy is 50+7=57 inches tall. Answer: 57
3A whole pizza was cut into 8 slices. Angeli and Marlon ate 3/2 slices each. How many slices of pizza are left?Angeli and Marlon ate a total of 3/2 x 2 = 3 slices of pizza. Thus, 8 - 3 = 5 slices of pizza are left. Answer: 5

How the rows were picked

A random sample of the main train split (never test); each solution keeps its own wording with the calculator annotations removed and ends with "Answer: N".

Source and license

GSM8K (Grade School Math 8K) · MIT

GSM8K by Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse and John Schulman (OpenAI); problems and solutions written by human contractors. MIT License.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Algebra

Solves algebra problems (equations, functions, inequalities, sequences) with worked solutions in LaTeX, from the MATH dataset of competition mathematics problems.

1,000 examples439 KB CSVMIT

A few of its rows

rowquestionanswer
6If $x = 3$, what is the value of $2x + 3$?$2x + 3 = 2(3) + 3 = 6 + 3 = \boxed{9}$.
11Let $a\oplus b=3a+4b$ for all real numbers $a$ and $b$. Find $3\oplus 1$.We have $3\oplus 1 = 3\cdot 3 + 4\cdot 1 = \boxed{13}$.
31Compute $139+27+23+11$.Since addition is associative, we can rearrange the terms: $139+27+23+11=(139+11)+(27+23)=150+50=\boxed{200}$.

How the rows were picked

Train split only (never test), difficulty levels 1-5 spread evenly; no problems or solutions that rely on an Asymptote diagram; solutions keep their LaTeX.

Source and license

MATH (Measuring Mathematical Problem Solving) · MIT

The MATH dataset by Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song and Jacob Steinhardt: problems from mathematics competitions (AMC 10, AMC 12, AIME and others) with full step-by-step solutions, via EleutherAI's Hugging Face copy (algebra train split). MIT License.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Probability & counting

Works through counting and probability problems (arrangements, combinations, chances) with step-by-step solutions in LaTeX, from the MATH dataset of competition problems.

713 examples542 KB CSVMIT

A few of its rows

rowquestionanswer
47In how many ways can Michael choose 3 out of 8 math classes to take?Michael can choose in $\binom{8}{3}=\boxed{56}$ ways.
21In how many ways can George choose two out of seven colors to paint his room?George can choose 2 colors in $\binom{7}{2}=\boxed{21}$ ways.
11Compute $\dbinom{5}{1}$.$\dbinom{5}{1} = \dfrac{5!}{1!4!}=\dfrac{(5\times 4\times 3\times 2)(1)}{(1)(4\times 3\times 2\times 1)}=\dfrac{5}{1}=\boxed{5}.$

How the rows were picked

Every usable train problem (never test), levels 1-5; problems that need an Asymptote diagram are skipped; solutions keep their LaTeX and, in a few, their own Asymptote figure code.

Source and license

MATH (Measuring Mathematical Problem Solving) · MIT

The MATH dataset by Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song and Jacob Steinhardt: problems from mathematics competitions (AMC 10, AMC 12, AIME and others) with full step-by-step solutions, via EleutherAI's Hugging Face copy (counting_and_probability train split). MIT License.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Geometry

Solves geometry problems on angles, triangles, circles, areas and solids with worked solutions in LaTeX, from the MATH dataset of competition mathematics problems.

542 examples567 KB CSVMIT

A few of its rows

rowquestionanswer
58Compute $\cos 0^\circ$.Rotating the point $(1,0)$ about the origin by $0^\circ$ counterclockwise gives us the point $(1,0)$, so $\cos 0^\circ = \boxed{1}$.
34Compute $\cos 270^\circ$.Rotating the point $(1,0)$ about the origin by $270^\circ$ counterclockwise gives us the point $(0,-1)$, so $\cos 270^\circ = \boxed{0}$.
23What is the total volume in cubic feet of three boxes if each box is a cube with edge length 4 feet?Each box has volume $4^3=64$ cubic feet. Thus, three boxes have volume $64\cdot3=\boxed{192}$ cubic feet.

How the rows were picked

Every usable train problem (never test), levels 1-5; problems that need an Asymptote diagram are skipped; solutions keep their LaTeX and, in many, the Asymptote code of the figure they draw.

Source and license

MATH (Measuring Mathematical Problem Solving) · MIT

The MATH dataset by Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song and Jacob Steinhardt: problems from mathematics competitions (AMC 10, AMC 12, AIME and others) with full step-by-step solutions, via EleutherAI's Hugging Face copy (geometry train split). MIT License.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Number theory

Solves number theory problems on divisibility, primes, remainders, modular arithmetic and number bases with worked solutions in LaTeX, from the MATH competition dataset.

867 examples554 KB CSVMIT

A few of its rows

rowquestionanswer
52What is the sum of the six positive integer factors of 18?$18=1\cdot18=2\cdot9=3\cdot6$. The sum is $1+18+2+9+3+6=\boxed{39}$.
31What is the sum of the prime numbers less than 10?The prime numbers less than $10$ are $2,3,5,7$, so the sum is $2+3+5+7=\boxed{17}$.
33How many digits are there in the base-7 representation of $956$?The largest power of 7 less than 956 is $7^3=343$. Therefore, $956$ written in base 7 has $3+1=\boxed{4}$ digits.

How the rows were picked

Every usable train problem (never test), difficulty levels 1-5; problems that need an Asymptote diagram are skipped; solutions keep their LaTeX.

Source and license

MATH (Measuring Mathematical Problem Solving) · MIT

The MATH dataset by Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song and Jacob Steinhardt: problems from mathematics competitions (AMC 10, AMC 12, AIME and others) with full step-by-step solutions, via EleutherAI's Hugging Face copy (number_theory train split). MIT License.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Aptitude test math

Solves multiple-choice aptitude-test math problems (percentages, ratios, speed, interest, work rates) and explains the working, from the AQuA-RAT dataset's human-written rationales.

1,000 examples450 KB CSVApache 2.0

A few of its rows

rowquestionanswer
17Missing number in the series 4 9 20 43 90 185 376? A) 175 B) 185 C) 759 D) 195 E) 180C) 759 4*2+1=9 9*2+2=20 20*2+3=43 43*2+4=90 90*2+5=185 185*2+6=376 376*2+7=759 ANSWER:C
55The compounded ratio of (2:3), (6:11) and (11:2) is A) 2 : 1 B) 1 : 2 C) 36 : 121 D) 11 : 24 E) NoneA) 2 : 1 Sol. Required ratio = [2/3 x 6/11 x 11/2] = 2/1 = 2 : 1. Answer A
34How many ways someone can make with 8 shirts and 6 pants? A) 50 B) 45 C) 55 D) 52 E) 48E) 48 If you can only wear one shirt and one pair of pants, then you can make 8*6 = 48 combinations. Answer:E

How the rows were picked

A random sample of the raw train split (never test), one per problem template; only rationales that end by naming the correct option and show its value in the working, with no garbled text.

Source and license

AQuA-RAT (Algebra Question Answering with Rationales) · Apache 2.0

AQuA-RAT by Wang Ling, Dani Yogatama, Chris Dyer and Phil Blunsom (DeepMind): algebraic word problems from exam-style sources and crowd workers, each with a human-written rationale. Copyright 2017 Google Inc., Apache License 2.0.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Statistics

Answers questions on statistical methods, regression, hypothesis tests, probability and machine learning, from the top-voted answers on Cross Validated (Stack Exchange).

829 examples953 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
50How is the minimum of a set of IID random variables distributed? If $X_1, ..., X_n$ are independent identically-distributed random variables, what can be said about the distribution of $\min(X_1, ..., X_n)$ in general?If the cdf of $X_i$ is denoted by $F(x)$, then the cdf of the minimum is given by $1-[1-F(x)]^n$.
Question by Simon Nickerson (CC BY-SA 4.0) · Answer by Rob Hyndman (CC BY-SA 3.0) · stats.stackexchange.com
8Percentile vs quantile vs quartile What is the difference between the three terms below? - percentile - quantile - quartile0 quartile = 0 quantile = 0 percentile 1 quartile = 0.25 quantile = 25 percentile 2 quartile = .5 quantile = 50 percentile (median) 3 quartile = .75 quantile = 75 percentile 4 quartile = 1 quantile = 100 percentile
Question by luciano · Answer by stochazesthai · stats.stackexchange.com · CC BY-SA 3.0
49Does the reciprocal of a probability represent anything? I was wondering if the reciprocal of P(X = 1) represents anything in particular?Yes, it provides a 1-in-$n$ scale for probabilities. For example, the reciprocal of .01 is 100, so an event with probability .01 has a 1 in 100 chance of happening. This is a useful way to represent small probabilities, such as .0023, which is about 1 in 435.
Question by A. Fleming · Answer by Kodiologist · stats.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions, leaving out reading-list and self-study questions; no images, at most two links; math kept as written.

Source and license

Cross Validated (Stack Exchange) · CC BY-SA 4.0

Questions and answers by Cross Validated users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Physics

Explains physics concepts from mechanics and electromagnetism to thermodynamics, relativity and quantum mechanics, from Physics Stack Exchange's top-voted answers.

832 examples959 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
47Why doesn't the frequency of light change during refraction? When light passes from one medium to another its velocity and wavelength change. Why doesn't frequency change in this phenomenon?The electric and magnetic fields have to remain continuous at the refractive index boundary. If the frequency changed, the light at each side of the boundary would be continuously changing its relative phase and there would be no way to match the fields.
Question by Self-Made Man · Answer by John Rennie · physics.stackexchange.com · CC BY-SA 3.0
30Can radioactivity be slowed through time dilation? Can radioactivity be slowed using the effect of time dilation? If you put cesium, tritium or uranium in a cyclotron at relativisitic speeds, do their half lives become longer in our frame? Could this be used as a means to sto…Yes. The classic example is that this is the only reason muons produced by cosmic radiation high up in the atmosphere live long enough to reach the ground.
Question by Michael · Answer by ACuriousMind · physics.stackexchange.com · CC BY-SA 3.0
56If I can see someone's eyes, can they see mine? Besides the obvious cases where I'm behind a "one-way" mirror or have goggles/glasses on: is there one where I can see someone's eyes, and they can't see mine?Fermat's principle says that the direction of travel for any light ray can be reversed. Therefore there is always a line of sight between a pair of eyes in both ways. If one person is in the dark, then only one person can see the eyes of the other. So there needs to be enough light reflected from both person's eyes for this to work.
Question by Tobi · Answer by Martin Ueding · physics.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open conceptual questions, leaving out homework, reading-list and opinion questions; no images, at most two links; math kept as written.

Source and license

Physics Stack Exchange · CC BY-SA 4.0

Questions and answers by Physics users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Chemistry

Answers chemistry questions on reactions, bonding, organic and physical chemistry and lab practice, from Chemistry Stack Exchange's top-voted answers.

847 examples955 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
11Why do we write NH3? We've learnt that the electropositive element is written first. Then why is ammonia written as $\ce{NH3}$ ?According to current nomenclature rules, $\ce{H3N}$ would be correct and acceptable. However some chemical formulas, like $\ce{NH3}$ for ammonia, that were in use long before the rules came out, are still accepted today.
Question by Soham · Answer by ron · chemistry.stackexchange.com · CC BY-SA 3.0
18Does heavy water taste sweet? In this YouTube video from Cody's Lab, Cody claims that heavy water tastes sweet. He does some fairly convincing comparisons but still expresses a little doubt that the effect is real. Has this been studied by others? Is the effect verified and i…According to H.C. Urey and G. Failla, Science 15 Mar 1935, Vol. 81, Issue 2098, pp. 273, there's no difference in the taste of ordinary and heavy water.
Question by matt_black · Answer by aventurin · chemistry.stackexchange.com · CC BY-SA 3.0
51Is "stainless" a bulk or a surface property of stainless steel? In particular, if I cut a block of stainless steel in half, would the newly formed faces be stainless as well?It is usually a bulk property though you would need to know exact regulations for your country to be certain. Stainless steel is steel (i.e. iron + a little bit of carbon) alloyed with another metal (usually chromium) which makes it resistant to oxidation by atmospheric oxygen, but not to strong acids (e.g. concentrated hydrochloric acid) or strong oxidizers.
Question by Sparkler · Answer by SteffX · chemistry.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions, leaving out homework, reading-list and software questions; no images, at most two links.

Source and license

Chemistry Stack Exchange · CC BY-SA 4.0

Questions and answers by Chemistry users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Biology

Answers biology questions on human physiology, genetics, evolution, cells, plants and animals, from Biology Stack Exchange's top-voted answers.

883 examples960 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
47How fast does the rotor in ATP synthase spin? I'm sure the exact frequency varies, but does anyone know roughly how many revolutions per minute / second the rotating center part makes?According to "Resolution of distinct rotational substeps by submillisecond kinetic analysis of F1-ATPase" (Yasuda et al., Nature, 2001), ATPase rotates at 130 revolutions per second when saturated with ATP.
Question by Shep · Answer by Armatus · biology.stackexchange.com · CC BY-SA 3.0
57How to convert bwa mem output to BAM format without saving SAM file I want to go straight from bwa mem alignment to BAM format as I don't need the SAM file and it takes up too much space. How do I achieve this?For directly outputting a sorted bam file you can use the following: ``` bwa mem genome.fa reads.fastq | samtools sort -o output.bam - ``` Optionally using multiple threads: ``` bwa mem -t 8 genome.fa reads.fastq | samtools sort -@8 -o output.bam - ```
Question by Michael Hall (CC BY-SA 3.0) · Answer by Wouter De Coster (CC BY-SA 4.0) · biology.stackexchange.com
32Are there any bacteria that could be used as food? Bacteria are found everywhere. They can also grow on various substrates. Are there any bacteria that can be used as a food source? For example mix x with water and add some of these bacteria. These then either turn x into somet…The best example of bacteria-as-food is the genus Arthrospira, which is a kind of cyanobacteria whose edible biomass is known as spirulina.
Question by CuriousIndeed · Answer by acvill · biology.stackexchange.com · CC BY-SA 4.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions, leaving out homework, species identification and reading-list questions; no images, at most two links.

Source and license

Biology Stack Exchange · CC BY-SA 4.0

Questions and answers by Biology users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Grade-school science quiz

Answers multiple-choice grade-school science questions (physics, chemistry, biology, earth and space) with the correct option, from the AI2 Reasoning Challenge (ARC) exam questions.

1,000 examples270 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
5Which part of a pine tree makes food? A) root B) cone C) trunk D) needleD) needle
46Light enters the human eye through the A) retina. B) pupil. C) iris. D) lens.B) pupil.
34Which of these BEST describes the way a feather feels? A) Colorful B) Soft C) Low D) BrightB) Soft

How the rows were picked

An even mix of ARC-Challenge and ARC-Easy train questions (never test); numbered options relabelled A-D; questions that point at a missing picture or table are skipped.

Source and license

ARC (AI2 Reasoning Challenge) · CC BY-SA 4.0

ARC by Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick and Oyvind Tafjord (Allen Institute for AI): genuine grade 3-9 science exam questions. CC BY-SA 4.0.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Math & science

Close

Health information (NIH)

Answers consumer questions about diseases, symptoms, causes, treatments and genetics with text from NIH websites (MedlinePlus, GARD, NCI, NIDDK, NHLBI and others), via MedQuAD.

1,000 examples728 KB CSVCC BY 4.0

A few of its rows

rowquestionanswer
39How many people are affected by progressive osseous heteroplasia?Progressive osseous heteroplasia is a rare condition. Its exact incidence is unknown.
Genetics Home Reference (NLM, now MedlinePlus Genetics) · MedQuAD · CC BY 4.0
34How many people are affected by Heart Failure?Approximately 5 million people in the United States have heart failure. It contributes to 300,000 deaths each year. It is the number one cause of hospitalizations for people over the age of 65.
NIHSeniorHealth (NIA and NLM) · MedQuAD · CC BY 4.0
53What is the outlook for Lambert-Eaton Myasthenic Syndrome?The prognosis for individuals with LEMS varies. Those with LEMS not associated with malignancy have a benign overall prognosis. Generally the presence of cancer determines the prognosis.
National Institute of Neurological Disorders and Stroke (NINDS) · MedQuAD · CC BY 4.0

How the rows were picked

Pairs from nine NIH sources taken from MedQuAD's XML, sources interleaved and question types rotated; no empty (copyright-removed) answers, links, tables, resource lists or boilerplate.

Source and license

MedQuAD (Medical Question Answering Dataset) · CC BY 4.0

MedQuAD by Asma Ben Abacha and Dina Demner-Fushman (U.S. National Library of Medicine): question-answer pairs built from 12 NIH websites. CC BY 4.0. Each row's source site, page and MedQuAD file are listed in its credits.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Knowledge & reading

Close

Answer from a passage

Answers a question using only the passage it is given, and says so when the passage doesn't hold the answer. From SQuAD 2.0, crowdworker questions on Wikipedia paragraphs.

1,000 examples728 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
14A framework was developed in 1967 by Heinz Kloss, abstand and ausbau languages, to describe speech communities, that while unified politically and/or culturally, include multiple dialects which though closely related genetically may be divergent to the point of inter-dialect uni…The passage doesn't say.
37The general effect of the water content upon the wood substance is to render it softer and more pliable. A similar effect of common observation is in the softening action of water on rawhide, paper, or cloth. Within certain limits, the greater the water content, the greater its…rawhide
20Works of classical repertoire often exhibit complexity in their use of orchestration, counterpoint, harmony, musical development, rhythm, phrasing, texture, and form. Whereas most popular styles are usually written in song forms, classical music is noted for its development of h…popular styles

Long rows are cut short here (…).

How the rows were picked

One question per paragraph, spread round-robin over the train split's articles; the answer is the annotated span, and about a fifth are SQuAD 2.0's unanswerable questions, answered "The passage doesn't say."

Source and license

SQuAD 2.0 (Stanford Question Answering Dataset) · CC BY-SA 4.0

SQuAD 2.0 by Pranav Rajpurkar, Robin Jia, Percy Liang (Stanford University) and SQuAD 1.1 by Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, Percy Liang: questions written by crowdworkers on Wikipedia paragraphs (Wikipedia contributors, CC BY-SA).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Knowledge & reading

Close

Yes/no questions from a passage

Answers yes/no questions about a passage it is given. From BoolQ: real search queries paired with Wikipedia passages and labeled by annotators.

1,000 examples608 KB CSVCC BY-SA 3.0

A few of its rows

rowquestionanswer
2A study Bible is an edition of the Bible prepared for use by a serious student of the Bible. It provides scholarly information designed to help the reader gain a better understanding of and context for the text. Question: Is a study bible the same as a regular bible?No.
58Normally, driving in the shoulder lane is forbidden, but in the case of traffic blockage in some jurisdictions, use of the shoulder may be allowed for the purpose of reaching an exit if the exit is within 200 feet (61 m). Question: Is it legal to pass on the shoulder of the roa…No.
37The Riverside location closed in late July 2017. This leaves Brea and Buena Park as the only remaining restaurants. Lemonis owns and operates along with Sweet Pete's Candy the Farrell's brand and the Buena Park California location. Question: Is farrell's ice cream parlor still…Yes.

Long rows are cut short here (…).

How the rows were picked

Half yes, half no, one question per passage (passages of 200-1,100 characters); the query is capitalized and given a question mark, and the answer is the annotators' label.

Source and license

BoolQ (Google Research) · CC BY-SA 3.0

BoolQ by Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins and Kristina Toutanova (Google Research): naturally occurring yes/no search queries paired with Wikipedia passages (Wikipedia contributors, CC BY-SA) and labeled by annotators.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Knowledge & reading

Close

Trivia & general knowledge

Answers short general-knowledge questions on history, science, geography, sport and culture with a brief fact. From NQ-Open: real search queries with answers marked in Wikipedia.

1,000 examples61 KB CSVCC BY-SA 3.0

A few of its rows

rowquestionanswer
9Who does puck end up with in glee?Quinn
40How many lds stakes are in las vegas?34
10When did britain go to war with egypt?1956

How the rows were picked

Queries starting with who, what, when, where, which, why or how that have one annotated answer; questions about current office holders, records or future dates left out, and at most 300 about films, TV and music.

Source and license

NQ-Open (Natural Questions, Google Research) · CC BY-SA 3.0

Natural Questions by Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti and colleagues (Google Research); open-domain version NQ-Open by Kenton Lee, Ming-Wei Chang and Kristina Toutanova. Real anonymized Google search queries with short answers that annotators marked in Wikipedia articles.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Knowledge & reading

Close

Helpful assistant replies

Answers everyday requests helpfully, from explanations and advice to writing and coding help. From OpenAssistant (oasst2): volunteers' prompts and their top-ranked volunteer replies.

1,000 examples880 KB CSVApache 2.0

A few of its rows

rowquestionanswer
5Count from 1 to 10, without hitting any prime numbers. After this, count from 1 to 10 by only stating the primes.Alright, counting without the primes: 1, 4, 6, 8, 9, 10 And then with only the primes: 2, 3, 5, 7
36What is the population of the capitol of the state where the wife of the US president was bornThe current first lady of the United States as of 2023 is Jill Biden. She was born in Hammonton, New Jersey. The capital of New Jersey is Trenton, and its population was estimated to be around 90,457 in the year 2021.
40How do you rename a repository in GitHub?1. On GitHub.com, navigate to the main page of the repository. 2. Under your repository name, click "Settings". If you cannot see the "Settings" tab, select the dropdown menu, then click "Settings". 3. In the "Repository Name" field, type the new name of your repository. 4. Click "Rename".

How the rows were picked

English first-turn prompts with the reply volunteers ranked best; reviewed, not spam or deleted, quality and helpfulness ratings 0.6 or higher, and no replies that speak as an AI or name a model.

Source and license

OpenAssistant Conversations Release 2 (OASST2) · Apache 2.0

OpenAssistant Conversations (oasst2) by LAION and the Open-Assistant volunteers (open-assistant.io): prompts and replies written and ranked by volunteers, collected until November 2023.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Languages & writing

Close

Translate English to Spanish

Translates everyday English sentences into natural Spanish. From Tatoeba: sentences and translations written by native-speaker volunteers.

1,000 examples103 KB CSVCC BY 2.0 FR

A few of its rows

rowquestionanswer
41Translate to Spanish: I'm doing it for Tom.Lo hago por Tom.
English by CK · Spanish by Seael · Tatoeba · CC BY 2.0 FR
9Translate to Spanish: It was a big surprise.Fue una gran sorpresa.
English by CK · Spanish by ficion · Tatoeba · CC BY 2.0 FR
12Translate to Spanish: This spoon is for tea.Esta cuchara es de té.
English by CK · Spanish by hayastan · Tatoeba · CC BY 2.0 FR

How the rows were picked

English sentences of 5 to 20 words with a direct Spanish translation, both by contributors who list the language as native; no sentences flagged for checking; one translation per sentence, at most 15% about Tom or Mary.

Source and license

Tatoeba · CC BY 2.0 FR

Sentences and translations by Tatoeba contributors (tatoeba.org), from the Tatoeba export of 14 November 2026. The credits for each row link every sentence and name and link its author; each sentence is CC BY 2.0 FR, or CC0 1.0 where its contributor chose that (shown per row).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Languages & writing

Close

Translate English to French

Translates everyday English sentences into natural French. From Tatoeba: sentences and translations written by native-speaker volunteers.

1,000 examples100 KB CSVCC BY 2.0 FR

A few of its rows

rowquestionanswer
8Translate to French: I don't see a temple.Je ne vois pas de temple.
English by _undertoad · French by Rovo · Tatoeba · CC BY 2.0 FR
41Translate to French: I have bills to pay.J'ai des factures à payer.
English by CK · French by sacredceltic · Tatoeba · CC BY 2.0 FR
59Translate to French: That was a great party.C'était une superbe fête.
English by CK · French by sacredceltic · Tatoeba · CC BY 2.0 FR

How the rows were picked

English sentences of 5 to 20 words with a direct French translation, both by contributors who list the language as native; no sentences flagged for checking; one translation per sentence, at most 15% about Tom or Mary.

Source and license

Tatoeba · CC BY 2.0 FR

Sentences and translations by Tatoeba contributors (tatoeba.org), from the Tatoeba export of 14 November 2026. The credits for each row link every sentence and name and link its author; each sentence is CC BY 2.0 FR, or CC0 1.0 where its contributor chose that (shown per row).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Languages & writing

Close

Translate English to Chinese

Translates everyday English sentences into natural Chinese (Simplified script). From Tatoeba: sentences and translations written by native-speaker volunteers.

1,000 examples96 KB CSVCC BY 2.0 FR

A few of its rows

rowquestionanswer
19Translate to Chinese: I am chatting with you.和你闲聊。
English by JumJum · Chinese by GlossaMatik · Tatoeba · CC BY 2.0 FR
35Translate to Chinese: We're on the third floor.我们在三楼。
English by CK · Chinese by crescat · Tatoeba · CC BY 2.0 FR
21Translate to Chinese: One of my tires is flat.我有个轮胎瘪了。
English by CK · Chinese by GlossaMatik · Tatoeba · CC BY 2.0 FR

How the rows were picked

English sentences of 5 to 20 words with a direct Chinese translation, both by contributors who list the language as native; no sentences flagged for checking; one translation per sentence, at most 15% about Tom or Mary.

Source and license

Tatoeba · CC BY 2.0 FR

Sentences and translations by Tatoeba contributors (tatoeba.org), from the Tatoeba export of 14 November 2026. The credits for each row link every sentence and name and link its author; each sentence is CC BY 2.0 FR, or CC0 1.0 where its contributor chose that (shown per row).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Languages & writing

Close

English grammar & usage

Answers questions on English grammar, word choice, meaning, idioms and etymology, from English Language & Usage Stack Exchange's top-voted answers.

1,000 examples917 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
21"Username", "user name" or "user-name" In computer science, you should have a *username* or a *user name* or a *user-name* and a password to be able to log into the system. Which one is the correct spelling?The OED gives ‘username’ and has three citations, from 1971, 1997 and 2007, in support.
Question by Saeed Neamati · Answer by Barrie England · english.stackexchange.com · CC BY-SA 3.0
5What is the plural form of "status"? What is the plural form of "status"?There are some situations where *status* may be considered countable. In those cases, the plural form can be used as *statuses*. MacMillan dictionary gives 4 definitions for *status*, and 3 of them are referred to as countable. Personally, I would use *status* as the plural form instead of *statuses*.
Question by Am1rr3zA · Answer by Mehper C. Palavuzlar · english.stackexchange.com · CC BY-SA 3.0
55What’s a possible one-word replacement for “applicable in every situation”? I just want to ask what word can be put in replacement to the bolded phrase in: “This formula is not **applicable in every situation** and may vary.”**Universal** > adapted or adjustable to meet varied requirements (as of use, shape, or size) > > - a universal gear cutter > - universal remote control
Question by Proximus19 · Answer by wrymug · english.stackexchange.com · CC BY-SA 4.0

How the rows were picked

Top-voted answers (the accepted one when close) to open questions with a score of 2 or more; no offensive-language or pejorative tags or profanity, no images, at most two links, nothing that leans on other answers or comments.

Source and license

English Language & Usage Stack Exchange · CC BY-SA 4.0

Questions and answers by English Language & Usage users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Languages & writing

Close

Summarize a passage

Summarizes a passage it is given, or the part a request asks about, in a few sentences or points. From Dolly 15k: Wikipedia passages summarized by Databricks employees.

640 examples773 KB CSVCC BY-SA 3.0

A few of its rows

rowquestionanswer
58Without quoting from the text, can you summarise from wikipedia who Denis-Benjamin Viger was? Denis-Benjamin Viger (French pronunciation: [dəni bɛ̃ʒamɛ̃ viʒe]; August 19, 1774 – February 13, 1861) was a 19th-century politician, lawyer, businessman in Lower Canada. He was a lead…Denis-Benjamin Viger was a Canadian 19th century politician, lawyer and businessman who lead the Patriote movement.
21There is a movie "Slow burn". Can you help me summarize some important points about this movie Slow Burn is a 1989 film directed by John Eyres and starring Ivan Rogers, William Smith, Anthony James and Stephen M.D. Chang. A veteran cop's partner is killed by a Mafia hitman, and…1. The 1989 movie Slow Burn, starring Ivan Rogers, William Smith, Anthony James, and Stephen M.D. Chang, was directed by John Eyres. 2. A Mafia hitman kills a veteran cop's partner, and the veteran cop then pursues the hitman. 3. A rookie cop who is pursuing the hitman for personal reasons is also after him.
55Summarise why lightweight rowing event was at risk in Olympics The first lightweight events were added to the World Championships in 1974 for men and 1985 for women. Lightweight rowing was added to the Olympics in 1996 but this came under threat in 2002 when the Programme Commi…The Programme Commission was of the opinion that only combat sports and weightlifting should have weight categories. No other sport with weight categorisations should be allowed.

Long rows are cut short here (…).

How the rows were picked

Dolly's summarization category: explicit summary requests first, then answers that condense the passage; one-line lookups and answers copied from the passage left out.

Source and license

databricks-dolly-15k (Databricks) · CC BY-SA 3.0

databricks-dolly-15k, Copyright (2023) Databricks, Inc.: instructions and responses written by Databricks employees; reference passages copied from Wikipedia (Wikipedia editors and contributors, CC BY-SA 3.0).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Languages & writing

Close

Brainstorm ideas

Brainstorms ideas, options and suggestions for everyday and work questions, usually as a list. From Dolly 15k: requests and answers written by Databricks employees.

1,000 examples374 KB CSVCC BY-SA 3.0

A few of its rows

rowquestionanswer
2What are the 4 best ski resorts in New England.Jay Peak, Sugarloaf, Burke Mountain, Loon Mountain
1Name five popular large dog breedsGolden Retrievers, Labrador Retriever, Poodle, Great Dane, and Boxers
48Give me a list of five languages which I should make my kids learn.Bengali, Hindi, English, Spanish, French

How the rows were picked

Dolly's brainstorming category, requests for ideas, ways or suggestions answered with three or more items first; very short answers and one-fact lookups left out.

Source and license

databricks-dolly-15k (Databricks) · CC BY-SA 3.0

databricks-dolly-15k, Copyright (2023) Databricks, Inc.: instructions and responses written by Databricks employees; reference passages copied from Wikipedia (Wikipedia editors and contributors, CC BY-SA 3.0).

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Everyday

Close

Cooking

Answers practical cooking questions on techniques, ingredients, substitutions, baking and food safety, from Seasoned Advice (Cooking Stack Exchange) top-voted answers.

1,000 examples956 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
3Is it safe to leave butter at room temperature? Is it safe to leave butter at room temperature? If so, for how long is it safe to keep it out?Try a butter crock. This will keep your butter fresh at room temperature for a fairly long time (weeks, not days).
Question by Chas. Owens (CC BY-SA 3.0) · Answer by user73 (CC BY-SA 2.5) · cooking.stackexchange.com
58How to chill beer quickly? We all know the situation. The party is about to begin, it's really hot outside and we forget to put the beer (or similar drink) into the fridge... What is your way to chill beer really fast?Use a salted ice-water bath. The water increases the contact and heat dissipation, and adding salt allows the temperature to go below freezing.
Question by Cornelius · Answer by kevins · cooking.stackexchange.com · CC BY-SA 2.5
5How do you peel garlic easily? How should I approach peeling a clove of garlic to get the skin off most quickly? Is it different if I'm doing a bulb whole?Even with a whole bulb, break it into cloves. Put clove(s) on a cutting board. I usually cut off the root end of each clove. Lay a large chef's knife flat on the clove, then smack the knife to crush the clove. This breaks the skin of the clove and makes it much easier to peel.
Question by Sam Holder (CC BY-SA 2.5) · Answer by Crispy (CC BY-SA 3.0) · cooking.stackexchange.com

Posts are shown without their bold and italic marks.

How the rows were picked

Top-voted answers (the accepted one when close) to open questions with a score of 2 or more; no images, at most two links, nothing that leans on other answers or comments.

Source and license

Seasoned Advice (Cooking) Stack Exchange · CC BY-SA 4.0

Questions and answers by Seasoned Advice (Cooking) users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up

Everyday

Close

Travel

Answers practical travel questions on flights, trains, luggage, airports, money, safety and visas, from Travel Stack Exchange's top-voted answers.

975 examples960 KB CSVCC BY-SA 4.0

A few of its rows

rowquestionanswer
8Why do people on airplanes often have tomato juice as a drink? Tomato juice seems to be a favorite drink for many travelers to have on board an airplane. I've seen this on almost every flight I've been on, but I have never noticed this same trend at ground-level. What are the…According to some studies, tomato juice, and many other foods, actually taste different (better in the case of tomato juice) under the low pressure conditions in an airplane than they do at home.
Question by graup · Answer by Michael Borgwardt · travel.stackexchange.com · CC BY-SA 3.0
58Can you bring an empty water bottle with you on the plane? I know you can't bring bottled water and such with you on the plane. However, is it safe to bring an empty bottle with you to fill up later? Or do you risk losing your possibly expensive/fancy/awesome water bottle when…I always have one or two plastic bottles with me. I empty them before I go through security and then re-fill them from a tap in the restroom in the waiting area. I've done this many times, and security never asked about the empty bottles, and even if they do you can explain what they are for.
Question by Svish · Answer by Peter Hahndorf · travel.stackexchange.com · CC BY-SA 3.0
25United Airlines joined my first name and middle name on boarding pass. How to correct this? I am traveling within the US, but my boarding pass shows my first name and middle name joined as such: Firstmiddle instead of First Middle. How do I correct this, or is this something th…There's nothing to correct. This is very common with airline reservation systems, and everyone handling your boarding pass should know what it means.
Question by question2018 · Answer by Zach Lipton · travel.stackexchange.com · CC BY-SA 3.0

Posts are shown without their bold and italic marks, and long rows are cut short here (…).

How the rows were picked

Top-voted answers (the accepted one when close) to open questions with a score of 2 or more; no COVID-era rules, visa and border answers only from 2021 on and at most 30% of rows, no images, at most two links.

Source and license

Travel Stack Exchange · CC BY-SA 4.0

Questions and answers by Travel users on the Stack Exchange network, from the Stack Exchange data dump (April 2024). Each post is licensed CC BY-SA 2.5, 3.0 or 4.0 as shown in the credits for each row.

In Heura Studios, add it to a model in one step, or download its CSV.

Sign up