Sneedforo

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
I take it that this is Null's pet project so he wants some code project to work on.
But using the analogy, it is absolutely worth bringing up to a PM before a project gets 6 months in to say "maybe it would've been much easier to use an off the shelf solution than spend our time and corporate budget on a not-imvented-here syndrome project"
 
I take it that this is Null's pet project so he wants some code project to work on.
But using the analogy, it is absolutely worth bringing up to a PM before a project gets 6 months in to say "maybe it would've been much easier to use an off the shelf solution than spend our time and corporate budget on a not-imvented-here syndrome project"
One of the major specifications for this project was that it NOT be an out of the box solution. There are plenty. They all have pros and cons. The idea is to make a better product.

Someone who adminned a high traffic, user-intense site for almost ten years has some value to add to such a product.
 
I take it that this is Null's pet project so he wants some code project to work on.
But using the analogy, it is absolutely worth bringing up to a PM before a project gets 6 months in to say "maybe it would've been much easier to use an off the shelf solution than spend our time and corporate budget on a not-imvented-here syndrome project"
Null isn't the only person to work on it, though. If you check the commit history, CrunkLord420 and about five other people pitched in.
 
  • Informative
Reactions: Dork Of Ages
I take it that this is Null's pet project so he wants some code project to work on.
But using the analogy, it is absolutely worth bringing up to a PM before a project gets 6 months in to say "maybe it would've been much easier to use an off the shelf solution than spend our time and corporate budget on a not-imvented-here syndrome project"
anime avatars are such fucking retards

find the corporate product that can run this site. do you have any idea what the problems with our software are?
 
anime avatars are such fucking retards

find the corporate product that can run this site. do you have any idea what the problems with our software are?
not really but I suggested using Element web UI with Matrix protocol as less work and @Flaming Dumpster provided some technical details about connecting forum identities
 
I might try to contribute at one point in the future but I already have too many projects going. I have a good amount of C/C++ experience but nothing in Rust besides the insanely long tutorial. Any idea what kind of license this is going to have and will it be +NIGGER?
 
Any idea what kind of license this is going to have and will it be +NIGGER?
I think it's AGPL but there's no LICENSE file yet. Not +NIGGER as far as I know.
1. that's harder than just writing a fucking websocket application
If the forum chat as it's implemented now is basically feature complete (aside from the missing user list) then yeah, I agree.

If the intention is to extend it to where it's more like Discord, then I'd still advocate for integrating some off-the-shelf shit like Matrix.



Anyway sorry Dear Feeder et al. for shitting up your notifications. I'm checking out of the thread now since I only know heterosexual programming languages like C# and therefore can't contribute much to the Rust dilation session.
 
  • Like
Reactions: Dork Of Ages
I have written an obscene amount of code in the last few days. I think it's up to 1000 lines of code and 20 unit tests. I'm working on a completely new from scratch BbCode lexer/parser/builder which will replace what we're currently using because it's just insufficient for what we need it to do and not flexible to make it work.

I'm up to the point where the lexer can break down a message into an ordered array of tokens which the parser can start converting into an "abstract syntax tree" of generic element nodes. I'm starting to work on the constructor which will convert that to HTML.

The issue I'm having now is trying to figure out how I want the tags to work.
 
I have written an obscene amount of code in the last few days. I think it's up to 1000 lines of code and 20 unit tests. I'm working on a completely new from scratch BbCode lexer/parser/builder which will replace what we're currently using because it's just insufficient for what we need it to do and not flexible to make it work.

I'm up to the point where the lexer can break down a message into an ordered array of tokens which the parser can start converting into an "abstract syntax tree" of generic element nodes. I'm starting to work on the constructor which will convert that to HTML.

The issue I'm having now is trying to figure out how I want the tags to work.
u deserve a good job high five

1654799000327.png
 
I have written an obscene amount of code in the last few days. I think it's up to 1000 lines of code and 20 unit tests. I'm working on a completely new from scratch BbCode lexer/parser/builder which will replace what we're currently using because it's just insufficient for what we need it to do and not flexible to make it work.

I'm up to the point where the lexer can break down a message into an ordered array of tokens which the parser can start converting into an "abstract syntax tree" of generic element nodes. I'm starting to work on the constructor which will convert that to HTML.

The issue I'm having now is trying to figure out how I want the tags to work.
You worked hard, good job.:like:
 
  • Like
Reactions: Dork Of Ages
dev diary i guess

1655231070911.png


I did three things today.

1. I added script-src meta tag with a nonce.
This stops arbitrary script execution. It is a general precaution, just in case there are any parsing issues with the new BbCode, there are safeguards.

2. Added a button for sending messages.

3. Reorganized the chat business logic.
Before, the chat had messy references all over the place to XenForo compatibility code. I've reorganized the code to fit Rust's standards for a multi-binary layout. I've also abstracted the XF integration so that I can write new code specifically for Ruforo and have both work at once.


Chat is not done yet. I need to
- finish adding all the missing BbCode tags
- rewrite the first third of the BbCode parser to be more memory effecient
- re-add @ tagging,
- fix emotes replacing text in other emotes

The BbCode rewrite implicitly benefits the main forum rewrite. The emote and @ tagging will also, so as far as main forum development goes, that will be the next thing I add.
 
dev diary i guess

View attachment 3387511

I did three things today.

1. I added script-src meta tag with a nonce.
This stops arbitrary script execution. It is a general precaution, just in case there are any parsing issues with the new BbCode, there are safeguards.

2. Added a button for sending messages.

3. Reorganized the chat business logic.
Before, the chat had messy references all over the place to XenForo compatibility code. I've reorganized the code to fit Rust's standards for a multi-binary layout. I've also abstracted the XF integration so that I can write new code specifically for Ruforo and have both work at once.


Chat is not done yet. I need to
- finish adding all the missing BbCode tags
- rewrite the first third of the BbCode parser to be more memory effecient
- re-add @ tagging,
- fix emotes replacing text in other emotes

The BbCode rewrite implicitly benefits the main forum rewrite. The emote and @ tagging will also, so as far as main forum development goes, that will be the next thing I add.
 
  • Like
Reactions: Dork Of Ages
Back