frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pgdbtemplate – fast PostgreSQL test databases in Go using templates

https://github.com/andrei-polukhin/pgdbtemplate
1•andrei-polukhin•2h ago
Dear community,

I have heard that appropriate self-promotion is allowed on this forum, so I want to welcome `pgdbtemplate`. It is the Go library for creating PostgreSQL test databases using template databases for lightning-fast test execution. Have you ever used PostgreSQL in your tests and been frustrated by how long it takes to spin up the database and run its migrations? `pgdbtemplate` offers...

  - Proven benchmarks showing 1.2x-1.6x faster performance than the traditional approach
  - Seamless integration with your projects by supporting both "github.com/lib/pq" and "github.com/jackc/pgx/v5" PostgreSQL drivers, as well as configurable connection pooling
  - Built-in migration handling
  - Full `testcontainers-go` support
  - Robust security implementation: safe against SQL injections, fully thread-safe operations
  - Production-ready quality: SOLID principles enabling custom connectors and migration runners, >98% test coverage, and comprehensive documentation
Ready to see how it works? Follow [this](https://github.com/andrei-polukhin/pgdbtemplate?tab=readme-o...) link and see the "Quick Start" example on how easily you can integrate `pdbtemplate` into your Go tests. I welcome feedback and questions about code abstractions, implementation details, security considerations, and documentation improvements.

Thank you for reading this post. Let's explore how I can help you.

Poland invokes NATO's Article 4 after Russian drone incursion [video][4 mins]

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

Pg_DuckDB Version 1.0

https://motherduck.com/blog/pg-duckdb-release/
1•tanelpoder•3m ago•0 comments

You and Your Local Gradient

https://whybyfire.net/ultraleverage
1•cosmicecho•4m ago•0 comments

XNEdit – fast and classic X11 text editor

https://www.unixwork.de/xnedit/
1•Mr_Minderbinder•6m ago•0 comments

Browser.js

https://github.com/HeyPuter/browser.js
2•ent101•8m ago•0 comments

ARM is great, ARM is terrible (and so is RISC-V) – The Changelog

https://changelog.complete.org/archives/10858-arm-is-great-arm-is-terrible-and-so-is-risc-v
4•todsacerdoti•10m ago•0 comments

Possibilities for Low-Fidelity Mind Uploading

https://zaira.blog/blog/possibilities-for-low-fidelity-mind-uploading/
1•cosmicecho•11m ago•0 comments

Tesla Solar Roof Costs $6-8 per Watt vs. $3 Traditional

https://www.fistsolar.com/tesla-solar-roof-costs-6-8-per-watt-vs-3-traditional
2•billm950•12m ago•0 comments

Many Hard LeetCode Problems Are Easy Constraint Problems

https://buttondown.com/hillelwayne/archive/many-hard-leetcode-problems-are-easy-constraint/
1•tannhaeuser•16m ago•2 comments

The Rise of Political Violence and Targeting of Lawmakers in the U.S.

https://time.com/7294891/political-violence-rise-america/
2•mgh2•16m ago•0 comments

How Much Math Is Knowable? (Scott Aaronson Santa Fe Institute Talk) [video]

https://www.youtube.com/watch?v=dQC7AIT91_g
1•maartenscholl•17m ago•0 comments

Membrane Biology

https://en.wikipedia.org/wiki/Membrane_biology
1•rolph•20m ago•0 comments

Tesla Doors Can Trap People Desperate to Escape

https://www.bloomberg.com/features/2025-tesla-dangerous-doors/
3•mgh2•20m ago•1 comments

Hetzner Storage Boxes

https://www.hetzner.com/storage/storage-box/
1•kblissett•22m ago•1 comments

Database Entity Recognition with Data Augmentation and Deep Learning

https://arxiv.org/abs/2508.19372
1•PaulHoule•30m ago•0 comments

RSS co-creator launches new protocol for AI data licensing

https://techcrunch.com/2025/09/10/rss-co-creator-launches-new-protocol-for-ai-data-licensing/
1•twapi•30m ago•0 comments

Racintosh Plus – custom rack mounted classic Mac

http://www.identity4.com/2025-racintosh-plus/
1•MBCook•30m ago•0 comments

Intel's E2200 "Mount Morgan" IPU at Hot Chips 2025

https://chipsandcheese.com/p/intels-e2200-mount-morgan-ipu-at
4•ingve•31m ago•0 comments

Ted Cruz Proposes Sandbox Act to Waive Federal Regulations for AI Developers

https://www.commerce.senate.gov/2025/9/sen-cruz-unveils-ai-policy-framework-to-strengthen-america...
1•Improvement•32m ago•0 comments

Show HN: AI Rules Manager – Package manager for AI coding assistant rules

https://github.com/jomadu/ai-rules-manager
8•jomadu•35m ago•3 comments

Knots and π-Calculus (2010)

https://arxiv.org/abs/1009.2107
2•photonthug•38m ago•0 comments

Alignment Bears

https://www.alignmentbears.com
1•sethbannon•42m ago•4 comments

Cat Age Calculator

https://dogcatagedcalculator.com/
2•yangyiming•43m ago•1 comments

Real-Time Detection of Hallucinated Entities in Long-Form Generation

https://www.hallucination-probes.com/
1•mattzcarey•44m ago•0 comments

Shape Checking for Annotated Tensor Names

https://github.com/samanklesaria/sizecheck
1•samanklesaria•45m ago•0 comments

The 4p Developer: The Missing Layer in Platform Thinking

https://www.davidpoll.com/2025/09/the-4p-developer-the-missing-layer-in-platform-thinking/
1•depoll•47m ago•0 comments

You're a Slow Thinker. Now What?

https://chillphysicsenjoyer.substack.com/p/youre-a-slow-thinker-now-what
4•sebg•51m ago•0 comments

Phospholipid head govern area per lipid and emergent elasticity of bilayer(2018)

https://www.cell.com/biophysj/fulltext/S0006-3495(22)00733-0#
1•rolph•51m ago•2 comments

AI School Is in Session

https://www.nytimes.com/2025/09/05/podcasts/hardfork-education-alpha-school.html
2•wjb3•51m ago•1 comments

Rpsduel.com – Live Rock Paper Scissors with Instant ELO Matchmaking

https://rpsduel.com/
1•iCeGaming•52m ago•1 comments