Almost all children (former and not) know about the village Prostokvashino and remember the letter of Uncle Fyodor.
Something like this, when any person joins the text of the letter, you can do it on Habré, where there is no Matroskin cat and dog Sharik, but many other wonderful characters live with a wonderful sense of humor, tact and alignment.
The most remarkable date for this undertaking is approaching - April 1 and there is time for the realization of this humorous idea.
On microcontrollers that know a little, it is difficult to implement this venture. Probably not loved by many Arduino.
Therefore, it is necessary to know the
other , which I do not have, but there are many smart people.
')
In the topics on Habré author's post is clearly separated from the comments. Sometimes, after publication, the author voluntarily adds comments from some users to his post.
But everything can be radically changed ...
The idea of implementing a collective post
The author of the post comes up with the title: “The subject of the letter and the address of the message”, if you wish, writes a brief introductory part, puts Habracut
and publishes a post. His discussion begins.
A program running on a topic’s computer constantly monitors a post. When new comments appear, email, tracker or tracking of the comment field, they are included in the text field of the topic and it is republished.
The comments are arranged in the text strictly in the order of the time of appearance in the field of comments to this topic. This is different from the tree structure adopted in the comment field, but allows you to change the meaning of the text in the most unexpected form.
The program can work on the server Habra. This gives round-the-clock performance and automatic information about the receipt of a comment.
Fasting will be kind and dynamic. If the comment gets a grade below the plinth (zero), the program evaporates it from the post, after which the meaning of the main text changes again. If the comment goes out of the red zone, then its text reappears in the text.
The name of the author of the comment, the time of its appearance and evaluation in the post do not fall (if you wish, this information can be found in the comments field), only the text of the comment is published with the formatting, links, photos, etc.
In fact, the post is obtained from comments with a non-negative rating, arranged in the order of their receipt.
The content should be fun, sometimes even related to the message of the letter.
What this will lead to and what storylines will determine whether the content of the post will develop or not depends on many factors: the name of the topic, the interests of people, their activity, mood, phase of the moon, time of day and day of the week, as well as many other reasons.
If it works in some places or is generally interesting, you can make several similar letters, and not only on April 1.
Readers of the post will no longer have preferences - read the comments or just the topic itself, everything is located together. And commentators become co-authors of the post and can always say: “I also participated in writing!”
It is necessary to solve the problem of the same time.
If the program will “spin” on the Habr server, then this problem will disappear.
If the post's author is on the computer, then you need to figure out in which order to post comments with the same appearance time.
Options:
- in alphabetical order of the first letter beginning the comment;
- by the number of letters (the more, the longer it was written, which means earlier at the beginning of the idea);
- most likely, messages about new comments are sent to the mail or tracker in the correct time order, you just need to check;
- other options.
The time of the appearance of the comment in the post.
It can be done immediately upon appearing, or after the end of time, giving the opportunity to change the comment. Both cases are interesting for confusing the following text, which will be written by other co-authors / commentators.
The writing will be unfinished, you can always add another “last” word. But it is possible to limit the time of writing the “work”, for example, three days.
For the sample, you can take any post and arrange the comments in the order they are received. It is only necessary to take into account that in this case comments are often not very tied to the main topic of the post, since discussion threads roll into many separate topics. But this is their charms.
In the comments, you can discuss both the idea itself and various aspects of the implementation, and from the vote it will become clear the most important thing.