frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Pentagon officials sent Anthropic best and final offer for military use of AI

https://www.cbsnews.com/news/pentagon-anthropic-offer-ai-unrestricted-military-use-sources/
1•rob•17s ago•0 comments

Durov Drama

https://substack.com/home/post/p-189273634
1•KyleVlaros•3m ago•0 comments

Show HN: I built a managed Claude AI and hosting service

https://codedoc.us
1•novatrope•4m ago•0 comments

Open Source in the Age of AI

https://john.onolan.org/open-source-in-the-age-of-ai/
1•Tomte•4m ago•0 comments

What I learned from the book 'Software Engineering at Google'

https://newsletter.techworld-with-milan.com/p/what-i-learned-at-swe-at-google-book
1•samspenc•6m ago•0 comments

Google Street View in 2026

https://tech.marksblogg.com/google-street-view-coverage.html
3•marklit•6m ago•0 comments

Show HN: I made a directory for Claude skills

https://skillsplayground.com/skills/
1•jackculpan•6m ago•0 comments

Kawasaki Corleo Electric Horse

https://global.kawasaki.com/en/corp/newsroom/news/detail/?f=20251211_7502
2•dabinat•7m ago•0 comments

Houston, we have a problem: Study points to clotting glitch in space

https://medicalxpress.com/news/2026-02-houston-problem-clotting-glitch-space.html
1•bikenaga•8m ago•0 comments

Show HN: Duck Talk – Real-time voice interface to talk to your Claude Code

https://github.com/dhuynh95/duck_talk
5•DanyWin•9m ago•0 comments

Thinking out loud: evolution and pretraining

https://hiranmay.com/blog/evolution-pretraining
1•hdarshane•9m ago•0 comments

OpenAI Has Poached Instagram's Celebrity Whisperer

https://www.vanityfair.com/news/story/openai-hires-charles-porch-instagram
1•herbertl•9m ago•0 comments

America Chose Not to Hold the Powerful to Account

https://www.theatlantic.com/ideas/2026/02/elite-accountability-powerful-impunity/686134/
4•JumpCrisscross•11m ago•0 comments

Self-Hosted LLMs Tier List

https://www.onyx.app/self-hosted-llm-leaderboard
1•RohoSwagger•11m ago•0 comments

Show HN: Depwire – Dependency graph and MCP tools so AI stops refactoring blind

https://github.com/depwire/depwire
2•atefataya•12m ago•2 comments

Show HN: Claude/Gemini/Codex 10-100x faster with pandō (CAD for code)

https://getpando.ai/
2•george_ciobanu•13m ago•2 comments

SynthID

https://deepmind.google/models/synthid/
3•tosh•16m ago•1 comments

Show HN: EK-1 – A local-first, sovereign AI agent built in Go and Rust

https://egokernel.com
1•felixche•16m ago•0 comments

Pacific Fusion finds a cheaper way to make its fusion reactor work

https://techcrunch.com/2026/02/05/pacific-fusion-finds-a-cheaper-way-to-make-its-fusion-reactor-w...
2•PaulHoule•18m ago•0 comments

Hanging with news-free friends preserves my sanity in a chaotic world

https://theishything.bearblog.dev/i-have-been-hanging-out-with-people-who-dont-watch-the-news/
1•speckx•18m ago•0 comments

NutriAI

https://nutriai.si/
1•domaisi•18m ago•1 comments

Claude Code Mexico breach: training safety failed ground truth layer

https://github.com/Mysticbirdie/hallucination-elimination-benchmark
1•MysticBirdie•19m ago•2 comments

Ask HN: Solo Founder Questions

1•newbeeguy•19m ago•0 comments

The Wrong Apocalypse [pdf]

https://ionanalytics.com/wp-content/uploads/2026/02/The_Wrong_Apocalypse.pdf
1•simonebrunozzi•20m ago•0 comments

New research: Nighttime road traffic noise stresses the heart and blood vessels

https://www.escardio.org/news/press/press-releases/new-research/
1•josephcs•20m ago•0 comments

Show HN: I built an open-source analytics platform for Claude Code sessions

https://github.com/ConfabulousDev/confab-web
1•jjak82•23m ago•0 comments

