frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Barn Owls Know When to Wait

https://blog.typeobject.com/posts/2026-barn-owls-know-when-to-wait/
1•fintler•35s ago•0 comments

Implementing TCP Echo Server in Rust [video]

https://www.youtube.com/watch?v=qjOBZ_Xzuio
1•sheerluck•55s ago•0 comments

LicGen – Offline License Generator (CLI and Web UI)

1•tejavvo•4m ago•0 comments

Service Degradation in West US Region

https://azure.status.microsoft/en-gb/status?gsid=5616bb85-f380-4a04-85ed-95674eec3d87&utm_source=...
2•_____k•4m ago•0 comments

The Janitor on Mars

https://www.newyorker.com/magazine/1998/10/26/the-janitor-on-mars
1•evo_9•6m ago•0 comments

Bringing Polars to .NET

https://github.com/ErrorLSC/Polars.NET
2•CurtHagenlocher•7m ago•0 comments

Adventures in Guix Packaging

https://nemin.hu/guix-packaging.html
1•todsacerdoti•9m ago•0 comments

Show HN: We had 20 Claude terminals open, so we built Orcha

1•buildingwdavid•9m ago•0 comments

Your Best Thinking Is Wasted on the Wrong Decisions

https://www.iankduncan.com/engineering/2026-02-07-your-best-thinking-is-wasted-on-the-wrong-decis...
1•iand675•9m ago•0 comments

Warcraftcn/UI – UI component library inspired by classic Warcraft III aesthetics

https://www.warcraftcn.com/
1•vyrotek•10m ago•0 comments

Trump Vodka Becomes Available for Pre-Orders

https://www.forbes.com/sites/kirkogunrinde/2025/12/01/trump-vodka-becomes-available-for-pre-order...
1•stopbulying•11m ago•0 comments

Velocity of Money

https://en.wikipedia.org/wiki/Velocity_of_money
1•gurjeet•14m ago•0 comments

Stop building automations. Start running your business

https://www.fluxtopus.com/automate-your-business
1•valboa•18m ago•1 comments

You can't QA your way to the frontier

https://www.scorecard.io/blog/you-cant-qa-your-way-to-the-frontier
1•gk1•19m ago•0 comments

Show HN: PalettePoint – AI color palette generator from text or images

https://palettepoint.com
1•latentio•20m ago•0 comments

Robust and Interactable World Models in Computer Vision [video]

https://www.youtube.com/watch?v=9B4kkaGOozA
2•Anon84•24m ago•0 comments

Nestlé couldn't crack Japan's coffee market.Then they hired a child psychologist

https://twitter.com/BigBrainMkting/status/2019792335509541220
1•rmason•25m ago•1 comments

Notes for February 2-7

https://taoofmac.com/space/notes/2026/02/07/2000
2•rcarmo•26m ago•0 comments

Study confirms experience beats youthful enthusiasm

https://www.theregister.com/2026/02/07/boomers_vs_zoomers_workplace/
2•Willingham•33m ago•0 comments

The Big Hunger by Walter J Miller, Jr. (1952)

https://lauriepenny.substack.com/p/the-big-hunger
2•shervinafshar•35m ago•0 comments

The Genus Amanita

https://www.mushroomexpert.com/amanita.html
1•rolph•40m ago•0 comments

We have broken SHA-1 in practice

https://shattered.io/
10•mooreds•40m ago•3 comments

Ask HN: Was my first management job bad, or is this what management is like?

1•Buttons840•41m ago•0 comments

Ask HN: How to Reduce Time Spent Crimping?

2•pinkmuffinere•43m ago•0 comments

KV Cache Transform Coding for Compact Storage in LLM Inference

https://arxiv.org/abs/2511.01815
1•walterbell•47m ago•0 comments

A quantitative, multimodal wearable bioelectronic device for stress assessment

https://www.nature.com/articles/s41467-025-67747-9
1•PaulHoule•49m ago•0 comments

Why Big Tech Is Throwing Cash into India in Quest for AI Supremacy

https://www.wsj.com/world/india/why-big-tech-is-throwing-cash-into-india-in-quest-for-ai-supremac...
3•saikatsg•49m ago•0 comments

How to shoot yourself in the foot – 2026 edition

https://github.com/aweussom/HowToShootYourselfInTheFoot
2•aweussom•50m ago•0 comments

Eight More Months of Agents

https://crawshaw.io/blog/eight-more-months-of-agents
4•archb•51m ago•0 comments

From Human Thought to Machine Coordination

https://www.psychologytoday.com/us/blog/the-digital-self/202602/from-human-thought-to-machine-coo...
1•walterbell•52m ago•0 comments
Open in hackernews

Show HN: Making #regions actually useful in VSCode

https://github.com/alythobani/vscode-region-helper
13•alyt•8mo ago
Hey HN,

For anyone unfamiliar: you can use `#region My Region` and `#endregion` comments to organize your code into foldable "regions".

Before building this extension, I'd use regions as a last resort, e.g. for large test files or classes that aren't worth splitting up more, or code that can't be split at all. They'd help somewhat, but the lack of tooling made them pretty underwhelming to work with. So I built out Region Helper, which as of yesterday's release provides:

- Commands / hotkeys for jumping between / selecting regions

- Fuzzy search (like "Go to Symbol" but for regions)

- A "Regions" tree view (interactive: click to navigate, and auto-highlights cursor's active region)

- A "Full Outline" tree view: like the builtin Outline, but incorporates regions (also interactive)

- Diagnostics: blue squiggle warnings when you have unmatched #region / #endregion markers

- Builtin support for 49 languages, customizable via settings

- An API for accessing Region Helper's data, so devs can build their own region extensions without needing to re-parse regions

- (New) Expand/Collapse All tree actions and persisted tree item collapse state across sessions

It's also performant even on massive files, e.g. TypeScript's ~50K LOC `checker.ts`.

These days, I personally enjoy using regions way more, and also add them more often to my code, now that they also serve as quick-jump points while navigating a file. Still definitely important not to overuse them, but I don't find them to be nearly as much of a code smell as I might have before.

If you're extra curious, you can check out Region Helper's source code to see a few real examples of where I've used them while building out this extension.

P.S. if you didn't know, your VSCode settings files (e.g. `settings.json`) are JSONC and support `// #region` and `// #endregion` markers. Since they can't be split into multiple files, regions are a pretty convenient way to organize them.

Feel free to share your own thoughts on regions and whether or not you find them useful ever, always curious to hear others' opinions.

Comments

alyt•8mo ago
Btw, another extension I'd personally recommend is Region Highlighter by 'Wiensss', which makes regions easier to see in the editor itself by coloring them, and also provides a command for making regions (although it is limited in language support). I don't currently use any other region extensions.

Region Highlighter: https://marketplace.visualstudio.com/items?itemName=Wiensss....

badmonster•8mo ago
Is there any plan to support nested region collapsing/expanding directly from the editor, similar to how VSCode handles folding for functions or classes?
alyt•8mo ago
I might be misunderstanding what you're asking, but VSCode already makes regions foldable by default.

That said, my extension does support regions in more languages than VSCode currently supports, so maybe you're thinking of a particular language in which VSCode doesn't make regions foldable, that my extension could fill the gap for?