Skip to content

Improvements

Setup Alpine OS in bentinho server

(Alpine install guide) (Nice description of Alpine)

Setup some lints

  1. Markdown: remark-stringify
  2. C++: cppcheck
  3. Python:
  4. JS:
  5. CSS:
  6. HTML:

Use a c++ dependency manager such as conan

I have the following dependencies

  1. catch
  2. inja (benchmark templates)
  3. json/nlohmann
  4. node-v14.17.4-linux-x64
  5. jinja (html templates)

I would like to figure it out a way to make it easier to maintain and link to the build tasks in travis.

A general Trie

Concerned files

  1. modules/datastr*

Description

I want to store additional information at a Trie's leaf, for example, the frequency in which the word appeared. I would like to do that for an arbitrary number of additional information.

Task

Implement a Trie which accepts a type as template parameter. All elements of the Trie will have a pointer of this type. This pointer is equal to nullptr for every element in the Trie except a leaf. The type instances are all stored in some sort of pool.

Add a paste here button

Description

When clicked, the content in the clipboard is used to generate a puzzle. I should definitely apply some kind of filter. I remember to have problems passing ';'.

I should use a post method, since I will likely running into problems using a query string.

Accept only .txt files

Description

The server accepts uploads of documents to create custom puzzles. I should create a function to block files that are not text documents, for example, executable files.

Browser add-on

Description

Create an add-on that when clicked, it generates a puzzle from the page contents. A simpler version could be to generate a puzzle from the selected text.