maxdemarzi
maxdemarzi on Hacker News
Posted by
maxdemarzi on Monday November 02, 2026 @03:04PM
from the maxdemarzi.com dept.
Posted by
maxdemarzi on Monday June 22, 2026 @10:29AM
from the maxdemarzi.com dept.
Posted by
maxdemarzi on Sunday May 31, 2026 @08:24AM
from the maxdemarzi.com dept.
Wouldn’t it be nice if your database could help you fine tune your model for better faster and cheaper text to sql? That’s what we’re exploring on this post.
I'm happy enough to use LLMs for code, but I think it's nuts people are using it for their PERSONAL blogs. It's supposed to be me talking to my super niche audience. Never gonna happen.
Posted by
maxdemarzi on Saturday May 23, 2026 @09:23PM
from the maxdemarzi.com dept.
Posted by
maxdemarzi on Monday April 20, 2026 @09:23AM
from the maxdemarzi.com dept.
I can't shake the feeling that something is off about “context graphs”. This is my attempt at trying to explain why I feel this way.
The current benchmark for real world text to sql is
https://spider2-sql.github.io/ and the SOTA is at 64%
Anyone selling you 99% accuracy can prove it there first.
I’ve had tattoos removed and currently removing two more. They are all 20 years old, very faded, blurry they honestly just didn’t look good any more.
The first removal 5 years ago would leave me bleeding and require bandage changes for a week.
The new tattoo removal lasers leave you feeling like a sun burn for two days. No blood, no bandages.
It will become way more common.
It’s $275 a month plus $99 every 6 months at SlimDownRX. The compounded pharmacies are helping.
The 14th way is “multi way joins” also called “worst case optimal joins” which is a terrible name.
It means instead of joining tables two at a time and dealing with the temporary results along the way (eating memory), you join 3 or more tables together without the temporary results.
There is a blog post and short video of this on https://relational.ai/blog/dovetail-join and the original paper is on https://dl.acm.org/doi/pdf/10.1145/3180143
I work for RelationalAI, we and about 4 other new database companies are bringing these new join algorithms to market after ten years in academia.
Quite the opposite. The idea is to move as much of the business logic into the database. “Rel” definitions are meant to be written once and reused everywhere. Instead of letting the client decide different business logic every time, you capture and control it in one place.
It works a little different in “Rel” (the query language Relational.ai uses). You would create multiple definitions of what a “full polite address” is for each “case” of valid arguments/empty columns and use that going forward. A bit like a UNION without the same column width requirements.
They don't have joins at all because of how expensive binary joins are to do. NoSQL pre-joins relations (graphs dbs), pre-joins foreign keys (document dbs) , pre-joins everything (queries) (wide column dbs). Saying "all" is a bit of a hyperbole but it gets to the point of the matter.
Posted by
maxdemarzi on Monday February 27, 2023 @11:13AM
from the maxdemarzi.com dept.
It took about 10 years, but worst case optimal joins and multi-way joins in general are finally fixing the Join problem in databases that led to the proliferation of NoSQL systems over the past decade.
Author here: I did not write that I was proud of not knowing Python. I just wrote that I don't know Python. The thought of trying to understand 2k lines of it looking to see where Memgraph 'cheated' to make their product look good and the other bad was beyond my current capabilities.
Author here to clear up a few questions: I did not run any benchmarks for Memgraph, just Neo4j on my machine and compared them to their numbers on their machine. My 8 faster cores to their 12 slower cores, so not apples to apples, but close enough to make the point that Memgraph is not 120x times faster than Neo4j. I used to work at Neo4j, then at AWS for Neptune, I work on my own graph database
http://ragedb.com/, and work for another database company
https://relational.ai/If you want to be my hero, find a way to fix this problem: https://maxdemarzi.com/2023/01/09/death-star-queries-in-grap...
The lack of a Schema does hurt Neo4j performance. Properties are stored "willy nilly" on a linked list of bytes per node/relationship. No order, an "age" property can be: 45, 38.5, "adult", [18,19], false... and that makes a terrible mess when aggregating, sorting, filtering, searching, etc.
Posted by
maxdemarzi on Wednesday January 11, 2023 @01:30PM
from the maxdemarzi.com dept.
It will stop your hunger, but you will still fight your bad habits or social eating. If you eat like “normal” you will have a bad time. Your stomach will hurt, you will feel miserable. Gotta have your partner help and stop eating out or eat separately for a few months.
You are right. This code runs just fine on both of these online Lua websites.
local tab = {}
tab[938388893] = "hi"
tab[987383332] = "Hello"
for k,v in pairs(tab) do
print(k)
print (v)
end
https://www.lua.org/cgi-bin/demo
https://luajit.me/
But when I try it using the Sol library (embedded in C++) it eats all my memory.
Is it a Sol issue or a C Lua binding issue? Anybody know?
One Lua thing that is wacky is that you cannot have large integers as keys to a table. Lua converts {2938433:"hello", 983748323:"hi"} to positions in the array portion of a table and creates a giant 99.999% empty table eating all the RAM.
Unless somebody knows something I don't on how to make it work.
How are you storing and querying your graph data? Are you using a graph database underneath all that or ?
What were the stats on each Shard? Was each shard running 4 cores? 8 cores? 32 cores? RAM? The blog post is light on details.
Posted by
maxdemarzi on Tuesday April 26, 2022 @12:46PM
from the relational.ai dept.
Get your Testosterone checked in the early morning two times (about a week apart). If you are under 300 both times, go see a Urologist for treatment. It could be your hormones.