https://github.com/ferg1e/comment-castles
https://www.commentcastles.org
For moderation, a user whitelist sits in front of the typical content blacklist, which introduces some interesting properties.
919 karma · joined November 6, 2020
https://www.rysapps.com
rytf12@gmail.com
https://github.com/ferg1e/comment-castles
https://www.commentcastles.org
For moderation, a user whitelist sits in front of the typical content blacklist, which introduces some interesting properties.
$argon2i$v=19$m=4096,t=3,p=1$KfzPd+sotGTwIJieTapmuw$4AKHcr0JDQQwId4OcLtDBc7cv8tAfwSKFCMYU4opooQ
https://www.commentcastles.org
I can't think of anything that would be broken except for maybe the logo which is an emoji character.
https://www.commentcastles.org
https://github.com/ferg1e/comment-castles
If you're curious the stack is node/postgres and vanilla HTML, CSS and JavaScript on the front-end. It has an OAuth 2 JSON API.
So, a fully RESTful API must output HTML. I'm not going to go into why but that's what Roy Fielding (the creator of REST), Martin Fowler and the HTMX guy(s) say.
The HTMX guy(s) also say that of course this fully RESTful API that outputs HTML is sometimes bad because you don't want to have to parse data out of HTML. So, the optimal setup is to have both a fully RESTful HTML API and the more common JSON API.
I also think that for the fully RESTful HTML API, it doesn't make sense for the outputted HTML to have any JS.
So, the question I'm pondering at the moment is, is a fully RESTful HTML API simply a website that doesn't use any JS? If so, then the optimal setup is to have an SSR website that doesn't use JS and a JSON API. Of course, under the hood, the website and the JSON API use the same lower level API (eg. SQL queries and back-end functions).
What's crazy for me personally is that this is exactly how I have set up Comment Castles. There's the no JS website [1] and the JSON API [2]. But I didn't build a no JS website because of REST, I just prefer websites that have no front-end JS.
Self teaching.
Simple math (arithmetic, boolean algebra, strings, composite data types, bitwise operators, order of operations, infinite expression nesting, and of course functions).
Complexity avoidance.
Written communication.
Subconscious thinking (ie. solving problems on autopilot while doing something away from the computer).
All the features work with front-end JavaScript turned off.
I am currently wrapping up the OAuth 2 server implementation so that we can have third party apps (no API fees!).
After I wrap up some remaining features I am going to move everything to commentcastles.org and forward the old site there.
It's currently text only (emojis allowed).
I do want to build good custom search but haven't really started on that task yet.
I have 20 years of experience as a generalist contract web developer.
Most of my clients are companies with less than 5 employees.
My email address is at the top of the website in my HN bio.
It it possible to reduce body fat while staying at the same weight, but the muscle gains will be much slower.
Location: Portugal (US expat)
Remote: Yes
Relocate: No
I have 20 years of experience as an async remote generalist web developer. Portfolio site available in bio. Email address at the top of my portfolio site. I am the founder/creator of Comment Castles [0] which is an open source reddit/HN clone.