YOUR COMMUNITIES, ONE FEED
Home feed.
Making functions easier to unit test
Feat: Posts written in Markdown
Feat: Filenames in Posts Markdown
Feat: Main Feed ordering
Now the the Home Feed can be ordered as Oldest first, Newest first, or user's communities. The default ordering now is Oldest first, as it makes more sense to take a quick look at my progress.
Annotations in C#
Model binding and Razor in C#
Test Enviroment
Now that I've published this project and shared it, breaking production isn't harmless anymore. To solve this, I deployed a tests enviroment. Production should be safe now (until I deploy something and break it again). The tests enviroment is not public.
Fixed: Community Feed not showing MarkDown
Any post with markdown was being shown as plain text in any community feed. Has been fixed.
SQL Server was too expensive, migrated to Postgres
For this project, I had created a SQL Server RDS instance because I'm familiar with this database. But, apparently 1GB of RAM ain't enough for SQL Server, so i was paying a lot for extra processing (at least for me, it's a lot of money). Upgrading to 2GB of RAM wasn't particularly cheap either, so I opted for Postgres and kept 1GB RAM. Let's see how it goes before putting more effort into reducing costs. This project is still small, so the migration was fairly simple with a C# program that would connect to both SQL Server and Postgres, read all tables and transfer all the data. The po ...
Show moreFixed Jenkins' pipeline
For quite some time, i had this random occurance of which my CD pipeline would crash, and I had to restart my EC2 server to temporarily fix it. As it turns out, my EC2 t3.micro instance with 1GB of RAM was doing wonders to publish the project, since the pipeline would make it run "git pull" then "dotnet publish". Now the pipeline runs "dotnet publish" on the jenkins server and sends a .zip file to the EC2 machine.
Fixed Redirect
On creating a new community, the user was redirected to an non existent page. It has been fixed.
Fixed Jenkins' pipeline (again)
Now with two jenkins pipelines, one for test and one for production, I didn't realize that the lack of EF-Migrations on the production db would break the deploy. The EF-Migration has been included in the pipeline.
Harness engineering is a confusing term
This is a post by a deleted User
Just like Reddit, Users Posts won't get deleted after a User is deleted.
Fixed: voting when not logged
when not logged in and clicking on upvote, user sees message "failed to fetch". Now, it displays "log in to vote".
Fixed: Feed ordering "newest" not working when not logged in
Bugfixed
What is RAG
Retrieval-Augmented Generation (RAG) is a technique to improve LLMs answer precision by giving it external sources of data. This data often is documentation, allowing for the User to browse easily among the specific and updated data, and therefore, instead of having to search dozens of pages of documentation, the User just asks the LLM, for example. As a downside, if the source of data is incomplete, outdated, or simply wrong, it will produce bad answers. (but that's quite obvious)
Remembering AngularJS
Fixed: Explore Communities button highlight
Explore Communities button was being highlighted in too many contexts.