Habra-analysis: is the length of the publication important?
You know that Habr is not just one popular social platform with a limit on the length of a post of 280 characters, right? And although one-paragraph posts appear from time to time, they rarely meet with approval from you, Habra-residents.
The review will cover all of 2019. For each hub, all publications within that time frame are selected. All text contained within the <div id=" tag is parsedpost-content-bodyΒ» >, as well as posting metrics such as votes (total, pros, cons, final rating), views, bookmarks, and number of comments. Obviously, the date and time of publication, its ID, author and title are also taken into account.
The length of the text is counted in bytes (strlen), symbols (iconv_strlen) and graphemes (grapheme_strlen).
Overview
A total of 4 publications from 805 authors were found. They wrote 1 bytes (845 MB) of text, garnering 114 views, 014 bookmarks, and 297 comments. Like this (Fig. 1) all of these publications appear on the timeline.
Rice. 1. All posts published in five hubs in 2019
Programming
This hub in 2019 collected 1 908 posts and 826 authors. The overall rating of publications reached +49 (β975, β57 and 588 votes), and the number of views reached 7. In addition, articles were added to favorites 613 times, and also commented 65 times.
The total size of publications is 49 222 543 bytes (~46.94 MB), 33 characters or 514 graphemes.
If we just calculate the average
The publication accounts for +26.2 ratings (β30.2, β4 and 34.2 votes), 11 views, 496.1 bookmarks, 84.7 comments. The text size is 31.2 bytes, 25 characters or 798 graphemes.
Information Security
This hub scored in 2019 1 430 posts from 534 authors. The overall publication rating reached +39 (β381, β43 and 874 votes) and the number of views reached 4. In addition, the articles were favorited 493 times and also left 48 comments.
The total size of publications is 31 025 982 bytes (~29.59 MB), 19 characters or 944 graphemes.
If we just calculate the average
The publication accounts for +27.5 ratings (β30.7, β3.1 and 33.8 votes), 13 views, 757.9 bookmarks, 56.6 comments. The text size is 34.2 bytes, 21 characters or 697 graphemes.
Open source
This hub in 2019 has 576 publications and 305 authors, as well as an overall rating of +17 (β735, β19 and 699 votes), 1 views, 964 bookmarks and 21 comments.
The total size of publications is 14 142 730 bytes (~13.49 MB), 9 characters or 598 graphemes.
If we just calculate the average
The publication accounts for +30.8 ratings (β34.2, β3.4 and 37.6 votes), 11 views, 719.1 bookmarks, 62.5 comments. The text size is 34.9 bytes, 24 characters or 553 graphemes.
Website development
This hub scored in 2019 1 007 posts from 415 authors. The overall publication rating reached +28 (β300, β31 and 594 votes) and the number of views reached 3. In addition, the articles were favorited 294 times and also left 34 comments.
The total size of publications is 23 370 415 bytes (~22.29 MB), 15 characters or 698 graphemes.
If we just calculate the average
The publication accounts for +28.1 ratings (β31.4, β3.3 and 34.6 votes), 12 views, 479.1 bookmarks, 91.8 comments. The text size is 26.4 bytes, 23 characters or 208 graphemes.
Java
This hub in 2019 collected 530 posts and 279 authors. The overall rating of publications reached +9 (β820, β11 and 391 votes), and the number of views reached 1. In addition, articles were added to favorites 571 times, and also commented 12 times.
The total size of publications is 13 574 788 bytes (~12.95 MB), 9 characters or 617 graphemes.
If we just calculate the average
The publication accounts for +18.5 ratings (β21.5, β3 and 24.5 votes), 82 views, 411.1 bookmarks, 60.3 comments. The text size is 17 bytes, 25 characters or 613 graphemes.
Is there a length dependency?
The short answer to this question is no. Overall rating dependencies (Fig. 2), the number of pluses (Fig. 3) and minuses (Fig. 4) from the size of the publication no. Whether you write 1 or 000 bytes of text, the chance of getting +100 is about the same as for +000 or +10.
Rice. 2. Dependence of the publication rating on the length of the text
Rice. 3. Dependence of the number of pluses of the publication on the length of the text
Rice. 4. The dependence of the number of minuses on the length of the text
As you can see, several points of very short publications are knocked out of the statistics. These include publications about events around Nginx and other notes that are important at some point. In this case, it is not the text of the post that is evaluated at all.
The dependence of the number of views on the length of the text looks approximately the same (Fig. 05).
Rice. 5. The dependence of the number of views on the length of the text
Could this be an idea? Let's check how the rating depends on the number of views.
Dependence on the number of views
Isn't it obvious? More views = more ratingsFig. 6). At the same time, the rating will not necessarily be higher, since you can get more minuses (Fig. 7) Also, more views = more bookmarks (Fig. 8) and comments (Fig. 9).
Rice. 6. Dependence of the number of ratings on the number of views
Rice. 7. Dependence of the publication rating on the number of views
Rice. 8. The dependence of the number of additions to bookmarks on the number of views
Rice. 9. The dependence of the number of comments on the number of views
What to do? Write long posts or short notes? Popular or interesting?
There is no obvious answer to this question. Of course, if you're only looking for approval (number of upvotes), then a better chance of success is to get more views, and this requires an exceptionally high-profile headline or a popular topic.
But let's not forget that Habr exists not for the sake of headlines, but for the sake of quality publications.
That's all for today. Thank you for your attention!
PS If you find any typos or errors in the text, please let me know. This can be done by selecting a part of the text and clicking "Ctrl / β + Enter"if you have Ctrl / β, either via private messages. If both options are not available, write about the errors in the comments. Thank you!
P.P.S Perhaps you will also be interested in my other studies of Habr, or you want to propose your topic for the next publication, or maybe even a new cycle of publications.
Where to find the list and how to make an offer
All information can be found in a special repository habr-detective. There you can also find out which proposals have already been voiced, and what is already in the works.
Also, you can mention me (by writing VaskivskyiYe) in the comments to a publication that you think is interesting for research or analysis. Thank you Lolohaev for this idea.