Git Product home page Git Product logo

Comments (5)

goekay avatar goekay commented on July 24, 2024

more info about the request needed

from steve.

patudd avatar patudd commented on July 24, 2024

If a user authenticate with a RFID-Card which is not registered, then ignores SteVe this Event and send only an blocked to the charging station.
But it is nice the new RFID Card is registered, but the entry is blocked. So can the support set free this Card.

from steve.

goekay avatar goekay commented on July 24, 2024

oh ok, this is a nice suggestion and would make the job for the manager (user of steve) definitely easier. however, i would like to ask the community some questions, though, before implementing this feature (which is not much work btw) :

  1. are there any other ideas, different perspectives about this idea that others wish the implementation would cover? i am asking this mainly so that the implementation can be done once and for all, and it supports more use cases.

  2. this is more of a concern: what about flooding the database table with lots of rfid entries, which would end up being junk? in reality, anyone with any card (and i literally mean any) can go to a public charging station and try to authenticate. these probably might be customers, but also people trying things out just for fun to see what happens. as long as the rfid reader of the charging station can read the card, it will ask steve about the registration. so, there might be many blocked rfid entries in database, which are of no use and have to be manually deleted (if the manager wants to, because otherwise clutter, noise). and because of that, the following question arises: is it easier / better / less work to register rfids beforehand, or to delete junk rfid entries later? if you have that many blocked rfids in database, how will you know for sure which rfid to unblock?

  3. in addition to the last point, how to differentiate between the actual blocked rfids due to the business cases (e.g., the contract ended or the card was lost / stolen) and rfids inserted into db as blocked after an auth request? to be clear, the latter is not an "rfid that is blocked" in the true sense, but rather an "rfid that arrived which might be a customer". this situation suggests to store these entries somewhere else (temporary table?) which then can be manually moved to the actual rfid table. and then we face the same question as above: is it easier / better / less work to register rfids beforehand, or to take this additional step later?

are the concerns of 2nd and 3rd points valid? how can we overcome these? or should we neglect the probability of such things happening?

from steve.

csamsel avatar csamsel commented on July 24, 2024

I think the suggestion is valid, cluttering the database seems not an big issue for me, as it creates ~1 row per real-life action. UI-wise it should be enough to only show the n last ones. To distiguish unknown id's the timestamp can be used.
Obviously bulk registering RFIDs beforehand is better, but in some scenarios that might not be possible.

from steve.

patudd avatar patudd commented on July 24, 2024

the point three is interesting. Maybe another name for the flag of new rfids records.

from steve.

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.