frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Tell HN: Always ask "is that how it works or"?

2•dakiol•2h ago
I asked Claude:

> In "The pre-release suffix indicates a version is a pre-release. Pre-release versions sort before the corresponding release versions. For example, v1.2.3-pre comes before v1.2.3.", Why do they mention the sorting part? Whats the relevance?

Claude said:

> Good question! It's because Go's version resolution relies heavily on sorting/ordering to decide which version to pick. For example when you do go get golang.org/x/tools@latest — what's "latest"? Go needs to sort all available versions and pick the highest one. If pre-releases sorted after release versions, then v1.2.3-pre could be considered "newer" than v1.2.3, and @latest might accidentally give you a pre-release when you didn't want one. By explicitly saying pre-releases sort before their release counterpart, Go guarantees that:

@latest won't accidentally resolve to a pre-release v1.2.3 is always considered "higher" than v1.2.3-pre Version ranges and minimum version selection behave predictably

It's basically setting expectations — "don't assume pre-releases are newer just because they have extra stuff in the version string."

---

I wasnt' sure so then I asked:

> is that how go get works really or?

Claude:

> Honestly, I oversimplified it a bit! @latest in Go specifically means the latest tagged release version — it explicitly excludes pre-releases by definition, not just because of sorting. The sorting relevance is more about Minimum Version Selection (MVS) — Go's algorithm for resolving dependencies. When multiple modules in your dependency graph require different versions of the same module, Go picks the minimum version that satisfies everyone. For that algorithm to work correctly, versions need a well-defined order. So the sorting mention is more about making sure the ordering is unambiguous and predictable for MVS, rather than specifically about @latest behavior. I shouldn't have used that as the example

Happens every single time. A bit tiring

The Training Example Lie Bracket

https://pbement.com/posts/lie_brackets/
1•pb1729•3m ago•0 comments

Benchmarking LLMs with Marimo Pair

https://ericmjl.github.io/blog/2026/4/8/benchmarking-llms-with-marimo-pair/
1•akshayka•4m ago•0 comments

MS Aspire – Open-source stack, streamlined

https://aspire.dev/
1•evo_9•5m ago•0 comments

Tip: Use services, not the terminal, to run local backends

https://probablymarcus.com/blocks/2026/04/09/use-os-services-for-your-local-backends.html
1•mrcslws•5m ago•0 comments

Show HN: Linear RNN/Reservoir hybrid generative model, one C file (no deps.)

https://raw.githubusercontent.com/bggb7781-collab/lrnnsmdds/refs/heads/main/lrnnsmdds
1•adinhitlore•7m ago•0 comments

We simulate target market so you can ask anything ±4% vs. real surveys

https://inqvey.com/hn
1•yarasheff•8m ago•0 comments

How to achieve P90 sub-microsecond latency in a C++ FIX engine

https://akinocal1.substack.com/p/how-to-achieve-p90-sub-microsecond
1•klaussilveira•9m ago•0 comments

Show HN: Undocumented Qualcomm mesh topology 802.11 frames

https://david.weekly.org/blog/2026-04-09-orbi-mesh-beacon-topology/
1•dweekly•9m ago•0 comments

AI Speedometer: Real-time AI model speed benchmarks

https://ai-speedometer.oliveowl.xyz/
1•sea-gold•13m ago•1 comments

Show HN: Coderegon Trail – A retro game to help you explore open-source repos

https://www.davidtran.me/coderegon-trail/
2•dtran•14m ago•2 comments

FCC considers retroactive ban on foreign hardware

https://docs.fcc.gov/public/attachments/DOC-420715A1.txt
3•topspin•15m ago•1 comments

Good Writing

https://www.paulgraham.com/goodwriting.html
1•MarlonPro•16m ago•0 comments

The Iran war depleted US weapons. Rebuilding will require China's cooperation

https://www.politico.com/news/2026/04/09/middle-east-war-weapons-china-00864622
2•n1b0m•17m ago•0 comments

CyberAgent moves faster with ChatGPT Enterprise and Codex

https://openai.com/index/cyber-agent
2•surprisetalk•18m ago•0 comments

Camofox-browser: Anti-detection browser for AI agents, powered by Camoufox

https://github.com/jo-inc/camofox-browser
1•luispa•18m ago•0 comments

How a stranger's kind words stayed with a father and daughter

https://text.npr.org/nx-s1-5774524
2•1659447091•24m ago•0 comments

New NextTool Mini Flagship

https://nextoolstore.com/products/mini-flagship-f12-nextool®?srsltid=AfmBOooF5hZ7TFUk05yeE5Po3gmP...
2•nate•25m ago•1 comments

Kagi Product Tips – Customize Your Search Results with URL Redirects

https://blog.kagi.com/tips/redirects
3•treetalker•28m ago•0 comments

goose has a new home – the Agentic AI Foundation (AAIF)

https://goose-docs.ai/blog/2026/04/07/goose-moves-to-aaif/
1•wicket•31m ago•0 comments

Did Airbnb, Medium, Beats, and Flipboard Rip Off Their Logos? (2016)

https://thehustle.co/airbnb-medium-beats-flipboard-logo
2•bookofjoe•33m ago•0 comments

Verification Is the Next Bottleneck in AI-Assisted Development

https://www.opslane.com/blog/verification-bottleneck
1•aray07•34m ago•0 comments

OpenAI looks to take on Anthropic with $100 per month ChatGPT Pro subscriptions

https://www.cnbc.com/2026/04/09/openai-chatgpt-pro-subscription-anthropic-claude-code.html
1•HiroProtagonist•35m ago•0 comments

AI micro-dramas are shaking up Chinese entertainment

https://economist.com/china/2026/04/09/ai-micro-dramas-are-shaking-up-chinese-entertainment
1•andsoitis•37m ago•0 comments

The AI Jobs Blind Spot: Why Job Creation Is the Default

https://substack.norabble.com/p/the-ai-jobs-blind-spot
1•nedruod•38m ago•0 comments

Gitbutler

https://gitbutler.com/
2•handfuloflight•39m ago•0 comments

Perplexity computer is based on the OSS browser use library

https://twitter.com/mamagnus00/status/2042339700082610345
3•whytai•40m ago•0 comments

BYD teams up with KFC to offer 9 minute EV charging

https://electrek.co/2026/04/09/byd-fast-food-giant-offer-9-minute-ev-charging/
3•breve•41m ago•0 comments

Sora Fuel Raised $14.6M to Bottle the Sky

https://www.siliconsnark.com/sora-fuel-raised-14-6-million-to-bottle-the-sky-honestly-respect/
1•SaaSasaurus•42m ago•0 comments

IMDB created my account for merely visiting the site

5•astr0n0m3r•46m ago•2 comments

CNN investigation: Exposing a global 'rape academy'

https://www.cnn.com/interactive/2026/03/world/expose-rape-assault-online-vis-intl/index.html
7•1659447091•49m ago•1 comments