frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AGI Singer: AGI Inventor – No Supreme Authority

https://medium.com/@miho999lv/agi-singer-agi-inventor-no-supreme-authority-b63d9bddac47
1•miho999lv•2m ago•0 comments

CRISPR enzyme kills cancer cells by shredding their DNA

https://www.nature.com/articles/d41586-026-02268-z
1•justworks•3m ago•0 comments

Understanding Is the New Bottleneck

https://www.geoffreylitt.com/2026/07/02/understanding-is-the-new-bottleneck.html
1•haritha1313•5m ago•0 comments

The Joy of Being Wrong

https://shortdiv.com/posts/the-joy-of-being-wrong/
2•haritha1313•17m ago•0 comments

On the Nature and Purpose of Code

https://blog.moertel.com/posts/2026-07-23-on-the-nature-and-purpose-of-code.html
2•chmaynard•19m ago•0 comments

The perils of parsing type inference declarations in C

https://sebsite.pw/w/20260725-auto.html
1•jandeboevrie•20m ago•0 comments

Researchers replace downloaded macOS apps with evil twins, Apple shrugs

https://www.theregister.com/security/2026/07/24/researchers-replace-downloaded-macos-apps-with-ev...
3•sbulaev•20m ago•0 comments

Herv AI – Spatial Intelligence

https://hervai.com
1•kayumbaherve•27m ago•0 comments

GitHub

2•Julipaz•28m ago•2 comments

Reactive Python Notebooks in Jupyter

https://github.com/ipyflow/ipyflow
1•smacke•33m ago•0 comments

Show HN: AI Anime Finder – Natural language semantic search for AniList

https://zlvox.com/tools/anime-finder
1•mrdisloyal•35m ago•0 comments

AutoCO: An Online Continuous Optimization System for Phase-Changing DB Workloads

https://dl.acm.org/doi/10.1145/3832323
2•matt_d•35m ago•0 comments

Extinct Media Museum Tokyo

https://extinct-media-museum.blog.jp/otemachi/
1•sohkamyung•36m ago•0 comments

Show HN: Rivers – a Rust/Python orchestrator with native OIDC and forward auth

https://github.com/ion-elgreco/rivers
1•ion-elgreco•39m ago•0 comments

Google Was a Lifeline for Publishers. Now Some Are Thinking of Cutting It Off

https://www.wsj.com/business/media/google-search-publishers-ai-content-0fb06e41
2•1vuio0pswjnm7•50m ago•1 comments

Companies are optimizing models for specific benchmarks

2•mzubairtahir•53m ago•0 comments

Split Screen – browser workspaces to replace tab sprawl (free, local)

https://github.com/MIR-2025/brave-ext/tree/main/splitscreen
2•ruusvuu•55m ago•1 comments

A Tale of Two Tailnets

https://blog.exe.dev/a-tale-of-two-tailnets
3•shintoist•57m ago•0 comments

Shawn Ryan announces partnership with glacier [video]

https://www.youtube.com/watch?v=yB05HiKCCuI[video]
1•smalltorch•57m ago•1 comments

The Global Justice Report

https://globaljusticeproject.wid.world/global-justice-report/
1•homarp•58m ago•0 comments

Trump announces 2028 presidential bid

https://www.smh.com.au/world/trump-announces-2028-presidential-bid-20260725-p60iho.html
12•jiggawatts•1h ago•3 comments

Uber: HR crisis - Darden MBA Case Study (2020)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3207044
1•mgh2•1h ago•1 comments

"As millionaires we have a message for our new Prime Minister: Tax us."

https://proudtopay.org
5•teekert•1h ago•3 comments

Michael Stevens and Hannah Fry: The Rest Is Science

https://therestis.com/science
3•tomfakes•1h ago•0 comments

The Architecture of Deep Thought: Fight AI Speed with Cognitive Friction

https://varnam.substack.com/p/the-architecture-of-deep-thought
2•arthurfleck•1h ago•0 comments

Show HN: Sync Claude Code and Codex configs, with a board that shows the drift

https://github.com/slash9494/ai-config-sync-manager
1•slash9494•1h ago•0 comments

AWS announces AWS-bench, an open-source benchmark for AI agents on AWS

https://aws.amazon.com/about-aws/whats-new/2026/07/aws-bench/
2•gslin•1h ago•0 comments

Lawsuits hours after new tariffs take effect, experts say tariffs may not hold

https://www.cnbc.com/2026/07/24/trump-tariffs-lawsuit-301-ieepa.html
3•MilnerRoute•1h ago•0 comments

A single underscore led to an innocent Halifax man's conviction

https://www.cbc.ca/news/politics/man-guilty-michael-barrett-threats-1.7546742
3•cperciva•1h ago•2 comments

Best Open-Weight LLMs by Memory Required (July 2026)

https://claude.ai/public/artifacts/4b74e194-a4b2-414f-a313-8d4b98a92b0b
2•yid•2h 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".