frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Install Postgres with Pip in Virtualenv

https://github.com/Florents-Tselai/pgvenv
2•fforflo•9mo ago
Hi HN,

I frequently work with Postgres & Python and toggle between multiple versions of each. In Postgres, I keep a separate installation for each project, but I don't like git submodules and don't want to ship "pg_build.sh" scripts with the source code.

So, I built pgvenv as a Python shell package that, when installed, triggers a from-source installation of Postgres and installs it at venv's prefix. Could become handy at times I think.

You can roughly use it like this.

python3.11 -m venv ./venv

source ./venv/bin/activate

PGVERSION=17.4 pip install pgvenv --force-reinstall --no-cache-dir

initdb ./pgdata

postgres -D ./pgdata

Many things can go wrong with this in production, so should probably use for development only.

Trump administration claims offshore wind poses a threat. But it won't say how

https://www.npr.org/2026/01/21/nx-s1-5678635/trump-offshore-wind-national-security-climate-change
1•voxadam•27s ago•0 comments

Prep for the SAT with practice tests in Gemini

https://blog.google/products-and-platforms/products/education/practice-sat-gemini/
1•tzury•1m ago•0 comments

Cultural Rationality

https://www.overcomingbias.com/p/cultural-rationality
1•paulpauper•2m ago•0 comments

Yuval Noah Harari Discussion on AI at Davos [video]

https://www.youtube.com/watch?v=QxCpNpOV4Jo
1•ryan_j_naughton•2m ago•0 comments

Trump Always Chickens Out

https://en.wikipedia.org/wiki/Trump_Always_Chickens_Out
3•doener•4m ago•0 comments

Bazel 9 Live Webinar Jan 26 2026 by Alex Eagle at Aspect Build

https://www.youtube.com/watch?v=QJUTeD43QlE
1•brettsheppard•4m ago•1 comments

Phone phreak documentary Joybubbles to screen at Sundance

https://festival.sundance.org/program/film/6932fad21a5535277891b127
1•Triphibian•4m ago•0 comments

Highlights from the Comments on Scott Adams

https://www.astralcodexten.com/p/highlights-from-the-comments-on-scott
1•paulpauper•5m ago•0 comments

Text Is King

https://www.experimental-history.com/p/text-is-king
2•paulpauper•7m ago•0 comments

Making a small pipe organ from scratch (videos)

https://www.youtube.com/playlist?list=PLjL6UneA4BomqX3U2xt5tuRhWJ6KLWKJ2
1•afandian•8m ago•0 comments

AMD Ryzen AI Halo for AI Developers

https://www.amd.com/en/products/processors/consumer/ryzen-ai/ryzen-ai-halo.html
1•g42gregory•8m ago•0 comments

Na-ion batteries can charge faster than lithium with hard carbon electrodes

https://techxplore.com/news/2025-12-sodium-ion-batteries-faster-lithium.html
1•PaulHoule•9m ago•0 comments

The world entered a new era of 'water bankruptcy' with irreversible consequences

https://www.cnn.com/2026/01/20/climate/water-bankruptcy-drought-united-nations
1•coloneltcb•10m ago•0 comments

Show HN: Consensus for Side Effects

https://github.com/abokhalill/chr2
1•yousef06•11m ago•0 comments

Show HN: ChartKit – 14 React charts in 15KB, zero dependencies, LLM-ready

https://chartkit.dev/
2•toddynho•12m ago•0 comments

Show HN: Retain – A unified knowledge base for all your AI coding conversations

https://github.com/BayramAnnakov/retain
1•Bayram•14m ago•0 comments

XGo: = C * Go * Python * JavaScript and Scratch

https://xgo.dev/
1•jcbhmr•14m ago•0 comments

ANN v3: 200ms p99 query latency over 100B vectors

https://turbopuffer.com/blog/ann-v3
2•_peregrine_•14m ago•0 comments

India-Europe 'mother of all deals' within reach as EU hints at breakthrough

https://economictimes.indiatimes.com/news/economy/foreign-trade/wef-davos-2026-india-eu-mother-of...
1•saubeidl•15m ago•0 comments

Entrepreneurship and Capital

https://deadneurons.substack.com/p/entrepreneurship-and-capital
1•nr378•16m ago•0 comments

Congress Imposes Public Utility Rules on UnitedHealth, CVS, and Cigna

https://www.thebignewsletter.com/p/boom-the-break-up-of-big-medicine
1•toomuchtodo•16m ago•0 comments

Blog Has Secrets

https://jordaneldredge.com/secrets/
2•speckx•19m ago•0 comments

AliSQL, a MySQL branch with a DuckDB storage engine

https://github.com/alibaba/AliSQL
1•pbowyer•19m ago•0 comments

Show HN: Automatically build sales playbook. For founders doing sales

1•Mrakermo•20m ago•0 comments

Show HN: DealGraph – an open, verifiable ledger of businesses for sale

https://github.com/jeffsosville/dealgraph
1•jsosville•20m ago•0 comments

Apple to Revamp Siri as a Built-In iPhone, Mac Chatbot to Fend Off OpenAI

https://www.bloomberg.com/news/articles/2026-01-21/ios-27-apple-to-revamp-siri-as-built-in-iphone...
5•helsinkiandrew•21m ago•0 comments

Elon Musk's xAI Colossus 2 is nowhere near 1 gigawatt capacity

https://www.tomshardware.com/tech-industry/artificial-intelligence/elon-musks-xai-colossus-2-is-n...
1•doener•22m ago•0 comments

Mixedbread: How We Built Multimodal Late-Interaction at Billion Scale

https://www.mixedbread.com/blog/multimodal-late-interaction-billion-scale
2•ashvardanian•24m ago•0 comments

Software Willy Wonka

https://ricardoanderegg.com/posts/if-llms-replace-programmers-be-willy-wonka/
1•polyrand•25m ago•0 comments

How Cerebras AI Inference Chip Is Competing with Nvidia?

https://open.spotify.com/episode/48cbPZ539844DMi0kK1ADI
1•sindamnataraj•26m ago•0 comments