frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Ask HN: Freelancing in 2025

1•fud101•50s ago•0 comments

Show HN: Insta-infra – One click start any service

https://github.com/data-catering/insta-infra
1•pitah1•58s ago•0 comments

No One Is Working

https://www.humaninvariant.com/blog/working
1•jxmorris12•1m ago•0 comments

This Conversation is being recorded and so is everything else you do in SF

https://sfstandard.com/2025/08/05/ai-wearables-recording-devices/
1•uponasmile•2m ago•0 comments

Litebase: SQLite with Distributed Storage

https://litebase.com/
1•dpcx•2m ago•0 comments

United Airlines grounds flights over technology issue

https://abcnews.go.com/US/united-airlines-grounds-flights-nationwide-technology-issue/story?id=124433330
2•0xedb•6m ago•0 comments

Artificial Intelligence So Far

https://kk.org/thetechnium/artificial-intelligences-so-far/
1•11thEarlOfMar•7m ago•0 comments

What Makes a Mature Science

https://www.asimov.press/p/mature-science
1•surprisetalk•8m ago•0 comments

The Rights-Ratchet Model

https://meshedinsights.com/2021/02/02/rights-ratchet/
1•joshdavham•12m ago•0 comments

Minimal

https://minimalcompany.com/
2•fzliu•19m ago•2 comments

US executive branch agencies will use ChatGPT Enterprise for just $1 per agency

https://arstechnica.com/ai/2025/08/openai-announces-deal-to-offer-chatgpt-to-us-executive-branch-at-almost-no-cost/
2•duxup•21m ago•0 comments

How to Get Your First 1000 SaaS Users Without Spending on Ads

https://www.getcassius.ai/blogs/how-to-get-first-1000-saas-users-without-ads-2025
3•gauravioli•22m ago•0 comments

Show HN: Built an image processing CLI to optimize images for the web

https://github.com/kevinthomaskane/imgtool
1•10xdevdotio•26m ago•0 comments

Compensatory Puffing: Banning Cigarette Filters

https://www.lrb.co.uk/blog/2025/august/compensatory-puffing
1•mitchbob•28m ago•0 comments

Yaak, an intuitive desktop API client

https://github.com/mountain-loop/yaak
4•jicea•31m ago•1 comments

My blog on zero-knowledge cryptography

https://kaw101010.github.io/blogs/zk-proofs/
3•krishw•31m ago•0 comments

Show HN: Adding 3D Visualization to a Web NES Emulator

https://ireallyhateyou.github.io/fami3d/tech.html
1•muslimgauzer•34m ago•0 comments

Resurrecting a MOTU 2408 with ADAT

http://women-and-dreams.blogspot.com/2025/08/resurrecting-motu-2408-with-adat.html
3•PaulHoule•35m ago•0 comments

A Look Inside Jeffrey Epstein's Manhattan Lair

https://www.nytimes.com/2025/08/05/us/jeffrey-epstein-mansion-photos.html
3•whack•35m ago•0 comments

Tim Cook presents President Trump with award

https://twitter.com/foxnews/status/1953208705568199031
7•baggy_trough•37m ago•3 comments

I'm tired of stupid people treating me like I'm an idiot

https://whatwelost.substack.com/p/im-tired-of-stupid-people-treating
2•oftenwrong•37m ago•0 comments

The Inkhaven Blogging Residency

https://www.inkhaven.blog/
12•venkii•51m ago•1 comments

Microsoft's Windows XP Crocs

https://www.theverge.com/microsoft/717965/microsoft-crocs-windows-xp-bliss-wallpaper-theme
2•zdw•52m ago•1 comments

Bodies by Joe: Review of Books about Joseph Pilates

https://www.nybooks.com/articles/2025/08/21/bodies-by-joe-joseph-pilates-romana-kryzanowska/
1•mitchbob•54m ago•1 comments

A First Time for Everything: Theories about the Origin of the Universe

