huahaiy

Joined 15 years ago

Karma
351
Submissions
221
Member since
Nov 7
I am a technologist, with an academic background in psychology and computer science.
View on Hacker News

Recent submissions

Comment · 22 days ago
It happens very frequently if you happen to work on anything low level, e.g. a C code base, a database code base, etc. that deals with memory, and these have nothing to do with cyber security. It is extremely annoying and makes these models unusable.
Comment · 1 month ago
Comment · 2 months ago
Thank you for the interest and support.
Comment · 2 months ago
Datalevin seems to fit the bill https://datalevin.org/docs

First paragraph of preface: “SQL has been the default language of application databases for half a century. That default is now holding application state back. Datalevin is a database built to replace SQL databases at the center of application systems: it stores data as small facts and queries those facts with Datalog”

Comment · 2 months ago
Datalog exists and there are so many implementations.
Comment · 2 months ago
Agree. Especially when Datalog queries are simpler to write and faster to run than SQL, there is a strong reason to at least try it.
Comment · 2 months ago
Why not?
Comment · 2 months ago
So this really is a NL to query translation problem. That exactly is why the target language matters. Simpler target languages makes AI’s work easier, as it saves tokens and context, so it is less likely for AI to make mistakes.
Comment · 2 months ago
AI programming using English makes the database query language choice more important than before. Different languages require different context sizes. A better language is one requires less tokens and context.
Comment · 2 months ago
I am the author of Datalevin, a Datalog database. In addition to using it in production personally, I am aware of other people using it. So, the answer is yes.
Comment · 2 months ago
It is older than C. It is based on COBOL era idea of structured English as a computer language. There are better alternatives, e.g. Datalog.
Comment · 2 months ago
Comment · 2 months ago
Doesn’t seem to work on code, where there is often little choices

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton