---- My last publication:
Quote of today :
If debugging is the process of removing software bugs, then programming must be the process of putting them in. - E. W. Dijkstra
Items Donation platform
License: GNU General Public License v3.0
Currently analytic will lost data is users delete posts
So to fix that there is two option in mind
Do a shadow delete by adding an deleted default false
, then put it delete=true when the user delete something.
and do indexing on the deleted for faster access.
this can cause the database to slow down if lot of items have been deleted.
the fix two is to create an alternate table with _delete suffix to store deleted items then doing an view that will join those two tables , so analytic can access this table to do queries.
Likely will go with solution two because it's a good chance to use views.
Phone and image url are entered as empty string instead of null which can be problematic later
SELECT id, pcode, user_id, category_id, created_at, name, quantity, image_url, version
FROM public.items;
SELECT id, pcode, user_id, category_id, created_at, name, quantity, image_url, version
FROM public.items
WHERE image_url=null;
Current idea is to limit the number of donations that a user can receive or Request.
Line 69 in 9bd94be
XXXXXXXX
on user details.hiding the owner details is useful because if the user already revealed the name of the owner likely that the number is the same , so better to censor all the data like name , phone , email...
Line 93 in 9bd94be
this middleware will ensure that we can know the user information if it's anonymous or not. so I should do something like
user := app.contextGetUser(r)
to get the user information , after that I can implement SQL necessary to fetch required data likely doing an JOIN
on users,items and revealing history tables or "better" using an VIEW
that will already join those tables.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.