HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dhux

no profile record

Submissions

[untitled]

1 points·by dhux·2년 전·0 comments

Ask HN: Where to find tech meetups in Dubay, UAE?

1 points·by dhux·3년 전·0 comments

A new PHP static analyzer(Phanalist)

github.com
1 points·by dhux·3년 전·0 comments

comments

dhux
·2개월 전·discuss
[dead]
dhux
·3년 전·discuss
It depends on the selling price. And your personal financial situation and the time you can invest in.
dhux
·3년 전·discuss
It depends, if you are financially stable I would say. An island in the carribbean.

An island that is not part of any european kingdom or part of the U.S.A or any bigger country.
dhux
·3년 전·discuss
Right now I'm using PopOs when I use the default terminal nerdfonts do not render correctly. But in other terminals i have no problem.
dhux
·3년 전·discuss
I'm a new vim user. I've been using the vim motions for 2+ years in Intellij. I use intellij at my work. But for my personal projects, i've been using Lunarvim.

What I've realised, I can get in the zone much faster when using neovim. Instead of Intellij. I think if I get to the point that I have my own vim configuration, it would feel like something really personal. I use Lunarvim & Zellij and it's awesome.
dhux
·3년 전·discuss
First read the rust book.. And write your own tiny program.
dhux
·3년 전·discuss
PHP, JavaScript, Java, C#, Golang, Scala, Rust, Python & SQL.
dhux
·3년 전·discuss
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.

The project is it early stages. Right know the focus is on writing the checks that are needed. The current checks that are implemented are:

- Detect when the cyclomatic complexity of a method is too high. The current threshold is 10.

- Extending undefined classes.

- Having a try/catch with an empty catch that doesn't do anything.

- A method that has more than five parameters.

- Methods without modifiers(private, public & protected).

- Classes that start with a lowercase.

- Check if a method exists when called inside another method.

- Methods that return a value without defining a return type.

- Constants that have all letters in lowercase.

- Parameters without any type.

- Correct location for the PHP opening tag.
dhux
·3년 전·discuss
Right now. I have 9 stars. This is the project. https://github.com/denzyldick/phanalist

It's a static analyzer for PHP writtin in Rust.
dhux
·4년 전·discuss
Hey nice job. I like how you used a video as background.