ArticleslgStudy

computer science

Discourse (software)

Discourse (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Discourse (software) rather than just read about it. In short: Discourse is an open source Internet forum system released on August 26, 2014. It was founded by Jeff Atwood, Robin Ward, and Sam Saffron.

Discourse (software) — main illustration
Discourse (software) — illustration

Key takeaways

  • Discourse (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Discourse (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Discourse (software) from memory before moving on to harder problems.

Reference excerpt

Discourse is an open source Internet forum system released on August 26, 2014. It was founded by Jeff Atwood, Robin Ward, and Sam Saffron. The client side application is written in EmberJS. The server side is written in Ruby on Rails and backed by a PostgreSQL database and Redis cache. The source code is distributed under the GNU General Public License version 2.

Features

Categorization Similar discussions can be organized under categories. Admins can create categories, add category descriptions and logos, and control access to topics in the category. Discourse provides granular control over read/write permissions. Discourse also supports sub-categorization or nested categories. Subcategories are categories in themselves so they can be controlled in the same manner as parent categories. The only difference is the parent-child relationship.

Tagging Tags are a lightweight alternative to categories, but they can also be used in conjunction.

Topics Conversations in Discourse are organized into topics. Users are able to create new topics or reply to existing ones. Categories and tags can be assigned to topics which makes them follow the security rules for those if applicable. A topic consists of the initial post as well as any subsequent replies to it. Replies in Discourse follow a flat chronological order as opposed to being threaded. The Discourse core developers believe that threading replies is detrimental to the health of the overall discussion. Users can interact with each post independently. They can take actions such as reply, like, bookmark, quote or flag for moderation.

Trust levels The user trust system is a "fundamental cornerstone of Discourse". Discourse's trust levels sandbox new users so that they cannot accidentally hurt themselves or other users, while granting experienced users more rights over time so that they can help maintain and moderate the community. The five trust levels are New, Basic, Member, Regular, and Leader. As users become more experienced, their trust level is raised, granting more rights and access to more features.

Discourse narrative bot Discobot is a customizable bot that introduces new users to many of the platform's features like bookmarking a topic, embedded link previews ("oneboxing"), emojis, mentions, basic formatting, uploading images, flagging posts, and searching.

Personal messages In addition to public and private topics, users on Discourse have the ability to send personal messages to other members in the community. Users receive notifications for personal messages and can add or remove members to a message at any time. Each user has a personal inbox that contains all of their sent and received messages.

Groups Admins can create groups and add members to them. Groups can be used to manage access to certain categories, and for group mentions and group messages. When Discourse is installed, it creates automatic groups for administrators, moderators, staff, and the five trust levels. Custom groups can set to either public or private. Users can add themselves to a group or request to be added by the group owners. Users can also be automatically added to a group during signup based on their email address.

Editor

Discourse features a rich-text editor (the "composer"). It supports plain text, markdown, and HTML. The composer features a toolbar which includes formatting, quoting, and upload buttons. The preview panel in the composer allows users to see a live preview of the post. It supports drag and drop image and file uploads. The composer supports OpenGraph and oEmbed. URLs from external websites that support those standards will automatically expand to provide a summary of the URL. One of the key features of the composer is its ability to save drafts prior to publishing them. Certain actions in the composer are triggered based on user input. The "@" character brings up a panel for mentioning other users. The "#" character brings up a similar panel for categories and tags. The composer also features configurable JIT educational panels with the goal of promoting civilized discussion.

Admin interface The administration dashboard's settings section allows control of appearance and behavior of the software, including fields for information about the community. The dashboard also provides an overview of the health of the community, via charts showing signup numbers and other health metrics. The localization section allows admins to change any text used in the interface.

User directory The "Users" page in Discourse serves as a leader-board with search functionality. It includes statistics such as posts created, posts read, likes received, and days visited for a given time frame. Users can be sorted according to any of those metrics. Admins can optionally add more metrics.

Plugins Discourse is extendable via plugins. Plugins create the ability to modify both the server and client sides of the application. Some examples of plugins include

Discourse Math, which adds support for math rendering. Chat integrations, which integrate Discourse with popular chat platforms. BBCode, which adds support for BBtags. The Discourse team maintains a list of both official and community contributed plugins on the official support forum.

Themes The Discourse theme system allows admins to customize the client side application. Themes can modify the layout of pages, add new functionality, and add additional styles to any element in the interface.

API Discourse has a REST API. The developers maintain a getting-started guide on the support forum as well as documentation for the API endpoints.

Security The developers welcome peer audits of the open source code and encourage reporting security issues. They maintain a vulnerability disclosure program at Hacker One.

DiscourseHub DiscourseHub is the official, open source Discourse application for Android and iOS devices. It allows users to keep track of new and unread posts and notifications across multiple Discourse sites. Real-time push notifications are native for officially hosted Discourse forums.

… excerpt ends here. Continue reading the full article.

Illustrations

Discourse (software) illustration
Discourse (software): The default homepage in Discourse
The default homepage in Discourse
Discourse (software): Discourse Editor (Composer)
Discourse Editor (Composer)
Discourse (software): Discourse Air Theme
Discourse Air Theme

Worked examples

Example 1 — a first encounter with Discourse (software)

Start with the simplest possible case. Write down what Discourse (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Discourse (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Discourse (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Discourse (software)

In research
Discourse (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Discourse (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Discourse (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free Internet forum software, Free software programmed in Ruby, Internet forum software, so understanding it makes those chapters shorter.
In everyday life
Look for Discourse (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Discourse (software)” →

How to study Discourse (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Discourse (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Discourse (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Discourse (software) in simple terms?

Discourse is an open source Internet forum system released on August 26, 2014. It was founded by Jeff Atwood, Robin Ward, and Sam Saffron.

Why does Discourse (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Discourse (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Discourse (software).

Tags

  • Free Internet forum software
  • Free software programmed in Ruby
  • Internet forum software
  • Software using the GNU General Public License

Keep exploring