frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Title: Show HN: AssertGo – Fluent Assertion Library for Go

1•duckydude20•1h ago
I like AssertJ-style fluent assertions. I tried to find a library that does that for Go, but couldn't. So I wrote my own some time ago, but I didn't quite like it. A few days ago I heard about Go 1.27 and the addition of generic methods, so I gave it another try.

I like the way it came out this time. Most of the code was written with 1.26. Just now, after the 1.27 RC release, I changed the top-level methods to be generic - previously they were `any`.

As for the AI: I used Claude Sonnet, but as a codegen more than anything else. All the design choices are mine, and everything is done in small, incremental commits.

https://github.com/sku0x20/assertgo

Some examples:

    T(t).Assert("hello").EqualTo("hello")
    T(t).AssertInt(10).GreaterThan(5)
    T(t).AssertSlice([]int{1, 2, 3}).ContainsAll([]int{1, 3})
    T(t).AssertMap(map[string]int{"a": 1}).HasLength(1)
    T(t).AssertType(42).Is[int]()

Surprising lessons from my research scientist job search

https://yongzx.github.io/blog/2026/06/24/job-search/
2•sebg•3m ago•0 comments

Pipestage

https://github.com/openlab-x/pipestage
2•firetesterlab•4m ago•0 comments

The 'papers, please' era of the internet will decimate your privacy

https://expression.fire.org/p/the-papers-please-era-of-the-internet
2•bilsbie•5m ago•0 comments

Show HN: Open-source app for UniNow QR code check in

https://lipstick.bixilon.de/bixilon/unithen
1•bixilon•6m ago•0 comments

The State of the AI Economy

https://intelligence.exponentialview.co/
1•simonebrunozzi•6m ago•0 comments

Ask HN: Haven't posts about web front end frameworks completely stopped?

1•porridgeraisin•7m ago•0 comments

Another reason to get attached to Surebeans

https://surebeans.net/blog/2026/06/getting-attached-to-surebeans/
1•sltr•9m ago•0 comments

Show HN:Every Team Is Building the Same Cache

https://www.tierfs.com/blog/every-team-builds-the-same-cache.html
2•saurabhpal97•9m ago•1 comments

All you need is PostgreSQL

https://ebellani.github.io/blog/2026/all-you-need-is-postgresql/
3•b-man•11m ago•0 comments

CPUs Are Back: The Datacenter CPU Landscape in 2026

https://newsletter.semianalysis.com/p/cpus-are-back-the-datacenter-cpu
2•rbanffy•15m ago•0 comments

Dead Lithium Batteries Revived to 95% Capacity via Electrochemical Bath

https://newatlas.com/energy/electrode-restoring-bath-lithium-batteries/
3•karakoram•15m ago•1 comments

US says PRC trying to discourage states, businesses from engaging with Taiwan

https://www.reuters.com/world/china/us-says-china-trying-discourage-states-businesses-engaging-wi...
3•ilamont•16m ago•0 comments

Why Is Europe So Ill-Equipped to Handle Heat Waves?

https://time.com/article/2026/06/25/europe-heat-wave-infrastructure-air-conditioning/
1•karakoram•19m ago•2 comments

Show HN: A Claude skill that prunes your AI's memory file, one diff at a time

https://puremint.co.uk/blog/stop-your-ai-memory-file-rotting/
1•wonkyfruit•20m ago•0 comments

After a Personal Health Crisis, He Built a $500M Cottage Cheese Empire

https://www.inc.com/kevin-j-ryan/good-culture-jesse-merrill-cottage-cheese-l-catterton/91340377
1•mooreds•22m ago•0 comments

Hospitals in UK Declare Critical Incidents as Machines, IT Systems Fail in Heat

https://www.theguardian.com/society/2026/jun/25/hospitals-nhs-england-critical-incidents-machines...
3•karakoram•25m ago•0 comments

How the Heck Do Synthesizers Work? (An Interactive Exploration)

https://perthirtysix.com/how-the-heck-do-synthesizers-work
2•sebg•25m ago•0 comments

The Brain Center at Whipple's (1964)

https://en.wikipedia.org/wiki/The_Brain_Center_at_Whipple%27s
2•_doctor_love•26m ago•1 comments

Why AI agents need three types of memory

https://neo4j.com/blog/agentic-ai/context-graph-ai-agent-memory/
2•mooreds•26m ago•0 comments

Kremlin demands explanation from Apple after Russian apps removed from App Store

https://www.reuters.com/world/europe/kremlin-demands-explanation-apple-after-russian-apps-removed...
1•cdrnsf•26m ago•0 comments

The Coming Divide: AI-Native or Left Behind

https://danielmiessler.com/blog/ai-native-divide
2•skeledrew•26m ago•1 comments

Some learnings from temporal.io building SDKs for 8 languages

https://www.infoq.com/presentations/rust-polyglot-sdk/
1•devdoshi•27m ago•0 comments

Migrating from Proxmox to NixOS and Incus

https://www.nijho.lt/post/proxmox-to-nixos/
4•wasting_time•27m ago•0 comments

Env0 (Env Zero) vs. Terraform Cloud (HCP Terraform)

https://spacelift.io/blog/env-zero-vs-terraform-cloud
1•mooreds•28m ago•1 comments

Building America's Time Capsule

https://www.nist.gov/feature-stories/building-americas-time-capsule
2•letmetweakit•28m ago•0 comments

Silk: Fiber runtime for ClickHouse

https://clickhouse.com/blog/silk
3•samaysharma•28m ago•0 comments

The dogma of entity-based Services and Repositories

https://martinfowler.com/eaaCatalog/serviceLayer.html
1•birdculture•28m ago•0 comments

Lead Developer of Google Earth Believes Earth Is Flat

https://steemit.com/flatearth/@alternative/lead-developer-at-google-earth-believes-earth-is-flat
2•evo_9•28m ago•1 comments

Hardwood 1.0: A Fast, Lightweight Apache Parquet Reader for the JVM

https://www.morling.dev/blog/hardwood-1-0-fast-lightweight-apache-parquet-reader-for-the-jvm/
2•gunnarmorling•31m ago•0 comments

FM Radio Is Being Nixed from New Vehicles, Too

https://www.digitalmusicnews.com/2026/06/16/fm-radio-excluded-from-new-vehicles/
2•austinallegro•31m ago•0 comments