frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What will more intelligence actually do for us?

https://www.noahpinion.blog/p/what-will-more-intelligence-actually
1•throw0101d•1m ago•0 comments

One-third of Seattle's downtown is empty

https://fortune.com/2026/07/27/why-is-it-so-hard-to-find-a-job-in-seattle-office-vacancies-labor-...
1•cramer4next•4m ago•0 comments

Musk Shamed After Attacking NYC Mayor over $38B Government Handouts

https://www.ibtimes.co.uk/zohran-mamdani-elon-musk-clash-wealth-government-support-1808122
1•robtherobber•4m ago•0 comments

As a doctor, here's why I wear sunblock indoors

https://www.washingtonpost.com/wellness/2026/07/27/doctor-heres-why-i-wear-sunblock-indoors/
1•mikhael•4m ago•0 comments

TokenTown –> Learn how LLM's work in a SimCity-like world

https://laurentiugabriel.github.io/token-town/
8•laurentiurad•6m ago•1 comments

John Oliver Returns to Expose Trump Family's Shady Crypto Dealings

https://variety.com/2026/tv/news/john-oliver-expose-trump-shady-crypto-dealings-world-liberty-fin...
2•doener•7m ago•0 comments

Should Bitcoin support multiple signature schemes long-term?

https://chipcoinprotocol.com/
1•chipcoinchc•7m ago•0 comments

Cat Gatekeeper is a browser extension that shows a cat break screen

https://github.com/zokuzoku/cat-gatekeeper
1•gslin•7m ago•0 comments

GrapheneOS reveals what's making Motorola support possible

https://www.androidauthority.com/grapheneos-motorola-phone-support-update-3691324/
3•Basje•8m ago•0 comments

AI Reverse Engineering Benchmark

https://www.agentre-bench.ai/
1•childintime•8m ago•1 comments

Every Model Cheats: Prompt-Level Mitigation of Cheating on Offensive Cyber Tasks

https://arxiv.org/abs/2607.21763
1•sbulaev•8m ago•0 comments

Show HN: StaleBin – share a link, collect anonymous submissions, no accounts

https://stalebin.app/
2•AndBoh•8m ago•0 comments

Show HN: Aitori, see and govern the AI traffic leaving your machine

https://github.com/truefoundry/aitori/
2•deeptishukla22•10m ago•0 comments

America's Big Cities Are Rapidly Losing Kids

https://www.wsj.com/us-news/cities-losing-families-children-a860a9b1
1•littlexsparkee•10m ago•1 comments

UK's iconic Jodrell Bank telescope faces axe in science cuts

https://www.bbc.co.uk/news/articles/c5y6r9rdxygo
4•ttmbs•11m ago•0 comments

Manage Elasticsearch and OpenSearch clusters from one tiny, secure Go binary

https://github.com/hpoznanski/medulla
1•hpoznanski•11m ago•0 comments

Show HN: Browser CAD for stock-tube structures with generated 3D-printed joints

https://app.trusslab.ai/#/frame/triangle-frame@v1?autoplay=1
1•dajanah•11m ago•0 comments

Do Qwen 3.6 27B quantizations break the pelican?

https://quesma.com/blog/qwen-quantization-quality/
1•stared•11m ago•0 comments

Show HN: PumpProof – Scores a hyped stock's dilution risk from its SEC filings

https://pumpproof.com
3•jekjek•12m ago•0 comments

Where B2B Buyers Ask on Reddit: 30 Days of Scan Data

https://cuescout.com/blog/where-b2b-buyers-actually-ask-on-reddit
1•weeklyrunner•13m ago•0 comments

Workers are crossing job boundaries with AI, OpenAI research shows

https://www.axios.com/2026/07/27/openai-chatgpt-work-specialists
2•giuliomagnifico•15m ago•0 comments

There are no particles, there are only fields (2012)

https://arxiv.org/abs/1204.4616
1•surprisetalk•15m ago•0 comments

Why the Cleanup Sprint Always Loses

https://lamis73.substack.com/p/why-the-cleanup-sprint-always-loses
1•Lamis-A•15m ago•0 comments

Paul Andrews, Founder of 'Contact in the Desert'–Woodstock of U.F.O.s–Dies at 77

https://www.nytimes.com/2026/07/26/us/paul-andrews-dead.html
1•bookofjoe•15m ago•1 comments

97 Hours of Consensus

https://skepticalscience.com/nsh/?#
2•Gravityloss•16m ago•1 comments

The State of X402

https://vibesprings.net/state-of-x402
2•Vibeguy900•17m ago•0 comments

Of 1190 AI agent closing statements, one reports failure

https://github.com/kolesnikov-arch/patchward/blob/main/selfreport/RESULTS.md
1•kolesnikov-arch•17m ago•0 comments

Member of Technical Staff

https://torre.ai/post/2W1pn4Yr-qvid-talent-solutions-member-of-technical-staff-product-engineering
2•cnjeri•17m ago•0 comments

AGI Singer: The Song of My AGI Capability and Boot

https://medium.com/@miho999lv/agi-singer-the-song-of-my-agi-capability-and-boot-7f1beec2e8c5
1•miho999lv•18m ago•0 comments

Why open AI models have become a matter of American national security [Italian]

https://www.dday.it/redazione/58170/perche-i-modelli-ia-open-sono-diventati-una-questione-di-sicu...
1•lorenzomx•19m 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•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•1y 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•1y 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•1y ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•1y ago
It missed "git switch" and "git restore".