HN user

fforflo

3,497 karma

Data & AI Tools - Postgres - Python

tselai.com

Posts268
Comments145
View on HN
pubsonline.informs.org 9d ago

Revisiting "The Great Mathematical Sputnik of 1979"

fforflo
3pts0
tselai.com 1mo ago

AI Breaks the Monopoly of Elegant Software

fforflo
3pts0
tselai.com 5mo ago

Native Full-Text Search in PostgreSQL JSONPath: Proposing Tsmatch

fforflo
1pts0
www.theguardian.com 9mo ago

Deloitte to refund the Australian government after using AI in $440k report

fforflo
464pts230
www.nature.com 9mo ago

Volcanic crisis reveals coupled magma system at Santorini and Kolumbo

fforflo
3pts0
tselai.com 10mo ago

Support for base64url encoding and decoding in PostgreSQL 19

fforflo
3pts1
tselai.com 10mo ago

My Favorite PostgreSQL 18 Feature: Virtual Generated Columns

fforflo
54pts9
www.postgresql.eu 10mo ago

Pgconf.eu 2025 Schedule

fforflo
1pts0
tselai.com 12mo ago

System View for Inspecting DSM Registry Allocations in PostgreSQL

fforflo
6pts0
tselai.com 1y ago

LLMs: The Missing Compiler for Unix Tools

fforflo
1pts0
github.com 1y ago

Show HN: Install Postgres with Pip in Virtualenv

fforflo
2pts0
news.ycombinator.com 1y ago

Ask HN: AI Infra Support for a non-profit making government data transparent?

fforflo
2pts0
news.ycombinator.com 1y ago

Ask HN: What Are Your Experiences with RAG and LLMs in Non-English Languages?

fforflo
2pts0
pgext.day 1y ago

Postgres Extension Day, Montreal 2025

fforflo
1pts0
tselai.com 1y ago

Removing nulls from JSON arrays – coming in PostgreSQL 18

fforflo
1pts1
www.depesz.com 1y ago

Coming in PostgreSQL 18 – Removing null array elements

fforflo
2pts1
pganalyze.com 1y ago

Constraint Programming in Action: Optimizing Postgres Index Selection

fforflo
2pts0
www.depesz.com 1y ago

Waiting for PostgreSQL 18 – Virtual generated columns

fforflo
3pts1
www.bigdatawire.com 1y ago

EDB Says It Tops Oracle, Other Databases in Benchmarks

fforflo
1pts0
www.politico.eu 1y ago

The big fat Greek plot to defraud the EU

fforflo
2pts1
github.com 1y ago

Xi (ξ) Correlation Coefficient in Postgres

fforflo
1pts1
wearesolomon.com 1y ago

AI Tech at Europe's Borders Threatens People Seeking Refuge

fforflo
1pts0
www.nature.com 1y ago

Accurate predictions on small data with a tabular foundation model

fforflo
2pts0
github.com 1y ago

Show HN: Pure C Implementation of the Chatarjee – Xi Correlation Coefficient

fforflo
2pts0
github.com 1y ago

Show HN: Maximal Information Coefficient (Mic) Extension for Postgres

fforflo
2pts0
clickhouse.com 1y ago

Hash tables in ClickHouse and C++ Zero-cost Abstractions

fforflo
3pts0
github.com 1y ago

PgPDF: Pdf Type and Functions for Postgres

fforflo
97pts55
github.com 1y ago

Show HN: pgQR: Postgres Extension to Generate QR Codes

fforflo
1pts0
tselai.com 1y ago

Full Text Search on PDFs with Postgres

fforflo
1pts0
tselai.com 1y ago

Llamafile for Meltemi: The First LLM for Greek

fforflo
48pts22

Technically yes, but they're used interchangeably nowdays. Plus, the official transcript mentions "Mytilene" so I wanted to follow that. Although I use Lesvos myself.

In 2021, during a visit to the Greek island of Mytilene, Pope Francis delivered one of the finest speeches I've ever read:

This great basin of water, the cradle of so many civilizations, now looks like a mirror of death. Let us not let our sea (mare nostrum) be transformed into a desolate sea of death (mare mortuum). Let us not allow this place of encounter to become a theatre of conflict. Let us not permit this “sea of memories” to be transformed into a “sea of forgetfulness”. Please brothers and sisters, let us stop this shipwreck of civilization!