People living in UK's poorest areas have less diverse gut bacteria, study finds

https://www.theguardian.com/society/2026/feb/24/people-living-in-uks-poorest-areas-have-less-dive...
2•beardyw•24m ago•0 comments

Housing: Rent vs. Buy Calculator Spreadsheet

https://longviewy.com/rent-vs-buy-spreadsheet-using-five-key-inputs/
1•josephcs•24m ago•0 comments

I built a 151k-node GraphRAG swarm that autonomously invents SDG solutions

1•wisdomagi•24m ago•0 comments

Regex is dead. We replaced it

https://matchlang.com
2•hollowsolve•27m ago•4 comments
Open in hackernews

Git Commands That Cover 90% of a Developer's Daily Workflow

https://jsdev.space/15-git-commands/
29•javatuts•10mo ago

Comments

epmatsw•10mo ago
restore and maybe switch are the two missing ones I think. Rebase for me, but that’s preference. Cherry-pick too.
rentonl•10mo ago
my co-workers used to think I was an expert in git. In reality, they memorized 7 commands while I memorized 15
hbogert•9mo ago
i memorized that a commit tree is a ordered set of patches. Everything goes from there.
Areibman•10mo ago
In similar fashion, this site has saved me countless hours fixing common git issues https://ohshitgit.com
the__alchemist•10mo ago
I need to alias:

  git add .
  git commit -am "descriptive name"
  git push

to:

  git sync "descriptive name"
horsawlarway•10mo ago
personally - skip the 'git add .'

It's a pretty terrible habit to get into, and will (not can - will) cause all sorts of headaches. From minor ones like personal editor configs getting dumped into the projects, all the way up to major ones like secrets ending up in your git history.

If you want something close, but much better, do something like:

    if [[ -n $(git ls-files --others --exclude-standard) ]]; then
        echo "There are untracked files.  Please add, remove, or ignore them."
    else
        git commit -am "descriptive name"
        git push
    fi
the__alchemist•10mo ago
I see your point, but find it worth it for convenience. Ultimately git is a tool I use to get the job done, and I want it out of the way. 99% of the time, I just want to sync my project, which doesn't only mean edits to existing files.
open-paren•10mo ago
How about `git add --patch -all` to make it interactive? I have that aliased to `gap` and it is probably my most used git command.
cholantesh•10mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•10mo ago
I'd like to suggest also mentioning `git add -p` (--prompt). It's very helpful for just adding changes relevant to the commit
nickcw•10mo ago
No `git rebase`?

Here are my stats for my last 300 or so git commands from my history

    $ history | grep git | awk '{print $3}' | sort | uniq -c | sort -rn

     71 log
     44 show
     34 diff
     26 co # alias for checkout
     24 cherry-pick
     23 status
     18 brs # alias for branch -v --sort=-committerdate
     13 rebase
     11 commit
     11 add
      8 push
      4 archive
      3 reset
      2 pull
      1 grep
      1 checkout
      1 br
Been doing lots of tricky merges recently hence all the cherry-picks! Not normally such a large part of my workflow.
mercer•10mo ago
For me, I generally don't go far beyond the commands in the article, but I /do/ make a lot of use of git rebase -i in my branches.
karmakaze•10mo ago
Maybe not essential, but reflog is invaluable.

I also like to separate fetch from pull (fetch + merge).

foobarkey•10mo ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•9mo ago
Both are essential.
realaleris149•10mo ago
There are other commands?
incomplete•10mo ago
also gonna echo the same sentiment: where's rebase? :)

two other git log commands i find to be insanely useful are:

alias hlog='git log --date-order --graph --date=short --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ad%Creset %C(red bold)%d%Creset%s"'

and:

alias alog='git log --date-order --all --graph --date=short --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ad%Creset %C(red bold)%d%Creset%s"'

this is great when working in a repo w/a main "prod" branch that you don't commit to directly, but instead commit to "staging" or "dev". alog shows you the entire repo's history for all branches, and hlog is just the graph of the non-pushable branches (plus all feature branches).

hbogert•9mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•9mo ago
It missed "git switch" and "git restore".