frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Go Naming Conventions: A Practical Guide

https://www.alexedwards.net/blog/go-naming-conventions
18•yurivish•3d ago

Comments

red_admiral•1h ago
Another of mine: don't name a struct after an interface method that it's supposed to implement. If you have a package linearalgebra, then making a custom error type linearalgebra.LinearAlgebraError is too "chatty" but linearalgebra.Error will cause you pain if it implements "Error string()", as it probably should, and you decide to make a linearalgebra.MatrixSingularError that wraps a linearalgebra.Error to "inherit" its methods.

In the end, it ended up called linearalgebra.Err .

P.S Alex Edwards' "let's go" and "let's go further" are great books to get someone up to date with golang, just keep an eye on features that are newer than the book(s).

nacozarina•31m ago
this seems anachronistic, written for a human artisan laboring over each naming choice directly

a modern approach would be a condensed ruleset passed to the ai model for the code it generates, and it should be straightforward to substitute different rulesets if you have a different taste in parochialisms.

piekvorst•19m ago
You can use this article to guide your choice of rulesets. And you still have to exert some artisan labor to develop any taste.

Parochialism here is saying “just use AI” in disguise.

johneth•16m ago
> this seems anachronistic, written for a human artisan laboring over each naming choice directly

Some of us want to write well thought-through code, rather than letting an AI just spew poorly thought-through unmaintainable shit.

Cocoa-Way – Native macOS Wayland compositor for running Linux apps seamlessly

https://github.com/J-x-Z/cocoa-way
76•OJFord•2h ago•17 comments

CERN uses tiny AI models burned into silicon for real-time LHC data filtering

https://theopenreader.org/Journalism:CERN_Uses_Tiny_AI_Models_Burned_into_Silicon_for_Real-Time_L...
117•TORcicada•3h ago•63 comments

Go hard on agents, not on your filesystem

https://jai.scs.stanford.edu/
395•mazieres•11h ago•226 comments

AMD's Ryzen 9 9950X3D2 Dual Edition crams 208MB of cache into a single chip

https://arstechnica.com/gadgets/2026/03/amds-ryzen-9-9950x3d2-dual-edition-crams-208mb-of-cache-i...
190•zdw•9h ago•96 comments

Make macOS consistently bad unironically

https://lr0.org/blog/p/macos/
432•speckx•16h ago•313 comments

Toma (YC W24) is hiring a Senior/Staff Eng to build AI automotive coworkers

https://www.ycombinator.com/companies/toma/jobs/2lrQI7S-sr-staff-software-engineer
1•anthonykrivonos•5m ago

Go Naming Conventions: A Practical Guide

https://www.alexedwards.net/blog/go-naming-conventions
18•yurivish•3d ago•4 comments

The bee that everyone wants to save

https://naturalist.bearblog.dev/the-bee-that-everyone-wants-to-save/
128•nivethan•2d ago•37 comments

Paper Tape Is All You Need – Training a Transformer on a 1976 Minicomputer

https://github.com/dbrll/ATTN-11
11•rahen•2d ago•0 comments

LG's new 1Hz display is the secret behind a new laptop's battery life

https://www.pcworld.com/article/3096432/lgs-new-1hz-display-is-the-secret-behind-a-new-laptops-ba...
261•robotnikman•4d ago•122 comments

Anatomy of the .claude/ folder

https://blog.dailydoseofds.com/p/anatomy-of-the-claude-folder
505•freedomben•21h ago•228 comments

Show HN: Twitch Roulette – Find live streamers who need views the most

https://twitchroulette.net/
136•ellg•13h ago•69 comments

Nashville library launches Memory Lab for digitizing home movies

https://www.axios.com/local/nashville/2026/03/16/nashville-library-digitize-home-movies
154•toomuchtodo•4d ago•38 comments

Treason in the Futures Markets

https://paulkrugman.substack.com/p/treason-in-the-futures-markets
63•Gasp0de•1h ago•32 comments

Velxio 2.0 – Emulate Arduino, ESP32, and Raspberry Pi 3 in the Browser

https://github.com/davidmonterocrespo24/velxio
161•dmcrespo•15h ago•45 comments

Desperately Seeking Space Friends

https://reviewcanada.ca/magazine/2026/04/desperately-seeking-space-friends-review-the-pale-blue-d...
16•benbreen•2d ago•1 comments

Arm releases first in-house chip, with Meta as debut customer

https://www.cnbc.com/2026/03/24/arm-launches-its-own-cpu-with-meta-as-first-customer.html
27•goplayoutside•3d ago•8 comments

ISBN Visualization

https://annas-archive.gd/isbn-visualization?
180•Cider9986•16h ago•29 comments

‘Energy independence feels practical’: Europeans building mini solar farms

https://www.euronews.com/2026/03/26/suddenly-energy-independence-feels-practical-europeans-are-bu...
304•vrganj•1d ago•282 comments

Iran-linked hackers breach FBI director's personal email

https://www.reuters.com/world/us/iran-linked-hackers-claim-breach-of-fbi-directors-personal-email...
276•m-hodges•21h ago•392 comments

Meow.camera

https://meow.camera/#4258783365322591678
285•surprisetalk•21h ago•64 comments

Installing a Let's Encrypt TLS certificate on a Brother printer with Certbot

https://owltec.ca/Other/Installing+a+Let%27s+Encrypt+TLS+certificate+on+a+Brother+printer+automat...
220•8organicbits•22h ago•52 comments

No one is happy with NASA's new idea for private space stations

https://arstechnica.com/space/2026/03/what-happens-next-with-nasas-plan-to-replace-the-iss-source...
8•rbanffy•52m ago•1 comments

Matadisco – Decentralized Data Discovery

https://matadisco.org/
20•biggestfan•2d ago•3 comments

Explore the Hidden World of Sand

https://magnifiedsand.com/
239•RAAx707•4d ago•39 comments

The Future of SCIP

https://sourcegraph.com/blog/the-future-of-scip
78•jdorfman•20h ago•22 comments

Telnyx package compromised on PyPI

https://telnyx.com/resources/telnyx-python-sdk-supply-chain-security-notice-march-2026
108•ramimac•1d ago•111 comments

.apks are just .zips; semi-legally hacking software for orphaned hardware [video]

https://www.youtube.com/watch?v=P1kfuCkWo24
59•abadar•3d ago•48 comments

Improving Composer through real-time RL

https://cursor.com/blog/real-time-rl-for-composer
83•ingve•1d ago•27 comments

People inside Microsoft are fighting to drop mandatory Microsoft Account

https://www.windowscentral.com/microsoft/windows-11/people-inside-microsoft-are-fighting-to-drop-...
672•breve•22h ago•520 comments