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

Visual Neuroscience: How Do Moths See to Fly at Night?

https://www.sciencedirect.com/science/article/pii/S0960982216000701#
1•andsoitis•47s ago•0 comments

Albert Michelson's Harmonic Analyzer [pdf]

https://engineerguy.com/fourier/pdfs/albert-michelsons-harmonic-analyzer.pdf
1•o4c•1m ago•1 comments

PalmOS on FisherPrice Pixter Toy

https://dmitry.gr/?r=05.Projects&proj=27.%20rePalm#pixter
1•dmitrygr•5m ago•0 comments

Have I Been Flocked? – Check If Your License Plate Is Being Watched

https://haveibeenflocked.com/
1•pkaeding•6m ago•0 comments

Show HN: Flexy – We Built a Faster Way to Get Small Dev Tasks Done

https://www.flexytasks.dev/
1•plakhlani2•6m ago•1 comments

Angel

https://en.wikipedia.org/wiki/Angel
1•marysminefnuf•7m ago•0 comments

Show HN: A small reasoning engine that learns rewrite rules from two examples

3•heavymemory•10m ago•0 comments

Jolla Launches Community-Funded Linux Phone

https://linuxiac.com/jolla-launches-community-funded-linux-phone/
2•embedding-shape•24m ago•0 comments

Building PagerDuty's SRE Agent

https://www.pagerduty.com/eng/context-over-cleverness-building-pagerdutys-sre-agent/
1•dadbod80•27m ago•0 comments

Nice overview of ESP32 devkits and ecosystems [video]

https://www.youtube.com/watch?v=sM34IYTIPyQ
3•NoxiousPluK•28m ago•2 comments

Supreme Court Agrees to Review Trump Order Restricting Birthright Citizenship

https://www.nytimes.com/2025/12/05/us/politics/supreme-court-trump-birthright-citizenship.html
2•treetalker•30m ago•1 comments

Show HN: Radioactive Pooping Knights

https://minichessgames.com/#/play/pooping-knights
3•patrickdavey•39m ago•1 comments

Mock Roles, not Objects (2004) [pdf]

https://jmock.org/oopsla2004.pdf
1•n3t•39m ago•0 comments

I cracked a $200 software protection with xcopy

https://www.ud2.rip/blog/enigma-protector/
6•vmfunc•45m ago•1 comments

New Study Investigates How Diet May Slow Normal Brain Aging

https://www.bumc.bu.edu/camed/news-events/articles/2025/new-study-investigates-how-diet-may-slow-...
1•gslin•45m ago•0 comments

EU hits X with €120M fine for breaching the Digital Services Act

https://www.dw.com/en/eu-imposes-120-million-fine-on-elon-musks-x-for-breaking-digital-rules/a-75...
15•vincvinc•51m ago•3 comments

Windows Telemetry

https://sizeof.cat/post/windows-telemetry/
2•DustinEchoes•52m ago•0 comments

India backs off from requiring government-made security app

https://www.scworld.com/news/india-backs-off-from-requiring-government-made-security-app
1•Bender•57m ago•1 comments

Sandvik gets €500M from European Investment Bank for new, smart EVs

https://electrek.co/2025/12/05/sandvik-gets-e500m-from-european-investment-bank-for-new-smart-evs/
1•Bender•57m ago•0 comments

Ultrablack wool textiles inspired by hierarchical avian structure

https://www.nature.com/articles/s41467-025-65649-4
4•defrost•1h ago•2 comments

State of decay in self-hosted commenting (code review)

https://bykozy.me/blog/state-of-decay-in-self-hosted-commenting/
1•byko3y•1h ago•0 comments

HTML Kong (2016)

https://www.xn--8ws00zhy3a.com/blog/2016/07/html-kong#f16.1
1•mmulet•1h ago•1 comments

DeslopifAI – Remove AI Slop

4•haeli05•1h ago•0 comments

Show HN: NanoAI – Unified AI Image Workspace (Generation, Inpainting, Upscaling)

https://nanoai.run
1•Li_Evan•1h ago•0 comments

Show HN: macOS Window Managers Directory

https://macoswm.com/
1•j0r0b0•1h ago•0 comments

Ask HN: What is the future of SaaS when things are this easy to build?

3•fbrncci•1h ago•1 comments

Making WebAssembly and Wasmtime More Portable (2024)

https://bytecodealliance.org/articles/wasmtime-portability
2•apitman•1h ago•0 comments

Data Centers Are a 'Gold Rush' for Construction Workers

https://www.wsj.com/business/data-centers-are-a-gold-rush-for-construction-workers-6e3c5ce0
1•lxm•1h ago•0 comments

A 2,500-year lineage of daemon-like naming conventions, from antiquity to AI

2•troyka•1h ago•1 comments

Mark Zuckerberg rebranded for metaverse. $70B in losses, he's moving on

https://fortune.com/2025/12/05/mark-zuckerberg-metaverse-layoffs-cuts-facebook-rebrand/
5•nsoonhui•1h ago•3 comments