frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A set of Idiomatic prod-grade katas for experienced devs transitioning to Go

https://github.com/MedUnes/go-kata
82•medunes•4d ago

Comments

medunes•4d ago
I’ve been transitioning to Go after years in other ecosystems, and kept running into the same problem: I could write correct Go code, but not idiomatic Go.

Most material focuses on syntax or algorithms. In practice, what caused friction were production mismatches: context cancellation and goroutine leaks, errgroup vs WaitGroup tradeoffs, HTTP client hygiene, error wrapping semantics, allocation control, embed/io/fs for dev–prod parity, etc.

I started collecting small, constraint-driven katas that isolate one such mismatch at a time. Each kata defines explicit pass/fail idiomatic constraints, rather than providing solutions. The goal is deliberate practice, not “best practices” or tutorials.

This repo is curated by someone transitioning to Go, for others doing the same. It’s not meant to be authoritative. If you’re experienced with Go and spot incorrect, unsafe, or misleading constraints, issues and PRs with rationale and references are explicitly encouraged.

I’m especially interested in feedback from people using Go in production on where these constraints are wrong, incomplete, or missing important edge cases.

CyberDildonics•30m ago
What is the difference between a "prod grade kata" and a practice project?
typeofhuman•3h ago
I wish it had solutions.
poly2it•3h ago
And automatic tests in some cases.
maxloh•3h ago
Could you please add a LICENSE file to the repository? MIT or any Creative Commons licenses would be a great choice.
jamietanna•2h ago
I'm not sure why this has been flagged - its not possible to copy code from the repo, as it defaults to All-Rights-Reserved (aka proprietary)

Unless that's explicitly the intent, in which case that's fair

kace91•3h ago
The instructions mention "Reflect: Compare your solution with the provided "Reference Implementation" (if available)" but not a single line of code is present.

Is this an artifact of it all being ai generated, or work in progress?

twodave•2h ago
This honestly just looks like a bunch of ChatGPT output. There’s almost no code (I checked maybe half a dozen topics). Not sure how useful this is for anyone besides the author. Why would I look at this instead of asking an LLM?
MrDarcy•1h ago
I’m sure this is useful for me who is a staff+ engineer building a team who are transitioning to go.

Including these Kata in AGENTS.md is extremely useful.

nicois•44m ago
If the idea is to have devs implement each kata, wouldn't it be more effective to provide not only automated tests, but also code which should be used as a basis for each challenge?

For example, if supporting a dev tag to serve assets from the filesystem, why not include a simple webserver which embeds the contents?

This would allow aspiring gophers to go straight to the high value modification of a project rather than effectively spend most of the time writing scaffolding and tests.

The struggle of resizing windows on macOS Tahoe

https://noheger.at/blog/2026/01/11/the-struggle-of-resizing-windows-on-macos-tahoe/
344•happosai•1h ago•156 comments

iCloud Photos Downloader

https://github.com/icloud-photos-downloader/icloud_photos_downloader
215•reconnecting•3h ago•118 comments

2026 is the Year of Self-hosting

https://fulghum.io/self-hosting
41•websku•1h ago•34 comments

Sampling at negative temperature

https://cavendishlabs.org/blog/negative-temperature/
75•ag8•2h ago•24 comments

Game is a single 13 KiB file that runs on Windows, Linux and in the Browser

https://iczelia.net/posts/snake-polyglot/
9•snoofydude•22m ago•2 comments

I'm making a game engine based on dynamic signed distance fields (SDFs) [video]

https://www.youtube.com/watch?v=il-TXbn5iMA
105•imagiro•3d ago•13 comments

FUSE is All You Need – Giving agents access to anything via filesystems

https://jakobemmerling.de/posts/fuse-is-all-you-need/
11•jakobem•1h ago•2 comments

Elo – A data expression language which compiles to JavaScript, Ruby, and SQL

https://elo-lang.org/
18•ravenical•4d ago•2 comments

A set of Idiomatic prod-grade katas for experienced devs transitioning to Go

https://github.com/MedUnes/go-kata
82•medunes•4d ago•10 comments

Don't fall into the anti-AI hype

https://antirez.com/news/158
423•todsacerdoti•12h ago•586 comments

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
271•akhuettel•10h ago•132 comments

Ask HN: What are you working on? (January 2026)

123•david927•5h ago•415 comments

Show HN: Engineering Schizophrenia: Trusting Yourself Through Byzantine Faults

13•rescrv•41m ago•2 comments

I'd tell you a UDP joke…

https://www.codepuns.com/post/805294580859879424/i-would-tell-you-a-udp-joke-but-you-might-not-get
3•redmattred•16m ago•0 comments

Poison Fountain

https://rnsaffn.com/poison3/
152•atomic128•5h ago•97 comments

guys why does armenian completely break Claude

https://twitter.com/dyushag/status/1993143599286886525
69•ag8•2h ago•31 comments

The Next Two Years of Software Engineering

https://addyosmani.com/blog/next-two-years/
6•napolux•36m ago•0 comments

A 2026 look at three bio-ML opinions I had in 2024

https://www.owlposting.com/p/a-2026-look-at-three-bio-ml-opinions
5•abhishaike•1h ago•0 comments

Anthropic: Developing a Claude Code competitor using Claude Code is banned

https://twitter.com/SIGKITTEN/status/2009697031422652461
169•behnamoh•3h ago•116 comments

Show HN: Chr2 – consensus for side effects (exactly-once is a lie)

https://github.com/abokhalill/chr2
5•yousef06•1h ago•0 comments

Perfectly Replicating Coca Cola [video]

https://www.youtube.com/watch?v=TDkH3EbWTYc
94•HansVanEijsden•3d ago•41 comments

BYD's cheapest electric cars to have Lidar self-driving tech

https://thedriven.io/2026/01/11/byds-cheapest-electric-cars-to-have-lidar-self-driving-tech/
69•senti_sentient•1h ago•63 comments

Meta announces nuclear energy projects

https://about.fb.com/news/2026/01/meta-nuclear-energy-projects-power-american-ai-leadership/
206•ChrisArchitect•3h ago•226 comments

"Food JPEGs" in Super Smash Bros. & Kirby Air Riders

https://sethmlarson.dev/food-jpegs-in-super-smash-bros-and-kirby-air-riders
247•SethMLarson•5d ago•56 comments

I Cannot SSH into My Server Anymore (and That's Fine)

https://soap.coffee/~lthms/posts/i-cannot-ssh-into-my-server-anymore.html
6•TheWiggles•4d ago•0 comments

Desperately Seeking Squircles (2018)

https://www.figma.com/blog/desperately-seeking-squircles/
4•kjeetgill•2h ago•0 comments

I dumped Windows 11 for Linux, and you should too

https://www.notebookcheck.net/I-dumped-Windows-11-for-Linux-and-you-should-too.1190961.0.html
657•smurda•11h ago•659 comments

C++ std::move doesn't move anything: A deep dive into Value Categories

https://0xghost.dev/blog/std-move-deep-dive/
220•signa11•2d ago•177 comments

Quake 1 Single-Player Map Design Theories (2001)

https://www.quaddicted.com/webarchive//teamshambler.planetquake.gamespy.com/theories1.html
26•Lammy•17h ago•1 comments

Happy 50th Birthday KIM-1

https://github.com/netzherpes/KIM1-Demo
65•JKCalhoun•8h ago•20 comments