frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Emotional Eating Elucidated in Fruitfly

https://www.nature.com/articles/s41586-026-10306-z
1•vi_sextus_vi•1m ago•0 comments

Bee Dancing Is Better with the Right Audience

https://today.ucsd.edu/story/bee-dancing-is-better-with-the-right-audience
1•gmays•2m ago•0 comments

GitHub expands AI bug detection, but recent outages hit Actions, API, and Git

https://www.bleepingcomputer.com/news/security/github-adds-ai-powered-bug-detection-to-expand-sec...
1•k_roy•10m ago•0 comments

Textual

https://textual.textualize.io/
2•bjornroberg•10m ago•1 comments

Designed to Be Specialists

https://aworkinglibrary.com/writing/designed-to-be-specialists
1•herbertl•11m ago•0 comments

GitKingdom – GitHub repos in a procedurally generated fantasy world

https://www.gitkingdom.com/
1•robotreport•12m ago•0 comments

A Year with the Framework 13

https://kevquirk.com/a-year-with-the-framework-13
3•herbertl•13m ago•0 comments

Quiver – diff viewing hasn't changed for decades, we still squint on lines

https://ataraxy-labs.github.io/quiver/
1•abha2008•15m ago•0 comments

Quimonit

https://quimonit.com/
1•ccastigl•17m ago•0 comments

Show HN: MacParakeet – Local voice dictation and transcription for Mac (GPL-3.0)

https://github.com/moona3k/macparakeet
1•moona3k•20m ago•0 comments

A Way to Call a Satellite

https://www.callasatellite.dev
1•UPLIFTINGs•23m ago•0 comments

Per-Tool Sandboxing for AI Agents: Why One Sandbox Is Not Enough

https://multikernel.io/2026/03/25/sandlock-mcp-per-tool-sandboxing/
1•wang_cong•30m ago•0 comments

beanstalkd

https://beanstalkd.github.io/
2•tambourine_man•33m ago•0 comments

Composer 2 Technical Report [pdf]

https://cursor.com/resources/Composer2.pdf
1•handfuloflight•34m ago•0 comments

Pfizer Lyme disease vaccine fails trial, company to seek FDA approval

https://www.cnbc.com/2026/03/23/pfizer-lyme-disease-vaccine-trial-fda-approval.html
1•gmays•35m ago•1 comments

Extendr.dev – new vibecoding tool for Chrome extensions

https://www.extendr.dev/
1•hrsinghvi•38m ago•1 comments

CP-SAT finite-state machine that provisions infrastructure without any LLM calls

https://circuitlm.vercel.app/,https:/github.com/toxzak-svg/circuit_lm
1•zwmaronek•38m ago•0 comments

Modern and Antique Technologies Reveal a Dynamic Cosmos

https://www.quantamagazine.org/how-modern-and-antique-technologies-reveal-a-dynamic-cosmos-20260202/
1•zeristor•41m ago•1 comments

What Crystals Older Than the Sun Reveal About the Start of the Solar System

https://www.quantamagazine.org/what-crystals-older-than-the-sun-reveal-about-the-start-of-the-sol...
1•zeristor•43m ago•0 comments

China Bars Executives at Meta-Owned AI Company from Leaving Country

https://www.washingtonpost.com/national-security/2026/03/25/meta-manus-china-executives-banned/
4•jandrewrogers•44m ago•2 comments

The Pragmatic Vibe Coder

https://www.amazon.com/dp/B0GTPS8GDF
1•antithtic•49m ago•1 comments

Unusual trading activity raises possibility of grave national security breach

https://www.ms.now/opinion/trump-iran-insider-trading-oil-markets
2•pseudolus•55m ago•0 comments

FileCrank – +134 free tools for PDFs, images, A&V and Dev

https://filecrank.app/en
2•robinhoodproj•55m ago•0 comments

False claims in a widely-cited paper. No corrections. No consequences

https://statmodeling.stat.columbia.edu/2026/03/24/false-claims-in-a-published-no-corrections-no-c...
17•qsi•57m ago•5 comments

Makeing a Slot

1•Asheyyy•57m ago•0 comments

Genes May Control Your Longevity, However Healthily You Live

https://www.nytimes.com/2026/01/29/health/longevity-lifespan-age-genes.html
7•paulpauper•57m ago•0 comments

Quantifying climate loss and damage consistent with a social cost of carbon

https://www.nature.com/articles/s41586-026-10272-6
2•gnabgib•1h ago•0 comments

Iran avoiding talks with U.S.; Trump proposal to end war being reviewed

https://www.cnbc.com/2026/03/25/iran-war-us-trump.html
2•shinryudbz•1h ago•1 comments

Show HN: Vectimus – Cedar policy enforcement for AI coding agents

https://github.com/vectimus/vectimus
2•JXavierH•1h ago•0 comments

Canada rejects immigration application due to hallucinations by government's AI

https://www.thestar.com/news/canada/canada-rejected-her-permanent-residence-application-her-job-d...
2•dlenski•1h ago•1 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•10mo 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•10mo 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•10mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•10mo ago
It missed "git switch" and "git restore".