frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

New York Budget Bill Mandates File Scans for 3D Printers

https://reclaimthenet.org/new-york-3d-printer-law-mandates-firearm-file-blocking
1•bilsbie•57s ago•0 comments

The End of Software as a Business?

https://www.thatwastheweek.com/p/ai-is-growing-up-its-ceos-arent
1•kteare•1m ago•0 comments

Exploring 1,400 reusable skills for AI coding tools

https://ai-devkit.com/skills/
1•hoangnnguyen•2m ago•0 comments

Show HN: A unique twist on Tetris and block puzzle

https://playdropstack.com/
1•lastodyssey•5m ago•0 comments

The logs I never read

https://pydantic.dev/articles/the-logs-i-never-read
1•nojito•7m ago•0 comments

How to use AI with expressive writing without generating AI slop

https://idratherbewriting.com/blog/bakhtin-collapse-ai-expressive-writing
1•cnunciato•8m ago•0 comments

Show HN: LinkScope – Real-Time UART Analyzer Using ESP32-S3 and PC GUI

https://github.com/choihimchan/linkscope-bpu-uart-analyzer
1•octablock•8m ago•0 comments

Cppsp v1.4.5–custom pattern-driven, nested, namespace-scoped templates

https://github.com/user19870/cppsp
1•user19870•9m ago•1 comments

The next frontier in weight-loss drugs: one-time gene therapy

https://www.washingtonpost.com/health/2026/01/24/fractyl-glp1-gene-therapy/
1•bookofjoe•12m ago•1 comments

At Age 25, Wikipedia Refuses to Evolve

https://spectrum.ieee.org/wikipedia-at-25
1•asdefghyk•15m ago•3 comments

Show HN: ReviewReact – AI review responses inside Google Maps ($19/mo)

https://reviewreact.com
2•sara_builds•15m ago•1 comments

Why AlphaTensor Failed at 3x3 Matrix Multiplication: The Anchor Barrier

https://zenodo.org/records/18514533
1•DarenWatson•17m ago•0 comments

Ask HN: How much of your token use is fixing the bugs Claude Code causes?

1•laurex•20m ago•0 comments

Show HN: Agents – Sync MCP Configs Across Claude, Cursor, Codex Automatically

https://github.com/amtiYo/agents
1•amtiyo•21m ago•0 comments

Hello

1•otrebladih•22m ago•1 comments

FSD helped save my father's life during a heart attack

https://twitter.com/JJackBrandt/status/2019852423980875794
2•blacktulip•25m ago•0 comments

Show HN: Writtte – Draft and publish articles without reformatting, anywhere

https://writtte.xyz
1•lasgawe•27m ago•0 comments

Portuguese icon (FROM A CAN) makes a simple meal (Canned Fish Files) [video]

https://www.youtube.com/watch?v=e9FUdOfp8ME
1•zeristor•29m ago•0 comments

Brookhaven Lab's RHIC Concludes 25-Year Run with Final Collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
2•gnufx•31m ago•0 comments

Transcribe your aunts post cards with Gemini 3 Pro

https://leserli.ch/ocr/
1•nielstron•35m ago•0 comments

.72% Variance Lance

1•mav5431•36m ago•0 comments

ReKindle – web-based operating system designed specifically for E-ink devices

https://rekindle.ink
1•JSLegendDev•37m ago•0 comments

Encrypt It

https://encryptitalready.org/
1•u1hcw9nx•37m ago•1 comments

NextMatch – 5-minute video speed dating to reduce ghosting

https://nextmatchdating.netlify.app/
1•Halinani8•38m ago•1 comments

Personalizing esketamine treatment in TRD and TRBD

https://www.frontiersin.org/articles/10.3389/fpsyt.2025.1736114
1•PaulHoule•40m ago•0 comments

SpaceKit.xyz – a browser‑native VM for decentralized compute

https://spacekit.xyz
1•astorrivera•40m ago•0 comments

NotebookLM: The AI that only learns from you

https://byandrev.dev/en/blog/what-is-notebooklm
2•byandrev•41m ago•2 comments

Show HN: An open-source starter kit for developing with Postgres and ClickHouse

https://github.com/ClickHouse/postgres-clickhouse-stack
1•saisrirampur•41m ago•0 comments

Game Boy Advance d-pad capacitor measurements

https://gekkio.fi/blog/2026/game-boy-advance-d-pad-capacitor-measurements/
1•todsacerdoti•41m ago•0 comments

South Korean crypto firm accidentally sends $44B in bitcoins to users

https://www.reuters.com/world/asia-pacific/crypto-firm-accidentally-sends-44-billion-bitcoins-use...
2•layer8•42m ago•0 comments
Open in hackernews

Worktrees: Git's best kept secret (and why you should use them)

https://www.tomups.com/posts/git-worktrees/
38•handfuloflight•6mo ago

Comments

paradox460•6mo ago
They're useful, but the fact that you have to grant them a space somewhere on your computer does handicap them a bit. I typically reach for them when I'm doing library upgrades, which take a while, and having my repo switch back and forth to different versions is cumbersome, mostly due to things like dependencies and other unversioned files needing to be changed to support the application and it's specific set of dependencies.

For most other things, where unversioned files don't cause grief like this, a tool like jujutsu, which eliminates the whole stash dance, is generally better

cozzyd•6mo ago
I usually just clone the same repository multiple times for each branch I'm working on simultaneously, but obviously that's cumbersome if it's very large so worktrees are a good option there
john01dav•6mo ago
You can do clone from an existing clone:

$ git clone git@whatever.com/...

Cloning into example

$ git clone example example-2

This works even if you made uncommitted changes in your first clone. These uncommitted changes aren't copied. You can also check out an origin branch to not work with locally commited changes.

You can use git remote to set the new origin to upstream.

Or, you could use worktrees. That's fine too.

1718627440•6mo ago
When you are cloning a repo on a local machine, git by default makes hardlinks, so a clone shouldn't be that different from a worktree.
revskill•6mo ago
Secrets mean it is not stable yet ?
koinedad•6mo ago
I like the idea of them…was just reading about them yesterday but the folder to a repo concept was a little and I didn’t realize exactly what was going on so this blog is perfect timing. I regularly need to switch branches and don’t really like the stash checkout flow that I have —- too much cognitive lift for me. Maybe work trees is the answer
account42•6mo ago
> That’s why the repo must have at least a main working tree

It doesn't, e.g. bare repositories don't have a worktree. This is useful for e.g. backing up a git repo to any SSH host by cloning a bare repository there and then adding it as an upstream of your local repo.

IshKebab•6mo ago
Just don't use them with submodules or you're in for pain (even more pain than just using submodules in the first place).