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

China blamed for UK government cyber attack

https://www.ft.com/content/fc7ebe87-8099-45f8-a8c2-2cf1c0b7dd83
1•mmarian•42s ago•0 comments

Map: Operator[] Should Be Nodiscard

https://quuxplusone.github.io/blog/2025/12/18/nodiscard-operator-bracket/
1•jandeboevrie•1m ago•0 comments

Show HN: I vibe-coded an aircraft AR tracking app and wasted weeks on AI bugs

1•auspiv•1m ago•0 comments

Launch OpenAI's Codex in a Container with PowerShell (Or Bash)

https://github.com/DeepBlueDynamics/codex-container
1•kordlessagain•2m ago•0 comments

Xorgproto 2025.1 Released to Recognize Newer Keyboard Keys

https://www.phoronix.com/news/xorgproto-2025.1
1•Bender•2m ago•0 comments

Default WAF rules fail to block most major exploits, study finds

https://www.scworld.com/news/default-waf-rules-fail-to-block-most-major-exploits-study-finds
1•Bender•2m ago•0 comments

GitHub walks back plan to charge for self-hosted runners

https://www.theregister.com/2025/12/17/github_charge_dev_own_hardware/
1•Bender•2m ago•0 comments

Is Firefox Firefucked?

https://kevquirk.com/blog/is-firefox-firefucked/
1•speckx•3m ago•0 comments

Engine Runs on Sound Waves

https://www.youtube.com/watch?v=xCnxsoXtlmY
1•akshatjiwan•4m ago•0 comments

The Best C++ Library

https://mcyoung.xyz/2025/07/14/best/
1•ibobev•4m ago•0 comments

Happy Birthday, BGP

https://www.potaroo.net/ispcol/2019-06/bgp30.html
1•fanf2•4m ago•0 comments

Garage – An S3 object store so reliable you can run it outside datacenters

https://garagehq.deuxfleurs.fr/
1•ibobev•6m ago•0 comments

Ask HN: What would you call a package whose purpose is to import data?

4•ctc24•6m ago•0 comments

Show HN: Free .env Template Generator – Quickly throw together a .env file

https://envlock.io/tools/env-template-generator
1•j_time•6m ago•0 comments

HandPad a Unique HackPad Made for Blueprint HackClub

https://blueprint.hackclub.com/projects/1897
1•amusoni240•7m ago•0 comments

Tokenization in Transformers v5: Simpler, Clearer, and More Modular

https://huggingface.co/blog/tokenizers
1•ibobev•8m ago•0 comments

I am a factory worker now

https://blog.jamesolds.me/post/factory-worker/
1•oldsj•8m ago•1 comments

Cold and lithium delay forgetting of olfactory memories in C. elegans

https://www.nature.com/articles/s41593-025-02143-6
1•bookofjoe•9m ago•0 comments

What If the Satanic Panic Had Never Happened?

http://grognardia.blogspot.com/2025/12/what-if-satanic-panic-had-never-happened.html
1•speckx•9m ago•0 comments

Advent of the Underbar

https://perladvent.org/2025/2025-12-19.html
1•oalders•11m ago•1 comments

Show HN: Z-Image Desktop App with MPS and Vulkan Acceleration

https://github.com/WaveSpeedAI/wavespeed-desktop
1•chengzeyi•11m ago•0 comments

Show HN: How to Make More Money from the Same Website Traffic

https://getrevdock.com/blog/how-to-make-more-money-from-the-same-website-traffic
1•imadjourney•11m ago•0 comments

Rcarmo/steward: AI can now create itself, even inside your Raspberry Pi

https://github.com/rcarmo/steward
1•rcarmo•12m ago•0 comments

They Get Wheeled on Flights and Walk Off. Praise 'Jetway Jesus.'

https://www.wsj.com/lifestyle/travel/jetway-jesus-wheelchair-passengers-miracle-flights-0eaccfb3
1•dctoedt•17m ago•1 comments

Protein Rejuvenates Aging Mice Immune Systems

https://ashpublications.org/blood/article/146/23/2765/547160/Platelet-factor-4-regulates-hematopo...
1•stevenjgarner•17m ago•0 comments

James Webb Space Telescope confirms first 'runaway' supermassive black hole

https://www.space.com/astronomy/black-holes/james-webb-space-telescope-confirms-1st-runaway-super...
1•smurda•17m ago•0 comments

Life Without a Violent Act

https://thefacthunter.substack.com/p/life-without-a-violent-act
2•huijzer•18m ago•0 comments

A Reddit tipster cracked the Brown University and MIT shooting cases

https://www.nbcnews.com/news/us-news/reddit-tipster-cracked-brown-university-mit-shooting-cases-r...
2•dctoedt•19m ago•0 comments

Native Htmx in Drupal 11.3.0: Rich UX with up to 71% less JavaScript

https://www.drupal.org/about/core/blog/drupal-1130-biggest-performance-boost-in-a-decade
1•dallen33•20m ago•1 comments

The 'Ondes-Martenot' Maurice Martenot, France, 1928

https://120years.net/the-ondes-martenotmaurice-martenotfrance1928/
1•andsoitis•20m ago•0 comments