Better HN
topnewbestaskshowjobs
Log inSign up

Amine_Ztn

56 karma · joined Oct 11, 2022 (4y ago) · 17 submissions

Submissions

1.

Show HN: Self-hosted time tracker using Rust, Tauri and React(github.com ↗)

12 points · by Amine_Ztn · 3y ago · discuss

comment 4y ago · link · parent

I just fixed the problem, thanks for pointing it out! :D

comment 4y ago · link · parent

It's my first project in rust, I didn't really know how to go about getting the most practical installation possible. But thanks for the feedback, I'll work to make the process easier.

comment 4y ago · link · parent

This is a great idea! I hadn't thought about it. I'm currently fixing the major bugs and refactoring the code a bit, and when I finish that, I'll get to your idea, I find it really interesting.

comment 4y ago · link · parent

When a person delete an item, I get all the information that are interesting for me (https://github.com/AmineZouitine/rmt.rs/blob/main/src/trash_...), and then I move it in a .trash folder in which I rename it with a hash (the hash is made with several parameters to avoid any collision), I then store the information in a database sqlite :)

comment 4y ago · link · parent

Thanks ! I have many ideas to make the project much more interesting, including adding automatic flush (that the user will have configured), the ability to compress the file before entering the trash etc ... Do you have any ideas in mind?

comment 4y ago · link · parent

I followed your advice and fixed the problems, I updated the readme and the deployment of the new version (0.1.2) should arrive in 1 hour.

I thank you for raising these points.

comment 4y ago · link · parent

thank you for your feedback, I take it all into consideration, I will try to fix it during the day :D

comment 4y ago · link · parent

I'm fixing the bugs after the feedback and then I'm fixing the Windows problem, I'm using a crate that is not cross-platform for the input management

comment 4y ago · link · parent

This was my initial idea but unfortunately there can be name conflicts, if two files or folders have the same name, this idea does not work anymore. Also, I wanted to be able to keep the initial path to restore the element directly where it was deleted.

comment 4y ago · link · parent

This was my initial idea but unfortunately there can be name conflicts, if two files or folders have the same name, this idea does not work anymore. Also, I wanted to be able to keep the initial path to restore the element directly where it was deleted.

comment 4y ago · link · parent

Hi, thanks for your comment! I fix a lot of things with the numerous feedbacks, and I have a lot of ideas to make the project really interesting and different from what we can find :D

comment 4y ago · link · parent

Thank you for your comment, I try to get as close as possible to the signature of the real rm command in order to facilitate aliasing, plus I have many ideas to improve my project that are not necessarily available on rip

comment 4y ago · link · parent

Ok thanks a lot, I'll work on fixing that!

comment 4y ago · link · parent

You are totally right, thank you for the pertinent comment and I will correct that. This is one of the first cli's I had not thought of at all.

16.

Show HN: Rmt an alternative to rm with trash written in Rust(github.com ↗)

45 points · by Amine_Ztn · 4y ago · 51 comments