phanalist
luvdb
phanalist | luvdb | |
---|---|---|
5 | 4 | |
108 | 3 | |
- | - | |
9.3 | 9.9 | |
14 days ago | 5 days ago | |
Rust | HTML | |
MIT License | GNU Affero General Public License v3.0 |
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)
luvdb
-
Ask HN: Show me your half baked project
https://luvdb.com
https://github.com/huangziwei/luvdb
A self-hosted media cataloging web app, with which one can mark the books, movies, music and games one likes, along with some basic social networking features such as microblogging, normal blogging, bookmarking and curating stuffs into lists. It's just me trying out ideas in an highly self-indulgent way.
-
I built a Plane Spotter in 120 secs with ChatGPT
I spent 86 days with ChatGPT-4 and made a Goodreads clone (kinda) that I always want to have: https://github.com/huangziwei/luvdb
I have near-zero web dev experience before this project. After about a month, I started to rely on it less and less. But I still use it to debug when I hit the wall.
-
Ask HN: Alternatives to Goodreads?
Build your own tool if there isn't one. I used to think it's impossible as I barely know web dev, but in 2023, with the help of ChatGPT, I managed to build my own Goodreads alternative (well, it's actually more than a Goodreads alternative) in two months:
https://github.com/huangziwei/luvdb
What are some alternatives?
ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust.
speech - A tool to practice English speaking
php-malware-analysis - Deobfuscation and analysis of PHP malware captured by a WordPress honey pot
muziko - Practice every song you know
ntfy - Send push notifications to your phone or desktop using PUT/POST
nature - 🍀 The Nature Programming Language, may you be able to experience the joy of programming.
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.
marver - turn your messy media archive into a personal streaming service, photo viewer, and searchable library.
gptlang - A new programming language implemented by GPT-4.
agi-pack - A Dockerfile builder for Machine Learning developers
planetracker - An interactive plane tracker
ml-hat-cam - Object tracking Pi-based hat camera with auto zoom for filming rc planes