Giter Club home page Giter Club logo

Comments (3)

berrnd avatar berrnd commented on June 19, 2024

Beside more serious one like possibility of overflowing to some security issue regarding the possibility of enumerating entities

pedantic reasons

Grocy is about helping with practical relevant problems, not the theoretical ones and the target use case is your home. So what's the practically relevant and drastic security issue you think about, while keeping that target use case in mind?

 

Removing entities create gaps which can not be filled as id's can not be modified

ID's are not meant to be beautiful, they serve a technical purpose, nothing more and else.

 

Additionally they introduce unnatural order of entities

Ordering never happens by id, but by the column you or the the user chooses (most of the time a column named name by default).

 

We can end up with tomato more important than onion with empty space after cucumber.

Don't know how "important" is related to id's at all...

 

drawback of being 128 bit's long

So we waste twice the amount (even more for real-world-common small values) an integer takes while also having something less human readable (at least relevant when debugging stuff) - yeah, we need that, not.

 

Off topic question: Do you even use Grocy in your daily life and that's the most important issue you have?

from grocy.

majkrzak avatar majkrzak commented on June 19, 2024

Do you even use Grocy in your daily life and that's the most important issue you have?

Experimenting with setup and configurations currently. Noticed more issues at this point, but most of them were already addressed. Gently saying I'm not happy about the decisions regarding them. Checked the code also, to see how to adapt it to my needs. I'd rather won't do it.

from grocy.

berrnd avatar berrnd commented on June 19, 2024

Gently saying I'm not happy about the decisions regarding them. Checked the code also, to see how to adapt it to my needs. I'd rather won't do it.

I'm not aiming to make the perfect solution fitting each and everyone on this planet. The goal was and is only to fit my personal use case. And it turned out over the years that if fits the needs of a couple of thousands others quite as well, which is (lately sometimes not so much) my pleasure. So everything is more than fine.

from grocy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.