frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Go (style) linter for dangling package-level functions

https://github.com/nfx/go-ownfunc
1•nf-x•1h ago
I'm one of those who doesn't like dangling top-level functions polluting the package namespace and has to belong to some type via receiver to make some logical sense and "feel less cluttered" after decade in the other language ecosystems. After leaving this exact complaint (among others) in hundreds of PR reviews, I thought it's going to be fun automating this, as wanted to dig through golang.org/x/tools/go/analysis for quite a while now. It turned out that analysis.TextEdit is more fun than the linter itself, so that fixes could happen automatically and funcs undangle as pointer receiver methods if a concrete func is used just within one type.

Give it a spin and tell me what you think. My two hours of internet search didn't yield any similar things out there. As the most of the linters, it's a stylistic choice, that may or may not fit your orgs. Maybe it'll make your life easier.

CAUTION: Don't run with `-fix` on non-staged changes yet.

PRs are very welcome, especially with more corner-case fixtures.

Sunscreen, a stylus, and 16 hours of pair programming with an AI

https://www.collabora.com/news-and-blog/blog/2026/11/02/sunscreen-a-stylus-and-16-hours-of-pair-p...
1•losgehts•54s ago•0 comments

Harari vs. Henrich. What science says about human evolution

https://josephheath.substack.com/p/harari-vs-henrich
1•tomgp•3m ago•0 comments

Apple has a touchscreen MacBook. Why now?

https://www.tomshardware.com/laptops/macbooks/apple-finally-has-a-touchscreen-macbook-why-now
1•rndsignals•4m ago•0 comments

Anthropic RSI recursive self improvement

https://www.wsj.com/tech/ai/ai-anthropic-rsi-recursive-self-improvement-bff4e815
1•rdudekul•4m ago•0 comments

We replaced 11,000 lines of AI chat code with CopilotKit and AG-UI

https://fynk.com/en/blog/fynk-assistant-copilotkit-vue/
3•0cool•5m ago•0 comments

Show HN: aido – Spec-driven, test-driven engineering workflow for Claude Code

https://github.com/joebew42/aido
1•joebew42•5m ago•0 comments

StepForge – Turn your clicks into step-by-step guides

https://github.com/Twest2/StepForge
1•twest39•5m ago•0 comments

Let Me Ch...

https://blog.alxgsv.com/let-me-check/
1•alxgsv•5m ago•0 comments

I Read the Clankers' Code

https://fev.al/posts/i-read-the-code/
1•charles_f•7m ago•0 comments

OpenHaven: P2P/decentralized-web protocol and tool discovery

https://openhaven.net/
1•akagusu•9m ago•0 comments

Convex, but agent native and no vendor lock in

https://www.getfeltkit.com/
1•rkendel•10m ago•0 comments

20-Year-Old Nathalia Filgueiras Was a Pilot on Learjet That Crashed in Florida

https://www.nytimes.com/2026/11/02/us/nathalia-filgueiras-florida-plane-crash-pilot.html
1•gmays•10m ago•0 comments

DHH Spends 900 Hours Cutting Omarchy Boot Time by 0.4 Seconds

https://bloatberg.com/2026/11/02/dhh-spends-900-hours-cutting-omarchy-boot-time-by-0-4-seconds-wi...
2•akagusu•10m ago•0 comments

Show HN: Garrul – Comments system for your site on a single Cloudflare Worker

https://github.com/KingPin/Garrul
1•KingPinX•11m ago•0 comments

Which functions a C++ call can see

https://train-it.eu/blog/which-functions-a-call-can-see/
1•ibobev•11m ago•0 comments

Geolocation leak using plane doppler curves [video]

https://www.youtube.com/watch?v=UytYrhYLOKI
2•flicker-rate•12m ago•0 comments

Show HN: Relaynet – open-source relay that gives browser tabs a real network

https://github.com/beriberikix/relaynet
1•jonathanberi•13m ago•0 comments

Beating the compiler at signed 32-bit division

https://lemire.me/blog/2026/10/31/beating-the-compiler-at-signed-32-bit-division/
1•ibobev•13m ago•0 comments

Activists create 'boulder barrier' in North Sea to deter industrial fishing

https://www.theguardian.com/environment/2026/nov/02/greenpeace-boulder-barrier-north-sea-industri...
2•mo7061•13m ago•0 comments

Inktober 2026

https://ratfactor.com/inktober26/
1•ibobev•13m ago•0 comments

Google search has gone from being handy to useless

https://www.theguardian.com/commentisfree/picture/2026/nov/02/google-search-has-gone-from-being-v...
1•mrkn1•13m ago•0 comments

Apple warns users in 99 countries of mercenary spyware

https://therecord.media/apple-warns-users-99-countries-mercenary-spyware
1•acossta•14m ago•0 comments

How Well Do Agents Perform on DevOps Tasks?

https://cloudopsbench.ai/blog/failure-taxonomy
1•matt_d•14m ago•0 comments

The Crisis in Poland

https://www.craigmurray.org.uk/archives/2026/11/the-crisis-in-poland/
2•Georgelemental•15m ago•0 comments

United Airlines Flight 232

https://en.wikipedia.org/wiki/United_Airlines_Flight_232
1•LolWolf•15m ago•0 comments

Show HN: Build and explore a shared AI computer, just by talking

https://duplex.party/
1•SebastianSosa•15m ago•0 comments

Idaho Official State Gun Question Election 2026

https://ballotpedia.org/Idaho_Official_State_Gun_Question_(2026)
1•kyleblarson•15m ago•0 comments

Economists studied California's billionaire tax, reached different conclusions

https://text.npr.org/g-s1-151009
2•mooreds•16m ago•2 comments

Partial Operator Precedence

https://ziglang.org/devlog/2026/#2026-10-24
2•tosh•16m ago•0 comments

Germany blames infiltrators as Gen Z protests turn violent

https://www.cnn.com/2026/11/01/europe/germany-gen-z-protests-turn-violent-intl
2•donsupreme•17m ago•0 comments