frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Gitas – A tool for Git account switching

https://github.com/letmutex/gitas
13•letmutex•4d ago

Comments

rgoulter•1h ago
For the use case of "use different accounts / configs for different directories", git's config has includeIf.
7777777phil•1h ago
Lovley, was looking for exactly that for some time. Will definitely try it, thanks for sharing!
Kwpolska•1h ago
Solving the problem of having a personal and a work GitHub account is really trivial without any extra tools. All you need is a dedicated SSH key for that GitHub account. (And why would you have a password for a ssh key on your personal machine?)

~/.ssh/config

    Host github.com-work
     HostName github.com
     User git
     IdentityFile ~/.ssh/work_id_rsa
     IdentitiesOnly yes
~/.git/config

    [user]
    email = work@example.com

    [remote "origin"]
    url = github.com-work:Work/Widget.git
embedding-shape•58m ago
Which works for a while, until you have a bunch of projects under various identities.

In my main ~/.gitconfig I have:

  [includeIf "gitdir:/home/user/projects/embedding-shapes/"]
  path = /home/user/.gitconfig-embedding-shapes
Where basically `projects/` follow GitHub naming with $user/$repo, so I set the git identity based on all projects within that user, rather than repo-by-repo which would get cumbersome fast.

Then you just make sure you're in the right directory :)

dvratil•5m ago
I used to have a git post-checkout hook that set the repo identity based on the repo origin url [0] on checkout - maybe there's some post-clone hook these days, but 10 years ago when I wrote it there was only post-checkout hook.

[0] https://www.dvratil.cz/2015/12/git-trick-%23628-automaticall...

Keep Android Open

https://f-droid.org/2026/02/20/twif.html
1538•LorenDB•17h ago•571 comments

Andrej Karpathy talks about "Claws"

https://simonwillison.net/2026/Feb/21/claws/
56•helloplanets•1h ago•42 comments

Acme Weather

https://acmeweather.com/blog/introducing-acme-weather
53•cryptoz•3h ago•33 comments

Turn Dependabot off

https://words.filippo.io/dependabot/
473•todsacerdoti•13h ago•126 comments

I found a Vulnerability. They found a Lawyer

https://dixken.de/blog/i-found-a-vulnerability-they-found-a-lawyer
614•toomuchtodo•15h ago•278 comments

Facebook is cooked

https://pilk.website/3/facebook-is-absolutely-cooked
1113•npilk•16h ago•598 comments

Trunk Based Development

https://trunkbaseddevelopment.com/
39•handfuloflight•3h ago•33 comments

Ggml.ai joins Hugging Face to ensure the long-term progress of Local AI

https://github.com/ggml-org/llama.cpp/discussions/19759
741•lairv•21h ago•181 comments

EU mandates replaceable batteries by 2027 (2023)

https://environment.ec.europa.eu/news/new-law-more-sustainable-circular-and-safe-batteries-enters...
84•cyrusmg•2h ago•45 comments

Wikipedia deprecates Archive.today, starts removing archive links

https://arstechnica.com/tech-policy/2026/02/wikipedia-bans-archive-today-after-site-executed-ddos...
454•nobody9999•16h ago•272 comments

I Verified My LinkedIn Identity. Here's What I Handed Over

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
46•ColinWright•3h ago•15 comments

CERN rebuilt the original browser from 1989 (2019)

https://worldwideweb.cern.ch
184•tylerdane•11h ago•65 comments

Understanding Std:Shared_mutex from C++17

https://www.cppstories.com/2026/shared_mutex/
10•ibobev•3d ago•0 comments

LibreOffice blasts OnlyOffice for working with Microsoft to lock users in

https://www.neowin.net/news/libreoffice-blasts-fake-open-source-onlyoffice-for-working-with-micro...
43•XzetaU8•2h ago•18 comments

Coccinelle: The Linux kernel's source-to-source transformation tool

https://github.com/coccinelle/coccinelle
12•anon111332142•2h ago•0 comments

Lean 4: How the theorem prover works and why it's the new competitive edge in AI

https://venturebeat.com/ai/lean4-how-the-theorem-prover-works-and-why-its-the-new-competitive-edg...
37•tesserato•3d ago•20 comments

Gitas – A tool for Git account switching

https://github.com/letmutex/gitas
13•letmutex•4d ago•5 comments

What Is OAuth?

https://leaflet.pub/p/did:plc:3vdrgzr2zybocs45yfhcr6ur/3mfd2oxx5v22b
127•cratermoon•9h ago•38 comments

Every company building your AI assistant is now an ad company

https://juno-labs.com/blogs/every-company-building-your-ai-assistant-is-an-ad-company
192•ajuhasz•16h ago•101 comments

Cord: Coordinating Trees of AI Agents

https://www.june.kim/cord
100•gfortaine•9h ago•42 comments

24 Hour Fitness won't let you unsubscribe from marketing spam, so I fixed it

https://ahmedkaddoura.com/projects/24hf-unsubscribe
47•daem•2h ago•12 comments

Index, Count, Offset, Size

https://tigerbeetle.com/blog/2026-02-16-index-count-offset-size/
88•ingve•3d ago•26 comments

Large Language Model Reasoning Failures

https://arxiv.org/abs/2602.06176
5•T-A•2h ago•2 comments

When etcd crashes, check your disks first

https://nubificus.co.uk/blog/etcd/
9•_ananos_•3h ago•2 comments

Blue light filters don't work – controlling total luminance is a better bet

https://www.neuroai.science/p/blue-light-filters-dont-work
171•pminimax•16h ago•183 comments

Show HN: Mines.fyi – all the mines in the US in a leaflet visualization

https://mines.fyi/
81•irasigman•13h ago•42 comments

OpenScan

https://openscan.eu/pages/scan-gallery
161•joebig•14h ago•10 comments

The path to ubiquitous AI (17k tokens/sec)

https://taalas.com/the-path-to-ubiquitous-ai/
747•sidnarsipur•1d ago•414 comments

Trump's global tariffs struck down by US Supreme Court

https://www.bbc.com/news/live/c0l9r67drg7t
1404•blackguardx•19h ago•1143 comments

Across the US, people are dismantling and destroying Flock surveillance cameras

https://www.bloodinthemachine.com/p/across-the-us-people-are-dismantling
342•latexr•12h ago•164 comments