laxk
Show HN: LLM-Tetris-A Classic Tetris Game in Go, 95% AI-Generated
https://github.com/plar/llm-tetris
I built a console-based Tetris game in Go using LLM for code generation. 95% of the code was AI-generated using ChatGPT4o and continue.dev in VSCode. The project was inspired by Harper Reed’s post on AI-assisted development, and I used his prompting method to guide the process.
- 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.
$700M paperclips... :-|
Any docs about Yomi models? What is it about at all?
For more information on John Holt's work and perspectives on homeschooling, you can visit his website. https://www.johnholtgws.com/books-by-john-holt
Homeschooling offers a unique opportunity for bonding with your child and allows you, as an adult, to learn what you might have missed during your own childhood. :) It's a chance for personal growth and development. While homeschooling is certainly a commitment and can be challenging, its rewards are significant. Homeschooled children often stand out from the crowd. They exhibit high levels of curiosity, aren't afraid to ask questions, and can be quite challenging for any teacher – in a good way, of course!
Earth's CO2
It seems to me that such a system makes people show their best. Surely there is a percentage of people who may not act very well, but I believe that there are more good people anyway.
Ask HN: How to migrate my personal Google+ to my G Suite Google+ (enterprise)?
I have about 1K posts and I don't want to lose them, I know that I can migrate them using takeout.google.com (40GB) but I really want to keep using G+ as it works pretty well for my personal needs. As far as I understand, Google isn't going to shut down G+ for enterprise users, so I'm ready to pay $60 per year (basic plan).My question is how I can migrate all G+ data from my personal G+ to...