phanalist
comment-castles
phanalist | comment-castles | |
---|---|---|
5 | 36 | |
108 | 59 | |
- | - | |
9.3 | 9.4 | |
14 days ago | 1 day ago | |
Rust | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
phanalist
-
Traversing an AST of PHP source code.
Phanalist needs a way to detect when we are in the function's scope with the name tooComplex(). With pattern matching, it is super easy to detect if the statement is either: if,else,etc.. The first statement that I want to match for is class Index{ and from there, we will continue down the tree. If you think the same way as I do you know that I will be using recursion to calculate the cyclomatic complexity. After we have matched the scope of the tooComplex() function.
-
How I made it impossible to write spaghetti code.
In the following paragraph, we will see how phanalist can calculate the cyclomatic complexity of the scope of a method. Before creating Phanalist, I always kept the cyclomatic complexity of the methods I wrote in my mind. And if I see that the complexity is higher than 10. I always try to refactor the method, making it easier to understand.
-
Ask HN: Show me your half baked project
https://github.com/denzyldick/phanalist
I'm trying to write a static analyzer for PHP. It's written in RUST and it's a personal project of mine to learn rust and also make a FAST static analyzer for PHP projects that are big. I started with this project because the current static analyzers in the PHP ecosystem are slow.
It would be nice if there were people that would like to contribute. If you want to learn rust and you have PHP experience you are welcome to help.
- Ask HN: What's your most starred repo?
- A new PHP static analyser(Phanalist)
comment-castles
-
Trust-Based Moderation Systems
Slightly off topic:
I am trying to innovate on moderation systems and I run/code a whitelist moderated forum [0]. You can only see posts and comments from users that you follow. It's a very simple system and there really aren't any gaming vectors. One implication is that if a new user signs up and posts, no one will see it unless they follow. I've actually never used any typical censorship moderation.
[0] https://www.commentcastles.org
-
Ask HN: Show me your half baked project
Reddit clone:
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.
- Comment Castles| Lightweight internet forum.
-
Ask HN: Websites that works with old browsers (mid-2000's browser)?
I think my forum should work:
https://www.commentcastles.org
I can't think of anything that would be broken except for maybe the logo which is an emoji character.
- Ask HN: Post Your Startup
- Donโt Build a General Purpose API to Power Your Own Front End (2021)
-
You're So Vain, You Probably Think This App Is About You: On Meta and Mastodon
You may want to check out Comment Castles [0] (disclaimer, I'm the creator). There are 50k comments, but I have never moderated anything. Actually, there are no moderation or admin tools built into the project.
[0] https://www.commentcastles.org
- OAuth difficulty with Express
-
Test 5
Comment Castles + Reddit thread
What are some alternatives?
ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust.
webcrate - ๐ฆ๐ Organize your web with WebCrate, a modern and beautiful bookmarking tool
php-malware-analysis - Deobfuscation and analysis of PHP malware captured by a WordPress honey pot
wiredhoo - Project to add wired connectivity to a Wahoo Kick by emulating the ANT+ profile within an emulated ANT USB stick; the host believes it is communicating to a ANT+ wireless device. Broader scope to be an open-source firmware replacement for trainers.
speech - A tool to practice English speaking
nestflix.fun - A website showcasing nested stories: fictional movies within movies and shows within shows.
seleneCMSBundle - Add CMS functionality to your Symfony Apps
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
shopipy - A Shopify API client for Pyhton with async support
storyteller - StoryTeller is an experimental web application that creates short audio stories for pre-school kids.
Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser]
concise-encoding - The secure data format for a modern world