frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Unconventional PostgreSQL Optimizations

https://hakibenita.com/postgresql-unconventional-optimizations
77•haki•3h ago

Comments

OptionOfT•1h ago
Remarkably fresh content.

It's interesting how both virtual columns and hash indexes work, but feel like they're bolted on, vs being made part of the whole ecosystem so that they work seamlessly.

pksunkara•1h ago
I think a stored generated column allows you to create an index on it directly. Isn't it better approach?
rpsw•1h ago
I assume it would increase the storage usage, which they say they are trying to avoid in that example.
tczMUFlmoNk•1h ago
The article explains why they want to avoid this option:

> Starting at version 14, PostgreSQL supports generated columns - these are columns that are automatically populated with an expression when we insert the row. Sounds exactly like what we need but there is a caveat - the result of the expression is materialized - this means additional storage, which is what we were trying to save in the first place!

pksunkara•53m ago
Thanks, missed that part. I would still be interested in knowing how much additional storage that adds, if the OP is interested in updating the article.
zenmac•32m ago
>I think a stored generated column allows you to create an index on it directly. Isn't it better approach?

Is it also possible to create index (maybe partial index) on expressions?

sc68cal•47m ago
Great article, shows a lot of interesting PostgreSQL features. I have used PostgreSQL and MySQL for decades, and this article showed me that I have barely scratched the surface of what is possible.
SigmundA•17m ago
>Currently, constraint exclusion is enabled by default only for cases that are often used to implement table partitioning via inheritance trees. Turning it on for all tables imposes extra planning overhead that is quite noticeable on simple queries, and most often will yield no benefit for simple queries.

PG's lack of plan caching strikes again, this sort of thing is not a concern in other DB's that reuse query plans.

lasgawe•12m ago
some points from this article that I didn't know before.

Meta's Legal Team Abandoned Its Ethical Duties

https://www.afterbabel.com/p/how-metas-lawyers-perfected-the-playbook
187•shrubby•1h ago•101 comments

The Unix Pipe Card Game

https://punkx.org/unix-pipe-game/
32•kykeonaut•1h ago•11 comments

IP Addresses Through 2025

https://www.potaroo.net/ispcol/2026-01/addr2025.html
105•petercooper•4h ago•46 comments

De-dollarization: Is the US dollar losing its dominance?

https://www.jpmorgan.com/insights/global-research/currencies/de-dollarization
345•andsoitis•2h ago•372 comments

The Startup Graveyard

https://www.loot-drop.io/
40•skogstokig•1h ago•28 comments

Unconventional PostgreSQL Optimizations

https://hakibenita.com/postgresql-unconventional-optimizations
77•haki•3h ago•9 comments

I'm addicted to being useful

https://www.seangoedecke.com/addicted-to-being-useful/
287•swah•7h ago•167 comments

A Pro Meticulously Restores a Damaged Oil Painting [video]

https://www.youtube.com/watch?v=uQbZIyo-SgM
22•surprisetalk•4d ago•9 comments

Linux kernel framework for PCIe device emulation, in userspace

https://github.com/cakehonolulu/pciem
167•71bw•10h ago•62 comments

Nvidia Stock Crash Prediction

https://entropicthoughts.com/nvidia-stock-crash-prediction
143•todsacerdoti•2h ago•121 comments

Show HN: Ocrbase – pdf → .md/.json document OCR and structured extraction API

https://github.com/majcheradam/ocrbase
55•adammajcher•5h ago•14 comments

Level S4 solar radiation event

https://www.swpc.noaa.gov/news/g4-severe-geomagnetic-storm-levels-reached-19-jan-2026
553•WorldPeas•21h ago•182 comments

IP over Avian Carriers with Quality of Service (1999)

https://www.rfc-editor.org/rfc/rfc2549.html
45•mig4ng•7h ago•21 comments

Apple testing new App Store design that blurs the line between ads and results

https://9to5mac.com/2026/01/16/iphone-apple-app-store-search-results-ads-new-design/
547•ksec•1d ago•452 comments

Reticulum, a secure and anonymous mesh networking stack

https://github.com/markqvist/Reticulum
298•brogu•18h ago•72 comments

Running Claude Code dangerously (safely)

https://blog.emilburzo.com/2026/01/running-claude-code-dangerously-safely/
195•emilburzo•6h ago•169 comments

Channel3 (YC S25) Is Hiring

https://www.ycombinator.com/companies/channel3/jobs/3DIAYYY-backend-engineer
1•aschiff1•6h ago

Show HN: wxpath – Declarative web crawling in XPath

https://github.com/rodricios/wxpath
3•rodricios•6d ago•0 comments

Increasing the performance of WebAssembly Text Format parser by 350%

https://blog.gplane.win/posts/improve-wat-parser-perf.html
80•gplane•5d ago•30 comments

Nuudel: Non-Tracking Appointment Tool

https://nuudel.digitalcourage.de/
29•doener•4d ago•7 comments

Benchmarking a Baseline Fully-in-Place Functional Language Compiler [pdf]

https://trendsfp.github.io/papers/tfp26-paper-12.pdf
25•matt_d•4d ago•3 comments

What came first: the CNAME or the A record?

https://blog.cloudflare.com/cname-a-record-order-dns-standards/
424•linolevan•1d ago•149 comments

Kiss Launcher – fast launcher for Android

https://kisslauncher.com/
50•ifh-hn•8h ago•31 comments

Nanolang: A tiny experimental language designed to be targeted by coding LLMs

https://github.com/jordanhubbard/nanolang
205•Scramblejams•20h ago•160 comments

The coming industrialisation of exploit generation with LLMs

https://sean.heelan.io/2026/01/18/on-the-coming-industrialisation-of-exploit-generation-with-llms/
218•long•1d ago•135 comments

3D printing my laptop ergonomic setup

https://www.ntietz.com/blog/3d-printing-my-laptop-ergonomic-setup/
131•kurinikku•18h ago•62 comments

The Zen of Reticulum

https://github.com/markqvist/Reticulum/blob/master/Zen%20of%20Reticulum.md
58•mikece•4h ago•40 comments

Danish pension fund divesting US Treasuries

https://www.reuters.com/business/danish-pension-fund-divest-its-us-treasuries-2026-01-20/
429•mythical_39•3h ago•437 comments

Prediction markets are ushering in a world in which news becomes about gambling

https://www.theatlantic.com/technology/2026/01/america-polymarket-disaster/685662/
416•krustyburger•1d ago•411 comments

Notes on Apple's Nano Texture (2025)

https://jon.bo/posts/nano-texture/
226•dsr12•1d ago•122 comments