https://www.nybooks.com/articles/2025/08/21/a-first-time-for-everything-big-bang-theory/
2•mitchbob•57m ago•1 comments

Cross-Entropy. Intuition and Applications

https://hclimente.eu/blog/cross-entropy/
2•hclimente•57m ago•0 comments

Reasons for cutting mRNA vaccine not supported by evidence

https://apnews.com/article/fact-check-rfk-mrna-vaccines-effective-76633aadedfad3bec9a77e524c7ce6f7
13•petethomas•59m ago•3 comments

Show HN: A game where you rebuild crosswords from tiles (Demo)

https://tiled-words.netlify.app/
1•Paul_Hebert•1h ago•0 comments

The Pain of Perfectionism

https://www.newyorker.com/magazine/2025/08/11/the-pain-of-perfectionism
3•pseudolus•1h ago•1 comments

OpenAI's new model can't believe that Trump is back in office

https://www.theregister.com/2025/08/06/openai_model_election_disinformation/
2•uponasmile•1h ago•0 comments
Open in hackernews

Git-fetch-file – Sync files from other repos with commit tracking and safety

https://github.com/andrewmcwattersandco/git-fetch-file
17•andrewmcwatters•2h ago

Comments

andrewmcwatters•1h ago
Hi HN, thanks for sending this to the front page.

I'm finding myself needing some resources from other projects in a way that ecosystem-specific dependency management isn't going to help, or I'd be pulling in too many files.

Submodules aren't the answer, and some other existing git user-defined commands don't seem to do what I need either.

I want a file from another repository, and the ability to pin it, and track it in the future, or just always be up-to-date by using the default HEAD commit value set in `.git-remote-files`.

    git fetch-file add https://github.com/octocat/Hello-World README
    git fetch-file pull
Let's me track the README file from the octocat/Hello-World repository, and pull down the file. A record of it is then saved in `.git-remote-files`.

Let me know if you have any questions!

g4cg54g54•15m ago
been wanting to build something very similar, so sharing some notes (before actually getting to test it):

--dry-run

a "push" subcommand? (especially in combination with 'overwrite to local repository-path" mentioned below, for remotes rater useless sure ;))

also your readme leaves "kinda open" what happens with the actual file(s), `.git-remote-files` is mentioned "should be committed", but the file it cloned?

also a little unclear how `--save` plays into that (since the .git-remote-files example shows only a commit no branch) (and when would one ever run it without save?)

cli-arg/secondary `.git-remote-files`-File (possibly as secondary `.local.git-remote-files` or such that can also override repository-URLs) for local/private repos?

option (autodetect?) to also write gitattributes to mark those picked files binary (what may also be done into the repo, or local-only into the .git/ dir of the repo...)

since its called `git-fetch-file` and not `.git-remote-files` a overall comment may be nice as refence when first generating the file ;)

but by now i´m just rambling, looking forward to actually try it when home ;) thanks in advance

andrewmcwatters•8m ago
Thank you for your comments!

I'll thinking about what would be some nice output for --dry-run. Do you have a desired behavior? Maybe something like this?

    Would fetch:
      src/utils.js from https://github.com/user/library.git (a1b2c3d -> f9e8d7c)
      config/webpack.js from https://github.com/company/tools.git (HEAD -> 1a2b3c4)
    
    Would skip (local changes):
      docs/README.md from https://github.com/org/templates.git (use --force to overwrite)
    
    Up to date:
      package.json from https://github.com/user/library.git (f4e5d6c)
Push seems kinda neat for getting changes back to a remote!

I will try to make the README.md a little more clear about what happens after `pull`, because you're right, it's not specified, but files aren't actually committed, just placed in the directory for you to do as you please.

I like your ideas! Thank you!

Bukhmanizer•49m ago
I’m imagining some sort of art project where people try and figure out the most complicated software you can make entirely off files stitched together from different repos.
andrewmcwatters•24m ago
Haha! That is a pretty creative idea.