We are in the age of walls and barbed wire. To be sure, we can appreciate people’s fears and insecurities, the difficulties and dangers involved, and the general sense of fatigue and frustration, exacerbated by the economic and pandemic crises. Yet problems are not resolved and coexistence improved by building walls higher, but by joining forces to care for others according to the concrete possibilities of each and in respect for the law, always giving primacy to the inalienable value of the life of every human being

Worth reading in full https://www.vatican.va/content/francesco/en/speeches/2021/de...

If you want to use Ollama to run local models, here’s a simple example:

from ollama import chat, ChatResponse

def call_llm(prompt, use_cache: bool = True, model="phi4") -> str: response: ChatResponse = chat( model=model, messages=[{ 'role': 'user', 'content': prompt, }] ) return response.message.content

PostgreSQL 18 won't have many JSON enhancements - how much better can it get after all? And virtual generated columns will probably be the highlight of the release. But there's always some room for improvement. One long-standing pain point has been simply removing nulls from JSON arrays.

Apart from the usual advice to "start working on a patch to learn the internals," which is not as easy to do because it's a mature product and most of the low-hanging fruits have been reaped, I'd also suggest checking the extensions shipped with the main source tree under $top/contrib. Each one is self-contained and usually works with a subset of the internals. Some good ones: pageinspect, pg_buffercache, pg_prewarm, pg_statstatements, pg_walinspect

Parent probably means that email clients don't send the attachments (patches) with the appropriate content type (i.e. text/x-patch or text/x-diff) but use application/octet-stream.

That's not that easy to enforce in a system like Postgres. If you ship something you have to stay with it for many years. Thus, all possible angles have to be taken into consideration.

In the EU, we need some social contracts for those things. Multiple EU-funded projects are launched, consortiums between Unis and Private sector companies are created, deliverables are delivered, and grants are allocated, but the cumulative results haven't been that great, have they? That has happened for every "trend," from nuclear physics to "expert systems" in the 1990s to green tech, now AI, etc.

pgxicor is a Postgres extension that exposes a SELECT xicor(X, Y) aggregate function. XI can detect functional relationships between X and Y. You can use it as a more powerful alternative to standard corr(X, Y) which works best on linear relationships only.

Bunkers in Albania 2 years ago

Shameless plug (who would have thought): I've played hide and seek in Albania and used a bunker as a hideout. AMA :D That's one of the few experiences I remember when I was 3-5yo.

I've been working on something Redis-y over the holidays, and it has reinforced my view that it's the epitome of a 20%- 80% tool. I've always used the 20%, but anything beyond that sounds useless unless you've encountered the requirement in a production environment. The challenges Redis has been solving for years, never really touched the research/academic community (even the 20%).

Even in the various taxonomies of DBS in the research literature, Redis was mentioned with a wave of the hand as an "in-memory" database, which undersells the important (for me) part of the "data structure" server.

Putting the "database" after Redis could be a marketing misstep. Because it puts you in the is-it-sql territory.

TL;DR: Redis is mostly appreciated by practitioners (web) developers. Academics find it lacking a theoretical foundation, so... meh.

People living in central/western Europe: You have no idea how fortunate you are to be able to hop on a train and ride to another major city in a few hours. We mortals of the southeastern Europe feel detached from the rest of the world.

Yeah, I know German trains occasionally are late, but I remember standing on the platform in Munich, envying those who could travel to Madrid or Brussels without going to the airport—security checks, yada.

Congrats on your PhD at Stanford, but some humility has to be part of the scientific process for sure. It looks like a lot of folks called "programmers" agree with the points in the post. If it's such a common experience that should tell you something about the state of affairs.

It's a blog post on the internet. Of course one should take it with a grain of salt. The same applies to any peer-reviewed article on software engineering for example.

Just yesterday, I was watching this interview with Adam Frank [0] one of the parts that stood out was his saying why "Why Science Cannot Ignore Human Experience" (I can't find the exact snippet, but apparently he has a book with the same title.

[0] https://www.youtube.com/watch?v=yhZAXXI83-4