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.

JavaFX 26 Today [video]

https://www.youtube.com/watch?v=Z3eHldNlHlU
1•java-man•46s ago•0 comments

Instagram and YouTube found liable in landmark social media addiction trial

https://www.pbs.org/newshour/nation/instagram-and-youtube-found-liable-in-landmark-social-media-a...
1•bdcravens•50s ago•0 comments

The LiteLLM Supply Chain Attack and Why Your Secrets Shouldn't Survive Boot

https://blog.crawley.systems/posts/litellm-supply-chain-attack
1•kcmastrpc•1m ago•0 comments

Playra by a 16 Year Old

1•Allenboyy•1m ago•0 comments

Finland moves to allow hosting of nuclear weapons

https://responsiblestatecraft.org/finland-nuclear-weapons/
1•t-3•1m ago•0 comments

Elon Musk Announces ClipX

https://lzon.ca/posts/series/duck/clipx/
1•jpmitchell•2m ago•0 comments

Dialkit

https://joshpuckett.me/dialkit
1•Areibman•6m ago•0 comments

Turn messy Amazon invoice PDFs into usable Excel data

https://amazoninvoicetoexcel.com/
1•bigCourage•6m ago•0 comments

Claude picks the first idea that works. Make it pick the best one

https://photostructure.com/coding/claude-code-replan/
2•speckx•7m ago•0 comments

Rendering OCI Images in Rust: Introducing Ocirender

https://edera.dev/stories/rendering-oci-images-the-right-way-introducing-ocirender
3•sys_call•9m ago•0 comments

The Diminished Art of Coding

https://nolanlawson.com/2026/03/22/the-diminished-art-of-coding/
1•birdculture•9m ago•0 comments

Popular LiteLLM PyPI package backdoored to steal credentials, auth tokens

https://www.bleepingcomputer.com/news/security/popular-litellm-pypi-package-compromised-in-teampc...
3•billybuckwheat•9m ago•0 comments

You Can Now Run MS-DOS Applications on the Apple IIe

https://hackaday.com/2026/03/25/you-can-now-run-ms-dos-applications-on-the-apple-iie/
1•sethkush•10m ago•0 comments

Anthropic's Claude can now control your Mac

https://venturebeat.com/technology/anthropics-claude-can-now-control-your-mac-escalating-the-figh...
3•devonnull•11m ago•1 comments

What does the world feel like? A live-sync emoji map

https://theworldmood.com
2•Unical-A•11m ago•0 comments

An Inside Look at the Subway's Archaic Signal System

https://www.nytimes.com/interactive/2025/04/20/nyregion/nyc-subway-signals.html
1•whalesalad•12m ago•0 comments

Multi-Array Queue: Now Lock-Free

https://github.com/MultiArrayQueue/LockFreeMultiArrayQueue
1•vitpro2213•13m ago•0 comments

Stellantis, the Company Where Driving the Wrong Car to Work Can Get You a Ticket

https://www.wsj.com/business/autos/the-company-where-driving-the-wrong-car-to-work-can-get-you-a-...
2•bookofjoe•14m ago•2 comments

Anthropic won't acknowledge my prior art notice

https://gist.github.com/Alienfader/9140a7311164d37a90f16600a1e4b6f1
2•alienfader•14m ago•3 comments

Post-AGI Vocabulary

https://gist.github.com/alpeware/21a0a962ff6947069dc02ccb949f18cd
1•simonpure•14m ago•0 comments

US jury finds Meta and Google liable in social media addiction trial

https://www.reuters.com/legal/litigation/jury-reaches-verdict-meta-google-trial-social-media-addi...
2•Philadelphia•15m ago•0 comments

Everyone's very angry online right now

https://www.garbageday.email/p/everyone-s-very-angry-online-right-now
1•laurex•17m ago•0 comments

Real-time TSA delays tracker

https://lufthaven.app/when-to-arrive
1•atharvavaidya•17m ago•0 comments

Show HN: Pgsemantic – Point at your Postgres DB, get vector search instantly

https://github.com/varmabudharaju/pgsemantic
3•varmabudharaju•18m ago•0 comments

Phishing Attempt from Notifications Github.com

https://github.com/QueenMooring/EmergencyBuild-58810/discussions/1
1•whatamidoingyo•19m ago•0 comments

Estroclic – A pill reminder for women on hormonal contraceptives (Android)

https://play.google.com/store/apps/details?id=com.estroclic.app
1•oumaimasmama•20m ago•0 comments

Sports Betting Is Everywhere, Especially on Credit Reports

https://fedinprint.org/item/fednls/102938
1•toomuchtodo•20m ago•1 comments

A18 Pro and MacBook Neo Deep-Dive [video]

https://www.youtube.com/watch?v=fTBvm4Hj7Mw
1•mariuz•20m ago•0 comments

Making of Live 2D Moving Girl Made with Paper Crafts Analog [video]

https://www.youtube.com/watch?v=KYubdZybX8k
1•thunderbong•21m ago•0 comments

Meta and YouTube found liable in social media addiction trial

https://www.cnn.com/2026/03/25/tech/social-media-addiction-trial-jury-decision
1•taubek•21m ago•0 comments