frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Adafruit: Arduino’s Rules Are ‘Incompatible With Open Source’

https://thenewstack.io/adafruit-arduinos-rules-are-incompatible-with-open-source/
88•MilnerRoute•12h ago•25 comments

Rob Reiner has died

https://www.rollingstone.com/tv-movies/tv-movie-news/rob-reiner-ldead-obituary-1235483876/
33•croes•1h ago•8 comments

Rio de Janeiro's talipot palm trees bloom for the first and only time

https://en.jardineriaon.com/The-talipot-palm-trees-of-Rio-de-Janeiro-bloom-for-the-first-and-only...
105•1659447091•1w ago•26 comments

How well do you know C++ auto type deduction?

https://www.volatileint.dev/posts/auto-type-deduction-gauntlet/
24•volatileint•5d ago•9 comments

Arborium: Tree-sitter code highlighting with Native and WASM targets

https://arborium.bearcove.eu/
36•zdw•2h ago•4 comments

The Whole App is a Blob

https://drobinin.com/posts/the-whole-app-is-a-blob/
31•valzevul•2h ago•4 comments

Ask HN: What Are You Working On? (December 2025)

222•david927•13h ago•725 comments

John Varley has died

http://floggingbabel.blogspot.com/2025/12/john-varley-1947-2025.html
36•decimalenough•3h ago•5 comments

The Problem of Teaching Physics in Latin America (1963)

https://calteches.library.caltech.edu/46/2/LatinAmerica.htm
21•rramadass•9h ago•5 comments

CapROS: Capability-Based Reliable Operating System

https://www.capros.org/
67•gjvc•5h ago•27 comments

Read Something Wonderful

https://readsomethingwonderful.com/
66•snorbleck•2h ago•11 comments

Why proteins fold and how GPUs help us fold

https://aval.bearblog.dev/nvidiaproteins/
4•diginova•28m ago•0 comments

Elevated errors across many models

https://status.claude.com/incidents/9g6qpr72ttbr
290•pablo24602•8h ago•138 comments

Hashcards: A plain-text spaced repetition system

https://borretti.me/article/hashcards-plain-text-spaced-repetition
292•thomascountz•13h ago•136 comments

JSDoc is TypeScript

https://culi.bearblog.dev/jsdoc-is-typescript/
141•culi•10h ago•176 comments

An attempt to articulate Forth's practical strengths and eternal usefulness

https://im-just-lee.ing/forth-why-cb234c03.txt
43•todsacerdoti•1w ago•21 comments

In the Beginning was the Command Line (1999)

https://web.stanford.edu/class/cs81n/command.txt
129•wseqyrku•6d ago•60 comments

History of Declarative Programming

https://shenlanguage.org/TBoS/tbos_15.html
44•measurablefunc•7h ago•12 comments

SoundCloud just banned VPN access

https://old.reddit.com/r/SoundCloudMusic/comments/1pltd19/soundcloud_just_banned_vpn_access/
66•empressplay•3h ago•38 comments

Unscii

http://viznut.fi/unscii/
8•Levitating•2h ago•0 comments

2002: Last.fm and Audioscrobbler Herald the Social Web

https://cybercultural.com/p/lastfm-audioscrobbler-2002/
182•cdrnsf•9h ago•105 comments

DARPA GO: Generative Optogenetics

https://www.darpa.mil/research/programs/go
37•birriel•7h ago•11 comments

Developing a food-safe finish for my wooden spoons

https://alinpanaitiu.com/blog/developing-hardwax-oil/
182•alin23•4d ago•111 comments

Shai-Hulud compromised a dev machine and raided GitHub org access: a post-mortem

https://trigger.dev/blog/shai-hulud-postmortem
207•nkko•20h ago•127 comments

Price of a bot army revealed across online platforms

https://www.cam.ac.uk/stories/price-bot-army-global-index
119•teleforce•14h ago•49 comments

The Typeframe PX-88 Portable Computing System

https://www.typeframe.net/
105•birdculture•12h ago•33 comments

AI and the ironies of automation – Part 2

https://www.ufried.com/blog/ironies_of_ai_2/
229•BinaryIgor•17h ago•101 comments

Getting into public speaking

https://james.brooks.page/blog/getting-into-public-speaking
130•jbrooksuk•4d ago•42 comments

Baumol's Cost Disease

https://en.wikipedia.org/wiki/Baumol_effect
108•drra•17h ago•107 comments

Running on Empty: Copper

https://thehonestsorcerer.substack.com/p/running-on-empty-copper
44•the-needful•6d ago•40 comments
Open in hackernews

Metacode: The new standard for machine-readable comments for Python

https://github.com/pomponchik/metacode
14•pomponchik•6d ago

Comments

pomponchik•6d ago
In the Python ecosystem, there are many tools dealing with source code: linters, test coverage collection systems, and many others. Many of them use special comments, and as a rule, the style of these comments is very similar.

But you know what? There is no single standard for such comments. Seriously.

The internal implementation of reading such comments is also different. Someone uses regular expressions, someone uses even more primitive string processing tools, and someone uses full-fledged parsers, including the Python parser or even written from scratch.

This is exactly the problem that this library solves. It describes a simple and intuitive standard for action comments, and also offers a ready-made parser that creators of other tools can use.

degamad•2h ago
Looks interesting - is there a PEP [0] for this?

[0] https://peps.python.org/

jiggunjer•54m ago
Perhaps encoding such things in comments at all is the wrong approach? E.g. If my linter misbehaves, why can't I right click and ignore the red line in the IDE instead of encoding it into my source file.
crockeo•29m ago
Encoding it into your source file has positive externalities. If you're using source control, the comment controlling the linter is tracked alongside the rest of your code. You can track who added it and why. You can share this comment with other engineers on your team.

You could also imagine other representations of the same data (e.g. one large file which includes annotations, or a binary representation). But in this case you lose colocation with the code they're annotating, so it's more likely to drift.

I fully agree that there are probably better UX's out there for this flow, but the source annotation approach is popular for very good reasons.

est•58m ago
Perhaps in the future, coding is done in rich text editors.
throwaway290•45m ago
What's the old standard? Why not update it?