Better HN
topnewbestaskshowjobs
Log inSign up

spennant

174 karma · joined Feb 29, 2012 (14y ago) · 79 submissions

Submissions

comment 1d ago · link · parent

“Perplexity measures how well a model predicts the next token on average; lower perplexity means better predictions”

4th Paragraph

comment 1w ago · link · parent

Very cool!

comment 3w ago · link · parent

Nice work! This is very interesting (as a heavy Dagster and DuckDB user myself)

comment 1mo ago · link · parent

The idea of "model controlled", "application controlled" and "user controlled" for tool, resources and prompts (respectively) was aligned with the chat interface. It breaks for the autonomous agent paradigm where the agency is the user and the lines are blurred. Unfortunately MCP has been mostly relegated to tool calling leaving potentially powerful capabilities on the table due to lac of client support for them.

comment 1mo ago · link · parent

"In a shocking finding, scientist discovered a herd of unicorns living in a remote, previously unexplored valley, in the Andes Mountains. Even more surprising to the researchers was the fact that the unicorns spoke perfect English."

comment 2mo ago · link · parent

Luggage Packing Optimizer? The nerdiness level is awesome and I'm here for all of it!

comment 2mo ago · link · parent

This is my experience as well. It gets worse when the LLMs have strong priors in subject matter adjacent to your novel work. The generated output will incorrectly pull towards things the LLM has seen in it’s training data.

comment 4mo ago · link · parent

I'm working on leveraging NLP and LLM techniques to create a geometry over the discrete space of Ethereum transaction execution structure. (sorry... it's a bit of a mouthful)

https://www.chaingenius.ai

The goal is to find on-chain structural anomalies, as well as seeing if clustering by behavior has emergent semantic properties

9.

Show HN: Explore Ethereum by the Shape of a Transaction(chaingenius.ai ↗)

3 points · by spennant · 4mo ago · discuss

comment 6mo ago · link · parent

Is this still true?

comment 9mo ago · link · parent

Fine tuning Gemini 2.5 flash on EVM Blockchain execution structures and using perplexity with PageRank to perform transaction anomaly detection. https://lite.chaingenius.ai/theory

[SMILES](https://en.wikipedia.org/wiki/Simplified_Molecular_Input_Lin...) or [SELFIES](https://resources.wolframcloud.com/PacletRepository/resource...), but for EVM Blockchain executions.

comment 1y ago · link · parent

Odd seeing this right now for me. I recently implemented a 6NF schema for parsed XBRL files from EDGAR. The architecture was the right call... too bad the data is not useful for analytics.

comment 1y ago · link · parent

What? No love for Perl scripts in cgi-bin/ ?

comment 1y ago · link · parent

I moved from pip to poetry a while back, but was introduced to uv recently while working on MCP stuff. I now use uv for everything and haven’t looked back.

comment 1y ago · link · parent

It's coming...

comment 1y ago · link · parent

Just a fancy way of saying that multiple agents (with their own LLMs) can concurrently connect, also that pg-mcp can simultaneously connect to multiple Postgres servers as well.

comment 1y ago · link · parent

The use case for pg-mcp is server deployment - local running is just for dev purposes. HTTP/SSE enables multiple concurrent connections and network access, which stdio can't provide.

comment 1y ago · link · parent

Xata.io looks very interesting!!! I was thinking about building an intelligent agent for pg-mcp as my net project but it looks like you did a lot of the hard work already. When thinking about the "AI Stack" I usually separate concerns like this:

  UI <--> Agent(s) <--> MCP Server(s) <--> Tools/Resources
             |
           LLM(s)

comment 1y ago · link · parent

Indeed. Anything you do with MCP can be done in more traditional ways.

comment 1y ago · link · parent

I built this to fill a specific need. It's not really made to talk to Claude Desktop (although it can). It's built to take multiple connections from agents who bring their own LLM (via API key or whatever) and provide context to the LLM model. Yes, it does import the standard Python MCP package, however it does quite a few non-standard things in order to achieve the multi-tenancy. I encourage you to look at the code.

comment 1y ago · link · parent

I made a few assumptions about the actual deployer and their environment that I shouldn’t have… I’ll need to address this. Thanks!

comment 1y ago · link · parent

The pg-mcp server doesn’t need an API key. Those variables are only needed to run the example claude-client. You can write your own agent to talk to whatever LLM you like.

comment 1y ago · link · parent

It won’t be that easy. First off, most databases in the wild are not well documented. LLMs benefit from context, and if your tables/columns have non-intuitive or non-descriptive names, the SQL may not even work. Second, you might benefit from an LLM fine-tuned on writing code and/or an intelligent Agent that checks for relevancy and ambiguity in user input prior to attempting to answer the question. It would also help if the agent executed the query to see how it answered the user’s question. In other words “reasoning”… pg-mcp simply exposes the required context for Agents to do that kind of reasoning.

24.

Show HN: Cloud-Ready Postgres MCP Server(github.com ↗)

167 points · by spennant · 1y ago · 79 comments

comment 2y ago · link · parent

I feel the same way.

https://news.ycombinator.com/item?id=30094245

comment 2y ago · link · parent

Money not a problem? Get a "pro"/digital sign display and connect your own sound system as well as tuner/stb.

https://www.lg.com/us/business/digital-signage/lg-65ep5g

https://www.samsung.com/us/business/displays/4k-uhd/qe-serie...

comment 2y ago · link · parent

Personal story: I sat in his office as an undergrad and he presented a problem to me concerning counting balls in boxes that had applications to quantum theory. It blew my freshman mind.

comment 2y ago · link · parent

Sure. But two things:

1) At the time, the European data laws implied that it protected its citizens no matter where they are. Nobody wanted to be the first to test that in court.

2) The organizations and agencies performing this type of data modeling were often doing so on behalf of large multinational organizations with absurd advertising spends, so they were dealing with Other People’s Data. The responsibility of scrubbing it clean of EU citizen data was unclear.

What this meant was that an EU tourist who traveled to the US, and got served a targeted ad, could make a RTBF request to the advertiser (think Coca-Cola, Nestle or Unilever)

The whole thing was a mess.

comment 2y ago · link · parent

Agreed. The media and advertising industry was most definitely leveraging cookie-level data for building attribution and targeting models. As soon as the EU established that this data was “personal data”, as it could, theoretically, be tied back to individual citizens, there were questions about the models. Namely “Would they have to be rebuilt after every RTBF request?” Needless to say, no one in the industry really wanted to address the question, as the wrong answer would essentially shut down a very profitable practice.

comment 2y ago · link · parent

In other words... being Iceman is better than being Maverick.
123