AsmBB forum software presentation.

Discussion in 'Forum Software Development' started by JohnFound, Mar 20, 2017.

  1. \o/

    \o/ Participant

    55
    13
    +15
    The asmbb.tar.gz file has 0 byte .tpl files...?
    (Tried with WinRAR.)
     
  2. JohnFound

    JohnFound Participant

    65
    35
    +77
    Most of the .tpl files in the different skins are simply a symlinks to the respective files in the "Wasp" skin. Only the files that differs are copied. The same applies for the image directories.

    I am not sure how Windows (particularly winrar) will handle these symlinks. :confused:
     
  3. \o/

    \o/ Participant

    55
    13
    +15
    Wrong, it seems.

    Just wondering.
     
  4. JohnFound

    JohnFound Participant

    65
    35
    +77
    Try to unpack the file with 7zip - AFAIK, it handles symlinks somehow. Also Windows/NTFS supports some kind of symlinks, so theoretically it should be possible to unpack the file properly...
     
    • Agree Agree x 1
    • Informative! Informative! x 1
    • List
  5. \o/

    \o/ Participant

    55
    13
    +15
    7-zip seems to do the right thing.
     
  6. JohnFound

    JohnFound Participant

    65
    35
    +77
    Yesterday, I decided to implement (at the end) Atom syndication feeds. The first, experimental implementation is already deployed on the server.

    There are 3 types of feeds. All are organized by adding "!feed" to the respective URL:

    1. For all threads of the forum: https://board.asm32.info/!feed

    2. For specific tag: https://board.asm32.info/asmbb/!feed

    3. For specific thread: https://board.asm32.info/asmbb-v2-5-has-been-officially-released.267/!feed

    The URLs are formed by simple adding "!feed" to the respective URL.

    I am not using any feed reader, so I am totally ignorant about what should be "acceptable end result". All the code is created by reading the wikipedia article about Atom feed.

    So, if some of you are active users of RSS/Atom readers and are wiling to help in the testing, post here what have to be fixed. Thanks.
     
  7. \o/

    \o/ Participant

    55
    13
    +15
    You should add feed contents. I can only see the titles.
     
  8. JohnFound

    JohnFound Participant

    65
    35
    +77
    The content is included in the feeds for specific thread (case 3 from above). But what content to include for the thread list feeds... The thread itself has only its caption, not a content as such...:confused:
     
  9. \o/

    \o/ Participant

    55
    13
    +15
    It has a first posting, maybe that one?
     
  10. JohnFound

    JohnFound Participant

    65
    35
    +77
    Well, I can imagine several variants:

    1. The first post in the thread:
    + It better illustrates the subject of the thread
    - The thread is marked as changed, but the content is the same as before. So, what is changed then?

    2. The last post in the thread - the post that caused the thread to be marked as new/unread in the feed reader.
    + The change is demonstrated directly
    - The last post is less informative.

    3. No postings text at all, but some thread statistics: Post counts, read counts, the nicknames of the posters (almost the same that is displayed on the forum thread list)
    + ???
    - ???

    Maybe (3)+(2) or (3)+(1) will be the best variant. What you think?
     
  11. \o/

    \o/ Participant

    55
    13
    +15
    In this case, (3)+(1). Being informative is the most important feature of an RSS feed.
     
  12. JohnFound

    JohnFound Participant

    65
    35
    +77
    Well, OK then. Tomorrow will make it this way.
     
  13. JohnFound

    JohnFound Participant

    65
    35
    +77
    At the end, I have implemented the variant (3)+(2). Now the thread list feed contains:

    1. The caption of the thread and the total count of the posts in the thread.
    2. All users that posted in this thread in the item <author>
    3. Some thread statistics
    4. The author and the text of the last post in the thread (this is actually the post that caused the thread to be updated in the feed).

    Also, I have added some explicit links to the feeds in order to make it clear for what feed you will subscribe. Unfortunately, I was able to make these links to work only in the PaleMoon browser. All other browsers I check, simply show the XML file. Obviously this is a result of RSS/Atom feed not supported anymore in all major browsers. Maybe some plugin can fix the problem, but I don't know about such.
     
  14. \o/

    \o/ Participant

    55
    13
    +15
    I tested it in Newsblur which happens to be my feed reader. If you want to test it in a real feed reader, try this one:
    https://rosaelefanten.org/rss/
     
  15. JohnFound

    JohnFound Participant

    65
    35
    +77
    I have installed Liferea as a stand alone reader and Feedbro as a Firefox plugin. Using online service as a feed reader is not a good idea IMHO.
     
  16. JohnFound

    JohnFound Participant

    65
    35
    +77
    How to install AsmBB with RWASA and post a message for less than 2 minutes...

     
    • Like Like x 2
    • Informative! Informative! x 1
    • List
  17. \o/

    \o/ Participant

    55
    13
    +15
    The video is longer than 2 minutes though. :D

    But thank you - I should really try RWASA once.
     
  18. MagicalAzareal

    MagicalAzareal Magical Developer

    275
    70
    +129
    Is it asynchronous? 90% of Nginx's performance is due to it's asynchronous architecture rather than the language.
     
  19. JohnFound

    JohnFound Participant

    65
    35
    +77
    I am not very sure what "asynchronous" means related to AsmBB. It works according to FastCGI specification. It can handle multiple requests simultaneously (through multi-threading) and also several independent FastCGI servers can run simultaneously on the same database.

    As a rule, the different web servers use only one of these methods. For example Apache runs multiple instances of the engine, while Nginx or RWASA are sending multiple requests to the same instance.
     
    • Informative! Informative! x 1
    • List
  20. MagicalAzareal

    MagicalAzareal Magical Developer

    275
    70
    +129
    Sorry, if I don't make too much sense here, I'm not too good at explaining these things, but let me see if I can put it into words:

    Think of every request as a task. And these tasks get evenly distributed across CPUs. And every time you hit some sort of I/O (e.g. waiting on the network or the database), then you switch in another task to work on while waiting for the database to get back to you.

    You can also switch between tasks a lot more efficiently than you might, if the OS is forced to do a context switch between threads, as one task will willingly cede execution to another.

    http://ithare.com/infographics-operation-costs-in-cpu-clock-cycles/
    I love ITHare's Art, it's so cute. Anyway, this illustrates it a bit.
     
    Last edited: May 2, 2019
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.