frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Headup.nvim` – Update file header metadata in Neovim

https://github.com/Fro-Q/headup.nvim
2•froQ•2h ago
`headup.nvim` is a small Neovim plugin that keeps the metadata lines at the top of your files up to date on save – things like “Last Modified”, file size, line count, or custom fields you define.

The idea came from wanting a few metadata lines at the top of files, without having a plugin own the entire header block or enforce a specific template across languages. With `headup.nvim` you describe what a single header line looks like, and the plugin only updates the value you care about.

It’s driven by Lua patterns and file globs: you define a header line, choose a content type (built-ins include current_time, file_size, line_count, file_name, file_path, etc.), and `headup.nvim` replaces only the matched value while leaving the rest of the line as-is. That keeps comments, spacing, and any surrounding text under your control.

The plugin aims to stay out of the way: it respects manual edits, supports per-filetype rules with early-stop scanning and exclusions, and exposes `:HeadupUpdate` / `:HeadupToggle` commands when you want manual control instead of on-save automation. If you don’t configure anything special, it just runs on save for the patterns you set up.

There is also a small API for registering custom generators when the built-ins aren’t enough – for example, computing a git branch name, a SHA256 over the current buffer, or other derived values you want to surface in a header line. I’m particularly curious how people might use this for project-specific metadata or workflows I haven’t thought about yet.

Documented source code for The Sentinel on the BBC Micro

https://github.com/markmoxon/the-sentinel-source-code-bbc-micro
1•z303•28s ago•0 comments

The Click Communicator combines Blackberry function with modern smartphone form

https://www.androidpolice.com/clicks-launches-blackberry-like-communicator-phone/
2•cuu508•4m ago•0 comments

Show HN: Get company brand data API

https://www.brand.dev/
2•ICodeSometimes•7m ago•0 comments

The Handyman Principle: Why Your AI Forgets Everything

https://vexjoy.com/posts/the-handyman-principle-why-your-ai-forgets-everything/
3•AndyNemmity•11m ago•1 comments

Google AI Overviews put people at risk of harm with misleading health advice

https://www.theguardian.com/uk-news
2•chrisjj•14m ago•2 comments

Liars and Outliers: Enabling the Trust That Society Needs to Thrive, 2nd Edition

https://www.wiley.com/en-us/Liars+and+Outliers%3A+Enabling+the+Trust+that+Society+Needs+to+Thrive...
2•rendx•15m ago•0 comments

Why I'm skipping Dry January

https://www.statnews.com/2026/01/01/dry-january-moderate-drinking-research/
4•thm•17m ago•0 comments

How much the richest people made in 2025

https://qz.com/wealthiest-richest-trillions-billionaires-2025-musk-ellison
2•bgwalter•17m ago•0 comments

Tell HN: Check if the site is down. Also monitor your site

https://updown.fly.dev/
3•ejncman•19m ago•0 comments

Fighting Fire with Fire: Scalable Oral Exams

https://www.behind-the-enemy-lines.com/2025/12/fighting-fire-with-fire-scalable-oral.html
2•sethbannon•21m ago•0 comments

Nice to Meet You: Synthesizing Practical MLIR Abstract Transformers [pdf]

https://users.cs.utah.edu/~regehr/papers/popl26.pdf
2•PaulHoule•21m ago•0 comments

Accounting for Computer Scientists (2011)

https://martin.kleppmann.com/2011/03/07/accounting-for-computer-scientists.html
4•tosh•23m ago•0 comments

Low-Price 12.9" MacBook with A18 Pro Chip Reportedly Launching Early This Year

https://www.macrumors.com/2026/01/02/12-9-inch-macbook-spring-2026-rumor/
3•tosh•24m ago•0 comments

Bitcoin Security

https://philippdubach.com/posts/bitcoin-security/
3•7777777phil•24m ago•1 comments

Slow Dopa

https://www.profgalloway.com/slow-dopa/
3•simonebrunozzi•26m ago•0 comments

MTV's Music-Only Channels to Go Off the Air

https://www.rollingstone.com/music/music-news/mtv-music-only-channels-off-air-1235492854/
2•thunderbong•27m ago•0 comments

Show HN: Built Needfind to find my first customers – now dogfooding it on itself

https://needfind.app
1•ohMoshko•28m ago•0 comments

Show HN: BmuS – Backup tool for Linux, Pi, NAS with dedup and encryption

https://github.com/back-me-up-scotty/bmus
2•bmus•28m ago•0 comments

The overfitted brain: Dreams evolved to assist generalization (2021)

https://www.sciencedirect.com/science/article/pii/S2666389921000647
3•smartmic•28m ago•0 comments

Brow6el is a full-featured browser that runs in a terminal

https://www.theregister.com/2026/01/02/brow6el_browser_terminal/
5•Despacito2019•29m ago•0 comments

Show HN: A Triton windowing test with ray tracing and GUI

https://github.com/mehmetoguzderin/triton-windowing
2•mehmetoguzderin•29m ago•0 comments

Show HN: An experimental "Vine for micro-games"

2•atdixon•30m ago•1 comments

Zig can come for Rust's performance crown and it might win

https://medium.com/@yashbatra11111/zig-can-come-for-rusts-performance-crown-and-it-might-win-10ca...
2•indentit•30m ago•0 comments

Cold Exposure: Why Ice Baths Are Increasing in Popularity An

https://www.withintention.world/p/cold-exposure-from-vikings-to-wim
1•andsoitis•31m ago•0 comments

PDFChat: A Local PDF Q&A Chatbot

https://github.com/miguelalonsojr/PDFChat
2•AndrewKemendo•32m ago•1 comments

Craig Newmark backs Global Signal Exchange anti-fraud push

https://securitybrief.co.uk/story/craig-newmark-backs-global-signal-exchange-anti-fraud-push
1•denimboy•32m ago•0 comments

Starter code for agentic CLI tools. Open source

https://github.com/fDirham/agentic-starter-cli
2•fDirham•34m ago•0 comments

Trump says US will intervene if Iran violently suppresses peaceful protests

https://www.reuters.com/world/middle-east/trump-says-us-will-intervene-if-iran-violently-suppress...
5•2OEH8eoCRo0•36m ago•0 comments

We need to reassess our relationship to digital tech

https://disconnect.blog/we-need-to-reassess-our-relationship-to-digital-tech/
1•dredmorbius•37m ago•0 comments

SCP Foundation

https://scp-wiki.wikidot.com/
1•bookofjoe•37m ago•0 comments