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•11mo 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.

Companies House flaw exposed five million directors

https://taxpolicy.org.uk/2026/03/13/companies-house-security-vulnerability-directors-addresses/
1•iamflimflam1•29s ago•0 comments

Linux 7.1 Will Bring Power Estimate Reporting for AMD Ryzen AI NPUs

https://www.phoronix.com/news/Linux-7.1-Ryzen-AI-NPU-Power
1•doener•1m ago•0 comments

Mini-Munich Succeeds Where KidZania Fails

https://minicities.org/p/mini-munich-not-kidzania-is-the-best
1•danielfetz•1m ago•1 comments

Bit-exact Python compatible math library in Rust

https://crates.io/crates/pymath
1•youknowone•1m ago•0 comments

The Existence and Behavior of Secondary Attention Sinks

https://github.com/JeffreyWong20/Secondary-Attention-Sinks
1•thw20•1m ago•0 comments

Functional recovery of the adult murine hippocampus after cryopreservation

https://www.pnas.org/doi/10.1073/pnas.2516848123
1•XzetaU8•2m ago•0 comments

Show HN: Privacy Shield an extension that hides your tabs during screen sharing

https://chromewebstore.google.com/detail/privacy-shield/nbhgnhbgkpfkniihnaepcfidlonbeeml
1•yusufA207•2m ago•0 comments

New York Wants to Ban the AI That Outscores Doctors – Garry's List

https://garryslist.org/posts/new-york-wants-to-ban-the-ai-that-outscores-doctors
1•bilsbie•3m ago•0 comments

Housing: The Greatest Policy Failure in the Western World

https://deadneurons.substack.com/p/the-greatest-policy-failure-in-the
1•nr378•3m ago•0 comments

Show HN: Bots of WallStreet,agents debate stocks,make predictions.Human spectate

https://botsofwallstreet.com
4•nykodev•4m ago•0 comments

Show HN: Intake API – An inbox for AI coding agents

2•mjsweet•5m ago•0 comments

Interactive map of all 40,500 wind turbines in Germany (real government data)

https://windkraft.jankoch.co
1•iamjankoch•8m ago•1 comments

Lessons from 47 failed startups: Common patterns and avoidable mistakes

https://leovance.gumroad.com/l/startup-checklist
1•anonimousdev_•8m ago•3 comments

FT: US intervention in oil futures would be 'Biblical disaster', CME warns

https://www.ft.com/content/823657f2-4f8b-4325-88db-fbbdba6c9e17
2•alecco•11m ago•1 comments

Lost in Translation: What the AI code debate keeps getting wrong

https://newsroom.ibm.com/blog-lost-in-translation-what-the-ai-code-debate-keeps-getting-wrong
1•rbanffy•12m ago•0 comments

Show HN: 3-path agent memory – 8 KB recurrent state vs. 156 MB KV at 10K tokens

https://github.com/amabito/tri-memory
1•tenpa0000•12m ago•0 comments

Show HN: Auditor Core – Enterprise security auditing engine for DevSecOps

https://datawizual.github.io/
1•EldorZ•15m ago•0 comments

Hacking the Xbox One

https://www.youtube.com/watch?v=FTFn4UZsA5U
1•sjuut•15m ago•0 comments

The slow death of the English boarding school

https://www.ft.com/content/cc7eb665-b689-4e2f-9e35-c6ab5dbf3980
1•ultratalk•18m ago•1 comments

StarTreks Scotty Programming Without AI

https://www.youtube.com/watch?v=bhjTpHxvEFI
1•niemandhier•21m ago•1 comments

Show HN: Crawl API

https://crawlapi.dev
1•mddanishyusuf•32m ago•0 comments

A daily allowance that adapts to your lifestyle – Daily Budget

https://dailybudget.dk
1•emilmoe•35m ago•0 comments

Show HN: TradeSet – Calculators for Tradies

https://www.tradeset.com.au
2•weirdjellyfish•36m ago•0 comments

Brookhaven RP

https://www.roblox.com/?rbx_source=appsflyer&rbx_medium=cpa&rbx_campaign=onelink&pid=ExperienceDe...
1•COLAK_LIMSO•36m ago•0 comments

Squeezing π from 122 Bits of Lambda Calculus

https://text.marvinborner.de/2025-02-08-12.html
3•marvinborner•38m ago•0 comments

Show HN: A Discord-alternative community platform built in PHP

https://github.com/lesleyespire/motylo
2•Pyrobyte•39m ago•3 comments

Y Combinator Investments in Europe

https://old.reddit.com/r/Startup_eu/comments/1rrl1qw/y_combinator_investments_in_europe/
2•wrahim•44m ago•1 comments

White House Considers Waiving Jones Merchant Marine Act

https://apnews.com/article/jones-act-trump-trade-abcac596db839bff3679b3117d2e81b2
1•ChrisMarshallNY•47m ago•1 comments

The OpenClaw AI mania in China, as security fears and enthusiasm surge

https://www.scmp.com/tech/tech-trends/article/3346513/inside-openclaw-mania-gripping-china-securi...
1•giuliomagnifico•48m ago•0 comments

Faster Data Migrations for Postgres

https://clickhouse.com/blog/practical-postgres-migrations-at-scale-peerdb
1•saisrirampur•48m ago•0 comments