frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The best AI dictation apps, tested and ranked

https://techcrunch.com/2026/05/02/the-best-ai-powered-dictation-apps-of-2025/
1•oguzhaneksi•1m ago•0 comments

Ask HN: How long do you commute by car each day?

1•roschdal•3m ago•1 comments

LLMs can hide text in other text of the same length

https://arxiv.org/abs/2510.20075
1•m-hodges•5m ago•0 comments

Pitney Bowes Data Breach (April 2026)

https://haveibeenpwned.com/Breach/PitneyBowes
1•gnabgib•5m ago•0 comments

A Note on TurboQuant and the Earlier Eden Work

https://arxiv.org/abs/2604.18555
1•amitport•5m ago•0 comments

Outline of Thought

https://en.wikipedia.org/wiki/Outline_of_thought
1•cainxinth•6m ago•0 comments

The Dunning-Kruger effect is probably just from bimodal skill distributions

https://bosoncutter.substack.com/p/the-dunning-kruger-effect-is-probably
3•the_tyger•12m ago•1 comments

So, About That AI Bubble

https://www.theatlantic.com/economy/2026/05/ai-bubble-revenue-anthropic/687022/
2•saikatsg•12m ago•0 comments

Show HN: A Universal Stability Criterion for Symbolic Complex Systems

https://zenodo.org/records/18883274
1•M_Samir333•14m ago•1 comments

From toroids to helical tubules: Kirigami-inspired programmable assembly

https://www.pnas.org/doi/10.1073/pnas.2516695122
2•bryanrasmussen•17m ago•1 comments

Show HN: Rust library for Undo/Redo using deltas, snapshots or commands

https://github.com/mikwielgus/undoredo
2•mikolajw•17m ago•1 comments

Privacy Dependencies (2020)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3447384
1•wslh•17m ago•0 comments

Show HN: Sentient OS – On-device intelligence layer for your entire digital life

https://sentient-os.ai
2•TechExpert2910•17m ago•2 comments

Unsigned Sizes: A Five Year Mistake

https://c3-lang.org/blog/unsigned-sizes-a-five-year-mistake/
6•lerno•18m ago•0 comments

Forgiving can improve well-being

https://news.harvard.edu/gazette/story/2026/04/how-forgiving-can-improve-well-being/
1•gnabgib•20m ago•0 comments

Show HN: Native agent runtime for Conductor OSS

https://github.com/agentspan-ai/agentspan
1•opiniateddev•20m ago•0 comments

Ask HN: Where can I go to ask for help?

6•downbad_•22m ago•1 comments

Oscars says AI actors and writing cannot win awards

https://www.bbc.com/news/articles/cx21dl3v7d3o
2•Brajeshwar•23m ago•0 comments

Simplebanking: German open-source banking in your Mac menu bar (with CLI/MCP)

https://www.simplebanking.de
1•klotzbrocken•24m ago•0 comments

Tenacity: Cross-platform multi-track audio editor

https://codeberg.org/tenacityteam/tenacity
1•saikatsg•27m ago•0 comments

Show HN: Vim and centaur chess inspired app, where you choose from top moves

https://chess-cheaters.vercel.app/
1•lackoftactics•29m ago•0 comments

A silly little C++ quiz

https://katherinemohr.github.io/2026/04/20/cpp-quiz.html
1•kmohr•29m ago•0 comments

It's Hard to Get a British Driving License

https://www.nytimes.com/2026/05/02/world/europe/uk-driving-tests-backlog.html
3•saikatsg•30m ago•0 comments

Craig Newmark on Institutional Maintenance, Giving Away Control

https://conversationswithtyler.com/episodes/craig-newmark/
1•momentmaker•35m ago•0 comments

In Amsterdam, Ads for Fossil Fuels or Meat Are Now Verboden

https://www.nytimes.com/2026/05/01/climate/in-permissive-amsterdam-ads-for-fossil-fuels-or-meat-a...
3•bookofjoe•35m ago•1 comments

Atomdns

https://codeberg.org/miekg/dns/src/branch/main/cmd/atomdns
1•themaxdavitt•36m ago•0 comments

Bieber Coachella performance leads to catalog boost

https://liveclip.substack.com/p/top-songs-billboard-20260502
1•firasd•39m ago•0 comments

Richard Dawkins and The Claude Delusion: The great skeptic gets taken in

https://garymarcus.substack.com/p/richard-dawkins-and-the-claude-delusion
11•RedReign•44m ago•3 comments

LLMs Are Complex Coherence Resolution Engines

https://robmealey.substack.com/p/using-claude-or-any-llm-backed-tool
1•rbbymls•45m ago•1 comments

Seattle's mayor waves goodbye to prosperity

https://www.washingtonpost.com/opinions/2026/05/01/seattle-mayor-katie-wilson-waves-goodbye-busin...
1•loeg•47m ago•0 comments
Open in hackernews

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

https://jsdev.space/15-git-commands/
29•javatuts•1y ago

Comments

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

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

to:

  git sync "descriptive name"
horsawlarway•1y 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•1y 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•1y 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•1y ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•1y 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•1y 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•1y 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•1y ago
Maybe not essential, but reflog is invaluable.

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

foobarkey•1y ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•12mo ago
Both are essential.
realaleris149•1y ago
There are other commands?
incomplete•1y 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•12mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•12mo ago
It missed "git switch" and "git restore".