laxk
Joined 17 years ago
Joined 17 years ago
- Create SQL credentials for LLM queries that will have limited access (exclude sensitive fields, tables, views etc) and read-only access.
- Use SQL views to avoid/exclude access to specific fields.
App Level:
- Use SQL linters and treat input as a regular user input.
- Convert the SQL query string into a query tree, escape ALL fields and then assemble the query back.
- use principles as guidelines not gospel
- optimize for readability/maintainability
- and for the love of all that's holy, don't build stuff you don't need yet.
BTW, any other old-timers remember when we just wrote code without worrying if it was SOLID enough? Those were the days...
Just facts [0]:
- honey contains antioxidants, amino acids (the building blocks of proteins) and vitamins and minerals, such as Thiamin, riboflavin, pyridoxin, vitamin A, niacin, panthothenic acid, phyllochinon, vitamin E, and vitamin C
- honey also has been successfully used for wound and burn healing. (If you grab a frying pan or burn your hand/skin, apply honey, there will be no blisters or peeling skin.)
- honey consumption reduces risk factors of cardiovascular diseases
[0] https://sugarscience.ucsf.edu/the-sweet-science-behind-honey...
Usually you can go to GitHub, find a project with a lot of stars for the language you want and start browsing the code. It is worth paying attention to the general attributes of good codebase: tests, documentation, build automation. If all this is there, then most likely you will definitely find something interesting or new for yourself.